diff --git a/angular.json b/angular.json index 35bb384a..e5d939e5 100644 --- a/angular.json +++ b/angular.json @@ -28,16 +28,10 @@ "glob": "**/*.svg", "input": "node_modules/ionicons/dist/ionicons/svg", "output": "./svg" - }, - { - "glob": "**/*", - "input": "node_modules/tinymce", - "output": "/tinymce/" } ], "styles": ["src/theme/variables.scss", "src/global.scss"], "scripts": [ - "node_modules/tinymce/tinymce.min.js" ], "aot": false, "vendorChunk": true, @@ -105,7 +99,6 @@ "karmaConfig": "karma.conf.js", "styles": [], "scripts": [ - "node_modules/tinymce/tinymce.min.js" ], "assets": [ { @@ -117,11 +110,6 @@ "glob": "**/*", "input": "src/assets", "output": "/assets" - }, - { - "glob": "**/*", - "input": "node_modules/tinymce", - "output": "/tinymce/" } ] }, diff --git a/angular_sicherung.json b/angular_sicherung.json new file mode 100644 index 00000000..35bb384a --- /dev/null +++ b/angular_sicherung.json @@ -0,0 +1,176 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "app": { + "root": "", + "sourceRoot": "src", + "projectType": "application", + "prefix": "app", + "schematics": {}, + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "www", + "index": "src/index.html", + "main": "src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.app.json", + "assets": [ + { + "glob": "**/*", + "input": "src/assets", + "output": "assets" + }, + { + "glob": "**/*.svg", + "input": "node_modules/ionicons/dist/ionicons/svg", + "output": "./svg" + }, + { + "glob": "**/*", + "input": "node_modules/tinymce", + "output": "/tinymce/" + } + ], + "styles": ["src/theme/variables.scss", "src/global.scss"], + "scripts": [ + "node_modules/tinymce/tinymce.min.js" + ], + "aot": false, + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "aot": true, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "budgets": [ + { + "type": "initial", + "maximumWarning": "6mb", + "maximumError": "6mb" + } + ] + }, + "ci": { + "progress": false + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "buildTarget": "app:build" + }, + "configurations": { + "production": { + "buildTarget": "app:build:production" + }, + "ci": { + "progress": false + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "buildTarget": "app:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", + "styles": [], + "scripts": [ + "node_modules/tinymce/tinymce.min.js" + ], + "assets": [ + { + "glob": "favicon.ico", + "input": "src/", + "output": "/" + }, + { + "glob": "**/*", + "input": "src/assets", + "output": "/assets" + }, + { + "glob": "**/*", + "input": "node_modules/tinymce", + "output": "/tinymce/" + } + ] + }, + "configurations": { + "ci": { + "progress": false, + "watch": false + } + } + }, + "lint": { + "builder": "@angular-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "src/**/*.ts", + "src/**/*.html" + ] + } + }, + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "app:serve" + }, + "configurations": { + "production": { + "devServerTarget": "app:serve:production" + }, + "ci": { + "devServerTarget": "app:serve:ci" + } + } + } + } + } + }, + "cli": { + "schematicCollections": [ + "@ionic/angular-toolkit" + ], + "analytics": false + }, + "schematics": { + "@ionic/angular-toolkit:component": { + "styleext": "scss" + }, + "@ionic/angular-toolkit:page": { + "styleext": "scss" + } + } +} diff --git a/package-lock.json b/package-lock.json index 93fc309a..76d08f65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,14 +29,13 @@ "@ionic/angular": "^7.7.2", "@microsoft/microsoft-graph-client": "^3.0.5", "@schematics/angular": "^17.2.0", - "@tinymce/tinymce-angular": "^7.0.0", "@types/js-cookie": "^3.0.2", "@types/lodash-es": "^4.17.6", "@types/moment-duration-format": "^2.2.3", "awesome-image-viewer": "^1.0.60", "config": "^3.3.8", "i": "^0.3.7", - "ionicons": "^6.0.4", + "ionicons": "^7.2.2", "joi": "^17.7.0", "js-cookie": "^3.0.1", "jsonwebtoken": "^9.0.0", @@ -49,7 +48,6 @@ "npm": "^10.4.0", "pretty-format": "^29.4.1", "rxjs": "^7.8.0", - "tinymce": "^6.8.3", "tslib": "^2.2.0", "uuid": "^9.0.0", "zone.js": "~0.14.4" @@ -4393,14 +4391,6 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, - "node_modules/@ionic/angular/node_modules/ionicons": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-7.2.2.tgz", - "integrity": "sha512-I3iYIfc9Q9FRifWyFSwTAvbEABWlWY32i0sAVDDPGYnaIZVugkLCZFbEcrphW6ixVPg8tt1oLwalo/JJwbEqnA==", - "dependencies": { - "@stencil/core": "^4.0.3" - } - }, "node_modules/@ionic/cli": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@ionic/cli/-/cli-7.2.0.tgz", @@ -4954,14 +4944,6 @@ "tslib": "^2.1.0" } }, - "node_modules/@ionic/core/node_modules/ionicons": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-7.2.2.tgz", - "integrity": "sha512-I3iYIfc9Q9FRifWyFSwTAvbEABWlWY32i0sAVDDPGYnaIZVugkLCZFbEcrphW6ixVPg8tt1oLwalo/JJwbEqnA==", - "dependencies": { - "@stencil/core": "^4.0.3" - } - }, "node_modules/@ionic/utils-array": { "version": "2.1.6", "resolved": "https://registry.npmjs.org/@ionic/utils-array/-/utils-array-2.1.6.tgz", @@ -5165,6 +5147,7 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -5181,6 +5164,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, "engines": { "node": ">=12" }, @@ -5192,6 +5176,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, "engines": { "node": ">=12" }, @@ -5202,12 +5187,14 @@ "node_modules/@isaacs/cliui/node_modules/emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -5224,6 +5211,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, "dependencies": { "ansi-regex": "^6.0.1" }, @@ -5238,6 +5226,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -5457,6 +5446,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.1.tgz", "integrity": "sha512-H4FrOVtNyWC8MUwL3UfjOsAihHvT1Pe8POj3JvjXhSTJipsZMtgUALCT4mGyYZNxymkUfOw3PUj6dE4QPp6osQ==", + "dev": true, "dependencies": { "agent-base": "^7.1.0", "http-proxy-agent": "^7.0.0", @@ -5472,6 +5462,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, "engines": { "node": "14 || >=16.14" } @@ -5480,6 +5471,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", + "dev": true, "dependencies": { "semver": "^7.3.5" }, @@ -5491,6 +5483,7 @@ "version": "5.0.4", "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.4.tgz", "integrity": "sha512-nr6/WezNzuYUppzXRaYu/W4aT5rLxdXqEFupbh6e/ovlYFQ8hpu1UUPV3Ir/YTl+74iXl2ZOMlGzudh9ZPUchQ==", + "dev": true, "dependencies": { "@npmcli/promise-spawn": "^7.0.0", "lru-cache": "^10.0.1", @@ -5509,6 +5502,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, "engines": { "node": ">=16" } @@ -5517,6 +5511,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, "engines": { "node": "14 || >=16.14" } @@ -5525,6 +5520,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dev": true, "dependencies": { "isexe": "^3.1.1" }, @@ -5539,6 +5535,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", + "dev": true, "dependencies": { "npm-bundled": "^3.0.0", "npm-normalize-package-bin": "^3.0.0" @@ -5554,6 +5551,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -5562,6 +5560,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.0.0.tgz", "integrity": "sha512-OI2zdYBLhQ7kpNPaJxiflofYIpkNLi+lnGdzqUOfRmCF3r2l1nadcjtCYMJKv/Utm/ZtlffaUuTiAktPHbc17g==", + "dev": true, "dependencies": { "@npmcli/git": "^5.0.0", "glob": "^10.2.2", @@ -5579,6 +5578,7 @@ "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.3.5", @@ -5600,6 +5600,7 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.1.tgz", "integrity": "sha512-P4KkF9jX3y+7yFUxgcUdDtLy+t4OlDGuEBLNs57AZsfSfg+uV6MLndqGpnl4831ggaEdXwR50XFoZP4VFtHolg==", + "dev": true, "dependencies": { "which": "^4.0.0" }, @@ -5611,6 +5612,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, "engines": { "node": ">=16" } @@ -5619,6 +5621,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dev": true, "dependencies": { "isexe": "^3.1.1" }, @@ -5633,6 +5636,7 @@ "version": "7.0.4", "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-7.0.4.tgz", "integrity": "sha512-9ApYM/3+rBt9V80aYg6tZfzj3UWdiYyCt7gJUD1VJKvWF5nwKDSICXbYIQbspFTq6TOpbsEtIC0LArB8d9PFmg==", + "dev": true, "dependencies": { "@npmcli/node-gyp": "^3.0.0", "@npmcli/package-json": "^5.0.0", @@ -5648,6 +5652,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, "engines": { "node": ">=16" } @@ -5656,6 +5661,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dev": true, "dependencies": { "isexe": "^3.1.1" }, @@ -5903,6 +5909,7 @@ "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, "optional": true, "engines": { "node": ">=14" @@ -6114,6 +6121,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.2.0.tgz", "integrity": "sha512-5VI58qgNs76RDrwXNhpmyN/jKpq9evV/7f1XrcqcAfvxDl5SeVY/I5Rmfe96ULAV7/FK5dge9RBKGBJPhL1WsQ==", + "dev": true, "dependencies": { "@sigstore/protobuf-specs": "^0.3.0" }, @@ -6125,6 +6133,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-1.0.0.tgz", "integrity": "sha512-dW2qjbWLRKGu6MIDUTBuJwXCnR8zivcSpf5inUzk7y84zqy/dji0/uahppoIgMoKeR+6pUZucrwHfkQQtiG9Rw==", + "dev": true, "engines": { "node": "^16.14.0 || >=18.0.0" } @@ -6133,6 +6142,7 @@ "version": "0.3.0", "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.0.tgz", "integrity": "sha512-zxiQ66JFOjVvP9hbhGj/F/qNdsZfkGb/dVXSanNRNuAzMlr4MC95voPUBX8//ZNnmv3uSYzdfR/JSkrgvZTGxA==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -6141,6 +6151,7 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.2.3.tgz", "integrity": "sha512-LqlA+ffyN02yC7RKszCdMTS6bldZnIodiox+IkT8B2f8oRYXCB3LQ9roXeiEL21m64CVH1wyveYAORfD65WoSw==", + "dev": true, "dependencies": { "@sigstore/bundle": "^2.2.0", "@sigstore/core": "^1.0.0", @@ -6155,6 +6166,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.3.1.tgz", "integrity": "sha512-9Iv40z652td/QbV0o5n/x25H9w6IYRt2pIGbTX55yFDYlApDQn/6YZomjz6+KBx69rXHLzHcbtTS586mDdFD+Q==", + "dev": true, "dependencies": { "@sigstore/protobuf-specs": "^0.3.0", "tuf-js": "^2.2.0" @@ -6167,6 +6179,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-1.1.0.tgz", "integrity": "sha512-1fTqnqyTBWvV7cftUUFtDcHPdSox0N3Ub7C0lRyReYx4zZUlNTZjCV+HPy4Lre+r45dV7Qx5JLKvqqsgxuyYfg==", + "dev": true, "dependencies": { "@sigstore/bundle": "^2.2.0", "@sigstore/core": "^1.0.0", @@ -6770,20 +6783,6 @@ "npm": ">=7.10.0" } }, - "node_modules/@tinymce/tinymce-angular": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@tinymce/tinymce-angular/-/tinymce-angular-7.0.0.tgz", - "integrity": "sha512-IKNaG/ihlxE1XCfq6lzULbnsqZO9KNJtlpu5jo6JDJDL9zcFzj/N2A16Kk7rTj1yfmDoB1IXAk/BpMOvgDY8cg==", - "dependencies": { - "tinymce": "^6.0.0 || ^5.5.0", - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@angular/common": ">=14.0.0", - "@angular/core": ">=14.0.0", - "@angular/forms": ">=14.0.0" - } - }, "node_modules/@tootallnate/quickjs-emscripten": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", @@ -6794,6 +6793,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==", + "dev": true, "engines": { "node": "^16.14.0 || >=18.0.0" } @@ -6802,6 +6802,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-2.0.0.tgz", "integrity": "sha512-c8nj8BaOExmZKO2DXhDfegyhSGcG9E/mPN3U13L+/PsoWm1uaGiHHjxqSHQiasDBQwDA3aHuw9+9spYAP1qvvg==", + "dev": true, "dependencies": { "@tufjs/canonical-json": "2.0.0", "minimatch": "^9.0.3" @@ -7709,6 +7710,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -7796,6 +7798,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", + "dev": true, "dependencies": { "debug": "^4.3.4" }, @@ -7807,6 +7810,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -7906,6 +7910,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -8377,7 +8382,8 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true }, "node_modules/base64-js": { "version": "1.5.1", @@ -8560,6 +8566,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0" } @@ -8721,6 +8728,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, "dependencies": { "semver": "^7.0.0" } @@ -8738,6 +8746,7 @@ "version": "18.0.2", "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.2.tgz", "integrity": "sha512-r3NU8h/P+4lVUHfeRw1dtgQYar3DZMm4/cm2bZgOvrFC/su7budSOeqh52VJIC4U4iG1WWwV6vRW0znqBvxNuw==", + "dev": true, "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", @@ -8760,6 +8769,7 @@ "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.3.5", @@ -8781,6 +8791,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, "engines": { "node": "14 || >=16.14" } @@ -8852,6 +8863,7 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -8895,6 +8907,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, "engines": { "node": ">=10" } @@ -8912,6 +8925,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, "engines": { "node": ">=6" } @@ -8987,6 +9001,7 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -8994,7 +9009,8 @@ "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true }, "node_modules/colorette": { "version": "2.0.20", @@ -9119,7 +9135,8 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true }, "node_modules/config": { "version": "3.3.11", @@ -9463,6 +9480,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -10014,7 +10032,8 @@ "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true }, "node_modules/ecc-jsbn": { "version": "0.1.2", @@ -10082,7 +10101,8 @@ "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "node_modules/emojis-list": { "version": "3.0.0", @@ -10106,6 +10126,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, "optional": true, "dependencies": { "iconv-lite": "^0.6.2" @@ -10115,6 +10136,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -10209,6 +10231,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, "engines": { "node": ">=6" } @@ -10216,7 +10239,8 @@ "node_modules/err-code": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "dev": true }, "node_modules/errno": { "version": "0.1.8", @@ -10453,6 +10477,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, "engines": { "node": ">=0.8.0" } @@ -11135,7 +11160,8 @@ "node_modules/exponential-backoff": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", - "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==" + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", + "dev": true }, "node_modules/express": { "version": "4.18.2", @@ -11597,6 +11623,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -11612,6 +11639,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, "engines": { "node": ">=14" }, @@ -11713,6 +11741,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -11729,7 +11758,8 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true }, "node_modules/fsevents": { "version": "2.3.3", @@ -11749,6 +11779,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -11897,6 +11928,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -11934,6 +11966,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -11943,6 +11976,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -12009,7 +12043,8 @@ "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true }, "node_modules/graphemer": { "version": "1.4.0", @@ -12102,6 +12137,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, "engines": { "node": ">=4" } @@ -12161,6 +12197,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "dev": true, "dependencies": { "function-bind": "^1.1.2" }, @@ -12181,6 +12218,7 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, "dependencies": { "lru-cache": "^10.0.1" }, @@ -12192,6 +12230,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, "engines": { "node": "14 || >=16.14" } @@ -12288,7 +12327,8 @@ "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "dev": true }, "node_modules/http-deceiver": { "version": "1.2.7", @@ -12345,6 +12385,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" @@ -12396,6 +12437,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", + "dev": true, "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -12477,6 +12519,7 @@ "version": "6.0.4", "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.4.tgz", "integrity": "sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw==", + "dev": true, "dependencies": { "minimatch": "^9.0.0" }, @@ -12538,6 +12581,7 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, "engines": { "node": ">=0.8.19" } @@ -12546,6 +12590,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, "engines": { "node": ">=8" } @@ -12554,6 +12599,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -12568,6 +12614,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -12672,23 +12719,11 @@ } }, "node_modules/ionicons": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.3.tgz", - "integrity": "sha512-ptzz38dd/Yq+PgjhXegh7yhb/SLIk1bvL9vQDtLv1aoSc7alO6mX2DIMgcKYzt9vrNWkRu1f9Jr78zIFFyOXqw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/ionicons/-/ionicons-7.2.2.tgz", + "integrity": "sha512-I3iYIfc9Q9FRifWyFSwTAvbEABWlWY32i0sAVDDPGYnaIZVugkLCZFbEcrphW6ixVPg8tt1oLwalo/JJwbEqnA==", "dependencies": { - "@stencil/core": "^2.18.0" - } - }, - "node_modules/ionicons/node_modules/@stencil/core": { - "version": "2.22.3", - "resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.22.3.tgz", - "integrity": "sha512-kmVA0M/HojwsfkeHsifvHVIYe4l5tin7J5+DLgtl8h6WWfiMClND5K3ifCXXI2ETDNKiEk21p6jql3Fx9o2rng==", - "bin": { - "stencil": "bin/stencil" - }, - "engines": { - "node": ">=12.10.0", - "npm": ">=6.0.0" + "@stencil/core": "^4.0.3" } }, "node_modules/ip-address": { @@ -12810,6 +12845,7 @@ "version": "2.13.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, "dependencies": { "hasown": "^2.0.0" }, @@ -12860,6 +12896,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, "engines": { "node": ">=8" } @@ -12887,7 +12924,8 @@ "node_modules/is-lambda": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==" + "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", + "dev": true }, "node_modules/is-negative-zero": { "version": "2.0.3", @@ -13082,7 +13120,8 @@ "node_modules/is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "dev": true }, "node_modules/is-unicode-supported": { "version": "0.1.0", @@ -13146,7 +13185,8 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true }, "node_modules/isobject": { "version": "3.0.1", @@ -13272,6 +13312,7 @@ "version": "2.3.6", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -13655,6 +13696,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -13714,6 +13756,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, "engines": [ "node >= 0.2.0" ] @@ -14727,6 +14770,7 @@ "version": "13.0.0", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz", "integrity": "sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==", + "dev": true, "dependencies": { "@npmcli/agent": "^2.0.0", "cacache": "^18.0.0", @@ -14897,6 +14941,7 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -14920,6 +14965,7 @@ "version": "7.0.4", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, "engines": { "node": ">=16 || 14 >=14.17" } @@ -14928,6 +14974,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", + "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -14939,6 +14986,7 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, "dependencies": { "minipass": "^7.0.3", "minipass-sized": "^1.0.3", @@ -14955,6 +15003,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "dev": true, "dependencies": { "minipass": "^3.0.0" }, @@ -14966,6 +15015,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -14976,12 +15026,14 @@ "node_modules/minipass-flush/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/minipass-json-stream": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", + "dev": true, "dependencies": { "jsonparse": "^1.3.1", "minipass": "^3.0.0" @@ -14991,6 +15043,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -15001,12 +15054,14 @@ "node_modules/minipass-json-stream/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/minipass-pipeline": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "dev": true, "dependencies": { "minipass": "^3.0.0" }, @@ -15018,6 +15073,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -15028,12 +15084,14 @@ "node_modules/minipass-pipeline/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/minipass-sized": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "dev": true, "dependencies": { "minipass": "^3.0.0" }, @@ -15045,6 +15103,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -15055,12 +15114,14 @@ "node_modules/minipass-sized/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/minizlib": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" @@ -15073,6 +15134,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -15083,7 +15145,8 @@ "node_modules/minizlib/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/mkdirp": { "version": "0.5.6", @@ -15325,6 +15388,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -15403,6 +15467,7 @@ "version": "10.0.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz", "integrity": "sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==", + "dev": true, "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", @@ -15438,6 +15503,7 @@ "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.3.5", @@ -15459,6 +15525,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, "engines": { "node": ">=16" } @@ -15467,6 +15534,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "dev": true, "dependencies": { "isexe": "^3.1.1" }, @@ -15493,6 +15561,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", + "dev": true, "dependencies": { "abbrev": "^2.0.0" }, @@ -15507,6 +15576,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dev": true, "dependencies": { "hosted-git-info": "^7.0.0", "is-core-module": "^2.8.1", @@ -15695,6 +15765,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz", "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==", + "dev": true, "dependencies": { "npm-normalize-package-bin": "^3.0.0" }, @@ -15706,6 +15777,7 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", + "dev": true, "dependencies": { "semver": "^7.1.1" }, @@ -15717,6 +15789,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -15725,6 +15798,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz", "integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==", + "dev": true, "dependencies": { "hosted-git-info": "^7.0.0", "proc-log": "^3.0.0", @@ -15739,6 +15813,7 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.2.tgz", "integrity": "sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA==", + "dev": true, "dependencies": { "ignore-walk": "^6.0.4" }, @@ -15750,6 +15825,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.0.tgz", "integrity": "sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==", + "dev": true, "dependencies": { "npm-install-checks": "^6.0.0", "npm-normalize-package-bin": "^3.0.0", @@ -15764,6 +15840,7 @@ "version": "16.1.0", "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.1.0.tgz", "integrity": "sha512-PQCELXKt8Azvxnt5Y85GseQDJJlglTFM9L9U9gkv2y4e9s0k3GVDdOx3YoB6gm2Do0hlkzC39iCGXby+Wve1Bw==", + "dev": true, "dependencies": { "make-fetch-happen": "^13.0.0", "minipass": "^7.0.2", @@ -18570,6 +18647,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, "dependencies": { "wrappy": "1" } @@ -18764,6 +18842,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, "dependencies": { "aggregate-error": "^3.0.0" }, @@ -18841,6 +18920,7 @@ "version": "17.0.6", "resolved": "https://registry.npmjs.org/pacote/-/pacote-17.0.6.tgz", "integrity": "sha512-cJKrW21VRE8vVTRskJo78c/RCvwJCn1f4qgfxL4w77SOWrTCRcmfkYHlHtS0gqpgjv3zhXflRtgsrUCX5xwNnQ==", + "dev": true, "dependencies": { "@npmcli/git": "^5.0.0", "@npmcli/installed-package-contents": "^2.0.1", @@ -18985,6 +19065,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -18999,6 +19080,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, "engines": { "node": ">=8" } @@ -19013,6 +19095,7 @@ "version": "1.10.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dev": true, "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" @@ -19028,6 +19111,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, "engines": { "node": "14 || >=16.14" } @@ -19438,6 +19522,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -19451,12 +19536,14 @@ "node_modules/promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==" + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "dev": true }, "node_modules/promise-retry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "dev": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -19928,6 +20015,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-7.0.0.tgz", "integrity": "sha512-uL4Z10OKV4p6vbdvIXB+OzhInYtIozl/VxUBPgNkBuUi2DeRonnuspmaVAMcrkmfjKGNmRndyQAbE7/AmzGwFg==", + "dev": true, "dependencies": { "glob": "^10.2.2", "json-parse-even-better-errors": "^3.0.0", @@ -19942,6 +20030,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", + "dev": true, "dependencies": { "json-parse-even-better-errors": "^3.0.0", "npm-normalize-package-bin": "^3.0.0" @@ -19954,6 +20043,7 @@ "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.3.5", @@ -20283,6 +20373,7 @@ "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", + "dev": true, "engines": { "node": ">= 4" } @@ -20457,7 +20548,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "devOptional": true + "dev": true }, "node_modules/sass": { "version": "1.70.0", @@ -20922,6 +21013,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -20933,6 +21025,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, "engines": { "node": ">=8" } @@ -20978,6 +21071,7 @@ "version": "2.2.2", "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-2.2.2.tgz", "integrity": "sha512-2A3WvXkQurhuMgORgT60r6pOWiCOO5LlEqY2ADxGBDGVYLSo5HN0uLtb68YpVpuL/Vi8mLTe7+0Dx2Fq8lLqEg==", + "dev": true, "dependencies": { "@sigstore/bundle": "^2.2.0", "@sigstore/core": "^1.0.0", @@ -21142,6 +21236,7 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", + "dev": true, "dependencies": { "agent-base": "^7.0.2", "debug": "^4.3.4", @@ -21232,6 +21327,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -21241,6 +21337,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -21249,12 +21346,14 @@ "node_modules/spdx-exceptions": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", - "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==" + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true }, "node_modules/spdx-expression-parse": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", + "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -21263,7 +21362,8 @@ "node_modules/spdx-license-ids": { "version": "3.0.17", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz", - "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==" + "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", + "dev": true }, "node_modules/spdy": { "version": "4.0.2", @@ -21351,6 +21451,7 @@ "version": "10.0.5", "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", + "dev": true, "dependencies": { "minipass": "^7.0.3" }, @@ -21471,6 +21572,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -21485,6 +21587,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -21555,6 +21658,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -21640,6 +21744,7 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -21681,6 +21786,7 @@ "version": "6.2.0", "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", + "dev": true, "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -21713,6 +21819,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, "dependencies": { "minipass": "^3.0.0" }, @@ -21724,6 +21831,7 @@ "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -21735,6 +21843,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, "engines": { "node": ">=8" } @@ -21743,6 +21852,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, "bin": { "mkdirp": "bin/cmd.js" }, @@ -21753,7 +21863,8 @@ "node_modules/tar/node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/terser": { "version": "5.27.0", @@ -21901,7 +22012,8 @@ "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true }, "node_modules/through": { "version": "2.3.8", @@ -21924,11 +22036,6 @@ "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", "dev": true }, - "node_modules/tinymce": { - "version": "6.8.3", - "resolved": "https://registry.npmjs.org/tinymce/-/tinymce-6.8.3.tgz", - "integrity": "sha512-3fCHKAeqT+xNwBVESf6iDbDV0VNwZNmfrkx9c/6Gz5iB8piMfaO6s7FvoiTrj1hf1gVbfyLTnz1DooI6DhgINQ==" - }, "node_modules/tmp": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.2.tgz", @@ -22111,6 +22218,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-2.2.0.tgz", "integrity": "sha512-ZSDngmP1z6zw+FIkIBjvOp/II/mIub/O7Pp12j1WNsiCpg5R5wAc//i555bBQsE44O94btLt0xM/Zr2LQjwdCg==", + "dev": true, "dependencies": { "@tufjs/models": "2.0.0", "debug": "^4.3.4", @@ -22258,6 +22366,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, "dependencies": { "is-typedarray": "^1.0.0" } @@ -22377,6 +22486,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, "dependencies": { "unique-slug": "^4.0.0" }, @@ -22388,6 +22498,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, "dependencies": { "imurmurhash": "^0.1.4" }, @@ -22490,6 +22601,7 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -22499,6 +22611,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -22508,6 +22621,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", + "dev": true, "dependencies": { "builtins": "^5.0.0" }, @@ -23073,6 +23187,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -23214,6 +23329,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -23230,6 +23346,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -23244,6 +23361,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -23254,7 +23372,8 @@ "node_modules/wrap-ansi-cjs/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", @@ -23292,12 +23411,14 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true }, "node_modules/write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", diff --git a/package.json b/package.json index 1cd94855..36112939 100644 --- a/package.json +++ b/package.json @@ -30,14 +30,13 @@ "@ionic/angular": "^7.7.2", "@microsoft/microsoft-graph-client": "^3.0.5", "@schematics/angular": "^17.2.0", - "@tinymce/tinymce-angular": "^7.0.0", "@types/js-cookie": "^3.0.2", "@types/lodash-es": "^4.17.6", "@types/moment-duration-format": "^2.2.3", "awesome-image-viewer": "^1.0.60", "config": "^3.3.8", "i": "^0.3.7", - "ionicons": "^6.0.4", + "ionicons": "^7.2.2", "joi": "^17.7.0", "js-cookie": "^3.0.1", "jsonwebtoken": "^9.0.0", @@ -50,7 +49,6 @@ "npm": "^10.4.0", "pretty-format": "^29.4.1", "rxjs": "^7.8.0", - "tinymce": "^6.8.3", "tslib": "^2.2.0", "uuid": "^9.0.0", "zone.js": "~0.14.4" diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 9c491dca..5f96ee25 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -27,7 +27,6 @@ import { } from "@azure/msal-angular"; import {BrowserCacheLocation, InteractionType, IPublicClientApplication, LogLevel, PublicClientApplication} from "@azure/msal-browser"; import {environment} from "../environments/environment"; -import { EditorModule } from '@tinymce/tinymce-angular'; import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; const appurl: string = environment.production === false ? 'http://localhost:4200' : 'https://polite-cliff-084832d03.4.azurestaticapps.net'; @@ -159,7 +158,6 @@ const MSALGuardConfigFactory = (): MsalGuardConfiguration => { BrowserAnimationsModule, HttpClientModule, MsalModule, - EditorModule, FontAwesomeModule, ], providers: [ diff --git a/src/app/pages/common-einstellungen/common-einstellungen.module.ts b/src/app/pages/common-einstellungen/common-einstellungen.module.ts index 8373b8d8..a9c0a540 100644 --- a/src/app/pages/common-einstellungen/common-einstellungen.module.ts +++ b/src/app/pages/common-einstellungen/common-einstellungen.module.ts @@ -10,7 +10,6 @@ import {PageFooterModule} from "../../components/page-footer/page-footer.module" import {CheckboxClonModule} from "../../components/checkbox-clon/checkbox-clon.module"; import {ButtonValueModule} from "../../components/button-value/button-value.module"; import {AuswahlDialogModule} from "../../components/auswahl-dialog/auswahl-dialog.module"; -import {EditorComponent} from "@tinymce/tinymce-angular"; import {SafePipeModule} from "../../pipes/safe.pipe.module"; const routes: Routes = [ @@ -32,7 +31,6 @@ const routes: Routes = [ CheckboxClonModule, ButtonValueModule, AuswahlDialogModule, - EditorComponent, SafePipeModule, ], declarations: [CommonEinstellungenPage] diff --git a/src/app/pages/common-einstellungen/common-einstellungen.page.ts b/src/app/pages/common-einstellungen/common-einstellungen.page.ts index 8796d955..a86ccce2 100644 --- a/src/app/pages/common-einstellungen/common-einstellungen.page.ts +++ b/src/app/pages/common-einstellungen/common-einstellungen.page.ts @@ -9,7 +9,6 @@ import { import {ConstProvider} from "../../services/const/const"; import {BasicsProvider} from "../../services/basics/basics"; import {Auswahldialogstruktur} from "../../dataclasses/auswahldialogstruktur"; -import {EventObj} from "@tinymce/tinymce-angular/editor/Events"; import {Subscription} from "rxjs"; @Component({ @@ -194,17 +193,6 @@ export class CommonEinstellungenPage implements OnInit, OnDestroy { } } - SignaturTextChangedHandler(event: EventObj) { - - try { - - - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Mitarbeiter Settings', 'SignaturTextChangedHandler', this.Debug.Typen.Page); - } - } FavoritenanzahlClicked() { diff --git a/src/assets/tinymce/icons/default/icons.min.js b/src/assets/tinymce/icons/default/icons.min.js deleted file mode 100644 index e3750c67..00000000 --- a/src/assets/tinymce/icons/default/icons.min.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.IconManager.add("default",{icons:{"accessibility-check":'',"accordion-toggle":'',accordion:'',"action-next":'',"action-prev":'',addtag:'',"ai-prompt":'',ai:'',"align-center":'',"align-justify":'',"align-left":'',"align-none":'',"align-right":'',"arrow-left":'',"arrow-right":'',bold:'',bookmark:'',"border-style":'',"border-width":'',brightness:'',browse:'',cancel:'',"cell-background-color":'',"cell-border-color":'',"change-case":'',"character-count":'',"checklist-rtl":'',checklist:'',checkmark:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',close:'',"code-sample":'',"color-levels":'',"color-picker":'',"color-swatch-remove-color":'',"color-swatch":'',"comment-add":'',comment:'',contrast:'',copy:'',crop:'',"cut-column":'',"cut-row":'',cut:'',"document-properties":'',drag:'',"duplicate-column":'',"duplicate-row":'',duplicate:'',"edit-block":'',"edit-image":'',"embed-page":'',embed:'',emoji:'',export:'',fill:'',"flip-horizontally":'',"flip-vertically":'',footnote:'',"format-painter":'',format:'',fullscreen:'',gallery:'',gamma:'',help:'',"highlight-bg-color":'',home:'',"horizontal-rule":'',"image-options":'',image:'',indent:'',info:'',"insert-character":'',"insert-time":'',invert:'',italic:'',language:'',"line-height":'',line:'',link:'',"list-bull-circle":'',"list-bull-default":'',"list-bull-square":'',"list-num-default-rtl":'',"list-num-default":'',"list-num-lower-alpha-rtl":'',"list-num-lower-alpha":'',"list-num-lower-greek-rtl":'',"list-num-lower-greek":'',"list-num-lower-roman-rtl":'',"list-num-lower-roman":'',"list-num-upper-alpha-rtl":'',"list-num-upper-alpha":'',"list-num-upper-roman-rtl":'',"list-num-upper-roman":'',lock:'',ltr:'',minus:'',"more-drawer":'',"new-document":'',"new-tab":'',"non-breaking":'',notice:'',"ordered-list-rtl":'',"ordered-list":'',orientation:'',outdent:'',"page-break":'',paragraph:'',"paste-column-after":'',"paste-column-before":'',"paste-row-after":'',"paste-row-before":'',"paste-text":'',paste:'',"permanent-pen":'',plus:'',preferences:'',preview:'',print:'',quote:'',redo:'',reload:'',"remove-formatting":'',remove:'',"resize-handle":'',resize:'',"restore-draft":'',"rotate-left":'',"rotate-right":'',rtl:'',save:'',search:'',"select-all":'',selected:'',send:'',settings:'',sharpen:'',sourcecode:'',"spell-check":'',"strike-through":'',subscript:'',superscript:'',"table-caption":'',"table-cell-classes":'',"table-cell-properties":'',"table-cell-select-all":'',"table-cell-select-inner":'',"table-classes":'',"table-delete-column":'',"table-delete-row":'',"table-delete-table":'',"table-insert-column-after":'',"table-insert-column-before":'',"table-insert-row-above":'',"table-insert-row-after":'',"table-left-header":'',"table-merge-cells":'',"table-row-numbering-rtl":'',"table-row-numbering":'',"table-row-properties":'',"table-split-cells":'',"table-top-header":'',table:'',"template-add":'',template:'',"temporary-placeholder":'',"text-color":'',"text-size-decrease":'',"text-size-increase":'',toc:'',translate:'',typography:'',underline:'',undo:'',unlink:'',unlock:'',"unordered-list":'',unselected:'',upload:'',user:'',"vertical-align":'',visualblocks:'',visualchars:'',warning:'',"zoom-in":'',"zoom-out":''}}); \ No newline at end of file diff --git a/src/assets/tinymce/langs/README.md b/src/assets/tinymce/langs/README.md deleted file mode 100644 index cd93d8c8..00000000 --- a/src/assets/tinymce/langs/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This is where language files should be placed. - -Please DO NOT translate these directly, use this service instead: https://crowdin.com/project/tinymce diff --git a/src/assets/tinymce/langs/de.js b/src/assets/tinymce/langs/de.js deleted file mode 100644 index 1cc79734..00000000 --- a/src/assets/tinymce/langs/de.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.addI18n("de",{"Redo":"Wiederholen","Undo":"R\xfcckg\xe4ngig machen","Cut":"Ausschneiden","Copy":"Kopieren","Paste":"Einf\xfcgen","Select all":"Alles ausw\xe4hlen","New document":"Neues Dokument","Ok":"Ok","Cancel":"Abbrechen","Visual aids":"Visuelle Hilfen","Bold":"Fett","Italic":"Kursiv","Underline":"Unterstrichen","Strikethrough":"Durchgestrichen","Superscript":"Hochgestellt","Subscript":"Tiefgestellt","Clear formatting":"Formatierung entfernen","Remove":"Entfernen","Align left":"Linksb\xfcndig ausrichten","Align center":"Zentrieren","Align right":"Rechtsb\xfcndig ausrichten","No alignment":"Keine Ausrichtung","Justify":"Blocksatz","Bullet list":"Aufz\xe4hlung","Numbered list":"Nummerierte Liste","Decrease indent":"Einzug verkleinern","Increase indent":"Einzug vergr\xf6\xdfern","Close":"Schlie\xdfen","Formats":"Formate","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"Ihr Browser unterst\xfctzt leider keinen direkten Zugriff auf die Zwischenablage. Bitte benutzen Sie die Tastenkombinationen Strg+X/C/V.","Headings":"\xdcberschriften","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4","Heading 5":"\xdcberschrift 5","Heading 6":"\xdcberschrift 6","Preformatted":"Vorformatiert","Div":"Div","Pre":"Pre","Code":"Code","Paragraph":"Absatz","Blockquote":"Blockzitat","Inline":"Zeichenformate","Blocks":"Bl\xf6cke","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Einf\xfcgen ist nun im unformatierten Textmodus. Inhalte werden ab jetzt als unformatierter Text eingef\xfcgt, bis Sie diese Einstellung wieder deaktivieren.","Fonts":"Schriftarten","Font sizes":"Schriftgr\xf6\xdfen","Class":"Klasse","Browse for an image":"Bild...","OR":"ODER","Drop an image here":"Bild hier ablegen","Upload":"Hochladen","Uploading image":"Bild wird hochgeladen","Block":"Blocksatz","Align":"Ausrichtung","Default":"Standard","Circle":"Kreis","Disc":"Scheibe","Square":"Rechteck","Lower Alpha":"Lateinisches Alphabet in Kleinbuchstaben","Lower Greek":"Griechische Kleinbuchstaben","Lower Roman":"Kleiner r\xf6mischer Buchstabe","Upper Alpha":"Lateinisches Alphabet in Gro\xdfbuchstaben","Upper Roman":"Gro\xdfer r\xf6mischer Buchstabe","Anchor...":"Textmarke","Anchor":"Anker","Name":"Name","ID":"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"Die ID muss mit einem Buchstaben beginnen gefolgt von Buchstaben, Zahlen, Bindestrichen, Punkten, Doppelpunkten oder Unterstrichen.","You have unsaved changes are you sure you want to navigate away?":"Die \xc4nderungen wurden noch nicht gespeichert. Sind Sie sicher, dass Sie diese Seite verlassen wollen?","Restore last draft":"Letzten Entwurf wiederherstellen","Special character...":"Sonderzeichen...","Special Character":"Sonderzeichen","Source code":"Quellcode","Insert/Edit code sample":"Codebeispiel einf\xfcgen/bearbeiten","Language":"Sprache","Code sample...":"Codebeispiel...","Left to right":"Von links nach rechts","Right to left":"Von rechts nach links","Title":"Titel","Fullscreen":"Vollbild","Action":"Aktion","Shortcut":"Tastenkombination","Help":"Hilfe","Address":"Adresse","Focus to menubar":"Fokus auf Men\xfcleiste","Focus to toolbar":"Fokus auf Symbolleiste","Focus to element path":"Fokus auf Elementpfad","Focus to contextual toolbar":"Fokus auf kontextbezogene Symbolleiste","Insert link (if link plugin activated)":"Link einf\xfcgen (wenn Link-Plugin aktiviert ist)","Save (if save plugin activated)":"Speichern (wenn Save-Plugin aktiviert ist)","Find (if searchreplace plugin activated)":"Suchen (wenn Suchen/Ersetzen-Plugin aktiviert ist)","Plugins installed ({0}):":"Installierte Plugins ({0}):","Premium plugins:":"Premium-Plugins:","Learn more...":"Erfahren Sie mehr dazu...","You are using {0}":"Sie verwenden {0}","Plugins":"Plugins","Handy Shortcuts":"Praktische Tastenkombinationen","Horizontal line":"Horizontale Linie","Insert/edit image":"Bild einf\xfcgen/bearbeiten","Alternative description":"Alternative Beschreibung","Accessibility":"Barrierefreiheit","Image is decorative":"Bild ist dekorativ","Source":"Quelle","Dimensions":"Abmessungen","Constrain proportions":"Seitenverh\xe4ltnis beibehalten","General":"Allgemein","Advanced":"Erweitert","Style":"Formatvorlage","Vertical space":"Vertikaler Raum","Horizontal space":"Horizontaler Raum","Border":"Rahmen","Insert image":"Bild einf\xfcgen","Image...":"Bild...","Image list":"Bildliste","Resize":"Skalieren","Insert date/time":"Datum/Uhrzeit einf\xfcgen","Date/time":"Datum/Uhrzeit","Insert/edit link":"Link einf\xfcgen/bearbeiten","Text to display":"Anzuzeigender Text","Url":"URL","Open link in...":"Link \xf6ffnen in...","Current window":"Aktuelles Fenster","None":"Keine","New window":"Neues Fenster","Open link":"Link \xf6ffnen","Remove link":"Link entfernen","Anchors":"Anker","Link...":"Link...","Paste or type a link":"Link einf\xfcgen oder eingeben","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"Diese URL scheint eine E-Mail-Adresse zu sein. M\xf6chten Sie das dazu ben\xf6tigte mailto: voranstellen?","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"Diese URL scheint ein externer Link zu sein. M\xf6chten Sie das dazu ben\xf6tigte http:// voranstellen?","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"Die eingegebene URL scheint ein externer Link zu sein. Soll das fehlende https:// davor erg\xe4nzt werden?","Link list":"Linkliste","Insert video":"Video einf\xfcgen","Insert/edit video":"Video einf\xfcgen/bearbeiten","Insert/edit media":"Medien einf\xfcgen/bearbeiten","Alternative source":"Alternative Quelle","Alternative source URL":"URL der alternativen Quelle","Media poster (Image URL)":"Medienposter (Bild-URL)","Paste your embed code below:":"F\xfcgen Sie Ihren Einbettungscode unten ein:","Embed":"Einbettung","Media...":"Medien...","Nonbreaking space":"Gesch\xfctztes Leerzeichen","Page break":"Seitenumbruch","Paste as text":"Als Text einf\xfcgen","Preview":"Vorschau","Print":"Drucken","Print...":"Drucken...","Save":"Speichern","Find":"Suchen","Replace with":"Ersetzen durch","Replace":"Ersetzen","Replace all":"Alle ersetzen","Previous":"Vorherige","Next":"N\xe4chste","Find and Replace":"Suchen und Ersetzen","Find and replace...":"Suchen und ersetzen...","Could not find the specified string.":"Die angegebene Zeichenfolge wurde nicht gefunden.","Match case":"Gro\xdf-/Kleinschreibung beachten","Find whole words only":"Nur ganze W\xf6rter suchen","Find in selection":"In Auswahl suchen","Insert table":"Tabelle einf\xfcgen","Table properties":"Tabelleneigenschaften","Delete table":"Tabelle l\xf6schen","Cell":"Zelle","Row":"Zeile","Column":"Spalte","Cell properties":"Zelleigenschaften","Merge cells":"Zellen verbinden","Split cell":"Zelle aufteilen","Insert row before":"Neue Zeile davor einf\xfcgen","Insert row after":"Neue Zeile danach einf\xfcgen","Delete row":"Zeile l\xf6schen","Row properties":"Zeileneigenschaften","Cut row":"Zeile ausschneiden","Cut column":"Spalte ausschneiden","Copy row":"Zeile kopieren","Copy column":"Spalte kopieren","Paste row before":"Zeile davor einf\xfcgen","Paste column before":"Spalte davor einf\xfcgen","Paste row after":"Zeile danach einf\xfcgen","Paste column after":"Spalte danach einf\xfcgen","Insert column before":"Neue Spalte davor einf\xfcgen","Insert column after":"Neue Spalte danach einf\xfcgen","Delete column":"Spalte l\xf6schen","Cols":"Spalten","Rows":"Zeilen","Width":"Breite","Height":"H\xf6he","Cell spacing":"Zellenabstand","Cell padding":"Zelleninnenabstand","Row clipboard actions":"Zeilen-Zwischenablage-Aktionen","Column clipboard actions":"Spalten-Zwischenablage-Aktionen","Table styles":"Tabellenstil","Cell styles":"Zellstil","Column header":"Spaltenkopf","Row header":"Zeilenkopf","Table caption":"Tabellenbeschriftung","Caption":"Beschriftung","Show caption":"Beschriftung anzeigen","Left":"Links","Center":"Zentriert","Right":"Rechts","Cell type":"Zelltyp","Scope":"Bereich","Alignment":"Ausrichtung","Horizontal align":"Horizontal ausrichten","Vertical align":"Vertikal ausrichten","Top":"Oben","Middle":"Mitte","Bottom":"Unten","Header cell":"Kopfzelle","Row group":"Zeilengruppe","Column group":"Spaltengruppe","Row type":"Zeilentyp","Header":"Kopfzeile","Body":"Inhalt","Footer":"Fu\xdfzeile","Border color":"Rahmenfarbe","Solid":"Durchgezogen","Dotted":"Gepunktet","Dashed":"Gestrichelt","Double":"Doppelt","Groove":"Gekantet","Ridge":"Eingeritzt","Inset":"Eingelassen","Outset":"Hervorstehend","Hidden":"Unsichtbar","Insert template...":"Vorlage einf\xfcgen...","Templates":"Vorlagen","Template":"Vorlage","Insert Template":"Vorlage einf\xfcgen","Text color":"Textfarbe","Background color":"Hintergrundfarbe","Custom...":"Benutzerdefiniert...","Custom color":"Benutzerdefinierte Farbe","No color":"Keine Farbe","Remove color":"Farbauswahl aufheben","Show blocks":"Bl\xf6cke anzeigen","Show invisible characters":"Unsichtbare Zeichen anzeigen","Word count":"Anzahl der W\xf6rter","Count":"Anzahl","Document":"Dokument","Selection":"Auswahl","Words":"W\xf6rter","Words: {0}":"Wortzahl: {0}","{0} words":"{0} W\xf6rter","File":"Datei","Edit":"Bearbeiten","Insert":"Einf\xfcgen","View":"Ansicht","Format":"Format","Table":"Tabelle","Tools":"Werkzeuge","Powered by {0}":"Betrieben von {0}","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Rich-Text-Bereich. Dr\xfccken Sie Alt+F9 f\xfcr das Men\xfc. Dr\xfccken Sie Alt+F10 f\xfcr die Symbolleiste. Dr\xfccken Sie Alt+0 f\xfcr Hilfe.","Image title":"Bildtitel","Border width":"Rahmenbreite","Border style":"Rahmenstil","Error":"Fehler","Warn":"Warnung","Valid":"G\xfcltig","To open the popup, press Shift+Enter":"Dr\xfccken Sie Umschalt+Eingabe, um das Popup-Fenster zu \xf6ffnen.","Rich Text Area":"Rich-Text-Area","Rich Text Area. Press ALT-0 for help.":"Rich-Text-Bereich. Dr\xfccken Sie Alt+0 f\xfcr Hilfe.","System Font":"Betriebssystemschriftart","Failed to upload image: {0}":"Bild konnte nicht hochgeladen werden: {0}","Failed to load plugin: {0} from url {1}":"Plugin konnte nicht geladen werden: {0} von URL {1}","Failed to load plugin url: {0}":"Plugin-URL konnte nicht geladen werden: {0}","Failed to initialize plugin: {0}":"Plugin konnte nicht initialisiert werden: {0}","example":"Beispiel","Search":"Suchen","All":"Alle","Currency":"W\xe4hrung","Text":"Text","Quotations":"Anf\xfchrungszeichen","Mathematical":"Mathematisch","Extended Latin":"Erweitertes Latein","Symbols":"Symbole","Arrows":"Pfeile","User Defined":"Benutzerdefiniert","dollar sign":"Dollarzeichen","currency sign":"W\xe4hrungssymbol","euro-currency sign":"Eurozeichen","colon sign":"Doppelpunkt","cruzeiro sign":"Cruzeirozeichen","french franc sign":"Franczeichen","lira sign":"Lirezeichen","mill sign":"Millzeichen","naira sign":"Nairazeichen","peseta sign":"Pesetazeichen","rupee sign":"Rupiezeichen","won sign":"Wonzeichen","new sheqel sign":"Schekelzeichen","dong sign":"Dongzeichen","kip sign":"Kipzeichen","tugrik sign":"Tugrikzeichen","drachma sign":"Drachmezeichen","german penny symbol":"Pfennigzeichen","peso sign":"Pesozeichen","guarani sign":"Guaranizeichen","austral sign":"Australzeichen","hryvnia sign":"Hrywnjazeichen","cedi sign":"Cedizeichen","livre tournois sign":"Livrezeichen","spesmilo sign":"Spesmilozeichen","tenge sign":"Tengezeichen","indian rupee sign":"Indisches Rupiezeichen","turkish lira sign":"T\xfcrkisches Lirazeichen","nordic mark sign":"Zeichen nordische Mark","manat sign":"Manatzeichen","ruble sign":"Rubelzeichen","yen character":"Yenzeichen","yuan character":"Yuanzeichen","yuan character, in hong kong and taiwan":"Yuanzeichen in Hongkong und Taiwan","yen/yuan character variant one":"Yen-/Yuanzeichen Variante 1","Emojis":"Emojis","Emojis...":"Emojis...","Loading emojis...":"Lade Emojis...","Could not load emojis":"Emojis konnten nicht geladen werden","People":"Menschen","Animals and Nature":"Tiere und Natur","Food and Drink":"Essen und Trinken","Activity":"Aktivit\xe4t","Travel and Places":"Reisen und Orte","Objects":"Objekte","Flags":"Flaggen","Characters":"Zeichen","Characters (no spaces)":"Zeichen (ohne Leerzeichen)","{0} characters":"{0}\xa0Zeichen","Error: Form submit field collision.":"Fehler: Kollision der Formularbest\xe4tigungsfelder.","Error: No form element found.":"Fehler: Kein Formularelement gefunden.","Color swatch":"Farbpalette","Color Picker":"Farbwahl","Invalid hex color code: {0}":"Ung\xfcltiger Hexadezimal-Farbwert: {0}","Invalid input":"Ung\xfcltige Eingabe","R":"R","Red component":"Rotanteil","G":"G","Green component":"Gr\xfcnanteil","B":"B","Blue component":"Blauanteil","#":"#","Hex color code":"Hexadezimal-Farbwert","Range 0 to 255":"Spanne 0 bis 255","Turquoise":"T\xfcrkis","Green":"Gr\xfcn","Blue":"Blau","Purple":"Violett","Navy Blue":"Marineblau","Dark Turquoise":"Dunkelt\xfcrkis","Dark Green":"Dunkelgr\xfcn","Medium Blue":"Mittleres Blau","Medium Purple":"Mittelviolett","Midnight Blue":"Mitternachtsblau","Yellow":"Gelb","Orange":"Orange","Red":"Rot","Light Gray":"Hellgrau","Gray":"Grau","Dark Yellow":"Dunkelgelb","Dark Orange":"Dunkelorange","Dark Red":"Dunkelrot","Medium Gray":"Mittelgrau","Dark Gray":"Dunkelgrau","Light Green":"Hellgr\xfcn","Light Yellow":"Hellgelb","Light Red":"Hellrot","Light Purple":"Helllila","Light Blue":"Hellblau","Dark Purple":"Dunkellila","Dark Blue":"Dunkelblau","Black":"Schwarz","White":"Wei\xdf","Switch to or from fullscreen mode":"Vollbildmodus umschalten","Open help dialog":"Hilfe-Dialog \xf6ffnen","history":"Historie","styles":"Stile","formatting":"Formatierung","alignment":"Ausrichtung","indentation":"Einr\xfcckungen","Font":"Schriftart","Size":"Schriftgr\xf6\xdfe","More...":"Mehr...","Select...":"Auswahl...","Preferences":"Einstellungen","Yes":"Ja","No":"Nein","Keyboard Navigation":"Tastaturnavigation","Version":"Version","Code view":"Code Ansicht","Open popup menu for split buttons":"\xd6ffne Popup Menge um Buttons zu trennen","List Properties":"Liste Eigenschaften","List properties...":"Liste Eigenschaften","Start list at number":"Beginne Liste mit Nummer","Line height":"Liniendicke","Dropped file type is not supported":"Hereingezogener Dateityp wird nicht unterst\xfctzt","Loading...":"Wird geladen...","ImageProxy HTTP error: Rejected request":"Image Proxy HTTP Fehler: Abgewiesene Anfrage","ImageProxy HTTP error: Could not find Image Proxy":"Image Proxy HTTP Fehler: Kann Image Proxy nicht finden","ImageProxy HTTP error: Incorrect Image Proxy URL":"Image Proxy HTTP Fehler: Falsche Image Proxy URL","ImageProxy HTTP error: Unknown ImageProxy error":"Image Proxy HTTP Fehler: Unbekannter Image Proxy Fehler"}); \ No newline at end of file diff --git a/src/assets/tinymce/license.txt b/src/assets/tinymce/license.txt deleted file mode 100644 index 3a49f66f..00000000 --- a/src/assets/tinymce/license.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/assets/tinymce/models/dom/model.min.js b/src/assets/tinymce/models/dom/model.min.js deleted file mode 100644 index 268a4352..00000000 --- a/src/assets/tinymce/models/dom/model.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.ModelManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||(null===(s=n.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var o,n,r,s})(t)===e,o=e=>t=>typeof t===e,n=e=>t=>e===t,r=t("string"),s=t("object"),l=t("array"),a=n(null),c=o("boolean"),i=n(void 0),m=e=>!(e=>null==e)(e),d=o("function"),u=o("number"),f=()=>{},g=e=>()=>e,h=e=>e,p=(e,t)=>e===t;function w(e,...t){return(...o)=>{const n=t.concat(o);return e.apply(null,n)}}const b=e=>t=>!e(t),v=e=>e(),y=g(!1),x=g(!0);class C{constructor(e,t){this.tag=e,this.value=t}static some(e){return new C(!0,e)}static none(){return C.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?C.some(e(this.value)):C.none()}bind(e){return this.tag?e(this.value):C.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:C.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return m(e)?C.some(e):C.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}C.singletonNone=new C(!1);const S=Array.prototype.slice,T=Array.prototype.indexOf,R=Array.prototype.push,D=(e,t)=>{return o=e,n=t,T.call(o,n)>-1;var o,n},O=(e,t)=>{for(let o=0,n=e.length;o{const o=[];for(let n=0;n{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;o{const o=[],n=[];for(let r=0,s=e.length;r{const o=[];for(let n=0,r=e.length;n(((e,t)=>{for(let o=e.length-1;o>=0;o--)t(e[o],o)})(e,((e,n)=>{o=t(o,e,n)})),o),A=(e,t,o)=>(N(e,((e,n)=>{o=t(o,e,n)})),o),L=(e,t)=>((e,t,o)=>{for(let n=0,r=e.length;n{for(let o=0,n=e.length;o{const t=[];for(let o=0,n=e.length;oM(E(e,t)),P=(e,t)=>{for(let o=0,n=e.length;o{const o={};for(let n=0,r=e.length;nt>=0&&tF(e,0),$=e=>F(e,e.length-1),V=(e,t)=>{for(let o=0;o{const o=q(e);for(let n=0,r=o.length;nY(e,((e,o)=>({k:o,v:t(e,o)}))),Y=(e,t)=>{const o={};return G(e,((e,n)=>{const r=t(e,n);o[r.k]=r.v})),o},J=(e,t)=>{const o=[];return G(e,((e,n)=>{o.push(t(e,n))})),o},Q=e=>J(e,h),X=(e,t)=>U.call(e,t),Z="undefined"!=typeof window?window:Function("return this;")(),ee=(e,t)=>((e,t)=>{let o=null!=t?t:Z;for(let t=0;t{const t=ee("ownerDocument.defaultView",e);return s(e)&&((e=>((e,t)=>{const o=((e,t)=>ee(e,t))(e,t);if(null==o)throw new Error(e+" not available on this browser");return o})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(te(e).constructor.name))},ne=e=>e.dom.nodeName.toLowerCase(),re=e=>e.dom.nodeType,se=e=>t=>re(t)===e,le=e=>8===re(e)||"#comment"===ne(e),ae=e=>ce(e)&&oe(e.dom),ce=se(1),ie=se(3),me=se(9),de=se(11),ue=e=>t=>ce(t)&&ne(t)===e,fe=(e,t,o)=>{if(!(r(o)||c(o)||u(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},ge=(e,t,o)=>{fe(e.dom,t,o)},he=(e,t)=>{const o=e.dom;G(t,((e,t)=>{fe(o,t,e)}))},pe=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},we=(e,t)=>C.from(pe(e,t)),be=(e,t)=>{e.dom.removeAttribute(t)},ve=e=>A(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),ye=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},xe={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return ye(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return ye(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return ye(o)},fromDom:ye,fromPoint:(e,t,o)=>C.from(e.dom.elementFromPoint(t,o)).map(ye)},Ce=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},Se=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,Te=(e,t)=>{const o=void 0===t?document:t.dom;return Se(o)?C.none():C.from(o.querySelector(e)).map(xe.fromDom)},Re=(e,t)=>e.dom===t.dom,De=(e,t)=>{const o=e.dom,n=t.dom;return o!==n&&o.contains(n)},Oe=Ce,ke=e=>xe.fromDom(e.dom.ownerDocument),Ee=e=>me(e)?e:ke(e),Ne=e=>C.from(e.dom.parentNode).map(xe.fromDom),Be=e=>C.from(e.dom.parentElement).map(xe.fromDom),_e=(e,t)=>{const o=d(t)?t:y;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=xe.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r},ze=e=>C.from(e.dom.previousSibling).map(xe.fromDom),Ae=e=>C.from(e.dom.nextSibling).map(xe.fromDom),Le=e=>E(e.dom.childNodes,xe.fromDom),We=(e,t)=>{const o=e.dom.childNodes;return C.from(o[t]).map(xe.fromDom)},Me=(e,t)=>{Ne(e).each((o=>{o.dom.insertBefore(t.dom,e.dom)}))},je=(e,t)=>{Ae(e).fold((()=>{Ne(e).each((e=>{Ie(e,t)}))}),(e=>{Me(e,t)}))},Pe=(e,t)=>{const o=(e=>We(e,0))(e);o.fold((()=>{Ie(e,t)}),(o=>{e.dom.insertBefore(t.dom,o.dom)}))},Ie=(e,t)=>{e.dom.appendChild(t.dom)},Fe=(e,t)=>{Me(e,t),Ie(t,e)},He=(e,t)=>{N(t,((o,n)=>{const r=0===n?e:t[n-1];je(r,o)}))},$e=(e,t)=>{N(t,(t=>{Ie(e,t)}))},Ve=e=>{e.dom.textContent="",N(Le(e),(e=>{qe(e)}))},qe=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Ue=e=>{const t=Le(e);t.length>0&&He(e,t),qe(e)},Ge=(e,t)=>xe.fromDom(e.dom.cloneNode(t)),Ke=e=>Ge(e,!1),Ye=e=>Ge(e,!0),Je=(e,t)=>{const o=xe.fromTag(t),n=ve(e);return he(o,n),o},Qe=["tfoot","thead","tbody","colgroup"],Xe=(e,t,o)=>({element:e,rowspan:t,colspan:o}),Ze=(e,t,o)=>({element:e,cells:t,section:o}),et=(e,t,o)=>({element:e,isNew:t,isLocked:o}),tt=(e,t,o,n)=>({element:e,cells:t,section:o,isNew:n}),ot=d(Element.prototype.attachShadow)&&d(Node.prototype.getRootNode),nt=g(ot),rt=ot?e=>xe.fromDom(e.dom.getRootNode()):Ee,st=e=>xe.fromDom(e.dom.host),lt=e=>{const t=ie(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=rt(e);return de(o=t)&&m(o.dom.host)?C.some(t):C.none();var o})(xe.fromDom(t)).fold((()=>o.body.contains(t)),(n=lt,r=st,e=>n(r(e))));var n,r},at=e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return xe.fromDom(t)},ct=(e,t)=>{let o=[];return N(Le(e),(e=>{t(e)&&(o=o.concat([e])),o=o.concat(ct(e,t))})),o},it=(e,t,o)=>((e,o,n)=>_(_e(e,n),(e=>Ce(e,t))))(e,0,o),mt=(e,t)=>((e,o)=>_(Le(e),(e=>Ce(e,t))))(e),dt=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return Se(o)?[]:E(o.querySelectorAll(e),xe.fromDom)})(t,e);var ut=(e,t,o,n,r)=>e(o,n)?C.some(o):d(r)&&r(o)?C.none():t(o,n,r);const ft=(e,t,o)=>{let n=e.dom;const r=d(o)?o:y;for(;n.parentNode;){n=n.parentNode;const e=xe.fromDom(n);if(t(e))return C.some(e);if(r(e))break}return C.none()},gt=(e,t,o)=>ut(((e,t)=>t(e)),ft,e,t,o),ht=(e,t,o)=>ft(e,(e=>Ce(e,t)),o),pt=(e,t)=>((e,o)=>L(e.dom.childNodes,(e=>{return o=xe.fromDom(e),Ce(o,t);var o})).map(xe.fromDom))(e),wt=(e,t)=>Te(t,e),bt=(e,t,o)=>ut(((e,t)=>Ce(e,t)),ht,e,t,o),vt=(e,t,o=p)=>e.exists((e=>o(e,t))),yt=e=>{const t=[],o=e=>{t.push(e)};for(let t=0;te?C.some(t):C.none(),Ct=(e,t,o)=>""===t||e.length>=t.length&&e.substr(o,o+t.length)===t,St=(e,t,o=0,n)=>{const r=e.indexOf(t,o);return-1!==r&&(!!i(n)||r+t.length<=n)},Tt=(e,t)=>Ct(e,t,0),Rt=(e,t)=>Ct(e,t,e.length-t.length),Dt=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),Ot=e=>e.length>0,kt=e=>void 0!==e.style&&d(e.style.getPropertyValue),Et=(e,t,o)=>{if(!r(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);kt(e)&&e.style.setProperty(t,o)},Nt=(e,t,o)=>{const n=e.dom;Et(n,t,o)},Bt=(e,t)=>{const o=e.dom;G(t,((e,t)=>{Et(o,t,e)}))},_t=(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||lt(e)?n:zt(o,t)},zt=(e,t)=>kt(e)?e.style.getPropertyValue(t):"",At=(e,t)=>{const o=e.dom,n=zt(o,t);return C.from(n).filter((e=>e.length>0))},Lt=(e,t)=>{((e,t)=>{kt(e)&&e.style.removeProperty(t)})(e.dom,t),vt(we(e,"style").map(Dt),"")&&be(e,"style")},Wt=(e,t,o=0)=>we(e,t).map((e=>parseInt(e,10))).getOr(o),Mt=(e,t)=>Wt(e,t,1),jt=e=>ue("col")(e)?Wt(e,"span",1)>1:Mt(e,"colspan")>1,Pt=e=>Mt(e,"rowspan")>1,It=(e,t)=>parseInt(_t(e,t),10),Ft=g(10),Ht=g(10),$t=(e,t)=>Vt(e,t,x),Vt=(e,t,o)=>j(Le(e),(e=>Ce(e,t)?o(e)?[e]:[]:Vt(e,t,o))),qt=(e,t)=>((e,t,o=y)=>o(t)?C.none():D(e,ne(t))?C.some(t):ht(t,e.join(","),(e=>Ce(e,"table")||o(e))))(["td","th"],e,t),Ut=e=>$t(e,"th,td"),Gt=e=>Ce(e,"colgroup")?mt(e,"col"):j(Jt(e),(e=>mt(e,"col"))),Kt=(e,t)=>bt(e,"table",t),Yt=e=>$t(e,"tr"),Jt=e=>Kt(e).fold(g([]),(e=>mt(e,"colgroup"))),Qt=(e,t)=>E(e,(e=>{if("colgroup"===ne(e)){const t=E(Gt(e),(e=>{const t=Wt(e,"span",1);return Xe(e,1,t)}));return Ze(e,t,"colgroup")}{const o=E(Ut(e),(e=>{const t=Wt(e,"rowspan",1),o=Wt(e,"colspan",1);return Xe(e,t,o)}));return Ze(e,o,t(e))}})),Xt=e=>Ne(e).map((e=>{const t=ne(e);return(e=>D(Qe,e))(t)?t:"tbody"})).getOr("tbody"),Zt=e=>{const t=Yt(e),o=[...Jt(e),...t];return Qt(o,Xt)},eo=e=>{let t,o=!1;return(...n)=>(o||(o=!0,t=e.apply(null,n)),t)},to=()=>oo(0,0),oo=(e,t)=>({major:e,minor:t}),no={nu:oo,detect:(e,t)=>{const o=String(t).toLowerCase();return 0===e.length?to():((e,t)=>{const o=((e,t)=>{for(let o=0;oNumber(t.replace(o,"$"+e));return oo(n(1),n(2))})(e,o)},unknown:to},ro=(e,t)=>{const o=String(t).toLowerCase();return L(e,(e=>e.search(o)))},so=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,lo=e=>t=>St(t,e),ao=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>St(e,"edge/")&&St(e,"chrome")&&St(e,"safari")&&St(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,so],search:e=>St(e,"chrome")&&!St(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>St(e,"msie")||St(e,"trident")},{name:"Opera",versionRegexes:[so,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:lo("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:lo("firefox")},{name:"Safari",versionRegexes:[so,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(St(e,"safari")||St(e,"mobile/"))&&St(e,"applewebkit")}],co=[{name:"Windows",search:lo("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>St(e,"iphone")||St(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:lo("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:lo("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:lo("linux"),versionRegexes:[]},{name:"Solaris",search:lo("sunos"),versionRegexes:[]},{name:"FreeBSD",search:lo("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:lo("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],io={browsers:g(ao),oses:g(co)},mo="Edge",uo="Chromium",fo="Opera",go="Firefox",ho="Safari",po=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isEdge:n(mo),isChromium:n(uo),isIE:n("IE"),isOpera:n(fo),isFirefox:n(go),isSafari:n(ho)}},wo=()=>po({current:void 0,version:no.unknown()}),bo=po,vo=(g(mo),g(uo),g("IE"),g(fo),g(go),g(ho),"Windows"),yo="Android",xo="Linux",Co="macOS",So="Solaris",To="FreeBSD",Ro="ChromeOS",Do=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isWindows:n(vo),isiOS:n("iOS"),isAndroid:n(yo),isMacOS:n(Co),isLinux:n(xo),isSolaris:n(So),isFreeBSD:n(To),isChromeOS:n(Ro)}},Oo=()=>Do({current:void 0,version:no.unknown()}),ko=Do,Eo=(g(vo),g("iOS"),g(yo),g(xo),g(Co),g(So),g(To),g(Ro),e=>window.matchMedia(e).matches);let No=eo((()=>((e,t,o)=>{const n=io.browsers(),r=io.oses(),s=t.bind((e=>((e,t)=>V(t.brands,(t=>{const o=t.brand.toLowerCase();return L(e,(e=>{var t;return o===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:no.nu(parseInt(t.version,10),0)})))})))(n,e))).orThunk((()=>((e,t)=>ro(e,t).map((e=>{const o=no.detect(e.versionRegexes,t);return{current:e.name,version:o}})))(n,e))).fold(wo,bo),l=((e,t)=>ro(e,t).map((e=>{const o=no.detect(e.versionRegexes,t);return{current:e.name,version:o}})))(r,e).fold(Oo,ko),a=((e,t,o,n)=>{const r=e.isiOS()&&!0===/ipad/i.test(o),s=e.isiOS()&&!r,l=e.isiOS()||e.isAndroid(),a=l||n("(pointer:coarse)"),c=r||!s&&l&&n("(min-device-width:768px)"),i=s||l&&!c,m=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(o),d=!i&&!c&&!m;return{isiPad:g(r),isiPhone:g(s),isTablet:g(c),isPhone:g(i),isTouch:g(a),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:g(m),isDesktop:g(d)}})(l,s,e,o);return{browser:s,os:l,deviceType:a}})(navigator.userAgent,C.from(navigator.userAgentData),Eo)));const Bo=()=>No(),_o=(e,t)=>{const o=o=>{const n=t(o);if(n<=0||null===n){const t=_t(o,e);return parseFloat(t)||0}return n},n=(e,t)=>A(t,((t,o)=>{const n=_t(e,o),r=void 0===n?0:parseInt(n,10);return isNaN(r)?t:t+r}),0);return{set:(t,o)=>{if(!u(o)&&!o.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+o);const n=t.dom;kt(n)&&(n.style[e]=o+"px")},get:o,getOuter:o,aggregate:n,max:(e,t,o)=>{const r=n(e,o);return t>r?t-r:0}}},zo=(e,t,o)=>((e,t)=>(e=>{const t=parseFloat(e);return isNaN(t)?C.none():C.some(t)})(e).getOr(t))(_t(e,t),o),Ao=_o("width",(e=>e.dom.offsetWidth)),Lo=e=>Ao.get(e),Wo=e=>Ao.getOuter(e),Mo=e=>((e,t)=>{const o=e.dom,n=o.getBoundingClientRect().width||o.offsetWidth;return"border-box"===t?n:((e,t,o,n)=>t-zo(e,`padding-${o}`,0)-zo(e,`padding-${n}`,0)-zo(e,`border-${o}-width`,0)-zo(e,`border-${n}-width`,0))(e,n,"left","right")})(e,"content-box"),jo=(e,t,o)=>{const n=e.cells,r=n.slice(0,t),s=n.slice(t),l=r.concat(o).concat(s);return Fo(e,l)},Po=(e,t,o)=>jo(e,t,[o]),Io=(e,t,o)=>{e.cells[t]=o},Fo=(e,t)=>tt(e.element,t,e.section,e.isNew),Ho=(e,t)=>e.cells[t],$o=(e,t)=>Ho(e,t).element,Vo=e=>e.cells.length,qo=e=>{const t=B(e,(e=>"colgroup"===e.section));return{rows:t.fail,cols:t.pass}},Uo=(e,t,o)=>{const n=E(e.cells,o);return tt(t(e.element),n,e.section,!0)},Go="data-snooker-locked-cols",Ko=e=>we(e,Go).bind((e=>C.from(e.match(/\d+/g)))).map((e=>I(e,x))),Yo=e=>{const t=A(qo(e).rows,((e,t)=>(N(t.cells,((t,o)=>{t.isLocked&&(e[o]=!0)})),e)),{}),o=J(t,((e,t)=>parseInt(t,10)));return((e,t)=>{const o=S.call(e,0);return o.sort(void 0),o})(o)},Jo=(e,t)=>e+","+t,Qo=(e,t)=>{const o=j(e.all,(e=>e.cells));return _(o,t)},Xo=e=>{const t={},o=[],n=H(e).map((e=>e.element)).bind(Kt).bind(Ko).getOr({});let r=0,s=0,l=0;const{pass:a,fail:c}=B(e,(e=>"colgroup"===e.section));N(c,(e=>{const a=[];N(e.cells,(e=>{let o=0;for(;void 0!==t[Jo(l,o)];)o++;const r=((e,t)=>X(e,t)&&void 0!==e[t]&&null!==e[t])(n,o.toString()),c=((e,t,o,n,r,s)=>({element:e,rowspan:t,colspan:o,row:n,column:r,isLocked:s}))(e.element,e.rowspan,e.colspan,l,o,r);for(let n=0;n{const t=(e=>{const t={};let o=0;return N(e.cells,(e=>{const n=e.colspan;k(n,(r=>{const s=o+r;t[s]=((e,t,o)=>({element:e,colspan:t,column:o}))(e.element,n,s)})),o+=n})),t})(e),o=((e,t)=>({element:e,columns:t}))(e.element,Q(t));return{colgroups:[o],columns:t}})).getOrThunk((()=>({colgroups:[],columns:{}}))),d=((e,t)=>({rows:e,columns:t}))(r,s);return{grid:d,access:t,all:o,columns:i,colgroups:m}},Zo=e=>{const t=Zt(e);return Xo(t)},en=Xo,tn=(e,t,o)=>C.from(e.access[Jo(t,o)]),on=(e,t,o)=>{const n=Qo(e,(e=>o(t,e.element)));return n.length>0?C.some(n[0]):C.none()},nn=Qo,rn=e=>j(e.all,(e=>e.cells)),sn=e=>Q(e.columns),ln=e=>q(e.columns).length>0,an=(e,t)=>C.from(e.columns[t]),cn=(e,t=x)=>{const o=e.grid,n=k(o.columns,h),r=k(o.rows,h);return E(n,(o=>mn((()=>j(r,(t=>tn(e,t,o).filter((e=>e.column===o)).toArray()))),(e=>1===e.colspan&&t(e.element)),(()=>tn(e,0,o)))))},mn=(e,t,o)=>{const n=e();return L(n,t).orThunk((()=>C.from(n[0]).orThunk(o))).map((e=>e.element))},dn=e=>{const t=e.grid,o=k(t.rows,h),n=k(t.columns,h);return E(o,(t=>mn((()=>j(n,(o=>tn(e,t,o).filter((e=>e.row===t)).fold(g([]),(e=>[e]))))),(e=>1===e.rowspan),(()=>tn(e,t,0)))))},un=(e,t)=>o=>"rtl"===fn(o)?t:e,fn=e=>"rtl"===_t(e,"direction")?"rtl":"ltr",gn=_o("height",(e=>{const t=e.dom;return lt(e)?t.getBoundingClientRect().height:t.offsetHeight})),hn=e=>gn.get(e),pn=e=>gn.getOuter(e),wn=(e,t)=>({left:e,top:t,translate:(o,n)=>wn(e+o,t+n)}),bn=wn,vn=(e,t)=>void 0!==e?e:void 0!==t?t:0,yn=e=>{const t=e.dom.ownerDocument,o=t.body,n=t.defaultView,r=t.documentElement;if(o===e.dom)return bn(o.offsetLeft,o.offsetTop);const s=vn(null==n?void 0:n.pageYOffset,r.scrollTop),l=vn(null==n?void 0:n.pageXOffset,r.scrollLeft),a=vn(r.clientTop,o.clientTop),c=vn(r.clientLeft,o.clientLeft);return xn(e).translate(l-c,s-a)},xn=e=>{const t=e.dom,o=t.ownerDocument.body;return o===t?bn(o.offsetLeft,o.offsetTop):lt(e)?(e=>{const t=e.getBoundingClientRect();return bn(t.left,t.top)})(t):bn(0,0)},Cn=(e,t)=>({row:e,y:t}),Sn=(e,t)=>({col:e,x:t}),Tn=e=>yn(e).left+Wo(e),Rn=e=>yn(e).left,Dn=(e,t)=>Sn(e,Rn(t)),On=(e,t)=>Sn(e,Tn(t)),kn=e=>yn(e).top,En=(e,t)=>Cn(e,kn(t)),Nn=(e,t)=>Cn(e,kn(t)+pn(t)),Bn=(e,t,o)=>{if(0===o.length)return[];const n=E(o.slice(1),((t,o)=>t.map((t=>e(o,t))))),r=o[o.length-1].map((e=>t(o.length-1,e)));return n.concat([r])},_n={delta:h,positions:e=>Bn(En,Nn,e),edge:kn},zn=un({delta:h,edge:Rn,positions:e=>Bn(Dn,On,e)},{delta:e=>-e,edge:Tn,positions:e=>Bn(On,Dn,e)}),An={delta:(e,t)=>zn(t).delta(e,t),positions:(e,t)=>zn(t).positions(e,t),edge:e=>zn(e).edge(e)},Ln={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Wn=(()=>{const e="[0-9]+",t="[eE][+-]?"+e,o=e=>`(?:${e})?`,n=["Infinity",e+"\\."+o(e)+o(t),"\\."+e+o(t),e+o(t)].join("|");return new RegExp(`^([+-]?(?:${n}))(.*)$`)})(),Mn=/(\d+(\.\d+)?)%/,jn=/(\d+(\.\d+)?)px|em/,Pn=ue("col"),In=(e,t,o)=>{const n=Be(e).getOrThunk((()=>at(ke(e))));return t(e)/o(n)*100},Fn=(e,t)=>{Nt(e,"width",t+"px")},Hn=(e,t)=>{Nt(e,"width",t+"%")},$n=(e,t)=>{Nt(e,"height",t+"px")},Vn=e=>{const t=(e=>{return zo(t=e,"height",t.dom.offsetHeight)+"px";var t})(e);return t?((e,t,o,n)=>{const r=parseFloat(e);return Rt(e,"%")&&"table"!==ne(t)?((e,t,o,n)=>{const r=Kt(e).map((e=>{const n=o(e);return Math.floor(t/100*n)})).getOr(t);return n(e,r),r})(t,r,o,n):r})(t,e,hn,$n):hn(e)},qn=(e,t)=>At(e,t).orThunk((()=>we(e,t).map((e=>e+"px")))),Un=e=>qn(e,"width"),Gn=e=>In(e,Lo,Mo),Kn=e=>{return Pn(e)?Lo(e):zo(t=e,"width",t.dom.offsetWidth);var t},Yn=e=>((e,t,o)=>o(e)/Mt(e,"rowspan"))(e,0,Vn),Jn=(e,t,o)=>{Nt(e,"width",t+o)},Qn=e=>In(e,Lo,Mo)+"%",Xn=g(Mn),Zn=ue("col"),er=e=>Un(e).getOrThunk((()=>Kn(e)+"px")),tr=e=>{return(t=e,qn(t,"height")).getOrThunk((()=>Yn(e)+"px"));var t},or=(e,t,o,n,r,s)=>e.filter(n).fold((()=>s(((e,t)=>{if(t<0||t>=e.length-1)return C.none();const o=e[t].fold((()=>{const o=(e=>{const t=S.call(e,0);return t.reverse(),t})(e.slice(0,t));return V(o,((e,t)=>e.map((e=>({value:e,delta:t+1})))))}),(e=>C.some({value:e,delta:0}))),n=e[t+1].fold((()=>{const o=e.slice(t+1);return V(o,((e,t)=>e.map((e=>({value:e,delta:t+1})))))}),(e=>C.some({value:e,delta:1})));return o.bind((e=>n.map((t=>{const o=t.delta+e.delta;return Math.abs(t.value-e.value)/o}))))})(o,t))),(e=>r(e))),nr=(e,t,o,n)=>{const r=cn(e),s=ln(e)?(e=>E(sn(e),(e=>C.from(e.element))))(e):r,l=[C.some(An.edge(t))].concat(E(An.positions(r,t),(e=>e.map((e=>e.x))))),a=b(jt);return E(s,((e,t)=>or(e,t,l,a,(e=>{if((e=>{const t=Bo().browser,o=t.isChromium()||t.isFirefox();return!Zn(e)||o})(e))return o(e);{const e=null!=(s=r[t])?h(s):C.none();return or(e,t,l,a,(e=>n(C.some(Lo(e)))),n)}var s}),n)))},rr=e=>e.map((e=>e+"px")).getOr(""),sr=(e,t,o)=>nr(e,t,Kn,(e=>e.getOrThunk(o.minCellWidth))),lr=(e,t,o,n,r)=>{const s=dn(e),l=[C.some(o.edge(t))].concat(E(o.positions(s,t),(e=>e.map((e=>e.y)))));return E(s,((e,t)=>or(e,t,l,b(Pt),n,r)))},ar=(e,t)=>()=>lt(e)?t(e):parseFloat(At(e,"width").getOr("0")),cr=e=>{const t=ar(e,(e=>parseFloat(Qn(e)))),o=ar(e,Lo);return{width:t,pixelWidth:o,getWidths:(t,o)=>((e,t,o)=>nr(e,t,Gn,(e=>e.fold((()=>o.minCellWidth()),(e=>e/o.pixelWidth()*100)))))(t,e,o),getCellDelta:e=>e/o()*100,singleColumnWidth:(e,t)=>[100-e],minCellWidth:()=>Ft()/o()*100,setElementWidth:Hn,adjustTableWidth:o=>{const n=t();Hn(e,n+o/100*n)},isRelative:!0,label:"percent"}},ir=e=>{const t=ar(e,Lo);return{width:t,pixelWidth:t,getWidths:(t,o)=>sr(t,e,o),getCellDelta:h,singleColumnWidth:(e,t)=>[Math.max(Ft(),e+t)-e],minCellWidth:Ft,setElementWidth:Fn,adjustTableWidth:o=>{const n=t()+o;Fn(e,n)},isRelative:!1,label:"pixel"}},mr=e=>Un(e).fold((()=>(e=>{const t=ar(e,Lo),o=g(0);return{width:t,pixelWidth:t,getWidths:(t,o)=>sr(t,e,o),getCellDelta:o,singleColumnWidth:g([0]),minCellWidth:o,setElementWidth:f,adjustTableWidth:f,isRelative:!0,label:"none"}})(e)),(t=>((e,t)=>null!==Xn().exec(t)?cr(e):ir(e))(e,t))),dr=ir,ur=cr,fr=(e,t,o)=>{const n=e[o].element,r=xe.fromTag("td");Ie(r,xe.fromTag("br")),(t?Ie:Pe)(n,r)},gr=((e,t)=>{const o=t=>e(t)?C.from(t.dom.nodeValue):C.none();return{get:t=>{if(!e(t))throw new Error("Can only get text value of a text node");return o(t).getOr("")},getOption:o,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(ie),hr=e=>gr.get(e),pr=e=>gr.getOption(e),wr=(e,t)=>gr.set(e,t),br=e=>"img"===ne(e)?1:pr(e).fold((()=>Le(e).length),(e=>e.length)),vr=["img","br"],yr=e=>pr(e).filter((e=>0!==e.trim().length||e.indexOf("\xa0")>-1)).isSome()||D(vr,ne(e))||(e=>ae(e)&&"false"===pe(e,"contenteditable"))(e),xr=e=>((e,t)=>{const o=e=>{for(let n=0;nSr(e,yr),Sr=(e,t)=>{const o=e=>{const n=Le(e);for(let e=n.length-1;e>=0;e--){const r=n[e];if(t(r))return C.some(r);const s=o(r);if(s.isSome())return s}return C.none()};return o(e)},Tr={scope:["row","col"]},Rr=e=>()=>{const t=xe.fromTag("td",e.dom);return Ie(t,xe.fromTag("br",e.dom)),t},Dr=e=>()=>xe.fromTag("col",e.dom),Or=e=>()=>xe.fromTag("colgroup",e.dom),kr=e=>()=>xe.fromTag("tr",e.dom),Er=(e,t,o)=>{const n=((e,t)=>{const o=Je(e,t),n=Le(Ye(e));return $e(o,n),o})(e,t);return G(o,((e,t)=>{null===e?be(n,t):ge(n,t,e)})),n},Nr=e=>e,Br=(e,t,o)=>{const n=(e,t)=>{((e,t)=>{const o=e.dom,n=t.dom;kt(o)&&kt(n)&&(n.style.cssText=o.style.cssText)})(e.element,t),Lt(t,"height"),1!==e.colspan&&Lt(t,"width")};return{col:o=>{const r=xe.fromTag(ne(o.element),t.dom);return n(o,r),e(o.element,r),r},colgroup:Or(t),row:kr(t),cell:r=>{const s=xe.fromTag(ne(r.element),t.dom),l=o.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),a=l.length>0?((e,t,o)=>xr(e).map((n=>{const r=o.join(","),s=it(n,r,(t=>Re(t,e)));return z(s,((e,t)=>{const o=Ke(t);return Ie(e,o),o}),t)})).getOr(t))(r.element,s,l):s;return Ie(a,xe.fromTag("br")),n(r,s),((e,t)=>{G(Tr,((o,n)=>we(e,n).filter((e=>D(o,e))).each((e=>ge(t,n,e)))))})(r.element,s),e(r.element,s),s},replace:Er,colGap:Dr(t),gap:Rr(t)}},_r=e=>({col:Dr(e),colgroup:Or(e),row:kr(e),cell:Rr(e),replace:Nr,colGap:Dr(e),gap:Rr(e)}),zr=e=>t=>t.options.get(e),Ar="100%",Lr=e=>{var t;const o=e.dom,n=null!==(t=o.getParent(e.selection.getStart(),o.isBlock))&&void 0!==t?t:e.getBody();return Mo(xe.fromDom(n))+"px"},Wr=e=>C.from(e.options.get("table_clone_elements")),Mr=zr("table_header_type"),jr=zr("table_column_resizing"),Pr=e=>"preservetable"===jr(e),Ir=e=>"resizetable"===jr(e),Fr=zr("table_sizing_mode"),Hr=e=>"relative"===Fr(e),$r=e=>"fixed"===Fr(e),Vr=e=>"responsive"===Fr(e),qr=zr("table_resize_bars"),Ur=zr("table_style_by_css"),Gr=zr("table_merge_content_on_paste"),Kr=e=>{const t=e.options,o=t.get("table_default_attributes");return t.isSet("table_default_attributes")?o:((e,t)=>Vr(e)||Ur(e)?t:$r(e)?{...t,width:Lr(e)}:{...t,width:Ar})(e,o)},Yr=zr("table_use_colgroups"),Jr=e=>bt(e,"[contenteditable]"),Qr=(e,t=!1)=>lt(e)?e.dom.isContentEditable:Jr(e).fold(g(t),(e=>"true"===Xr(e))),Xr=e=>e.dom.contentEditable,Zr=e=>xe.fromDom(e.getBody()),es=e=>t=>Re(t,Zr(e)),ts=e=>{be(e,"data-mce-style");const t=e=>be(e,"data-mce-style");N(Ut(e),t),N(Gt(e),t),N(Yt(e),t)},os=e=>xe.fromDom(e.selection.getStart()),ns=e=>e.getBoundingClientRect().width,rs=e=>e.getBoundingClientRect().height,ss=e=>gt(e,ue("table")).exists(Qr),ls=(e,t)=>{const o=t.column,n=t.column+t.colspan-1,r=t.row,s=t.row+t.rowspan-1;return o<=e.finishCol&&n>=e.startCol&&r<=e.finishRow&&s>=e.startRow},as=(e,t)=>t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow,cs=(e,t,o)=>{const n=on(e,t,Re),r=on(e,o,Re);return n.bind((e=>r.map((t=>{return o=e,n=t,{startRow:Math.min(o.row,n.row),startCol:Math.min(o.column,n.column),finishRow:Math.max(o.row+o.rowspan-1,n.row+n.rowspan-1),finishCol:Math.max(o.column+o.colspan-1,n.column+n.colspan-1)};var o,n}))))},is=(e,t,o)=>cs(e,t,o).map((t=>{const o=nn(e,w(ls,t));return E(o,(e=>e.element))})),ms=(e,t)=>on(e,t,((e,t)=>De(t,e))).map((e=>e.element)),ds=(e,t,o)=>{const n=fs(e);return is(n,t,o)},us=(e,t,o,n,r)=>{const s=fs(e),l=Re(e,o)?C.some(t):ms(s,t),a=Re(e,r)?C.some(n):ms(s,n);return l.bind((e=>a.bind((t=>is(s,e,t)))))},fs=Zo;var gs=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],hs=()=>({up:g({selector:ht,closest:bt,predicate:ft,all:_e}),down:g({selector:dt,predicate:ct}),styles:g({get:_t,getRaw:At,set:Nt,remove:Lt}),attrs:g({get:pe,set:ge,remove:be,copyTo:(e,t)=>{const o=ve(e);he(t,o)}}),insert:g({before:Me,after:je,afterAll:He,append:Ie,appendAll:$e,prepend:Pe,wrap:Fe}),remove:g({unwrap:Ue,remove:qe}),create:g({nu:xe.fromTag,clone:e=>xe.fromDom(e.dom.cloneNode(!1)),text:xe.fromText}),query:g({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:ze,nextSibling:Ae}),property:g({children:Le,name:ne,parent:Ne,document:e=>Ee(e).dom,isText:ie,isComment:le,isElement:ce,isSpecial:e=>{const t=ne(e);return D(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>ce(e)?we(e,"lang"):C.none(),getText:hr,setText:wr,isBoundary:e=>!!ce(e)&&("body"===ne(e)||D(gs,ne(e))),isEmptyTag:e=>!!ce(e)&&D(["br","img","hr","input"],ne(e)),isNonEditable:e=>ce(e)&&"false"===pe(e,"contenteditable")}),eq:Re,is:Oe});const ps=(e,t,o,n)=>{const r=t(e,o);return z(n,((o,n)=>{const r=t(e,n);return ws(e,o,r)}),r)},ws=(e,t,o)=>t.bind((t=>o.filter(w(e.eq,t)))),bs=hs(),vs=(e,t)=>((e,t,o)=>o.length>0?((e,t,o,n)=>n(e,t,o[0],o.slice(1)))(e,t,o,ps):C.none())(bs,((t,o)=>e(o)),t),ys=e=>ht(e,"table"),xs=(e,t,o)=>{const n=e=>t=>void 0!==o&&o(t)||Re(t,e);return Re(e,t)?C.some({boxes:C.some([e]),start:e,finish:t}):ys(e).bind((r=>ys(t).bind((s=>{if(Re(r,s))return C.some({boxes:ds(r,e,t),start:e,finish:t});if(De(r,s)){const o=it(t,"td,th",n(r)),l=o.length>0?o[o.length-1]:t;return C.some({boxes:us(r,e,r,t,s),start:e,finish:l})}if(De(s,r)){const o=it(e,"td,th",n(s)),l=o.length>0?o[o.length-1]:e;return C.some({boxes:us(s,e,r,t,s),start:e,finish:l})}return((e,t,o)=>((e,t,o,n=y)=>{const r=[t].concat(e.up().all(t)),s=[o].concat(e.up().all(o)),l=e=>W(e,n).fold((()=>e),(t=>e.slice(0,t+1))),a=l(r),c=l(s),i=L(a,(t=>O(c,((e,t)=>w(e.eq,t))(e,t))));return{firstpath:a,secondpath:c,shared:i}})(bs,e,t,void 0))(e,t).shared.bind((l=>bt(l,"table",o).bind((o=>{const l=it(t,"td,th",n(o)),a=l.length>0?l[l.length-1]:t,c=it(e,"td,th",n(o)),i=c.length>0?c[c.length-1]:e;return C.some({boxes:us(o,e,r,t,s),start:i,finish:a})}))))}))))},Cs=(e,t)=>{const o=dt(e,t);return o.length>0?C.some(o):C.none()},Ss=(e,t,o)=>wt(e,t).bind((t=>wt(e,o).bind((e=>vs(ys,[t,e]).map((o=>({first:t,last:e,table:o}))))))),Ts=(e,t,o,n,r)=>((e,t)=>L(e,(e=>Ce(e,t))))(e,r).bind((e=>((e,t,o)=>Kt(e).bind((n=>((e,t,o,n)=>on(e,t,Re).bind((t=>{const r=o>0?t.row+t.rowspan-1:t.row,s=n>0?t.column+t.colspan-1:t.column;return tn(e,r+o,s+n).map((e=>e.element))})))(fs(n),e,t,o))))(e,t,o).bind((e=>((e,t)=>ht(e,"table").bind((o=>wt(o,t).bind((t=>xs(t,e).bind((e=>e.boxes.map((t=>({boxes:t,start:e.start,finish:e.finish}))))))))))(e,n))))),Rs=(e,t)=>Cs(e,t),Ds=(e,t,o)=>Ss(e,t,o).bind((t=>{const o=t=>Re(e,t),n="thead,tfoot,tbody,table",r=ht(t.first,n,o),s=ht(t.last,n,o);return r.bind((e=>s.bind((o=>Re(e,o)?((e,t,o)=>((e,t,o)=>cs(e,t,o).bind((t=>((e,t)=>{let o=!0;const n=w(as,t);for(let r=t.startRow;r<=t.finishRow;r++)for(let s=t.startCol;s<=t.finishCol;s++)o=o&&tn(e,r,s).exists(n);return o?C.some(t):C.none()})(e,t))))(fs(e),t,o))(t.table,t.first,t.last):C.none()))))})),Os=h,ks=e=>{const t=(e,t)=>we(e,t).exists((e=>parseInt(e,10)>1));return e.length>0&&P(e,(e=>t(e,"rowspan")||t(e,"colspan")))?C.some(e):C.none()},Es=(e,t,o)=>t.length<=1?C.none():Ds(e,o.firstSelectedSelector,o.lastSelectedSelector).map((e=>({bounds:e,cells:t}))),Ns="data-mce-selected",Bs="data-mce-first-selected",_s="data-mce-last-selected",zs="["+Ns+"]",As={selected:Ns,selectedSelector:"td["+Ns+"],th["+Ns+"]",firstSelected:Bs,firstSelectedSelector:"td["+Bs+"],th["+Bs+"]",lastSelected:_s,lastSelectedSelector:"td["+_s+"],th["+_s+"]"},Ls=(e,t,o)=>({element:o,mergable:Es(t,e,As),unmergable:ks(e),selection:Os(e)}),Ws=e=>(t,o)=>{const n=ne(t),r="col"===n||"colgroup"===n?Kt(s=t).bind((e=>Rs(e,As.firstSelectedSelector))).fold(g(s),(e=>e[0])):t;var s;return bt(r,e,o)},Ms=Ws("th,td,caption"),js=Ws("th,td"),Ps=e=>{return t=e.model.table.getSelectedCells(),E(t,xe.fromDom);var t},Is=(e,t)=>{e.on("BeforeGetContent",(t=>{const o=o=>{t.preventDefault(),(e=>Kt(e[0]).map((e=>{const t=((e,t)=>{const o=e=>Ce(e.element,t),n=Ye(e),r=Zt(n),s=mr(e),l=en(r),a=((e,t)=>{const o=e.grid.columns;let n=e.grid.rows,r=o,s=0,l=0;const a=[],c=[];return G(e.access,(e=>{if(a.push(e),t(e)){c.push(e);const t=e.row,o=t+e.rowspan-1,a=e.column,i=a+e.colspan-1;ts&&(s=o),al&&(l=i)}})),((e,t,o,n,r,s)=>({minRow:e,minCol:t,maxRow:o,maxCol:n,allCells:r,selectedCells:s}))(n,r,s,l,a,c)})(l,o),c="th:not("+t+"),td:not("+t+")",i=Vt(n,"th,td",(e=>Ce(e,c)));N(i,qe),((e,t,o,n)=>{const r=_(e,(e=>"colgroup"!==e.section)),s=t.grid.columns,l=t.grid.rows;for(let e=0;eo.maxRow||ao.maxCol||(tn(t,e,a).filter(n).isNone()?fr(r,l,e):l=!0)}})(r,l,a,o);const m=((e,t,o,n)=>{if(0===n.minCol&&t.grid.columns===n.maxCol+1)return 0;const r=sr(t,e,o),s=A(r,((e,t)=>e+t),0),l=A(r.slice(n.minCol,n.maxCol+1),((e,t)=>e+t),0),a=l/s*o.pixelWidth()-o.pixelWidth();return o.getCellDelta(a)})(e,Zo(e),s,a);return((e,t,o,n)=>{G(o.columns,(e=>{(e.columnt.maxCol)&&qe(e.element)}));const r=_($t(e,"tr"),(e=>0===e.dom.childElementCount));N(r,qe),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||N($t(e,"th,td"),(e=>{be(e,"rowspan"),be(e,"colspan")})),be(e,Go),be(e,"data-snooker-col-series"),mr(e).adjustTableWidth(n)})(n,a,l,m),n})(e,zs);return ts(t),[t]})))(o).each((o=>{t.content="text"===t.format?(e=>E(e,(e=>e.dom.innerText)).join(""))(o):((e,t)=>E(t,(t=>e.selection.serializer.serialize(t.dom,{}))).join(""))(e,o)}))};if(!0===t.selection){const t=(e=>_(Ps(e),(e=>Ce(e,As.selectedSelector))))(e);t.length>=1&&o(t)}})),e.on("BeforeSetContent",(o=>{if(!0===o.selection&&!0===o.paste){const n=Ps(e);H(n).each((n=>{Kt(n).each((r=>{const s=_(((e,t)=>{const o=document.createElement("div");return o.innerHTML=e,Le(xe.fromDom(o))})(o.content),(e=>"meta"!==ne(e))),l=ue("table");if(Gr(e)&&1===s.length&&l(s[0])){o.preventDefault();const l=xe.fromDom(e.getDoc()),a=_r(l),c=((e,t,o)=>({element:e,clipboard:t,generators:o}))(n,s[0],a);t.pasteCells(r,c).each((()=>{e.focus()}))}}))}))}}))},Fs=(e,t)=>({element:e,offset:t}),Hs=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind((t=>Hs(e,t,o).orThunk((()=>C.some(t))))):C.none(),$s=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,Vs=(e,t)=>{const o=Hs(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return Fs(o,$s(e,o));const n=e.property().children(o);return n.length>0?Vs(e,n[n.length-1]):Fs(o,$s(e,o))},qs=Vs,Us=hs(),Gs=(e,t)=>{if(!jt(e)){const o=(e=>Un(e).bind((e=>{return t=e,o=["fixed","relative","empty"],C.from(Wn.exec(t)).bind((e=>{const t=Number(e[1]),n=e[2];return((e,t)=>O(t,(t=>O(Ln[t],(t=>e===t)))))(n,o)?C.some({value:t,unit:n}):C.none()}));var t,o})))(e);o.each((o=>{const n=o.value/2;Jn(e,n,o.unit),Jn(t,n,o.unit)}))}},Ks=e=>E(e,g(0)),Ys=(e,t,o,n,r)=>r(e.slice(0,t)).concat(n).concat(r(e.slice(o))),Js=e=>(t,o,n,r)=>{if(e(n)){const e=Math.max(r,t[o]-Math.abs(n)),s=Math.abs(e-t[o]);return n>=0?s:-s}return n},Qs=Js((e=>e<0)),Xs=Js(x),Zs=()=>{const e=(e,t,o,n)=>{const r=(100+o)/100,s=Math.max(n,(e[t]+o)/r);return E(e,((e,o)=>(o===t?s:e/r)-e))},t=(t,o,n,r,s,l)=>l?e(t,o,r,s):((e,t,o,n,r)=>{const s=Qs(e,t,n,r);return Ys(e,t,o+1,[s,0],Ks)})(t,o,n,r,s);return{resizeTable:(e,t)=>e(t),clampTableDelta:Qs,calcLeftEdgeDeltas:t,calcMiddleDeltas:(e,o,n,r,s,l,a)=>t(e,n,r,s,l,a),calcRightEdgeDeltas:(t,o,n,r,s,l)=>{if(l)return e(t,n,r,s);{const e=Qs(t,n,r,s);return Ks(t.slice(0,n)).concat([e])}},calcRedestributedWidths:(e,t,o,n)=>{if(n){const n=(t+o)/t,r=E(e,(e=>e/n));return{delta:100*n-100,newSizes:r}}return{delta:o,newSizes:e}}}},el=()=>{const e=(e,t,o,n,r)=>{const s=Xs(e,n>=0?o:t,n,r);return Ys(e,t,o+1,[s,-s],Ks)};return{resizeTable:(e,t,o)=>{o&&e(t)},clampTableDelta:(e,t,o,n,r)=>{if(r){if(o>=0)return o;{const t=A(e,((e,t)=>e+t-n),0);return Math.max(-t,o)}}return Qs(e,t,o,n)},calcLeftEdgeDeltas:e,calcMiddleDeltas:(t,o,n,r,s,l)=>e(t,n,r,s,l),calcRightEdgeDeltas:(e,t,o,n,r,s)=>{if(s)return Ks(e);{const t=n/e.length;return E(e,g(t))}},calcRedestributedWidths:(e,t,o,n)=>({delta:0,newSizes:e})}},tl=e=>Zo(e).grid,ol=ue("th"),nl=e=>P(e,(e=>ol(e.element))),rl=(e,t)=>e&&t?"sectionCells":e?"section":"cells",sl=e=>{const t="thead"===e.section,o=vt(ll(e.cells),"th");return"tfoot"===e.section?{type:"footer"}:t||o?{type:"header",subType:rl(t,o)}:{type:"body"}},ll=e=>{const t=_(e,(e=>ol(e.element)));return 0===t.length?C.some("td"):t.length===e.length?C.some("th"):C.none()},al=(e,t,o)=>et(o(e.element,t),!0,e.isLocked),cl=(e,t)=>e.section!==t?tt(e.element,e.cells,t,e.isNew):e,il=()=>({transformRow:cl,transformCell:(e,t,o)=>{const n=o(e.element,t),r="td"!==ne(n)?((e,t)=>{const o=Je(e,"td");je(e,o);const n=Le(e);return $e(o,n),qe(e),o})(n):n;return et(r,e.isNew,e.isLocked)}}),ml=()=>({transformRow:cl,transformCell:al}),dl=()=>({transformRow:(e,t)=>cl(e,"thead"===t?"tbody":t),transformCell:al}),ul=il,fl=ml,gl=dl,hl=()=>({transformRow:h,transformCell:al}),pl=(e,t,o,n)=>{o===n?be(e,t):ge(e,t,o)},wl=(e,t,o)=>{$(mt(e,t)).fold((()=>Pe(e,o)),(e=>je(e,o)))},bl=(e,t)=>{const o=[],n=[],r=e=>E(e,(e=>{e.isNew&&o.push(e.element);const t=e.element;return Ve(t),N(e.cells,(e=>{e.isNew&&n.push(e.element),pl(e.element,"colspan",e.colspan,1),pl(e.element,"rowspan",e.rowspan,1),Ie(t,e.element)})),t})),s=e=>j(e,(e=>E(e.cells,(e=>(pl(e.element,"span",e.colspan,1),e.element))))),l=(t,o)=>{const n=((e,t)=>{const o=pt(e,t).getOrThunk((()=>{const o=xe.fromTag(t,ke(e).dom);return"thead"===t?wl(e,"caption,colgroup",o):"colgroup"===t?wl(e,"caption",o):Ie(e,o),o}));return Ve(o),o})(e,o),l=("colgroup"===o?s:r)(t);$e(n,l)},a=(t,o)=>{t.length>0?l(t,o):(t=>{pt(e,t).each(qe)})(o)},c=[],i=[],m=[],d=[];return N(t,(e=>{switch(e.section){case"thead":c.push(e);break;case"tbody":i.push(e);break;case"tfoot":m.push(e);break;case"colgroup":d.push(e)}})),a(d,"colgroup"),a(c,"thead"),a(i,"tbody"),a(m,"tfoot"),{newRows:o,newCells:n}},vl=(e,t)=>{if(0===e.length)return 0;const o=e[0];return W(e,(e=>!t(o.element,e.element))).getOr(e.length)},yl=(e,t)=>{const o=E(e,(e=>E(e.cells,y)));return E(e,((n,r)=>{const s=j(n.cells,((n,s)=>{if(!1===o[r][s]){const m=((e,t,o,n)=>{const r=((e,t)=>e[t])(e,t),s="colgroup"===r.section,l=vl(r.cells.slice(o),n),a=s?1:vl(((e,t)=>E(e,(e=>Ho(e,t))))(e.slice(t),o),n);return{colspan:l,rowspan:a}})(e,r,s,t);return((e,t,n,r)=>{for(let s=e;s({element:e,cells:t,section:o,isNew:n}))(n.element,s,n.section,n.isNew)}))},xl=(e,t,o)=>{const n=[];N(e.colgroups,(r=>{const s=[];for(let n=0;net(e.element,o,!1))).getOrThunk((()=>et(t.colGap(),!0,!1)));s.push(r)}n.push(tt(r.element,s,"colgroup",o))}));for(let r=0;ret(e.element,o,e.isLocked))).getOrThunk((()=>et(t.gap(),!0,!1)));s.push(l)}const l=e.all[r],a=tt(l.element,s,l.section,o);n.push(a)}return n},Cl=e=>yl(e,Re),Sl=(e,t)=>V(e.all,(e=>L(e.cells,(e=>Re(t,e.element))))),Tl=(e,t,o)=>{const n=E(t.selection,(t=>qt(t).bind((t=>Sl(e,t))).filter(o))),r=yt(n);return xt(r.length>0,r)},Rl=(e,t,o,n,r)=>(s,l,a,c)=>{const i=Zo(s),m=C.from(null==c?void 0:c.section).getOrThunk(hl);return t(i,l).map((t=>{const o=((e,t)=>xl(e,t,!1))(i,a),n=e(o,t,Re,r(a),m),s=Yo(n.grid);return{info:t,grid:Cl(n.grid),cursor:n.cursor,lockedColumns:s}})).bind((e=>{const t=bl(s,e.grid),r=C.from(null==c?void 0:c.sizing).getOrThunk((()=>mr(s))),l=C.from(null==c?void 0:c.resize).getOrThunk(el);return o(s,e.grid,e.info,{sizing:r,resize:l,section:m}),n(s),be(s,Go),e.lockedColumns.length>0&&ge(s,Go,e.lockedColumns.join(",")),C.some({cursor:e.cursor,newRows:t.newRows,newCells:t.newCells})}))},Dl=(e,t)=>Tl(e,t,x).map((e=>({cells:e,generators:t.generators,clipboard:t.clipboard}))),Ol=(e,t)=>Tl(e,t,x),kl=(e,t)=>Tl(e,t,(e=>!e.isLocked)),El=(e,t)=>P(t,(t=>((e,t)=>Sl(e,t).exists((e=>!e.isLocked)))(e,t))),Nl=(e,t,o,n)=>{const r=qo(e).rows;let s=!0;for(let e=0;e{const t=t=>t(e),o=g(e),n=()=>r,r={tag:!0,inner:e,fold:(t,o)=>o(e),isValue:x,isError:y,map:t=>zl.value(t(e)),mapError:n,bind:t,exists:t,forall:t,getOr:o,or:n,getOrThunk:o,orThunk:n,getOrDie:o,each:t=>{t(e)},toOptional:()=>C.some(e)};return r},_l=e=>{const t=()=>o,o={tag:!1,inner:e,fold:(t,o)=>t(e),isValue:y,isError:x,map:t,mapError:t=>zl.error(t(e)),bind:t,exists:y,forall:x,getOr:h,or:h,getOrThunk:v,orThunk:v,getOrDie:(n=String(e),()=>{throw new Error(n)}),each:f,toOptional:C.none};var n;return o},zl={value:Bl,error:_l,fromOption:(e,t)=>e.fold((()=>_l(t)),Bl)},Al=(e,t)=>({rowDelta:0,colDelta:Vo(e[0])-Vo(t[0])}),Ll=(e,t)=>({rowDelta:e.length-t.length,colDelta:0}),Wl=(e,t,o,n)=>{const r="colgroup"===t.section?o.col:o.cell;return k(e,(e=>et(r(),!0,n(e))))},Ml=(e,t,o,n)=>{const r=e[e.length-1];return e.concat(k(t,(()=>{const e="colgroup"===r.section?o.colgroup:o.row,t=Uo(r,e,h),s=Wl(t.cells.length,t,o,(e=>X(n,e.toString())));return Fo(t,s)})))},jl=(e,t,o,n)=>E(e,(e=>{const r=Wl(t,e,o,y);return jo(e,n,r)})),Pl=(e,t,o)=>{const n=t.colDelta<0?jl:h,r=t.rowDelta<0?Ml:h,s=Yo(e),l=Vo(e[0]),a=O(s,(e=>e===l-1)),c=n(e,Math.abs(t.colDelta),o,a?l-1:l),i=Yo(c);return r(c,Math.abs(t.rowDelta),o,I(i,x))},Il=(e,t,o,n)=>{const r=w(n,Ho(e[t],o).element),s=e[t];return e.length>1&&Vo(s)>1&&(o>0&&r($o(s,o-1))||o0&&r($o(e[t-1],o))||t_(o,(o=>o>=e.column&&o<=Vo(t[0])+e.column)),Hl=(e,t,o,n,r)=>{((e,t,o,n)=>{t>0&&t{const r=e.cells[t-1];let s=0;const l=n();for(;e.cells.length>t+s&&o(r.element,e.cells[t+s].element);)Io(e,t+s,et(l,!0,e.cells[t+s].isLocked)),s++}))})(t,e,r,n.cell);const s=Ll(o,t),l=Pl(o,s,n),a=Ll(t,l),c=Pl(t,a,n);return E(c,((t,o)=>jo(t,e,l[o].cells)))},$l=(e,t,o,n,r)=>{((e,t,o,n)=>{const r=qo(e).rows;if(t>0&&tA(e,((e,o)=>O(e,(e=>t(e.element,o.element)))?e:e.concat([o])),[]))(r[t-1].cells,o);N(e,(e=>{let s=C.none();for(let l=t;l{Io(a,t,et(e,!0,c.isLocked))})))}}))}})(t,e,r,n.cell);const s=Yo(t),l=Al(t,o),a={...l,colDelta:l.colDelta-s.length},c=Pl(t,a,n),{cols:i,rows:m}=qo(c),d=Yo(c),u=Al(o,t),f={...u,colDelta:u.colDelta+d.length},g=(p=n,w=d,E(o,(e=>A(w,((t,o)=>{const n=Wl(1,e,p,x)[0];return Po(t,o,n)}),e)))),h=Pl(g,f,n);var p,w;return[...i,...m.slice(0,e),...h,...m.slice(e,m.length)]},Vl=(e,t,o,n,r)=>{const{rows:s,cols:l}=qo(e),a=s.slice(0,t),c=s.slice(t);return[...l,...a,((e,t,o,n)=>Uo(e,(e=>n(e,o)),t))(s[o],((e,o)=>t>0&&tE(e,(e=>{const s=t>0&&t{if("colgroup"!==o&&n)return Ho(e,t);{const t=Ho(e,r);return et(l(t.element,s),!0,!1)}})(e,t,e.section,s,o,n,r);return Po(e,t,l)})),Ul=(e,t,o,n)=>((e,t,o,n)=>void 0!==$o(e[t],o)&&t>0&&n($o(e[t-1],o),$o(e[t],o)))(e,t,o,n)||((e,t,o)=>t>0&&o($o(e,t-1),$o(e,t)))(e[t],o,n),Gl=(e,t,o,n)=>{const r=e=>(e=>"row"===e?Pt(t):jt(t))(e)?`${e}group`:e;return e?ol(t)?r(o):null:n&&ol(t)?r("row"===o?"col":"row"):null},Kl=(e,t,o)=>et(o(e.element,t),!0,e.isLocked),Yl=(e,t,o,n,r,s,l)=>E(e,((e,a)=>((e,c)=>{const i=e.cells,m=E(i,((e,c)=>{if((e=>O(t,(t=>o(e.element,t.element))))(e)){const t=l(e,a,c)?r(e,o,n):e;return s(t,a,c).each((e=>{var o,n;o=t.element,n={scope:C.from(e)},G(n,((e,t)=>{e.fold((()=>{be(o,t)}),(e=>{fe(o.dom,t,e)}))}))})),t}return e}));return tt(e.element,m,e.section,e.isNew)})(e))),Jl=(e,t,o)=>j(e,((n,r)=>Ul(e,r,t,o)?[]:[Ho(n,t)])),Ql=(e,t,o,n,r)=>{const s=qo(e).rows,l=j(t,(e=>Jl(s,e,n))),a=E(s,(e=>nl(e.cells))),c=((e,t)=>P(t,h)&&nl(e)?x:(e,o,n)=>!("th"===ne(e.element)&&t[o]))(l,a),i=((e,t)=>(o,n)=>C.some(Gl(e,o.element,"row",t[n])))(o,a);return Yl(e,l,n,r,Kl,i,c)},Xl=(e,t,o,n)=>{const r=qo(e).rows,s=E(t,(e=>Ho(r[e.row],e.column)));return Yl(e,s,o,n,Kl,C.none,x)},Zl=e=>{if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],o={};return N(e,((n,r)=>{const s=q(n);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],c=n[a];if(void 0!==o[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(c))throw new Error("case arguments must be an array");t.push(a),o[a]=(...o)=>{const n=o.length;if(n!==c.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+c.length+" ("+c+"), got "+n);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[r].apply(null,o)},match:e=>{const n=q(e);if(t.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+n.join(","));if(!P(t,(e=>D(n,e))))throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,o)},log:e=>{console.log(e,{constructors:t,constructor:a,params:o})}}}})),o},ea={...Zl([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}])},ta=(e,t,o)=>{let n=0;for(let r=e;r{const o=rn(e);return E(o,(e=>{const o=ta(e.row,e.row+e.rowspan,t);return{element:e.element,height:o,rowspan:e.rowspan}}))},na=(e,t,o)=>{const n=((e,t)=>ln(e)?((e,t)=>{const o=sn(e);return E(o,((e,o)=>({element:e.element,width:t[o],colspan:e.colspan})))})(e,t):((e,t)=>{const o=rn(e);return E(o,(e=>{const o=ta(e.column,e.column+e.colspan,t);return{element:e.element,width:o,colspan:e.colspan}}))})(e,t))(e,t);N(n,(e=>{o.setElementWidth(e.element,e.width)}))},ra=(e,t,o,n,r)=>{const s=Zo(e),l=r.getCellDelta(t),a=r.getWidths(s,r),c=o===s.grid.columns-1,i=n.clampTableDelta(a,o,l,r.minCellWidth(),c),m=((e,t,o,n,r)=>{const s=e.slice(0),l=((e,t)=>0===e.length?ea.none():1===e.length?ea.only(0):0===t?ea.left(0,1):t===e.length-1?ea.right(t-1,t):t>0&&tn.singleColumnWidth(s[e],o)),((e,t)=>r.calcLeftEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative)),((e,t,l)=>r.calcMiddleDeltas(s,e,t,l,o,n.minCellWidth(),n.isRelative)),((e,t)=>r.calcRightEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative)))})(a,o,i,r,n),d=E(m,((e,t)=>e+a[t]));na(s,d,r),n.resizeTable(r.adjustTableWidth,i,c)},sa=e=>A(e,((e,t)=>O(e,(e=>e.column===t.column))?e:e.concat([t])),[]).sort(((e,t)=>e.column-t.column)),la=ue("col"),aa=ue("colgroup"),ca=e=>"tr"===ne(e)||aa(e),ia=e=>({element:e,colspan:Wt(e,"colspan",1),rowspan:Wt(e,"rowspan",1)}),ma=e=>we(e,"scope").map((e=>e.substr(0,3))),da=(e,t=ia)=>{const o=o=>{if(ca(o))return aa((r={element:o}).element)?e.colgroup(r):e.row(r);{const r=o,s=(t=>la(t.element)?e.col(t):e.cell(t))(t(r));return n=C.some({item:r,replacement:s}),s}var r};let n=C.none();return{getOrInit:(e,t)=>n.fold((()=>o(e)),(n=>t(e,n.item)?n.replacement:o(e)))}},ua=e=>t=>{const o=[],n=n=>{const r="td"===e?{scope:null}:{},s=t.replace(n,e,r);return o.push({item:n,sub:s}),s};return{replaceOrInit:(e,t)=>{if(ca(e)||la(e))return e;{const r=e;return((e,t)=>L(o,(o=>t(o.item,e))))(r,t).fold((()=>n(r)),(o=>t(e,o.item)?o.sub:n(r)))}}}},fa=e=>({unmerge:t=>{const o=ma(t);return o.each((e=>ge(t,"scope",e))),()=>{const n=e.cell({element:t,colspan:1,rowspan:1});return Lt(n,"width"),Lt(t,"width"),o.each((e=>ge(n,"scope",e))),n}},merge:e=>(Lt(e[0],"width"),(()=>{const t=yt(E(e,ma));if(0===t.length)return C.none();{const e=t[0],o=["row","col"];return O(t,(t=>t!==e&&D(o,t)))?C.none():C.from(e)}})().fold((()=>be(e[0],"scope")),(t=>ge(e[0],"scope",t+"group"))),g(e[0]))}),ga=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],ha=hs(),pa=e=>((e,t)=>{const o=e.property().name(t);return D(ga,o)})(ha,e),wa=e=>((e,t)=>{const o=e.property().name(t);return D(["ol","ul"],o)})(ha,e),ba=e=>{const t=ue("br"),o=e=>Cr(e).bind((o=>{const n=Ae(o).map((e=>!!pa(e)||!!((e,t)=>D(["br","img","hr","input"],e.property().name(t)))(ha,e)&&"img"!==ne(e))).getOr(!1);return Ne(o).map((r=>{return!0===n||("li"===ne(s=r)||ft(s,wa).isSome())||t(o)||pa(r)&&!Re(e,r)?[]:[xe.fromTag("br")];var s}))})).getOr([]),n=(()=>{const n=j(e,(e=>{const n=Le(e);return(e=>P(e,(e=>t(e)||ie(e)&&0===hr(e).trim().length)))(n)?[]:n.concat(o(e))}));return 0===n.length?[xe.fromTag("br")]:n})();Ve(e[0]),$e(e[0],n)},va=e=>Qr(e,!0),ya=e=>{0===Ut(e).length&&qe(e)},xa=(e,t)=>({grid:e,cursor:t}),Ca=(e,t,o)=>{const n=((e,t,o)=>{var n,r;const s=qo(e).rows;return C.from(null===(r=null===(n=s[t])||void 0===n?void 0:n.cells[o])||void 0===r?void 0:r.element).filter(va).orThunk((()=>(e=>V(e,(e=>V(e.cells,(e=>{const t=e.element;return xt(va(t),t)})))))(s)))})(e,t,o);return xa(e,n)},Sa=e=>A(e,((e,t)=>O(e,(e=>e.row===t.row))?e:e.concat([t])),[]).sort(((e,t)=>e.row-t.row)),Ta=(e,t)=>(o,n,r,s,l)=>{const a=Sa(n),c=E(a,(e=>e.row)),i=((e,t,o,n,r,s,l)=>{const{cols:a,rows:c}=qo(e),i=c[t[0]],m=j(t,(e=>((e,t,o)=>{const n=e[t];return j(n.cells,((n,r)=>Ul(e,t,r,o)?[]:[n]))})(c,e,r))),d=E(i.cells,((e,t)=>nl(Jl(c,t,r)))),u=[...c];N(t,(e=>{u[e]=l.transformRow(c[e],o)}));const f=[...a,...u],g=((e,t)=>P(t,h)&&nl(e.cells)?x:(e,o,n)=>!("th"===ne(e.element)&&t[n]))(i,d),p=((e,t)=>(o,n,r)=>C.some(Gl(e,o.element,"col",t[r])))(n,d);return Yl(f,m,r,s,l.transformCell,p,g)})(o,c,e,t,r,s.replaceOrInit,l);return Ca(i,n[0].row,n[0].column)},Ra=Ta("thead",!0),Da=Ta("tbody",!1),Oa=Ta("tfoot",!1),ka=(e,t,o)=>{const n=((e,t)=>Qt(e,(()=>t)))(e,o.section),r=en(n);return xl(r,t,!0)},Ea=(e,t,o,n)=>((e,t,o,n)=>{const r=en(t),s=n.getWidths(r,n);na(r,s,n)})(0,t,0,n.sizing),Na=(e,t,o,n)=>((e,t,o,n,r)=>{const s=en(t),l=n.getWidths(s,n),a=n.pixelWidth(),{newSizes:c,delta:i}=r.calcRedestributedWidths(l,a,o.pixelDelta,n.isRelative);na(s,c,n),n.adjustTableWidth(i)})(0,t,o,n.sizing,n.resize),Ba=(e,t)=>O(t,(e=>0===e.column&&e.isLocked)),_a=(e,t)=>O(t,(t=>t.column+t.colspan>=e.grid.columns&&t.isLocked)),za=(e,t)=>{const o=cn(e),n=sa(t);return A(n,((e,t)=>e+o[t.column].map(Wo).getOr(0)),0)},Aa=e=>(t,o)=>Ol(t,o).filter((o=>!(e?Ba:_a)(t,o))).map((e=>({details:e,pixelDelta:za(t,e)}))),La=e=>(t,o)=>Dl(t,o).filter((o=>!(e?Ba:_a)(t,o.cells))),Wa=ua("th"),Ma=ua("td"),ja=Rl(((e,t,o,n)=>{const r=t[0].row,s=Sa(t),l=z(s,((e,t)=>({grid:Vl(e.grid,r,t.row+e.delta,o,n.getOrInit),delta:e.delta+1})),{grid:e,delta:0}).grid;return Ca(l,r,t[0].column)}),Ol,f,f,da),Pa=Rl(((e,t,o,n)=>{const r=Sa(t),s=r[r.length-1],l=s.row+s.rowspan,a=z(r,((e,t)=>Vl(e,l,t.row,o,n.getOrInit)),e);return Ca(a,l,t[0].column)}),Ol,f,f,da),Ia=Rl(((e,t,o,n)=>{const r=t.details,s=sa(r),l=s[0].column,a=z(s,((e,t)=>({grid:ql(e.grid,l,t.column+e.delta,o,n.getOrInit),delta:e.delta+1})),{grid:e,delta:0}).grid;return Ca(a,r[0].row,l)}),Aa(!0),Na,f,da),Fa=Rl(((e,t,o,n)=>{const r=t.details,s=r[r.length-1],l=s.column+s.colspan,a=sa(r),c=z(a,((e,t)=>ql(e,l,t.column,o,n.getOrInit)),e);return Ca(c,r[0].row,l)}),Aa(!1),Na,f,da),Ha=Rl(((e,t,o,n)=>{const r=sa(t.details),s=((e,t)=>j(e,(e=>{const o=e.cells,n=z(t,((e,t)=>t>=0&&t0?[tt(e.element,n,e.section,e.isNew)]:[]})))(e,E(r,(e=>e.column))),l=s.length>0?s[0].cells.length-1:0;return Ca(s,r[0].row,Math.min(r[0].column,l))}),((e,t)=>kl(e,t).map((t=>({details:t,pixelDelta:-za(e,t)})))),Na,ya,da),$a=Rl(((e,t,o,n)=>{const r=Sa(t),s=((e,t,o)=>{const{rows:n,cols:r}=qo(e);return[...r,...n.slice(0,t),...n.slice(o+1)]})(e,r[0].row,r[r.length-1].row),l=s.length>0?s.length-1:0;return Ca(s,Math.min(t[0].row,l),t[0].column)}),Ol,f,ya,da),Va=Rl(((e,t,o,n)=>{const r=sa(t),s=E(r,(e=>e.column)),l=Ql(e,s,!0,o,n.replaceOrInit);return Ca(l,t[0].row,t[0].column)}),kl,f,f,Wa),qa=Rl(((e,t,o,n)=>{const r=sa(t),s=E(r,(e=>e.column)),l=Ql(e,s,!1,o,n.replaceOrInit);return Ca(l,t[0].row,t[0].column)}),kl,f,f,Ma),Ua=Rl(Ra,kl,f,f,Wa),Ga=Rl(Da,kl,f,f,Ma),Ka=Rl(Oa,kl,f,f,Ma),Ya=Rl(((e,t,o,n)=>{const r=Xl(e,t,o,n.replaceOrInit);return Ca(r,t[0].row,t[0].column)}),kl,f,f,Wa),Ja=Rl(((e,t,o,n)=>{const r=Xl(e,t,o,n.replaceOrInit);return Ca(r,t[0].row,t[0].column)}),kl,f,f,Ma),Qa=Rl(((e,t,o,n)=>{const r=t.cells;ba(r);const s=((e,t,o,n)=>{const r=qo(e).rows;if(0===r.length)return e;for(let e=t.startRow;e<=t.finishRow;e++)for(let o=t.startCol;o<=t.finishCol;o++){const t=r[e],s=Ho(t,o).isLocked;Io(t,o,et(n(),!1,s))}return e})(e,t.bounds,0,n.merge(r));return xa(s,C.from(r[0]))}),((e,t)=>((e,t)=>t.mergable)(0,t).filter((t=>El(e,t.cells)))),Ea,f,fa),Xa=Rl(((e,t,o,n)=>{const r=z(t,((e,t)=>Nl(e,t,o,n.unmerge(t))),e);return xa(r,C.from(t[0]))}),((e,t)=>((e,t)=>t.unmergable)(0,t).filter((t=>El(e,t)))),Ea,f,fa),Za=Rl(((e,t,o,n)=>{const r=((e,t)=>{const o=Zo(e);return xl(o,t,!0)})(t.clipboard,t.generators);var s,l;return((e,t,o,n,r)=>{const s=Yo(t),l=((e,t,o)=>{const n=Vo(t[0]),r=qo(t).cols.length+e.row,s=k(n-e.column,(t=>t+e.column));return{row:r,column:L(s,(e=>P(o,(t=>t!==e)))).getOr(n-1)}})(e,t,s),a=qo(o).rows,c=Fl(l,a,s),i=((e,t,o)=>{if(e.row>=t.length||e.column>Vo(t[0]))return zl.error("invalid start address out of table bounds, row: "+e.row+", column: "+e.column);const n=t.slice(e.row),r=n[0].cells.slice(e.column),s=Vo(o[0]),l=o.length;return zl.value({rowDelta:n.length-l,colDelta:r.length-s})})(l,t,a);return i.map((e=>{const o={...e,colDelta:e.colDelta-c.length},s=Pl(t,o,n),i=Yo(s),m=Fl(l,a,i);return((e,t,o,n,r,s)=>{const l=e.row,a=e.column,c=l+o.length,i=a+Vo(o[0])+s.length,m=I(s,x);for(let e=l;exa(e,C.some(t.element))),(e=>Ca(e,t.row,t.column)))}),((e,t)=>qt(t.element).bind((o=>Sl(e,o).map((e=>({...e,generators:t.generators,clipboard:t.clipboard})))))),Ea,f,da),ec=Rl(((e,t,o,n)=>{const r=qo(e).rows,s=t.cells[0].column,l=r[t.cells[0].row],a=ka(t.clipboard,t.generators,l),c=Hl(s,e,a,t.generators,o);return Ca(c,t.cells[0].row,t.cells[0].column)}),La(!0),f,f,da),tc=Rl(((e,t,o,n)=>{const r=qo(e).rows,s=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,l=r[t.cells[0].row],a=ka(t.clipboard,t.generators,l),c=Hl(s,e,a,t.generators,o);return Ca(c,t.cells[0].row,t.cells[0].column)}),La(!1),f,f,da),oc=Rl(((e,t,o,n)=>{const r=qo(e).rows,s=t.cells[0].row,l=r[s],a=ka(t.clipboard,t.generators,l),c=$l(s,e,a,t.generators,o);return Ca(c,t.cells[0].row,t.cells[0].column)}),Dl,f,f,da),nc=Rl(((e,t,o,n)=>{const r=qo(e).rows,s=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,l=r[t.cells[0].row],a=ka(t.clipboard,t.generators,l),c=$l(s,e,a,t.generators,o);return Ca(c,t.cells[0].row,t.cells[0].column)}),Dl,f,f,da),rc=(e,t)=>{const o=Zo(e);return Ol(o,t).bind((e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=M(E(o.all,(e=>_(e.cells,(e=>e.column>=n&&e.column{const o=Zo(e);return Ol(o,t).bind(ll).getOr("")},lc=(e,t)=>{const o=Zo(e);return Ol(o,t).bind((e=>{const t=e[e.length-1],n=e[0].row,r=t.row+t.rowspan;return(e=>{const t=E(e,(e=>sl(e).type)),o=D(t,"header"),n=D(t,"footer");if(o||n){const e=D(t,"body");return!o||e||n?o||e||!n?C.none():C.some("footer"):C.some("header")}return C.some("body")})(o.all.slice(n,r))})).getOr("")},ac=(e,t)=>e.dispatch("NewRow",{node:t}),cc=(e,t)=>e.dispatch("NewCell",{node:t}),ic=(e,t,o)=>{e.dispatch("TableModified",{...o,table:t})},mc={structure:!1,style:!0},dc={structure:!0,style:!1},uc={structure:!0,style:!0},fc=(e,t)=>Hr(e)?ur(t):$r(e)?dr(t):mr(t),gc=(e,t,o)=>{const n=e=>"table"===ne(Zr(e)),r=Wr(e),s=Ir(e)?f:Gs,l=t=>{switch(Mr(e)){case"section":return ul();case"sectionCells":return fl();case"cells":return gl();default:return((e,t)=>{var o;switch((o=Zo(e),V(o.all,(e=>{const t=sl(e);return"header"===t.type?C.from(t.subType):C.none()}))).getOr(t)){case"section":return il();case"sectionCells":return ml();case"cells":return dl()}})(t,"section")}},a=(n,s,a,c)=>(i,m,d=!1)=>{ts(i);const u=xe.fromDom(e.getDoc()),f=Br(a,u,r),g={sizing:fc(e,i),resize:Ir(e)?Zs():el(),section:l(i)};return s(i)?n(i,m,f,g).bind((n=>{t.refresh(i.dom),N(n.newRows,(t=>{ac(e,t.dom)})),N(n.newCells,(t=>{cc(e,t.dom)}));const r=((t,n)=>n.cursor.fold((()=>{const n=Ut(t);return H(n).filter(lt).map((n=>{o.clearSelectedCells(t.dom);const r=e.dom.createRng();return r.selectNode(n.dom),e.selection.setRng(r),ge(n,"data-mce-selected","1"),r}))}),(n=>{const r=qs(Us,n),s=e.dom.createRng();return s.setStart(r.element.dom,r.offset),s.setEnd(r.element.dom,r.offset),e.selection.setRng(s),o.clearSelectedCells(t.dom),C.some(s)})))(i,n);return lt(i)&&(ts(i),d||ic(e,i.dom,c)),r.map((e=>({rng:e,effect:c})))})):C.none()},c=a($a,(t=>!n(e)||tl(t).rows>1),f,dc),i=a(Ha,(t=>!n(e)||tl(t).columns>1),f,dc);return{deleteRow:c,deleteColumn:i,insertRowsBefore:a(ja,x,f,dc),insertRowsAfter:a(Pa,x,f,dc),insertColumnsBefore:a(Ia,x,s,dc),insertColumnsAfter:a(Fa,x,s,dc),mergeCells:a(Qa,x,f,dc),unmergeCells:a(Xa,x,f,dc),pasteColsBefore:a(ec,x,f,dc),pasteColsAfter:a(tc,x,f,dc),pasteRowsBefore:a(oc,x,f,dc),pasteRowsAfter:a(nc,x,f,dc),pasteCells:a(Za,x,f,uc),makeCellsHeader:a(Ya,x,f,dc),unmakeCellsHeader:a(Ja,x,f,dc),makeColumnsHeader:a(Va,x,f,dc),unmakeColumnsHeader:a(qa,x,f,dc),makeRowsHeader:a(Ua,x,f,dc),makeRowsBody:a(Ga,x,f,dc),makeRowsFooter:a(Ka,x,f,dc),getTableRowType:lc,getTableCellType:sc,getTableColType:rc}},hc=(e,t,o)=>{const n=Wt(e,t,1);1===o||n<=1?be(e,t):ge(e,t,Math.min(o,n))},pc=(e,t)=>o=>{const n=o.column+o.colspan-1,r=o.column;return n>=e&&r{const n=o.substring(0,o.length-e.length),r=parseFloat(n);return n===r.toString()?t(r):wc.invalid(o)},vc={...wc,from:e=>Rt(e,"%")?bc("%",wc.percent,e):Rt(e,"px")?bc("px",wc.pixels,e):wc.invalid(e)},yc=(e,t,o)=>{const n=vc.from(o),r=P(e,(e=>"0px"===e))?((e,t)=>{const o=e.fold((()=>g("")),(e=>g(e/t+"px")),(()=>g(100/t+"%")));return k(t,o)})(n,e.length):((e,t,o)=>e.fold((()=>t),(e=>((e,t,o)=>{const n=o/t;return E(e,(e=>vc.from(e).fold((()=>e),(e=>e*n+"px"),(e=>e/100*o+"px"))))})(t,o,e)),(e=>((e,t)=>E(e,(e=>vc.from(e).fold((()=>e),(e=>e/t*100+"%"),(e=>e+"%")))))(t,o))))(n,e,t);return Sc(r)},xc=(e,t)=>0===e.length?t:z(e,((e,t)=>vc.from(t).fold(g(0),h,h)+e),0),Cc=(e,t)=>vc.from(e).fold(g(e),(e=>e+t+"px"),(e=>e+t+"%")),Sc=e=>{if(0===e.length)return e;const t=z(e,((e,t)=>{const o=vc.from(t).fold((()=>({value:t,remainder:0})),(e=>((e,t)=>{const o=Math.floor(e);return{value:o+"px",remainder:e-o}})(e)),(e=>({value:e+"%",remainder:0})));return{output:[o.value].concat(e.output),remainder:e.remainder+o.remainder}}),{output:[],remainder:0}),o=t.output;return o.slice(0,o.length-1).concat([Cc(o[o.length-1],Math.round(t.remainder))])},Tc=vc.from,Rc=e=>Tc(e).fold(g("px"),g("px"),g("%")),Dc=(e,t,o)=>{const n=Zo(e),r=n.all,s=rn(n),l=sn(n);t.each((t=>{const o=Rc(t),r=Lo(e),a=((e,t)=>nr(e,t,er,rr))(n,e),c=yc(a,r,t);ln(n)?((e,t,o)=>{N(t,((t,n)=>{const r=xc([e[n]],Ft());Nt(t.element,"width",r+o)}))})(c,l,o):((e,t,o)=>{N(t,(t=>{const n=e.slice(t.column,t.colspan+t.column),r=xc(n,Ft());Nt(t.element,"width",r+o)}))})(c,s,o),Nt(e,"width",t)})),o.each((t=>{const o=Rc(t),l=hn(e),a=((e,t,o)=>lr(e,t,o,tr,rr))(n,e,_n);((e,t,o,n)=>{N(o,(t=>{const o=e.slice(t.row,t.rowspan+t.row),r=xc(o,Ht());Nt(t.element,"height",r+n)})),N(t,((t,o)=>{Nt(t.element,"height",e[o])}))})(yc(a,l,t),r,s,o),Nt(e,"height",t)}))},Oc=e=>Un(e).exists((e=>Mn.test(e))),kc=e=>Un(e).exists((e=>jn.test(e))),Ec=e=>Un(e).isNone(),Nc=e=>{be(e,"width")},Bc=e=>{const t=Qn(e);Dc(e,C.some(t),C.none()),Nc(e)},_c=e=>{const t=(e=>Lo(e)+"px")(e);Dc(e,C.some(t),C.none()),Nc(e)},zc=e=>{Lt(e,"width");const t=Gt(e),o=t.length>0?t:Ut(e);N(o,(e=>{Lt(e,"width"),Nc(e)})),Nc(e)},Ac={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},Lc=(e,t,o,n)=>k(e,(e=>((e,t,o,n)=>{const r=xe.fromTag("tr");for(let s=0;s{e.selection.select(t.dom,!0),e.selection.collapse(!0)},Mc=(e,t,o,n,s)=>{const l=(e=>{const t=e.options,o=t.get("table_default_styles");return t.isSet("table_default_styles")?o:((e,t)=>Vr(e)||!Ur(e)?t:$r(e)?{...t,width:Lr(e)}:{...t,width:Ar})(e,o)})(e),a={styles:l,attributes:Kr(e),colGroups:Yr(e)};return e.undoManager.ignore((()=>{const r=((e,t,o,n,r,s=Ac)=>{const l=xe.fromTag("table"),a="cells"!==r;Bt(l,s.styles),he(l,s.attributes),s.colGroups&&Ie(l,(e=>{const t=xe.fromTag("colgroup");return k(e,(()=>Ie(t,xe.fromTag("col")))),t})(t));const c=Math.min(e,o);if(a&&o>0){const e=xe.fromTag("thead");Ie(l,e);const s=Lc(o,t,"sectionCells"===r?c:0,n);$e(e,s)}const i=xe.fromTag("tbody");Ie(l,i);const m=Lc(a?e-c:e,t,a?0:o,n);return $e(i,m),l})(o,t,s,n,Mr(e),a);ge(r,"data-mce-id","__mce");const l=(e=>{const t=xe.fromTag("div"),o=xe.fromDom(e.dom.cloneNode(!0));return Ie(t,o),(e=>e.dom.innerHTML)(t)})(r);e.insertContent(l),e.addVisual()})),wt(Zr(e),'table[data-mce-id="__mce"]').map((t=>($r(e)?_c(t):Vr(e)?zc(t):(Hr(e)||(e=>r(e)&&-1!==e.indexOf("%"))(l.width))&&Bc(t),ts(t),be(t,"data-mce-id"),((e,t)=>{N(dt(t,"tr"),(t=>{ac(e,t.dom),N(dt(t,"th,td"),(t=>{cc(e,t.dom)}))}))})(e,t),((e,t)=>{wt(t,"td,th").each(w(Wc,e))})(e,t),t.dom))).getOrNull()};var jc=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const Pc="x-tinymce/dom-table-",Ic=Pc+"rows",Fc=Pc+"columns",Hc=e=>{const t=jc.FakeClipboardItem(e);jc.write([t])},$c=e=>{var t;const o=null!==(t=jc.read())&&void 0!==t?t:[];return V(o,(t=>C.from(t.getType(e))))},Vc=e=>{$c(e).isSome()&&jc.clear()},qc=e=>{e.fold(Gc,(e=>Hc({[Ic]:e})))},Uc=()=>$c(Ic),Gc=()=>Vc(Ic),Kc=e=>{e.fold(Jc,(e=>Hc({[Fc]:e})))},Yc=()=>$c(Fc),Jc=()=>Vc(Fc),Qc=e=>Ms(os(e),es(e)).filter(ss),Xc=(e,t)=>{const o=es(e),n=e=>Kt(e,o),l=t=>(e=>js(os(e),es(e)).filter(ss))(e).bind((e=>n(e).map((o=>t(o,e))))),a=t=>{e.focus()},c=(t,o=!1)=>l(((n,r)=>{const s=Ls(Ps(e),n,r);t(n,s,o).each(a)})),i=()=>l(((t,o)=>((e,t,o)=>{const n=Zo(e);return Ol(n,t).bind((e=>{const t=xl(n,o,!1),r=qo(t).rows.slice(e[0].row,e[e.length-1].row+e[e.length-1].rowspan),s=j(r,(e=>{const t=_(e.cells,(e=>!e.isLocked));return t.length>0?[{...e,cells:t}]:[]})),l=Cl(s);return xt(l.length>0,l)})).map((e=>E(e,(e=>{const t=Ke(e.element);return N(e.cells,(e=>{const o=Ye(e.element);pl(o,"colspan",e.colspan,1),pl(o,"rowspan",e.rowspan,1),Ie(t,o)})),t}))))})(t,Ls(Ps(e),t,o),Br(f,xe.fromDom(e.getDoc()),C.none())))),m=()=>l(((t,o)=>((e,t)=>{const o=Zo(e);return kl(o,t).map((e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=((e,t,o)=>{if(ln(e)){const n=_(sn(e),pc(t,o)),r=E(n,(e=>{const n=Ye(e.element);return hc(n,"span",o-t),n})),s=xe.fromTag("colgroup");return $e(s,r),[s]}return[]})(o,n,r),l=((e,t,o)=>E(e.all,(e=>{const n=_(e.cells,pc(t,o)),r=E(n,(e=>{const n=Ye(e.element);return hc(n,"colspan",o-t),n})),s=xe.fromTag("tr");return $e(s,r),s})))(o,n,r);return[...s,...l]}))})(t,Ls(Ps(e),t,o)))),d=(t,o)=>o().each((o=>{const n=E(o,(e=>Ye(e)));l(((o,r)=>{const s=_r(xe.fromDom(e.getDoc())),l=((e,t,o,n)=>({selection:Os(e),clipboard:o,generators:n}))(Ps(e),0,n,s);t(o,l).each(a)}))})),g=e=>(t,o)=>((e,t)=>X(e,t)?C.from(e[t]):C.none())(o,"type").each((t=>{c(e(t),o.no_events)}));G({mceTableSplitCells:()=>c(t.unmergeCells),mceTableMergeCells:()=>c(t.mergeCells),mceTableInsertRowBefore:()=>c(t.insertRowsBefore),mceTableInsertRowAfter:()=>c(t.insertRowsAfter),mceTableInsertColBefore:()=>c(t.insertColumnsBefore),mceTableInsertColAfter:()=>c(t.insertColumnsAfter),mceTableDeleteCol:()=>c(t.deleteColumn),mceTableDeleteRow:()=>c(t.deleteRow),mceTableCutCol:()=>m().each((e=>{Kc(e),c(t.deleteColumn)})),mceTableCutRow:()=>i().each((e=>{qc(e),c(t.deleteRow)})),mceTableCopyCol:()=>m().each((e=>Kc(e))),mceTableCopyRow:()=>i().each((e=>qc(e))),mceTablePasteColBefore:()=>d(t.pasteColsBefore,Yc),mceTablePasteColAfter:()=>d(t.pasteColsAfter,Yc),mceTablePasteRowBefore:()=>d(t.pasteRowsBefore,Uc),mceTablePasteRowAfter:()=>d(t.pasteRowsAfter,Uc),mceTableDelete:()=>Qc(e).each((t=>{Kt(t,o).filter(b(o)).each((t=>{const o=xe.fromText("");if(je(t,o),qe(t),e.dom.isEmpty(e.getBody()))e.setContent(""),e.selection.setCursorLocation();else{const t=e.dom.createRng();t.setStart(o.dom,0),t.setEnd(o.dom,0),e.selection.setRng(t),e.nodeChanged()}}))})),mceTableCellToggleClass:(t,o)=>{l((t=>{const n=Ps(e),r=P(n,(t=>e.formatter.match("tablecellclass",{value:o},t.dom))),s=r?e.formatter.remove:e.formatter.apply;N(n,(e=>s("tablecellclass",{value:o},e.dom))),ic(e,t.dom,mc)}))},mceTableToggleClass:(t,o)=>{l((t=>{e.formatter.toggle("tableclass",{value:o},t.dom),ic(e,t.dom,mc)}))},mceTableToggleCaption:()=>{Qc(e).each((t=>{Kt(t,o).each((o=>{pt(o,"caption").fold((()=>{const t=xe.fromTag("caption");Ie(t,xe.fromText("Caption")),((e,t,o)=>{We(e,0).fold((()=>{Ie(e,t)}),(e=>{Me(e,t)}))})(o,t),e.selection.setCursorLocation(t.dom,0)}),(n=>{ue("caption")(t)&&Te("td",o).each((t=>e.selection.setCursorLocation(t.dom,0))),qe(n)})),ic(e,o.dom,dc)}))}))},mceTableSizingMode:(t,n)=>(t=>Qc(e).each((n=>{Vr(e)||$r(e)||Hr(e)||Kt(n,o).each((o=>{"relative"!==t||Oc(o)?"fixed"!==t||kc(o)?"responsive"!==t||Ec(o)||zc(o):_c(o):Bc(o),ts(o),ic(e,o.dom,dc)}))})))(n),mceTableCellType:g((e=>"th"===e?t.makeCellsHeader:t.unmakeCellsHeader)),mceTableColType:g((e=>"th"===e?t.makeColumnsHeader:t.unmakeColumnsHeader)),mceTableRowType:g((e=>{switch(e){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}}))},((t,o)=>e.addCommand(o,t))),e.addCommand("mceInsertTable",((t,o)=>{((e,t,o,n={})=>{const r=e=>u(e)&&e>0;if(r(t)&&r(o)){const r=n.headerRows||0,s=n.headerColumns||0;return Mc(e,o,t,s,r)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")})(e,o.rows,o.columns,o.options)})),e.addCommand("mceTableApplyCellStyle",((t,o)=>{const l=e=>"tablecell"+e.toLowerCase().replace("-","");if(!s(o))return;const a=_(Ps(e),ss);if(0===a.length)return;const c=((e,t)=>{const o={};return((e,t,o,n)=>{G(e,((e,r)=>{(t(e,r)?o:n)(e,r)}))})(e,t,(e=>(t,o)=>{e[o]=t})(o),f),o})(o,((t,o)=>e.formatter.has(l(o))&&r(t)));(e=>{for(const t in e)if(U.call(e,t))return!1;return!0})(c)||(G(c,((t,o)=>{const n=l(o);N(a,(o=>{""===t?e.formatter.remove(n,{value:null},o.dom,!0):e.formatter.apply(n,{value:t},o.dom)}))})),n(a[0]).each((t=>ic(e,t.dom,mc))))}))},Zc=Zl([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),ei={before:Zc.before,on:Zc.on,after:Zc.after,cata:(e,t,o,n)=>e.fold(t,o,n),getStart:e=>e.fold(h,h,h)},ti=(e,t)=>({selection:e,kill:t}),oi=(e,t)=>{const o=e.document.createRange();return o.selectNode(t.dom),o},ni=(e,t)=>{const o=e.document.createRange();return ri(o,t),o},ri=(e,t)=>e.selectNodeContents(t.dom),si=(e,t,o)=>{const n=e.document.createRange();var r;return r=n,t.fold((e=>{r.setStartBefore(e.dom)}),((e,t)=>{r.setStart(e.dom,t)}),(e=>{r.setStartAfter(e.dom)})),((e,t)=>{t.fold((t=>{e.setEndBefore(t.dom)}),((t,o)=>{e.setEnd(t.dom,o)}),(t=>{e.setEndAfter(t.dom)}))})(n,o),n},li=(e,t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},ai=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),ci=Zl([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),ii=(e,t,o)=>t(xe.fromDom(o.startContainer),o.startOffset,xe.fromDom(o.endContainer),o.endOffset),mi=(e,t)=>{const o=((e,t)=>t.match({domRange:e=>({ltr:g(e),rtl:C.none}),relative:(t,o)=>({ltr:eo((()=>si(e,t,o))),rtl:eo((()=>C.some(si(e,o,t))))}),exact:(t,o,n,r)=>({ltr:eo((()=>li(e,t,o,n,r))),rtl:eo((()=>C.some(li(e,n,r,t,o))))})}))(e,t);return((e,t)=>{const o=t.ltr();return o.collapsed?t.rtl().filter((e=>!1===e.collapsed)).map((e=>ci.rtl(xe.fromDom(e.endContainer),e.endOffset,xe.fromDom(e.startContainer),e.startOffset))).getOrThunk((()=>ii(0,ci.ltr,o))):ii(0,ci.ltr,o)})(0,o)},di=(e,t)=>mi(e,t).match({ltr:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},rtl:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(n.dom,r),s.setEnd(t.dom,o),s}});ci.ltr,ci.rtl;const ui=(e,t,o,n)=>({start:e,soffset:t,finish:o,foffset:n}),fi=(e,t,o,n)=>({start:ei.on(e,t),finish:ei.on(o,n)}),gi=(e,t)=>{const o=di(e,t);return ui(xe.fromDom(o.startContainer),o.startOffset,xe.fromDom(o.endContainer),o.endOffset)},hi=fi,pi=(e,t,o,n,r)=>Re(o,n)?C.none():xs(o,n,t).bind((t=>{const n=t.boxes.getOr([]);return n.length>1?(r(e,n,t.start,t.finish),C.some(ti(C.some(hi(o,0,o,br(o))),!0))):C.none()})),wi=(e,t)=>({item:e,mode:t}),bi=(e,t,o,n=vi)=>e.property().parent(t).map((e=>wi(e,n))),vi=(e,t,o,n=yi)=>o.sibling(e,t).map((e=>wi(e,n))),yi=(e,t,o,n=yi)=>{const r=e.property().children(t);return o.first(r).map((e=>wi(e,n)))},xi=[{current:bi,next:vi,fallback:C.none()},{current:vi,next:yi,fallback:C.some(bi)},{current:yi,next:yi,fallback:C.some(vi)}],Ci=(e,t,o,n,r=xi)=>L(r,(e=>e.current===o)).bind((o=>o.current(e,t,n,o.next).orThunk((()=>o.fallback.bind((o=>Ci(e,t,o,n))))))),Si=(e,t,o,n,r,s)=>Ci(e,t,n,r).bind((t=>s(t.item)?C.none():o(t.item)?C.some(t.item):Si(e,t.item,o,t.mode,r,s))),Ti=e=>t=>0===e.property().children(t).length,Ri=(e,t,o,n)=>Si(e,t,o,vi,{sibling:(e,t)=>e.query().prevSibling(t),first:e=>e.length>0?C.some(e[e.length-1]):C.none()},n),Di=(e,t,o,n)=>Si(e,t,o,vi,{sibling:(e,t)=>e.query().nextSibling(t),first:e=>e.length>0?C.some(e[0]):C.none()},n),Oi=hs(),ki=(e,t)=>((e,t,o)=>Ri(e,t,Ti(e),o))(Oi,e,t),Ei=(e,t)=>((e,t,o)=>Di(e,t,Ti(e),o))(Oi,e,t),Ni=Zl([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),Bi=e=>bt(e,"tr"),_i={...Ni,verify:(e,t,o,n,r,s,l)=>bt(n,"td,th",l).bind((o=>bt(t,"td,th",l).map((t=>Re(o,t)?Re(n,o)&&br(o)===r?s(t):Ni.none("in same cell"):vs(Bi,[o,t]).fold((()=>((e,t,o)=>{const n=e.getRect(t),r=e.getRect(o);return r.right>n.left&&r.lefts(t))))))).getOr(Ni.none("default")),cata:(e,t,o,n,r)=>e.fold(t,o,n,r)},zi=ue("br"),Ai=(e,t,o)=>t(e,o).bind((e=>ie(e)&&0===hr(e).trim().length?Ai(e,t,o):C.some(e))),Li=(e,t,o,n)=>((e,t)=>We(e,t).filter(zi).orThunk((()=>We(e,t-1).filter(zi))))(t,o).bind((t=>n.traverse(t).fold((()=>Ai(t,n.gather,e).map(n.relative)),(e=>(e=>Ne(e).bind((t=>{const o=Le(t);return((e,t)=>W(e,w(Re,t)))(o,e).map((n=>((e,t,o,n)=>({parent:e,children:t,element:o,index:n}))(t,o,e,n)))})))(e).map((e=>ei.on(e.parent,e.index))))))),Wi=(e,t)=>({left:e.left,top:e.top+t,right:e.right,bottom:e.bottom+t}),Mi=(e,t)=>({left:e.left,top:e.top-t,right:e.right,bottom:e.bottom-t}),ji=(e,t,o)=>({left:e.left+t,top:e.top+o,right:e.right+t,bottom:e.bottom+o}),Pi=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom}),Ii=(e,t)=>C.some(e.getRect(t)),Fi=(e,t,o)=>ce(t)?Ii(e,t).map(Pi):ie(t)?((e,t,o)=>o>=0&&o0?e.getRangedRect(t,o-1,t,o):C.none())(e,t,o).map(Pi):C.none(),Hi=(e,t)=>ce(t)?Ii(e,t).map(Pi):ie(t)?e.getRangedRect(t,0,t,br(t)).map(Pi):C.none(),$i=Zl([{none:[]},{retry:["caret"]}]),Vi=(e,t,o)=>gt(t,pa).fold(y,(t=>Hi(e,t).exists((e=>((e,t)=>e.leftt.right)(o,e))))),qi={point:e=>e.bottom,adjuster:(e,t,o,n,r)=>{const s=Wi(r,5);return Math.abs(o.bottom-n.bottom)<1||o.top>r.bottom?$i.retry(s):o.top===r.bottom?$i.retry(Wi(r,1)):Vi(e,t,r)?$i.retry(ji(s,5,0)):$i.none()},move:Wi,gather:Ei},Ui=(e,t,o,n,r)=>0===r?C.some(n):((e,t,o)=>e.elementFromPoint(t,o).filter((e=>"table"===ne(e))).isSome())(e,n.left,t.point(n))?((e,t,o,n,r)=>Ui(e,t,o,t.move(n,5),r))(e,t,o,n,r-1):e.situsFromPoint(n.left,t.point(n)).bind((s=>s.start.fold(C.none,(s=>Hi(e,s).bind((l=>t.adjuster(e,s,l,o,n).fold(C.none,(n=>Ui(e,t,o,n,r-1))))).orThunk((()=>C.some(n)))),C.none))),Gi=(e,t,o)=>{const n=e.move(o,5),r=Ui(t,e,o,n,100).getOr(n);return((e,t,o)=>e.point(t)>o.getInnerHeight()?C.some(e.point(t)-o.getInnerHeight()):e.point(t)<0?C.some(-e.point(t)):C.none())(e,r,t).fold((()=>t.situsFromPoint(r.left,e.point(r))),(o=>(t.scrollBy(0,o),t.situsFromPoint(r.left,e.point(r)-o))))},Ki={tryUp:w(Gi,{point:e=>e.top,adjuster:(e,t,o,n,r)=>{const s=Mi(r,5);return Math.abs(o.top-n.top)<1||o.bottome.getSelection().bind((n=>((e,t,o,n)=>{const r=zi(t)?((e,t,o)=>o.traverse(t).orThunk((()=>Ai(t,o.gather,e))).map(o.relative))(e,t,n):Li(e,t,o,n);return r.map((e=>({start:e,finish:e})))})(t,n.finish,n.foffset,o).fold((()=>C.some(Fs(n.finish,n.foffset))),(r=>{const s=e.fromSitus(r);return l=_i.verify(e,n.finish,n.foffset,s.finish,s.foffset,o.failure,t),_i.cata(l,(e=>C.none()),(()=>C.none()),(e=>C.some(Fs(e,0))),(e=>C.some(Fs(e,br(e)))));var l})))),Ji=(e,t,o,n,r,s)=>0===s?C.none():Zi(e,t,o,n,r).bind((l=>{const a=e.fromSitus(l),c=_i.verify(e,o,n,a.finish,a.foffset,r.failure,t);return _i.cata(c,(()=>C.none()),(()=>C.some(l)),(l=>Re(o,l)&&0===n?Qi(e,o,n,Mi,r):Ji(e,t,l,0,r,s-1)),(l=>Re(o,l)&&n===br(l)?Qi(e,o,n,Wi,r):Ji(e,t,l,br(l),r,s-1)))})),Qi=(e,t,o,n,r)=>Fi(e,t,o).bind((t=>Xi(e,r,n(t,Ki.getJumpSize())))),Xi=(e,t,o)=>{const n=Bo().browser;return n.isChromium()||n.isSafari()||n.isFirefox()?t.retry(e,o):C.none()},Zi=(e,t,o,n,r)=>Fi(e,o,n).bind((t=>Xi(e,r,t))),em=(e,t,o,n,r)=>bt(n,"td,th",t).bind((n=>bt(n,"table",t).bind((s=>((e,t)=>ft(e,(e=>Ne(e).exists((e=>Re(e,t)))),void 0).isSome())(r,s)?((e,t,o)=>Yi(e,t,o).bind((n=>Ji(e,t,n.element,n.offset,o,20).map(e.fromSitus))))(e,t,o).bind((e=>bt(e.finish,"td,th",t).map((t=>({start:n,finish:t,range:e}))))):C.none())))),tm=(e,t,o,n,r,s)=>s(n,t).orThunk((()=>em(e,t,o,n,r).map((e=>{const t=e.range;return ti(C.some(hi(t.start,t.soffset,t.finish,t.foffset)),!0)})))),om=(e,t)=>bt(e,"tr",t).bind((e=>bt(e,"table",t).bind((o=>{const n=dt(o,"tr");return Re(e,n[0])?((e,t,o)=>Ri(Oi,e,(e=>Cr(e).isSome()),o))(o,0,t).map((e=>{const t=br(e);return ti(C.some(hi(e,t,e,t)),!0)})):C.none()})))),nm=(e,t)=>bt(e,"tr",t).bind((e=>bt(e,"table",t).bind((o=>{const n=dt(o,"tr");return Re(e,n[n.length-1])?((e,t,o)=>Di(Oi,e,(e=>xr(e).isSome()),o))(o,0,t).map((e=>ti(C.some(hi(e,0,e,0)),!0))):C.none()})))),rm=(e,t,o,n,r,s,l)=>em(e,o,n,r,s).bind((e=>pi(t,o,e.start,e.finish,l))),sm=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},lm=()=>{const e=(e=>{const t=sm(C.none()),o=()=>t.get().each(e);return{clear:()=>{o(),t.set(C.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{o(),t.set(C.some(e))}}})(f);return{...e,on:t=>e.get().each(t)}},am=(e,t)=>bt(e,"td,th",t),cm=e=>Be(e).exists(Qr),im={traverse:Ae,gather:Ei,relative:ei.before,retry:Ki.tryDown,failure:_i.failedDown},mm={traverse:ze,gather:ki,relative:ei.before,retry:Ki.tryUp,failure:_i.failedUp},dm=e=>t=>t===e,um=dm(38),fm=dm(40),gm=e=>e>=37&&e<=40,hm={isBackward:dm(37),isForward:dm(39)},pm={isBackward:dm(39),isForward:dm(37)},wm=Zl([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),bm={domRange:wm.domRange,relative:wm.relative,exact:wm.exact,exactFromRange:e=>wm.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>xe.fromDom(e.startContainer),relative:(e,t)=>ei.getStart(e),exact:(e,t,o,n)=>e}))(e);return xe.fromDom(Ee(t).dom.defaultView)},range:ui},vm=document.caretPositionFromPoint?(e,t,o)=>{var n,r;return C.from(null===(r=(n=e.dom).caretPositionFromPoint)||void 0===r?void 0:r.call(n,t,o)).bind((t=>{if(null===t.offsetNode)return C.none();const o=e.dom.createRange();return o.setStart(t.offsetNode,t.offset),o.collapse(),C.some(o)}))}:document.caretRangeFromPoint?(e,t,o)=>{var n,r;return C.from(null===(r=(n=e.dom).caretRangeFromPoint)||void 0===r?void 0:r.call(n,t,o))}:C.none,ym=(e,t)=>{const o=ne(e);return"input"===o?ei.after(e):D(["br","img"],o)?0===t?ei.before(e):ei.after(e):ei.on(e,t)},xm=e=>C.from(e.getSelection()),Cm=(e,t)=>{xm(e).each((e=>{e.removeAllRanges(),e.addRange(t)}))},Sm=(e,t,o,n,r)=>{const s=li(e,t,o,n,r);Cm(e,s)},Tm=(e,t)=>mi(e,t).match({ltr:(t,o,n,r)=>{Sm(e,t,o,n,r)},rtl:(t,o,n,r)=>{xm(e).each((s=>{if(s.setBaseAndExtent)s.setBaseAndExtent(t.dom,o,n.dom,r);else if(s.extend)try{((e,t,o,n,r,s)=>{t.collapse(o.dom,n),t.extend(r.dom,s)})(0,s,t,o,n,r)}catch(s){Sm(e,n,r,t,o)}else Sm(e,n,r,t,o)}))}}),Rm=(e,t,o,n,r)=>{const s=((e,t,o,n)=>{const r=ym(e,t),s=ym(o,n);return bm.relative(r,s)})(t,o,n,r);Tm(e,s)},Dm=(e,t,o)=>{const n=((e,t)=>{const o=e.fold(ei.before,ym,ei.after),n=t.fold(ei.before,ym,ei.after);return bm.relative(o,n)})(t,o);Tm(e,n)},Om=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),o=e.getRangeAt(e.rangeCount-1);return C.some(ui(xe.fromDom(t.startContainer),t.startOffset,xe.fromDom(o.endContainer),o.endOffset))}return C.none()},km=e=>{if(null===e.anchorNode||null===e.focusNode)return Om(e);{const t=xe.fromDom(e.anchorNode),o=xe.fromDom(e.focusNode);return((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=ke(e).dom.createRange();return r.setStart(e.dom,t),r.setEnd(o.dom,n),r})(e,t,o,n),s=Re(e,o)&&t===n;return r.collapsed&&!s})(t,e.anchorOffset,o,e.focusOffset)?C.some(ui(t,e.anchorOffset,o,e.focusOffset)):Om(e)}},Em=(e,t,o=!0)=>{const n=(o?ni:oi)(e,t);Cm(e,n)},Nm=e=>(e=>xm(e).filter((e=>e.rangeCount>0)).bind(km))(e).map((e=>bm.exact(e.start,e.soffset,e.finish,e.foffset))),Bm=e=>({elementFromPoint:(t,o)=>xe.fromPoint(xe.fromDom(e.document),t,o),getRect:e=>e.dom.getBoundingClientRect(),getRangedRect:(t,o,n,r)=>{const s=bm.exact(t,o,n,r);return((e,t)=>(e=>{const t=e.getClientRects(),o=t.length>0?t[0]:e.getBoundingClientRect();return o.width>0||o.height>0?C.some(o).map(ai):C.none()})(di(e,t)))(e,s)},getSelection:()=>Nm(e).map((t=>gi(e,t))),fromSitus:t=>{const o=bm.relative(t.start,t.finish);return gi(e,o)},situsFromPoint:(t,o)=>((e,t,o)=>((e,t,o)=>{const n=xe.fromDom(e.document);return vm(n,t,o).map((e=>ui(xe.fromDom(e.startContainer),e.startOffset,xe.fromDom(e.endContainer),e.endOffset)))})(e,t,o))(e,t,o).map((e=>fi(e.start,e.soffset,e.finish,e.foffset))),clearSelection:()=>{(e=>{xm(e).each((e=>e.removeAllRanges()))})(e)},collapseSelection:(t=!1)=>{Nm(e).each((o=>o.fold((e=>e.collapse(t)),((o,n)=>{const r=t?o:n;Dm(e,r,r)}),((o,n,r,s)=>{const l=t?o:r,a=t?n:s;Rm(e,l,a,l,a)}))))},setSelection:t=>{Rm(e,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:(t,o)=>{Dm(e,t,o)},selectNode:t=>{Em(e,t,!1)},selectContents:t=>{Em(e,t)},getInnerHeight:()=>e.innerHeight,getScrollY:()=>(e=>{const t=void 0!==e?e.dom:document,o=t.body.scrollLeft||t.documentElement.scrollLeft,n=t.body.scrollTop||t.documentElement.scrollTop;return bn(o,n)})(xe.fromDom(e.document)).top,scrollBy:(t,o)=>{((e,t,o)=>{const n=(void 0!==o?o.dom:document).defaultView;n&&n.scrollBy(e,t)})(t,o,xe.fromDom(e.document))}}),_m=(e,t)=>({rows:e,cols:t}),zm=e=>gt(e,ae).exists(Qr),Am=(e,t)=>zm(e)||zm(t),Lm=e=>void 0!==e.dom.classList,Wm=(e,t)=>((e,t,o)=>{const n=((e,t)=>{const o=pe(e,t);return void 0===o||""===o?[]:o.split(" ")})(e,t).concat([o]);return ge(e,t,n.join(" ")),!0})(e,"class",t),Mm=(e,t)=>{Lm(e)?e.dom.classList.add(t):Wm(e,t)},jm=(e,t)=>Lm(e)&&e.dom.classList.contains(t),Pm=()=>({tag:"none"}),Im=e=>({tag:"multiple",elements:e}),Fm=e=>({tag:"single",element:e}),Hm=e=>{const t=xe.fromDom((e=>{if(nt()&&m(e.target)){const t=xe.fromDom(e.target);if(ce(t)&&m(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return H(t)}}return C.from(e.target)})(e).getOr(e.target)),o=()=>e.stopPropagation(),n=()=>e.preventDefault(),r=(s=n,l=o,(...e)=>s(l.apply(null,e)));var s,l;return((e,t,o,n,r,s,l)=>({target:e,x:t,y:o,stop:n,prevent:r,kill:s,raw:l}))(t,e.clientX,e.clientY,o,n,r,e)},$m=(e,t,o,n)=>{e.dom.removeEventListener(t,o,n)},Vm=x,qm=(e,t,o)=>((e,t,o,n)=>((e,t,o,n,r)=>{const s=((e,t)=>o=>{e(o)&&t(Hm(o))})(o,n);return e.dom.addEventListener(t,s,r),{unbind:w($m,e,t,s,r)}})(e,t,o,n,!1))(e,t,Vm,o),Um=Hm,Gm=e=>!jm(xe.fromDom(e.target),"ephox-snooker-resizer-bar"),Km=(e,t)=>{const o=(r=As.selectedSelector,{get:()=>Rs(xe.fromDom(e.getBody()),r).fold((()=>js(os(e),es(e)).fold(Pm,Fm)),Im)}),n=((e,t,o)=>{const n=t=>{be(t,e.selected),be(t,e.firstSelected),be(t,e.lastSelected)},r=t=>{ge(t,e.selected,"1")},s=e=>{l(e),o()},l=t=>{const o=dt(t,`${e.selectedSelector},${e.firstSelectedSelector},${e.lastSelectedSelector}`);N(o,n)};return{clearBeforeUpdate:l,clear:s,selectRange:(o,n,l,a)=>{s(o),N(n,r),ge(l,e.firstSelected,"1"),ge(a,e.lastSelected,"1"),t(n,l,a)},selectedSelector:e.selectedSelector,firstSelectedSelector:e.firstSelectedSelector,lastSelectedSelector:e.lastSelectedSelector}})(As,((t,o,n)=>{Kt(o).each((r=>{const s=Wr(e),l=Br(f,xe.fromDom(e.getDoc()),s),a=((e,t,o)=>{const n=Zo(e);return Ol(n,t).map((e=>{const t=xl(n,o,!1),{rows:r}=qo(t),s=((e,t)=>{const o=e.slice(0,t[t.length-1].row+1),n=Cl(o);return j(n,(e=>{const o=e.cells.slice(0,t[t.length-1].column+1);return E(o,(e=>e.element))}))})(r,e),l=((e,t)=>{const o=e.slice(t[0].row+t[0].rowspan-1,e.length),n=Cl(o);return j(n,(e=>{const o=e.cells.slice(t[0].column+t[0].colspan-1,e.cells.length);return E(o,(e=>e.element))}))})(r,e);return{upOrLeftCells:s,downOrRightCells:l}}))})(r,{selection:Ps(e)},l);((e,t,o,n,r)=>{e.dispatch("TableSelectionChange",{cells:t,start:o,finish:n,otherCells:r})})(e,t,o,n,a)}))}),(()=>(e=>{e.dispatch("TableSelectionClear")})(e)));var r;return e.on("init",(o=>{const r=e.getWin(),s=Zr(e),l=es(e),a=((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=lm(),s=r.clear,l=s=>{r.on((r=>{n.clearBeforeUpdate(t),am(s.target,o).each((l=>{xs(r,l,o).each((o=>{const r=o.boxes.getOr([]);if(1===r.length){const o=r[0],l="false"===Xr(o),a=vt(Jr(s.target),o,Re);l&&a&&(n.selectRange(t,r,o,o),e.selectContents(o))}else r.length>1&&(n.selectRange(t,r,o.start,o.finish),e.selectContents(l))}))}))}))};return{clearstate:s,mousedown:e=>{n.clear(t),am(e.target,o).filter(cm).each(r.set)},mouseover:e=>{l(e)},mouseup:e=>{l(e),s()}}})(Bm(e),t,o,n);return{clearstate:r.clearstate,mousedown:r.mousedown,mouseover:r.mouseover,mouseup:r.mouseup}})(r,s,l,n),c=((e,t,o,n)=>{const r=Bm(e),s=()=>(n.clear(t),C.none());return{keydown:(e,l,a,c,i,m)=>{const d=e.raw,u=d.which,f=!0===d.shiftKey,g=Cs(t,n.selectedSelector).fold((()=>(gm(u)&&!f&&n.clearBeforeUpdate(t),gm(u)&&f&&!Am(l,c)?C.none:fm(u)&&f?w(rm,r,t,o,im,c,l,n.selectRange):um(u)&&f?w(rm,r,t,o,mm,c,l,n.selectRange):fm(u)?w(tm,r,o,im,c,l,nm):um(u)?w(tm,r,o,mm,c,l,om):C.none)),(e=>{const o=o=>()=>{const s=V(o,(o=>((e,t,o,n,r)=>Ts(n,e,t,r.firstSelectedSelector,r.lastSelectedSelector).map((e=>(r.clearBeforeUpdate(o),r.selectRange(o,e.boxes,e.start,e.finish),e.boxes))))(o.rows,o.cols,t,e,n)));return s.fold((()=>Ss(t,n.firstSelectedSelector,n.lastSelectedSelector).map((e=>{const o=fm(u)||m.isForward(u)?ei.after:ei.before;return r.setRelativeSelection(ei.on(e.first,0),o(e.table)),n.clear(t),ti(C.none(),!0)}))),(e=>C.some(ti(C.none(),!0))))};return gm(u)&&f&&!Am(l,c)?C.none:fm(u)&&f?o([_m(1,0)]):um(u)&&f?o([_m(-1,0)]):m.isBackward(u)&&f?o([_m(0,-1),_m(-1,0)]):m.isForward(u)&&f?o([_m(0,1),_m(1,0)]):gm(u)&&!f?s:C.none}));return g()},keyup:(e,r,s,l,a)=>Cs(t,n.selectedSelector).fold((()=>{const c=e.raw,i=c.which;return!0===c.shiftKey&&gm(i)&&Am(r,l)?((e,t,o,n,r,s,l)=>Re(o,r)&&n===s?C.none():bt(o,"td,th",t).bind((o=>bt(r,"td,th",t).bind((n=>pi(e,t,o,n,l))))))(t,o,r,s,l,a,n.selectRange):C.none()}),C.none)}})(r,s,l,n),i=((e,t,o,n)=>{const r=Bm(e);return(e,s)=>{n.clearBeforeUpdate(t),xs(e,s,o).each((e=>{const o=e.boxes.getOr([]);n.selectRange(t,o,e.start,e.finish),r.selectContents(s),r.collapseSelection()}))}})(r,s,l,n);e.on("TableSelectorChange",(e=>i(e.start,e.finish)));const m=(t,o)=>{(e=>!0===e.raw.shiftKey)(t)&&(o.kill&&t.kill(),o.selection.each((t=>{const o=bm.relative(t.start,t.finish),n=di(r,o);e.selection.setRng(n)})))},d=e=>0===e.button,u=(()=>{const e=sm(xe.fromDom(s)),t=sm(0);return{touchEnd:o=>{const n=xe.fromDom(o.target);if(ue("td")(n)||ue("th")(n)){const r=e.get(),s=t.get();Re(r,n)&&o.timeStamp-s<300&&(o.preventDefault(),i(n,n))}e.set(n),t.set(o.timeStamp)}}})();e.on("dragstart",(e=>{a.clearstate()})),e.on("mousedown",(e=>{d(e)&&Gm(e)&&a.mousedown(Um(e))})),e.on("mouseover",(e=>{var t;void 0!==(t=e).buttons&&0==(1&t.buttons)||!Gm(e)||a.mouseover(Um(e))})),e.on("mouseup",(e=>{d(e)&&Gm(e)&&a.mouseup(Um(e))})),e.on("touchend",u.touchEnd),e.on("keyup",(t=>{const o=Um(t);if(o.raw.shiftKey&&gm(o.raw.which)){const t=e.selection.getRng(),n=xe.fromDom(t.startContainer),r=xe.fromDom(t.endContainer);c.keyup(o,n,t.startOffset,r,t.endOffset).each((e=>{m(o,e)}))}})),e.on("keydown",(o=>{const n=Um(o);t.hide();const r=e.selection.getRng(),s=xe.fromDom(r.startContainer),l=xe.fromDom(r.endContainer),a=un(hm,pm)(xe.fromDom(e.selection.getStart()));c.keydown(n,s,r.startOffset,l,r.endOffset,a).each((e=>{m(n,e)})),t.show()})),e.on("NodeChange",(()=>{const t=e.selection,o=xe.fromDom(t.getStart()),r=xe.fromDom(t.getEnd());vs(Kt,[o,r]).fold((()=>n.clear(s)),f)}))})),e.on("PreInit",(()=>{e.serializer.addTempAttr(As.firstSelected),e.serializer.addTempAttr(As.lastSelected)})),{getSelectedCells:()=>((e,t,o,n)=>{switch(e.tag){case"none":return t();case"single":return(e=>[e.dom])(e.element);case"multiple":return(e=>E(e,(e=>e.dom)))(e.elements)}})(o.get(),g([])),clearSelectedCells:e=>n.clear(xe.fromDom(e))}},Ym=e=>{let t=[];return{bind:e=>{if(void 0===e)throw new Error("Event bind error: undefined handler");t.push(e)},unbind:e=>{t=_(t,(t=>t!==e))},trigger:(...o)=>{const n={};N(e,((e,t)=>{n[e]=o[t]})),N(t,(e=>{e(n)}))}}},Jm=e=>({registry:K(e,(e=>({bind:e.bind,unbind:e.unbind}))),trigger:K(e,(e=>e.trigger))}),Qm=e=>e.slice(0).sort(),Xm=(e,t)=>{const o=_(t,(t=>!D(e,t)));o.length>0&&(e=>{throw new Error("Unsupported keys for object: "+Qm(e).join(", "))})(o)},Zm=e=>((e,t)=>((e,t,o)=>{if(0===t.length)throw new Error("You must specify at least one required field.");return((e,t)=>{if(!l(t))throw new Error("The "+e+" fields must be an array. Was: "+t+".");N(t,(t=>{if(!r(t))throw new Error("The value "+t+" in the "+e+" fields was not a string.")}))})("required",t),(e=>{const t=Qm(e);L(t,((e,o)=>o{throw new Error("The field: "+e+" occurs more than once in the combined fields: ["+t.join(", ")+"].")}))})(t),n=>{const r=q(n);P(t,(e=>D(r,e)))||((e,t)=>{throw new Error("All required keys ("+Qm(e).join(", ")+") were not specified. Specified keys were: "+Qm(t).join(", ")+".")})(t,r),e(t,r);const s=_(t,(e=>!o.validate(n[e],e)));return s.length>0&&((e,t)=>{throw new Error("All values need to be of type: "+t+". Keys ("+Qm(e).join(", ")+") were not.")})(s,o.label),n}})(e,t,{validate:d,label:"function"}))(Xm,e),ed=Zm(["compare","extract","mutate","sink"]),td=Zm(["element","start","stop","destroy"]),od=Zm(["forceDrop","drop","move","delayDrop"]),nd=()=>{const e=(()=>{const e=Jm({move:Ym(["info"])});return{onEvent:f,reset:f,events:e.registry}})(),t=(()=>{let e=C.none();const t=Jm({move:Ym(["info"])});return{onEvent:(o,n)=>{n.extract(o).each((o=>{const r=((t,o)=>{const n=e.map((e=>t.compare(e,o)));return e=C.some(o),n})(n,o);r.each((e=>{t.trigger.move(e)}))}))},reset:()=>{e=C.none()},events:t.registry}})();let o=e;return{on:()=>{o.reset(),o=t},off:()=>{o.reset(),o=e},isOn:()=>o===t,onEvent:(e,t)=>{o.onEvent(e,t)},events:t.events}},rd=e=>{const t=e.replace(/\./g,"-");return{resolve:e=>t+"-"+e}},sd=rd("ephox-dragster").resolve;var ld=ed({compare:(e,t)=>bn(t.left-e.left,t.top-e.top),extract:e=>C.some(bn(e.x,e.y)),sink:(e,t)=>{const o=(e=>{const t={layerClass:sd("blocker"),...e},o=xe.fromTag("div");return ge(o,"role","presentation"),Bt(o,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),Mm(o,sd("blocker")),Mm(o,t.layerClass),{element:g(o),destroy:()=>{qe(o)}}})(t),n=qm(o.element(),"mousedown",e.forceDrop),r=qm(o.element(),"mouseup",e.drop),s=qm(o.element(),"mousemove",e.move),l=qm(o.element(),"mouseout",e.delayDrop);return td({element:o.element,start:e=>{Ie(e,o.element())},stop:()=>{qe(o.element())},destroy:()=>{o.destroy(),r.unbind(),s.unbind(),l.unbind(),n.unbind()}})},mutate:(e,t)=>{e.mutate(t.left,t.top)}});const ad=rd("ephox-snooker").resolve,cd=ad("resizer-bar"),id=ad("resizer-rows"),md=ad("resizer-cols"),dd=e=>{const t=dt(e.parent(),"."+cd);N(t,qe)},ud=(e,t,o)=>{const n=e.origin();N(t,(t=>{t.each((t=>{const r=o(n,t);Mm(r,cd),Ie(e.parent(),r)}))}))},fd=(e,t,o,n,r)=>{const s=yn(o),l=t.isResizable,a=n.length>0?_n.positions(n,o):[],c=a.length>0?((e,t)=>j(e.all,((e,o)=>t(e.element)?[o]:[])))(e,l):[];((e,t,o,n)=>{ud(e,t,((e,t)=>{const r=((e,t,o,n,r)=>{const s=xe.fromTag("div");return Bt(s,{position:"absolute",left:t+"px",top:o-3.5+"px",height:"7px",width:n+"px"}),he(s,{"data-row":e,role:"presentation"}),s})(t.row,o.left-e.left,t.y-e.top,n);return Mm(r,id),r}))})(t,_(a,((e,t)=>O(c,(e=>t===e)))),s,Wo(o));const i=r.length>0?An.positions(r,o):[],m=i.length>0?((e,t)=>{const o=[];return k(e.grid.columns,(n=>{an(e,n).map((e=>e.element)).forall(t)&&o.push(n)})),_(o,(o=>{const n=nn(e,(e=>e.column===o));return P(n,(e=>t(e.element)))}))})(e,l):[];((e,t,o,n)=>{ud(e,t,((e,t)=>{const r=((e,t,o,n,r)=>{const s=xe.fromTag("div");return Bt(s,{position:"absolute",left:t-3.5+"px",top:o+"px",height:r+"px",width:"7px"}),he(s,{"data-column":e,role:"presentation"}),s})(t.col,t.x-e.left,o.top-e.top,0,n);return Mm(r,md),r}))})(t,_(i,((e,t)=>O(m,(e=>t===e)))),s,pn(o))},gd=(e,t)=>{if(dd(e),e.isResizable(t)){const o=Zo(t),n=dn(o),r=cn(o);fd(o,e,t,n,r)}},hd=(e,t)=>{const o=dt(e.parent(),"."+cd);N(o,t)},pd=e=>{hd(e,(e=>{Nt(e,"display","none")}))},wd=e=>{hd(e,(e=>{Nt(e,"display","block")}))},bd=ad("resizer-bar-dragging"),vd=e=>{const t=(()=>{const e=Jm({drag:Ym(["xDelta","yDelta","target"])});let t=C.none();const o=(()=>{const e=Jm({drag:Ym(["xDelta","yDelta"])});return{mutate:(t,o)=>{e.trigger.drag(t,o)},events:e.registry}})();return o.events.drag.bind((o=>{t.each((t=>{e.trigger.drag(o.xDelta,o.yDelta,t)}))})),{assign:e=>{t=C.some(e)},get:()=>t,mutate:o.mutate,events:e.registry}})(),o=((e,t={})=>{var o;return((e,t,o)=>{let n=!1;const r=Jm({start:Ym([]),stop:Ym([])}),s=nd(),l=()=>{m.stop(),s.isOn()&&(s.off(),r.trigger.stop())},c=((e,t)=>{let o=null;const n=()=>{a(o)||(clearTimeout(o),o=null)};return{cancel:n,throttle:(...t)=>{n(),o=setTimeout((()=>{o=null,e.apply(null,t)}),200)}}})(l);s.events.move.bind((o=>{t.mutate(e,o.info)}));const i=e=>(...t)=>{n&&e.apply(null,t)},m=t.sink(od({forceDrop:l,drop:i(l),move:i((e=>{c.cancel(),s.onEvent(e,t)})),delayDrop:i(c.throttle)}),o);return{element:m.element,go:e=>{m.start(e),s.on(),r.trigger.start()},on:()=>{n=!0},off:()=>{n=!1},isActive:()=>n,destroy:()=>{m.destroy()},events:r.registry}})(e,null!==(o=t.mode)&&void 0!==o?o:ld,t)})(t,{});let n=C.none();const r=(e,t)=>C.from(pe(e,t));t.events.drag.bind((e=>{r(e.target,"data-row").each((t=>{const o=It(e.target,"top");Nt(e.target,"top",o+e.yDelta+"px")})),r(e.target,"data-column").each((t=>{const o=It(e.target,"left");Nt(e.target,"left",o+e.xDelta+"px")}))}));const s=(e,t)=>It(e,t)-Wt(e,"data-initial-"+t,0);o.events.stop.bind((()=>{t.get().each((t=>{n.each((o=>{r(t,"data-row").each((e=>{const n=s(t,"top");be(t,"data-initial-top"),d.trigger.adjustHeight(o,n,parseInt(e,10))})),r(t,"data-column").each((e=>{const n=s(t,"left");be(t,"data-initial-left"),d.trigger.adjustWidth(o,n,parseInt(e,10))})),gd(e,o)}))}))}));const l=(n,r)=>{d.trigger.startAdjust(),t.assign(n),ge(n,"data-initial-"+r,It(n,r)),Mm(n,bd),Nt(n,"opacity","0.2"),o.go(e.parent())},c=qm(e.parent(),"mousedown",(e=>{var t;t=e.target,jm(t,id)&&l(e.target,"top"),(e=>jm(e,md))(e.target)&&l(e.target,"left")})),i=t=>Re(t,e.view()),m=qm(e.view(),"mouseover",(t=>{var r;(r=t.target,bt(r,"table",i).filter(Qr)).fold((()=>{lt(t.target)&&dd(e)}),(t=>{o.isActive()&&(n=C.some(t),gd(e,t))}))})),d=Jm({adjustHeight:Ym(["table","delta","row"]),adjustWidth:Ym(["table","delta","column"]),startAdjust:Ym([])});return{destroy:()=>{c.unbind(),m.unbind(),o.destroy(),dd(e)},refresh:t=>{gd(e,t)},on:o.on,off:o.off,hideBars:w(pd,e),showBars:w(wd,e),events:d.registry}},yd=(e,t,o)=>{const n=_n,r=An,s=vd(e),l=Jm({beforeResize:Ym(["table","type"]),afterResize:Ym(["table","type"]),startDrag:Ym([])});return s.events.adjustHeight.bind((e=>{const t=e.table;l.trigger.beforeResize(t,"row");((e,t,o,n)=>{const r=Zo(e),s=((e,t,o)=>lr(e,t,o,Yn,(e=>e.getOrThunk(Ht))))(r,e,n),l=E(s,((e,n)=>o===n?Math.max(t+e,Ht()):e)),a=oa(r,l),c=((e,t)=>E(e.all,((e,o)=>({element:e.element,height:t[o]}))))(r,l);N(c,(e=>{$n(e.element,e.height)})),N(a,(e=>{$n(e.element,e.height)}));const i=z(l,((e,t)=>e+t),0);$n(e,i)})(t,n.delta(e.delta,t),e.row,n),l.trigger.afterResize(t,"row")})),s.events.startAdjust.bind((e=>{l.trigger.startDrag()})),s.events.adjustWidth.bind((e=>{const n=e.table;l.trigger.beforeResize(n,"col");const s=r.delta(e.delta,n),a=o(n);ra(n,s,e.column,t,a),l.trigger.afterResize(n,"col")})),{on:s.on,off:s.off,refreshBars:s.refresh,hideBars:s.hideBars,showBars:s.showBars,destroy:s.destroy,events:l.registry}},xd=e=>m(e)&&"TABLE"===e.nodeName,Cd="bar-",Sd=e=>"false"!==pe(e,"data-mce-resize"),Td=e=>{const t=lm(),o=lm(),n=lm();let r,s;const l=t=>fc(e,t),a=()=>Pr(e)?el():Zs();return e.on("init",(()=>{const r=((e,t)=>e.inline?((e,t,o)=>({parent:g(t),view:g(e),origin:g(bn(0,0)),isResizable:o}))(xe.fromDom(e.getBody()),(()=>{const e=xe.fromTag("div");return Bt(e,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),Ie(at(xe.fromDom(document)),e),e})(),t):((e,t)=>{const o=me(e)?(e=>xe.fromDom(Ee(e).dom.documentElement))(e):e;return{parent:g(o),view:g(e),origin:g(bn(0,0)),isResizable:t}})(xe.fromDom(e.getDoc()),t))(e,Sd);if(n.set(r),(e=>{const t=e.options.get("object_resizing");return D(t.split(","),"table")})(e)&&qr(e)){const n=a(),s=yd(r,n,l);s.on(),s.events.startDrag.bind((o=>{t.set(e.selection.getRng())})),s.events.beforeResize.bind((t=>{const o=t.table.dom;((e,t,o,n,r)=>{e.dispatch("ObjectResizeStart",{target:t,width:o,height:n,origin:r})})(e,o,ns(o),rs(o),Cd+t.type)})),s.events.afterResize.bind((o=>{const n=o.table,r=n.dom;ts(n),t.on((t=>{e.selection.setRng(t),e.focus()})),((e,t,o,n,r)=>{e.dispatch("ObjectResized",{target:t,width:o,height:n,origin:r})})(e,r,ns(r),rs(r),Cd+o.type),e.undoManager.add()})),o.set(s)}})),e.on("ObjectResizeStart",(t=>{const o=t.target;if(xd(o)){const n=xe.fromDom(o);N(e.dom.select(".mce-clonedresizable"),(t=>{e.dom.addClass(t,"mce-"+jr(e)+"-columns")})),!kc(n)&&$r(e)?_c(n):!Oc(n)&&Hr(e)&&Bc(n),Ec(n)&&Tt(t.origin,Cd)&&Bc(n),r=t.width,s=Vr(e)?"":((e,t)=>{const o=e.dom.getStyle(t,"width")||e.dom.getAttrib(t,"width");return C.from(o).filter(Ot)})(e,o).getOr("")}})),e.on("ObjectResized",(t=>{const o=t.target;if(xd(o)){const n=xe.fromDom(o),c=t.origin;Tt(c,"corner-")&&((t,o,n)=>{const c=Rt(o,"e");if(""===s&&Bc(t),n!==r&&""!==s){Nt(t,"width",s);const o=a(),i=l(t),m=Pr(e)||c?(e=>tl(e).columns)(t)-1:0;ra(t,n-r,m,o,i)}else if((e=>/^(\d+(\.\d+)?)%$/.test(e))(s)){const e=parseFloat(s.replace("%",""));Nt(t,"width",n*e/r+"%")}(e=>/^(\d+(\.\d+)?)px$/.test(e))(s)&&(e=>{const t=Zo(e);ln(t)||N(Ut(e),(e=>{const t=_t(e,"width");Nt(e,"width",t),be(e,"width")}))})(t)})(n,c,t.width),ts(n),ic(e,n.dom,mc)}})),e.on("SwitchMode",(()=>{o.on((t=>{e.mode.isReadOnly()?t.hideBars():t.showBars()}))})),e.on("dragstart dragend",(e=>{o.on((t=>{"dragstart"===e.type?(t.hideBars(),t.off()):(t.on(),t.showBars())}))})),e.on("remove",(()=>{o.on((e=>{e.destroy()})),n.on((t=>{((e,t)=>{e.inline&&qe(t.parent())})(e,t)}))})),{refresh:e=>{o.on((t=>t.refreshBars(xe.fromDom(e))))},hide:()=>{o.on((e=>e.hideBars()))},show:()=>{o.on((e=>e.showBars()))}}},Rd=e=>{(e=>{const t=e.options.register;t("table_clone_elements",{processor:"string[]"}),t("table_use_colgroups",{processor:"boolean",default:!0}),t("table_header_type",{processor:e=>{const t=D(["section","cells","sectionCells","auto"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),t("table_sizing_mode",{processor:"string",default:"auto"}),t("table_default_attributes",{processor:"object",default:{border:"1"}}),t("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),t("table_column_resizing",{processor:e=>{const t=D(["preservetable","resizetable"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),t("table_resize_bars",{processor:"boolean",default:!0}),t("table_style_by_css",{processor:"boolean",default:!0}),t("table_merge_content_on_paste",{processor:"boolean",default:!0})})(e);const t=Td(e),o=Km(e,t),n=gc(e,t,o);return Xc(e,n),((e,t)=>{const o=es(e),n=t=>js(os(e)).bind((n=>Kt(n,o).map((o=>{const r=Ls(Ps(e),o,n);return t(o,r)})))).getOr("");G({mceTableRowType:()=>n(t.getTableRowType),mceTableCellType:()=>n(t.getTableCellType),mceTableColType:()=>n(t.getTableColType)},((t,o)=>e.addQueryValueHandler(o,t)))})(e,n),Is(e,n),{getSelectedCells:o.getSelectedCells,clearSelectedCells:o.clearSelectedCells}};e.add("dom",(e=>({table:Rd(e)})))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/accordion/plugin.min.js b/src/assets/tinymce/plugins/accordion/plugin.min.js deleted file mode 100644 index c7e99c67..00000000 --- a/src/assets/tinymce/plugins/accordion/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");let t=0;const o=e=>t=>typeof t===e,n=e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||(null===(s=n.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var o,n,r,s})(e),r=o("boolean"),s=e=>null==e,a=e=>!s(e),i=o("function"),d=o("number"),l=e=>()=>e,c=(e,t)=>e===t,m=l(!1);class u{constructor(e,t){this.tag=e,this.value=t}static some(e){return new u(!0,e)}static none(){return u.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?u.some(e(this.value)):u.none()}bind(e){return this.tag?e(this.value):u.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:u.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return a(e)?u.some(e):u.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}u.singletonNone=new u(!1);const g=Array.prototype.indexOf,p=(e,t)=>{return o=e,n=t,g.call(o,n)>-1;var o,n},h=(e,t)=>{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;oe.dom.nodeName.toLowerCase(),w=e=>e.dom.nodeType,b=e=>t=>w(t)===e,N=b(1),T=b(3),A=b(9),C=b(11),S=(e,t,o)=>{if(!(n(o)||r(o)||d(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},x=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},E=(e,t)=>u.from(x(e,t)),D=(e,t)=>{e.dom.removeAttribute(t)},M=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},P={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return M(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return M(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return M(o)},fromDom:M,fromPoint:(e,t,o)=>u.from(e.dom.elementFromPoint(t,o)).map(M)},O=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},k=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,B=O,R=(L=/^\s+|\s+$/g,e=>e.replace(L,""));var L;const $=e=>void 0!==e.style&&i(e.style.getPropertyValue),I=e=>A(e)?e:P.fromDom(e.dom.ownerDocument),V=e=>u.from(e.dom.parentNode).map(P.fromDom),j=e=>u.from(e.dom.nextSibling).map(P.fromDom),q=e=>h(e.dom.childNodes,P.fromDom),F=i(Element.prototype.attachShadow)&&i(Node.prototype.getRootNode)?e=>P.fromDom(e.dom.getRootNode()):I,H=e=>P.fromDom(e.dom.host),z=e=>{const t=T(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=F(e);return C(o=t)&&a(o.dom.host)?u.some(t):u.none();var o})(P.fromDom(t)).fold((()=>o.body.contains(t)),(n=z,r=H,e=>n(r(e))));var n,r},K=(e,t)=>$(e)?e.style.getPropertyValue(t):"",U=(e,t)=>{V(e).each((o=>{o.dom.insertBefore(t.dom,e.dom)}))},Y=(e,t)=>{j(e).fold((()=>{V(e).each((e=>{_(e,t)}))}),(e=>{U(e,t)}))},_=(e,t)=>{e.dom.appendChild(t.dom)},G=(e,t)=>{f(t,((o,n)=>{const r=0===n?e:t[n-1];Y(r,o)}))},J=(e,t)=>{let o=[];return f(q(e),(e=>{t(e)&&(o=o.concat([e])),o=o.concat(J(e,t))})),o},Q=(e,t,o)=>{let n=e.dom;const r=i(o)?o:m;for(;n.parentNode;){n=n.parentNode;const e=P.fromDom(n);if(t(e))return u.some(e);if(r(e))break}return u.none()},W=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},X=(e,t,o)=>Q(e,(e=>O(e,t)),o),Z=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return k(o)?u.none():u.from(o.querySelector(e)).map(P.fromDom)})(t,e),ee=((e,t)=>{const o=t=>e(t)?u.from(t.dom.nodeValue):u.none();return{get:t=>{if(!e(t))throw new Error("Can only get text value of a text node");return o(t).getOr("")},getOption:o,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(T);var te=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const oe=(e,t)=>({element:e,offset:t}),ne=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind((t=>ne(e,t,o).orThunk((()=>u.some(t))))):u.none(),re=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,se=(e,t)=>{const o=ne(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return oe(o,re(e,o));const n=e.property().children(o);return n.length>0?se(e,n[n.length-1]):oe(o,re(e,o))},ae=se,ie={up:l({selector:X,closest:(e,t,o)=>((e,t,o,n,r)=>((e,t)=>O(e,t))(o,n)?u.some(o):i(r)&&r(o)?u.none():t(o,n,r))(0,X,e,t,o),predicate:Q,all:(e,t)=>{const o=i(t)?t:m;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=P.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r}}),down:l({selector:(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return k(o)?[]:h(o.querySelectorAll(e),P.fromDom)})(t,e),predicate:J}),styles:l({get:(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||z(e)?n:K(o,t)},getRaw:(e,t)=>{const o=e.dom,n=K(o,t);return u.from(n).filter((e=>e.length>0))},set:(e,t,o)=>{((e,t,o)=>{if(!n(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);$(e)&&e.style.setProperty(t,o)})(e.dom,t,o)},remove:(e,t)=>{((e,t)=>{$(e)&&e.style.removeProperty(t)})(e.dom,t),((e,t,o=c)=>e.exists((e=>o(e,t))))(E(e,"style").map(R),"")&&D(e,"style")}}),attrs:l({get:x,set:(e,t,o)=>{S(e.dom,t,o)},remove:D,copyTo:(e,t)=>{const o=(n=e.dom.attributes,r=(e,t)=>(e[t.name]=t.value,e),s={},f(n,((e,t)=>{s=r(s,e)})),s);var n,r,s;((e,t)=>{const o=e.dom;((e,t)=>{const o=y(e);for(let n=0,r=o.length;n{S(o,t,e)}))})(t,o)}}),insert:l({before:U,after:Y,afterAll:G,append:_,appendAll:(e,t)=>{f(t,(t=>{_(e,t)}))},prepend:(e,t)=>{(e=>((e,t)=>{const o=e.dom.childNodes;return u.from(o[0]).map(P.fromDom)})(e))(e).fold((()=>{_(e,t)}),(o=>{e.dom.insertBefore(t.dom,o.dom)}))},wrap:(e,t)=>{U(e,t),_(t,e)}}),remove:l({unwrap:e=>{const t=q(e);t.length>0&&G(e,t),W(e)},remove:W}),create:l({nu:P.fromTag,clone:e=>P.fromDom(e.dom.cloneNode(!1)),text:P.fromText}),query:l({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:e=>u.from(e.dom.previousSibling).map(P.fromDom),nextSibling:j}),property:l({children:q,name:v,parent:V,document:e=>I(e).dom,isText:T,isComment:e=>8===w(e)||"#comment"===v(e),isElement:N,isSpecial:e=>{const t=v(e);return p(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>N(e)?E(e,"lang"):u.none(),getText:e=>ee.get(e),setText:(e,t)=>ee.set(e,t),isBoundary:e=>!!N(e)&&("body"===v(e)||p(te,v(e))),isEmptyTag:e=>!!N(e)&&p(["br","img","hr","input"],v(e)),isNonEditable:e=>N(e)&&"false"===x(e,"contenteditable")}),eq:(e,t)=>e.dom===t.dom,is:B},de="details",le="mce-accordion",ce="mce-accordion-summary",me="mce-accordion-body",ue="div";var ge=tinymce.util.Tools.resolve("tinymce.util.Tools");const pe=e=>"SUMMARY"===(null==e?void 0:e.nodeName),he=e=>"DETAILS"===(null==e?void 0:e.nodeName),fe=e=>e.hasAttribute("open"),ye=e=>{const t=e.selection.getNode();return pe(t)||Boolean(e.dom.getParent(t,pe))},ve=e=>!ye(e)&&e.dom.isEditable(e.selection.getNode()),we=e=>u.from(e.dom.getParent(e.selection.getNode(),he)),be=e=>(e.innerHTML='
',e),Ne=e=>be(e.dom.create("p")),Te=e=>t=>{((e,t)=>{if(pe(null==t?void 0:t.lastChild)){const o=Ne(e);t.appendChild(o),e.selection.setCursorLocation(o,0)}})(e,t),((e,t)=>{if(!pe(null==t?void 0:t.firstChild)){const o=(e=>be(e.dom.create("summary")))(e);t.prepend(o),e.selection.setCursorLocation(o,0)}})(e,t)},Ae=(e,t)=>{const o=null!=t?t:!fe(e);return o?e.setAttribute("open","open"):e.removeAttribute("open"),o},Ce=e=>{e.addCommand("InsertAccordion",(()=>(e=>{if(!ve(e))return;const o=P.fromDom(e.getBody()),n=(e=>{const o=(new Date).getTime(),n=Math.floor(1e9*Math.random());return t++,"acc_"+n+t+String(o)})(),r=e.dom.encode(e.selection.getRng().toString()||e.translate("Accordion summary...")),s=e.dom.encode(e.translate("Accordion body...")),a=`${r}`,i=`<${ue} class="${me}">

${s}

`;e.undoManager.transact((()=>{e.insertContent([`
`,a,i,"
"].join("")),Z(o,`[data-mce-id="${n}"]`).each((t=>{D(t,"data-mce-id"),Z(t,"summary").each((t=>{const o=e.dom.createRng(),n=ae(ie,t);o.setStart(n.element.dom,n.offset),o.setEnd(n.element.dom,n.offset),e.selection.setRng(o)}))}))}))})(e))),e.addCommand("ToggleAccordion",((t,o)=>((e,t)=>{we(e).each((o=>{((e,t,o)=>{e.dispatch("ToggledAccordion",{element:t,state:o})})(e,o,Ae(o,t))}))})(e,o))),e.addCommand("ToggleAllAccordions",((t,o)=>((e,t)=>{const o=Array.from(e.getBody().querySelectorAll("details"));0!==o.length&&(f(o,(e=>Ae(e,null!=t?t:!fe(e)))),((e,t,o)=>{e.dispatch("ToggledAllAccordions",{elements:t,state:o})})(e,o,t))})(e,o))),e.addCommand("RemoveAccordion",(()=>(e=>{we(e).each((t=>{const{nextSibling:o}=t;o?(e.selection.select(o,!0),e.selection.collapse(!0)):((e,t)=>{const o=Ne(e);t.insertAdjacentElement("afterend",o),e.selection.setCursorLocation(o,0)})(e,t),t.remove()}))})(e)))};var Se=tinymce.util.Tools.resolve("tinymce.html.Node");const xe=e=>{var t,o;return null!==(o=null===(t=e.attr("class"))||void 0===t?void 0:t.split(" "))&&void 0!==o?o:[]},Ee=(e,t)=>{const o=new Set([...xe(e),...t]),n=Array.from(o);n.length>0&&e.attr("class",n.join(" "))},De=(e,t)=>{const o=((e,o)=>{const n=[];for(let o=0,s=e.length;o0?o.join(" "):null)},Me=e=>e.name===de&&p(xe(e),le),Pe=e=>{const t=e.children();let o,n;const r=[];for(let e=0;e{const t=new Se("br",1);t.attr("data-mce-bogus","1"),e.empty(),e.append(t)};var ke=tinymce.util.Tools.resolve("tinymce.util.VK");const Be=e=>{(e=>{e.on("keydown",(t=>{(!t.shiftKey&&t.keyCode===ke.ENTER&&ye(e)||(e=>{const t=e.selection.getRng();return he(t.startContainer)&&t.collapsed&&0===t.startOffset})(e))&&(t.preventDefault(),e.execCommand("ToggleAccordion"))}))})(e),e.on("ExecCommand",(t=>{const o=t.command.toLowerCase();"delete"!==o&&"forwarddelete"!==o||!(e=>we(e).isSome())(e)||(e=>{ge.each(ge.grep(e.dom.select("details",e.getBody())),Te(e))})(e)}))};var Re=tinymce.util.Tools.resolve("tinymce.Env");const Le=e=>t=>{const o=()=>t.setEnabled(ve(e));return e.on("NodeChange",o),()=>e.off("NodeChange",o)};e.add("accordion",(e=>{(e=>{const t=()=>e.execCommand("InsertAccordion");e.ui.registry.addButton("accordion",{icon:"accordion",tooltip:"Insert accordion",onSetup:Le(e),onAction:t}),e.ui.registry.addMenuItem("accordion",{icon:"accordion",text:"Accordion",onSetup:Le(e),onAction:t}),e.ui.registry.addToggleButton("accordiontoggle",{icon:"accordion-toggle",tooltip:"Toggle accordion",onAction:()=>e.execCommand("ToggleAccordion")}),e.ui.registry.addToggleButton("accordionremove",{icon:"remove",tooltip:"Delete accordion",onAction:()=>e.execCommand("RemoveAccordion")}),e.ui.registry.addContextToolbar("accordion",{predicate:t=>e.dom.is(t,"details")&&e.getBody().contains(t)&&e.dom.isEditable(t.parentNode),items:"accordiontoggle accordionremove",scope:"node",position:"node"})})(e),Ce(e),Be(e),(e=>{e.on("PreInit",(()=>{const{serializer:t,parser:o}=e;o.addNodeFilter(de,(e=>{for(let t=0;t0)for(let e=0;e{const t=new Set([ce]);for(let o=0;o{Re.browser.isSafari()&&e.on("click",(t=>{if(pe(t.target)){const o=t.target,n=e.selection.getRng();n.collapsed&&n.startContainer===o.parentNode&&0===n.startOffset&&e.selection.setCursorLocation(o,0)}}))})(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/advlist/plugin.min.js b/src/assets/tinymce/plugins/advlist/plugin.min.js deleted file mode 100644 index ef5c0141..00000000 --- a/src/assets/tinymce/plugins/advlist/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,s)=>{const r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===s?null:{"list-style-type":s})},s=t=>e=>e.options.get(t),r=s("advlist_number_styles"),n=s("advlist_bullet_styles"),i=t=>null==t,l=t=>!i(t);var o=tinymce.util.Tools.resolve("tinymce.util.Tools");class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return l(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=t=>e=>l(e)&&t.test(e.nodeName),d=u(/^(OL|UL|DL)$/),g=u(/^(TH|TD)$/),c=t=>i(t)||"default"===t?"":t,h=(t,e)=>s=>((t,e)=>{const s=t.selection.getNode();return e({parents:t.dom.getParents(s),element:s}),t.on("NodeChange",e),()=>t.off("NodeChange",e)})(t,(r=>((t,r)=>{const n=t.selection.getStart(!0);s.setActive(((t,e,s)=>((t,e,s)=>{for(let e=0,n=t.length;ee.nodeName===s&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))))(t,r,e)),s.setEnabled(!((t,e)=>{const s=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&!t.dom.isEditable(e))(t,s)&&t.selection.isEditable()})(t,n)&&t.selection.isEditable())})(t,r.parents))),m=(t,s,r,n,i,l)=>{l.length>1?((t,s,r,n,i,l)=>{t.ui.registry.addSplitButton(s,{tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(o.map(l,(t=>{const e="OL"===i?"num":"bull",s="disc"===t||"decimal"===t?"default":t,r=c(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:r,icon:"list-"+e+"-"+s,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(s,r)=>{e(t,i,r)},select:e=>{const s=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),s=t.dom.getStyle(e,"listStyleType");return a.from(s)})(t);return s.map((t=>e===t)).getOr(!1)},onSetup:h(t,i)})})(t,s,r,n,i,l):((t,s,r,n,i,l)=>{t.ui.registry.addToggleButton(s,{active:!1,tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",onSetup:h(t,i),onAction:()=>t.queryCommandState(n)||""===l?t.execCommand(n):e(t,i,l)})})(t,s,r,n,i,c(l[0]))};t.add("advlist",(t=>{t.hasPlugin("lists")?((t=>{const e=t.options.register;e("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),e("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})})(t),(t=>{m(t,"numlist","Numbered list","InsertOrderedList","OL",r(t)),m(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((s,r)=>{e(t,"UL",r["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((s,r)=>{e(t,"OL",r["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the Advanced List plugin.")}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/anchor/plugin.min.js b/src/assets/tinymce/plugins/anchor/plugin.min.js deleted file mode 100644 index cf19304e..00000000 --- a/src/assets/tinymce/plugins/anchor/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),o=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=("allow_html_in_named_anchor",e=>e.options.get("allow_html_in_named_anchor"));const a="a:not([href])",r=e=>!e,i=e=>e.getAttribute("id")||e.getAttribute("name")||"",l=e=>(e=>"a"===e.nodeName.toLowerCase())(e)&&!e.getAttribute("href")&&""!==i(e),s=e=>e.dom.getParent(e.selection.getStart(),a),d=(e,a)=>{const r=s(e);r?((e,t,o)=>{o.removeAttribute("name"),o.id=t,e.addVisual(),e.undoManager.add()})(e,a,r):((e,a)=>{e.undoManager.transact((()=>{n(e)||e.selection.collapse(!0),e.selection.isCollapsed()?e.insertContent(e.dom.createHTML("a",{id:a})):((e=>{const n=e.dom;t(n).walk(e.selection.getRng(),(e=>{o.each(e,(e=>{var t;l(t=e)&&!t.firstChild&&n.remove(e,!1)}))}))})(e),e.formatter.remove("namedAnchor",void 0,void 0,!0),e.formatter.apply("namedAnchor",{value:a}),e.addVisual())}))})(e,a),e.focus()},c=e=>(e=>r(e.attr("href"))&&!r(e.attr("id")||e.attr("name")))(e)&&!e.firstChild,m=e=>t=>{for(let o=0;ot=>{const o=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",o),o(),()=>{e.off("NodeChange",o)}};e.add("anchor",(e=>{(e=>{(0,e.options.register)("allow_html_in_named_anchor",{processor:"boolean",default:!1})})(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("a",m("false")),e.serializer.addNodeFilter("a",m(null))}))})(e),(e=>{e.addCommand("mceAnchor",(()=>{(e=>{const t=(e=>{const t=s(e);return t?i(t):""})(e);e.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:t},onSubmit:t=>{((e,t)=>/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)?(d(e,t),!0):(e.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!1))(e,t.getData().id)&&t.close()}})})(e)}))})(e),(e=>{const t=()=>e.execCommand("mceAnchor");e.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:t,onSetup:t=>{const o=e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind,n=u(e)(t);return()=>{o(),n()}}}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:t,onSetup:u(e)})})(e),e.on("PreInit",(()=>{(e=>{e.formatter.register("namedAnchor",{inline:"a",selector:a,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:(e,t,o)=>l(e)})})(e)}))}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/autolink/plugin.min.js b/src/assets/tinymce/plugins/autolink/plugin.min.js deleted file mode 100644 index df56de1f..00000000 --- a/src/assets/tinymce/plugins/autolink/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),o=t("link_default_target"),r=t("link_default_protocol"),a=t("allow_unsafe_link_target"),s=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e));const l=(void 0,e=>undefined===e);const i=e=>!(e=>null==e)(e),c=Object.hasOwnProperty,d=e=>"\ufeff"===e;var u=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const f=e=>/^[(\[{ \u00a0]$/.test(e),g=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!d(t)&&n(t))return o}return-1},m=(e,t)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:i,selection:d}=e;if(null!==i.getParent(d.getNode(),"a[href]"))return null;const m=d.getRng(),k=u(i,(e=>{return i.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),c.call(t,n))||"false"===i.getContentEditable(e);var t,n})),{container:p,offset:y}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=3===n.nodeType?n.data.length:n.childNodes.length;return{container:n,offset:o}})(m.endContainer,m.endOffset),w=null!==(o=i.getParent(p,i.isBlock))&&void 0!==o?o:i.getRoot(),h=k.backwards(p,y+t,((e,t)=>{const n=e.data,o=g(n,t,(r=f,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),w);if(!h)return null;let v=h.container;const _=k.backwards(h.container,h.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),w),A=i.createRng();_?A.setStart(_.container,_.offset):A.setStart(v,0),A.setEnd(h.container,h.offset);const C=A.toString().replace(/\uFEFF/g,"").match(s);if(C){let t=C[0];return $="www.",(b=t).length>=4&&b.substr(0,4)===$?t=r(e)+"://"+t:((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!l(o)||r+t.length<=o)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t),{rng:A,url:t}}var b,$;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:i}=t,c=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:i};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,i),e.dispatch("ExecCommand",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,"target",t),"_blank"!==t||a(e)||n.setAttrib(o,"rel","noopener")}}r.moveToBookmark(c),e.nodeChanged()},p=e=>{const t=m(e,-1);i(t)&&k(e,t)},y=p;e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),(e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=m(e,0);i(t)&&k(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?p(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&y(e)}))})(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/autoresize/plugin.min.js b/src/assets/tinymce/plugins/autoresize/plugin.min.js deleted file mode 100644 index c4d6f877..00000000 --- a/src/assets/tinymce/plugins/autoresize/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env");const o=e=>t=>t.options.get(e),s=o("min_height"),i=o("max_height"),n=o("autoresize_overflow_padding"),r=o("autoresize_bottom_margin"),l=(e,t)=>{const o=e.getBody();o&&(o.style.overflowY=t?"":"hidden",t||(o.scrollTop=0))},g=(e,t,o,s)=>{var i;const n=parseInt(null!==(i=e.getStyle(t,o,s))&&void 0!==i?i:"",10);return isNaN(n)?0:n},a=(e,o,r,c)=>{var d;const f=e.dom,u=e.getDoc();if(!u)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void l(e,!0);const m=u.documentElement,h=c?c():n(e),p=null!==(d=s(e))&&void 0!==d?d:e.getElement().offsetHeight;let y=p;const S=g(f,m,"margin-top",!0),v=g(f,m,"margin-bottom",!0);let C=m.offsetHeight+S+v+h;C<0&&(C=0);const b=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;C+b>p&&(y=C+b);const w=i(e);if(w&&y>w?(y=w,l(e,!0)):l(e,!1),y!==o.get()){const s=y-o.get();if(f.setStyle(e.getContainer(),"height",y+"px"),o.set(y),(e=>{e.dispatch("ResizeEditor")})(e),t.browser.isSafari()&&(t.os.isMacOS()||t.os.isiOS())){const t=e.getWin();t.scrollTo(t.pageXOffset,t.pageYOffset)}e.hasFocus()&&(e=>{if("setcontent"===(null==e?void 0:e.type.toLowerCase())){const t=e;return!0===t.selection||!0===t.paste}return!1})(r)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&s<0&&a(e,o,r,c)}};e.add("autoresize",(e=>{if((e=>{const t=e.options.register;t("autoresize_overflow_padding",{processor:"number",default:1}),t("autoresize_bottom_margin",{processor:"number",default:50})})(e),e.options.isSet("resize")||e.options.set("resize",!1),!e.inline){const o=(e=>{let t=0;return{get:()=>t,set:e=>{t=e}}})();((e,t)=>{e.addCommand("mceAutoResize",(()=>{a(e,t)}))})(e,o),((e,o)=>{let s,i,l=()=>r(e);e.on("init",(i=>{s=0;const r=n(e),g=e.dom;g.setStyles(e.getDoc().documentElement,{height:"auto"}),t.browser.isEdge()||t.browser.isIE()?g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r,"min-height":0}):g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r}),a(e,o,i,l),s+=1})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(t=>{if(1===s)i=e.getContainer().offsetHeight,a(e,o,t,l),s+=1;else if(2===s){const t=i0):l,s+=1}else a(e,o,t,l)}))})(e,o)}}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/autosave/plugin.min.js b/src/assets/tinymce/plugins/autosave/plugin.min.js deleted file mode 100644 index 110f508d..00000000 --- a/src/assets/tinymce/plugins/autosave/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=("string",t=>"string"===(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(r=o=t,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":e;var r,o,a,s})(t));const r=(void 0,t=>undefined===t);var o=tinymce.util.Tools.resolve("tinymce.util.Delay"),a=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),s=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=t=>{const e=/^(\d+)([ms]?)$/.exec(t);return(e&&e[2]?{s:1e3,m:6e4}[e[2]]:1)*parseInt(t,10)},i=t=>e=>e.options.get(t),u=i("autosave_ask_before_unload"),l=i("autosave_restore_when_empty"),c=i("autosave_interval"),d=i("autosave_retention"),m=t=>{const e=document.location;return t.options.get("autosave_prefix").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},v=(t,e)=>{if(r(e))return t.dom.isEmpty(t.getBody());{const r=s.trim(e);if(""===r)return!0;{const e=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(e)}}},f=t=>{var e;const r=parseInt(null!==(e=a.getItem(m(t)+"time"))&&void 0!==e?e:"0",10)||0;return!((new Date).getTime()-r>d(t)&&(p(t,!1),1))},p=(t,e)=>{const r=m(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},g=t=>{const e=m(t);!v(t)&&t.isDirty()&&(a.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),a.setItem(e+"time",(new Date).getTime().toString()),(t=>{t.dispatch("StoreDraft")})(t))},y=t=>{var e;const r=m(t);f(t)&&(t.setContent(null!==(e=a.getItem(r+"draft"))&&void 0!==e?e:"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var D=tinymce.util.Tools.resolve("tinymce.EditorManager");const h=t=>e=>{e.setEnabled(f(t));const r=()=>e.setEnabled(f(t));return t.on("StoreDraft RestoreDraft RemoveDraft",r),()=>t.off("StoreDraft RestoreDraft RemoveDraft",r)};t.add("autosave",(t=>((t=>{const r=t.options.register,o=t=>{const r=e(t);return r?{value:n(t),valid:r}:{valid:!1,message:"Must be a string."}};r("autosave_ask_before_unload",{processor:"boolean",default:!0}),r("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),r("autosave_restore_when_empty",{processor:"boolean",default:!1}),r("autosave_interval",{processor:o,default:"30s"}),r("autosave_retention",{processor:o,default:"20m"})})(t),(t=>{t.editorManager.on("BeforeUnload",(t=>{let e;s.each(D.get(),(t=>{t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&u(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))})(t),(t=>{(t=>{const e=c(t);o.setEditorInterval(t,(()=>{g(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{y(t),p(t)})),t.focus()})(t)};t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:h(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:h(t)})})(t),t.on("init",(()=>{l(t)&&t.dom.isEmpty(t.getBody())&&y(t)})),(t=>({hasDraft:()=>f(t),storeDraft:()=>g(t),restoreDraft:()=>y(t),removeDraft:e=>p(t,e),isEmpty:e=>v(t,e)}))(t))))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/charmap/plugin.min.js b/src/assets/tinymce/plugins/charmap/plugin.min.js deleted file mode 100644 index 9f7f1c16..00000000 --- a/src/assets/tinymce/plugins/charmap/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(e,t)=>{const r=((e,t)=>e.dispatch("insertCustomChar",{chr:t}))(e,t).chr;e.execCommand("mceInsertContent",!1,r)},r=e=>t=>e===t,a=("array",e=>"array"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=a=e,(n=String).prototype.isPrototypeOf(r)||(null===(i=a.constructor)||void 0===i?void 0:i.name)===n.name)?"string":t;var r,a,n,i})(e));const n=r(null),i=r(void 0),o=e=>"function"==typeof e,s=(!1,()=>false);class l{constructor(e,t){this.tag=e,this.value=t}static some(e){return new l(!0,e)}static none(){return l.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?l.some(e(this.value)):l.none()}bind(e){return this.tag?e(this.value):l.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:l.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?l.none():l.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}l.singletonNone=new l(!1);const c=Array.prototype.push,u=(e,t)=>{const r=e.length,a=new Array(r);for(let n=0;nt=>t.options.get(e),m=h("charmap"),p=h("charmap_append"),d=g.isArray,f="User Defined",y=e=>{return d(e)?(t=e,g.grep(t,(e=>d(e)&&2===e.length))):"function"==typeof e?e():[];var t},b=e=>{const t=((e,t)=>{const r=m(e);r&&(t=[{name:f,characters:y(r)}]);const a=p(e);if(a){const e=g.grep(t,(e=>e.name===f));return e.length?(e[0].characters=[...e[0].characters,...y(a)],t):t.concat({name:f,characters:y(a)})}return t})(e,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return t.length>1?[{name:"All",characters:(r=t,n=e=>e.characters,(e=>{const t=[];for(let r=0,n=e.length;r{let t=e;return{get:()=>t,set:e=>{t=e}}},v=(e,t,r=0,a)=>{const n=e.indexOf(t,r);return-1!==n&&(!!i(a)||n+t.length<=a)},k=String.fromCodePoint,C=(e,t)=>{const r=[],a=t.toLowerCase();return((e,t)=>{for(let t=0,i=e.length;t!!v(k(e).toLowerCase(),r)||v(t.toLowerCase(),r)||v(t.toLowerCase().replace(/\s+/g,""),r))((n=e[t])[0],n[1],a)&&r.push(n);var n})(e.characters),u(r,(e=>({text:e[1],value:k(e[0]),icon:k(e[0])})))},x="pattern",A=(e,r)=>{const a=()=>[{label:"Search",type:"input",name:x},{type:"collection",name:"results"}],i=1===r.length?w(f):w("All"),o=((e,t)=>{let r=null;const a=()=>{n(r)||(clearTimeout(r),r=null)};return{cancel:a,throttle:(...t)=>{a(),r=setTimeout((()=>{r=null,e.apply(null,t)}),40)}}})((e=>{const t=e.getData().pattern;((e,t)=>{var a,n;(a=r,n=e=>e.name===i.get(),((e,t,r)=>{for(let a=0,n=e.length;a{const a=C(r,t);e.setData({results:a})}))})(e,t)})),c={title:"Special Character",size:"normal",body:1===r.length?{type:"panel",items:a()}:{type:"tabpanel",tabs:u(r,(e=>({title:e.name,name:e.name,items:a()})))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:C(r[0],"")},onAction:(r,a)=>{"results"===a.name&&(t(e,a.value),r.close())},onTabChange:(e,t)=>{i.set(t.newTabName),o.throttle(e)},onChange:(e,t)=>{t.name===x&&o.throttle(e)}};e.windowManager.open(c).focus(x)},q=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",r),r(),()=>{e.off("NodeChange",r)}};e.add("charmap",(e=>{(e=>{const t=e.options.register,r=e=>o(e)||a(e);t("charmap",{processor:r}),t("charmap_append",{processor:r})})(e);const r=b(e);return((e,t)=>{e.addCommand("mceShowCharmap",(()=>{A(e,t)}))})(e,r),(e=>{const t=()=>e.execCommand("mceShowCharmap");e.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:t,onSetup:q(e)}),e.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:t,onSetup:q(e)})})(e),((e,t)=>{e.ui.registry.addAutocompleter("charmap",{trigger:":",columns:"auto",minChars:2,fetch:(e,r)=>new Promise(((r,a)=>{r(C(t,e))})),onAction:(t,r,a)=>{e.selection.setRng(r),e.insertContent(a),t.hide()}})})(e,r[0]),(e=>({getCharMap:()=>b(e),insertChar:r=>{t(e,r)}}))(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/code/plugin.min.js b/src/assets/tinymce/plugins/code/plugin.min.js deleted file mode 100644 index a76b4982..00000000 --- a/src/assets/tinymce/plugins/code/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",(e=>((e=>{e.addCommand("mceCodeEditor",(()=>{(e=>{const o=(e=>e.getContent({source_view:!0}))(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:o},onSubmit:o=>{((e,o)=>{e.focus(),e.undoManager.transact((()=>{e.setContent(o)})),e.selection.setCursorLocation(),e.nodeChanged()})(e,o.getData().code),o.close()}})})(e)}))})(e),(e=>{const o=()=>e.execCommand("mceCodeEditor");e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:o}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:o})})(e),{})))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/codesample/plugin.min.js b/src/assets/tinymce/plugins/codesample/plugin.min.js deleted file mode 100644 index f3936a81..00000000 --- a/src/assets/tinymce/plugins/codesample/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>!(e=>null==e)(e),n=()=>{};class a{constructor(e,t){this.tag=e,this.value=t}static some(e){return new a(!0,e)}static none(){return a.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?a.some(e(this.value)):a.none()}bind(e){return this.tag?e(this.value):a.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:a.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return t(e)?a.some(e):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);var s=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils");const r="undefined"!=typeof window?window:Function("return this;")(),i=function(e,t,n){const a=window.Prism;window.Prism={manual:!0};var s=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},s={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof r?new r(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);x+=_.value.length,_=_.next){var F=_.value;if(t.length>e.length)return;if(!(F instanceof r)){var A,S=1;if(y){if(!(A=i(v,x,e,m))||A.index>=e.length)break;var $=A.index,z=A.index+A[0].length,E=x;for(E+=_.value.length;$>=E;)E+=(_=_.next).value.length;if(x=E-=_.value.length,_.value instanceof r)continue;for(var C=_;C!==t.tail&&(Ed.reach&&(d.reach=O);var P=_.prev;if(B&&(P=u(t,P,B),x+=B.length),c(t,P,S),_=u(t,P,new r(g,f?s.tokenize(j,f):j,w,j)),T&&u(t,_,T),S>1){var N={cause:g+","+b,reach:O};o(e,t,n,_.prev,x,N),d&&N.reach>d.reach&&(d.reach=N.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var a=t.next,s={value:n,prev:t,next:a};return t.next=s,a.prev=s,e.length++,s}function c(e,t,n){for(var a=t.next,s=0;s"+r.content+""},!e.document)return e.addEventListener?(s.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),a=n.language,r=n.code,i=n.immediateClose;e.postMessage(s.highlight(r,s.languages[a],a)),i&&e.close()}),!1),s):s;var d=s.util.currentScript();function g(){s.manual||s.highlightAll()}if(d&&(s.filename=d.src,d.hasAttribute("data-manual")&&(s.manual=!0)),!s.manual){var p=document.readyState;"loading"===p||"interactive"===p&&d&&d.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});return s.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,s,r){if(n.language===a){var i=n.tokenStack=[];n.code=n.code.replace(s,(function(e){if("function"==typeof r&&!r(e))return e;for(var s,o=i.length;-1!==n.code.indexOf(s=t(a,o));)++o;return i[o]=e,s})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var s=0,r=Object.keys(n.tokenStack);!function i(o){for(var l=0;l=r.length);l++){var u=o[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=r[s],d=n.tokenStack[c],g="string"==typeof u?u:u.content,p=t(a,c),b=g.indexOf(p);if(b>-1){++s;var h=g.substring(0,b),f=new e.Token(a,e.tokenize(d,n.grammar),"language-"+a,d),m=g.substring(b+p.length),y=[];h&&y.push.apply(y,i([h])),y.push(f),m&&y.push.apply(y,i([m])),"string"==typeof u?o.splice.apply(o,[l,1].concat(y)):u.content=y}}else u.content&&i(u.content)}return o}(n.tokens)}}}})}(s),s.languages.c=s.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),s.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),s.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},s.languages.c.string],char:s.languages.c.char,comment:s.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:s.languages.c}}}}),s.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete s.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(s),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var s="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",r="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",o="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(r),c=RegExp(l(s+" "+r+" "+i+" "+o)),d=l(r+" "+i+" "+o),g=l(s+" "+r+" "+o),p=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),b=a(/\((?:[^()]|<>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[h,p]),m=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,f]),y=/\[\s*(?:,\s*)*\]/.source,w=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,y]),k=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,b,y]),v=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[k]),_=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[v,m,y]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},F=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,S=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,_]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,f]),lookbehind:!0,inside:x},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:x},{pattern:n(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[w]),lookbehind:!0,inside:x},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[_,g,h]),inside:x}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[b]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[_,m]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[_]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,p]),inside:{function:n(/^<<0>>/.source,[h]),generic:{pattern:RegExp(p),alias:"class-name",inside:x}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,f,h,_,c.source,b,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,b]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(_),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $=A+"|"+F,z=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$]),E=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[z]),2),C=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,j=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,E]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[C,j]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[C]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[E]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var B=/:[^}\r\n]+/.source,T=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[z]),2),O=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[T,B]),P=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[$]),2),N=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,B]);function R(t,a){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,B]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[O]),lookbehind:!0,greedy:!0,inside:R(O,T)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:R(N,P)}],char:{pattern:RegExp(F),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(s),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(s),function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:a.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:a.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:a.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(s),s.languages.javascript=s.languages.extend("clike",{"class-name":[s.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),s.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,s.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:s.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:s.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:s.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:s.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:s.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),s.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:s.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),s.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),s.languages.markup&&(s.languages.markup.tag.addInlined("script","javascript"),s.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),s.languages.js=s.languages.javascript,s.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},s.languages.markup.tag.inside["attr-value"].inside.entity=s.languages.markup.entity,s.languages.markup.doctype.inside["internal-subset"].inside=s.languages.markup,s.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(s.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:s.languages[t]},n.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:s.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},s.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(s.languages.markup.tag,"addAttribute",{value:function(e,t){s.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:s.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),s.languages.html=s.languages.markup,s.languages.mathml=s.languages.markup,s.languages.svg=s.languages.markup,s.languages.xml=s.languages.extend("markup",{}),s.languages.ssml=s.languages.xml,s.languages.atom=s.languages.xml,s.languages.rss=s.languages.xml,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,r=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:s,punctuation:r};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},o=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:i}}];e.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:s,punctuation:r}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(s),s.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},s.languages.python["string-interpolation"].inside.interpolation.inside.rest=s.languages.python,s.languages.py=s.languages.python,function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(s),window.Prism=a,s}(),o=e=>t=>t.options.get(e),l=o("codesample_languages"),u=o("codesample_global_prismjs"),c=e=>r.Prism&&u(e)?r.Prism:i,d=e=>t(e)&&"PRE"===e.nodeName&&-1!==e.className.indexOf("language-"),g=e=>{const t=e.selection?e.selection.getNode():null;return d(t)?a.some(t):a.none()},p=e=>{const t=(e=>l(e)||[{text:"HTML/XML",value:"markup"},{text:"JavaScript",value:"javascript"},{text:"CSS",value:"css"},{text:"PHP",value:"php"},{text:"Ruby",value:"ruby"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"}])(e),n=(r=t,((e,t)=>0""),(e=>e.value));var r;const i=((e,t)=>g(e).fold((()=>t),(e=>{const n=e.className.match(/language-(\w+)/);return n?n[1]:t})))(e,n),o=(e=>g(e).bind((e=>a.from(e.textContent))).getOr(""))(e);e.windowManager.open({title:"Insert/Edit Code Sample",size:"large",body:{type:"panel",items:[{type:"listbox",name:"language",label:"Language",items:t},{type:"textarea",name:"code",label:"Code view"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{language:i,code:o},onSubmit:t=>{const n=t.getData();((e,t,n)=>{const a=e.dom;e.undoManager.transact((()=>{const r=g(e);return n=s.DOM.encode(n),r.fold((()=>{e.insertContent('
'+n+"
");const s=a.select("#__new")[0];a.setAttrib(s,"id",null),e.selection.select(s)}),(s=>{a.setAttrib(s,"class","language-"+t),s.innerHTML=n,c(e).highlightElement(s),e.selection.select(s)}))}))})(e,n.language,n.code),t.close()}})},b=(h=/^\s+|\s+$/g,e=>e.replace(h,""));var h,f=tinymce.util.Tools.resolve("tinymce.util.Tools");const m=(e,t=n)=>n=>{const a=()=>{n.setEnabled(e.selection.isEditable()),t(n)};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("codesample",(e=>{(e=>{const t=e.options.register;t("codesample_languages",{processor:"object[]"}),t("codesample_global_prismjs",{processor:"boolean",default:!1})})(e),(e=>{e.on("PreProcess",(t=>{const n=e.dom,a=n.select("pre[contenteditable=false]",t.node);f.each(f.grep(a,d),(e=>{const t=e.textContent;let a;for(n.setAttrib(e,"class",b(n.getAttrib(e,"class"))),n.setAttrib(e,"contentEditable",null),n.setAttrib(e,"data-mce-highlighted",null);a=e.firstChild;)e.removeChild(a);n.add(e,"code").textContent=t}))})),e.on("SetContent",(()=>{const t=e.dom,n=f.grep(t.select("pre"),(e=>d(e)&&"true"!==t.getAttrib(e,"data-mce-highlighted")));n.length&&e.undoManager.transact((()=>{f.each(n,(n=>{var a;f.each(t.select("br",n),(n=>{t.replace(e.getDoc().createTextNode("\n"),n)})),n.innerHTML=t.encode(null!==(a=n.textContent)&&void 0!==a?a:""),c(e).highlightElement(n),t.setAttrib(n,"data-mce-highlighted",!0),n.className=b(n.className)}))}))})),e.on("PreInit",(()=>{e.parser.addNodeFilter("pre",(e=>{var t;for(let n=0,a=e.length;n{const t=()=>e.execCommand("codesample");e.ui.registry.addToggleButton("codesample",{icon:"code-sample",tooltip:"Insert/edit code sample",onAction:t,onSetup:m(e,(t=>{t.setActive((e=>{const t=e.selection.getStart();return e.dom.is(t,'pre[class*="language-"]')})(e))}))}),e.ui.registry.addMenuItem("codesample",{text:"Code sample...",icon:"code-sample",onAction:t,onSetup:m(e)})})(e),(e=>{e.addCommand("codesample",(()=>{const t=e.selection.getNode();e.selection.isCollapsed()||d(t)?p(e):e.formatter.toggle("code")}))})(e),e.on("dblclick",(t=>{d(t.target)&&p(e)}))}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/directionality/plugin.min.js b/src/assets/tinymce/plugins/directionality/plugin.min.js deleted file mode 100644 index c91d2bb2..00000000 --- a/src/assets/tinymce/plugins/directionality/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>typeof e===t,o=t=>"string"===(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(o=r=t,(n=String).prototype.isPrototypeOf(o)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===n.name)?"string":e;var o,r,n,i})(t),r=e("boolean"),n=t=>!(t=>null==t)(t),i=e("function"),s=e("number"),l=(!1,()=>false);class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return n(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=(t,e)=>{for(let o=0,r=t.length;o{if(null==t)throw new Error("Node cannot be null or undefined");return{dom:t}},d=c,h=(t,e)=>{const o=t.dom;if(1!==o.nodeType)return!1;{const t=o;if(void 0!==t.matches)return t.matches(e);if(void 0!==t.msMatchesSelector)return t.msMatchesSelector(e);if(void 0!==t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(void 0!==t.mozMatchesSelector)return t.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")}};"undefined"!=typeof window?window:Function("return this;")();const m=t=>e=>(t=>t.dom.nodeType)(e)===t,g=m(1),f=m(3),v=m(9),y=m(11),p=(t,e)=>{t.dom.removeAttribute(e)},w=i(Element.prototype.attachShadow)&&i(Node.prototype.getRootNode)?t=>d(t.dom.getRootNode()):t=>v(t)?t:d(t.dom.ownerDocument),b=t=>d(t.dom.host),N=t=>{const e=f(t)?t.dom.parentNode:t.dom;if(null==e||null===e.ownerDocument)return!1;const o=e.ownerDocument;return(t=>{const e=w(t);return y(o=e)&&n(o.dom.host)?a.some(e):a.none();var o})(d(e)).fold((()=>o.body.contains(e)),(r=N,i=b,t=>r(i(t))));var r,i},S=t=>"rtl"===((t,e)=>{const o=t.dom,r=window.getComputedStyle(o).getPropertyValue(e);return""!==r||N(t)?r:((t,e)=>(t=>void 0!==t.style&&i(t.style.getPropertyValue))(t)?t.style.getPropertyValue(e):"")(o,e)})(t,"direction")?"rtl":"ltr",A=(t,e)=>((t,o)=>((t,e)=>{const o=[];for(let r=0,n=t.length;r{const o=t.length,r=new Array(o);for(let n=0;nh(t,e))))(t),E=("li",t=>g(t)&&"li"===t.dom.nodeName.toLowerCase());const T=(t,e,n)=>{u(e,(e=>{const c=d(e),m=E(c),f=((t,e)=>{return(e?(o=t,r="ol,ul",((t,e,o)=>{let n=t.dom;const s=i(o)?o:l;for(;n.parentNode;){n=n.parentNode;const t=d(n);if(h(t,r))return a.some(t);if(s(t))break}return a.none()})(o,0,n)):a.some(t)).getOr(t);var o,r,n})(c,m);var v;(v=f,(t=>a.from(t.dom.parentNode).map(d))(v).filter(g)).each((e=>{if(t.setStyle(f.dom,"direction",null),S(e)===n?p(f,"dir"):((t,e,n)=>{((t,e,n)=>{if(!(o(n)||r(n)||s(n)))throw console.error("Invalid call to Attribute.set. Key ",e,":: Value ",n,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(e,n+"")})(t.dom,e,n)})(f,"dir",n),S(f)!==n&&t.setStyle(f.dom,"direction",n),m){const e=A(f,"li[dir],li[style]");u(e,(e=>{p(e,"dir"),t.setStyle(e.dom,"direction",null)}))}}))}))},C=(t,e)=>{t.selection.isEditable()&&(T(t.dom,t.selection.getSelectedBlocks(),e),t.nodeChanged())},D=(t,e)=>o=>{const r=r=>{const n=d(r.element);o.setActive(S(n)===e),o.setEnabled(t.selection.isEditable())};return t.on("NodeChange",r),o.setEnabled(t.selection.isEditable()),()=>t.off("NodeChange",r)};t.add("directionality",(t=>{(t=>{t.addCommand("mceDirectionLTR",(()=>{C(t,"ltr")})),t.addCommand("mceDirectionRTL",(()=>{C(t,"rtl")}))})(t),(t=>{t.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>t.execCommand("mceDirectionLTR"),onSetup:D(t,"ltr")}),t.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>t.execCommand("mceDirectionRTL"),onSetup:D(t,"rtl")})})(t)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/emoticons/js/emojiimages.js b/src/assets/tinymce/plugins/emoticons/js/emojiimages.js deleted file mode 100644 index 6fcec717..00000000 --- a/src/assets/tinymce/plugins/emoticons/js/emojiimages.js +++ /dev/null @@ -1 +0,0 @@ -window.tinymce.Resource.add("tinymce.plugins.emoticons",{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:'💯',fitzpatrick_scale:false,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:'🔢',fitzpatrick_scale:false,category:"symbols"},grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:'😀',fitzpatrick_scale:false,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:'😬',fitzpatrick_scale:false,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:'😁',fitzpatrick_scale:false,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:'😂',fitzpatrick_scale:false,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:'🤣',fitzpatrick_scale:false,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:'🥳',fitzpatrick_scale:false,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:'😃',fitzpatrick_scale:false,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:'😄',fitzpatrick_scale:false,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:'😅',fitzpatrick_scale:false,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:'😆',fitzpatrick_scale:false,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:'😇',fitzpatrick_scale:false,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:'😉',fitzpatrick_scale:false,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:'😊',fitzpatrick_scale:false,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:'🙂',fitzpatrick_scale:false,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:'🙃',fitzpatrick_scale:false,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:'☺️',fitzpatrick_scale:false,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:'😋',fitzpatrick_scale:false,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:'😌',fitzpatrick_scale:false,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:'😍',fitzpatrick_scale:false,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:'🥰',fitzpatrick_scale:false,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'😘',fitzpatrick_scale:false,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:'😗',fitzpatrick_scale:false,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:'😙',fitzpatrick_scale:false,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'😚',fitzpatrick_scale:false,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:'😜',fitzpatrick_scale:false,category:"people"},zany:{keywords:["face","goofy","crazy"],char:'🤪',fitzpatrick_scale:false,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:'🤨',fitzpatrick_scale:false,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:'🧐',fitzpatrick_scale:false,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:'😝',fitzpatrick_scale:false,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:'😛',fitzpatrick_scale:false,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:'🤑',fitzpatrick_scale:false,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:'🤓',fitzpatrick_scale:false,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:'😎',fitzpatrick_scale:false,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:'🤩',fitzpatrick_scale:false,category:"people"},clown_face:{keywords:["face"],char:'🤡',fitzpatrick_scale:false,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:'🤠',fitzpatrick_scale:false,category:"people"},hugs:{keywords:["face","smile","hug"],char:'🤗',fitzpatrick_scale:false,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:'😏',fitzpatrick_scale:false,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:'😶',fitzpatrick_scale:false,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:'😐',fitzpatrick_scale:false,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:'😑',fitzpatrick_scale:false,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:'😒',fitzpatrick_scale:false,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:'🙄',fitzpatrick_scale:false,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:'🤔',fitzpatrick_scale:false,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:'🤥',fitzpatrick_scale:false,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:'🤭',fitzpatrick_scale:false,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:'🤫',fitzpatrick_scale:false,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:'🤬',fitzpatrick_scale:false,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:'🤯',fitzpatrick_scale:false,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:'😳',fitzpatrick_scale:false,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:'😞',fitzpatrick_scale:false,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:'😟',fitzpatrick_scale:false,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:'😠',fitzpatrick_scale:false,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:'😡',fitzpatrick_scale:false,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:'😔',fitzpatrick_scale:false,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:'😕',fitzpatrick_scale:false,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:'🙁',fitzpatrick_scale:false,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:'☹',fitzpatrick_scale:false,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:'😣',fitzpatrick_scale:false,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:'😖',fitzpatrick_scale:false,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:'😫',fitzpatrick_scale:false,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:'😩',fitzpatrick_scale:false,category:"people"},pleading:{keywords:["face","begging","mercy"],char:'🥺',fitzpatrick_scale:false,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:'😤',fitzpatrick_scale:false,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:'😮',fitzpatrick_scale:false,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:'😱',fitzpatrick_scale:false,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:'😨',fitzpatrick_scale:false,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:'😰',fitzpatrick_scale:false,category:"people"},hushed:{keywords:["face","woo","shh"],char:'😯',fitzpatrick_scale:false,category:"people"},frowning:{keywords:["face","aw","what"],char:'😦',fitzpatrick_scale:false,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:'😧',fitzpatrick_scale:false,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:'😢',fitzpatrick_scale:false,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:'😥',fitzpatrick_scale:false,category:"people"},drooling_face:{keywords:["face"],char:'🤤',fitzpatrick_scale:false,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:'😪',fitzpatrick_scale:false,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:'😓',fitzpatrick_scale:false,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:'🥵',fitzpatrick_scale:false,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:'🥶',fitzpatrick_scale:false,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:'😭',fitzpatrick_scale:false,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:'😵',fitzpatrick_scale:false,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:'😲',fitzpatrick_scale:false,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:'🤐',fitzpatrick_scale:false,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:'🤢',fitzpatrick_scale:false,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:'🤧',fitzpatrick_scale:false,category:"people"},vomiting:{keywords:["face","sick"],char:'🤮',fitzpatrick_scale:false,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:'😷',fitzpatrick_scale:false,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:'🤒',fitzpatrick_scale:false,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:'🤕',fitzpatrick_scale:false,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:'🥴',fitzpatrick_scale:false,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:'😴',fitzpatrick_scale:false,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:'💤',fitzpatrick_scale:false,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:'💩',fitzpatrick_scale:false,category:"people"},smiling_imp:{keywords:["devil","horns"],char:'😈',fitzpatrick_scale:false,category:"people"},imp:{keywords:["devil","angry","horns"],char:'👿',fitzpatrick_scale:false,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:'👹',fitzpatrick_scale:false,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:'👺',fitzpatrick_scale:false,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:'💀',fitzpatrick_scale:false,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:'👻',fitzpatrick_scale:false,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:'👽',fitzpatrick_scale:false,category:"people"},robot:{keywords:["computer","machine","bot"],char:'🤖',fitzpatrick_scale:false,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:'😺',fitzpatrick_scale:false,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:'😸',fitzpatrick_scale:false,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:'😹',fitzpatrick_scale:false,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:'😻',fitzpatrick_scale:false,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:'😼',fitzpatrick_scale:false,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:'😽',fitzpatrick_scale:false,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:'🙀',fitzpatrick_scale:false,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:'😿',fitzpatrick_scale:false,category:"people"},pouting_cat:{keywords:["animal","cats"],char:'😾',fitzpatrick_scale:false,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:'🤲',fitzpatrick_scale:true,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:'🙌',fitzpatrick_scale:true,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:'👏',fitzpatrick_scale:true,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:'👋',fitzpatrick_scale:true,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:'🤙',fitzpatrick_scale:true,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:'👍',fitzpatrick_scale:true,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:'👎',fitzpatrick_scale:true,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:'👊',fitzpatrick_scale:true,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:'✊',fitzpatrick_scale:true,category:"people"},fist_left:{keywords:["hand","fistbump"],char:'🤛',fitzpatrick_scale:true,category:"people"},fist_right:{keywords:["hand","fistbump"],char:'🤜',fitzpatrick_scale:true,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:'✌',fitzpatrick_scale:true,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:'👌',fitzpatrick_scale:true,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:'✋',fitzpatrick_scale:true,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:'🤚',fitzpatrick_scale:true,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:'👐',fitzpatrick_scale:true,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:'💪',fitzpatrick_scale:true,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:'🙏',fitzpatrick_scale:true,category:"people"},foot:{keywords:["kick","stomp"],char:'🦶',fitzpatrick_scale:true,category:"people"},leg:{keywords:["kick","limb"],char:'🦵',fitzpatrick_scale:true,category:"people"},handshake:{keywords:["agreement","shake"],char:'🤝',fitzpatrick_scale:false,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:'☝',fitzpatrick_scale:true,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:'👆',fitzpatrick_scale:true,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:'👇',fitzpatrick_scale:true,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:'👈',fitzpatrick_scale:true,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:'👉',fitzpatrick_scale:true,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:'🖕',fitzpatrick_scale:true,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:'🖐',fitzpatrick_scale:true,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:'🤟',fitzpatrick_scale:true,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:'🤘',fitzpatrick_scale:true,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:'🤞',fitzpatrick_scale:true,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:'🖖',fitzpatrick_scale:true,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:'✍',fitzpatrick_scale:true,category:"people"},selfie:{keywords:["camera","phone"],char:'🤳',fitzpatrick_scale:true,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:'💅',fitzpatrick_scale:true,category:"people"},lips:{keywords:["mouth","kiss"],char:'👄',fitzpatrick_scale:false,category:"people"},tooth:{keywords:["teeth","dentist"],char:'🦷',fitzpatrick_scale:false,category:"people"},tongue:{keywords:["mouth","playful"],char:'👅',fitzpatrick_scale:false,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:'👂',fitzpatrick_scale:true,category:"people"},nose:{keywords:["smell","sniff"],char:'👃',fitzpatrick_scale:true,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:'👁',fitzpatrick_scale:false,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:'👀',fitzpatrick_scale:false,category:"people"},brain:{keywords:["smart","intelligent"],char:'🧠',fitzpatrick_scale:false,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:'👤',fitzpatrick_scale:false,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:'👥',fitzpatrick_scale:false,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:'🗣',fitzpatrick_scale:false,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:'👶',fitzpatrick_scale:true,category:"people"},child:{keywords:["gender-neutral","young"],char:'🧒',fitzpatrick_scale:true,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:'👦',fitzpatrick_scale:true,category:"people"},girl:{keywords:["female","woman","teenager"],char:'👧',fitzpatrick_scale:true,category:"people"},adult:{keywords:["gender-neutral","person"],char:'🧑',fitzpatrick_scale:true,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:'👨',fitzpatrick_scale:true,category:"people"},woman:{keywords:["female","girls","lady"],char:'👩',fitzpatrick_scale:true,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:'👱‍♀️',fitzpatrick_scale:true,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:'👱',fitzpatrick_scale:true,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:'🧔',fitzpatrick_scale:true,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:'🧓',fitzpatrick_scale:true,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:'👴',fitzpatrick_scale:true,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:'👵',fitzpatrick_scale:true,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:'👲',fitzpatrick_scale:true,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:'🧕',fitzpatrick_scale:true,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:'👳‍♀️',fitzpatrick_scale:true,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:'👳',fitzpatrick_scale:true,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:'👮‍♀️',fitzpatrick_scale:true,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:'👮',fitzpatrick_scale:true,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:'👷‍♀️',fitzpatrick_scale:true,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:'👷',fitzpatrick_scale:true,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:'💂‍♀️',fitzpatrick_scale:true,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:'💂',fitzpatrick_scale:true,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:'🕵️‍♀️',fitzpatrick_scale:true,category:"people"},male_detective:{keywords:["human","spy","detective"],char:'🕵',fitzpatrick_scale:true,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:'👩‍⚕️',fitzpatrick_scale:true,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:'👨‍⚕️',fitzpatrick_scale:true,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:'👩‍🌾',fitzpatrick_scale:true,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:'👨‍🌾',fitzpatrick_scale:true,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:'👩‍🍳',fitzpatrick_scale:true,category:"people"},man_cook:{keywords:["chef","man","human"],char:'👨‍🍳',fitzpatrick_scale:true,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:'👩‍🎓',fitzpatrick_scale:true,category:"people"},man_student:{keywords:["graduate","man","human"],char:'👨‍🎓',fitzpatrick_scale:true,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:'👩‍🎤',fitzpatrick_scale:true,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:'👨‍🎤',fitzpatrick_scale:true,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:'👩‍🏫',fitzpatrick_scale:true,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:'👨‍🏫',fitzpatrick_scale:true,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:'👩‍🏭',fitzpatrick_scale:true,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:'👨‍🏭',fitzpatrick_scale:true,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:'👩‍💻',fitzpatrick_scale:true,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:'👨‍💻',fitzpatrick_scale:true,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:'👩‍💼',fitzpatrick_scale:true,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:'👨‍💼',fitzpatrick_scale:true,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:'👩‍🔧',fitzpatrick_scale:true,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:'👨‍🔧',fitzpatrick_scale:true,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:'👩‍🔬',fitzpatrick_scale:true,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:'👨‍🔬',fitzpatrick_scale:true,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:'👩‍🎨',fitzpatrick_scale:true,category:"people"},man_artist:{keywords:["painter","man","human"],char:'👨‍🎨',fitzpatrick_scale:true,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:'👩‍🚒',fitzpatrick_scale:true,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:'👨‍🚒',fitzpatrick_scale:true,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:'👩‍✈️',fitzpatrick_scale:true,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:'👨‍✈️',fitzpatrick_scale:true,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:'👩‍🚀',fitzpatrick_scale:true,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:'👨‍🚀',fitzpatrick_scale:true,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:'👩‍⚖️',fitzpatrick_scale:true,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:'👨‍⚖️',fitzpatrick_scale:true,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:'🦸‍♀️',fitzpatrick_scale:true,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:'🦸‍♂️',fitzpatrick_scale:true,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:'🦹‍♀️',fitzpatrick_scale:true,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:'🦹‍♂️',fitzpatrick_scale:true,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:'🤶',fitzpatrick_scale:true,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:'🎅',fitzpatrick_scale:true,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:'🧙‍♀️',fitzpatrick_scale:true,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:'🧙‍♂️',fitzpatrick_scale:true,category:"people"},woman_elf:{keywords:["woman","female"],char:'🧝‍♀️',fitzpatrick_scale:true,category:"people"},man_elf:{keywords:["man","male"],char:'🧝‍♂️',fitzpatrick_scale:true,category:"people"},woman_vampire:{keywords:["woman","female"],char:'🧛‍♀️',fitzpatrick_scale:true,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:'🧛‍♂️',fitzpatrick_scale:true,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:'🧟‍♀️',fitzpatrick_scale:false,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:'🧟‍♂️',fitzpatrick_scale:false,category:"people"},woman_genie:{keywords:["woman","female"],char:'🧞‍♀️',fitzpatrick_scale:false,category:"people"},man_genie:{keywords:["man","male"],char:'🧞‍♂️',fitzpatrick_scale:false,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:'🧜‍♀️',fitzpatrick_scale:true,category:"people"},merman:{keywords:["man","male","triton"],char:'🧜‍♂️',fitzpatrick_scale:true,category:"people"},woman_fairy:{keywords:["woman","female"],char:'🧚‍♀️',fitzpatrick_scale:true,category:"people"},man_fairy:{keywords:["man","male"],char:'🧚‍♂️',fitzpatrick_scale:true,category:"people"},angel:{keywords:["heaven","wings","halo"],char:'👼',fitzpatrick_scale:true,category:"people"},pregnant_woman:{keywords:["baby"],char:'🤰',fitzpatrick_scale:true,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:'🤱',fitzpatrick_scale:true,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:'👸',fitzpatrick_scale:true,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:'🤴',fitzpatrick_scale:true,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:'👰',fitzpatrick_scale:true,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:'🤵',fitzpatrick_scale:true,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:'🏃‍♀️',fitzpatrick_scale:true,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:'🏃',fitzpatrick_scale:true,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:'🚶‍♀️',fitzpatrick_scale:true,category:"people"},walking_man:{keywords:["human","feet","steps"],char:'🚶',fitzpatrick_scale:true,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:'💃',fitzpatrick_scale:true,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:'🕺',fitzpatrick_scale:true,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:'👯',fitzpatrick_scale:false,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:'👯‍♂️',fitzpatrick_scale:false,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:'👫',fitzpatrick_scale:false,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:'👬',fitzpatrick_scale:false,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:'👭',fitzpatrick_scale:false,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:'🙇‍♀️',fitzpatrick_scale:true,category:"people"},bowing_man:{keywords:["man","male","boy"],char:'🙇',fitzpatrick_scale:true,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:'🤦‍♂️',fitzpatrick_scale:true,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:'🤦‍♀️',fitzpatrick_scale:true,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:'🤷',fitzpatrick_scale:true,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:'🤷‍♂️',fitzpatrick_scale:true,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:'💁',fitzpatrick_scale:true,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:'💁‍♂️',fitzpatrick_scale:true,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:'🙅',fitzpatrick_scale:true,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:'🙅‍♂️',fitzpatrick_scale:true,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:'🙆',fitzpatrick_scale:true,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:'🙆‍♂️',fitzpatrick_scale:true,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:'🙋',fitzpatrick_scale:true,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:'🙋‍♂️',fitzpatrick_scale:true,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:'🙎',fitzpatrick_scale:true,category:"people"},pouting_man:{keywords:["male","boy","man"],char:'🙎‍♂️',fitzpatrick_scale:true,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:'🙍',fitzpatrick_scale:true,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:'🙍‍♂️',fitzpatrick_scale:true,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:'💇',fitzpatrick_scale:true,category:"people"},haircut_man:{keywords:["male","boy","man"],char:'💇‍♂️',fitzpatrick_scale:true,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:'💆',fitzpatrick_scale:true,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:'💆‍♂️',fitzpatrick_scale:true,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:'🧖‍♀️',fitzpatrick_scale:true,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:'🧖‍♂️',fitzpatrick_scale:true,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'💑',fitzpatrick_scale:false,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'👩‍❤️‍👩',fitzpatrick_scale:false,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'👨‍❤️‍👨',fitzpatrick_scale:false,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'💏',fitzpatrick_scale:false,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'👩‍❤️‍💋‍👩',fitzpatrick_scale:false,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:'👨‍❤️‍💋‍👨',fitzpatrick_scale:false,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:'👪',fitzpatrick_scale:false,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:'👨‍👩‍👧',fitzpatrick_scale:false,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👩‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👩‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'👨‍👩‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👦',fitzpatrick_scale:false,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👧',fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👦',fitzpatrick_scale:false,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👧',fitzpatrick_scale:false,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:'👩‍👦',fitzpatrick_scale:false,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:'👩‍👧',fitzpatrick_scale:false,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:'👩‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:'👩‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:'👩‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:'👨‍👦',fitzpatrick_scale:false,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:'👨‍👧',fitzpatrick_scale:false,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:'👨‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:'👨‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:'👨‍👧‍👧',fitzpatrick_scale:false,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:'🧶',fitzpatrick_scale:false,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:'🧵',fitzpatrick_scale:false,category:"people"},coat:{keywords:["jacket"],char:'🧥',fitzpatrick_scale:false,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:'🥼',fitzpatrick_scale:false,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:'👚',fitzpatrick_scale:false,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:'👕',fitzpatrick_scale:false,category:"people"},jeans:{keywords:["fashion","shopping"],char:'👖',fitzpatrick_scale:false,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:'👔',fitzpatrick_scale:false,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:'👗',fitzpatrick_scale:false,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:'👙',fitzpatrick_scale:false,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:'👘',fitzpatrick_scale:false,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:'💄',fitzpatrick_scale:false,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:'💋',fitzpatrick_scale:false,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:'👣',fitzpatrick_scale:false,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:'🥿',fitzpatrick_scale:false,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:'👠',fitzpatrick_scale:false,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:'👡',fitzpatrick_scale:false,category:"people"},boot:{keywords:["shoes","fashion"],char:'👢',fitzpatrick_scale:false,category:"people"},mans_shoe:{keywords:["fashion","male"],char:'👞',fitzpatrick_scale:false,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:'👟',fitzpatrick_scale:false,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:'🥾',fitzpatrick_scale:false,category:"people"},socks:{keywords:["stockings","clothes"],char:'🧦',fitzpatrick_scale:false,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:'🧤',fitzpatrick_scale:false,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:'🧣',fitzpatrick_scale:false,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:'👒',fitzpatrick_scale:false,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:'🎩',fitzpatrick_scale:false,category:"people"},billed_hat:{keywords:["cap","baseball"],char:'🧢',fitzpatrick_scale:false,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:'⛑',fitzpatrick_scale:false,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:'🎓',fitzpatrick_scale:false,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:'👑',fitzpatrick_scale:false,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:'🎒',fitzpatrick_scale:false,category:"people"},luggage:{keywords:["packing","travel"],char:'🧳',fitzpatrick_scale:false,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:'👝',fitzpatrick_scale:false,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:'👛',fitzpatrick_scale:false,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:'👜',fitzpatrick_scale:false,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:'💼',fitzpatrick_scale:false,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:'👓',fitzpatrick_scale:false,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:'🕶',fitzpatrick_scale:false,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:'🥽',fitzpatrick_scale:false,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:'💍',fitzpatrick_scale:false,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:'🌂',fitzpatrick_scale:false,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:'🐶',fitzpatrick_scale:false,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:'🐱',fitzpatrick_scale:false,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:'🐭',fitzpatrick_scale:false,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:'🐹',fitzpatrick_scale:false,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:'🐰',fitzpatrick_scale:false,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:'🦊',fitzpatrick_scale:false,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:'🐻',fitzpatrick_scale:false,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:'🐼',fitzpatrick_scale:false,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:'🐨',fitzpatrick_scale:false,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:'🐯',fitzpatrick_scale:false,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:'🦁',fitzpatrick_scale:false,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:'🐮',fitzpatrick_scale:false,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:'🐷',fitzpatrick_scale:false,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:'🐽',fitzpatrick_scale:false,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:'🐸',fitzpatrick_scale:false,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:'🦑',fitzpatrick_scale:false,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:'🐙',fitzpatrick_scale:false,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:'🦐',fitzpatrick_scale:false,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:'🐵',fitzpatrick_scale:false,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:'🦍',fitzpatrick_scale:false,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:'🙈',fitzpatrick_scale:false,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:'🙉',fitzpatrick_scale:false,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:'🙊',fitzpatrick_scale:false,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:'🐒',fitzpatrick_scale:false,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:'🐔',fitzpatrick_scale:false,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:'🐧',fitzpatrick_scale:false,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:'🐦',fitzpatrick_scale:false,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:'🐤',fitzpatrick_scale:false,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:'🐣',fitzpatrick_scale:false,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:'🐥',fitzpatrick_scale:false,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:'🦆',fitzpatrick_scale:false,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:'🦅',fitzpatrick_scale:false,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:'🦉',fitzpatrick_scale:false,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:'🦇',fitzpatrick_scale:false,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:'🐺',fitzpatrick_scale:false,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:'🐗',fitzpatrick_scale:false,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:'🐴',fitzpatrick_scale:false,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:'🦄',fitzpatrick_scale:false,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:'🐝',fitzpatrick_scale:false,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:'🐛',fitzpatrick_scale:false,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:'🦋',fitzpatrick_scale:false,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:'🐌',fitzpatrick_scale:false,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:'🐞',fitzpatrick_scale:false,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:'🐜',fitzpatrick_scale:false,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:'🦗',fitzpatrick_scale:false,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:'🕷',fitzpatrick_scale:false,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:'🦂',fitzpatrick_scale:false,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:'🦀',fitzpatrick_scale:false,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:'🐍',fitzpatrick_scale:false,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:'🦎',fitzpatrick_scale:false,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:'🦖',fitzpatrick_scale:false,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:'🦕',fitzpatrick_scale:false,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:'🐢',fitzpatrick_scale:false,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:'🐠',fitzpatrick_scale:false,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:'🐟',fitzpatrick_scale:false,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:'🐡',fitzpatrick_scale:false,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:'🐬',fitzpatrick_scale:false,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:'🦈',fitzpatrick_scale:false,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:'🐳',fitzpatrick_scale:false,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:'🐋',fitzpatrick_scale:false,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:'🐊',fitzpatrick_scale:false,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:'🐆',fitzpatrick_scale:false,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:'🦓',fitzpatrick_scale:false,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:'🐅',fitzpatrick_scale:false,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:'🐃',fitzpatrick_scale:false,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:'🐂',fitzpatrick_scale:false,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:'🐄',fitzpatrick_scale:false,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:'🦌',fitzpatrick_scale:false,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:'🐪',fitzpatrick_scale:false,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:'🐫',fitzpatrick_scale:false,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:'🦒',fitzpatrick_scale:false,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:'🐘',fitzpatrick_scale:false,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:'🦏',fitzpatrick_scale:false,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:'🐐',fitzpatrick_scale:false,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:'🐏',fitzpatrick_scale:false,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:'🐑',fitzpatrick_scale:false,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:'🐎',fitzpatrick_scale:false,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:'🐖',fitzpatrick_scale:false,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:'🐀',fitzpatrick_scale:false,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:'🐁',fitzpatrick_scale:false,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:'🐓',fitzpatrick_scale:false,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:'🦃',fitzpatrick_scale:false,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:'🕊',fitzpatrick_scale:false,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:'🐕',fitzpatrick_scale:false,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:'🐩',fitzpatrick_scale:false,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:'🐈',fitzpatrick_scale:false,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:'🐇',fitzpatrick_scale:false,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:'🐿',fitzpatrick_scale:false,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:'🦔',fitzpatrick_scale:false,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:'🦝',fitzpatrick_scale:false,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:'🦙',fitzpatrick_scale:false,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:'🦛',fitzpatrick_scale:false,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:'🦘',fitzpatrick_scale:false,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:'🦡',fitzpatrick_scale:false,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:'🦢',fitzpatrick_scale:false,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:'🦚',fitzpatrick_scale:false,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:'🦜',fitzpatrick_scale:false,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:'🦞',fitzpatrick_scale:false,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:'🦟',fitzpatrick_scale:false,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:'🐾',fitzpatrick_scale:false,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:'🐉',fitzpatrick_scale:false,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:'🐲',fitzpatrick_scale:false,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:'🌵',fitzpatrick_scale:false,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:'🎄',fitzpatrick_scale:false,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:'🌲',fitzpatrick_scale:false,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:'🌳',fitzpatrick_scale:false,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:'🌴',fitzpatrick_scale:false,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:'🌱',fitzpatrick_scale:false,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:'🌿',fitzpatrick_scale:false,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:'☘',fitzpatrick_scale:false,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:'🍀',fitzpatrick_scale:false,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:'🎍',fitzpatrick_scale:false,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:'🎋',fitzpatrick_scale:false,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:'🍃',fitzpatrick_scale:false,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:'🍂',fitzpatrick_scale:false,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:'🍁',fitzpatrick_scale:false,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:'🌾',fitzpatrick_scale:false,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:'🌺',fitzpatrick_scale:false,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:'🌻',fitzpatrick_scale:false,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:'🌹',fitzpatrick_scale:false,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:'🥀',fitzpatrick_scale:false,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:'🌷',fitzpatrick_scale:false,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:'🌼',fitzpatrick_scale:false,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:'🌸',fitzpatrick_scale:false,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:'💐',fitzpatrick_scale:false,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:'🍄',fitzpatrick_scale:false,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:'🌰',fitzpatrick_scale:false,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:'🎃',fitzpatrick_scale:false,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:'🐚',fitzpatrick_scale:false,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:'🕸',fitzpatrick_scale:false,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:'🌎',fitzpatrick_scale:false,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:'🌍',fitzpatrick_scale:false,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:'🌏',fitzpatrick_scale:false,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:'🌕',fitzpatrick_scale:false,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:'🌖',fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌗',fitzpatrick_scale:false,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌘',fitzpatrick_scale:false,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌑',fitzpatrick_scale:false,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌒',fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌓',fitzpatrick_scale:false,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:'🌔',fitzpatrick_scale:false,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌚',fitzpatrick_scale:false,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌝',fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌛',fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌜',fitzpatrick_scale:false,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:'🌞',fitzpatrick_scale:false,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:'🌙',fitzpatrick_scale:false,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:'⭐',fitzpatrick_scale:false,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:'🌟',fitzpatrick_scale:false,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:'💫',fitzpatrick_scale:false,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:'✨',fitzpatrick_scale:false,category:"animals_and_nature"},comet:{keywords:["space"],char:'☄',fitzpatrick_scale:false,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:'☀️',fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:'🌤',fitzpatrick_scale:false,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:'⛅',fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:'🌥',fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:'🌦',fitzpatrick_scale:false,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:'☁️',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:'🌧',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:'⛈',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:'🌩',fitzpatrick_scale:false,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:'⚡',fitzpatrick_scale:false,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:'🔥',fitzpatrick_scale:false,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:'💥',fitzpatrick_scale:false,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:'❄️',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:'🌨',fitzpatrick_scale:false,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:'⛄',fitzpatrick_scale:false,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:'☃',fitzpatrick_scale:false,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:'🌬',fitzpatrick_scale:false,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:'💨',fitzpatrick_scale:false,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:'🌪',fitzpatrick_scale:false,category:"animals_and_nature"},fog:{keywords:["weather"],char:'🌫',fitzpatrick_scale:false,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:'☂',fitzpatrick_scale:false,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:'☔',fitzpatrick_scale:false,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:'💧',fitzpatrick_scale:false,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:'💦',fitzpatrick_scale:false,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:'🌊',fitzpatrick_scale:false,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:'🍏',fitzpatrick_scale:false,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:'🍎',fitzpatrick_scale:false,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:'🍐',fitzpatrick_scale:false,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:'🍊',fitzpatrick_scale:false,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:'🍋',fitzpatrick_scale:false,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:'🍌',fitzpatrick_scale:false,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:'🍉',fitzpatrick_scale:false,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:'🍇',fitzpatrick_scale:false,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:'🍓',fitzpatrick_scale:false,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:'🍈',fitzpatrick_scale:false,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:'🍒',fitzpatrick_scale:false,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:'🍑',fitzpatrick_scale:false,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:'🍍',fitzpatrick_scale:false,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:'🥥',fitzpatrick_scale:false,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:'🥝',fitzpatrick_scale:false,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:'🥭',fitzpatrick_scale:false,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:'🥑',fitzpatrick_scale:false,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:'🥦',fitzpatrick_scale:false,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:'🍅',fitzpatrick_scale:false,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:'🍆',fitzpatrick_scale:false,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:'🥒',fitzpatrick_scale:false,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:'🥕',fitzpatrick_scale:false,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:'🌶',fitzpatrick_scale:false,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:'🥔',fitzpatrick_scale:false,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:'🌽',fitzpatrick_scale:false,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:'🥬',fitzpatrick_scale:false,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:'🍠',fitzpatrick_scale:false,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:'🥜',fitzpatrick_scale:false,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:'🍯',fitzpatrick_scale:false,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:'🥐',fitzpatrick_scale:false,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:'🍞',fitzpatrick_scale:false,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:'🥖',fitzpatrick_scale:false,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:'🥯',fitzpatrick_scale:false,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:'🥨',fitzpatrick_scale:false,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:'🧀',fitzpatrick_scale:false,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:'🥚',fitzpatrick_scale:false,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:'🥓',fitzpatrick_scale:false,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:'🥩',fitzpatrick_scale:false,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:'🥞',fitzpatrick_scale:false,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:'🍗',fitzpatrick_scale:false,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:'🍖',fitzpatrick_scale:false,category:"food_and_drink"},bone:{keywords:["skeleton"],char:'🦴',fitzpatrick_scale:false,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:'🍤',fitzpatrick_scale:false,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:'🍳',fitzpatrick_scale:false,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:'🍔',fitzpatrick_scale:false,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:'🍟',fitzpatrick_scale:false,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:'🥙',fitzpatrick_scale:false,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:'🌭',fitzpatrick_scale:false,category:"food_and_drink"},pizza:{keywords:["food","party"],char:'🍕',fitzpatrick_scale:false,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:'🥪',fitzpatrick_scale:false,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:'🥫',fitzpatrick_scale:false,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:'🍝',fitzpatrick_scale:false,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:'🌮',fitzpatrick_scale:false,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:'🌯',fitzpatrick_scale:false,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:'🥗',fitzpatrick_scale:false,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:'🥘',fitzpatrick_scale:false,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:'🍜',fitzpatrick_scale:false,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:'🍲',fitzpatrick_scale:false,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:'🍥',fitzpatrick_scale:false,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:'🥠',fitzpatrick_scale:false,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:'🍣',fitzpatrick_scale:false,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:'🍱',fitzpatrick_scale:false,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:'🍛',fitzpatrick_scale:false,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:'🍙',fitzpatrick_scale:false,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:'🍚',fitzpatrick_scale:false,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:'🍘',fitzpatrick_scale:false,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:'🍢',fitzpatrick_scale:false,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:'🍡',fitzpatrick_scale:false,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:'🍧',fitzpatrick_scale:false,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:'🍨',fitzpatrick_scale:false,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:'🍦',fitzpatrick_scale:false,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:'🥧',fitzpatrick_scale:false,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:'🍰',fitzpatrick_scale:false,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:'🧁',fitzpatrick_scale:false,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:'🥮',fitzpatrick_scale:false,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:'🎂',fitzpatrick_scale:false,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:'🍮',fitzpatrick_scale:false,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:'🍬',fitzpatrick_scale:false,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:'🍭',fitzpatrick_scale:false,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:'🍫',fitzpatrick_scale:false,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:'🍿',fitzpatrick_scale:false,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:'🥟',fitzpatrick_scale:false,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:'🍩',fitzpatrick_scale:false,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:'🍪',fitzpatrick_scale:false,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:'🥛',fitzpatrick_scale:false,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'🍺',fitzpatrick_scale:false,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'🍻',fitzpatrick_scale:false,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:'🥂',fitzpatrick_scale:false,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:'🍷',fitzpatrick_scale:false,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:'🥃',fitzpatrick_scale:false,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:'🍸',fitzpatrick_scale:false,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:'🍹',fitzpatrick_scale:false,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:'🍾',fitzpatrick_scale:false,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:'🍶',fitzpatrick_scale:false,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:'🍵',fitzpatrick_scale:false,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:'🥤',fitzpatrick_scale:false,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:'☕',fitzpatrick_scale:false,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:'🍼',fitzpatrick_scale:false,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:'🧂',fitzpatrick_scale:false,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:'🥄',fitzpatrick_scale:false,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:'🍴',fitzpatrick_scale:false,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:'🍽',fitzpatrick_scale:false,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:'🥣',fitzpatrick_scale:false,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:'🥡',fitzpatrick_scale:false,category:"food_and_drink"},chopsticks:{keywords:["food"],char:'🥢',fitzpatrick_scale:false,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:'⚽',fitzpatrick_scale:false,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:'🏀',fitzpatrick_scale:false,category:"activity"},football:{keywords:["sports","balls","NFL"],char:'🏈',fitzpatrick_scale:false,category:"activity"},baseball:{keywords:["sports","balls"],char:'⚾',fitzpatrick_scale:false,category:"activity"},softball:{keywords:["sports","balls"],char:'🥎',fitzpatrick_scale:false,category:"activity"},tennis:{keywords:["sports","balls","green"],char:'🎾',fitzpatrick_scale:false,category:"activity"},volleyball:{keywords:["sports","balls"],char:'🏐',fitzpatrick_scale:false,category:"activity"},rugby_football:{keywords:["sports","team"],char:'🏉',fitzpatrick_scale:false,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:'🥏',fitzpatrick_scale:false,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:'🎱',fitzpatrick_scale:false,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:'⛳',fitzpatrick_scale:false,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:'🏌️‍♀️',fitzpatrick_scale:false,category:"activity"},golfing_man:{keywords:["sports","business"],char:'🏌',fitzpatrick_scale:true,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:'🏓',fitzpatrick_scale:false,category:"activity"},badminton:{keywords:["sports"],char:'🏸',fitzpatrick_scale:false,category:"activity"},goal_net:{keywords:["sports"],char:'🥅',fitzpatrick_scale:false,category:"activity"},ice_hockey:{keywords:["sports"],char:'🏒',fitzpatrick_scale:false,category:"activity"},field_hockey:{keywords:["sports"],char:'🏑',fitzpatrick_scale:false,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:'🥍',fitzpatrick_scale:false,category:"activity"},cricket:{keywords:["sports"],char:'🏏',fitzpatrick_scale:false,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:'🎿',fitzpatrick_scale:false,category:"activity"},skier:{keywords:["sports","winter","snow"],char:'⛷',fitzpatrick_scale:false,category:"activity"},snowboarder:{keywords:["sports","winter"],char:'🏂',fitzpatrick_scale:true,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:'🤺',fitzpatrick_scale:false,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:'🤼‍♀️',fitzpatrick_scale:false,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:'🤼‍♂️',fitzpatrick_scale:false,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:'🤸‍♀️',fitzpatrick_scale:true,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:'🤸‍♂️',fitzpatrick_scale:true,category:"activity"},woman_playing_handball:{keywords:["sports"],char:'🤾‍♀️',fitzpatrick_scale:true,category:"activity"},man_playing_handball:{keywords:["sports"],char:'🤾‍♂️',fitzpatrick_scale:true,category:"activity"},ice_skate:{keywords:["sports"],char:'⛸',fitzpatrick_scale:false,category:"activity"},curling_stone:{keywords:["sports"],char:'🥌',fitzpatrick_scale:false,category:"activity"},skateboard:{keywords:["board"],char:'🛹',fitzpatrick_scale:false,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:'🛷',fitzpatrick_scale:false,category:"activity"},bow_and_arrow:{keywords:["sports"],char:'🏹',fitzpatrick_scale:false,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:'🎣',fitzpatrick_scale:false,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:'🥊',fitzpatrick_scale:false,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:'🥋',fitzpatrick_scale:false,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:'🚣‍♀️',fitzpatrick_scale:true,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:'🚣',fitzpatrick_scale:true,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:'🧗‍♀️',fitzpatrick_scale:true,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:'🧗‍♂️',fitzpatrick_scale:true,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:'🏊‍♀️',fitzpatrick_scale:true,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:'🏊',fitzpatrick_scale:true,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:'🤽‍♀️',fitzpatrick_scale:true,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:'🤽‍♂️',fitzpatrick_scale:true,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:'🧘‍♀️',fitzpatrick_scale:true,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:'🧘‍♂️',fitzpatrick_scale:true,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:'🏄‍♀️',fitzpatrick_scale:true,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:'🏄',fitzpatrick_scale:true,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:'🛀',fitzpatrick_scale:true,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:'⛹️‍♀️',fitzpatrick_scale:true,category:"activity"},basketball_man:{keywords:["sports","human"],char:'⛹',fitzpatrick_scale:true,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:'🏋️‍♀️',fitzpatrick_scale:true,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:'🏋',fitzpatrick_scale:true,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:'🚴‍♀️',fitzpatrick_scale:true,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:'🚴',fitzpatrick_scale:true,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:'🚵‍♀️',fitzpatrick_scale:true,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:'🚵',fitzpatrick_scale:true,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:'🏇',fitzpatrick_scale:true,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:'🕴',fitzpatrick_scale:true,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:'🏆',fitzpatrick_scale:false,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:'🎽',fitzpatrick_scale:false,category:"activity"},medal_sports:{keywords:["award","winning"],char:'🏅',fitzpatrick_scale:false,category:"activity"},medal_military:{keywords:["award","winning","army"],char:'🎖',fitzpatrick_scale:false,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:'🥇',fitzpatrick_scale:false,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:'🥈',fitzpatrick_scale:false,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:'🥉',fitzpatrick_scale:false,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:'🎗',fitzpatrick_scale:false,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:'🏵',fitzpatrick_scale:false,category:"activity"},ticket:{keywords:["event","concert","pass"],char:'🎫',fitzpatrick_scale:false,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:'🎟',fitzpatrick_scale:false,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:'🎭',fitzpatrick_scale:false,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:'🎨',fitzpatrick_scale:false,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:'🎪',fitzpatrick_scale:false,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:'🤹‍♀️',fitzpatrick_scale:true,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:'🤹‍♂️',fitzpatrick_scale:true,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:'🎤',fitzpatrick_scale:false,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:'🎧',fitzpatrick_scale:false,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:'🎼',fitzpatrick_scale:false,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:'🎹',fitzpatrick_scale:false,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:'🥁',fitzpatrick_scale:false,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:'🎷',fitzpatrick_scale:false,category:"activity"},trumpet:{keywords:["music","brass"],char:'🎺',fitzpatrick_scale:false,category:"activity"},guitar:{keywords:["music","instrument"],char:'🎸',fitzpatrick_scale:false,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:'🎻',fitzpatrick_scale:false,category:"activity"},clapper:{keywords:["movie","film","record"],char:'🎬',fitzpatrick_scale:false,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:'🎮',fitzpatrick_scale:false,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:'👾',fitzpatrick_scale:false,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:'🎯',fitzpatrick_scale:false,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:'🎲',fitzpatrick_scale:false,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:false,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:'🎰',fitzpatrick_scale:false,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:'🧩',fitzpatrick_scale:false,category:"activity"},bowling:{keywords:["sports","fun","play"],char:'🎳',fitzpatrick_scale:false,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:'🚗',fitzpatrick_scale:false,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:'🚕',fitzpatrick_scale:false,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:'🚙',fitzpatrick_scale:false,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:'🚌',fitzpatrick_scale:false,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:'🚎',fitzpatrick_scale:false,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:'🏎',fitzpatrick_scale:false,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:'🚓',fitzpatrick_scale:false,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:'🚑',fitzpatrick_scale:false,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:'🚒',fitzpatrick_scale:false,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:'🚐',fitzpatrick_scale:false,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:'🚚',fitzpatrick_scale:false,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:'🚛',fitzpatrick_scale:false,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:'🚜',fitzpatrick_scale:false,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:'🛴',fitzpatrick_scale:false,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:'🏍',fitzpatrick_scale:false,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:'🚲',fitzpatrick_scale:false,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:'🛵',fitzpatrick_scale:false,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:'🚨',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:'🚔',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:'🚍',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:'🚘',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:'🚖',fitzpatrick_scale:false,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:'🚡',fitzpatrick_scale:false,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:'🚠',fitzpatrick_scale:false,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:'🚟',fitzpatrick_scale:false,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:'🚃',fitzpatrick_scale:false,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:'🚋',fitzpatrick_scale:false,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:'🚝',fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:'🚄',fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:'🚅',fitzpatrick_scale:false,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:'🚈',fitzpatrick_scale:false,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:'🚞',fitzpatrick_scale:false,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:'🚂',fitzpatrick_scale:false,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:'🚆',fitzpatrick_scale:false,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:'🚇',fitzpatrick_scale:false,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:'🚊',fitzpatrick_scale:false,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:'🚉',fitzpatrick_scale:false,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:'🛸',fitzpatrick_scale:false,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:'🚁',fitzpatrick_scale:false,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:'🛩',fitzpatrick_scale:false,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:'✈️',fitzpatrick_scale:false,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:'🛫',fitzpatrick_scale:false,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:'🛬',fitzpatrick_scale:false,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:'⛵',fitzpatrick_scale:false,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:'🛥',fitzpatrick_scale:false,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:'🚤',fitzpatrick_scale:false,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:'⛴',fitzpatrick_scale:false,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:'🛳',fitzpatrick_scale:false,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:'🚀',fitzpatrick_scale:false,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:'🛰',fitzpatrick_scale:false,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:'💺',fitzpatrick_scale:false,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:'🛶',fitzpatrick_scale:false,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:'⚓',fitzpatrick_scale:false,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:'🚧',fitzpatrick_scale:false,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:'⛽',fitzpatrick_scale:false,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:'🚏',fitzpatrick_scale:false,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:'🚦',fitzpatrick_scale:false,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:'🚥',fitzpatrick_scale:false,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:'🏁',fitzpatrick_scale:false,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:'🚢',fitzpatrick_scale:false,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:'🎡',fitzpatrick_scale:false,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:'🎢',fitzpatrick_scale:false,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:'🎠',fitzpatrick_scale:false,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:'🏗',fitzpatrick_scale:false,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:'🌁',fitzpatrick_scale:false,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:'🗼',fitzpatrick_scale:false,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:'🏭',fitzpatrick_scale:false,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:'⛲',fitzpatrick_scale:false,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:'🎑',fitzpatrick_scale:false,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:'⛰',fitzpatrick_scale:false,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:'🏔',fitzpatrick_scale:false,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:'🗻',fitzpatrick_scale:false,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:'🌋',fitzpatrick_scale:false,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:'🗾',fitzpatrick_scale:false,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:'🏕',fitzpatrick_scale:false,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:'⛺',fitzpatrick_scale:false,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:'🏞',fitzpatrick_scale:false,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:'🛣',fitzpatrick_scale:false,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:'🛤',fitzpatrick_scale:false,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:'🌅',fitzpatrick_scale:false,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:'🌄',fitzpatrick_scale:false,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:'🏜',fitzpatrick_scale:false,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:'🏖',fitzpatrick_scale:false,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:'🏝',fitzpatrick_scale:false,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:'🌇',fitzpatrick_scale:false,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:'🌆',fitzpatrick_scale:false,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:'🏙',fitzpatrick_scale:false,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:'🌃',fitzpatrick_scale:false,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:'🌉',fitzpatrick_scale:false,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:'🌌',fitzpatrick_scale:false,category:"travel_and_places"},stars:{keywords:["night","photo"],char:'🌠',fitzpatrick_scale:false,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:'🎇',fitzpatrick_scale:false,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:'🎆',fitzpatrick_scale:false,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:'🌈',fitzpatrick_scale:false,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:'🏘',fitzpatrick_scale:false,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:'🏰',fitzpatrick_scale:false,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:'🏯',fitzpatrick_scale:false,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:'🏟',fitzpatrick_scale:false,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:'🗽',fitzpatrick_scale:false,category:"travel_and_places"},house:{keywords:["building","home"],char:'🏠',fitzpatrick_scale:false,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:'🏡',fitzpatrick_scale:false,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:'🏚',fitzpatrick_scale:false,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:'🏢',fitzpatrick_scale:false,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:'🏬',fitzpatrick_scale:false,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:'🏣',fitzpatrick_scale:false,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:'🏤',fitzpatrick_scale:false,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:'🏥',fitzpatrick_scale:false,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:'🏦',fitzpatrick_scale:false,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:'🏨',fitzpatrick_scale:false,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:'🏪',fitzpatrick_scale:false,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:'🏫',fitzpatrick_scale:false,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:'🏩',fitzpatrick_scale:false,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:'💒',fitzpatrick_scale:false,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:'🏛',fitzpatrick_scale:false,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:'⛪',fitzpatrick_scale:false,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:'🕌',fitzpatrick_scale:false,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:'🕍',fitzpatrick_scale:false,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:'🕋',fitzpatrick_scale:false,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:'⛩',fitzpatrick_scale:false,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:'⌚',fitzpatrick_scale:false,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:'📱',fitzpatrick_scale:false,category:"objects"},calling:{keywords:["iphone","incoming"],char:'📲',fitzpatrick_scale:false,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:'💻',fitzpatrick_scale:false,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:'⌨',fitzpatrick_scale:false,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:'🖥',fitzpatrick_scale:false,category:"objects"},printer:{keywords:["paper","ink"],char:'🖨',fitzpatrick_scale:false,category:"objects"},computer_mouse:{keywords:["click"],char:'🖱',fitzpatrick_scale:false,category:"objects"},trackball:{keywords:["technology","trackpad"],char:'🖲',fitzpatrick_scale:false,category:"objects"},joystick:{keywords:["game","play"],char:'🕹',fitzpatrick_scale:false,category:"objects"},clamp:{keywords:["tool"],char:'🗜',fitzpatrick_scale:false,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:'💽',fitzpatrick_scale:false,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:'💾',fitzpatrick_scale:false,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:'💿',fitzpatrick_scale:false,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:'📀',fitzpatrick_scale:false,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:'📼',fitzpatrick_scale:false,category:"objects"},camera:{keywords:["gadgets","photography"],char:'📷',fitzpatrick_scale:false,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:'📸',fitzpatrick_scale:false,category:"objects"},video_camera:{keywords:["film","record"],char:'📹',fitzpatrick_scale:false,category:"objects"},movie_camera:{keywords:["film","record"],char:'🎥',fitzpatrick_scale:false,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:'📽',fitzpatrick_scale:false,category:"objects"},film_strip:{keywords:["movie"],char:'🎞',fitzpatrick_scale:false,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:'📞',fitzpatrick_scale:false,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:'☎️',fitzpatrick_scale:false,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:'📟',fitzpatrick_scale:false,category:"objects"},fax:{keywords:["communication","technology"],char:'📠',fitzpatrick_scale:false,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:'📺',fitzpatrick_scale:false,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:'📻',fitzpatrick_scale:false,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:'🎙',fitzpatrick_scale:false,category:"objects"},level_slider:{keywords:["scale"],char:'🎚',fitzpatrick_scale:false,category:"objects"},control_knobs:{keywords:["dial"],char:'🎛',fitzpatrick_scale:false,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:'🧭',fitzpatrick_scale:false,category:"objects"},stopwatch:{keywords:["time","deadline"],char:'⏱',fitzpatrick_scale:false,category:"objects"},timer_clock:{keywords:["alarm"],char:'⏲',fitzpatrick_scale:false,category:"objects"},alarm_clock:{keywords:["time","wake"],char:'⏰',fitzpatrick_scale:false,category:"objects"},mantelpiece_clock:{keywords:["time"],char:'🕰',fitzpatrick_scale:false,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:'⏳',fitzpatrick_scale:false,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:'⌛',fitzpatrick_scale:false,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:'📡',fitzpatrick_scale:false,category:"objects"},battery:{keywords:["power","energy","sustain"],char:'🔋',fitzpatrick_scale:false,category:"objects"},electric_plug:{keywords:["charger","power"],char:'🔌',fitzpatrick_scale:false,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:'💡',fitzpatrick_scale:false,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:'🔦',fitzpatrick_scale:false,category:"objects"},candle:{keywords:["fire","wax"],char:'🕯',fitzpatrick_scale:false,category:"objects"},fire_extinguisher:{keywords:["quench"],char:'🧯',fitzpatrick_scale:false,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:'🗑',fitzpatrick_scale:false,category:"objects"},oil_drum:{keywords:["barrell"],char:'🛢',fitzpatrick_scale:false,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:'💸',fitzpatrick_scale:false,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:'💵',fitzpatrick_scale:false,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:'💴',fitzpatrick_scale:false,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:'💶',fitzpatrick_scale:false,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:'💷',fitzpatrick_scale:false,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:'💰',fitzpatrick_scale:false,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:'💳',fitzpatrick_scale:false,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:'💎',fitzpatrick_scale:false,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:'⚖',fitzpatrick_scale:false,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:'🧰',fitzpatrick_scale:false,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:'🔧',fitzpatrick_scale:false,category:"objects"},hammer:{keywords:["tools","build","create"],char:'🔨',fitzpatrick_scale:false,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:'⚒',fitzpatrick_scale:false,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:'🛠',fitzpatrick_scale:false,category:"objects"},pick:{keywords:["tools","dig"],char:'⛏',fitzpatrick_scale:false,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:'🔩',fitzpatrick_scale:false,category:"objects"},gear:{keywords:["cog"],char:'⚙',fitzpatrick_scale:false,category:"objects"},brick:{keywords:["bricks"],char:'🧱',fitzpatrick_scale:false,category:"objects"},chains:{keywords:["lock","arrest"],char:'⛓',fitzpatrick_scale:false,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:'🧲',fitzpatrick_scale:false,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:'🔫',fitzpatrick_scale:false,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:'💣',fitzpatrick_scale:false,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:'🧨',fitzpatrick_scale:false,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:'🔪',fitzpatrick_scale:false,category:"objects"},dagger:{keywords:["weapon"],char:'🗡',fitzpatrick_scale:false,category:"objects"},crossed_swords:{keywords:["weapon"],char:'⚔',fitzpatrick_scale:false,category:"objects"},shield:{keywords:["protection","security"],char:'🛡',fitzpatrick_scale:false,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:'🚬',fitzpatrick_scale:false,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:'☠',fitzpatrick_scale:false,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:'⚰',fitzpatrick_scale:false,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:'⚱',fitzpatrick_scale:false,category:"objects"},amphora:{keywords:["vase","jar"],char:'🏺',fitzpatrick_scale:false,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:'🔮',fitzpatrick_scale:false,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:'📿',fitzpatrick_scale:false,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:'🧿',fitzpatrick_scale:false,category:"objects"},barber:{keywords:["hair","salon","style"],char:'💈',fitzpatrick_scale:false,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:'⚗',fitzpatrick_scale:false,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:'🔭',fitzpatrick_scale:false,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:'🔬',fitzpatrick_scale:false,category:"objects"},hole:{keywords:["embarrassing"],char:'🕳',fitzpatrick_scale:false,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:'💊',fitzpatrick_scale:false,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:'💉',fitzpatrick_scale:false,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:'🧬',fitzpatrick_scale:false,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:'🦠',fitzpatrick_scale:false,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:'🧫',fitzpatrick_scale:false,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:'🧪',fitzpatrick_scale:false,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:'🌡',fitzpatrick_scale:false,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:'🧹',fitzpatrick_scale:false,category:"objects"},basket:{keywords:["laundry"],char:'🧺',fitzpatrick_scale:false,category:"objects"},toilet_paper:{keywords:["roll"],char:'🧻',fitzpatrick_scale:false,category:"objects"},label:{keywords:["sale","tag"],char:'🏷',fitzpatrick_scale:false,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:'🔖',fitzpatrick_scale:false,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:'🚽',fitzpatrick_scale:false,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:'🚿',fitzpatrick_scale:false,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:'🛁',fitzpatrick_scale:false,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:'🧼',fitzpatrick_scale:false,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:'🧽',fitzpatrick_scale:false,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:'🧴',fitzpatrick_scale:false,category:"objects"},key:{keywords:["lock","door","password"],char:'🔑',fitzpatrick_scale:false,category:"objects"},old_key:{keywords:["lock","door","password"],char:'🗝',fitzpatrick_scale:false,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:'🛋',fitzpatrick_scale:false,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:'🛌',fitzpatrick_scale:true,category:"objects"},bed:{keywords:["sleep","rest"],char:'🛏',fitzpatrick_scale:false,category:"objects"},door:{keywords:["house","entry","exit"],char:'🚪',fitzpatrick_scale:false,category:"objects"},bellhop_bell:{keywords:["service"],char:'🛎',fitzpatrick_scale:false,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:'🧸',fitzpatrick_scale:false,category:"objects"},framed_picture:{keywords:["photography"],char:'🖼',fitzpatrick_scale:false,category:"objects"},world_map:{keywords:["location","direction"],char:'🗺',fitzpatrick_scale:false,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:'⛱',fitzpatrick_scale:false,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:'🗿',fitzpatrick_scale:false,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:'🛍',fitzpatrick_scale:false,category:"objects"},shopping_cart:{keywords:["trolley"],char:'🛒',fitzpatrick_scale:false,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:'🎈',fitzpatrick_scale:false,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:'🎏',fitzpatrick_scale:false,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:'🎀',fitzpatrick_scale:false,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:'🎁',fitzpatrick_scale:false,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:'🎊',fitzpatrick_scale:false,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:'🎉',fitzpatrick_scale:false,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:'🎎',fitzpatrick_scale:false,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:'🎐',fitzpatrick_scale:false,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:'🎌',fitzpatrick_scale:false,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:'🏮',fitzpatrick_scale:false,category:"objects"},red_envelope:{keywords:["gift"],char:'🧧',fitzpatrick_scale:false,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:'✉️',fitzpatrick_scale:false,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:'📩',fitzpatrick_scale:false,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:'📨',fitzpatrick_scale:false,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:'📧',fitzpatrick_scale:false,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:'💌',fitzpatrick_scale:false,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:'📮',fitzpatrick_scale:false,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:'📪',fitzpatrick_scale:false,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:'📫',fitzpatrick_scale:false,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:'📬',fitzpatrick_scale:false,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:'📭',fitzpatrick_scale:false,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:'📦',fitzpatrick_scale:false,category:"objects"},postal_horn:{keywords:["instrument","music"],char:'📯',fitzpatrick_scale:false,category:"objects"},inbox_tray:{keywords:["email","documents"],char:'📥',fitzpatrick_scale:false,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:'📤',fitzpatrick_scale:false,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:'📜',fitzpatrick_scale:false,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:'📃',fitzpatrick_scale:false,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:'📑',fitzpatrick_scale:false,category:"objects"},receipt:{keywords:["accounting","expenses"],char:'🧾',fitzpatrick_scale:false,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:'📊',fitzpatrick_scale:false,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:'📈',fitzpatrick_scale:false,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:'📉',fitzpatrick_scale:false,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:'📄',fitzpatrick_scale:false,category:"objects"},date:{keywords:["calendar","schedule"],char:'📅',fitzpatrick_scale:false,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:'📆',fitzpatrick_scale:false,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:'🗓',fitzpatrick_scale:false,category:"objects"},card_index:{keywords:["business","stationery"],char:'📇',fitzpatrick_scale:false,category:"objects"},card_file_box:{keywords:["business","stationery"],char:'🗃',fitzpatrick_scale:false,category:"objects"},ballot_box:{keywords:["election","vote"],char:'🗳',fitzpatrick_scale:false,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:'🗄',fitzpatrick_scale:false,category:"objects"},clipboard:{keywords:["stationery","documents"],char:'📋',fitzpatrick_scale:false,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:'🗒',fitzpatrick_scale:false,category:"objects"},file_folder:{keywords:["documents","business","office"],char:'📁',fitzpatrick_scale:false,category:"objects"},open_file_folder:{keywords:["documents","load"],char:'📂',fitzpatrick_scale:false,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:'🗂',fitzpatrick_scale:false,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:'🗞',fitzpatrick_scale:false,category:"objects"},newspaper:{keywords:["press","headline"],char:'📰',fitzpatrick_scale:false,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:'📓',fitzpatrick_scale:false,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:'📕',fitzpatrick_scale:false,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:'📗',fitzpatrick_scale:false,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:'📘',fitzpatrick_scale:false,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:'📙',fitzpatrick_scale:false,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:'📔',fitzpatrick_scale:false,category:"objects"},ledger:{keywords:["notes","paper"],char:'📒',fitzpatrick_scale:false,category:"objects"},books:{keywords:["literature","library","study"],char:'📚',fitzpatrick_scale:false,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:'📖',fitzpatrick_scale:false,category:"objects"},safety_pin:{keywords:["diaper"],char:'🧷',fitzpatrick_scale:false,category:"objects"},link:{keywords:["rings","url"],char:'🔗',fitzpatrick_scale:false,category:"objects"},paperclip:{keywords:["documents","stationery"],char:'📎',fitzpatrick_scale:false,category:"objects"},paperclips:{keywords:["documents","stationery"],char:'🖇',fitzpatrick_scale:false,category:"objects"},scissors:{keywords:["stationery","cut"],char:'✂️',fitzpatrick_scale:false,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:'📐',fitzpatrick_scale:false,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:'📏',fitzpatrick_scale:false,category:"objects"},abacus:{keywords:["calculation"],char:'🧮',fitzpatrick_scale:false,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:'📌',fitzpatrick_scale:false,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:'📍',fitzpatrick_scale:false,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:'🚩',fitzpatrick_scale:false,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:'🏳',fitzpatrick_scale:false,category:"objects"},black_flag:{keywords:["pirate"],char:'🏴',fitzpatrick_scale:false,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:'🏳️‍🌈',fitzpatrick_scale:false,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:'🔐',fitzpatrick_scale:false,category:"objects"},lock:{keywords:["security","password","padlock"],char:'🔒',fitzpatrick_scale:false,category:"objects"},unlock:{keywords:["privacy","security"],char:'🔓',fitzpatrick_scale:false,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:'🔏',fitzpatrick_scale:false,category:"objects"},pen:{keywords:["stationery","writing","write"],char:'🖊',fitzpatrick_scale:false,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:'🖋',fitzpatrick_scale:false,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:'✒️',fitzpatrick_scale:false,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:'📝',fitzpatrick_scale:false,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:'✏️',fitzpatrick_scale:false,category:"objects"},crayon:{keywords:["drawing","creativity"],char:'🖍',fitzpatrick_scale:false,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:'🖌',fitzpatrick_scale:false,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:'🔍',fitzpatrick_scale:false,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:'🔎',fitzpatrick_scale:false,category:"objects"},heart:{keywords:["love","like","valentines"],char:'❤️',fitzpatrick_scale:false,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:'🧡',fitzpatrick_scale:false,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:'💛',fitzpatrick_scale:false,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:'💚',fitzpatrick_scale:false,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:'💙',fitzpatrick_scale:false,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:'💜',fitzpatrick_scale:false,category:"symbols"},black_heart:{keywords:["evil"],char:'🖤',fitzpatrick_scale:false,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:'💔',fitzpatrick_scale:false,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:'❣',fitzpatrick_scale:false,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:'💕',fitzpatrick_scale:false,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:'💞',fitzpatrick_scale:false,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:'💓',fitzpatrick_scale:false,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:'💗',fitzpatrick_scale:false,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:'💖',fitzpatrick_scale:false,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:'💘',fitzpatrick_scale:false,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:'💝',fitzpatrick_scale:false,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:'💟',fitzpatrick_scale:false,category:"symbols"},peace_symbol:{keywords:["hippie"],char:'☮',fitzpatrick_scale:false,category:"symbols"},latin_cross:{keywords:["christianity"],char:'✝',fitzpatrick_scale:false,category:"symbols"},star_and_crescent:{keywords:["islam"],char:'☪',fitzpatrick_scale:false,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'🕉',fitzpatrick_scale:false,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'☸',fitzpatrick_scale:false,category:"symbols"},star_of_david:{keywords:["judaism"],char:'✡',fitzpatrick_scale:false,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:'🔯',fitzpatrick_scale:false,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:'🕎',fitzpatrick_scale:false,category:"symbols"},yin_yang:{keywords:["balance"],char:'☯',fitzpatrick_scale:false,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:'☦',fitzpatrick_scale:false,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:'🛐',fitzpatrick_scale:false,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:'⛎',fitzpatrick_scale:false,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:'♈',fitzpatrick_scale:false,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:'♉',fitzpatrick_scale:false,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:'♊',fitzpatrick_scale:false,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:'♋',fitzpatrick_scale:false,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:'♌',fitzpatrick_scale:false,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:'♍',fitzpatrick_scale:false,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:'♎',fitzpatrick_scale:false,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:'♏',fitzpatrick_scale:false,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:'♐',fitzpatrick_scale:false,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:'♑',fitzpatrick_scale:false,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:'♒',fitzpatrick_scale:false,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:'♓',fitzpatrick_scale:false,category:"symbols"},id:{keywords:["purple-square","words"],char:'🆔',fitzpatrick_scale:false,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:'⚛',fitzpatrick_scale:false,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:'🈳',fitzpatrick_scale:false,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:'🈹',fitzpatrick_scale:false,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:'☢',fitzpatrick_scale:false,category:"symbols"},biohazard:{keywords:["danger"],char:'☣',fitzpatrick_scale:false,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:'📴',fitzpatrick_scale:false,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:'📳',fitzpatrick_scale:false,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:'🈶',fitzpatrick_scale:false,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:'🈚',fitzpatrick_scale:false,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:'🈸',fitzpatrick_scale:false,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:'🈺',fitzpatrick_scale:false,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:'🈷️',fitzpatrick_scale:false,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:'✴️',fitzpatrick_scale:false,category:"symbols"},vs:{keywords:["words","orange-square"],char:'🆚',fitzpatrick_scale:false,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:'🉑',fitzpatrick_scale:false,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:'💮',fitzpatrick_scale:false,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:'🉐',fitzpatrick_scale:false,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:'㊙️',fitzpatrick_scale:false,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:'㊗️',fitzpatrick_scale:false,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:'🈴',fitzpatrick_scale:false,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:'🈵',fitzpatrick_scale:false,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:'🈲',fitzpatrick_scale:false,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:'🅰️',fitzpatrick_scale:false,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:'🅱️',fitzpatrick_scale:false,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:'🆎',fitzpatrick_scale:false,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:'🆑',fitzpatrick_scale:false,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:'🅾️',fitzpatrick_scale:false,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:'🆘',fitzpatrick_scale:false,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:'⛔',fitzpatrick_scale:false,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:'📛',fitzpatrick_scale:false,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:'🚫',fitzpatrick_scale:false,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:'❌',fitzpatrick_scale:false,category:"symbols"},o:{keywords:["circle","round"],char:'⭕',fitzpatrick_scale:false,category:"symbols"},stop_sign:{keywords:["stop"],char:'🛑',fitzpatrick_scale:false,category:"symbols"},anger:{keywords:["angry","mad"],char:'💢',fitzpatrick_scale:false,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:'♨️',fitzpatrick_scale:false,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:'🚷',fitzpatrick_scale:false,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:'🚯',fitzpatrick_scale:false,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:'🚳',fitzpatrick_scale:false,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:'🚱',fitzpatrick_scale:false,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:'🔞',fitzpatrick_scale:false,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:'📵',fitzpatrick_scale:false,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:'❗',fitzpatrick_scale:false,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:'❕',fitzpatrick_scale:false,category:"symbols"},question:{keywords:["doubt","confused"],char:'❓',fitzpatrick_scale:false,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:'❔',fitzpatrick_scale:false,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:'‼️',fitzpatrick_scale:false,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:'⁉️',fitzpatrick_scale:false,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:'🔅',fitzpatrick_scale:false,category:"symbols"},high_brightness:{keywords:["sun","light"],char:'🔆',fitzpatrick_scale:false,category:"symbols"},trident:{keywords:["weapon","spear"],char:'🔱',fitzpatrick_scale:false,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:'⚜',fitzpatrick_scale:false,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:'〽️',fitzpatrick_scale:false,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:'⚠️',fitzpatrick_scale:false,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:'🚸',fitzpatrick_scale:false,category:"symbols"},beginner:{keywords:["badge","shield"],char:'🔰',fitzpatrick_scale:false,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:'♻️',fitzpatrick_scale:false,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:'🈯',fitzpatrick_scale:false,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:'💹',fitzpatrick_scale:false,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:'❇️',fitzpatrick_scale:false,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:'✳️',fitzpatrick_scale:false,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:'❎',fitzpatrick_scale:false,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:'✅',fitzpatrick_scale:false,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:'💠',fitzpatrick_scale:false,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:'🌀',fitzpatrick_scale:false,category:"symbols"},loop:{keywords:["tape","cassette"],char:'➿',fitzpatrick_scale:false,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:'🌐',fitzpatrick_scale:false,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:'Ⓜ️',fitzpatrick_scale:false,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:'🏧',fitzpatrick_scale:false,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:'🈂️',fitzpatrick_scale:false,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:'🛂',fitzpatrick_scale:false,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:'🛃',fitzpatrick_scale:false,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:'🛄',fitzpatrick_scale:false,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:'🛅',fitzpatrick_scale:false,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:'♿',fitzpatrick_scale:false,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:'🚭',fitzpatrick_scale:false,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:'🚾',fitzpatrick_scale:false,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:'🅿️',fitzpatrick_scale:false,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:'🚰',fitzpatrick_scale:false,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:'🚹',fitzpatrick_scale:false,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:'🚺',fitzpatrick_scale:false,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:'🚼',fitzpatrick_scale:false,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:'🚻',fitzpatrick_scale:false,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:'🚮',fitzpatrick_scale:false,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:'🎦',fitzpatrick_scale:false,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:'📶',fitzpatrick_scale:false,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:'🈁',fitzpatrick_scale:false,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:'🆖',fitzpatrick_scale:false,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:'🆗',fitzpatrick_scale:false,category:"symbols"},up:{keywords:["blue-square","above","high"],char:'🆙',fitzpatrick_scale:false,category:"symbols"},cool:{keywords:["words","blue-square"],char:'🆒',fitzpatrick_scale:false,category:"symbols"},new:{keywords:["blue-square","words","start"],char:'🆕',fitzpatrick_scale:false,category:"symbols"},free:{keywords:["blue-square","words"],char:'🆓',fitzpatrick_scale:false,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:'0️⃣',fitzpatrick_scale:false,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:'1️⃣',fitzpatrick_scale:false,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:'2️⃣',fitzpatrick_scale:false,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:'3️⃣',fitzpatrick_scale:false,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:'4️⃣',fitzpatrick_scale:false,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:'5️⃣',fitzpatrick_scale:false,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:'6️⃣',fitzpatrick_scale:false,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:'7️⃣',fitzpatrick_scale:false,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:'8️⃣',fitzpatrick_scale:false,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:'9️⃣',fitzpatrick_scale:false,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:'🔟',fitzpatrick_scale:false,category:"symbols"},asterisk:{keywords:["star","keycap"],char:'*⃣',fitzpatrick_scale:false,category:"symbols"},eject_button:{keywords:["blue-square"],char:'⏏️',fitzpatrick_scale:false,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:'▶️',fitzpatrick_scale:false,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:'⏸',fitzpatrick_scale:false,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:'⏭',fitzpatrick_scale:false,category:"symbols"},stop_button:{keywords:["blue-square"],char:'⏹',fitzpatrick_scale:false,category:"symbols"},record_button:{keywords:["blue-square"],char:'⏺',fitzpatrick_scale:false,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:'⏯',fitzpatrick_scale:false,category:"symbols"},previous_track_button:{keywords:["backward"],char:'⏮',fitzpatrick_scale:false,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:'⏩',fitzpatrick_scale:false,category:"symbols"},rewind:{keywords:["play","blue-square"],char:'⏪',fitzpatrick_scale:false,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:'🔀',fitzpatrick_scale:false,category:"symbols"},repeat:{keywords:["loop","record"],char:'🔁',fitzpatrick_scale:false,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:'🔂',fitzpatrick_scale:false,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:'◀️',fitzpatrick_scale:false,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:'🔼',fitzpatrick_scale:false,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:'🔽',fitzpatrick_scale:false,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:'⏫',fitzpatrick_scale:false,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:'⏬',fitzpatrick_scale:false,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:'➡️',fitzpatrick_scale:false,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:'⬅️',fitzpatrick_scale:false,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:'⬆️',fitzpatrick_scale:false,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:'⬇️',fitzpatrick_scale:false,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:'↗️',fitzpatrick_scale:false,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:'↘️',fitzpatrick_scale:false,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:'↙️',fitzpatrick_scale:false,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:'↖️',fitzpatrick_scale:false,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:'↕️',fitzpatrick_scale:false,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:'↔️',fitzpatrick_scale:false,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:'🔄',fitzpatrick_scale:false,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:'↪️',fitzpatrick_scale:false,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:'↩️',fitzpatrick_scale:false,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:'⤴️',fitzpatrick_scale:false,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:'⤵️',fitzpatrick_scale:false,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:'#️⃣',fitzpatrick_scale:false,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:'ℹ️',fitzpatrick_scale:false,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:'🔤',fitzpatrick_scale:false,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:'🔡',fitzpatrick_scale:false,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:'🔠',fitzpatrick_scale:false,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:'🔣',fitzpatrick_scale:false,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:'🎵',fitzpatrick_scale:false,category:"symbols"},notes:{keywords:["music","score"],char:'🎶',fitzpatrick_scale:false,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:'〰️',fitzpatrick_scale:false,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:'➰',fitzpatrick_scale:false,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:'✔️',fitzpatrick_scale:false,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:'🔃',fitzpatrick_scale:false,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:'➕',fitzpatrick_scale:false,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:'➖',fitzpatrick_scale:false,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:'➗',fitzpatrick_scale:false,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:'✖️',fitzpatrick_scale:false,category:"symbols"},infinity:{keywords:["forever"],char:'♾',fitzpatrick_scale:false,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:'💲',fitzpatrick_scale:false,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:'💱',fitzpatrick_scale:false,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:'©️',fitzpatrick_scale:false,category:"symbols"},registered:{keywords:["alphabet","circle"],char:'®️',fitzpatrick_scale:false,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:'™️',fitzpatrick_scale:false,category:"symbols"},end:{keywords:["words","arrow"],char:'🔚',fitzpatrick_scale:false,category:"symbols"},back:{keywords:["arrow","words","return"],char:'🔙',fitzpatrick_scale:false,category:"symbols"},on:{keywords:["arrow","words"],char:'🔛',fitzpatrick_scale:false,category:"symbols"},top:{keywords:["words","blue-square"],char:'🔝',fitzpatrick_scale:false,category:"symbols"},soon:{keywords:["arrow","words"],char:'🔜',fitzpatrick_scale:false,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:'☑️',fitzpatrick_scale:false,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:'🔘',fitzpatrick_scale:false,category:"symbols"},white_circle:{keywords:["shape","round"],char:'⚪',fitzpatrick_scale:false,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:'⚫',fitzpatrick_scale:false,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:'🔴',fitzpatrick_scale:false,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:'🔵',fitzpatrick_scale:false,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:'🔸',fitzpatrick_scale:false,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:'🔹',fitzpatrick_scale:false,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:'🔶',fitzpatrick_scale:false,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:'🔷',fitzpatrick_scale:false,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:'🔺',fitzpatrick_scale:false,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:'▪️',fitzpatrick_scale:false,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:'▫️',fitzpatrick_scale:false,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:'⬛',fitzpatrick_scale:false,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:'⬜',fitzpatrick_scale:false,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:'🔻',fitzpatrick_scale:false,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:'◼️',fitzpatrick_scale:false,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:'◻️',fitzpatrick_scale:false,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:'◾',fitzpatrick_scale:false,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:'◽',fitzpatrick_scale:false,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:'🔲',fitzpatrick_scale:false,category:"symbols"},white_square_button:{keywords:["shape","input"],char:'🔳',fitzpatrick_scale:false,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:'🔈',fitzpatrick_scale:false,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:'🔉',fitzpatrick_scale:false,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:'🔊',fitzpatrick_scale:false,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:'🔇',fitzpatrick_scale:false,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:'📣',fitzpatrick_scale:false,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:'📢',fitzpatrick_scale:false,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:'🔔',fitzpatrick_scale:false,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:'🔕',fitzpatrick_scale:false,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:'🃏',fitzpatrick_scale:false,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:'🀄',fitzpatrick_scale:false,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:'♠️',fitzpatrick_scale:false,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:'♣️',fitzpatrick_scale:false,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:'♥️',fitzpatrick_scale:false,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:'♦️',fitzpatrick_scale:false,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:'🎴',fitzpatrick_scale:false,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:'💭',fitzpatrick_scale:false,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:'🗯',fitzpatrick_scale:false,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:'💬',fitzpatrick_scale:false,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:'🗨',fitzpatrick_scale:false,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:'🕐',fitzpatrick_scale:false,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:'🕑',fitzpatrick_scale:false,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:'🕒',fitzpatrick_scale:false,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:'🕓',fitzpatrick_scale:false,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:'🕔',fitzpatrick_scale:false,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:'🕕',fitzpatrick_scale:false,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:'🕖',fitzpatrick_scale:false,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:'🕗',fitzpatrick_scale:false,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:'🕘',fitzpatrick_scale:false,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:'🕙',fitzpatrick_scale:false,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:'🕚',fitzpatrick_scale:false,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:'🕛',fitzpatrick_scale:false,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:'🕜',fitzpatrick_scale:false,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:'🕝',fitzpatrick_scale:false,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:'🕞',fitzpatrick_scale:false,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:'🕟',fitzpatrick_scale:false,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:'🕠',fitzpatrick_scale:false,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:'🕡',fitzpatrick_scale:false,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:'🕢',fitzpatrick_scale:false,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:'🕣',fitzpatrick_scale:false,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:'🕤',fitzpatrick_scale:false,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:'🕥',fitzpatrick_scale:false,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:'🕦',fitzpatrick_scale:false,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:'🕧',fitzpatrick_scale:false,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:'🇦🇫',fitzpatrick_scale:false,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:'🇦🇽',fitzpatrick_scale:false,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:'🇦🇱',fitzpatrick_scale:false,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:'🇩🇿',fitzpatrick_scale:false,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:'🇦🇸',fitzpatrick_scale:false,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:'🇦🇩',fitzpatrick_scale:false,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:'🇦🇴',fitzpatrick_scale:false,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:'🇦🇮',fitzpatrick_scale:false,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:'🇦🇶',fitzpatrick_scale:false,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:'🇦🇬',fitzpatrick_scale:false,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:'🇦🇷',fitzpatrick_scale:false,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:'🇦🇲',fitzpatrick_scale:false,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:'🇦🇼',fitzpatrick_scale:false,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:'🇦🇺',fitzpatrick_scale:false,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:'🇦🇹',fitzpatrick_scale:false,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:'🇦🇿',fitzpatrick_scale:false,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:'🇧🇸',fitzpatrick_scale:false,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:'🇧🇭',fitzpatrick_scale:false,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:'🇧🇩',fitzpatrick_scale:false,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:'🇧🇧',fitzpatrick_scale:false,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:'🇧🇾',fitzpatrick_scale:false,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:'🇧🇪',fitzpatrick_scale:false,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:'🇧🇿',fitzpatrick_scale:false,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:'🇧🇯',fitzpatrick_scale:false,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:'🇧🇲',fitzpatrick_scale:false,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:'🇧🇹',fitzpatrick_scale:false,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:'🇧🇴',fitzpatrick_scale:false,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:'🇧🇶',fitzpatrick_scale:false,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:'🇧🇦',fitzpatrick_scale:false,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:'🇧🇼',fitzpatrick_scale:false,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:'🇧🇷',fitzpatrick_scale:false,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:'🇮🇴',fitzpatrick_scale:false,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:'🇻🇬',fitzpatrick_scale:false,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:'🇧🇳',fitzpatrick_scale:false,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:'🇧🇬',fitzpatrick_scale:false,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:'🇧🇫',fitzpatrick_scale:false,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:'🇧🇮',fitzpatrick_scale:false,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:'🇨🇻',fitzpatrick_scale:false,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:'🇰🇭',fitzpatrick_scale:false,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:'🇨🇲',fitzpatrick_scale:false,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:'🇨🇦',fitzpatrick_scale:false,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:'🇮🇨',fitzpatrick_scale:false,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:'🇰🇾',fitzpatrick_scale:false,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:'🇨🇫',fitzpatrick_scale:false,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:'🇹🇩',fitzpatrick_scale:false,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:'🇨🇱',fitzpatrick_scale:false,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:'🇨🇳',fitzpatrick_scale:false,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:'🇨🇽',fitzpatrick_scale:false,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:'🇨🇨',fitzpatrick_scale:false,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:'🇨🇴',fitzpatrick_scale:false,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:'🇰🇲',fitzpatrick_scale:false,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:'🇨🇬',fitzpatrick_scale:false,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:'🇨🇩',fitzpatrick_scale:false,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:'🇨🇰',fitzpatrick_scale:false,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:'🇨🇷',fitzpatrick_scale:false,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:'🇭🇷',fitzpatrick_scale:false,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:'🇨🇺',fitzpatrick_scale:false,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:'🇨🇼',fitzpatrick_scale:false,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:'🇨🇾',fitzpatrick_scale:false,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:'🇨🇿',fitzpatrick_scale:false,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:'🇩🇰',fitzpatrick_scale:false,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:'🇩🇯',fitzpatrick_scale:false,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:'🇩🇲',fitzpatrick_scale:false,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:'🇩🇴',fitzpatrick_scale:false,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:'🇪🇨',fitzpatrick_scale:false,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:'🇪🇬',fitzpatrick_scale:false,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:'🇸🇻',fitzpatrick_scale:false,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:'🇬🇶',fitzpatrick_scale:false,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:'🇪🇷',fitzpatrick_scale:false,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:'🇪🇪',fitzpatrick_scale:false,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:'🇪🇹',fitzpatrick_scale:false,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:'🇪🇺',fitzpatrick_scale:false,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:'🇫🇰',fitzpatrick_scale:false,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:'🇫🇴',fitzpatrick_scale:false,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:'🇫🇯',fitzpatrick_scale:false,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:'🇫🇮',fitzpatrick_scale:false,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:'🇫🇷',fitzpatrick_scale:false,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:'🇬🇫',fitzpatrick_scale:false,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:'🇵🇫',fitzpatrick_scale:false,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:'🇹🇫',fitzpatrick_scale:false,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:'🇬🇦',fitzpatrick_scale:false,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:'🇬🇲',fitzpatrick_scale:false,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:'🇬🇪',fitzpatrick_scale:false,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:'🇩🇪',fitzpatrick_scale:false,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:'🇬🇭',fitzpatrick_scale:false,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:'🇬🇮',fitzpatrick_scale:false,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:'🇬🇷',fitzpatrick_scale:false,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:'🇬🇱',fitzpatrick_scale:false,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:'🇬🇩',fitzpatrick_scale:false,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:'🇬🇵',fitzpatrick_scale:false,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:'🇬🇺',fitzpatrick_scale:false,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:'🇬🇹',fitzpatrick_scale:false,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:'🇬🇬',fitzpatrick_scale:false,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:'🇬🇳',fitzpatrick_scale:false,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:'🇬🇼',fitzpatrick_scale:false,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:'🇬🇾',fitzpatrick_scale:false,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:'🇭🇹',fitzpatrick_scale:false,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:'🇭🇳',fitzpatrick_scale:false,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:'🇭🇰',fitzpatrick_scale:false,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:'🇭🇺',fitzpatrick_scale:false,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:'🇮🇸',fitzpatrick_scale:false,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:'🇮🇳',fitzpatrick_scale:false,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:'🇮🇩',fitzpatrick_scale:false,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:'🇮🇷',fitzpatrick_scale:false,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:'🇮🇶',fitzpatrick_scale:false,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:'🇮🇪',fitzpatrick_scale:false,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:'🇮🇲',fitzpatrick_scale:false,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:'🇮🇱',fitzpatrick_scale:false,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:'🇮🇹',fitzpatrick_scale:false,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:'🇨🇮',fitzpatrick_scale:false,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:'🇯🇲',fitzpatrick_scale:false,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:'🇯🇵',fitzpatrick_scale:false,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:'🇯🇪',fitzpatrick_scale:false,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:'🇯🇴',fitzpatrick_scale:false,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:'🇰🇿',fitzpatrick_scale:false,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:'🇰🇪',fitzpatrick_scale:false,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:'🇰🇮',fitzpatrick_scale:false,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:'🇽🇰',fitzpatrick_scale:false,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:'🇰🇼',fitzpatrick_scale:false,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:'🇰🇬',fitzpatrick_scale:false,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:'🇱🇦',fitzpatrick_scale:false,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:'🇱🇻',fitzpatrick_scale:false,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:'🇱🇧',fitzpatrick_scale:false,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:'🇱🇸',fitzpatrick_scale:false,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:'🇱🇷',fitzpatrick_scale:false,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:'🇱🇾',fitzpatrick_scale:false,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:'🇱🇮',fitzpatrick_scale:false,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:'🇱🇹',fitzpatrick_scale:false,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:'🇱🇺',fitzpatrick_scale:false,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:'🇲🇴',fitzpatrick_scale:false,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:'🇲🇰',fitzpatrick_scale:false,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:'🇲🇬',fitzpatrick_scale:false,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:'🇲🇼',fitzpatrick_scale:false,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:'🇲🇾',fitzpatrick_scale:false,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:'🇲🇻',fitzpatrick_scale:false,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:'🇲🇱',fitzpatrick_scale:false,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:'🇲🇹',fitzpatrick_scale:false,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:'🇲🇭',fitzpatrick_scale:false,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:'🇲🇶',fitzpatrick_scale:false,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:'🇲🇷',fitzpatrick_scale:false,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:'🇲🇺',fitzpatrick_scale:false,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:'🇾🇹',fitzpatrick_scale:false,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:'🇲🇽',fitzpatrick_scale:false,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:'🇫🇲',fitzpatrick_scale:false,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:'🇲🇩',fitzpatrick_scale:false,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:'🇲🇨',fitzpatrick_scale:false,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:'🇲🇳',fitzpatrick_scale:false,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:'🇲🇪',fitzpatrick_scale:false,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:'🇲🇸',fitzpatrick_scale:false,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:'🇲🇦',fitzpatrick_scale:false,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:'🇲🇿',fitzpatrick_scale:false,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:'🇲🇲',fitzpatrick_scale:false,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:'🇳🇦',fitzpatrick_scale:false,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:'🇳🇷',fitzpatrick_scale:false,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:'🇳🇵',fitzpatrick_scale:false,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:'🇳🇱',fitzpatrick_scale:false,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:'🇳🇨',fitzpatrick_scale:false,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:'🇳🇿',fitzpatrick_scale:false,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:'🇳🇮',fitzpatrick_scale:false,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:'🇳🇪',fitzpatrick_scale:false,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:'🇳🇬',fitzpatrick_scale:false,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:'🇳🇺',fitzpatrick_scale:false,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:'🇳🇫',fitzpatrick_scale:false,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:'🇲🇵',fitzpatrick_scale:false,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:'🇰🇵',fitzpatrick_scale:false,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:'🇳🇴',fitzpatrick_scale:false,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:'🇴🇲',fitzpatrick_scale:false,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:'🇵🇰',fitzpatrick_scale:false,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:'🇵🇼',fitzpatrick_scale:false,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:'🇵🇸',fitzpatrick_scale:false,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:'🇵🇦',fitzpatrick_scale:false,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:'🇵🇬',fitzpatrick_scale:false,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:'🇵🇾',fitzpatrick_scale:false,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:'🇵🇪',fitzpatrick_scale:false,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:'🇵🇭',fitzpatrick_scale:false,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:'🇵🇳',fitzpatrick_scale:false,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:'🇵🇱',fitzpatrick_scale:false,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:'🇵🇹',fitzpatrick_scale:false,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:'🇵🇷',fitzpatrick_scale:false,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:'🇶🇦',fitzpatrick_scale:false,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:'🇷🇪',fitzpatrick_scale:false,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:'🇷🇴',fitzpatrick_scale:false,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:'🇷🇺',fitzpatrick_scale:false,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:'🇷🇼',fitzpatrick_scale:false,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:'🇧🇱',fitzpatrick_scale:false,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:'🇸🇭',fitzpatrick_scale:false,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:'🇰🇳',fitzpatrick_scale:false,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:'🇱🇨',fitzpatrick_scale:false,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:'🇵🇲',fitzpatrick_scale:false,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:'🇻🇨',fitzpatrick_scale:false,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:'🇼🇸',fitzpatrick_scale:false,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:'🇸🇲',fitzpatrick_scale:false,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:'🇸🇹',fitzpatrick_scale:false,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:'🇸🇦',fitzpatrick_scale:false,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:'🇸🇳',fitzpatrick_scale:false,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:'🇷🇸',fitzpatrick_scale:false,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:'🇸🇨',fitzpatrick_scale:false,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:'🇸🇱',fitzpatrick_scale:false,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:'🇸🇬',fitzpatrick_scale:false,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:'🇸🇽',fitzpatrick_scale:false,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:'🇸🇰',fitzpatrick_scale:false,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:'🇸🇮',fitzpatrick_scale:false,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:'🇸🇧',fitzpatrick_scale:false,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:'🇸🇴',fitzpatrick_scale:false,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:'🇿🇦',fitzpatrick_scale:false,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:'🇬🇸',fitzpatrick_scale:false,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:'🇰🇷',fitzpatrick_scale:false,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:'🇸🇸',fitzpatrick_scale:false,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:'🇪🇸',fitzpatrick_scale:false,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:'🇱🇰',fitzpatrick_scale:false,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:'🇸🇩',fitzpatrick_scale:false,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:'🇸🇷',fitzpatrick_scale:false,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:'🇸🇿',fitzpatrick_scale:false,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:'🇸🇪',fitzpatrick_scale:false,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:'🇨🇭',fitzpatrick_scale:false,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:'🇸🇾',fitzpatrick_scale:false,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:'🇹🇼',fitzpatrick_scale:false,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:'🇹🇯',fitzpatrick_scale:false,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:'🇹🇿',fitzpatrick_scale:false,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:'🇹🇭',fitzpatrick_scale:false,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:'🇹🇱',fitzpatrick_scale:false,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:'🇹🇬',fitzpatrick_scale:false,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:'🇹🇰',fitzpatrick_scale:false,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:'🇹🇴',fitzpatrick_scale:false,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:'🇹🇹',fitzpatrick_scale:false,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:'🇹🇳',fitzpatrick_scale:false,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:'🇹🇷',fitzpatrick_scale:false,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:'🇹🇲',fitzpatrick_scale:false,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:'🇹🇨',fitzpatrick_scale:false,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:'🇹🇻',fitzpatrick_scale:false,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:'🇺🇬',fitzpatrick_scale:false,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:'🇺🇦',fitzpatrick_scale:false,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:'🇦🇪',fitzpatrick_scale:false,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:'🇬🇧',fitzpatrick_scale:false,category:"flags"},england:{keywords:["flag","english"],char:'🏴󠁧󠁢󠁥󠁮󠁧󠁿',fitzpatrick_scale:false,category:"flags"},scotland:{keywords:["flag","scottish"],char:'🏴󠁧󠁢󠁳󠁣󠁴󠁿',fitzpatrick_scale:false,category:"flags"},wales:{keywords:["flag","welsh"],char:'🏴󠁧󠁢󠁷󠁬󠁳󠁿',fitzpatrick_scale:false,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:'🇺🇸',fitzpatrick_scale:false,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:'🇻🇮',fitzpatrick_scale:false,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:'🇺🇾',fitzpatrick_scale:false,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:'🇺🇿',fitzpatrick_scale:false,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:'🇻🇺',fitzpatrick_scale:false,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:'🇻🇦',fitzpatrick_scale:false,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:'🇻🇪',fitzpatrick_scale:false,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:'🇻🇳',fitzpatrick_scale:false,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:'🇼🇫',fitzpatrick_scale:false,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:'🇪🇭',fitzpatrick_scale:false,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:'🇾🇪',fitzpatrick_scale:false,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:'🇿🇲',fitzpatrick_scale:false,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:'🇿🇼',fitzpatrick_scale:false,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:'🇺🇳',fitzpatrick_scale:false,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:'🏴‍☠️',fitzpatrick_scale:false,category:"flags"}}); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/emoticons/js/emojiimages.min.js b/src/assets/tinymce/plugins/emoticons/js/emojiimages.min.js deleted file mode 100644 index 37f3bcf8..00000000 --- a/src/assets/tinymce/plugins/emoticons/js/emojiimages.min.js +++ /dev/null @@ -1,3 +0,0 @@ -// Source: npm package: emojilib -// Images provided by twemoji: https://github.com/twitter/twemoji -window.tinymce.Resource.add("tinymce.plugins.emoticons",{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:'\u{1f4af}',fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:'\u{1f522}',fitzpatrick_scale:!1,category:"symbols"},grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:'\u{1f600}',fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:'\u{1f62c}',fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:'\u{1f601}',fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:'\u{1f602}',fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:'\u{1f923}',fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:'\u{1f973}',fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:'\u{1f603}',fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:'\u{1f604}',fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:'\u{1f605}',fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:'\u{1f606}',fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:'\u{1f607}',fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:'\u{1f609}',fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:'\u{1f60a}',fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:'\u{1f642}',fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:'\u{1f643}',fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:'\u263a\ufe0f',fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:'\u{1f60b}',fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:'\u{1f60c}',fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:'\u{1f60d}',fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:'\u{1f970}',fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'\u{1f618}',fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:'\u{1f617}',fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:'\u{1f619}',fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'\u{1f61a}',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:'\u{1f61c}',fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:'\u{1f92a}',fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:'\u{1f928}',fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:'\u{1f9d0}',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:'\u{1f61d}',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:'\u{1f61b}',fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:'\u{1f911}',fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:'\u{1f913}',fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:'\u{1f60e}',fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:'\u{1f929}',fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:'\u{1f921}',fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:'\u{1f920}',fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:'\u{1f917}',fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:'\u{1f60f}',fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:'\u{1f636}',fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:'\u{1f610}',fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:'\u{1f611}',fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:'\u{1f612}',fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:'\u{1f644}',fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:'\u{1f914}',fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:'\u{1f925}',fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:'\u{1f92d}',fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:'\u{1f92b}',fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:'\u{1f92c}',fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:'\u{1f92f}',fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:'\u{1f633}',fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:'\u{1f61e}',fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:'\u{1f61f}',fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:'\u{1f620}',fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:'\u{1f621}',fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:'\u{1f614}',fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:'\u{1f615}',fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:'\u{1f641}',fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:'\u2639',fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:'\u{1f623}',fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:'\u{1f616}',fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:'\u{1f62b}',fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:'\u{1f629}',fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:'\u{1f97a}',fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:'\u{1f624}',fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:'\u{1f62e}',fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:'\u{1f631}',fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:'\u{1f628}',fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:'\u{1f630}',fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:'\u{1f62f}',fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:'\u{1f626}',fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:'\u{1f627}',fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:'\u{1f622}',fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:'\u{1f625}',fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:'\u{1f924}',fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:'\u{1f62a}',fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:'\u{1f613}',fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:'\u{1f975}',fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:'\u{1f976}',fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:'\u{1f62d}',fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:'\u{1f635}',fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:'\u{1f632}',fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:'\u{1f910}',fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:'\u{1f922}',fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:'\u{1f927}',fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:'\u{1f92e}',fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:'\u{1f637}',fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:'\u{1f912}',fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:'\u{1f915}',fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:'\u{1f974}',fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:'\u{1f634}',fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:'\u{1f4a4}',fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:'\u{1f4a9}',fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:'\u{1f608}',fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:'\u{1f47f}',fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:'\u{1f479}',fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:'\u{1f47a}',fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:'\u{1f480}',fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:'\u{1f47b}',fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:'\u{1f47d}',fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:'\u{1f916}',fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:'\u{1f63a}',fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:'\u{1f638}',fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:'\u{1f639}',fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:'\u{1f63b}',fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:'\u{1f63c}',fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:'\u{1f63d}',fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:'\u{1f640}',fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:'\u{1f63f}',fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:'\u{1f63e}',fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:'\u{1f932}',fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:'\u{1f64c}',fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:'\u{1f44f}',fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:'\u{1f44b}',fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:'\u{1f919}',fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:'\u{1f44d}',fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:'\u{1f44e}',fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:'\u{1f44a}',fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:'\u270a',fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:'\u{1f91b}',fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:'\u{1f91c}',fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:'\u270c',fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:'\u{1f44c}',fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:'\u270b',fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:'\u{1f91a}',fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:'\u{1f450}',fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:'\u{1f4aa}',fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:'\u{1f64f}',fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:'\u{1f9b6}',fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:'\u{1f9b5}',fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:'\u{1f91d}',fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:'\u261d',fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:'\u{1f446}',fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:'\u{1f447}',fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:'\u{1f448}',fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:'\u{1f449}',fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:'\u{1f595}',fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:'\u{1f590}',fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:'\u{1f91f}',fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:'\u{1f918}',fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:'\u{1f91e}',fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:'\u{1f596}',fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:'\u270d',fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:'\u{1f933}',fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:'\u{1f485}',fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:'\u{1f444}',fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:'\u{1f9b7}',fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:'\u{1f445}',fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:'\u{1f442}',fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:'\u{1f443}',fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:'\u{1f441}',fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:'\u{1f440}',fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:'\u{1f9e0}',fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:'\u{1f464}',fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:'\u{1f465}',fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:'\u{1f5e3}',fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:'\u{1f476}',fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:'\u{1f9d2}',fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:'\u{1f466}',fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:'\u{1f467}',fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:'\u{1f9d1}',fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:'\u{1f468}',fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:'\u{1f469}',fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:'\u{1f471}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:'\u{1f471}',fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:'\u{1f9d4}',fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:'\u{1f9d3}',fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:'\u{1f474}',fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:'\u{1f475}',fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:'\u{1f472}',fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:'\u{1f9d5}',fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:'\u{1f473}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:'\u{1f473}',fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:'\u{1f46e}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:'\u{1f46e}',fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:'\u{1f477}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:'\u{1f477}',fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:'\u{1f482}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:'\u{1f482}',fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:'\u{1f575}\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:'\u{1f575}',fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:'\u{1f469}\u200d\u2695\ufe0f',fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:'\u{1f468}\u200d\u2695\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:'\u{1f469}\u200d\u{1f33e}',fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:'\u{1f468}\u200d\u{1f33e}',fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:'\u{1f469}\u200d\u{1f373}',fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:'\u{1f468}\u200d\u{1f373}',fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:'\u{1f469}\u200d\u{1f393}',fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:'\u{1f468}\u200d\u{1f393}',fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:'\u{1f469}\u200d\u{1f3a4}',fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:'\u{1f468}\u200d\u{1f3a4}',fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:'\u{1f469}\u200d\u{1f3eb}',fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:'\u{1f468}\u200d\u{1f3eb}',fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:'\u{1f469}\u200d\u{1f3ed}',fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:'\u{1f468}\u200d\u{1f3ed}',fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:'\u{1f469}\u200d\u{1f4bb}',fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:'\u{1f468}\u200d\u{1f4bb}',fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:'\u{1f469}\u200d\u{1f4bc}',fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:'\u{1f468}\u200d\u{1f4bc}',fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:'\u{1f469}\u200d\u{1f527}',fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:'\u{1f468}\u200d\u{1f527}',fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:'\u{1f469}\u200d\u{1f52c}',fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:'\u{1f468}\u200d\u{1f52c}',fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:'\u{1f469}\u200d\u{1f3a8}',fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:'\u{1f468}\u200d\u{1f3a8}',fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:'\u{1f469}\u200d\u{1f692}',fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:'\u{1f468}\u200d\u{1f692}',fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:'\u{1f469}\u200d\u2708\ufe0f',fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:'\u{1f468}\u200d\u2708\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:'\u{1f469}\u200d\u{1f680}',fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:'\u{1f468}\u200d\u{1f680}',fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:'\u{1f469}\u200d\u2696\ufe0f',fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:'\u{1f468}\u200d\u2696\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:'\u{1f9b8}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:'\u{1f9b8}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:'\u{1f9b9}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:'\u{1f9b9}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:'\u{1f936}',fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:'\u{1f385}',fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:'\u{1f9d9}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:'\u{1f9d9}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:'\u{1f9dd}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:'\u{1f9dd}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:'\u{1f9db}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:'\u{1f9db}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:'\u{1f9df}\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:'\u{1f9df}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:'\u{1f9de}\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:'\u{1f9de}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:'\u{1f9dc}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:'\u{1f9dc}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:'\u{1f9da}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:'\u{1f9da}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:'\u{1f47c}',fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:'\u{1f930}',fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:'\u{1f931}',fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:'\u{1f478}',fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:'\u{1f934}',fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:'\u{1f470}',fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:'\u{1f935}',fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:'\u{1f3c3}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:'\u{1f3c3}',fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:'\u{1f6b6}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:'\u{1f6b6}',fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:'\u{1f483}',fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:'\u{1f57a}',fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:'\u{1f46f}',fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:'\u{1f46f}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:'\u{1f46b}',fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:'\u{1f46c}',fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:'\u{1f46d}',fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:'\u{1f647}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:'\u{1f647}',fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:'\u{1f926}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:'\u{1f926}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:'\u{1f937}',fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:'\u{1f937}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:'\u{1f481}',fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:'\u{1f481}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:'\u{1f645}',fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:'\u{1f645}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:'\u{1f646}',fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:'\u{1f646}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:'\u{1f64b}',fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:'\u{1f64b}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:'\u{1f64e}',fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:'\u{1f64e}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:'\u{1f64d}',fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:'\u{1f64d}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:'\u{1f487}',fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:'\u{1f487}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:'\u{1f486}',fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:'\u{1f486}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:'\u{1f9d6}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:'\u{1f9d6}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\u{1f491}',fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f469}',fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f468}',fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\u{1f48f}',fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f469}',fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f468}',fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:'\u{1f46a}',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:'\u{1f469}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:'\u{1f469}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f469}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f469}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:'\u{1f469}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:'\u{1f468}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:'\u{1f468}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f468}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f468}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:'\u{1f468}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:'\u{1f9f6}',fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:'\u{1f9f5}',fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:'\u{1f9e5}',fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:'\u{1f97c}',fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:'\u{1f45a}',fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:'\u{1f455}',fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:'\u{1f456}',fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:'\u{1f454}',fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:'\u{1f457}',fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:'\u{1f459}',fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:'\u{1f458}',fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:'\u{1f484}',fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:'\u{1f48b}',fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:'\u{1f463}',fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:'\u{1f97f}',fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:'\u{1f460}',fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:'\u{1f461}',fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:'\u{1f462}',fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:'\u{1f45e}',fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:'\u{1f45f}',fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:'\u{1f97e}',fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:'\u{1f9e6}',fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:'\u{1f9e4}',fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:'\u{1f9e3}',fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:'\u{1f452}',fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:'\u{1f3a9}',fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:'\u{1f9e2}',fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:'\u26d1',fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:'\u{1f393}',fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:'\u{1f451}',fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:'\u{1f392}',fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:'\u{1f9f3}',fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:'\u{1f45d}',fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:'\u{1f45b}',fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:'\u{1f45c}',fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:'\u{1f4bc}',fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:'\u{1f453}',fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:'\u{1f576}',fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:'\u{1f97d}',fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:'\u{1f48d}',fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:'\u{1f302}',fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:'\u{1f436}',fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:'\u{1f431}',fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:'\u{1f42d}',fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:'\u{1f439}',fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:'\u{1f430}',fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:'\u{1f98a}',fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:'\u{1f43b}',fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:'\u{1f43c}',fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:'\u{1f428}',fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:'\u{1f42f}',fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:'\u{1f981}',fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:'\u{1f42e}',fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:'\u{1f437}',fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:'\u{1f43d}',fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:'\u{1f438}',fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:'\u{1f991}',fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:'\u{1f419}',fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:'\u{1f990}',fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:'\u{1f435}',fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:'\u{1f98d}',fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:'\u{1f648}',fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:'\u{1f649}',fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:'\u{1f64a}',fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:'\u{1f412}',fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:'\u{1f414}',fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:'\u{1f427}',fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:'\u{1f426}',fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:'\u{1f424}',fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:'\u{1f423}',fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:'\u{1f425}',fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:'\u{1f986}',fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:'\u{1f985}',fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:'\u{1f989}',fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:'\u{1f987}',fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:'\u{1f43a}',fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:'\u{1f417}',fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:'\u{1f434}',fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:'\u{1f984}',fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:'\u{1f41d}',fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:'\u{1f41b}',fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:'\u{1f98b}',fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:'\u{1f40c}',fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:'\u{1f41e}',fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:'\u{1f41c}',fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:'\u{1f997}',fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:'\u{1f577}',fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:'\u{1f982}',fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:'\u{1f980}',fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:'\u{1f40d}',fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:'\u{1f98e}',fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:'\u{1f996}',fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:'\u{1f995}',fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:'\u{1f422}',fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:'\u{1f420}',fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:'\u{1f41f}',fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:'\u{1f421}',fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:'\u{1f42c}',fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:'\u{1f988}',fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:'\u{1f433}',fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:'\u{1f40b}',fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:'\u{1f40a}',fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:'\u{1f406}',fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:'\u{1f993}',fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:'\u{1f405}',fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:'\u{1f403}',fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:'\u{1f402}',fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:'\u{1f404}',fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:'\u{1f98c}',fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:'\u{1f42a}',fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:'\u{1f42b}',fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:'\u{1f992}',fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:'\u{1f418}',fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:'\u{1f98f}',fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:'\u{1f410}',fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:'\u{1f40f}',fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:'\u{1f411}',fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:'\u{1f40e}',fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:'\u{1f416}',fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:'\u{1f400}',fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:'\u{1f401}',fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:'\u{1f413}',fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:'\u{1f983}',fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:'\u{1f54a}',fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:'\u{1f415}',fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:'\u{1f429}',fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:'\u{1f408}',fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:'\u{1f407}',fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:'\u{1f43f}',fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:'\u{1f994}',fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:'\u{1f99d}',fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:'\u{1f999}',fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:'\u{1f99b}',fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:'\u{1f998}',fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:'\u{1f9a1}',fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:'\u{1f9a2}',fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:'\u{1f99a}',fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:'\u{1f99c}',fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:'\u{1f99e}',fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:'\u{1f99f}',fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:'\u{1f43e}',fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:'\u{1f409}',fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:'\u{1f432}',fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:'\u{1f335}',fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:'\u{1f384}',fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:'\u{1f332}',fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:'\u{1f333}',fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:'\u{1f334}',fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:'\u{1f331}',fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:'\u{1f33f}',fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:'\u2618',fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:'\u{1f340}',fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:'\u{1f38d}',fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:'\u{1f38b}',fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:'\u{1f343}',fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:'\u{1f342}',fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:'\u{1f341}',fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:'\u{1f33e}',fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:'\u{1f33a}',fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:'\u{1f33b}',fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:'\u{1f339}',fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:'\u{1f940}',fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:'\u{1f337}',fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:'\u{1f33c}',fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:'\u{1f338}',fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:'\u{1f490}',fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:'\u{1f344}',fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:'\u{1f330}',fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:'\u{1f383}',fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:'\u{1f41a}',fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:'\u{1f578}',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:'\u{1f30e}',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:'\u{1f30d}',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:'\u{1f30f}',fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:'\u{1f315}',fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:'\u{1f316}',fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f317}',fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f318}',fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f311}',fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f312}',fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f313}',fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:'\u{1f314}',fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31a}',fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31d}',fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31b}',fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31c}',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:'\u{1f31e}',fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:'\u{1f319}',fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:'\u2b50',fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:'\u{1f31f}',fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:'\u{1f4ab}',fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:'\u2728',fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:'\u2604',fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:'\u2600\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:'\u{1f324}',fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:'\u26c5',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:'\u{1f325}',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:'\u{1f326}',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:'\u2601\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:'\u{1f327}',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:'\u26c8',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:'\u{1f329}',fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:'\u26a1',fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:'\u{1f525}',fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:'\u{1f4a5}',fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:'\u2744\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:'\u{1f328}',fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:'\u26c4',fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:'\u2603',fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:'\u{1f32c}',fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:'\u{1f4a8}',fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:'\u{1f32a}',fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:'\u{1f32b}',fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:'\u2602',fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:'\u2614',fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:'\u{1f4a7}',fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:'\u{1f4a6}',fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:'\u{1f30a}',fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:'\u{1f34f}',fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:'\u{1f34e}',fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:'\u{1f350}',fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:'\u{1f34a}',fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:'\u{1f34b}',fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:'\u{1f34c}',fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:'\u{1f349}',fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:'\u{1f347}',fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:'\u{1f353}',fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:'\u{1f348}',fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:'\u{1f352}',fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:'\u{1f351}',fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:'\u{1f34d}',fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:'\u{1f965}',fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:'\u{1f95d}',fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:'\u{1f96d}',fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:'\u{1f951}',fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:'\u{1f966}',fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:'\u{1f345}',fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:'\u{1f346}',fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:'\u{1f952}',fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:'\u{1f955}',fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:'\u{1f336}',fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:'\u{1f954}',fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:'\u{1f33d}',fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:'\u{1f96c}',fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:'\u{1f360}',fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:'\u{1f95c}',fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:'\u{1f36f}',fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:'\u{1f950}',fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:'\u{1f35e}',fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:'\u{1f956}',fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:'\u{1f96f}',fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:'\u{1f968}',fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:'\u{1f9c0}',fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:'\u{1f95a}',fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:'\u{1f953}',fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:'\u{1f969}',fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:'\u{1f95e}',fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:'\u{1f357}',fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:'\u{1f356}',fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:'\u{1f9b4}',fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:'\u{1f364}',fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:'\u{1f373}',fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:'\u{1f354}',fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:'\u{1f35f}',fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:'\u{1f959}',fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:'\u{1f32d}',fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:'\u{1f355}',fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:'\u{1f96a}',fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:'\u{1f96b}',fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:'\u{1f35d}',fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:'\u{1f32e}',fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:'\u{1f32f}',fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:'\u{1f957}',fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:'\u{1f958}',fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:'\u{1f35c}',fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:'\u{1f372}',fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:'\u{1f365}',fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:'\u{1f960}',fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:'\u{1f363}',fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:'\u{1f371}',fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:'\u{1f35b}',fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:'\u{1f359}',fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:'\u{1f35a}',fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:'\u{1f358}',fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:'\u{1f362}',fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:'\u{1f361}',fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:'\u{1f367}',fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:'\u{1f368}',fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:'\u{1f366}',fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:'\u{1f967}',fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:'\u{1f370}',fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:'\u{1f9c1}',fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:'\u{1f96e}',fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:'\u{1f382}',fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:'\u{1f36e}',fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:'\u{1f36c}',fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:'\u{1f36d}',fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:'\u{1f36b}',fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:'\u{1f37f}',fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:'\u{1f95f}',fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:'\u{1f369}',fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:'\u{1f36a}',fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:'\u{1f95b}',fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'\u{1f37a}',fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'\u{1f37b}',fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:'\u{1f942}',fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:'\u{1f377}',fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:'\u{1f943}',fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:'\u{1f378}',fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:'\u{1f379}',fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:'\u{1f37e}',fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:'\u{1f376}',fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:'\u{1f375}',fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:'\u{1f964}',fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:'\u2615',fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:'\u{1f37c}',fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:'\u{1f9c2}',fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:'\u{1f944}',fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:'\u{1f374}',fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:'\u{1f37d}',fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:'\u{1f963}',fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:'\u{1f961}',fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:'\u{1f962}',fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:'\u26bd',fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:'\u{1f3c0}',fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:'\u{1f3c8}',fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:'\u26be',fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:'\u{1f94e}',fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:'\u{1f3be}',fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:'\u{1f3d0}',fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:'\u{1f3c9}',fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:'\u{1f94f}',fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:'\u{1f3b1}',fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:'\u26f3',fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:'\u{1f3cc}\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:'\u{1f3cc}',fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:'\u{1f3d3}',fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:'\u{1f3f8}',fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:'\u{1f945}',fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:'\u{1f3d2}',fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:'\u{1f3d1}',fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:'\u{1f94d}',fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:'\u{1f3cf}',fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:'\u{1f3bf}',fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:'\u26f7',fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:'\u{1f3c2}',fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:'\u{1f93a}',fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:'\u{1f93c}\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:'\u{1f93c}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:'\u{1f938}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:'\u{1f938}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:'\u{1f93e}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:'\u{1f93e}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:'\u26f8',fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:'\u{1f94c}',fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:'\u{1f6f9}',fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:'\u{1f6f7}',fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:'\u{1f3f9}',fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:'\u{1f3a3}',fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:'\u{1f94a}',fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:'\u{1f94b}',fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:'\u{1f6a3}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:'\u{1f6a3}',fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:'\u{1f9d7}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:'\u{1f9d7}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:'\u{1f3ca}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:'\u{1f3ca}',fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:'\u{1f93d}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:'\u{1f93d}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:'\u{1f9d8}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:'\u{1f9d8}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:'\u{1f3c4}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:'\u{1f3c4}',fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:'\u{1f6c0}',fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:'\u26f9\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:'\u26f9',fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:'\u{1f3cb}\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:'\u{1f3cb}',fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:'\u{1f6b4}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:'\u{1f6b4}',fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:'\u{1f6b5}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:'\u{1f6b5}',fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:'\u{1f3c7}',fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:'\u{1f574}',fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:'\u{1f3c6}',fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:'\u{1f3bd}',fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:'\u{1f3c5}',fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:'\u{1f396}',fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:'\u{1f947}',fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:'\u{1f948}',fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:'\u{1f949}',fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:'\u{1f397}',fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:'\u{1f3f5}',fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:'\u{1f3ab}',fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:'\u{1f39f}',fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:'\u{1f3ad}',fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:'\u{1f3a8}',fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:'\u{1f3aa}',fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:'\u{1f939}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:'\u{1f939}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:'\u{1f3a4}',fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:'\u{1f3a7}',fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:'\u{1f3bc}',fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:'\u{1f3b9}',fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:'\u{1f941}',fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:'\u{1f3b7}',fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:'\u{1f3ba}',fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:'\u{1f3b8}',fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:'\u{1f3bb}',fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:'\u{1f3ac}',fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:'\u{1f3ae}',fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:'\u{1f47e}',fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:'\u{1f3af}',fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:'\u{1f3b2}',fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265f",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:'\u{1f3b0}',fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:'\u{1f9e9}',fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:'\u{1f3b3}',fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:'\u{1f697}',fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:'\u{1f695}',fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:'\u{1f699}',fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:'\u{1f68c}',fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:'\u{1f68e}',fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:'\u{1f3ce}',fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:'\u{1f693}',fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:'\u{1f691}',fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:'\u{1f692}',fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:'\u{1f690}',fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:'\u{1f69a}',fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:'\u{1f69b}',fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:'\u{1f69c}',fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:'\u{1f6f4}',fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:'\u{1f3cd}',fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:'\u{1f6b2}',fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:'\u{1f6f5}',fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:'\u{1f6a8}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:'\u{1f694}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:'\u{1f68d}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:'\u{1f698}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:'\u{1f696}',fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:'\u{1f6a1}',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:'\u{1f6a0}',fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:'\u{1f69f}',fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:'\u{1f683}',fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:'\u{1f68b}',fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:'\u{1f69d}',fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:'\u{1f684}',fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:'\u{1f685}',fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:'\u{1f688}',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:'\u{1f69e}',fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:'\u{1f682}',fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:'\u{1f686}',fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:'\u{1f687}',fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:'\u{1f68a}',fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:'\u{1f689}',fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:'\u{1f6f8}',fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:'\u{1f681}',fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:'\u{1f6e9}',fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:'\u2708\ufe0f',fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:'\u{1f6eb}',fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:'\u{1f6ec}',fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:'\u26f5',fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:'\u{1f6e5}',fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:'\u{1f6a4}',fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:'\u26f4',fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:'\u{1f6f3}',fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:'\u{1f680}',fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:'\u{1f6f0}',fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:'\u{1f4ba}',fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:'\u{1f6f6}',fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:'\u2693',fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:'\u{1f6a7}',fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:'\u26fd',fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:'\u{1f68f}',fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:'\u{1f6a6}',fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:'\u{1f6a5}',fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:'\u{1f3c1}',fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:'\u{1f6a2}',fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:'\u{1f3a1}',fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:'\u{1f3a2}',fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:'\u{1f3a0}',fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:'\u{1f3d7}',fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:'\u{1f301}',fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:'\u{1f5fc}',fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:'\u{1f3ed}',fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:'\u26f2',fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:'\u{1f391}',fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:'\u26f0',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:'\u{1f3d4}',fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:'\u{1f5fb}',fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:'\u{1f30b}',fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:'\u{1f5fe}',fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:'\u{1f3d5}',fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:'\u26fa',fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:'\u{1f3de}',fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:'\u{1f6e3}',fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:'\u{1f6e4}',fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:'\u{1f305}',fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:'\u{1f304}',fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:'\u{1f3dc}',fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:'\u{1f3d6}',fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:'\u{1f3dd}',fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:'\u{1f307}',fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:'\u{1f306}',fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:'\u{1f3d9}',fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:'\u{1f303}',fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:'\u{1f309}',fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:'\u{1f30c}',fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:'\u{1f320}',fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:'\u{1f387}',fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:'\u{1f386}',fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:'\u{1f308}',fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:'\u{1f3d8}',fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:'\u{1f3f0}',fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:'\u{1f3ef}',fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:'\u{1f3df}',fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:'\u{1f5fd}',fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:'\u{1f3e0}',fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:'\u{1f3e1}',fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:'\u{1f3da}',fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:'\u{1f3e2}',fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:'\u{1f3ec}',fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:'\u{1f3e3}',fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:'\u{1f3e4}',fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:'\u{1f3e5}',fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:'\u{1f3e6}',fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:'\u{1f3e8}',fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:'\u{1f3ea}',fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:'\u{1f3eb}',fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:'\u{1f3e9}',fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:'\u{1f492}',fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:'\u{1f3db}',fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:'\u26ea',fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:'\u{1f54c}',fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:'\u{1f54d}',fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:'\u{1f54b}',fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:'\u26e9',fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:'\u231a',fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:'\u{1f4f1}',fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:'\u{1f4f2}',fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:'\u{1f4bb}',fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:'\u2328',fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:'\u{1f5a5}',fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:'\u{1f5a8}',fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:'\u{1f5b1}',fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:'\u{1f5b2}',fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:'\u{1f579}',fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:'\u{1f5dc}',fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:'\u{1f4bd}',fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:'\u{1f4be}',fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:'\u{1f4bf}',fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:'\u{1f4c0}',fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:'\u{1f4fc}',fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:'\u{1f4f7}',fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:'\u{1f4f8}',fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:'\u{1f4f9}',fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:'\u{1f3a5}',fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:'\u{1f4fd}',fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:'\u{1f39e}',fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:'\u{1f4de}',fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:'\u260e\ufe0f',fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:'\u{1f4df}',fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:'\u{1f4e0}',fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:'\u{1f4fa}',fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:'\u{1f4fb}',fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:'\u{1f399}',fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:'\u{1f39a}',fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:'\u{1f39b}',fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:'\u{1f9ed}',fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:'\u23f1',fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:'\u23f2',fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:'\u23f0',fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:'\u{1f570}',fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:'\u23f3',fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:'\u231b',fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:'\u{1f4e1}',fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:'\u{1f50b}',fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:'\u{1f50c}',fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:'\u{1f4a1}',fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:'\u{1f526}',fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:'\u{1f56f}',fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:'\u{1f9ef}',fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:'\u{1f5d1}',fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:'\u{1f6e2}',fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:'\u{1f4b8}',fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:'\u{1f4b5}',fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:'\u{1f4b4}',fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:'\u{1f4b6}',fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:'\u{1f4b7}',fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:'\u{1f4b0}',fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:'\u{1f4b3}',fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:'\u{1f48e}',fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:'\u2696',fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:'\u{1f9f0}',fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:'\u{1f527}',fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:'\u{1f528}',fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:'\u2692',fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:'\u{1f6e0}',fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:'\u26cf',fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:'\u{1f529}',fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:'\u2699',fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:'\u{1f9f1}',fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:'\u26d3',fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:'\u{1f9f2}',fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:'\u{1f52b}',fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:'\u{1f4a3}',fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:'\u{1f9e8}',fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:'\u{1f52a}',fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:'\u{1f5e1}',fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:'\u2694',fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:'\u{1f6e1}',fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:'\u{1f6ac}',fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:'\u2620',fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:'\u26b0',fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:'\u26b1',fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:'\u{1f3fa}',fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:'\u{1f52e}',fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:'\u{1f4ff}',fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:'\u{1f9ff}',fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:'\u{1f488}',fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:'\u2697',fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:'\u{1f52d}',fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:'\u{1f52c}',fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:'\u{1f573}',fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:'\u{1f48a}',fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:'\u{1f489}',fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:'\u{1f9ec}',fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:'\u{1f9a0}',fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:'\u{1f9eb}',fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:'\u{1f9ea}',fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:'\u{1f321}',fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:'\u{1f9f9}',fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:'\u{1f9fa}',fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:'\u{1f9fb}',fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:'\u{1f3f7}',fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:'\u{1f516}',fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:'\u{1f6bd}',fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:'\u{1f6bf}',fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:'\u{1f6c1}',fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:'\u{1f9fc}',fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:'\u{1f9fd}',fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:'\u{1f9f4}',fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:'\u{1f511}',fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:'\u{1f5dd}',fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:'\u{1f6cb}',fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:'\u{1f6cc}',fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:'\u{1f6cf}',fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:'\u{1f6aa}',fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:'\u{1f6ce}',fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:'\u{1f9f8}',fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:'\u{1f5bc}',fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:'\u{1f5fa}',fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:'\u26f1',fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:'\u{1f5ff}',fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:'\u{1f6cd}',fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:'\u{1f6d2}',fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:'\u{1f388}',fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:'\u{1f38f}',fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:'\u{1f380}',fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:'\u{1f381}',fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:'\u{1f38a}',fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:'\u{1f389}',fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:'\u{1f38e}',fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:'\u{1f390}',fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:'\u{1f38c}',fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:'\u{1f3ee}',fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:'\u{1f9e7}',fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:'\u2709\ufe0f',fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:'\u{1f4e9}',fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:'\u{1f4e8}',fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:'\u{1f4e7}',fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:'\u{1f48c}',fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:'\u{1f4ee}',fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:'\u{1f4ea}',fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:'\u{1f4eb}',fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:'\u{1f4ec}',fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:'\u{1f4ed}',fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:'\u{1f4e6}',fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:'\u{1f4ef}',fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:'\u{1f4e5}',fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:'\u{1f4e4}',fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:'\u{1f4dc}',fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:'\u{1f4c3}',fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:'\u{1f4d1}',fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:'\u{1f9fe}',fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:'\u{1f4ca}',fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:'\u{1f4c8}',fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:'\u{1f4c9}',fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:'\u{1f4c4}',fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:'\u{1f4c5}',fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:'\u{1f4c6}',fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:'\u{1f5d3}',fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:'\u{1f4c7}',fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:'\u{1f5c3}',fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:'\u{1f5f3}',fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:'\u{1f5c4}',fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:'\u{1f4cb}',fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:'\u{1f5d2}',fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:'\u{1f4c1}',fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:'\u{1f4c2}',fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:'\u{1f5c2}',fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:'\u{1f5de}',fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:'\u{1f4f0}',fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:'\u{1f4d3}',fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:'\u{1f4d5}',fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:'\u{1f4d7}',fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:'\u{1f4d8}',fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:'\u{1f4d9}',fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:'\u{1f4d4}',fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:'\u{1f4d2}',fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:'\u{1f4da}',fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:'\u{1f4d6}',fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:'\u{1f9f7}',fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:'\u{1f517}',fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:'\u{1f4ce}',fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:'\u{1f587}',fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:'\u2702\ufe0f',fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:'\u{1f4d0}',fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:'\u{1f4cf}',fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:'\u{1f9ee}',fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:'\u{1f4cc}',fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:'\u{1f4cd}',fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:'\u{1f6a9}',fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:'\u{1f3f3}',fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:'\u{1f3f4}',fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:'\u{1f3f3}\ufe0f\u200d\u{1f308}',fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:'\u{1f510}',fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:'\u{1f512}',fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:'\u{1f513}',fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:'\u{1f50f}',fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:'\u{1f58a}',fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:'\u{1f58b}',fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:'\u2712\ufe0f',fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:'\u{1f4dd}',fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:'\u270f\ufe0f',fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:'\u{1f58d}',fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:'\u{1f58c}',fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:'\u{1f50d}',fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:'\u{1f50e}',fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:'\u2764\ufe0f',fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f9e1}',fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f49b}',fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f49a}',fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f499}',fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f49c}',fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:'\u{1f5a4}',fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:'\u{1f494}',fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:'\u2763',fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:'\u{1f495}',fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:'\u{1f49e}',fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:'\u{1f493}',fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:'\u{1f497}',fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f496}',fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:'\u{1f498}',fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:'\u{1f49d}',fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:'\u{1f49f}',fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:'\u262e',fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:'\u271d',fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:'\u262a',fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'\u{1f549}',fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'\u2638',fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:'\u2721',fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:'\u{1f52f}',fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:'\u{1f54e}',fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:'\u262f',fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:'\u2626',fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:'\u{1f6d0}',fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:'\u26ce',fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u2648',fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:'\u2649',fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264a',fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264b',fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u264c',fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264d',fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u264e',fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:'\u264f',fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u2650',fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u2651',fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u2652',fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:'\u2653',fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:'\u{1f194}',fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:'\u269b',fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:'\u{1f233}',fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:'\u{1f239}',fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:'\u2622',fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:'\u2623',fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:'\u{1f4f4}',fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:'\u{1f4f3}',fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:'\u{1f236}',fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:'\u{1f21a}',fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:'\u{1f238}',fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:'\u{1f23a}',fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:'\u{1f237}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:'\u2734\ufe0f',fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:'\u{1f19a}',fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:'\u{1f251}',fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:'\u{1f4ae}',fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:'\u{1f250}',fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:'\u3299\ufe0f',fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:'\u3297\ufe0f',fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:'\u{1f234}',fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:'\u{1f235}',fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:'\u{1f232}',fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:'\u{1f170}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:'\u{1f171}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:'\u{1f18e}',fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:'\u{1f191}',fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:'\u{1f17e}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:'\u{1f198}',fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:'\u26d4',fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:'\u{1f4db}',fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:'\u{1f6ab}',fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:'\u274c',fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:'\u2b55',fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:'\u{1f6d1}',fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:'\u{1f4a2}',fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:'\u2668\ufe0f',fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:'\u{1f6b7}',fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:'\u{1f6af}',fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:'\u{1f6b3}',fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:'\u{1f6b1}',fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:'\u{1f51e}',fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:'\u{1f4f5}',fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:'\u2757',fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:'\u2755',fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:'\u2753',fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:'\u2754',fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:'\u203c\ufe0f',fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:'\u2049\ufe0f',fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:'\u{1f505}',fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:'\u{1f506}',fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:'\u{1f531}',fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:'\u269c',fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:'\u303d\ufe0f',fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:'\u26a0\ufe0f',fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:'\u{1f6b8}',fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:'\u{1f530}',fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:'\u267b\ufe0f',fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:'\u{1f22f}',fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:'\u{1f4b9}',fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:'\u2747\ufe0f',fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:'\u2733\ufe0f',fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:'\u274e',fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:'\u2705',fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:'\u{1f4a0}',fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:'\u{1f300}',fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:'\u27bf',fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:'\u{1f310}',fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:'\u24c2\ufe0f',fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:'\u{1f3e7}',fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:'\u{1f202}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:'\u{1f6c2}',fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:'\u{1f6c3}',fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:'\u{1f6c4}',fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:'\u{1f6c5}',fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:'\u267f',fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:'\u{1f6ad}',fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:'\u{1f6be}',fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:'\u{1f17f}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:'\u{1f6b0}',fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:'\u{1f6b9}',fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:'\u{1f6ba}',fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:'\u{1f6bc}',fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:'\u{1f6bb}',fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:'\u{1f6ae}',fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:'\u{1f3a6}',fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:'\u{1f4f6}',fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:'\u{1f201}',fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:'\u{1f196}',fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:'\u{1f197}',fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:'\u{1f199}',fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:'\u{1f192}',fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:'\u{1f195}',fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:'\u{1f193}',fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:'0\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:'1\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:'2\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:'3\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:'4\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:'5\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:'6\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:'7\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:'8\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:'9\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:'\u{1f51f}',fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:'*\u20e3',fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:'\u23cf\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:'\u25b6\ufe0f',fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:'\u23f8',fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:'\u23ed',fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:'\u23f9',fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:'\u23fa',fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:'\u23ef',fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:'\u23ee',fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:'\u23e9',fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:'\u23ea',fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:'\u{1f500}',fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:'\u{1f501}',fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:'\u{1f502}',fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:'\u25c0\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:'\u{1f53c}',fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:'\u{1f53d}',fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:'\u23eb',fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:'\u23ec',fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:'\u27a1\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:'\u2b05\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:'\u2b06\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:'\u2b07\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:'\u2197\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:'\u2198\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:'\u2199\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:'\u2196\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:'\u2195\ufe0f',fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:'\u2194\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:'\u{1f504}',fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:'\u21aa\ufe0f',fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:'\u21a9\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:'\u2934\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:'\u2935\ufe0f',fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:'#\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:'\u2139\ufe0f',fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:'\u{1f524}',fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:'\u{1f521}',fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:'\u{1f520}',fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:'\u{1f523}',fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:'\u{1f3b5}',fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:'\u{1f3b6}',fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:'\u3030\ufe0f',fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:'\u27b0',fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:'\u2714\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:'\u{1f503}',fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:'\u2795',fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:'\u2796',fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:'\u2797',fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:'\u2716\ufe0f',fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:'\u267e',fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:'\u{1f4b2}',fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:'\u{1f4b1}',fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:'\xa9\ufe0f',fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:'\xae\ufe0f',fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:'\u2122\ufe0f',fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:'\u{1f51a}',fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:'\u{1f519}',fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:'\u{1f51b}',fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:'\u{1f51d}',fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:'\u{1f51c}',fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:'\u2611\ufe0f',fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:'\u{1f518}',fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:'\u26aa',fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:'\u26ab',fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:'\u{1f534}',fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:'\u{1f535}',fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f538}',fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f539}',fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f536}',fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f537}',fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:'\u{1f53a}',fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:'\u25aa\ufe0f',fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:'\u25ab\ufe0f',fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:'\u2b1b',fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:'\u2b1c',fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:'\u{1f53b}',fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:'\u25fc\ufe0f',fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:'\u25fb\ufe0f',fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:'\u25fe',fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:'\u25fd',fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:'\u{1f532}',fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:'\u{1f533}',fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:'\u{1f508}',fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:'\u{1f509}',fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:'\u{1f50a}',fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:'\u{1f507}',fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:'\u{1f4e3}',fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:'\u{1f4e2}',fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:'\u{1f514}',fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:'\u{1f515}',fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:'\u{1f0cf}',fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:'\u{1f004}',fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:'\u2660\ufe0f',fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:'\u2663\ufe0f',fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:'\u2665\ufe0f',fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:'\u2666\ufe0f',fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:'\u{1f3b4}',fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:'\u{1f4ad}',fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:'\u{1f5ef}',fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:'\u{1f4ac}',fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:'\u{1f5e8}',fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:'\u{1f550}',fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:'\u{1f551}',fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:'\u{1f552}',fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:'\u{1f553}',fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:'\u{1f554}',fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:'\u{1f555}',fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:'\u{1f556}',fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:'\u{1f557}',fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:'\u{1f558}',fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:'\u{1f559}',fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:'\u{1f55a}',fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:'\u{1f55b}',fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:'\u{1f55c}',fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:'\u{1f55d}',fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:'\u{1f55e}',fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:'\u{1f55f}',fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:'\u{1f560}',fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:'\u{1f561}',fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:'\u{1f562}',fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:'\u{1f563}',fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:'\u{1f564}',fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:'\u{1f565}',fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:'\u{1f566}',fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:'\u{1f567}',fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xc5land","islands","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:'\u{1f1e8}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xe7ao","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:'\u{1f1ea}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:'\u{1f1eb}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:'\u{1f1e9}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:'\u{1f1ef}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:'\u{1f1ef}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:'\u{1f1ef}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:'\u{1f1ef}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:'\u{1f1fd}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:'\u{1f1fe}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:'\u{1f1f0}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:'\u{1f1f4}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:'\u{1f1f6}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xe9union","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xe9lemy","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:'\u{1f1fc}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:'\u{1f1ff}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:'\u{1f1f0}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:'\u{1f1ec}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:'\u{1f3f4}\u{e0067}\u{e0062}\u{e0065}\u{e006e}\u{e0067}\u{e007f}',fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:'\u{1f3f4}\u{e0067}\u{e0062}\u{e0073}\u{e0063}\u{e0074}\u{e007f}',fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:'\u{1f3f4}\u{e0067}\u{e0062}\u{e0077}\u{e006c}\u{e0073}\u{e007f}',fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:'\u{1f1fc}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:'\u{1f1fe}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:'\u{1f1ff}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:'\u{1f1ff}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:'\u{1f1fa}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:'\u{1f3f4}\u200d\u2620\ufe0f',fitzpatrick_scale:!1,category:"flags"}}); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/emoticons/js/emojis.js b/src/assets/tinymce/plugins/emoticons/js/emojis.js deleted file mode 100644 index 88455e9a..00000000 --- a/src/assets/tinymce/plugins/emoticons/js/emojis.js +++ /dev/null @@ -1 +0,0 @@ -window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:false,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:false,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:false,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:false,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:false,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:false,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:false,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:false,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:false,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:false,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:false,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:false,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:false,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"🙂",fitzpatrick_scale:false,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:false,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:false,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:false,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:false,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:false,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:false,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:false,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:false,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:false,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:false,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:false,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:false,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:false,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:false,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:false,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:false,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:false,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:false,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:false,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:false,category:"people"},clown_face:{keywords:["face"],char:"🤡",fitzpatrick_scale:false,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:false,category:"people"},hugs:{keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:false,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:false,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:false,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:false,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:false,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:false,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:false,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:false,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:false,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:false,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:false,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:false,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:false,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:false,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:false,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:false,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:false,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:false,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:false,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:false,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:false,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:false,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:false,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:false,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:false,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:false,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:false,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:false,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:false,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:false,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:false,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:false,category:"people"},hushed:{keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:false,category:"people"},frowning:{keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:false,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:false,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:false,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:false,category:"people"},drooling_face:{keywords:["face"],char:"🤤",fitzpatrick_scale:false,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:false,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:false,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:false,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:false,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:false,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:false,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:false,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:false,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:false,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:false,category:"people"},vomiting:{keywords:["face","sick"],char:"🤮",fitzpatrick_scale:false,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:false,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:false,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:false,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:false,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:false,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:false,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:false,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"😈",fitzpatrick_scale:false,category:"people"},imp:{keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:false,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:false,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:false,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:false,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:false,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:false,category:"people"},robot:{keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:false,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:false,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:false,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:false,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:false,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:false,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:false,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:false,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:false,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"😾",fitzpatrick_scale:false,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:true,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:true,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:true,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:true,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:true,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:true,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:true,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:true,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:true,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:true,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:true,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:true,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:true,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:true,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:true,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:true,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:true,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:true,category:"people"},foot:{keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:true,category:"people"},leg:{keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:true,category:"people"},handshake:{keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:false,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:true,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:true,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:true,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:true,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:true,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:true,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:true,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:true,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:true,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:true,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:true,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:true,category:"people"},selfie:{keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:true,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:true,category:"people"},lips:{keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:false,category:"people"},tooth:{keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:false,category:"people"},tongue:{keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:false,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:true,category:"people"},nose:{keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:true,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:false,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:false,category:"people"},brain:{keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:false,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"👤",fitzpatrick_scale:false,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:false,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:false,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:true,category:"people"},child:{keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:true,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:true,category:"people"},girl:{keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:true,category:"people"},adult:{keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:true,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:true,category:"people"},woman:{keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:true,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:true,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:true,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:true,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:true,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:true,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:true,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:true,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:true,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:true,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:true,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:true,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:true,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:true,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:true,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:true,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:true,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:true,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:true,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:true,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:true,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:true,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:true,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:true,category:"people"},man_cook:{keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:true,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:true,category:"people"},man_student:{keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:true,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:true,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:true,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:true,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:true,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:true,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:true,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:true,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:true,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:true,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:true,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:true,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:true,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:true,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:true,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:true,category:"people"},man_artist:{keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:true,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:true,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:true,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:true,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:true,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:true,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:true,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:true,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:true,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:true,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:true,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:true,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:true,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:true,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:true,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:true,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:true,category:"people"},woman_elf:{keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:true,category:"people"},man_elf:{keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:true,category:"people"},woman_vampire:{keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:true,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:true,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:false,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:false,category:"people"},woman_genie:{keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:false,category:"people"},man_genie:{keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:false,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:true,category:"people"},merman:{keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:true,category:"people"},woman_fairy:{keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:true,category:"people"},man_fairy:{keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:true,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:true,category:"people"},pregnant_woman:{keywords:["baby"],char:"🤰",fitzpatrick_scale:true,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:true,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:true,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:true,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:true,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:true,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:true,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:true,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:true,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:true,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:true,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:true,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:false,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:false,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:false,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:false,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:false,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:true,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:true,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:true,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:true,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:true,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:true,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:true,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:true,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:true,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:true,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:true,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:true,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:true,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:true,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:true,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:true,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:true,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:true,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:true,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:true,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:true,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:true,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:true,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:true,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:false,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:false,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:false,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:false,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:false,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:false,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:false,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:false,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:false,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:false,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:false,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:false,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:false,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:false,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:false,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:false,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:false,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:false,category:"people"},coat:{keywords:["jacket"],char:"🧥",fitzpatrick_scale:false,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:false,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:false,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:false,category:"people"},jeans:{keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:false,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:false,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:false,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:false,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:false,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:false,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:false,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:false,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:false,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:false,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:false,category:"people"},boot:{keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:false,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"👞",fitzpatrick_scale:false,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:false,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:false,category:"people"},socks:{keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:false,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:false,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:false,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:false,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:false,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:false,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"⛑",fitzpatrick_scale:false,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:false,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:false,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:false,category:"people"},luggage:{keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:false,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:false,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:false,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:false,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:false,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:false,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:false,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:false,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:false,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:false,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:false,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:false,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:false,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:false,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:false,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:false,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:false,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:false,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:false,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:false,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:false,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:false,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:false,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:false,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:false,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:false,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:false,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:false,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:false,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:false,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:false,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:false,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:false,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:false,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:false,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:false,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:false,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:false,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:false,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:false,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:false,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:false,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:false,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:false,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:false,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:false,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:false,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:false,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:false,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:false,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:false,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:false,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:false,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:false,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:false,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:false,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:false,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:false,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:false,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:false,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:false,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:false,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:false,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:false,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:false,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:false,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:false,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:false,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:false,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:false,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:false,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:false,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:false,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:false,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:false,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:false,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:false,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:false,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:false,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:false,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:false,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:false,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:false,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:false,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:false,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:false,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:false,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:false,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:false,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:false,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:false,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:false,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:false,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:false,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:false,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:false,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:false,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:false,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:false,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:false,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:false,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:false,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:false,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:false,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:false,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:false,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:false,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:false,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:false,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:false,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:false,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:false,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:false,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:false,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:false,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:false,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:false,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:false,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:false,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:false,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:false,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:false,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:false,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:false,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:false,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:false,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:false,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:false,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:false,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:false,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:false,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:false,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:false,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:false,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:false,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:false,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:false,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:false,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:false,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:false,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:false,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:false,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:false,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:false,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:false,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:false,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:false,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:false,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:false,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:false,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:false,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:false,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:false,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:false,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:false,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:false,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:false,category:"animals_and_nature"},comet:{keywords:["space"],char:"☄",fitzpatrick_scale:false,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"🌤",fitzpatrick_scale:false,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"🌥",fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"🌦",fitzpatrick_scale:false,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"🌧",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:false,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:false,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:false,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:false,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"🌨",fitzpatrick_scale:false,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:false,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:false,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"🌬",fitzpatrick_scale:false,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:false,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:false,category:"animals_and_nature"},fog:{keywords:["weather"],char:"🌫",fitzpatrick_scale:false,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"☂",fitzpatrick_scale:false,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:false,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:false,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:false,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:false,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:false,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:false,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:false,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:false,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:false,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:false,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:false,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:false,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:false,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:false,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:false,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:false,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:false,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:false,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:false,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:false,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:false,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:false,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:false,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:false,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:false,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:false,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:false,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:false,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:false,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:false,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"🍠",fitzpatrick_scale:false,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"🥜",fitzpatrick_scale:false,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:false,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:false,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:false,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:false,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:false,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:false,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:false,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:false,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:false,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:false,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:false,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:false,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:false,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"🦴",fitzpatrick_scale:false,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:false,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:false,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:false,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:false,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:false,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:false,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"🍕",fitzpatrick_scale:false,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:false,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"🥫",fitzpatrick_scale:false,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:false,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:false,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:false,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:false,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:false,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:false,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:false,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:false,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:false,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:false,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:false,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:false,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:false,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:false,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:false,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:false,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:false,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:false,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:false,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:false,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:false,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:false,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:false,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:false,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:false,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:false,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:false,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:false,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:false,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:false,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:false,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:false,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:false,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:false,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:false,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:false,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:false,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:false,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:false,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:false,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:false,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:false,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:false,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:false,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:false,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:false,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:false,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:false,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:false,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:false,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:false,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:false,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:false,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"🥢",fitzpatrick_scale:false,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"⚽",fitzpatrick_scale:false,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:false,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:false,category:"activity"},baseball:{keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:false,category:"activity"},softball:{keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:false,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:false,category:"activity"},volleyball:{keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:false,category:"activity"},rugby_football:{keywords:["sports","team"],char:"🏉",fitzpatrick_scale:false,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:false,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:false,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:false,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:false,category:"activity"},golfing_man:{keywords:["sports","business"],char:"🏌",fitzpatrick_scale:true,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:false,category:"activity"},badminton:{keywords:["sports"],char:"🏸",fitzpatrick_scale:false,category:"activity"},goal_net:{keywords:["sports"],char:"🥅",fitzpatrick_scale:false,category:"activity"},ice_hockey:{keywords:["sports"],char:"🏒",fitzpatrick_scale:false,category:"activity"},field_hockey:{keywords:["sports"],char:"🏑",fitzpatrick_scale:false,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:false,category:"activity"},cricket:{keywords:["sports"],char:"🏏",fitzpatrick_scale:false,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:false,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:false,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:true,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:false,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:false,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:false,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:true,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:true,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:true,category:"activity"},man_playing_handball:{keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:true,category:"activity"},ice_skate:{keywords:["sports"],char:"⛸",fitzpatrick_scale:false,category:"activity"},curling_stone:{keywords:["sports"],char:"🥌",fitzpatrick_scale:false,category:"activity"},skateboard:{keywords:["board"],char:"🛹",fitzpatrick_scale:false,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:false,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"🏹",fitzpatrick_scale:false,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:false,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:false,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:false,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:true,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:true,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:true,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:true,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:true,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:true,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:true,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:true,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:true,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:true,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:true,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:true,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:true,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:true,category:"activity"},basketball_man:{keywords:["sports","human"],char:"⛹",fitzpatrick_scale:true,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:true,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:true,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:true,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:true,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:true,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:true,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:true,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:true,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:false,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:false,category:"activity"},medal_sports:{keywords:["award","winning"],char:"🏅",fitzpatrick_scale:false,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:false,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:false,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:false,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:false,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:false,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:false,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:false,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:false,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:false,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:false,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:false,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:true,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:true,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:false,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:false,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:false,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:false,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:false,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:false,category:"activity"},trumpet:{keywords:["music","brass"],char:"🎺",fitzpatrick_scale:false,category:"activity"},guitar:{keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:false,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:false,category:"activity"},clapper:{keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:false,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:false,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:false,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:false,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:false,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:false,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:false,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:false,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:false,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:false,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:false,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:false,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:false,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:false,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:false,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:false,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:false,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:false,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:false,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:false,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:false,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:false,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:false,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:false,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:false,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:false,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:false,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:false,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:false,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:false,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:false,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:false,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:false,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:false,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:false,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:false,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:false,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:false,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:false,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:false,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:false,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:false,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:false,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:false,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:false,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:false,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:false,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"🛥",fitzpatrick_scale:false,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:false,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:false,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:false,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:false,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:false,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:false,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:false,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:false,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:false,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:false,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:false,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:false,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:false,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:false,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:false,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:false,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:false,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:false,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:false,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:false,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:false,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:false,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:false,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:false,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:false,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:false,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:false,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:false,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:false,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:false,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:false,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:false,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:false,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:false,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:false,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:false,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:false,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:false,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:false,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:false,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:false,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:false,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:false,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:false,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:false,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"🌠",fitzpatrick_scale:false,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:false,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:false,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:false,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:false,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:false,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"🏯",fitzpatrick_scale:false,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:false,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:false,category:"travel_and_places"},house:{keywords:["building","home"],char:"🏠",fitzpatrick_scale:false,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:false,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:false,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:false,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:false,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:false,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"🏤",fitzpatrick_scale:false,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:false,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:false,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:false,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:false,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:false,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:false,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:false,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:false,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:false,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:false,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:false,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:false,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:false,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:false,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:false,category:"objects"},calling:{keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:false,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:false,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:false,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:false,category:"objects"},printer:{keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:false,category:"objects"},computer_mouse:{keywords:["click"],char:"🖱",fitzpatrick_scale:false,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:false,category:"objects"},joystick:{keywords:["game","play"],char:"🕹",fitzpatrick_scale:false,category:"objects"},clamp:{keywords:["tool"],char:"🗜",fitzpatrick_scale:false,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:false,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:false,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:false,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:false,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:false,category:"objects"},camera:{keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:false,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:false,category:"objects"},video_camera:{keywords:["film","record"],char:"📹",fitzpatrick_scale:false,category:"objects"},movie_camera:{keywords:["film","record"],char:"🎥",fitzpatrick_scale:false,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:false,category:"objects"},film_strip:{keywords:["movie"],char:"🎞",fitzpatrick_scale:false,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:false,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:false,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:false,category:"objects"},fax:{keywords:["communication","technology"],char:"📠",fitzpatrick_scale:false,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:false,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:false,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:false,category:"objects"},level_slider:{keywords:["scale"],char:"🎚",fitzpatrick_scale:false,category:"objects"},control_knobs:{keywords:["dial"],char:"🎛",fitzpatrick_scale:false,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:false,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:false,category:"objects"},timer_clock:{keywords:["alarm"],char:"⏲",fitzpatrick_scale:false,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"⏰",fitzpatrick_scale:false,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"🕰",fitzpatrick_scale:false,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:false,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:false,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:false,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:false,category:"objects"},electric_plug:{keywords:["charger","power"],char:"🔌",fitzpatrick_scale:false,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:false,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:false,category:"objects"},candle:{keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:false,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"🧯",fitzpatrick_scale:false,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:false,category:"objects"},oil_drum:{keywords:["barrell"],char:"🛢",fitzpatrick_scale:false,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:false,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:false,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:false,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:false,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:false,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:false,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:false,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:false,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:false,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:false,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:false,category:"objects"},hammer:{keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:false,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:false,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:false,category:"objects"},pick:{keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:false,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:false,category:"objects"},gear:{keywords:["cog"],char:"⚙",fitzpatrick_scale:false,category:"objects"},brick:{keywords:["bricks"],char:"🧱",fitzpatrick_scale:false,category:"objects"},chains:{keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:false,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:false,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:false,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:false,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:false,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:false,category:"objects"},dagger:{keywords:["weapon"],char:"🗡",fitzpatrick_scale:false,category:"objects"},crossed_swords:{keywords:["weapon"],char:"⚔",fitzpatrick_scale:false,category:"objects"},shield:{keywords:["protection","security"],char:"🛡",fitzpatrick_scale:false,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:false,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:false,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:false,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:false,category:"objects"},amphora:{keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:false,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:false,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:false,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:false,category:"objects"},barber:{keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:false,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:false,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:false,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:false,category:"objects"},hole:{keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:false,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:false,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:false,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:false,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:false,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:false,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:false,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:false,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:false,category:"objects"},basket:{keywords:["laundry"],char:"🧺",fitzpatrick_scale:false,category:"objects"},toilet_paper:{keywords:["roll"],char:"🧻",fitzpatrick_scale:false,category:"objects"},label:{keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:false,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:false,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:false,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:false,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:false,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:false,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:false,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:false,category:"objects"},key:{keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:false,category:"objects"},old_key:{keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:false,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"🛋",fitzpatrick_scale:false,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:true,category:"objects"},bed:{keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:false,category:"objects"},door:{keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:false,category:"objects"},bellhop_bell:{keywords:["service"],char:"🛎",fitzpatrick_scale:false,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:false,category:"objects"},framed_picture:{keywords:["photography"],char:"🖼",fitzpatrick_scale:false,category:"objects"},world_map:{keywords:["location","direction"],char:"🗺",fitzpatrick_scale:false,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:false,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:false,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:false,category:"objects"},shopping_cart:{keywords:["trolley"],char:"🛒",fitzpatrick_scale:false,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:false,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:false,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:false,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:false,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:false,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:false,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:false,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:false,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:false,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:false,category:"objects"},red_envelope:{keywords:["gift"],char:"🧧",fitzpatrick_scale:false,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:false,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"📩",fitzpatrick_scale:false,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"📨",fitzpatrick_scale:false,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:false,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:false,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:false,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:false,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:false,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:false,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"📭",fitzpatrick_scale:false,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:false,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"📯",fitzpatrick_scale:false,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"📥",fitzpatrick_scale:false,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"📤",fitzpatrick_scale:false,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:false,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:false,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:false,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:false,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:false,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:false,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:false,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:false,category:"objects"},date:{keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:false,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:false,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:false,category:"objects"},card_index:{keywords:["business","stationery"],char:"📇",fitzpatrick_scale:false,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:false,category:"objects"},ballot_box:{keywords:["election","vote"],char:"🗳",fitzpatrick_scale:false,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:false,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:false,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:false,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:false,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"📂",fitzpatrick_scale:false,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:false,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"🗞",fitzpatrick_scale:false,category:"objects"},newspaper:{keywords:["press","headline"],char:"📰",fitzpatrick_scale:false,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:false,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:false,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:false,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:false,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:false,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:false,category:"objects"},ledger:{keywords:["notes","paper"],char:"📒",fitzpatrick_scale:false,category:"objects"},books:{keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:false,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:false,category:"objects"},safety_pin:{keywords:["diaper"],char:"🧷",fitzpatrick_scale:false,category:"objects"},link:{keywords:["rings","url"],char:"🔗",fitzpatrick_scale:false,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:false,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:false,category:"objects"},scissors:{keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:false,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:false,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:false,category:"objects"},abacus:{keywords:["calculation"],char:"🧮",fitzpatrick_scale:false,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:false,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:false,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:false,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:false,category:"objects"},black_flag:{keywords:["pirate"],char:"🏴",fitzpatrick_scale:false,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:false,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:false,category:"objects"},lock:{keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:false,category:"objects"},unlock:{keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:false,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"🔏",fitzpatrick_scale:false,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:false,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:false,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:false,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:false,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:false,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:false,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:false,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:false,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:false,category:"objects"},heart:{keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:false,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:false,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:false,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:false,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:false,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:false,category:"symbols"},black_heart:{keywords:["evil"],char:"🖤",fitzpatrick_scale:false,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:false,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"❣",fitzpatrick_scale:false,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:false,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:false,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:false,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:false,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:false,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:false,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"💝",fitzpatrick_scale:false,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:false,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"☮",fitzpatrick_scale:false,category:"symbols"},latin_cross:{keywords:["christianity"],char:"✝",fitzpatrick_scale:false,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"☪",fitzpatrick_scale:false,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:false,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:false,category:"symbols"},star_of_david:{keywords:["judaism"],char:"✡",fitzpatrick_scale:false,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:false,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:false,category:"symbols"},yin_yang:{keywords:["balance"],char:"☯",fitzpatrick_scale:false,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:false,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:false,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:false,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:false,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:false,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:false,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:false,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:false,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:false,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:false,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:false,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:false,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:false,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:false,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:false,category:"symbols"},id:{keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:false,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:false,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:false,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:false,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:false,category:"symbols"},biohazard:{keywords:["danger"],char:"☣",fitzpatrick_scale:false,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:false,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:false,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:false,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:false,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:false,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:false,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:false,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:false,category:"symbols"},vs:{keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:false,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:false,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:false,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:false,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:false,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:false,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:false,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:false,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:false,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:false,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:false,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:false,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:false,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:false,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:false,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:false,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:false,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:false,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:false,category:"symbols"},o:{keywords:["circle","round"],char:"⭕",fitzpatrick_scale:false,category:"symbols"},stop_sign:{keywords:["stop"],char:"🛑",fitzpatrick_scale:false,category:"symbols"},anger:{keywords:["angry","mad"],char:"💢",fitzpatrick_scale:false,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:false,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:false,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:false,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:false,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:false,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:false,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:false,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:false,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:false,category:"symbols"},question:{keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:false,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:false,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:false,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:false,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:false,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:false,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"🔆",fitzpatrick_scale:false,category:"symbols"},trident:{keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:false,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:false,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:false,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:false,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:false,category:"symbols"},beginner:{keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:false,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:false,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:false,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:false,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:false,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:false,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:false,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:false,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:false,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:false,category:"symbols"},loop:{keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:false,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:false,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:false,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:false,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:false,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:false,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:false,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:false,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:false,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:false,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:false,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:false,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:false,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:false,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:false,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:false,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:false,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:false,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:false,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:false,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:false,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:false,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:false,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:false,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:false,category:"symbols"},cool:{keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:false,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:false,category:"symbols"},free:{keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:false,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:false,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:false,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:false,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:false,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:false,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:false,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:false,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:false,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:false,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:false,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:false,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:false,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:false,category:"symbols"},eject_button:{keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:false,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:false,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:false,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:false,category:"symbols"},stop_button:{keywords:["blue-square"],char:"⏹",fitzpatrick_scale:false,category:"symbols"},record_button:{keywords:["blue-square"],char:"⏺",fitzpatrick_scale:false,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:false,category:"symbols"},previous_track_button:{keywords:["backward"],char:"⏮",fitzpatrick_scale:false,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:false,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:false,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:false,category:"symbols"},repeat:{keywords:["loop","record"],char:"🔁",fitzpatrick_scale:false,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:false,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:false,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:false,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:false,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:false,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:false,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:false,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:false,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:false,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:false,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:false,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:false,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:false,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:false,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:false,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:false,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:false,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:false,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:false,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:false,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:false,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:false,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:false,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:false,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:false,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:false,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:false,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:false,category:"symbols"},notes:{keywords:["music","score"],char:"🎶",fitzpatrick_scale:false,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:false,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:false,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:false,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:false,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:false,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:false,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:false,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:false,category:"symbols"},infinity:{keywords:["forever"],char:"♾",fitzpatrick_scale:false,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:false,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:false,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:false,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:false,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:false,category:"symbols"},end:{keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:false,category:"symbols"},back:{keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:false,category:"symbols"},on:{keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:false,category:"symbols"},top:{keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:false,category:"symbols"},soon:{keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:false,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:false,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:false,category:"symbols"},white_circle:{keywords:["shape","round"],char:"⚪",fitzpatrick_scale:false,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:false,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:false,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:false,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:false,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:false,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:false,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:false,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:false,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:false,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:false,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:false,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:false,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:false,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:false,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:false,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:false,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:false,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:false,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"🔳",fitzpatrick_scale:false,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:false,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:false,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:false,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:false,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:false,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"📢",fitzpatrick_scale:false,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:false,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:false,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:false,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:false,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:false,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:false,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:false,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:false,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:false,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:false,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:false,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:false,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:false,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:false,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:false,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:false,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:false,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:false,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:false,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:false,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:false,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:false,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:false,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:false,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:false,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:false,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:false,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:false,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:false,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:false,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:false,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:false,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:false,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:false,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:false,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:false,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:false,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:false,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:false,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:false,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:false,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:false,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:false,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:false,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:false,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:false,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:false,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:false,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:false,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:false,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:false,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:false,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:false,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:false,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:false,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:false,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:false,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:false,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:false,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:false,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:false,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:false,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:false,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:false,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:false,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:false,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:false,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:false,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:false,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:false,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:false,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:false,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:false,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:false,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:false,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:false,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:false,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:false,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:false,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:false,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:false,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:false,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:false,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:false,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:false,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:false,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:false,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:false,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:false,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:false,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:false,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:false,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:false,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:false,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:false,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:false,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:false,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:false,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:false,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:false,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:false,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:false,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:false,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:false,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:false,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:false,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:false,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:false,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:false,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:false,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:false,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:false,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:false,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:false,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:false,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:false,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:false,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:false,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:false,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:false,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:false,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:false,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:false,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:false,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:false,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:false,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:false,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:false,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:false,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:false,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:false,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:false,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:false,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:false,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:false,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:false,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:false,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:false,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:false,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:false,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:false,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:false,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:false,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:false,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:false,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:false,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:false,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:false,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:false,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:false,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:false,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:false,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:false,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:false,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:false,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:false,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:false,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:false,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:false,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:false,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:false,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:false,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:false,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:false,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:false,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:false,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:false,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:false,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:false,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:false,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:false,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:false,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:false,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:false,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:false,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:false,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:false,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:false,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:false,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:false,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:false,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:false,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:false,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:false,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:false,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:false,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:false,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:false,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:false,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:false,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:false,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:false,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:false,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:false,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:false,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:false,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:false,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:false,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:false,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:false,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:false,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:false,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:false,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:false,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:false,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:false,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:false,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:false,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:false,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:false,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:false,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:false,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:false,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:false,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:false,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:false,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:false,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:false,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:false,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:false,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:false,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:false,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:false,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:false,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:false,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:false,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:false,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:false,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:false,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:false,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:false,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:false,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:false,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:false,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:false,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:false,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:false,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:false,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:false,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:false,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:false,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:false,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:false,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:false,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:false,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:false,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:false,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:false,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:false,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:false,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:false,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:false,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:false,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:false,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:false,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:false,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:false,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:false,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:false,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:false,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:false,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:false,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:false,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:false,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:false,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:false,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:false,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:false,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:false,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:false,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:false,category:"flags"},england:{keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:false,category:"flags"},scotland:{keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:false,category:"flags"},wales:{keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:false,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:false,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:false,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:false,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:false,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:false,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:false,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:false,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:false,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:false,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:false,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:false,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:false,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:false,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:false,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:false,category:"flags"}}); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/emoticons/js/emojis.min.js b/src/assets/tinymce/plugins/emoticons/js/emojis.min.js deleted file mode 100644 index 5a1c4916..00000000 --- a/src/assets/tinymce/plugins/emoticons/js/emojis.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// Source: npm package: emojilib, file:emojis.json -window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"\u{1f600}",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"\u{1f62c}",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"\u{1f601}",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"\u{1f602}",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"\u{1f923}",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"\u{1f973}",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"\u{1f603}",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"\u{1f604}",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"\u{1f605}",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"\u{1f606}",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"\u{1f607}",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"\u{1f609}",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"\u{1f60a}",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"\u{1f642}",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"\u{1f643}",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"\u263a\ufe0f",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"\u{1f60b}",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"\u{1f60c}",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"\u{1f60d}",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"\u{1f970}",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1f618}",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"\u{1f617}",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"\u{1f619}",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1f61a}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"\u{1f61c}",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"\u{1f92a}",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"\u{1f928}",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"\u{1f9d0}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"\u{1f61d}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"\u{1f61b}",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"\u{1f911}",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"\u{1f913}",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"\u{1f60e}",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"\u{1f929}",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"\u{1f921}",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"\u{1f920}",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"\u{1f917}",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"\u{1f60f}",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"\u{1f636}",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"\u{1f610}",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"\u{1f611}",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"\u{1f612}",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"\u{1f644}",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"\u{1f914}",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"\u{1f925}",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"\u{1f92d}",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"\u{1f92b}",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"\u{1f92c}",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"\u{1f92f}",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"\u{1f633}",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"\u{1f61e}",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"\u{1f61f}",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"\u{1f620}",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"\u{1f621}",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"\u{1f614}",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"\u{1f615}",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"\u{1f641}",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"\u2639",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"\u{1f623}",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"\u{1f616}",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"\u{1f62b}",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"\u{1f629}",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"\u{1f97a}",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"\u{1f624}",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"\u{1f62e}",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"\u{1f631}",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"\u{1f628}",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"\u{1f630}",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"\u{1f62f}",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"\u{1f626}",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"\u{1f627}",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"\u{1f622}",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"\u{1f625}",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"\u{1f924}",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"\u{1f62a}",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"\u{1f613}",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"\u{1f975}",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"\u{1f976}",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"\u{1f62d}",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"\u{1f635}",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"\u{1f632}",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"\u{1f910}",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"\u{1f922}",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"\u{1f927}",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"\u{1f92e}",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"\u{1f637}",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"\u{1f912}",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"\u{1f915}",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"\u{1f974}",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"\u{1f634}",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"\u{1f4a4}",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"\u{1f4a9}",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"\u{1f608}",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"\u{1f47f}",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"\u{1f479}",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"\u{1f47a}",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"\u{1f480}",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"\u{1f47b}",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"\u{1f47d}",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"\u{1f916}",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"\u{1f63a}",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"\u{1f638}",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"\u{1f639}",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"\u{1f63b}",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"\u{1f63c}",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"\u{1f63d}",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"\u{1f640}",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"\u{1f63f}",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"\u{1f63e}",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"\u{1f932}",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"\u{1f64c}",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"\u{1f44f}",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"\u{1f44b}",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"\u{1f919}",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"\u{1f44d}",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"\u{1f44e}",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"\u{1f44a}",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"\u270a",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"\u{1f91b}",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"\u{1f91c}",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"\u270c",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"\u{1f44c}",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"\u270b",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"\u{1f91a}",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"\u{1f450}",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"\u{1f4aa}",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"\u{1f64f}",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"\u{1f9b6}",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"\u{1f9b5}",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"\u{1f91d}",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"\u261d",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"\u{1f446}",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"\u{1f447}",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"\u{1f448}",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"\u{1f449}",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"\u{1f595}",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"\u{1f590}",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"\u{1f91f}",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"\u{1f918}",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"\u{1f91e}",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"\u{1f596}",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"\u270d",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"\u{1f933}",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"\u{1f485}",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"\u{1f444}",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"\u{1f9b7}",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"\u{1f445}",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"\u{1f442}",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"\u{1f443}",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"\u{1f441}",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"\u{1f440}",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"\u{1f9e0}",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"\u{1f464}",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"\u{1f465}",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"\u{1f5e3}",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"\u{1f476}",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"\u{1f9d2}",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"\u{1f466}",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"\u{1f467}",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"\u{1f9d1}",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"\u{1f468}",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"\u{1f469}",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"\u{1f471}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"\u{1f471}",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"\u{1f9d4}",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"\u{1f9d3}",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"\u{1f474}",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"\u{1f475}",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"\u{1f472}",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"\u{1f9d5}",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"\u{1f473}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"\u{1f473}",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"\u{1f46e}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"\u{1f46e}",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"\u{1f477}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"\u{1f477}",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"\u{1f482}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"\u{1f482}",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"\u{1f575}\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"\u{1f575}",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"\u{1f469}\u200d\u2695\ufe0f",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"\u{1f468}\u200d\u2695\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"\u{1f469}\u200d\u{1f33e}",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"\u{1f468}\u200d\u{1f33e}",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"\u{1f469}\u200d\u{1f373}",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"\u{1f468}\u200d\u{1f373}",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"\u{1f469}\u200d\u{1f393}",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"\u{1f468}\u200d\u{1f393}",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"\u{1f469}\u200d\u{1f3a4}",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"\u{1f468}\u200d\u{1f3a4}",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"\u{1f469}\u200d\u{1f3eb}",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"\u{1f468}\u200d\u{1f3eb}",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"\u{1f469}\u200d\u{1f3ed}",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"\u{1f468}\u200d\u{1f3ed}",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"\u{1f469}\u200d\u{1f4bb}",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"\u{1f468}\u200d\u{1f4bb}",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"\u{1f469}\u200d\u{1f4bc}",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"\u{1f468}\u200d\u{1f4bc}",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"\u{1f469}\u200d\u{1f527}",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"\u{1f468}\u200d\u{1f527}",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"\u{1f469}\u200d\u{1f52c}",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"\u{1f468}\u200d\u{1f52c}",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"\u{1f469}\u200d\u{1f3a8}",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"\u{1f468}\u200d\u{1f3a8}",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"\u{1f469}\u200d\u{1f692}",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"\u{1f468}\u200d\u{1f692}",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"\u{1f469}\u200d\u2708\ufe0f",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"\u{1f468}\u200d\u2708\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"\u{1f469}\u200d\u{1f680}",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"\u{1f468}\u200d\u{1f680}",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"\u{1f469}\u200d\u2696\ufe0f",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"\u{1f468}\u200d\u2696\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"\u{1f9b8}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"\u{1f9b8}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"\u{1f9b9}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"\u{1f9b9}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"\u{1f936}",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"\u{1f385}",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"\u{1f9d9}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"\u{1f9d9}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"\u{1f9dd}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"\u{1f9dd}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"\u{1f9db}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"\u{1f9db}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"\u{1f9df}\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"\u{1f9df}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"\u{1f9de}\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"\u{1f9de}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"\u{1f9dc}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"\u{1f9dc}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"\u{1f9da}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"\u{1f9da}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"\u{1f47c}",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"\u{1f930}",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"\u{1f931}",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"\u{1f478}",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"\u{1f934}",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"\u{1f470}",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"\u{1f935}",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"\u{1f3c3}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"\u{1f3c3}",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"\u{1f6b6}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"\u{1f6b6}",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"\u{1f483}",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"\u{1f57a}",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"\u{1f46f}",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"\u{1f46f}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"\u{1f46b}",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"\u{1f46c}",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"\u{1f46d}",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"\u{1f647}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"\u{1f647}",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"\u{1f926}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"\u{1f926}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"\u{1f937}",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"\u{1f937}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"\u{1f481}",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"\u{1f481}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"\u{1f645}",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"\u{1f645}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"\u{1f646}",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"\u{1f646}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"\u{1f64b}",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"\u{1f64b}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"\u{1f64e}",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"\u{1f64e}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"\u{1f64d}",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"\u{1f64d}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"\u{1f487}",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"\u{1f487}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"\u{1f486}",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"\u{1f486}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"\u{1f9d6}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"\u{1f9d6}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1f491}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f469}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f468}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1f48f}",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f469}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f468}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"\u{1f46a}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"\u{1f469}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"\u{1f469}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f469}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f469}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1f469}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"\u{1f468}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"\u{1f468}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f468}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f468}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1f468}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"\u{1f9f6}",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"\u{1f9f5}",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"\u{1f9e5}",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"\u{1f97c}",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"\u{1f45a}",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"\u{1f455}",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"\u{1f456}",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"\u{1f454}",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"\u{1f457}",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"\u{1f459}",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"\u{1f458}",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"\u{1f484}",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"\u{1f48b}",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"\u{1f463}",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"\u{1f97f}",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"\u{1f460}",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"\u{1f461}",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"\u{1f462}",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"\u{1f45e}",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"\u{1f45f}",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"\u{1f97e}",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"\u{1f9e6}",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"\u{1f9e4}",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"\u{1f9e3}",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"\u{1f452}",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"\u{1f3a9}",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"\u{1f9e2}",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"\u26d1",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"\u{1f393}",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"\u{1f451}",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"\u{1f392}",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"\u{1f9f3}",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"\u{1f45d}",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"\u{1f45b}",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"\u{1f45c}",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"\u{1f4bc}",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"\u{1f453}",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"\u{1f576}",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"\u{1f97d}",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"\u{1f48d}",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"\u{1f302}",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"\u{1f436}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"\u{1f431}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"\u{1f42d}",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"\u{1f439}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"\u{1f430}",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"\u{1f98a}",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"\u{1f43b}",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"\u{1f43c}",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"\u{1f428}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"\u{1f42f}",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"\u{1f981}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1f42e}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"\u{1f437}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"\u{1f43d}",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"\u{1f438}",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"\u{1f991}",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"\u{1f419}",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"\u{1f990}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"\u{1f435}",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"\u{1f98d}",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"\u{1f648}",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"\u{1f649}",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"\u{1f64a}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"\u{1f412}",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"\u{1f414}",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"\u{1f427}",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"\u{1f426}",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"\u{1f424}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"\u{1f423}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"\u{1f425}",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"\u{1f986}",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"\u{1f985}",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"\u{1f989}",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"\u{1f987}",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"\u{1f43a}",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"\u{1f417}",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"\u{1f434}",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"\u{1f984}",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"\u{1f41d}",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"\u{1f41b}",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"\u{1f98b}",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"\u{1f40c}",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"\u{1f41e}",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"\u{1f41c}",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"\u{1f997}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"\u{1f577}",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"\u{1f982}",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"\u{1f980}",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"\u{1f40d}",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"\u{1f98e}",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"\u{1f996}",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"\u{1f995}",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"\u{1f422}",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"\u{1f420}",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"\u{1f41f}",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"\u{1f421}",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"\u{1f42c}",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"\u{1f988}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"\u{1f433}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"\u{1f40b}",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"\u{1f40a}",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"\u{1f406}",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"\u{1f993}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"\u{1f405}",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"\u{1f403}",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"\u{1f402}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1f404}",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"\u{1f98c}",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"\u{1f42a}",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"\u{1f42b}",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"\u{1f992}",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"\u{1f418}",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"\u{1f98f}",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"\u{1f410}",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"\u{1f40f}",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"\u{1f411}",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"\u{1f40e}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"\u{1f416}",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"\u{1f400}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"\u{1f401}",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"\u{1f413}",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"\u{1f983}",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"\u{1f54a}",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"\u{1f415}",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"\u{1f429}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"\u{1f408}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"\u{1f407}",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"\u{1f43f}",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"\u{1f994}",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"\u{1f99d}",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"\u{1f999}",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"\u{1f99b}",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"\u{1f998}",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"\u{1f9a1}",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"\u{1f9a2}",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"\u{1f99a}",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"\u{1f99c}",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"\u{1f99e}",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"\u{1f99f}",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"\u{1f43e}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1f409}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1f432}",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"\u{1f335}",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"\u{1f384}",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"\u{1f332}",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"\u{1f333}",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"\u{1f334}",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"\u{1f331}",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"\u{1f33f}",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"\u2618",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"\u{1f340}",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"\u{1f38d}",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"\u{1f38b}",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"\u{1f343}",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"\u{1f342}",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"\u{1f341}",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"\u{1f33e}",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"\u{1f33a}",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"\u{1f33b}",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"\u{1f339}",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"\u{1f940}",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"\u{1f337}",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"\u{1f33c}",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"\u{1f338}",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"\u{1f490}",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"\u{1f344}",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"\u{1f330}",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"\u{1f383}",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"\u{1f41a}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"\u{1f578}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"\u{1f30e}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"\u{1f30d}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"\u{1f30f}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"\u{1f315}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"\u{1f316}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f317}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f318}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f311}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f312}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f313}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"\u{1f314}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31a}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31d}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31b}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31c}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"\u{1f31e}",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"\u{1f319}",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"\u2b50",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"\u{1f31f}",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"\u{1f4ab}",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"\u2728",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"\u2604",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"\u2600\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"\u{1f324}",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"\u26c5",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"\u{1f325}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"\u{1f326}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"\u2601\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"\u{1f327}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"\u26c8",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"\u{1f329}",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"\u26a1",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"\u{1f525}",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"\u{1f4a5}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"\u2744\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"\u{1f328}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"\u26c4",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"\u2603",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"\u{1f32c}",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"\u{1f4a8}",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"\u{1f32a}",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"\u{1f32b}",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"\u2602",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"\u2614",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"\u{1f4a7}",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"\u{1f4a6}",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"\u{1f30a}",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"\u{1f34f}",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"\u{1f34e}",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"\u{1f350}",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"\u{1f34a}",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"\u{1f34b}",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"\u{1f34c}",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"\u{1f349}",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"\u{1f347}",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"\u{1f353}",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"\u{1f348}",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"\u{1f352}",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"\u{1f351}",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"\u{1f34d}",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"\u{1f965}",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"\u{1f95d}",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"\u{1f96d}",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"\u{1f951}",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"\u{1f966}",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"\u{1f345}",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"\u{1f346}",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"\u{1f952}",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"\u{1f955}",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"\u{1f336}",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"\u{1f954}",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"\u{1f33d}",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"\u{1f96c}",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"\u{1f360}",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"\u{1f95c}",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"\u{1f36f}",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"\u{1f950}",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"\u{1f35e}",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"\u{1f956}",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"\u{1f96f}",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"\u{1f968}",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"\u{1f9c0}",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"\u{1f95a}",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"\u{1f953}",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"\u{1f969}",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"\u{1f95e}",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"\u{1f357}",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"\u{1f356}",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"\u{1f9b4}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"\u{1f364}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"\u{1f373}",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"\u{1f354}",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"\u{1f35f}",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"\u{1f959}",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"\u{1f32d}",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"\u{1f355}",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"\u{1f96a}",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"\u{1f96b}",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"\u{1f35d}",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"\u{1f32e}",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"\u{1f32f}",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"\u{1f957}",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"\u{1f958}",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"\u{1f35c}",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"\u{1f372}",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"\u{1f365}",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"\u{1f960}",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"\u{1f363}",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"\u{1f371}",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"\u{1f35b}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"\u{1f359}",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"\u{1f35a}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"\u{1f358}",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"\u{1f362}",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"\u{1f361}",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"\u{1f367}",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"\u{1f368}",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"\u{1f366}",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"\u{1f967}",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"\u{1f370}",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"\u{1f9c1}",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"\u{1f96e}",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"\u{1f382}",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"\u{1f36e}",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"\u{1f36c}",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"\u{1f36d}",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"\u{1f36b}",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"\u{1f37f}",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"\u{1f95f}",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"\u{1f369}",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"\u{1f36a}",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"\u{1f95b}",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1f37a}",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1f37b}",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"\u{1f942}",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"\u{1f377}",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"\u{1f943}",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"\u{1f378}",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"\u{1f379}",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"\u{1f37e}",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"\u{1f376}",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"\u{1f375}",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"\u{1f964}",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"\u2615",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"\u{1f37c}",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"\u{1f9c2}",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"\u{1f944}",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"\u{1f374}",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"\u{1f37d}",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"\u{1f963}",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"\u{1f961}",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"\u{1f962}",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"\u26bd",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"\u{1f3c0}",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"\u{1f3c8}",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"\u26be",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"\u{1f94e}",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"\u{1f3be}",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"\u{1f3d0}",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"\u{1f3c9}",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"\u{1f94f}",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"\u{1f3b1}",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"\u26f3",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"\u{1f3cc}\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"\u{1f3cc}",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"\u{1f3d3}",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"\u{1f3f8}",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"\u{1f945}",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"\u{1f3d2}",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"\u{1f3d1}",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"\u{1f94d}",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"\u{1f3cf}",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"\u{1f3bf}",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"\u26f7",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"\u{1f3c2}",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"\u{1f93a}",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"\u{1f93c}\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"\u{1f93c}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"\u{1f938}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"\u{1f938}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"\u{1f93e}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"\u{1f93e}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"\u26f8",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"\u{1f94c}",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"\u{1f6f9}",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"\u{1f6f7}",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"\u{1f3f9}",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"\u{1f3a3}",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"\u{1f94a}",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"\u{1f94b}",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"\u{1f6a3}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"\u{1f6a3}",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"\u{1f9d7}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"\u{1f9d7}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"\u{1f3ca}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"\u{1f3ca}",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"\u{1f93d}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"\u{1f93d}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1f9d8}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1f9d8}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"\u{1f3c4}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"\u{1f3c4}",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"\u{1f6c0}",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"\u26f9\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"\u26f9",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"\u{1f3cb}\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"\u{1f3cb}",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"\u{1f6b4}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"\u{1f6b4}",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"\u{1f6b5}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"\u{1f6b5}",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"\u{1f3c7}",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"\u{1f574}",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"\u{1f3c6}",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"\u{1f3bd}",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"\u{1f3c5}",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"\u{1f396}",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"\u{1f947}",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"\u{1f948}",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"\u{1f949}",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"\u{1f397}",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"\u{1f3f5}",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"\u{1f3ab}",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"\u{1f39f}",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"\u{1f3ad}",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"\u{1f3a8}",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"\u{1f3aa}",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1f939}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1f939}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"\u{1f3a4}",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"\u{1f3a7}",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"\u{1f3bc}",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"\u{1f3b9}",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"\u{1f941}",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"\u{1f3b7}",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"\u{1f3ba}",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"\u{1f3b8}",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"\u{1f3bb}",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"\u{1f3ac}",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"\u{1f3ae}",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"\u{1f47e}",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"\u{1f3af}",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"\u{1f3b2}",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265f",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"\u{1f3b0}",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"\u{1f9e9}",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"\u{1f3b3}",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"\u{1f697}",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"\u{1f695}",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"\u{1f699}",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"\u{1f68c}",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"\u{1f68e}",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"\u{1f3ce}",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"\u{1f693}",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"\u{1f691}",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"\u{1f692}",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"\u{1f690}",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"\u{1f69a}",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"\u{1f69b}",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"\u{1f69c}",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"\u{1f6f4}",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"\u{1f3cd}",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"\u{1f6b2}",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"\u{1f6f5}",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"\u{1f6a8}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"\u{1f694}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"\u{1f68d}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"\u{1f698}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"\u{1f696}",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"\u{1f6a1}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"\u{1f6a0}",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"\u{1f69f}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"\u{1f683}",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"\u{1f68b}",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"\u{1f69d}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"\u{1f684}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"\u{1f685}",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"\u{1f688}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"\u{1f69e}",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"\u{1f682}",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"\u{1f686}",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"\u{1f687}",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"\u{1f68a}",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"\u{1f689}",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"\u{1f6f8}",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"\u{1f681}",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"\u{1f6e9}",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"\u2708\ufe0f",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"\u{1f6eb}",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"\u{1f6ec}",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"\u26f5",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"\u{1f6e5}",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"\u{1f6a4}",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"\u26f4",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"\u{1f6f3}",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"\u{1f680}",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"\u{1f6f0}",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"\u{1f4ba}",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"\u{1f6f6}",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"\u2693",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"\u{1f6a7}",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"\u26fd",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"\u{1f68f}",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"\u{1f6a6}",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"\u{1f6a5}",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"\u{1f3c1}",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"\u{1f6a2}",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"\u{1f3a1}",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"\u{1f3a2}",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"\u{1f3a0}",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"\u{1f3d7}",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"\u{1f301}",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"\u{1f5fc}",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"\u{1f3ed}",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"\u26f2",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"\u{1f391}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"\u26f0",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"\u{1f3d4}",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"\u{1f5fb}",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"\u{1f30b}",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"\u{1f5fe}",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"\u{1f3d5}",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"\u26fa",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"\u{1f3de}",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"\u{1f6e3}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"\u{1f6e4}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"\u{1f305}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"\u{1f304}",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"\u{1f3dc}",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"\u{1f3d6}",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"\u{1f3dd}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"\u{1f307}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"\u{1f306}",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"\u{1f3d9}",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"\u{1f303}",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"\u{1f309}",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"\u{1f30c}",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"\u{1f320}",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"\u{1f387}",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"\u{1f386}",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"\u{1f308}",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"\u{1f3d8}",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"\u{1f3f0}",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"\u{1f3ef}",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"\u{1f3df}",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"\u{1f5fd}",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"\u{1f3e0}",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"\u{1f3e1}",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"\u{1f3da}",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"\u{1f3e2}",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"\u{1f3ec}",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"\u{1f3e3}",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"\u{1f3e4}",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"\u{1f3e5}",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"\u{1f3e6}",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"\u{1f3e8}",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"\u{1f3ea}",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"\u{1f3eb}",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"\u{1f3e9}",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"\u{1f492}",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"\u{1f3db}",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"\u26ea",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"\u{1f54c}",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"\u{1f54d}",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"\u{1f54b}",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"\u26e9",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"\u231a",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"\u{1f4f1}",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"\u{1f4f2}",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"\u{1f4bb}",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"\u2328",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"\u{1f5a5}",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"\u{1f5a8}",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"\u{1f5b1}",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"\u{1f5b2}",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"\u{1f579}",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"\u{1f5dc}",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"\u{1f4bd}",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"\u{1f4be}",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"\u{1f4bf}",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"\u{1f4c0}",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"\u{1f4fc}",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"\u{1f4f7}",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"\u{1f4f8}",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"\u{1f4f9}",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"\u{1f3a5}",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"\u{1f4fd}",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"\u{1f39e}",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"\u{1f4de}",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"\u260e\ufe0f",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"\u{1f4df}",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"\u{1f4e0}",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"\u{1f4fa}",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"\u{1f4fb}",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"\u{1f399}",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"\u{1f39a}",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"\u{1f39b}",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"\u{1f9ed}",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"\u23f1",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"\u23f2",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"\u23f0",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"\u{1f570}",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"\u23f3",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"\u231b",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"\u{1f4e1}",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"\u{1f50b}",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"\u{1f50c}",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"\u{1f4a1}",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"\u{1f526}",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"\u{1f56f}",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"\u{1f9ef}",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"\u{1f5d1}",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"\u{1f6e2}",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"\u{1f4b8}",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"\u{1f4b5}",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"\u{1f4b4}",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"\u{1f4b6}",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"\u{1f4b7}",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"\u{1f4b0}",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"\u{1f4b3}",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"\u{1f48e}",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"\u2696",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"\u{1f9f0}",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"\u{1f527}",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"\u{1f528}",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"\u2692",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"\u{1f6e0}",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"\u26cf",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"\u{1f529}",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"\u2699",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"\u{1f9f1}",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"\u26d3",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"\u{1f9f2}",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"\u{1f52b}",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"\u{1f4a3}",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"\u{1f9e8}",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"\u{1f52a}",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"\u{1f5e1}",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"\u2694",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"\u{1f6e1}",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"\u{1f6ac}",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"\u2620",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"\u26b0",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"\u26b1",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"\u{1f3fa}",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"\u{1f52e}",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"\u{1f4ff}",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"\u{1f9ff}",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"\u{1f488}",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"\u2697",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"\u{1f52d}",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"\u{1f52c}",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"\u{1f573}",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"\u{1f48a}",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"\u{1f489}",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"\u{1f9ec}",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"\u{1f9a0}",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"\u{1f9eb}",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"\u{1f9ea}",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"\u{1f321}",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"\u{1f9f9}",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"\u{1f9fa}",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"\u{1f9fb}",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"\u{1f3f7}",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"\u{1f516}",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"\u{1f6bd}",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"\u{1f6bf}",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"\u{1f6c1}",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"\u{1f9fc}",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"\u{1f9fd}",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"\u{1f9f4}",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"\u{1f511}",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"\u{1f5dd}",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"\u{1f6cb}",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"\u{1f6cc}",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"\u{1f6cf}",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"\u{1f6aa}",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"\u{1f6ce}",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"\u{1f9f8}",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"\u{1f5bc}",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"\u{1f5fa}",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"\u26f1",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"\u{1f5ff}",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"\u{1f6cd}",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"\u{1f6d2}",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"\u{1f388}",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"\u{1f38f}",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"\u{1f380}",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"\u{1f381}",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"\u{1f38a}",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"\u{1f389}",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"\u{1f38e}",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"\u{1f390}",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"\u{1f38c}",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"\u{1f3ee}",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"\u{1f9e7}",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"\u2709\ufe0f",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"\u{1f4e9}",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"\u{1f4e8}",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"\u{1f4e7}",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"\u{1f48c}",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"\u{1f4ee}",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"\u{1f4ea}",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"\u{1f4eb}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"\u{1f4ec}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"\u{1f4ed}",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"\u{1f4e6}",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"\u{1f4ef}",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"\u{1f4e5}",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"\u{1f4e4}",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"\u{1f4dc}",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"\u{1f4c3}",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"\u{1f4d1}",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"\u{1f9fe}",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"\u{1f4ca}",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"\u{1f4c8}",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"\u{1f4c9}",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"\u{1f4c4}",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"\u{1f4c5}",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"\u{1f4c6}",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"\u{1f5d3}",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"\u{1f4c7}",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"\u{1f5c3}",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"\u{1f5f3}",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"\u{1f5c4}",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"\u{1f4cb}",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"\u{1f5d2}",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"\u{1f4c1}",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"\u{1f4c2}",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"\u{1f5c2}",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"\u{1f5de}",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"\u{1f4f0}",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"\u{1f4d3}",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"\u{1f4d5}",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"\u{1f4d7}",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"\u{1f4d8}",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"\u{1f4d9}",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"\u{1f4d4}",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"\u{1f4d2}",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"\u{1f4da}",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"\u{1f4d6}",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"\u{1f9f7}",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"\u{1f517}",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"\u{1f4ce}",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"\u{1f587}",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"\u2702\ufe0f",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"\u{1f4d0}",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"\u{1f4cf}",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"\u{1f9ee}",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"\u{1f4cc}",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"\u{1f4cd}",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"\u{1f6a9}",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"\u{1f3f3}",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"\u{1f3f4}",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"\u{1f3f3}\ufe0f\u200d\u{1f308}",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"\u{1f510}",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"\u{1f512}",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"\u{1f513}",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"\u{1f50f}",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"\u{1f58a}",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"\u{1f58b}",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"\u2712\ufe0f",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"\u{1f4dd}",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"\u270f\ufe0f",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"\u{1f58d}",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"\u{1f58c}",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"\u{1f50d}",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"\u{1f50e}",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"\u2764\ufe0f",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f9e1}",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f49b}",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f49a}",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f499}",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f49c}",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"\u{1f5a4}",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"\u{1f494}",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"\u2763",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"\u{1f495}",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"\u{1f49e}",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"\u{1f493}",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"\u{1f497}",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f496}",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"\u{1f498}",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"\u{1f49d}",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"\u{1f49f}",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"\u262e",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"\u271d",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"\u262a",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u{1f549}",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u2638",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"\u2721",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"\u{1f52f}",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"\u{1f54e}",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"\u262f",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"\u2626",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"\u{1f6d0}",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"\u26ce",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2648",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2649",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264a",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264b",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264c",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264d",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264e",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"\u264f",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2650",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2651",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2652",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2653",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"\u{1f194}",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"\u269b",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"\u{1f233}",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"\u{1f239}",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"\u2622",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"\u2623",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"\u{1f4f4}",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"\u{1f4f3}",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"\u{1f236}",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"\u{1f21a}",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"\u{1f238}",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"\u{1f23a}",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"\u{1f237}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"\u2734\ufe0f",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"\u{1f19a}",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"\u{1f251}",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"\u{1f4ae}",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"\u{1f250}",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"\u3299\ufe0f",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"\u3297\ufe0f",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"\u{1f234}",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"\u{1f235}",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"\u{1f232}",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"\u{1f170}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"\u{1f171}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"\u{1f18e}",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"\u{1f191}",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"\u{1f17e}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"\u{1f198}",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"\u26d4",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"\u{1f4db}",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"\u{1f6ab}",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"\u274c",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"\u2b55",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"\u{1f6d1}",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"\u{1f4a2}",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"\u2668\ufe0f",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"\u{1f6b7}",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"\u{1f6af}",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"\u{1f6b3}",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"\u{1f6b1}",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"\u{1f51e}",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"\u{1f4f5}",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"\u2757",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"\u2755",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"\u2753",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"\u2754",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"\u203c\ufe0f",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"\u2049\ufe0f",fitzpatrick_scale:!1,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"\u{1f4af}",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"\u{1f505}",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"\u{1f506}",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"\u{1f531}",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"\u269c",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"\u303d\ufe0f",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"\u26a0\ufe0f",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"\u{1f6b8}",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"\u{1f530}",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"\u267b\ufe0f",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"\u{1f22f}",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"\u{1f4b9}",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"\u2747\ufe0f",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"\u2733\ufe0f",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"\u274e",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"\u2705",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"\u{1f4a0}",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"\u{1f300}",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"\u27bf",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"\u{1f310}",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"\u24c2\ufe0f",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"\u{1f3e7}",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"\u{1f202}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"\u{1f6c2}",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"\u{1f6c3}",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"\u{1f6c4}",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"\u{1f6c5}",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"\u267f",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"\u{1f6ad}",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"\u{1f6be}",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"\u{1f17f}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"\u{1f6b0}",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"\u{1f6b9}",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"\u{1f6ba}",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"\u{1f6bc}",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"\u{1f6bb}",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"\u{1f6ae}",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"\u{1f3a6}",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"\u{1f4f6}",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"\u{1f201}",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"\u{1f196}",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"\u{1f197}",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"\u{1f199}",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"\u{1f192}",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"\u{1f195}",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"\u{1f193}",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"\u{1f51f}",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*\u20e3",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"\u{1f522}",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"\u23cf\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"\u25b6\ufe0f",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"\u23f8",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"\u23ed",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"\u23f9",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"\u23fa",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"\u23ef",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"\u23ee",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"\u23e9",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"\u23ea",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"\u{1f500}",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"\u{1f501}",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"\u{1f502}",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"\u25c0\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"\u{1f53c}",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"\u{1f53d}",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"\u23eb",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"\u23ec",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"\u27a1\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"\u2b05\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"\u2b06\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"\u2b07\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"\u2197\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"\u2198\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"\u2199\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"\u2196\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"\u2195\ufe0f",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"\u2194\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"\u{1f504}",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"\u21aa\ufe0f",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"\u21a9\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"\u2934\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"\u2935\ufe0f",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"\u2139\ufe0f",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"\u{1f524}",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"\u{1f521}",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"\u{1f520}",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"\u{1f523}",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"\u{1f3b5}",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"\u{1f3b6}",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"\u3030\ufe0f",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"\u27b0",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"\u2714\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"\u{1f503}",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"\u2795",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"\u2796",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"\u2797",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"\u2716\ufe0f",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"\u267e",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"\u{1f4b2}",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"\u{1f4b1}",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"\xa9\ufe0f",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"\xae\ufe0f",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"\u2122\ufe0f",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"\u{1f51a}",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"\u{1f519}",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"\u{1f51b}",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"\u{1f51d}",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"\u{1f51c}",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"\u2611\ufe0f",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"\u{1f518}",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"\u26aa",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"\u26ab",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"\u{1f534}",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"\u{1f535}",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f538}",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f539}",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f536}",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f537}",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"\u{1f53a}",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"\u25aa\ufe0f",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"\u25ab\ufe0f",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"\u2b1b",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"\u2b1c",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"\u{1f53b}",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"\u25fc\ufe0f",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"\u25fb\ufe0f",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"\u25fe",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"\u25fd",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"\u{1f532}",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"\u{1f533}",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"\u{1f508}",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"\u{1f509}",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"\u{1f50a}",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"\u{1f507}",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"\u{1f4e3}",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"\u{1f4e2}",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"\u{1f514}",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"\u{1f515}",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"\u{1f0cf}",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"\u{1f004}",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"\u2660\ufe0f",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"\u2663\ufe0f",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"\u2665\ufe0f",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"\u2666\ufe0f",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"\u{1f3b4}",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"\u{1f4ad}",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"\u{1f5ef}",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"\u{1f4ac}",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"\u{1f5e8}",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"\u{1f550}",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"\u{1f551}",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"\u{1f552}",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"\u{1f553}",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"\u{1f554}",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"\u{1f555}",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"\u{1f556}",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"\u{1f557}",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"\u{1f558}",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"\u{1f559}",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"\u{1f55a}",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"\u{1f55b}",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"\u{1f55c}",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"\u{1f55d}",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"\u{1f55e}",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"\u{1f55f}",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"\u{1f560}",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"\u{1f561}",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"\u{1f562}",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"\u{1f563}",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"\u{1f564}",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"\u{1f565}",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"\u{1f566}",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"\u{1f567}",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xc5land","islands","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"\u{1f1e8}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xe7ao","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"\u{1f1ea}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"\u{1f1eb}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"\u{1f1e9}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"\u{1f1ef}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"\u{1f1ef}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"\u{1f1ef}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"\u{1f1ef}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"\u{1f1fd}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"\u{1f1fe}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"\u{1f1f0}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"\u{1f1f4}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"\u{1f1f6}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xe9union","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xe9lemy","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"\u{1f1fc}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"\u{1f1ff}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"\u{1f1f0}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"\u{1f1ec}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"\u{1f3f4}\u{e0067}\u{e0062}\u{e0065}\u{e006e}\u{e0067}\u{e007f}",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"\u{1f3f4}\u{e0067}\u{e0062}\u{e0073}\u{e0063}\u{e0074}\u{e007f}",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"\u{1f3f4}\u{e0067}\u{e0062}\u{e0077}\u{e006c}\u{e0073}\u{e007f}",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"\u{1f1fc}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"\u{1f1fe}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"\u{1f1ff}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"\u{1f1ff}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"\u{1f1fa}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"\u{1f3f4}\u200d\u2620\ufe0f",fitzpatrick_scale:!1,category:"flags"}}); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/emoticons/plugin.min.js b/src/assets/tinymce/plugins/emoticons/plugin.min.js deleted file mode 100644 index 99e2c66b..00000000 --- a/src/assets/tinymce/plugins/emoticons/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>t===e,o=e(null),n=e(void 0),s=()=>{},r=()=>!1;class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return null==t?a.none():a.some(t)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const i=(t,e)=>{const o=t.length,n=new Array(o);for(let s=0;s{let e=t;return{get:()=>e,set:t=>{e=t}}},c=Object.keys,u=Object.hasOwnProperty,g=(t,e)=>{const o=c(t);for(let n=0,s=o.length;nu.call(t,e),d=(h=(t,e)=>e,(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const e={};for(let o=0;o{const t=(t=>{const e=l(a.none()),o=()=>e.get().each(t);return{clear:()=>{o(),e.set(a.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:t=>{o(),e.set(a.some(t))}}})(s);return{...t,on:e=>t.get().each(e)}},v=(t,e,o=0,s)=>{const r=t.indexOf(e,o);return-1!==r&&(!!n(s)||r+e.length<=s)};var y=tinymce.util.Tools.resolve("tinymce.Resource");const f=t=>e=>e.options.get(t),b=f("emoticons_database"),w=f("emoticons_database_url"),C=f("emoticons_database_id"),_=f("emoticons_append"),j=f("emoticons_images_url"),k="All",A={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},O=(t,e)=>m(t,e)?t[e]:e,x=t=>{const e=_(t);return o=t=>({keywords:[],category:"user",...t}),((t,e)=>{const o={};return g(t,((t,n)=>{const s=e(t,n);o[s.k]=s.v})),o})(e,((t,e)=>({k:e,v:o(t)})));var o},E=(t,e)=>v(t.title.toLowerCase(),e)||((t,o)=>{for(let o=0,s=t.length;o{const n=[],s=e.toLowerCase(),a=o.fold((()=>r),(t=>e=>e>=t));for(let o=0;o{const n={pattern:"",results:S(e.listAll(),"",a.some(300))},s=l(k),r=((t,e)=>{let n=null;const s=()=>{o(n)||(clearTimeout(n),n=null)};return{cancel:s,throttle:(...e)=>{s(),n=setTimeout((()=>{n=null,t.apply(null,e)}),200)}}})((t=>{(t=>{const o=t.getData(),n=s.get(),r=e.listCategory(n),i=S(r,o[L],n===k?a.some(300):a.none());t.setData({results:i})})(t)})),c={label:"Search",type:"input",name:L},u={type:"collection",name:"results"},g=()=>({title:"Emojis",size:"normal",body:{type:"tabpanel",tabs:i(e.listCategories(),(t=>({title:t,name:t,items:[c,u]})))},initialData:n,onTabChange:(t,e)=>{s.set(e.newTabName),r.throttle(t)},onChange:r.throttle,onAction:(e,o)=>{"results"===o.name&&(((t,e)=>{t.insertContent(e)})(t,o.value),e.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}),m=t.windowManager.open(g());m.focus(L),e.hasLoaded()||(m.block("Loading emojis..."),e.waitForLoad().then((()=>{m.redial(g()),r.throttle(m),m.focus(L),m.unblock()})).catch((t=>{m.redial({title:"Emojis",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"Could not load emojis"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),m.focus(L),m.unblock()})))},T=t=>e=>{const o=()=>{e.setEnabled(t.selection.isEditable())};return t.on("NodeChange",o),o(),()=>{t.off("NodeChange",o)}};t.add("emoticons",((t,e)=>{((t,e)=>{const o=t.options.register;o("emoticons_database",{processor:"string",default:"emojis"}),o("emoticons_database_url",{processor:"string",default:`${e}/js/${b(t)}${t.suffix}.js`}),o("emoticons_database_id",{processor:"string",default:"tinymce.plugins.emoticons"}),o("emoticons_append",{processor:"object",default:{}}),o("emoticons_images_url",{processor:"string",default:"https://twemoji.maxcdn.com/v/13.0.1/72x72/"})})(t,e);const o=((t,e,o)=>{const n=p(),s=p(),r=j(t),i=t=>{return o="=4&&e.substr(0,4)===o?t.char.replace(/src="([^"]+)"/,((t,e)=>`src="${r}${e}"`)):t.char;var e,o};t.on("init",(()=>{y.load(o,e).then((e=>{const o=x(t);(t=>{const e={},o=[];g(t,((t,n)=>{const s={title:n,keywords:t.keywords,char:i(t),category:O(A,t.category)},r=void 0!==e[s.category]?e[s.category]:[];e[s.category]=r.concat([s]),o.push(s)})),n.set(e),s.set(o)})(d(e,o))}),(t=>{console.log(`Failed to load emojis: ${t}`),n.set({}),s.set([])}))}));const l=()=>s.get().getOr([]),u=()=>n.isSet()&&s.isSet();return{listCategories:()=>[k].concat(c(n.get().getOr({}))),hasLoaded:u,waitForLoad:()=>u()?Promise.resolve(!0):new Promise(((t,o)=>{let n=15;const s=setInterval((()=>{u()?(clearInterval(s),t(!0)):(n--,n<0&&(console.log("Could not load emojis from url: "+e),clearInterval(s),o(!1)))}),100)})),listAll:l,listCategory:t=>t===k?l():n.get().bind((e=>a.from(e[t]))).getOr([])}})(t,w(t),C(t));((t,e)=>{t.addCommand("mceEmoticons",(()=>N(t,e)))})(t,o),(t=>{const e=()=>t.execCommand("mceEmoticons");t.ui.registry.addButton("emoticons",{tooltip:"Emojis",icon:"emoji",onAction:e,onSetup:T(t)}),t.ui.registry.addMenuItem("emoticons",{text:"Emojis...",icon:"emoji",onAction:e,onSetup:T(t)})})(t),((t,e)=>{t.ui.registry.addAutocompleter("emoticons",{trigger:":",columns:"auto",minChars:2,fetch:(t,o)=>e.waitForLoad().then((()=>{const n=e.listAll();return S(n,t,a.some(o))})),onAction:(e,o,n)=>{t.selection.setRng(o),t.insertContent(n),e.hide()}})})(t,o),(t=>{t.on("PreInit",(()=>{t.parser.addAttributeFilter("data-emoticon",(t=>{((t,e)=>{for(let e=0,n=t.length;e{let t=e;return{get:()=>t,set:e=>{t=e}}};var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const n=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,(o=String).prototype.isPrototypeOf(n)||(null===(s=r.constructor)||void 0===s?void 0:s.name)===o.name)?"string":t;var n,r,o,s})(t)===e,r=e=>t=>typeof t===e,o=e=>t=>e===t,s=n("string"),i=n("object"),l=n("array"),a=o(null),c=r("boolean"),u=o(void 0),d=e=>!(e=>null==e)(e),m=r("function"),h=r("number"),g=()=>{},p=e=>()=>e;function f(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const v=p(!1),w=p(!0);class b{constructor(e,t){this.tag=e,this.value=t}static some(e){return new b(!0,e)}static none(){return b.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?b.some(e(this.value)):b.none()}bind(e){return this.tag?e(this.value):b.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:b.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return d(e)?b.some(e):b.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}b.singletonNone=new b(!1);const y=Array.prototype.push,S=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o{for(let n=0,r=e.length;n{const n=[];for(let r=0,o=e.length;r((e,t,n)=>{for(let r=0,o=e.length;r{const n=e(b.none()),r=()=>n.get().each(t);return{clear:()=>{r(),n.set(b.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:e=>{r(),n.set(b.some(e))}}},k=()=>O((e=>e.unbind())),T=Object.keys,C="undefined"!=typeof window?window:Function("return this;")(),A=(e,t)=>((e,t)=>{let n=null!=t?t:C;for(let t=0;t{const t=A("ownerDocument.defaultView",e);return i(e)&&((e=>((e,t)=>{const n=((e,t)=>A(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(R(e).constructor.name))},M=e=>t=>(e=>e.dom.nodeType)(t)===e,P=M(1),D=M(3),N=M(9),H=M(11),W=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},q=(e,t)=>{e.dom.removeAttribute(t)},I=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!u(r)||o+t.length<=r)},V=e=>void 0!==e.style&&m(e.style.getPropertyValue),j=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},B=j,_=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},z=e=>B(e.dom.ownerDocument),$=e=>S(e.dom.childNodes,B),U=m(Element.prototype.attachShadow)&&m(Node.prototype.getRootNode),K=p(U),X=U?e=>B(e.dom.getRootNode()):e=>N(e)?e:z(e),Y=e=>{const t=X(e);return H(n=t)&&d(n.dom.host)?b.some(t):b.none();var n},G=e=>B(e.dom.host),J=e=>{const t=D(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return Y(B(t)).fold((()=>n.body.contains(t)),(r=J,o=G,e=>r(o(e))));var r,o},Q=(e,t,n)=>{if(!s(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);V(e)&&e.style.setProperty(t,n)},Z=(e,t,n)=>{const r=e.dom;Q(r,t,n)},ee=(e,t)=>{const n=e.dom;((e,t)=>{const n=T(e);for(let r=0,o=n.length;r{Q(n,t,e)}))},te=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||J(e)?r:ne(n,t)},ne=(e,t)=>V(e)?e.style.getPropertyValue(t):"",re=e=>{const t=B((e=>{if(K()&&d(e.target)){const t=B(e.target);if(P(t)&&d(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return((e,t)=>0e.stopPropagation(),r=()=>e.preventDefault(),o=(s=r,i=n,(...e)=>s(i.apply(null,e)));var s,i;return((e,t,n,r,o,s,i)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:s,raw:i}))(t,e.clientX,e.clientY,n,r,o,e)},oe=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},se=w,ie=(e,t,n)=>((e,t,n,r)=>((e,t,n,r,o)=>{const s=((e,t)=>n=>{e(n)&&t(re(n))})(n,r);return e.dom.addEventListener(t,s,o),{unbind:f(oe,e,t,s,o)}})(e,t,n,r,!1))(e,t,se,n),le=()=>ae(0,0),ae=(e,t)=>({major:e,minor:t}),ce={nu:ae,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?le():((e,t)=>{const n=((e,t)=>{for(let n=0;nNumber(t.replace(n,"$"+e));return ae(r(1),r(2))})(e,n)},unknown:le},ue=(e,t)=>{const n=String(t).toLowerCase();return F(e,(e=>e.search(n)))},de=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,me=e=>t=>I(t,e),he=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>I(e,"edge/")&&I(e,"chrome")&&I(e,"safari")&&I(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,de],search:e=>I(e,"chrome")&&!I(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>I(e,"msie")||I(e,"trident")},{name:"Opera",versionRegexes:[de,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:me("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:me("firefox")},{name:"Safari",versionRegexes:[de,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(I(e,"safari")||I(e,"mobile/"))&&I(e,"applewebkit")}],ge=[{name:"Windows",search:me("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>I(e,"iphone")||I(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:me("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:me("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:me("linux"),versionRegexes:[]},{name:"Solaris",search:me("sunos"),versionRegexes:[]},{name:"FreeBSD",search:me("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:me("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],pe={browsers:p(he),oses:p(ge)},fe="Edge",ve="Chromium",we="Opera",be="Firefox",ye="Safari",Se=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(fe),isChromium:r(ve),isIE:r("IE"),isOpera:r(we),isFirefox:r(be),isSafari:r(ye)}},xe=()=>Se({current:void 0,version:ce.unknown()}),Ee=Se,Fe=(p(fe),p(ve),p("IE"),p(we),p(be),p(ye),"Windows"),Oe="Android",ke="Linux",Te="macOS",Ce="Solaris",Ae="FreeBSD",Re="ChromeOS",Le=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(Fe),isiOS:r("iOS"),isAndroid:r(Oe),isMacOS:r(Te),isLinux:r(ke),isSolaris:r(Ce),isFreeBSD:r(Ae),isChromeOS:r(Re)}},Me=()=>Le({current:void 0,version:ce.unknown()}),Pe=Le,De=(p(Fe),p("iOS"),p(Oe),p(ke),p(Te),p(Ce),p(Ae),p(Re),(e,t,n)=>{const r=pe.browsers(),o=pe.oses(),s=t.bind((e=>((e,t)=>((e,t)=>{for(let n=0;n{const n=t.brand.toLowerCase();return F(e,(e=>{var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:ce.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>ue(e,t).map((e=>{const n=ce.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(xe,Ee),i=((e,t)=>ue(e,t).map((e=>{const n=ce.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(Me,Pe),l=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),s=e.isiOS()&&!o,i=e.isiOS()||e.isAndroid(),l=i||r("(pointer:coarse)"),a=o||!s&&i&&r("(min-device-width:768px)"),c=s||i&&!a,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!a&&!u;return{isiPad:p(o),isiPhone:p(s),isTablet:p(a),isPhone:p(c),isTouch:p(l),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:p(u),isDesktop:p(d)}})(i,s,e,n);return{browser:s,os:i,deviceType:l}}),Ne=e=>window.matchMedia(e).matches;let He=(e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)})((()=>De(navigator.userAgent,b.from(navigator.userAgentData),Ne)));const We=(e,t)=>({left:e,top:t,translate:(n,r)=>We(e+n,t+r)}),qe=We,Ie=e=>{const t=void 0===e?window:e;return He().browser.isFirefox()?b.none():b.from(t.visualViewport)},Ve=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),je=e=>{const t=void 0===e?window:e,n=t.document,r=(e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return qe(n,r)})(B(n));return Ie(t).fold((()=>{const e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return Ve(r.left,r.top,n,o)}),(e=>Ve(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)))},Be=(e,t,n)=>Ie(n).map((n=>{const r=e=>t(re(e));return n.addEventListener(e,r),{unbind:()=>n.removeEventListener(e,r)}})).getOrThunk((()=>({unbind:g})));var _e=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),ze=tinymce.util.Tools.resolve("tinymce.Env");const $e=(e,t)=>{e.dispatch("FullscreenStateChanged",{state:t}),e.dispatch("ResizeEditor")},Ue=("fullscreen_native",e=>e.options.get("fullscreen_native"));const Ke=e=>{return e.dom===(void 0!==(t=z(e).dom).fullscreenElement?t.fullscreenElement:void 0!==t.msFullscreenElement?t.msFullscreenElement:void 0!==t.webkitFullscreenElement?t.webkitFullscreenElement:null);var t},Xe=(e,t,n)=>((e,t,n)=>E(((e,t)=>{const n=m(t)?t:v;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=B(e);if(o.push(t),!0===n(t))break;r=e}return o})(e,n),t))(e,(e=>_(e,t)),n),Ye=(e,t)=>((e,n)=>{return E((e=>b.from(e.dom.parentNode).map(B))(r=e).map($).map((e=>E(e,(e=>{return t=e,!(r.dom===t.dom);var t})))).getOr([]),(e=>_(e,t)));var r})(e),Ge="data-ephox-mobile-fullscreen-style",Je="position:absolute!important;",Qe="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",Ze=ze.os.isAndroid(),et=(e,t,n)=>{const r=t=>n=>{const r=W(n,"style"),o=void 0===r?"no-styles":r.trim();o!==t&&(((e,t,n)=>{((e,t,n)=>{if(!(s(n)||c(n)||h(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(e.dom,t,n)})(n,Ge,o),ee(n,e.parseStyle(t)))},o=Xe(t,"*"),i=(e=>{const t=[];for(let n=0,r=e.length;nYe(e,"*:not(.tox-silver-sink)")))),a=(e=>{const t=te(e,"background-color");return void 0!==t&&""!==t?"background-color:"+t+"!important":"background-color:rgb(255,255,255)!important;"})(n);x(i,r("display:none!important;")),x(o,r(Je+Qe+a)),r((!0===Ze?"":Je)+Qe+a)(t)},tt=_e.DOM,nt=Ie().fold((()=>({bind:g,unbind:g})),(e=>{const t=(()=>{const e=O(g);return{...e,on:t=>e.get().each(t)}})(),n=k(),r=k(),o=((e,t)=>{let n=null;return{cancel:()=>{a(n)||(clearTimeout(n),n=null)},throttle:(...t)=>{a(n)&&(n=setTimeout((()=>{n=null,e.apply(null,t)}),50))}}})((()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0,window.requestAnimationFrame((()=>{t.on((t=>ee(t,{top:e.offsetTop+"px",left:e.offsetLeft+"px",height:e.height+"px",width:e.width+"px"})))}))}));return{bind:e=>{t.set(e),o.throttle(),n.set(Be("resize",o.throttle)),r.set(Be("scroll",o.throttle))},unbind:()=>{t.on((()=>{n.clear(),r.clear()})),t.clear()}}})),rt=(e,t)=>{const n=document.body,r=document.documentElement,o=e.getContainer(),s=B(o),i=(l=s,b.from(l.dom.nextSibling).map(B)).filter((e=>(e=>P(e)&&L(e.dom))(e)&&((e,t)=>(e=>void 0!==e.dom.classList)(e)&&e.dom.classList.contains("tox-silver-sink"))(e)));var l;const a=(e=>{const t=B(e.getElement());return Y(t).map(G).getOrThunk((()=>(e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return B(t)})(z(t))))})(e),c=t.get(),u=B(e.getBody()),d=ze.deviceType.isTouch(),m=o.style,h=e.iframeElement,g=null==h?void 0:h.style,p=e=>{e(n,"tox-fullscreen"),e(r,"tox-fullscreen"),e(o,"tox-fullscreen"),Y(s).map((e=>G(e).dom)).each((t=>{e(t,"tox-fullscreen"),e(t,"tox-shadowhost")}))},f=()=>{d&&(e=>{const t=((e,t)=>{const n=document;return 1!==(r=n).nodeType&&9!==r.nodeType&&11!==r.nodeType||0===r.childElementCount?[]:S(n.querySelectorAll(e),B);var r})("["+Ge+"]");x(t,(t=>{const n=W(t,Ge);n&&"no-styles"!==n?ee(t,e.parseStyle(n)):q(t,"style"),q(t,Ge)}))})(e.dom),p(tt.removeClass),nt.unbind(),b.from(t.get()).each((e=>e.fullscreenChangeHandler.unbind()))};if(c)c.fullscreenChangeHandler.unbind(),Ue(e)&&Ke(a)&&(e=>{const t=e.dom;t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitCancelFullScreen&&t.webkitCancelFullScreen()})(z(a)),g.width=c.iframeWidth,g.height=c.iframeHeight,m.width=c.containerWidth,m.height=c.containerHeight,m.top=c.containerTop,m.left=c.containerLeft,w=i,y=c.sinkCssPosition,E=(e,t)=>{Z(e,"position",t)},w.isSome()&&y.isSome()?b.some(E(w.getOrDie(),y.getOrDie())):b.none(),f(),v=c.scrollPos,window.scrollTo(v.x,v.y),t.set(null),$e(e,!1),e.off("remove",f);else{const n=ie(z(a),void 0!==document.fullscreenElement?"fullscreenchange":void 0!==document.msFullscreenElement?"MSFullscreenChange":void 0!==document.webkitFullscreenElement?"webkitfullscreenchange":"fullscreenchange",(n=>{Ue(e)&&(Ke(a)||null===t.get()||rt(e,t))})),r={scrollPos:je(window),containerWidth:m.width,containerHeight:m.height,containerTop:m.top,containerLeft:m.left,iframeWidth:g.width,iframeHeight:g.height,fullscreenChangeHandler:n,sinkCssPosition:i.map((e=>te(e,"position")))};d&&et(e.dom,s,u),g.width=g.height="100%",m.width=m.height="",p(tt.addClass),i.each((e=>{Z(e,"position","fixed")})),nt.bind(s),e.on("remove",f),t.set(r),Ue(e)&&(e=>{const t=e.dom;t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()})(a),$e(e,!0)}var v,w,y,E},ot=(e,t)=>n=>{n.setActive(null!==t.get());const r=e=>n.setActive(e.state);return e.on("FullscreenStateChanged",r),()=>e.off("FullscreenStateChanged",r)};t.add("fullscreen",(t=>{const n=e(null);return t.inline||((e=>{(0,e.options.register)("fullscreen_native",{processor:"boolean",default:!1})})(t),((e,t)=>{e.addCommand("mceFullScreen",(()=>{rt(e,t)}))})(t,n),((e,t)=>{const n=()=>e.execCommand("mceFullScreen");e.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",icon:"fullscreen",shortcut:"Meta+Shift+F",onAction:n,onSetup:ot(e,t)}),e.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:n,onSetup:ot(e,t)})})(t,n),t.addShortcut("Meta+Shift+F","","mceFullScreen")),(e=>({isFullscreen:()=>null!==e.get()}))(n)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ar.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ar.js deleted file mode 100644 index e851e65a..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ar.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ar', -'

بدء التنقل بواسطة لوحة المفاتيح

\n' + - '\n' + - '
\n' + - '
التركيز على شريط القوائم
\n' + - '
نظاما التشغيل Windows أو Linux: Alt + F9
\n' + - '
نظام التشغيل macOS: ⌥F9
\n' + - '
التركيز على شريط الأدوات
\n' + - '
نظاما التشغيل Windows أو Linux: Alt + F10
\n' + - '
نظام التشغيل macOS: ⌥F10
\n' + - '
التركيز على التذييل
\n' + - '
نظاما التشغيل Windows أو Linux: Alt + F11
\n' + - '
نظام التشغيل macOS: ⌥F11
\n' + - '
التركيز على شريط أدوات السياق
\n' + - '
أنظمة التشغيل Windows أو Linux أو macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

سيبدأ التنقل عند عنصر واجهة المستخدم الأول، والذي سيتم تمييزه أو تسطيره في حالة العنصر الأول في\n' + - ' مسار عنصر التذييل.

\n' + - '\n' + - '

التنقل بين أقسام واجهة المستخدم

\n' + - '\n' + - '

للانتقال من أحد أقسام واجهة المستخدم إلى القسم التالي، اضغط على Tab.

\n' + - '\n' + - '

للانتقال من أحد أقسام واجهة المستخدم إلى القسم السابق، اضغط على Shift+Tab.

\n' + - '\n' + - '

ترتيب علامات Tab لأقسام واجهة المستخدم هذه هو:

\n' + - '\n' + - '
    \n' + - '
  1. شريط القوائم
  2. \n' + - '
  3. كل مجموعة شريط الأدوات
  4. \n' + - '
  5. الشريط الجانبي
  6. \n' + - '
  7. مسار العنصر في التذييل
  8. \n' + - '
  9. زر تبديل عدد الكلمات في التذييل
  10. \n' + - '
  11. رابط إدراج العلامة التجارية في التذييل
  12. \n' + - '
  13. مؤشر تغيير حجم المحرر في التذييل
  14. \n' + - '
\n' + - '\n' + - '

إذا لم يكن قسم واجهة المستخدم موجودًا، فسيتم تخطيه.

\n' + - '\n' + - '

إذا كان التذييل يحتوي على التركيز على ‏‫التنقل بواسطة لوحة المفاتيح، ولا يوجد شريط جانبي مرئي، فإن الضغط على Shift+Tab\n' + - ' ينقل التركيز إلى مجموعة شريط الأدوات الأولى، وليس الأخيرة.

\n' + - '\n' + - '

التنقل بين أقسام واجهة المستخدم

\n' + - '\n' + - '

للانتقال من أحد عناصر واجهة المستخدم إلى العنصر التالي، اضغط على مفتاح السهم المناسب.

\n' + - '\n' + - '

مفتاحا السهمين اليسار‎ واليمين‎

\n' + - '\n' + - '
    \n' + - '
  • التنقل بين القوائم في شريط القوائم.
  • \n' + - '
  • فتح قائمة فرعية في القائمة.
  • \n' + - '
  • التنقل بين الأزرار في مجموعة شريط الأدوات.
  • \n' + - '
  • التنقل بين العناصر في مسار عنصر التذييل.
  • \n' + - '
\n' + - '\n' + - '

مفتاحا السهمين لأسفل‎ ولأعلى‎

\n' + - '\n' + - '
    \n' + - '
  • التنقل بين عناصر القائمة في القائمة.
  • \n' + - '
  • التنقل بين العناصر في قائمة شريط الأدوات المنبثقة.
  • \n' + - '
\n' + - '\n' + - '

دورة مفاتيح الأسهم‎ داخل قسم واجهة المستخدم التي تم التركيز عليها.

\n' + - '\n' + - '

لإغلاق قائمة مفتوحة أو قائمة فرعية مفتوحة أو قائمة منبثقة مفتوحة، اضغط على مفتاح Esc.

\n' + - '\n' + - '

إذا كان التركيز الحالي على "الجزء العلوي" من قسم معين لواجهة المستخدم، فإن الضغط على مفتاح Esc يؤدي أيضًا إلى الخروج\n' + - ' من التنقل بواسطة لوحة المفاتيح بالكامل.

\n' + - '\n' + - '

تنفيذ عنصر قائمة أو زر شريط أدوات

\n' + - '\n' + - '

عندما يتم تمييز عنصر القائمة المطلوب أو زر شريط الأدوات، اضغط على زر Return، أو Enter،\n' + - ' أو مفتاح المسافة لتنفيذ العنصر.

\n' + - '\n' + - '

التنقل في مربعات الحوار غير المبوبة

\n' + - '\n' + - '

في مربعات الحوار غير المبوبة، يتم التركيز على المكون التفاعلي الأول عند فتح مربع الحوار.

\n' + - '\n' + - '

التنقل بين مكونات الحوار التفاعلي بالضغط على زر Tab أو Shift+Tab.

\n' + - '\n' + - '

التنقل في مربعات الحوار المبوبة

\n' + - '\n' + - '

في مربعات الحوار المبوبة، يتم التركيز على الزر الأول في قائمة علامات التبويب عند فتح مربع الحوار.

\n' + - '\n' + - '

التنقل بين المكونات التفاعلية لعلامة التبويب لمربع الحوار هذه بالضغط على زر Tab أو\n' + - ' Shift+Tab.

\n' + - '\n' + - '

التبديل إلى علامة تبويب أخرى لمربع الحوار من خلال التركيز على قائمة علامة التبويب ثم الضغط على زر السهم المناسب\n' + - ' مفتاح للتنقل بين علامات التبويب المتاحة.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/bg_BG.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/bg_BG.js deleted file mode 100644 index e1635d88..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.bg_BG', -'

Начало на навигацията с клавиатурата

\n' + - '\n' + - '
\n' + - '
Фокусиране върху лентата с менюта
\n' + - '
Windows или Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Фокусиране върху лентата с инструменти
\n' + - '
Windows или Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Фокусиране върху долния колонтитул
\n' + - '
Windows или Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Фокусиране върху контекстуалната лента с инструменти
\n' + - '
Windows, Linux или macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Навигацията ще започне с първия елемент на ПИ, който ще бъде маркиран или подчертан в случая на първия елемент в\n' + - ' пътя до елемента в долния колонтитул.

\n' + - '\n' + - '

Навигиране между раздели на ПИ

\n' + - '\n' + - '

За да преминете от един раздел на ПИ към следващия, натиснете Tab.

\n' + - '\n' + - '

За да преминете от един раздел на ПИ към предишния, натиснете Shift+Tab.

\n' + - '\n' + - '

Редът за обхождане с табулация на тези раздели на ПИ е:

\n' + - '\n' + - '
    \n' + - '
  1. Лентата с менюта
  2. \n' + - '
  3. Всяка група на лентата с инструменти
  4. \n' + - '
  5. Страничната лента
  6. \n' + - '
  7. Пътят до елемента в долния колонтитул
  8. \n' + - '
  9. Бутонът за превключване на броя на думите в долния колонтитул
  10. \n' + - '
  11. Връзката за търговска марка в долния колонтитул
  12. \n' + - '
  13. Манипулаторът за преоразмеряване на редактора в долния колонтитул
  14. \n' + - '
\n' + - '\n' + - '

Ако някой раздел на ПИ липсва, той се пропуска.

\n' + - '\n' + - '

Ако долният колонтитул има фокус за навигация с клавиатурата и няма странична лента, натискането на Shift+Tab\n' + - ' премества фокуса към първата група на лентата с инструменти, а не към последната.

\n' + - '\n' + - '

Навигиране в разделите на ПИ

\n' + - '\n' + - '

За да преминете от един елемент на ПИ към следващия, натиснете съответния клавиш със стрелка.

\n' + - '\n' + - '

С клавишите със стрелка наляво и надясно

\n' + - '\n' + - '
    \n' + - '
  • се придвижвате между менютата в лентата с менюто;
  • \n' + - '
  • отваряте подменю в меню;
  • \n' + - '
  • се придвижвате между бутоните в група на лентата с инструменти;
  • \n' + - '
  • се придвижвате между елементи в пътя до елемент в долния колонтитул.
  • \n' + - '
\n' + - '\n' + - '

С клавишите със стрелка надолу и нагоре

\n' + - '\n' + - '
    \n' + - '
  • се придвижвате между елементите от менюто в дадено меню;
  • \n' + - '
  • се придвижвате между елементите в изскачащо меню на лентата с инструменти.
  • \n' + - '
\n' + - '\n' + - '

Клавишите със стрелки се придвижват в рамките на фокусирания раздел на ПИ.

\n' + - '\n' + - '

За да затворите отворено меню, подменю или изскачащо меню, натиснете клавиша Esc.

\n' + - '\n' + - '

Ако текущият фокус е върху „горната част“ на конкретен раздел на ПИ, натискането на клавиша Esc също излиза\n' + - ' напълно от навигацията с клавиатурата.

\n' + - '\n' + - '

Изпълнение на елемент от менюто или бутон от лентата с инструменти

\n' + - '\n' + - '

Когато желаният елемент от менюто или бутон от лентата с инструменти е маркиран, натиснете Return, Enter\n' + - ' или клавиша за интервал, за да изпълните елемента.

\n' + - '\n' + - '

Навигиране в диалогови прозорци без раздели

\n' + - '\n' + - '

В диалоговите прозорци без раздели първият интерактивен компонент се фокусира, когато се отвори диалоговият прозорец.

\n' + - '\n' + - '

Навигирайте между интерактивните компоненти на диалоговия прозорец, като натиснете Tab или Shift+Tab.

\n' + - '\n' + - '

Навигиране в диалогови прозорци с раздели

\n' + - '\n' + - '

В диалоговите прозорци с раздели първият бутон в менюто с раздели се фокусира, когато се отвори диалоговият прозорец.

\n' + - '\n' + - '

Навигирайте между интерактивните компоненти на този диалогов раздел, като натиснете Tab или\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Превключете към друг диалогов раздел, като фокусирате върху менюто с раздели и след това натиснете съответния клавиш със стрелка,\n' + - ' за да преминете през наличните раздели.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ca.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ca.js deleted file mode 100644 index 80071286..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ca.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ca', -'

Inici de la navegació amb el teclat

\n' + - '\n' + - '
\n' + - '
Enfocar la barra de menús
\n' + - '
Windows o Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - "
Enfocar la barra d'eines
\n" + - '
Windows o Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Enfocar el peu de pàgina
\n' + - '
Windows o Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - "
Enfocar una barra d'eines contextual
\n" + - '
Windows, Linux o macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - "

La navegació començarà en el primer element de la interfície d'usuari, que es ressaltarà o subratllarà per al primer element a\n" + - " la ruta de l'element de peu de pàgina.

\n" + - '\n' + - "

Navegació entre seccions de la interfície d'usuari

\n" + - '\n' + - "

Per desplaçar-vos des d'una secció de la interfície d'usuari a la següent, premeu la tecla Tab.

\n" + - '\n' + - "

Per desplaçar-vos des d'una secció de la interfície d'usuari a l'anterior, premeu les tecles Maj+Tab.

\n" + - '\n' + - "

L'ordre en prémer la tecla Tab d'aquestes secciones de la interfície d'usuari és:

\n" + - '\n' + - '
    \n' + - '
  1. Barra de menús
  2. \n' + - "
  3. Cada grup de la barra d'eines
  4. \n" + - '
  5. Barra lateral
  6. \n' + - "
  7. Ruta de l'element del peu de pàgina
  8. \n" + - '
  9. Botó de commutació de recompte de paraules al peu de pàgina
  10. \n' + - '
  11. Enllaç de marca del peu de pàgina
  12. \n' + - "
  13. Control de canvi de mida de l'editor al peu de pàgina
  14. \n" + - '
\n' + - '\n' + - "

Si no hi ha una secció de la interfície d'usuari, s'ometrà.

\n" + - '\n' + - '

Si el peu de pàgina té el focus de navegació del teclat i no hi ha cap barra lateral visible, en prémer Maj+Tab\n' + - " el focus es mou al primer grup de la barra d'eines, no l'últim.

\n" + - '\n' + - "

Navegació dins de les seccions de la interfície d'usuari

\n" + - '\n' + - "

Per desplaçar-vos des d'un element de la interfície d'usuari al següent, premeu la tecla de Fletxa adequada.

\n" + - '\n' + - '

Les tecles de fletxa Esquerra i Dreta

\n' + - '\n' + - '
    \n' + - '
  • us permeten desplaçar-vos entre menús de la barra de menús.
  • \n' + - '
  • obren un submenú en un menú.
  • \n' + - "
  • us permeten desplaçar-vos entre botons d'un grup de la barra d'eines.
  • \n" + - "
  • us permeten desplaçar-vos entre elements de la ruta d'elements del peu de pàgina.
  • \n" + - '
\n' + - '\n' + - '

Les tecles de fletxa Avall i Amunt

\n' + - '\n' + - '
    \n' + - "
  • us permeten desplaçar-vos entre elements de menú d'un menú.
  • \n" + - "
  • us permeten desplaçar-vos entre elements d'un menú emergent de la barra d'eines.
  • \n" + - '
\n' + - '\n' + - "

Les tecles de Fletxa us permeten desplaçar-vos dins de la secció de la interfície d'usuari que té el focus.

\n" + - '\n' + - '

Per tancar un menú, un submenú o un menú emergent oberts, premeu la tecla Esc.

\n' + - '\n' + - "

Si el focus actual es troba a la ‘part superior’ d'una secció específica de la interfície d'usuari, en prémer la tecla Esc també es tanca\n" + - ' completament la navegació amb el teclat.

\n' + - '\n' + - "

Execució d'un element de menú o d'un botó de la barra d'eines

\n" + - '\n' + - "

Quan l'element del menú o el botó de la barra d'eines que desitgeu estigui ressaltat, premeu Retorn, Intro\n" + - " o la barra d'espai per executar l'element.

\n" + - '\n' + - '

Navegació per quadres de diàleg sense pestanyes

\n' + - '\n' + - "

En els quadres de diàleg sense pestanyes, el primer component interactiu pren el focus quan s'obre el quadre diàleg.

\n" + - '\n' + - '

Premeu la tecla Tab o les tecles Maj+Tab per desplaçar-vos entre components interactius del quadre de diàleg.

\n' + - '\n' + - '

Navegació per quadres de diàleg amb pestanyes

\n' + - '\n' + - "

En els quadres de diàleg amb pestanyes, el primer botó del menú de la pestanya pren el focus quan s'obre el quadre diàleg.

\n" + - '\n' + - "

Per desplaçar-vos entre components interactius d'aquest quadre de diàleg, premeu la tecla Tab o\n" + - ' les tecles Maj+Tab.

\n' + - '\n' + - "

Canvieu a la pestanya d'un altre quadre de diàleg, tot enfocant el menú de la pestanya, i després premeu la tecla Fletxa adequada\n" + - ' per canviar entre les pestanyes disponibles.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/cs.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/cs.js deleted file mode 100644 index 9a69ae74..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/cs.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.cs', -'

Začínáme navigovat pomocí klávesnice

\n' + - '\n' + - '
\n' + - '
Přejít na řádek nabídek
\n' + - '
Windows nebo Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Přejít na panel nástrojů
\n' + - '
Windows nebo Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Přejít na zápatí
\n' + - '
Windows nebo Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Přejít na kontextový panel nástrojů
\n' + - '
Windows, Linux nebo macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigace začne u první položky uživatelského rozhraní, která bude zvýrazněna nebo v případě první položky\n' + - ' cesty k prvku zápatí podtržena.

\n' + - '\n' + - '

Navigace mezi oddíly uživatelského rozhraní

\n' + - '\n' + - '

Stisknutím klávesy Tab se posunete z jednoho oddílu uživatelského rozhraní na další.

\n' + - '\n' + - '

Stisknutím kláves Shift+Tab se posunete z jednoho oddílu uživatelského rozhraní na předchozí.

\n' + - '\n' + - '

Pořadí přepínání mezi oddíly uživatelského rozhraní pomocí klávesy Tab:

\n' + - '\n' + - '
    \n' + - '
  1. Řádek nabídek
  2. \n' + - '
  3. Každá skupina panelu nástrojů
  4. \n' + - '
  5. Boční panel
  6. \n' + - '
  7. Cesta k prvku v zápatí.
  8. \n' + - '
  9. Tlačítko přepínače počtu slov v zápatí
  10. \n' + - '
  11. Odkaz na informace o značce v zápatí
  12. \n' + - '
  13. Úchyt pro změnu velikosti editoru v zápatí
  14. \n' + - '
\n' + - '\n' + - '

Pokud nějaký oddíl uživatelského rozhraní není přítomen, je přeskočen.

\n' + - '\n' + - '

Pokud je zápatí vybrané pro navigaci pomocí klávesnice a není zobrazen žádný boční panel, stisknutím kláves Shift+Tab\n' + - ' přejdete na první skupinu panelu nástrojů, nikoli na poslední.

\n' + - '\n' + - '

Navigace v rámci oddílů uživatelského rozhraní

\n' + - '\n' + - '

Chcete-li se přesunout z jednoho prvku uživatelského rozhraní na další, stiskněte příslušnou klávesu s šipkou.

\n' + - '\n' + - '

Klávesy s šipkou vlevovpravo

\n' + - '\n' + - '
    \n' + - '
  • umožňují přesun mezi nabídkami na řádku nabídek;
  • \n' + - '
  • otevírají podnabídku nabídky;
  • \n' + - '
  • umožňují přesun mezi tlačítky ve skupině panelu nástrojů;
  • \n' + - '
  • umožňují přesun mezi položkami cesty prvku v zápatí.
  • \n' + - '
\n' + - '\n' + - '

Klávesy se šipkou dolůnahoru

\n' + - '\n' + - '
    \n' + - '
  • umožňují přesun mezi položkami nabídky;
  • \n' + - '
  • umožňují přesun mezi položkami místní nabídky panelu nástrojů.
  • \n' + - '
\n' + - '\n' + - '

Šipky provádí přepínání v rámci vybraného oddílu uživatelského rozhraní.

\n' + - '\n' + - '

Chcete-li zavřít otevřenou nabídku, podnabídku nebo místní nabídku, stiskněte klávesu Esc.

\n' + - '\n' + - '

Pokud je aktuálně vybrána horní část oddílu uživatelského rozhraní, stisknutím klávesy Esc zcela ukončíte také\n' + - ' navigaci pomocí klávesnice.

\n' + - '\n' + - '

Provedení příkazu položky nabídky nebo tlačítka panelu nástrojů

\n' + - '\n' + - '

Pokud je zvýrazněna požadovaná položka nabídky nebo tlačítko panelu nástrojů, stisknutím klávesy Return, Enter\n' + - ' nebo mezerníku provedete příslušný příkaz.

\n' + - '\n' + - '

Navigace v dialogových oknech bez záložek

\n' + - '\n' + - '

Při otevření dialogových oken bez záložek přejdete na první interaktivní komponentu.

\n' + - '\n' + - '

Přecházet mezi interaktivními komponentami dialogového okna můžete stisknutím klávesy Tab nebo kombinace Shift+Tab.

\n' + - '\n' + - '

Navigace v dialogových oknech se záložkami

\n' + - '\n' + - '

Při otevření dialogových oken se záložkami přejdete na první tlačítko v nabídce záložek.

\n' + - '\n' + - '

Přecházet mezi interaktivními komponentami této záložky dialogového okna můžete stisknutím klávesy Tab nebo\n' + - ' kombinace Shift+Tab.

\n' + - '\n' + - '

Chcete-li přepnout na další záložku dialogového okna, přejděte na nabídku záložek a poté můžete stisknutím požadované šipky\n' + - ' přepínat mezi dostupnými záložkami.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/da.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/da.js deleted file mode 100644 index 00d8fb53..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/da.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.da', -'

Start tastaturnavigation

\n' + - '\n' + - '
\n' + - '
Fokuser på menulinjen
\n' + - '
Windows eller Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokuser på værktøjslinjen
\n' + - '
Windows eller Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokuser på sidefoden
\n' + - '
Windows eller Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokuser på kontekstuel værktøjslinje
\n' + - '
Windows, Linux eller macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigationen starter ved det første UI-element, som fremhæves eller understreges hvad angår det første element i\n' + - ' sidefodens sti til elementet.

\n' + - '\n' + - '

Naviger mellem UI-sektioner

\n' + - '\n' + - '

Gå fra én UI-sektion til den næste ved at trykke på Tab.

\n' + - '\n' + - '

Gå fra én UI-sektion til den forrige ved at trykke på Shift+Tab.

\n' + - '\n' + - '

Tab-rækkefølgen af disse UI-sektioner er:

\n' + - '\n' + - '
    \n' + - '
  1. Menulinje
  2. \n' + - '
  3. Hver værktøjsgruppe
  4. \n' + - '
  5. Sidepanel
  6. \n' + - '
  7. Sti til elementet i sidefoden
  8. \n' + - '
  9. Til/fra-knap for ordoptælling i sidefoden
  10. \n' + - '
  11. Brandinglink i sidefoden
  12. \n' + - '
  13. Tilpasningshåndtag for editor i sidefoden
  14. \n' + - '
\n' + - '\n' + - '

Hvis en UI-sektion ikke er til stede, springes den over.

\n' + - '\n' + - '

Hvis sidefoden har fokus til tastaturnavigation, og der ikke er noget synligt sidepanel, kan der trykkes på Shift+Tab\n' + - ' for at flytte fokus til den første værktøjsgruppe, ikke den sidste.

\n' + - '\n' + - '

Naviger inden for UI-sektioner

\n' + - '\n' + - '

Gå fra ét UI-element til det næste ved at trykke på den relevante piletast.

\n' + - '\n' + - '

Venstre og højre piletast

\n' + - '\n' + - '
    \n' + - '
  • flytter mellem menuerne i menulinjen.
  • \n' + - '
  • åbner en undermenu i en menu.
  • \n' + - '
  • flytter mellem knapperne i en værktøjsgruppe.
  • \n' + - '
  • flytter mellem elementer i sidefodens sti til elementet.
  • \n' + - '
\n' + - '\n' + - '

Pil ned og op

\n' + - '\n' + - '
    \n' + - '
  • flytter mellem menupunkterne i en menu.
  • \n' + - '
  • flytter mellem punkterne i en genvejsmenu i værktøjslinjen.
  • \n' + - '
\n' + - '\n' + - '

Piletasterne kører rundt inden for UI-sektionen, der fokuseres på.

\n' + - '\n' + - '

For at lukke en åben menu, en åben undermenu eller en åben genvejsmenu trykkes der på Esc-tasten.

\n' + - '\n' + - "

Hvis det aktuelle fokus er i 'toppen' af en bestemt UI-sektion, vil tryk på Esc-tasten også afslutte\n" + - ' tastaturnavigationen helt.

\n' + - '\n' + - '

Udfør et menupunkt eller en værktøjslinjeknap

\n' + - '\n' + - '

Når det ønskede menupunkt eller den ønskede værktøjslinjeknap er fremhævet, trykkes der på Retur, Enter\n' + - ' eller mellemrumstasten for at udføre elementet.

\n' + - '\n' + - '

Naviger i ikke-faneopdelte dialogbokse

\n' + - '\n' + - '

I ikke-faneopdelte dialogbokse får den første interaktive komponent fokus, når dialogboksen åbnes.

\n' + - '\n' + - '

Naviger mellem interaktive dialogbokskomponenter ved at trykke på Tab eller Shift+Tab.

\n' + - '\n' + - '

Naviger i faneopdelte dialogbokse

\n' + - '\n' + - '

I faneopdelte dialogbokse får den første knap i fanemenuen fokus, når dialogboksen åbnes.

\n' + - '\n' + - '

Naviger mellem interaktive komponenter i denne dialogboksfane ved at trykke på Tab eller\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Skift til en anden dialogboksfane ved at fokusere på fanemenuen og derefter trykke på den relevante piletast\n' + - ' for at køre igennem de tilgængelige faner.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/de.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/de.js deleted file mode 100644 index 1907bf26..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/de.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.de', -'

Grundlagen der Tastaturnavigation

\n' + - '\n' + - '
\n' + - '
Fokus auf Menüleiste
\n' + - '
Windows oder Linux: ALT+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokus auf Symbolleiste
\n' + - '
Windows oder Linux: ALT+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokus auf Fußzeile
\n' + - '
Windows oder Linux: ALT+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokus auf kontextbezogene Symbolleiste
\n' + - '
Windows, Linux oder macOS: STRG+F9\n' + - '
\n' + - '\n' + - '

Die Navigation beginnt beim ersten Benutzeroberflächenelement, welches hervorgehoben ist. Falls sich das erste Element im Pfad der Fußzeile befindet,\n' + - ' ist es unterstrichen.

\n' + - '\n' + - '

Zwischen Abschnitten der Benutzeroberfläche navigieren

\n' + - '\n' + - '

Um von einem Abschnitt der Benutzeroberfläche zum nächsten zu wechseln, drücken Sie TAB.

\n' + - '\n' + - '

Um von einem Abschnitt der Benutzeroberfläche zum vorherigen zu wechseln, drücken Sie UMSCHALT+TAB.

\n' + - '\n' + - '

Die Abschnitte der Benutzeroberfläche haben folgende TAB-Reihenfolge:

\n' + - '\n' + - '
    \n' + - '
  1. Menüleiste
  2. \n' + - '
  3. Einzelne Gruppen der Symbolleiste
  4. \n' + - '
  5. Randleiste
  6. \n' + - '
  7. Elementpfad in der Fußzeile
  8. \n' + - '
  9. Umschaltfläche „Wörter zählen“ in der Fußzeile
  10. \n' + - '
  11. Branding-Link in der Fußzeile
  12. \n' + - '
  13. Editor-Ziehpunkt zur Größenänderung in der Fußzeile
  14. \n' + - '
\n' + - '\n' + - '

Falls ein Abschnitt der Benutzeroberflächen nicht vorhanden ist, wird er übersprungen.

\n' + - '\n' + - '

Wenn in der Fußzeile die Tastaturnavigation fokussiert ist und keine Randleiste angezeigt wird, wechselt der Fokus durch Drücken von UMSCHALT+TAB\n' + - ' zur ersten Gruppe der Symbolleiste, nicht zur letzten.

\n' + - '\n' + - '

Innerhalb von Abschnitten der Benutzeroberfläche navigieren

\n' + - '\n' + - '

Um von einem Element der Benutzeroberfläche zum nächsten zu wechseln, drücken Sie die entsprechende Pfeiltaste.

\n' + - '\n' + - '

Die Pfeiltasten Links und Rechts

\n' + - '\n' + - '
    \n' + - '
  • wechseln zwischen Menüs in der Menüleiste.
  • \n' + - '
  • öffnen das Untermenü eines Menüs.
  • \n' + - '
  • wechseln zwischen Schaltflächen in einer Gruppe der Symbolleiste.
  • \n' + - '
  • wechseln zwischen Elementen im Elementpfad der Fußzeile.
  • \n' + - '
\n' + - '\n' + - '

Die Pfeiltasten Abwärts und Aufwärts

\n' + - '\n' + - '
    \n' + - '
  • wechseln zwischen Menüelementen in einem Menü.
  • \n' + - '
  • wechseln zwischen Elementen in einem Popupmenü der Symbolleiste.
  • \n' + - '
\n' + - '\n' + - '

Die Pfeiltasten rotieren innerhalb des fokussierten Abschnitts der Benutzeroberfläche.

\n' + - '\n' + - '

Um ein geöffnetes Menü, ein geöffnetes Untermenü oder ein geöffnetes Popupmenü zu schließen, drücken Sie die ESC-Taste.

\n' + - '\n' + - '

Wenn sich der aktuelle Fokus ganz oben in einem bestimmten Abschnitt der Benutzeroberfläche befindet, wird durch Drücken der ESC-Taste auch\n' + - ' die Tastaturnavigation beendet.

\n' + - '\n' + - '

Ein Menüelement oder eine Symbolleistenschaltfläche ausführen

\n' + - '\n' + - '

Wenn das gewünschte Menüelement oder die gewünschte Symbolleistenschaltfläche hervorgehoben ist, drücken Sie Zurück, Eingabe\n' + - ' oder die Leertaste, um das Element auszuführen.

\n' + - '\n' + - '

In Dialogfeldern ohne Registerkarten navigieren

\n' + - '\n' + - '

In Dialogfeldern ohne Registerkarten ist beim Öffnen eines Dialogfelds die erste interaktive Komponente fokussiert.

\n' + - '\n' + - '

Navigieren Sie zwischen den interaktiven Komponenten eines Dialogfelds, indem Sie TAB oder UMSCHALT+TAB drücken.

\n' + - '\n' + - '

In Dialogfeldern mit Registerkarten navigieren

\n' + - '\n' + - '

In Dialogfeldern mit Registerkarten ist beim Öffnen eines Dialogfelds die erste Schaltfläche eines Registerkartenmenüs fokussiert.

\n' + - '\n' + - '

Navigieren Sie zwischen den interaktiven Komponenten auf dieser Registerkarte des Dialogfelds, indem Sie TAB oder\n' + - ' UMSCHALT+TAB drücken.

\n' + - '\n' + - '

Wechseln Sie zu einer anderen Registerkarte des Dialogfelds, indem Sie den Fokus auf das Registerkartenmenü legen und dann die entsprechende Pfeiltaste\n' + - ' drücken, um durch die verfügbaren Registerkarten zu rotieren.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/el.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/el.js deleted file mode 100644 index 3d9de493..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/el.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.el', -'

Έναρξη πλοήγησης μέσω πληκτρολογίου

\n' + - '\n' + - '
\n' + - '
Εστίαση στη γραμμή μενού
\n' + - '
Windows ή Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Εστίαση στη γραμμή εργαλείων
\n' + - '
Windows ή Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Εστίαση στο υποσέλιδο
\n' + - '
Windows ή Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Εστίαση σε γραμμή εργαλείων βάσει περιεχομένου
\n' + - '
Windows, Linux ή macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Η πλοήγηση θα ξεκινήσει από το πρώτο στοιχείο περιβάλλοντος χρήστη, που θα επισημαίνεται ή θα είναι υπογραμμισμένο,\n' + - ' όπως στην περίπτωση της διαδρομής του στοιχείου Υποσέλιδου.

\n' + - '\n' + - '

Πλοήγηση μεταξύ ενοτήτων του περιβάλλοντος χρήστη

\n' + - '\n' + - '

Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην επόμενη, πιέστε το πλήκτρο Tab.

\n' + - '\n' + - '

Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην προηγούμενη, πιέστε τα πλήκτρα Shift+Tab.

\n' + - '\n' + - '

Η σειρά Tab αυτών των ενοτήτων περιβάλλοντος χρήστη είναι η εξής:

\n' + - '\n' + - '
    \n' + - '
  1. Γραμμή μενού
  2. \n' + - '
  3. Κάθε ομάδα γραμμής εργαλείων
  4. \n' + - '
  5. Πλαϊνή γραμμή
  6. \n' + - '
  7. Διαδρομή στοιχείου στο υποσέλιδο
  8. \n' + - '
  9. Κουμπί εναλλαγής μέτρησης λέξεων στο υποσέλιδο
  10. \n' + - '
  11. Σύνδεσμος επωνυμίας στο υποσέλιδο
  12. \n' + - '
  13. Λαβή αλλαγής μεγέθους προγράμματος επεξεργασίας στο υποσέλιδο
  14. \n' + - '
\n' + - '\n' + - '

Εάν δεν εμφανίζεται ενότητα περιβάλλοντος χρήστη, παραλείπεται.

\n' + - '\n' + - '

Εάν η εστίαση πλοήγησης βρίσκεται στο πληκτρολόγιο και δεν υπάρχει εμφανής πλαϊνή γραμμή, εάν πιέσετε Shift+Tab\n' + - ' η εστίαση μετακινείται στην πρώτη ομάδα γραμμής εργαλείων, όχι στην τελευταία.

\n' + - '\n' + - '

Πλοήγηση εντός των ενοτήτων του περιβάλλοντος χρήστη

\n' + - '\n' + - '

Για να μετακινηθείτε από ένα στοιχείο περιβάλλοντος χρήστη στο επόμενο, πιέστε το αντίστοιχο πλήκτρο βέλους.

\n' + - '\n' + - '

Με τα πλήκτρα αριστερού και δεξιού βέλους

\n' + - '\n' + - '
    \n' + - '
  • γίνεται μετακίνηση μεταξύ των μενού στη γραμμή μενού.
  • \n' + - '
  • ανοίγει ένα υπομενού σε ένα μενού.
  • \n' + - '
  • γίνεται μετακίνηση μεταξύ κουμπιών σε μια ομάδα γραμμής εργαλείων.
  • \n' + - '
  • γίνεται μετακίνηση μεταξύ στοιχείων στη διαδρομή στοιχείου στο υποσέλιδο.
  • \n' + - '
\n' + - '\n' + - '

Με τα πλήκτρα επάνω και κάτω βέλους

\n' + - '\n' + - '
    \n' + - '
  • γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα μενού.
  • \n' + - '
  • γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα αναδυόμενο μενού γραμμής εργαλείων.
  • \n' + - '
\n' + - '\n' + - '

Με τα πλήκτρα βέλους γίνεται κυκλική μετακίνηση εντός της εστιασμένης ενότητας περιβάλλοντος χρήστη.

\n' + - '\n' + - '

Για να κλείσετε ένα ανοιχτό μενού, ένα ανοιχτό υπομενού ή ένα ανοιχτό αναδυόμενο μενού, πιέστε το πλήκτρο Esc.

\n' + - '\n' + - '

Εάν η τρέχουσα εστίαση βρίσκεται στην κορυφή μιας ενότητας περιβάλλοντος χρήστη, πιέζοντας το πλήκτρο Esc,\n' + - ' γίνεται επίσης πλήρης έξοδος από την πλοήγηση μέσω πληκτρολογίου.

\n' + - '\n' + - '

Εκτέλεση ενός στοιχείου μενού ή κουμπιού γραμμής εργαλείων

\n' + - '\n' + - '

Όταν το επιθυμητό στοιχείο μενού ή κουμπί γραμμής εργαλείων είναι επισημασμένο, πιέστε τα πλήκτρα Return, Enter,\n' + - ' ή το πλήκτρο διαστήματος για να εκτελέσετε το στοιχείο.

\n' + - '\n' + - '

Πλοήγηση σε παράθυρα διαλόγου χωρίς καρτέλες

\n' + - '\n' + - '

Σε παράθυρα διαλόγου χωρίς καρτέλες, το πρώτο αλληλεπιδραστικό στοιχείο λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.

\n' + - '\n' + - '

Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων παραθύρων διαλόγων πιέζοντας τα πλήκτρα Tab ή Shift+Tab.

\n' + - '\n' + - '

Πλοήγηση σε παράθυρα διαλόγου με καρτέλες

\n' + - '\n' + - '

Σε παράθυρα διαλόγου με καρτέλες, το πρώτο κουμπί στο μενού καρτέλας λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.

\n' + - '\n' + - '

Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων αυτής της καρτέλα διαλόγου πιέζοντας τα πλήκτρα Tab ή\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Μπορείτε να κάνετε εναλλαγή σε άλλη καρτέλα του παραθύρου διαλόγου, μεταφέροντας την εστίαση στο μενού καρτέλας και πιέζοντας το κατάλληλο πλήκτρο βέλους\n' + - ' για να μετακινηθείτε κυκλικά στις διαθέσιμες καρτέλες.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/en.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/en.js deleted file mode 100644 index c4a1fafc..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/en.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.en', -'

Begin keyboard navigation

\n' + - '\n' + - '
\n' + - '
Focus the Menu bar
\n' + - '
Windows or Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Focus the Toolbar
\n' + - '
Windows or Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Focus the footer
\n' + - '
Windows or Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Focus a contextual toolbar
\n' + - '
Windows, Linux or macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigation will start at the first UI item, which will be highlighted, or underlined in the case of the first item in\n' + - ' the Footer element path.

\n' + - '\n' + - '

Navigate between UI sections

\n' + - '\n' + - '

To move from one UI section to the next, press Tab.

\n' + - '\n' + - '

To move from one UI section to the previous, press Shift+Tab.

\n' + - '\n' + - '

The Tab order of these UI sections is:

\n' + - '\n' + - '
    \n' + - '
  1. Menu bar
  2. \n' + - '
  3. Each toolbar group
  4. \n' + - '
  5. Sidebar
  6. \n' + - '
  7. Element path in the footer
  8. \n' + - '
  9. Word count toggle button in the footer
  10. \n' + - '
  11. Branding link in the footer
  12. \n' + - '
  13. Editor resize handle in the footer
  14. \n' + - '
\n' + - '\n' + - '

If a UI section is not present, it is skipped.

\n' + - '\n' + - '

If the footer has keyboard navigation focus, and there is no visible sidebar, pressing Shift+Tab\n' + - ' moves focus to the first toolbar group, not the last.

\n' + - '\n' + - '

Navigate within UI sections

\n' + - '\n' + - '

To move from one UI element to the next, press the appropriate Arrow key.

\n' + - '\n' + - '

The Left and Right arrow keys

\n' + - '\n' + - '
    \n' + - '
  • move between menus in the menu bar.
  • \n' + - '
  • open a sub-menu in a menu.
  • \n' + - '
  • move between buttons in a toolbar group.
  • \n' + - '
  • move between items in the footer’s element path.
  • \n' + - '
\n' + - '\n' + - '

The Down and Up arrow keys

\n' + - '\n' + - '
    \n' + - '
  • move between menu items in a menu.
  • \n' + - '
  • move between items in a toolbar pop-up menu.
  • \n' + - '
\n' + - '\n' + - '

Arrow keys cycle within the focused UI section.

\n' + - '\n' + - '

To close an open menu, an open sub-menu, or an open pop-up menu, press the Esc key.

\n' + - '\n' + - '

If the current focus is at the ‘top’ of a particular UI section, pressing the Esc key also exits\n' + - ' keyboard navigation entirely.

\n' + - '\n' + - '

Execute a menu item or toolbar button

\n' + - '\n' + - '

When the desired menu item or toolbar button is highlighted, press Return, Enter,\n' + - ' or the Space bar to execute the item.

\n' + - '\n' + - '

Navigate non-tabbed dialogs

\n' + - '\n' + - '

In non-tabbed dialogs, the first interactive component takes focus when the dialog opens.

\n' + - '\n' + - '

Navigate between interactive dialog components by pressing Tab or Shift+Tab.

\n' + - '\n' + - '

Navigate tabbed dialogs

\n' + - '\n' + - '

In tabbed dialogs, the first button in the tab menu takes focus when the dialog opens.

\n' + - '\n' + - '

Navigate between interactive components of this dialog tab by pressing Tab or\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Switch to another dialog tab by giving the tab menu focus and then pressing the appropriate Arrow\n' + - ' key to cycle through the available tabs.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/es.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/es.js deleted file mode 100644 index a7da8c92..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/es.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.es', -'

Iniciar la navegación con el teclado

\n' + - '\n' + - '
\n' + - '
Enfocar la barra de menús
\n' + - '
Windows o Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Enfocar la barra de herramientas
\n' + - '
Windows o Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Enfocar el pie de página
\n' + - '
Windows o Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Enfocar una barra de herramientas contextual
\n' + - '
Windows, Linux o macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

La navegación comenzará por el primer elemento de la interfaz de usuario (IU), de tal manera que se resaltará, o bien se subrayará si se trata del primer elemento de\n' + - ' la ruta de elemento del pie de página.

\n' + - '\n' + - '

Navegar entre las secciones de la IU

\n' + - '\n' + - '

Para pasar de una sección de la IU a la siguiente, pulse la tecla Tab.

\n' + - '\n' + - '

Para pasar de una sección de la IU a la anterior, pulse Mayús+Tab.

\n' + - '\n' + - '

El orden de tabulación de estas secciones de la IU es:

\n' + - '\n' + - '
    \n' + - '
  1. Barra de menús
  2. \n' + - '
  3. Cada grupo de barra de herramientas
  4. \n' + - '
  5. Barra lateral
  6. \n' + - '
  7. Ruta del elemento en el pie de página
  8. \n' + - '
  9. Botón de alternancia de recuento de palabras en el pie de página
  10. \n' + - '
  11. Enlace de personalización de marca en el pie de página
  12. \n' + - '
  13. Controlador de cambio de tamaño en el pie de página
  14. \n' + - '
\n' + - '\n' + - '

Si una sección de la IU no está presente, esta se omite.

\n' + - '\n' + - '

Si el pie de página tiene un enfoque de navegación con el teclado y no hay ninguna barra lateral visible, al pulsar Mayús+Tab,\n' + - ' el enfoque se moverá al primer grupo de barra de herramientas, en lugar de al último.

\n' + - '\n' + - '

Navegar dentro de las secciones de la IU

\n' + - '\n' + - '

Para pasar de un elemento de la IU al siguiente, pulse la tecla de flecha correspondiente.

\n' + - '\n' + - '

Las teclas de flecha izquierda y derecha permiten

\n' + - '\n' + - '
    \n' + - '
  • desplazarse entre los menús de la barra de menús.
  • \n' + - '
  • abrir el submenú de un menú.
  • \n' + - '
  • desplazarse entre los botones de un grupo de barra de herramientas.
  • \n' + - '
  • desplazarse entre los elementos de la ruta de elemento del pie de página.
  • \n' + - '
\n' + - '\n' + - '

Las teclas de flecha abajo y arriba permiten

\n' + - '\n' + - '
    \n' + - '
  • desplazarse entre los elementos de menú de un menú.
  • \n' + - '
  • desplazarse entre los elementos de un menú emergente de una barra de herramientas.
  • \n' + - '
\n' + - '\n' + - '

Las teclas de flecha van cambiando dentro de la sección de la IU enfocada.

\n' + - '\n' + - '

Para cerrar un menú, un submenú o un menú emergente que estén abiertos, pulse la tecla Esc.

\n' + - '\n' + - '

Si el enfoque actual se encuentra en la parte superior de una sección de la IU determinada, al pulsar la tecla Esc saldrá\n' + - ' de la navegación con el teclado por completo.

\n' + - '\n' + - '

Ejecutar un elemento de menú o un botón de barra de herramientas

\n' + - '\n' + - '

Si el elemento de menú o el botón de barra de herramientas deseado está resaltado, pulse la tecla Retorno o Entrar,\n' + - ' o la barra espaciadora para ejecutar el elemento.

\n' + - '\n' + - '

Navegar por cuadros de diálogo sin pestañas

\n' + - '\n' + - '

En los cuadros de diálogo sin pestañas, el primer componente interactivo se enfoca al abrirse el cuadro de diálogo.

\n' + - '\n' + - '

Para navegar entre los componentes interactivos del cuadro de diálogo, pulse las teclas Tab o Mayús+Tab.

\n' + - '\n' + - '

Navegar por cuadros de diálogo con pestañas

\n' + - '\n' + - '

En los cuadros de diálogo con pestañas, el primer botón del menú de pestaña se enfoca al abrirse el cuadro de diálogo.

\n' + - '\n' + - '

Para navegar entre componentes interactivos de esta pestaña del cuadro de diálogo, pulse las teclas Tab o\n' + - ' Mayús+Tab.

\n' + - '\n' + - '

Si desea cambiar a otra pestaña del cuadro de diálogo, enfoque el menú de pestañas y, a continuación, pulse la tecla de flecha\n' + - ' correspondiente para moverse por las pestañas disponibles.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/eu.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/eu.js deleted file mode 100644 index 76bfaac6..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/eu.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.eu', -'

Hasi teklatuaren nabigazioa

\n' + - '\n' + - '
\n' + - '
Fokuratu menu-barra
\n' + - '
Windows edo Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokuratu tresna-barra
\n' + - '
Windows edo Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokuratu orri-oina
\n' + - '
Windows edo Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokuratu testuinguruaren tresna-barra
\n' + - '
Windows, Linux edo macOS: Ktrl+F9\n' + - '
\n' + - '\n' + - '

Nabigazioa EIko lehen elementuan hasiko da: elementu hori nabarmendu egingo da, edo azpimarratu lehen elementua bada\n' + - ' orri-oineko elementuaren bidea.

\n' + - '\n' + - '

Nabigatu EIko atalen artean

\n' + - '\n' + - '

EIko atal batetik hurrengora mugitzeko, sakatu Tabuladorea.

\n' + - '\n' + - '

EIko atal batetik aurrekora mugitzeko, sakatu Maius+Tabuladorea.

\n' + - '\n' + - '

EIko atal hauen Tabuladorea da:

\n' + - '\n' + - '
    \n' + - '
  1. Menu-barra
  2. \n' + - '
  3. Tresna-barraren talde bakoitza
  4. \n' + - '
  5. Alboko barra
  6. \n' + - '
  7. Orri-oineko elementuaren bidea
  8. \n' + - '
  9. Orri-oneko urrats-kontaketa txandakatzeko botoia
  10. \n' + - '
  11. Orri-oineko marken esteka
  12. \n' + - '
  13. Orri-oineko editorearen tamaina aldatzeko heldulekua
  14. \n' + - '
\n' + - '\n' + - '

EIko atal bat ez badago, saltatu egin da.

\n' + - '\n' + - '

Orri-oinak teklatuaren nabigazioa fokuratuta badago, eta alboko barra ikusgai ez badago, Maius+Tabuladorea sakatuz gero,\n' + - ' fokua tresna-barrako lehen taldera eramaten da, ez azkenera.

\n' + - '\n' + - '

Nabigatu EIko atalen barruan

\n' + - '\n' + - '

EIko elementu batetik hurrengora mugitzeko, sakatu dagokion Gezia tekla.

\n' + - '\n' + - '

Ezkerrera eta Eskuinera gezi-teklak

\n' + - '\n' + - '
    \n' + - '
  • menu-barrako menuen artean mugitzen da.
  • \n' + - '
  • ireki azpimenu bat menuan.
  • \n' + - '
  • mugitu botoi batetik bestera tresna-barren talde batean.
  • \n' + - '
  • mugitu orri-oineko elementuaren bideko elementu batetik bestera.
  • \n' + - '
\n' + - '\n' + - '

Gora eta Behera gezi-teklak

\n' + - '\n' + - '
    \n' + - '
  • mugitu menu bateko menu-elementuen artean.
  • \n' + - '
  • mugitu tresna-barrako menu gainerakor bateko menu-elementuen artean.
  • \n' + - '
\n' + - '\n' + - '

Gezia teklen zikloa nabarmendutako EI atalen barruan.

\n' + - '\n' + - '

Irekitako menu bat ixteko, ireki azpimenua, edo ireki menu gainerakorra, sakatu Ihes tekla.

\n' + - '\n' + - '

Une horretan fokuratzea EIko atal jakin baten "goialdean" badago, Ihes tekla sakatuz gero\n' + - ' teklatuaren nabigaziotik irtengo zara.

\n' + - '\n' + - '

Exekutatu menuko elementu bat edo tresna-barrako botoi bat

\n' + - '\n' + - '

Nahi den menuaren elementua edo tresna-barraren botoia nabarmenduta dagoenean, sakatu Itzuli, Sartu\n' + - ' edo Zuriune-barra elementua exekutatzeko.

\n' + - '\n' + - '

Nabigatu fitxarik gabeko elkarrizketak

\n' + - '\n' + - '

Fitxarik gabeko elkarrizketetan, lehen osagai interaktiboa fokuratzen da elkarrizketa irekitzen denean.

\n' + - '\n' + - '

Nabigatu elkarrizketa interaktiboko osagai batetik bestera Tabuladorea edo Maius+Tabuladorea sakatuta.

\n' + - '\n' + - '

Nabigatu fitxadun elkarrizketak

\n' + - '\n' + - '

Fitxadun elkarrizketetan, fitxa-menuko lehen botoia fokuratzen da elkarrizketa irekitzen denean.

\n' + - '\n' + - '

Nabigatu elkarrizketa-fitxa honen interaktiboko osagai batetik bestera Tabuladorea edo\n' + - ' Maius+Tabuladorea sakatuta.

\n' + - '\n' + - '

Aldatu beste elkarrizketa-fitxa batera fitxa-menua fokuratu eta dagokion Gezia\n' + - ' tekla sakatzeko, erabilgarri dauden fitxa batetik bestera txandakatzeko.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/fa.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/fa.js deleted file mode 100644 index f907a32b..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/fa.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.fa', -'

شروع پیمایش صفحه‌کلید

\n' + - '\n' + - '
\n' + - '
تمرکز بر نوار منو
\n' + - '
Windows یا Linux:‎‏: Alt+F9
\n' + - '
‎‏macOS: ⌥F9‎‏
\n' + - '
تمرکز بر نوار ابزار
\n' + - '
Windows یا Linux‎‏: Alt+F10
\n' + - '
‎‏macOS: ⌥F10‎‏
\n' + - '
تمرکز بر پانویس
\n' + - '
Windows یا Linux‎‏: Alt+F11
\n' + - '
‎‏macOS: ⌥F11‎‏
\n' + - '
تمرکز بر نوار ابزار بافتاری
\n' + - '
Windows ،Linux یا macOS:‏ Ctrl+F9\n' + - '
\n' + - '\n' + - '

پیمایش در اولین مورد رابط کاربری شروع می‌شود و درخصوص اولین مورد در\n' + - ' مسیر عنصر پانویس، برجسته یا زیرخط‌دار می‌شود.

\n' + - '\n' + - '

پیمایش بین بخش‌های رابط کاربری

\n' + - '\n' + - '

برای جابجایی از یک بخش رابط کاربری به بخش بعدی، Tab را فشار دهید.

\n' + - '\n' + - '

برای جابجایی از یک بخش رابط کاربری به بخش قبلی، Shift+Tab را فشار دهید.

\n' + - '\n' + - '

ترتیب Tab این بخش‌های رابط کاربری عبارتند از:

\n' + - '\n' + - '
    \n' + - '
  1. نوار منو
  2. \n' + - '
  3. هر گروه نوار ابزار
  4. \n' + - '
  5. نوار کناری
  6. \n' + - '
  7. مسیر عنصر در پانویس
  8. \n' + - '
  9. دکمه تغییر وضعیت تعداد کلمات در پانویس
  10. \n' + - '
  11. پیوند نمانام‌سازی در پانویس
  12. \n' + - '
  13. دسته تغییر اندازه ویرایشگر در پانویس
  14. \n' + - '
\n' + - '\n' + - '

اگر بخشی از رابط کاربری موجود نباشد، رد می‌شود.

\n' + - '\n' + - '

اگر پانویس دارای تمرکز بر پیمایش صفحه‌کلید باشد،‌ و نوار کناری قابل‌مشاهده وجود ندارد، فشردن Shift+Tab\n' + - ' تمرکز را به گروه نوار ابزار اول می‌برد، نه آخر.

\n' + - '\n' + - '

پیمایش در بخش‌های رابط کاربری

\n' + - '\n' + - '

برای جابجایی از یک عنصر رابط کاربری به بعدی، کلید جهت‌نمای مناسب را فشار دهید.

\n' + - '\n' + - '

کلیدهای جهت‌نمای چپ و راست

\n' + - '\n' + - '
    \n' + - '
  • جابجایی بین منوها در نوار منو.
  • \n' + - '
  • باز کردن منوی فرعی در یک منو.
  • \n' + - '
  • جابجایی بین دکمه‌ها در یک گروه نوار ابزار.
  • \n' + - '
  • جابجایی بین موارد در مسیر عنصر پانویس.
  • \n' + - '
\n' + - '\n' + - '

کلیدهای جهت‌نمای پایین و بالا

\n' + - '\n' + - '
    \n' + - '
  • جابجایی بین موارد منو در یک منو.
  • \n' + - '
  • جابجایی بین موارد در یک منوی بازشوی نوار ابزار.
  • \n' + - '
\n' + - '\n' + - '

کلیدهایجهت‌نما در بخش رابط کاربری متمرکز می‌چرخند.

\n' + - '\n' + - '

برای بستن یک منوی باز، یک منوی فرعی باز، یا یک منوی بازشوی باز، کلید Esc را فشار دهید.

\n' + - '\n' + - '

اگر تمرکز فعلی در «بالای» یک بخش رابط کاربری خاص است، فشردن کلید Esc نیز موجب\n' + - ' خروج کامل از پیمایش صفحه‌کلید می‌شود.

\n' + - '\n' + - '

اجرای یک مورد منو یا دکمه نوار ابزار

\n' + - '\n' + - '

وقتی مورد منو یا دکمه نوار ابزار مورد نظر هایلایت شد، دکمه بازگشت، Enter،\n' + - ' یا نوار Space را فشار دهید تا مورد را اجرا کنید.

\n' + - '\n' + - '

پیمایش در کادرهای گفتگوی بدون زبانه

\n' + - '\n' + - '

در کادرهای گفتگوی بدون زبانه، وقتی کادر گفتگو باز می‌شود، اولین جزء تعاملی متمرکز می‌شود.

\n' + - '\n' + - '

با فشردن Tab یا Shift+Tab، بین اجزای کادر گفتگوی تعاملی پیمایش کنید.

\n' + - '\n' + - '

پیمایش کادرهای گفتگوی زبانه‌دار

\n' + - '\n' + - '

در کادرهای گفتگوی زبانه‌دار، وقتی کادر گفتگو باز می‌شود، اولین دکمه در منوی زبانه متمرکز می‌شود.

\n' + - '\n' + - '

با فشردن Tab یا\n' + - ' Shift+Tab، بین اجزای تعاملی این زبانه کادر گفتگو پیمایش کنید.

\n' + - '\n' + - '

با دادن تمرکز به منوی زبانه و سپس فشار دادن کلید جهت‌نمای\n' + - ' مناسب برای چرخش میان زبانه‌های موجود، به زبانه کادر گفتگوی دیگری بروید.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/fi.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/fi.js deleted file mode 100644 index 52eaa3c5..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/fi.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.fi', -'

Näppäimistönavigoinnin aloittaminen

\n' + - '\n' + - '
\n' + - '
Siirrä kohdistus valikkopalkkiin
\n' + - '
Windows tai Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Siirrä kohdistus työkalupalkkiin
\n' + - '
Windows tai Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Siirrä kohdistus alatunnisteeseen
\n' + - '
Windows tai Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Siirrä kohdistus kontekstuaaliseen työkalupalkkiin
\n' + - '
Windows, Linux tai macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigointi aloitetaan ensimmäisestä käyttöliittymän kohteesta, joka joko korostetaan tai alleviivataan, jos\n' + - ' kyseessä on Alatunniste-elementin polun ensimmäinen kohde.

\n' + - '\n' + - '

Käyttöliittymän eri osien välillä navigointi

\n' + - '\n' + - '

Paina sarkainnäppäintä siirtyäksesi käyttöliittymän osasta seuraavaan.

\n' + - '\n' + - '

Jos haluat siirtyä edelliseen käyttöliittymän osaan, paina Shift+sarkainnäppäin.

\n' + - '\n' + - '

Sarkainnäppäin siirtää sinua näissä käyttöliittymän osissa tässä järjestyksessä:

\n' + - '\n' + - '
    \n' + - '
  1. Valikkopalkki
  2. \n' + - '
  3. Työkalupalkin ryhmät
  4. \n' + - '
  5. Sivupalkki
  6. \n' + - '
  7. Elementin polku alatunnisteessa
  8. \n' + - '
  9. Sanalaskurin vaihtopainike alatunnisteessa
  10. \n' + - '
  11. Brändäyslinkki alatunnisteessa
  12. \n' + - '
  13. Editorin koon muuttamisen kahva alatunnisteessa
  14. \n' + - '
\n' + - '\n' + - '

Jos jotakin käyttöliittymän osaa ei ole, se ohitetaan.

\n' + - '\n' + - '

Jos kohdistus on siirretty alatunnisteeseen näppäimistönavigoinnilla eikä sivupalkkia ole näkyvissä, Shift+sarkainnäppäin\n' + - ' siirtää kohdistuksen työkalupalkin ensimmäiseen ryhmään, eikä viimeiseen.

\n' + - '\n' + - '

Käyttöliittymän eri osien sisällä navigointi

\n' + - '\n' + - '

Paina nuolinäppäimiä siirtyäksesi käyttöliittymäelementistä seuraavaan.

\n' + - '\n' + - '

Vasen- ja Oikea-nuolinäppäimet

\n' + - '\n' + - '
    \n' + - '
  • siirtävät sinua valikkopalkin valikoiden välillä.
  • \n' + - '
  • avaavat valikon alavalikon.
  • \n' + - '
  • siirtävät sinua työkalupalkin ryhmän painikkeiden välillä.
  • \n' + - '
  • siirtävät sinua kohteiden välillä alatunnisteen elementin polussa.
  • \n' + - '
\n' + - '\n' + - '

Alas- ja Ylös-nuolinäppäimet

\n' + - '\n' + - '
    \n' + - '
  • siirtävät sinua valikon valikkokohteiden välillä.
  • \n' + - '
  • siirtävät sinua työkalupalkin ponnahdusvalikon kohteiden välillä.
  • \n' + - '
\n' + - '\n' + - '

Nuolinäppäimet siirtävät sinua käyttöliittymän korostetun osan sisällä syklissä.

\n' + - '\n' + - '

Paina Esc-näppäintä sulkeaksesi avoimen valikon, avataksesi alavalikon tai avataksesi ponnahdusvalikon.

\n' + - '\n' + - '

Jos kohdistus on käyttöliittymän tietyn osion ylälaidassa, Esc-näppäimen painaminen\n' + - ' poistuu myös näppäimistönavigoinnista kokonaan.

\n' + - '\n' + - '

Suorita valikkokohde tai työkalupalkin painike

\n' + - '\n' + - '

Kun haluamasi valikkokohde tai työkalupalkin painike on korostettuna, paina Return-, Enter-\n' + - ' tai välilyöntinäppäintä suorittaaksesi kohteen.

\n' + - '\n' + - '

Välilehdittömissä valintaikkunoissa navigointi

\n' + - '\n' + - '

Kun välilehdetön valintaikkuna avautuu, kohdistus siirtyy sen ensimmäiseen interaktiiviseen komponenttiin.

\n' + - '\n' + - '

Voit siirtyä valintaikkunan interaktiivisten komponenttien välillä painamalla sarkainnäppäintä tai Shift+sarkainnäppäin.

\n' + - '\n' + - '

Välilehdellisissä valintaikkunoissa navigointi

\n' + - '\n' + - '

Kun välilehdellinen valintaikkuna avautuu, kohdistus siirtyy välilehtivalikon ensimmäiseen painikkeeseen.

\n' + - '\n' + - '

Voit siirtyä valintaikkunan välilehden interaktiivisen komponenttien välillä painamalla sarkainnäppäintä tai\n' + - ' Shift+sarkainnäppäin.

\n' + - '\n' + - '

Voit siirtyä valintaikkunan toiseen välilehteen siirtämällä kohdistuksen välilehtivalikkoon ja painamalla sopivaa nuolinäppäintä\n' + - ' siirtyäksesi käytettävissä olevien välilehtien välillä syklissä.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/fr_FR.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/fr_FR.js deleted file mode 100644 index 25af54ec..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.fr_FR', -'

Débuter la navigation au clavier

\n' + - '\n' + - '
\n' + - '
Cibler la barre du menu
\n' + - '
Windows ou Linux : Alt+F9
\n' + - '
macOS : ⌥F9
\n' + - "
Cibler la barre d'outils
\n" + - '
Windows ou Linux : Alt+F10
\n' + - '
macOS : ⌥F10
\n' + - '
Cibler le pied de page
\n' + - '
Windows ou Linux : Alt+F11
\n' + - '
macOS : ⌥F11
\n' + - "
Cibler une barre d'outils contextuelle
\n" + - '
Windows, Linux ou macOS : Ctrl+F9\n' + - '
\n' + - '\n' + - "

La navigation débutera sur le premier élément de l'interface utilisateur, qui sera mis en surbrillance ou bien souligné dans le cas du premier élément du\n" + - " chemin d'éléments du pied de page.

\n" + - '\n' + - "

Naviguer entre les sections de l'interface utilisateur

\n" + - '\n' + - "

Pour passer d'une section de l'interface utilisateur à la suivante, appuyez sur Tabulation.

\n" + - '\n' + - "

Pour passer d'une section de l'interface utilisateur à la précédente, appuyez sur Maj+Tabulation.

\n" + - '\n' + - "

L'ordre de Tabulation de ces sections de l'interface utilisateur est le suivant :

\n" + - '\n' + - '
    \n' + - '
  1. Barre du menu
  2. \n' + - "
  3. Chaque groupe de barres d'outils
  4. \n" + - '
  5. Barre latérale
  6. \n' + - "
  7. Chemin d'éléments du pied de page
  8. \n" + - "
  9. Bouton d'activation du compteur de mots dans le pied de page
  10. \n" + - '
  11. Lien de marque dans le pied de page
  12. \n' + - "
  13. Poignée de redimensionnement de l'éditeur dans le pied de page
  14. \n" + - '
\n' + - '\n' + - "

Si une section de l'interface utilisateur n'est pas présente, elle sera ignorée.

\n" + - '\n' + - "

Si le pied de page comporte un ciblage par navigation au clavier et qu'il n'y a aucune barre latérale visible, appuyer sur Maj+Tabulation\n" + - " déplace le ciblage vers le premier groupe de barres d'outils et non le dernier.

\n" + - '\n' + - "

Naviguer au sein des sections de l'interface utilisateur

\n" + - '\n' + - "

Pour passer d'un élément de l'interface utilisateur au suivant, appuyez sur la Flèche appropriée.

\n" + - '\n' + - '

Les touches fléchées Gauche et Droite

\n' + - '\n' + - '
    \n' + - '
  • se déplacent entre les menus de la barre des menus.
  • \n' + - "
  • ouvrent un sous-menu au sein d'un menu.
  • \n" + - "
  • se déplacent entre les boutons d'un groupe de barres d'outils.
  • \n" + - "
  • se déplacent entre les éléments du chemin d'éléments du pied de page.
  • \n" + - '
\n' + - '\n' + - '

Les touches fléchées Bas et Haut

\n' + - '\n' + - '
    \n' + - "
  • se déplacent entre les éléments de menu au sein d'un menu.
  • \n" + - "
  • se déplacent entre les éléments au sein d'un menu contextuel de barre d'outils.
  • \n" + - '
\n' + - '\n' + - "

Les Flèches parcourent la section de l'interface utilisateur ciblée.

\n" + - '\n' + - '

Pour fermer un menu ouvert, un sous-menu ouvert ou un menu contextuel ouvert, appuyez sur Echap.

\n' + - '\n' + - "

Si l'actuel ciblage se trouve en « haut » d'une section spécifique de l'interface utilisateur, appuyer sur Echap permet également de quitter\n" + - ' entièrement la navigation au clavier.

\n' + - '\n' + - "

Exécuter un élément de menu ou un bouton de barre d'outils

\n" + - '\n' + - "

Lorsque l'élément de menu ou le bouton de barre d'outils désiré est mis en surbrillance, appuyez sur la touche Retour arrière, Entrée\n" + - " ou la Barre d'espace pour exécuter l'élément.

\n" + - '\n' + - '

Naviguer au sein de dialogues sans onglets

\n' + - '\n' + - "

Dans les dialogues sans onglets, le premier composant interactif est ciblé lorsque le dialogue s'ouvre.

\n" + - '\n' + - '

Naviguez entre les composants du dialogue interactif en appuyant sur Tabulation ou Maj+Tabulation.

\n' + - '\n' + - '

Naviguer au sein de dialogues avec onglets

\n' + - '\n' + - "

Dans les dialogues avec onglets, le premier bouton du menu de l'onglet est ciblé lorsque le dialogue s'ouvre.

\n" + - '\n' + - '

Naviguez entre les composants interactifs de cet onglet de dialogue en appuyant sur Tabulation ou\n' + - ' Maj+Tabulation.

\n' + - '\n' + - "

Passez à un autre onglet de dialogue en ciblant le menu de l'onglet et en appuyant sur la Flèche\n" + - ' appropriée pour parcourir les onglets disponibles.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/he_IL.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/he_IL.js deleted file mode 100644 index 4ddf39d0..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/he_IL.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.he_IL', -'

התחל ניווט במקלדת

\n' + - '\n' + - '
\n' + - '
התמקד בשורת התפריטים
\n' + - '
Windows או Linux:‏ Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
העבר מיקוד לסרגל הכלים
\n' + - '
Windows או Linux:‏ Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
העבר מיקוד לכותרת התחתונה
\n' + - '
Windows או Linux:‏ Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
העבר מיקוד לסרגל כלים הקשרי
\n' + - '
Windows‏, Linux או macOS:‏ Ctrl+F9\n' + - '
\n' + - '\n' + - '

הניווט יתחיל ברכיב הראשון במשך, שיודגש או שיהיה מתחתיו קו תחתון במקרה של הפריט הראשון\n' + - ' הנתיב של רכיב הכותרת התחתונה.

\n' + - '\n' + - '

עבור בין מקטעים במסך

\n' + - '\n' + - '

כדי לעבור בין המקטעים במסך, הקש Tab.

\n' + - '\n' + - '

כדי לעבור למקטע הקודם במסך, הקש Shift+Tab.

\n' + - '\n' + - '

הסדר מבחינת מקש Tab של הרכיבים במסך:

\n' + - '\n' + - '
    \n' + - '
  1. שורת התפריטים
  2. \n' + - '
  3. כל קבוצה בסרגל הכלים
  4. \n' + - '
  5. הסרגל הצידי
  6. \n' + - '
  7. נתיב של רכיב בכותרת התחתונה
  8. \n' + - '
  9. לחצן לספירת מילים בכותרת התחתונה
  10. \n' + - '
  11. קישור של המותג בכותרת התחתונה
  12. \n' + - '
  13. ידית לשינוי גודל עבור העורך בכותרת התחתונה
  14. \n' + - '
\n' + - '\n' + - '

אם רכיב כלשהו במסך לא מופיע, המערכת תדלג עליו.

\n' + - '\n' + - '

אם בכותרת התחתונה יש מיקוד של ניווט במקלדת, ולא מופיע סרגל בצד, יש להקיש Shift+Tab\n' + - ' מעביר את המיקוד לקבוצה הראשונה בסרגל הכלים, לא האחרונה.

\n' + - '\n' + - '

עבור בתוך מקטעים במסך

\n' + - '\n' + - '

כדי לעבור מרכיב אחד לרכיב אחר במסך, הקש על מקש החץ המתאים.

\n' + - '\n' + - '

מקשי החיצים שמאלה וימינה

\n' + - '\n' + - '
    \n' + - '
  • עבור בין תפריטים בשורת התפריטים.
  • \n' + - '
  • פתח תפריט משני בתפריט.
  • \n' + - '
  • עבור בין לחצנים בקבוצה בסרגל הכלים.
  • \n' + - '
  • עבור בין פריטים ברכיב בכותרת התחתונה.
  • \n' + - '
\n' + - '\n' + - '

מקשי החיצים למטה ולמעלה

\n' + - '\n' + - '
    \n' + - '
  • עבור בין פריטים בתפריט.
  • \n' + - '
  • עבור בין פריטים בחלון הקובץ של סרגל הכלים.
  • \n' + - '
\n' + - '\n' + - '

מקשי החצים משתנים בתוך המקטע במסך שעליו נמצא המיקוד.

\n' + - '\n' + - '

כדי לסגור תפריט פתוח, תפריט משני פתוח או חלון קופץ, הקש על Esc.

\n' + - '\n' + - "

אם המיקוד הוא על החלק 'העליון' של מקטע מסוים במסך, הקשה על Esc מביאה גם ליציאה\n" + - ' מהניווט במקלדת לחלוטין.

\n' + - '\n' + - '

הפעל פריט בתפריט או לחצן בסרגל הכלים

\n' + - '\n' + - '

כאשר הפריט הרצוי בתפריט או הלחצן בסרגל הכלים מודגשים, הקש על Return, Enter,\n' + - ' או על מקש הרווח כדי להפעיל את הפריט.

\n' + - '\n' + - '

ניווט בחלונות דו-שיח בלי כרטיסיות

\n' + - '\n' + - '

בחלונות דו-שיח בלי כרטיסיות, הרכיב האינטראקטיבי הראשון מקבל את המיקוד כאשר החלון נפתח.

\n' + - '\n' + - '

עבור בין רכיבים אינטראקטיביים בחלון על ידי הקשה על Tab או Shift+Tab.

\n' + - '\n' + - '

ניווט בחלונות דו-שיח עם כרטיסיות

\n' + - '\n' + - '

בחלונות דו-שיח עם כרטיסיות, הלחצן הראשון בתפריט מקבל את המיקוד כאשר החלון נפתח.

\n' + - '\n' + - '

עבור בין רכיבים אינטראקטיביים בחלון על ידי הקשה על Tab או\n' + - ' Shift+Tab.

\n' + - '\n' + - '

עבור לכרטיסיה אחרת בחלון על ידי העברת המיקוד לתפריט הכרטיסיות והקשה על החץהמתאים\n' + - ' כדי לעבור בין הכרטיסיות הזמינות.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/hi.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/hi.js deleted file mode 100644 index f5f8cec0..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/hi.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.hi', -'

कीबोर्ड नेविगेशन शुरू करें

\n' + - '\n' + - '
\n' + - '
मेन्यू बार पर फ़ोकस करें
\n' + - '
Windows या Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
टूलबार पर फ़ोकस करें
\n' + - '
Windows या Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
फ़ुटर पर फ़ोकस करें
\n' + - '
Windows या Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
प्रासंगिक टूलबार पर फ़ोकस करें
\n' + - '
Windows, Linux या macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

नेविगेशन पहले UI आइटम पर शुरू होगा, जिसे हाइलाइट किया जाएगा या पहले आइटम के मामले में फ़ुटर तत्व पथ में\n' + - ' रेखांकित किया जाएगा।

\n' + - '\n' + - '

UI सेक्शन के बीच नेविगेट करें

\n' + - '\n' + - '

एक UI सेक्शन से दूसरे सेक्शन में जाने के लिए, Tab दबाएं।

\n' + - '\n' + - '

एक UI सेक्शन से पिछले सेक्शन में जाने के लिए, Shift+Tab दबाएं।

\n' + - '\n' + - '

इन UI सेक्शन का Tab क्रम नीचे दिया गया है:

\n' + - '\n' + - '
    \n' + - '
  1. मेन्यू बार
  2. \n' + - '
  3. प्रत्येक टूलबार समूह
  4. \n' + - '
  5. साइडबार
  6. \n' + - '
  7. फ़ुटर में तत्व पथ
  8. \n' + - '
  9. फ़ुटर में शब्द गणना टॉगल बटन
  10. \n' + - '
  11. फ़ुटर में ब्रांडिंग लिंक
  12. \n' + - '
  13. फ़ुटर में संपादक का आकार बदलने का हैंडल
  14. \n' + - '
\n' + - '\n' + - '

अगर कोई UI सेक्शन मौजूद नहीं है, तो उसे छोड़ दिया जाता है।

\n' + - '\n' + - '

अगर फ़ुटर में कीबोर्ड नेविगेशन फ़ोकस है, और कोई दिखा देने वाला साइडबार नहीं है, तो Shift+Tab दबाने से\n' + - ' फ़ोकस पहले टूलबार समूह पर चला जाता है, पिछले पर नहीं।

\n' + - '\n' + - '

UI सेक्शन के भीतर नेविगेट करें

\n' + - '\n' + - '

एक UI तत्व से दूसरे में जाने के लिए उपयुक्त ऐरो कुंजी दबाएं।

\n' + - '\n' + - '

बाएं और दाएं ऐरो कुंजियां

\n' + - '\n' + - '
    \n' + - '
  • मेन्यू बार में मेन्यू के बीच ले जाती हैं।
  • \n' + - '
  • मेन्यू में एक सब-मेन्यू खोलें।
  • \n' + - '
  • टूलबार समूह में बटनों के बीच ले जाएं।
  • \n' + - '
  • फ़ुटर के तत्व पथ में आइटम के बीच ले जाएं।
  • \n' + - '
\n' + - '\n' + - '

नीचे और ऊपर ऐरो कुंजियां

\n' + - '\n' + - '
    \n' + - '
  • मेन्यू में मेन्यू आइटम के बीच ले जाती हैं।
  • \n' + - '
  • टूलबार पॉप-अप मेन्यू में आइटम के बीच ले जाएं।
  • \n' + - '
\n' + - '\n' + - '

फ़ोकस वाले UI सेक्शन के भीतर ऐरो कुंजियां चलाती रहती हैं।

\n' + - '\n' + - '

कोई खुला मेन्यू, कोई खुला सब-मेन्यू या कोई खुला पॉप-अप मेन्यू बंद करने के लिए Esc कुंजी दबाएं।

\n' + - '\n' + - "

अगर मौजूदा फ़ोकस किसी विशेष UI सेक्शन के 'शीर्ष' पर है, तो Esc कुंजी दबाने से भी\n" + - ' कीबोर्ड नेविगेशन पूरी तरह से बाहर हो जाता है।

\n' + - '\n' + - '

मेन्यू आइटम या टूलबार बटन निष्पादित करें

\n' + - '\n' + - '

जब वांछित मेन्यू आइटम या टूलबार बटन हाइलाइट किया जाता है, तो आइटम को निष्पादित करने के लिए Return, Enter,\n' + - ' या Space bar दबाएं।

\n' + - '\n' + - '

गैर-टैब वाले डायलॉग पर नेविगेट करें

\n' + - '\n' + - '

गैर-टैब वाले डायलॉग में, डायलॉग खुलने पर पहला इंटरैक्टिव घटक फ़ोकस लेता है।

\n' + - '\n' + - '

Tab or Shift+Tab दबाकर इंटरैक्टिव डायलॉग घटकों के बीच नेविगेट करें।

\n' + - '\n' + - '

टैब किए गए डायलॉग पर नेविगेट करें

\n' + - '\n' + - '

टैब किए गए डायलॉग में, डायलॉग खुलने पर टैब मेन्यू में पहला बटन फ़ोकस लेता है।

\n' + - '\n' + - '

इस डायलॉग टैब के इंटरैक्टिव घटकों के बीच नेविगेट करने के लिए Tab या\n' + - ' Shift+Tab दबाएं।

\n' + - '\n' + - '

टैब मेन्यू को फ़ोकस देकर और फिर उपलब्ध टैब में के बीच जाने के लिए उपयुक्त ऐरो\n' + - ' कुंजी दबाकर दूसरे डायलॉग टैब पर स्विच करें।

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/hr.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/hr.js deleted file mode 100644 index 6afabc44..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/hr.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.hr', -'

Početak navigacije na tipkovnici

\n' + - '\n' + - '
\n' + - '
Fokusiranje trake izbornika
\n' + - '
Windows ili Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokusiranje alatne trake
\n' + - '
Windows ili Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokusiranje podnožja
\n' + - '
Windows ili Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokusiranje kontekstne alatne trake
\n' + - '
Windows, Linux ili macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigacija će započeti kod prve stavke na korisničkom sučelju, koja će biti istaknuta ili podcrtana ako se radi o prvoj stavci u\n' + - ' putu elementa u podnožju.

\n' + - '\n' + - '

Navigacija između dijelova korisničkog sučelja

\n' + - '\n' + - '

Za pomicanje s jednog dijela korisničkog sučelja na drugi pritisnite tabulator.

\n' + - '\n' + - '

Za pomicanje s jednog dijela korisničkog sučelja na prethodni pritisnite Shift + tabulator.

\n' + - '\n' + - '

Ovo je redoslijed pomicanja tabulatora po dijelovima korisničkog sučelja:

\n' + - '\n' + - '
    \n' + - '
  1. Traka izbornika
  2. \n' + - '
  3. Pojedinačne grupe na alatnoj traci
  4. \n' + - '
  5. Bočna traka
  6. \n' + - '
  7. Put elemenata u podnožju
  8. \n' + - '
  9. Gumb za pomicanje po broju riječi u podnožju
  10. \n' + - '
  11. Veza na brand u podnožju
  12. \n' + - '
  13. Značajka za promjenu veličine alata za uređivanje u podnožju
  14. \n' + - '
\n' + - '\n' + - '

Ako neki dio korisničkog sučelja nije naveden, on se preskače.

\n' + - '\n' + - '

Ako u podnožju postoji fokus za navigaciju na tipkovnici, a nema vidljive bočne trake, pritiskom na Shift + tabulator\n' + - ' fokus se prebacuje na prvu skupinu na alatnoj traci, ne na zadnju.

\n' + - '\n' + - '

Navigacija unutar dijelova korisničkog sučelja

\n' + - '\n' + - '

Za pomicanje s jednog elementa korisničkog sučelja na drugi pritisnite tipku s odgovarajućom strelicom.

\n' + - '\n' + - '

Tipke s lijevom i desnom strelicom

\n' + - '\n' + - '
    \n' + - '
  • služe za pomicanje između izbornika na alatnoj traci.
  • \n' + - '
  • otvaraju podizbornik unutar izbornika.
  • \n' + - '
  • služe za pomicanje između gumba unutar skupina na alatnoj traci.
  • \n' + - '
  • služe za pomicanje između stavki na elementu puta u podnožju.
  • \n' + - '
\n' + - '\n' + - '

Tipke s donjom i gornjom strelicom

\n' + - '\n' + - '
    \n' + - '
  • služe za pomicanje između stavki unutar izbornika.
  • \n' + - '
  • služe za pomicanje između stavki na alatnoj traci skočnog izbornika.
  • \n' + - '
\n' + - '\n' + - '

Tipkama strelica kružno se pomičete unutar dijela korisničkog sučelja koji je u fokusu.

\n' + - '\n' + - '

Za zatvaranje otvorenog izbornika, otvorenog podizbornika ili otvorenog skočnog izbornika pritisnite tipku Esc.

\n' + - '\n' + - '

Ako je fokus trenutačno postavljen na vrh pojedinačnog dijela korisničkog sučelja, pritiskom na tipku Esc također\n' + - ' u potpunosti zatvarate navigaciju na tipkovnici.

\n' + - '\n' + - '

Izvršavanje radnji putem stavki izbornika ili gumba na alatnoj traci

\n' + - '\n' + - '

Nakon što se istakne stavka izbornika ili gumb na alatnoj traci s radnjom koju želite izvršiti, pritisnite tipku Return, Enter\n' + - ' ili razmak da biste pokrenuli željenu radnju.

\n' + - '\n' + - '

Navigacija dijaloškim okvirima izvan kartica

\n' + - '\n' + - '

Prilikom otvaranja dijaloških okvira izvan kartica fokus se nalazi na prvoj interaktivnoj komponenti.

\n' + - '\n' + - '

Navigaciju između interaktivnih dijaloških komponenata vršite pritiskom na tabulator ili Shift + tabulator.

\n' + - '\n' + - '

Navigacija dijaloškim okvirima u karticama

\n' + - '\n' + - '

Prilikom otvaranja dijaloških okvira u karticama fokus se nalazi na prvom gumbu u izborniku unutar kartice.

\n' + - '\n' + - '

Navigaciju između interaktivnih komponenata dijaloškog okvira u kartici vršite pritiskom na tabulator ili\n' + - ' Shift + tabulator.

\n' + - '\n' + - '

Na karticu s drugim dijaloškim okvirom možete se prebaciti tako da stavite fokus na izbornik kartice pa pritisnete tipku s odgovarajućom strelicom\n' + - ' za kružno pomicanje između dostupnih kartica.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/hu_HU.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/hu_HU.js deleted file mode 100644 index d3984b0c..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.hu_HU', -'

Billentyűzetes navigáció indítása

\n' + - '\n' + - '
\n' + - '
Fókusz a menüsávra
\n' + - '
Windows és Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fókusz az eszköztárra
\n' + - '
Windows és Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fókusz a láblécre
\n' + - '
Windows és Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fókusz egy környezetfüggő eszköztárra
\n' + - '
Windows, Linux és macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

A navigáció az első felhasználói felületi elemnél kezdődik, amelyet a rendszer kiemel, illetve aláhúz, amennyiben az az első elem\n' + - ' a lábléc elemútvonalán.

\n' + - '\n' + - '

Navigálás a felhasználói felület szakaszai között

\n' + - '\n' + - '

A felhasználói felület következő szakaszára váltáshoz nyomja meg a Tab billentyűt.

\n' + - '\n' + - '

A felhasználói felület előző szakaszára váltáshoz nyomja meg a Shift+Tab billentyűt.

\n' + - '\n' + - '

A Tab billentyűvel a felhasználói felület szakaszai között a következő sorrendben vált:

\n' + - '\n' + - '
    \n' + - '
  1. Menüsáv
  2. \n' + - '
  3. Az egyes eszköztárcsoportok
  4. \n' + - '
  5. Oldalsáv
  6. \n' + - '
  7. Elemútvonal a láblécen
  8. \n' + - '
  9. Szószámátkapcsoló gomb a láblécen
  10. \n' + - '
  11. Márkalink a láblécen
  12. \n' + - '
  13. Szerkesztő átméretezési fogópontja a láblécen
  14. \n' + - '
\n' + - '\n' + - '

Ha a felhasználói felület valamelyik eleme nincs jelen, a rendszer kihagyja.

\n' + - '\n' + - '

Ha a billentyűzetes navigáció fókusza a láblécen van, és nincs látható oldalsáv, a Shift+Tab\n' + - ' billentyűkombináció lenyomásakor az első eszköztárcsoportra ugrik a fókusz, nem az utolsóra.

\n' + - '\n' + - '

Navigálás a felhasználói felület szakaszain belül

\n' + - '\n' + - '

A felhasználói felület következő elemére váltáshoz nyomja meg a megfelelő nyílbillentyűt.

\n' + - '\n' + - '

A bal és a jobb nyílgomb

\n' + - '\n' + - '
    \n' + - '
  • a menüsávban a menük között vált.
  • \n' + - '
  • a menükben megnyit egy almenüt.
  • \n' + - '
  • az eszköztárcsoportban a gombok között vált.
  • \n' + - '
  • a lábléc elemútvonalán az elemek között vált.
  • \n' + - '
\n' + - '\n' + - '

A le és a fel nyílgomb

\n' + - '\n' + - '
    \n' + - '
  • a menükben a menüpontok között vált.
  • \n' + - '
  • az eszköztár előugró menüjében az elemek között vált.
  • \n' + - '
\n' + - '\n' + - '

A nyílbillentyűk lenyomásával körkörösen lépkedhet a fókuszban lévő felhasználói felületi szakasz elemei között.

\n' + - '\n' + - '

A megnyitott menüket, almenüket és előugró menüket az Esc billentyűvel zárhatja be.

\n' + - '\n' + - '

Ha a fókusz az aktuális felületi elem „felső” részén van, az Esc billentyűvel az egész\n' + - ' billentyűzetes navigációból kilép.

\n' + - '\n' + - '

Menüpont vagy eszköztárgomb aktiválása

\n' + - '\n' + - '

Amikor a kívánt menüelem vagy eszköztárgomb van kijelölve, nyomja meg a Return, az Enter\n' + - ' vagy a Szóköz billentyűt az adott elem vagy gomb aktiválásához.

\n' + - '\n' + - '

Navigálás a lapokkal nem rendelkező párbeszédablakokban

\n' + - '\n' + - '

A lapokkal nem rendelkező párbeszédablakokban az első interaktív összetevő kapja a fókuszt, amikor a párbeszédpanel megnyílik.

\n' + - '\n' + - '

A párbeszédpanelek interaktív összetevői között a Tab vagy a Shift+Tab billentyűvel navigálhat.

\n' + - '\n' + - '

Navigálás a lapokkal rendelkező párbeszédablakokban

\n' + - '\n' + - '

A lapokkal rendelkező párbeszédablakokban a lapmenü első gombja kapja a fókuszt, amikor a párbeszédpanel megnyílik.

\n' + - '\n' + - '

A párbeszédpanel e lapjának interaktív összetevői között a Tab vagy\n' + - ' Shift+Tab billentyűvel navigálhat.

\n' + - '\n' + - '

A párbeszédablak másik lapjára úgy léphet, hogy a fókuszt a lapmenüre állítja, majd lenyomja a megfelelő nyílbillentyűt\n' + - ' a rendelkezésre álló lapok közötti lépkedéshez.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/id.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/id.js deleted file mode 100644 index 4a35731d..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/id.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.id', -'

Memulai navigasi keyboard

\n' + - '\n' + - '
\n' + - '
Fokus pada bilah Menu
\n' + - '
Windows atau Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokus pada Bilah Alat
\n' + - '
Windows atau Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokus pada footer
\n' + - '
Windows atau Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokus pada bilah alat kontekstual
\n' + - '
Windows, Linux, atau macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigasi akan dimulai dari item pertama UI, yang akan disorot atau digarisbawahi di\n' + - ' alur elemen Footer.

\n' + - '\n' + - '

Berpindah antar-bagian UI

\n' + - '\n' + - '

Untuk berpindah dari satu bagian UI ke bagian berikutnya, tekan Tab.

\n' + - '\n' + - '

Untuk berpindah dari satu bagian UI ke bagian sebelumnya, tekan Shift+Tab.

\n' + - '\n' + - '

Urutan Tab bagian-bagian UI ini adalah:

\n' + - '\n' + - '
    \n' + - '
  1. Bilah menu
  2. \n' + - '
  3. Tiap grup bilah alat
  4. \n' + - '
  5. Bilah sisi
  6. \n' + - '
  7. Alur elemen di footer
  8. \n' + - '
  9. Tombol aktifkan/nonaktifkan jumlah kata di footer
  10. \n' + - '
  11. Tautan merek di footer
  12. \n' + - '
  13. Pengatur pengubahan ukuran editor di footer
  14. \n' + - '
\n' + - '\n' + - '

Jika suatu bagian UI tidak ada, bagian tersebut dilewati.

\n' + - '\n' + - '

Jika fokus navigasi keyboard ada pada footer, tetapi tidak ada bilah sisi yang terlihat, menekan Shift+Tab\n' + - ' akan memindahkan fokus ke grup bilah alat pertama, bukan yang terakhir.

\n' + - '\n' + - '

Berpindah di dalam bagian-bagian UI

\n' + - '\n' + - '

Untuk berpindah dari satu elemen UI ke elemen berikutnya, tekan tombol Panah yang sesuai.

\n' + - '\n' + - '

Tombol panah Kiri dan Kanan untuk

\n' + - '\n' + - '
    \n' + - '
  • berpindah-pindah antar-menu di dalam bilah menu.
  • \n' + - '
  • membuka sub-menu di dalam menu.
  • \n' + - '
  • berpindah-pindah antar-tombol di dalam grup bilah alat.
  • \n' + - '
  • berpindah-pindah antar-item di dalam alur elemen footer.
  • \n' + - '
\n' + - '\n' + - '

Tombol panah Bawah dan Atas untuk

\n' + - '\n' + - '
    \n' + - '
  • berpindah-pindah antar-item menu di dalam menu.
  • \n' + - '
  • berpindah-pindah antar-item di dalam menu pop-up bilah alat.
  • \n' + - '
\n' + - '\n' + - '

Tombol Panah hanya bergerak di dalam bagian UI yang difokuskan.

\n' + - '\n' + - '

Untuk menutup menu, sub-menu, atau menu pop-up yang terbuka, tekan tombol Esc.

\n' + - '\n' + - '

Jika fokus sedang berada di ‘atas’ bagian UI tertentu, menekan tombol Esc juga dapat mengeluarkan fokus\n' + - ' dari seluruh navigasi keyboard.

\n' + - '\n' + - '

Menjalankan item menu atau tombol bilah alat

\n' + - '\n' + - '

Jika item menu atau tombol bilah alat yang diinginkan tersorot, tekan Return, Enter,\n' + - ' atau Spasi untuk menjalankan item.

\n' + - '\n' + - '

Berpindah dalam dialog tanpa tab

\n' + - '\n' + - '

Dalam dialog tanpa tab, fokus diarahkan pada komponen interaktif pertama saat dialog terbuka.

\n' + - '\n' + - '

Berpindah di antara komponen dalam dialog interaktif dengan menekan Tab atau Shift+Tab.

\n' + - '\n' + - '

Berpindah dalam dialog dengan tab

\n' + - '\n' + - '

Dalam dialog yang memiliki tab, fokus diarahkan pada tombol pertama di dalam menu saat dialog terbuka.

\n' + - '\n' + - '

Berpindah di antara komponen-komponen interaktif pada tab dialog ini dengan menekan Tab atau\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Beralih ke tab dialog lain dengan mengarahkan fokus pada menu tab lalu tekan tombol Panah\n' + - ' yang sesuai untuk berpindah ke berbagai tab yang tersedia.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/it.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/it.js deleted file mode 100644 index 5b614b33..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/it.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.it', -'

Iniziare la navigazione tramite tastiera

\n' + - '\n' + - '
\n' + - '
Impostare lo stato attivo per la barra dei menu
\n' + - '
Windows o Linux: ALT+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Impostare lo stato attivo per la barra degli strumenti
\n' + - '
Windows o Linux: ALT+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Impostare lo stato attivo per il piè di pagina
\n' + - '
Windows o Linux: ALT+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Impostare lo stato attivo per la barra degli strumenti contestuale
\n' + - '
Windows, Linux o macOS: CTRL+F9\n' + - '
\n' + - '\n' + - "

La navigazione inizierà dalla prima voce dell'interfaccia utente, che sarà evidenziata o sottolineata nel caso della prima voce\n" + - " nel percorso dell'elemento del piè di pagina.

\n" + - '\n' + - "

Navigare tra le sezioni dell'interfaccia utente

\n" + - '\n' + - "

Per passare da una sezione dell'interfaccia utente alla successiva, premere TAB.

\n" + - '\n' + - "

Per passare da una sezione dell'interfaccia utente alla precedente, premere MAIUSC+TAB.

\n" + - '\n' + - "

L'ordine di tabulazione di queste sezioni dell'interfaccia utente è:

\n" + - '\n' + - '
    \n' + - '
  1. Barra dei menu
  2. \n' + - '
  3. Ogni gruppo di barre degli strumenti
  4. \n' + - '
  5. Barra laterale
  6. \n' + - "
  7. Percorso dell'elemento nel piè di pagina
  8. \n" + - '
  9. Pulsante di attivazione/disattivazione del conteggio delle parole nel piè di pagina
  10. \n' + - '
  11. Collegamento al marchio nel piè di pagina
  12. \n' + - "
  13. Quadratino di ridimensionamento dell'editor nel piè di pagina
  14. \n" + - '
\n' + - '\n' + - "

Se una sezione dell'interfaccia utente non è presente, viene saltata.

\n" + - '\n' + - '

Se il piè di pagina ha lo stato attivo per la navigazione tramite tastiera e non è presente alcuna barra laterale visibile, premendo MAIUSC+TAB\n' + - " si sposta lo stato attivo sul primo gruppo di barre degli strumenti, non sull'ultimo.

\n" + - '\n' + - "

Navigare all'interno delle sezioni dell'interfaccia utente

\n" + - '\n' + - "

Per passare da un elemento dell'interfaccia utente al successivo, premere il tasto freccia appropriato.

\n" + - '\n' + - '

I tasti freccia Sinistra e Destra

\n' + - '\n' + - '
    \n' + - '
  • consentono di spostarsi tra i menu della barra dei menu.
  • \n' + - '
  • aprono un sottomenu in un menu.
  • \n' + - '
  • consentono di spostarsi tra i pulsanti di un gruppo di barre degli strumenti.
  • \n' + - "
  • consentono di spostarsi tra le voci nel percorso dell'elemento del piè di pagina.
  • \n" + - '
\n' + - '\n' + - '

I tasti freccia Giù e Su

\n' + - '\n' + - '
    \n' + - '
  • consentono di spostarsi tra le voci di un menu.
  • \n' + - '
  • consentono di spostarsi tra le voci di un menu a comparsa della barra degli strumenti.
  • \n' + - '
\n' + - '\n' + - "

I tasti freccia consentono di spostarsi all'interno della sezione dell'interfaccia utente con stato attivo.

\n" + - '\n' + - '

Per chiudere un menu aperto, un sottomenu aperto o un menu a comparsa aperto, premere il tasto ESC.

\n' + - '\n' + - "

Se lo stato attivo corrente si trova nella parte superiore di una particolare sezione dell'interfaccia utente, premendo il tasto ESC si esce\n" + - ' completamente dalla navigazione tramite tastiera.

\n' + - '\n' + - '

Eseguire una voce di menu o un pulsante della barra degli strumenti

\n' + - '\n' + - '

Quando la voce di menu o il pulsante della barra degli strumenti desiderati sono evidenziati, premere il tasto diritorno a capo, il tasto Invio\n' + - ' o la barra spaziatrice per eseguirli.

\n' + - '\n' + - '

Navigare nelle finestre di dialogo non a schede

\n' + - '\n' + - "

Nelle finestre di dialogo non a schede, all'apertura della finestra di dialogo diventa attivo il primo componente interattivo.

\n" + - '\n' + - '

Per spostarsi tra i componenti interattivi della finestra di dialogo, premere TAB o MAIUSC+TAB.

\n' + - '\n' + - '

Navigare nelle finestre di dialogo a schede

\n' + - '\n' + - "

Nelle finestre di dialogo a schede, all'apertura della finestra di dialogo diventa attivo il primo pulsante del menu della scheda.

\n" + - '\n' + - '

Per spostarsi tra i componenti interattivi di questa scheda della finestra di dialogo, premere TAB o\n' + - ' MAIUSC+TAB.

\n' + - '\n' + - "

Per passare a un'altra scheda della finestra di dialogo, attivare il menu della scheda e premere il tasto freccia\n" + - ' appropriato per scorrere le schede disponibili.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ja.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ja.js deleted file mode 100644 index 92d2d114..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ja.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ja', -'

キーボード ナビゲーションの開始

\n' + - '\n' + - '
\n' + - '
メニュー バーをフォーカス
\n' + - '
Windows または Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
ツール バーをフォーカス
\n' + - '
Windows または Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
フッターをフォーカス
\n' + - '
Windows または Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
コンテキスト ツール バーをフォーカス
\n' + - '
Windows、Linux または macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

ナビゲーションは最初の UI 項目から開始され、強調表示されるか、フッターの要素パスにある最初の項目の場合は\n' + - ' 下線が引かれます。

\n' + - '\n' + - '

UI セクション間の移動

\n' + - '\n' + - '

次の UI セクションに移動するには、Tab を押します。

\n' + - '\n' + - '

前の UI セクションに移動するには、Shift+Tab を押します。

\n' + - '\n' + - '

これらの UI セクションの Tab の順序:

\n' + - '\n' + - '
    \n' + - '
  1. メニュー バー
  2. \n' + - '
  3. 各ツール バー グループ
  4. \n' + - '
  5. サイド バー
  6. \n' + - '
  7. フッターの要素パス
  8. \n' + - '
  9. フッターの単語数切り替えボタン
  10. \n' + - '
  11. フッターのブランド リンク
  12. \n' + - '
  13. フッターのエディター サイズ変更ハンドル
  14. \n' + - '
\n' + - '\n' + - '

UI セクションが存在しない場合は、スキップされます。

\n' + - '\n' + - '

フッターにキーボード ナビゲーション フォーカスがあり、表示可能なサイド バーがない場合、Shift+Tab を押すと、\n' + - ' フォーカスが最後ではなく最初のツール バー グループに移動します。

\n' + - '\n' + - '

UI セクション内の移動

\n' + - '\n' + - '

次の UI 要素に移動するには、適切な矢印キーを押します。

\n' + - '\n' + - '

左矢印右矢印のキー

\n' + - '\n' + - '
    \n' + - '
  • メニュー バーのメニュー間で移動します。
  • \n' + - '
  • メニュー内のサブメニューを開きます。
  • \n' + - '
  • ツール バー グループのボタン間で移動します。
  • \n' + - '
  • フッターの要素パスの項目間で移動します。
  • \n' + - '
\n' + - '\n' + - '

下矢印上矢印のキー

\n' + - '\n' + - '
    \n' + - '
  • メニュー内のメニュー項目間で移動します。
  • \n' + - '
  • ツール バー ポップアップ メニュー内のメニュー項目間で移動します。
  • \n' + - '
\n' + - '\n' + - '

矢印キーで、フォーカスされた UI セクション内で循環します。

\n' + - '\n' + - '

開いたメニュー、開いたサブメニュー、開いたポップアップ メニューを閉じるには、Esc キーを押します。

\n' + - '\n' + - '

現在のフォーカスが特定の UI セクションの「一番上」にある場合、Esc キーを押すと\n' + - ' キーボード ナビゲーションも完全に閉じられます。

\n' + - '\n' + - '

メニュー項目またはツール バー ボタンの実行

\n' + - '\n' + - '

目的のメニュー項目やツール バー ボタンが強調表示されている場合、リターンEnter、\n' + - ' またはスペース キーを押して項目を実行します。

\n' + - '\n' + - '

タブのないダイアログの移動

\n' + - '\n' + - '

タブのないダイアログでは、ダイアログが開くと最初の対話型コンポーネントがフォーカスされます。

\n' + - '\n' + - '

Tab または Shift+Tab を押して、対話型ダイアログ コンポーネント間で移動します。

\n' + - '\n' + - '

タブ付きダイアログの移動

\n' + - '\n' + - '

タブ付きダイアログでは、ダイアログが開くとタブ メニューの最初のボタンがフォーカスされます。

\n' + - '\n' + - '

Tab または\n' + - ' Shift+Tab を押して、このダイアログ タブの対話型コンポーネント間で移動します。

\n' + - '\n' + - '

タブ メニューをフォーカスしてから適切な矢印キーを押して表示可能なタブを循環して、\n' + - ' 別のダイアログに切り替えます。

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/kk.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/kk.js deleted file mode 100644 index cd79fa7f..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/kk.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.kk', -'

Пернетақта навигациясын бастау

\n' + - '\n' + - '
\n' + - '
Мәзір жолағын фокустау
\n' + - '
Windows немесе Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Құралдар тақтасын фокустау
\n' + - '
Windows немесе Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Төменгі деректемені фокустау
\n' + - '
Windows немесе Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Мәтінмәндік құралдар тақтасын фокустау
\n' + - '
Windows, Linux немесе macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Навигация бөлектелетін немесе Төменгі деректеме элементінің жолындағы бірінші элемент жағдайында асты сызылатын\n' + - ' бірінші ПИ элементінен басталады.

\n' + - '\n' + - '

ПИ бөлімдері арасында навигациялау

\n' + - '\n' + - '

Бір ПИ бөлімінен келесісіне өту үшін Tab пернесін басыңыз.

\n' + - '\n' + - '

Бір ПИ бөлімінен алдыңғысына өту үшін Shift+Tab пернесін басыңыз.

\n' + - '\n' + - '

Осы ПИ бөлімдерінің Tab реті:

\n' + - '\n' + - '
    \n' + - '
  1. Мәзір жолағы
  2. \n' + - '
  3. Әрбір құралдар тақтасы тобы
  4. \n' + - '
  5. Бүйірлік жолақ
  6. \n' + - '
  7. Төменгі деректемедегі элемент жолы
  8. \n' + - '
  9. Төменгі деректемедегі сөздер санын ауыстыру түймесі
  10. \n' + - '
  11. Төменгі деректемедегі брендингтік сілтеме
  12. \n' + - '
  13. Төменгі деректемедегі редактор өлшемін өзгерту тұтқасы
  14. \n' + - '
\n' + - '\n' + - '

ПИ бөлімі көрсетілмесе, ол өткізіп жіберіледі.

\n' + - '\n' + - '

Төменгі деректемеде пернетақта навигациясының фокусы болса және бүйірлік жолақ көрінбесе, Shift+Tab тіркесімін басу әрекеті\n' + - ' фокусты соңғысы емес, бірінші құралдар тақтасы тобына жылжытады.

\n' + - '\n' + - '

ПИ бөлімдерінде навигациялау

\n' + - '\n' + - '

Бір ПИ элементінен келесісіне өту үшін Arrow (Көрсеткі) пернесін басыңыз.

\n' + - '\n' + - '

Left (Сол жақ) және Right (Оң жақ) көрсеткі пернелері

\n' + - '\n' + - '
    \n' + - '
  • мәзір жолағындағы мәзірлер арасында жылжыту.
  • \n' + - '
  • мәзірде ішкі мәзірді ашу.
  • \n' + - '
  • құралдар тақтасы тобындағы түймелер арасында жылжыту.
  • \n' + - '
  • төменгі деректеме элементінің жолындағы элементтер арасында жылжыту.
  • \n' + - '
\n' + - '\n' + - '

Down (Төмен) және Up (Жоғары) көрсеткі пернелері

\n' + - '\n' + - '
    \n' + - '
  • мәзірдегі мәзір элементтері арасында жылжыту.
  • \n' + - '
  • құралдар тақтасының ашылмалы мәзіріндегі мәзір элементтері арасында жылжыту.
  • \n' + - '
\n' + - '\n' + - '

Фокусталған ПИ бөліміндегі Arrow (Көрсеткі) пернелерінің циклі.

\n' + - '\n' + - '

Ашық мәзірді жабу үшін ішкі мәзірді ашып немесе ашылмалы мәзірді ашып, Esc пернесін басыңыз.

\n' + - '\n' + - '

Ағымдағы фокус белгілі бір ПИ бөлімінің «үстінде» болса, Esc пернесін басу әрекеті пернетақта\n' + - ' навигациясын толығымен жабады.

\n' + - '\n' + - '

Мәзір элементін немесе құралдар тақтасы түймесін орындау

\n' + - '\n' + - '

Қажетті мәзір элементі немесе құралдар тақтасы түймесі бөлектелген кезде, элементті орындау үшін Return (Қайтару), Enter (Енгізу)\n' + - ' немесе Space bar (Бос орын) пернесін басыңыз.

\n' + - '\n' + - '

Белгіленбеген диалог терезелерін навигациялау

\n' + - '\n' + - '

Белгіленбеген диалог терезелерінде диалог терезесі ашылған кезде бірінші интерактивті құрамдас фокусталады.

\n' + - '\n' + - '

Tab немесе Shift+Tab пернесін басу арқылы интерактивті диалог терезесінің құрамдастары арасында навигациялаңыз.

\n' + - '\n' + - '

Белгіленген диалог терезелерін навигациялау

\n' + - '\n' + - '

Белгіленген диалог терезелерінде диалог терезесі ашылған кезде қойынды мәзіріндегі бірінші түйме фокусталады.

\n' + - '\n' + - '

Tab немесе\n' + - ' Shift+Tab пернесін басу арқылы осы диалог терезесі қойындысының интерактивті құрамдастары арасында навигациялаңыз.

\n' + - '\n' + - '

Қойынды мәзірінің фокусын беру арқылы басқа диалог терезесінің қойындысына ауысып, тиісті Arrow (Көрсеткі)\n' + - ' пернесін басу арқылы қолжетімді қойындылар арасында айналдыруға болады.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ko_KR.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ko_KR.js deleted file mode 100644 index 847045c1..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ko_KR', -'

키보드 탐색 시작

\n' + - '\n' + - '
\n' + - '
메뉴 모음 포커스 표시
\n' + - '
Windows 또는 Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
도구 모음 포커스 표시
\n' + - '
Windows 또는 Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
푸터 포커스 표시
\n' + - '
Windows 또는 Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
컨텍스트 도구 모음에 포커스 표시
\n' + - '
Windows, Linux 또는 macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

첫 번째 UI 항목에서 탐색이 시작되며, 이때 첫 번째 항목이 강조 표시되거나 푸터 요소 경로에 있는\n' + - ' 경우 밑줄 표시됩니다.

\n' + - '\n' + - '

UI 섹션 간 탐색

\n' + - '\n' + - '

한 UI 섹션에서 다음 UI 섹션으로 이동하려면 Tab(탭)을 누릅니다.

\n' + - '\n' + - '

한 UI 섹션에서 이전 UI 섹션으로 돌아가려면 Shift+Tab(시프트+탭)을 누릅니다.

\n' + - '\n' + - '

이 UI 섹션의 Tab(탭) 순서는 다음과 같습니다.

\n' + - '\n' + - '
    \n' + - '
  1. 메뉴 바
  2. \n' + - '
  3. 각 도구 모음 그룹
  4. \n' + - '
  5. 사이드바
  6. \n' + - '
  7. 푸터의 요소 경로
  8. \n' + - '
  9. 푸터의 단어 수 토글 버튼
  10. \n' + - '
  11. 푸터의 브랜딩 링크
  12. \n' + - '
  13. 푸터의 에디터 크기 변경 핸들
  14. \n' + - '
\n' + - '\n' + - '

UI 섹션이 없는 경우 건너뛰기합니다.

\n' + - '\n' + - '

푸터에 키보드 탐색 포커스가 있고 사이드바는 보이지 않는 경우 Shift+Tab(시프트+탭)을 누르면\n' + - ' 포커스 표시가 마지막이 아닌 첫 번째 도구 모음 그룹으로 이동합니다.

\n' + - '\n' + - '

UI 섹션 내 탐색

\n' + - '\n' + - '

한 UI 요소에서 다음 UI 요소로 이동하려면 적절한 화살표 키를 누릅니다.

\n' + - '\n' + - '

왼쪽오른쪽 화살표 키의 용도:

\n' + - '\n' + - '
    \n' + - '
  • 메뉴 모음에서 메뉴 항목 사이를 이동합니다.
  • \n' + - '
  • 메뉴에서 하위 메뉴를 엽니다.
  • \n' + - '
  • 도구 모음 그룹에서 버튼 사이를 이동합니다.
  • \n' + - '
  • 푸터의 요소 경로에서 항목 간에 이동합니다.
  • \n' + - '
\n' + - '\n' + - '

아래 화살표 키의 용도:

\n' + - '\n' + - '
    \n' + - '
  • 메뉴에서 메뉴 항목 사이를 이동합니다.
  • \n' + - '
  • 도구 모음 팝업 메뉴에서 메뉴 항목 사이를 이동합니다.
  • \n' + - '
\n' + - '\n' + - '

화살표 키는 포커스 표시 UI 섹션 내에서 순환됩니다.

\n' + - '\n' + - '

열려 있는 메뉴, 열려 있는 하위 메뉴 또는 열려 있는 팝업 메뉴를 닫으려면 Esc 키를 누릅니다.

\n' + - '\n' + - "

현재 포커스 표시가 특정 UI 섹션 '상단'에 있는 경우 이때도 Esc 키를 누르면\n" + - ' 키보드 탐색이 완전히 종료됩니다.

\n' + - '\n' + - '

메뉴 항목 또는 도구 모음 버튼 실행

\n' + - '\n' + - '

원하는 메뉴 항목 또는 도구 모음 버튼이 강조 표시되어 있을 때 Return(리턴), Enter(엔터),\n' + - ' 또는 Space bar(스페이스바)를 눌러 해당 항목을 실행합니다.

\n' + - '\n' + - '

탭이 없는 대화 탐색

\n' + - '\n' + - '

탭이 없는 대화의 경우, 첫 번째 대화형 요소가 포커스 표시된 상태로 대화가 열립니다.

\n' + - '\n' + - '

대화형 요소들 사이를 이동할 때는 Tab(탭) 또는 Shift+Tab(시프트+탭)을 누릅니다.

\n' + - '\n' + - '

탭이 있는 대화 탐색

\n' + - '\n' + - '

탭이 있는 대화의 경우, 탭 메뉴에서 첫 번째 버튼이 포커스 표시된 상태로 대화가 열립니다.

\n' + - '\n' + - '

이 대화 탭의 대화형 요소들 사이를 이동할 때는 Tab(탭) 또는\n' + - ' Shift+Tab(시프트+탭)을 누릅니다.

\n' + - '\n' + - '

다른 대화 탭으로 이동하려면 탭 메뉴를 포커스 표시한 다음 적절한 화살표\n' + - ' 키를 눌러 사용 가능한 탭들을 지나 원하는 탭으로 이동합니다.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ms.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ms.js deleted file mode 100644 index 08795cf2..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ms.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ms', -'

Mulakan navigasi papan kekunci

\n' + - '\n' + - '
\n' + - '
Fokus bar Menu
\n' + - '
Windows atau Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokus Bar Alat
\n' + - '
Windows atau Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokus pengaki
\n' + - '
Windows atau Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokus bar alat kontekstual
\n' + - '
Windows, Linux atau macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigasi akan bermula pada item UI pertama, yang akan diserlahkan atau digaris bawah dalam saiz item pertama dalam\n' + - ' laluan elemen Pengaki.

\n' + - '\n' + - '

Navigasi antara bahagian UI

\n' + - '\n' + - '

Untuk bergerak dari satu bahagian UI ke yang seterusnya, tekan Tab.

\n' + - '\n' + - '

Untuk bergerak dari satu bahagian UI ke yang sebelumnya, tekan Shift+Tab.

\n' + - '\n' + - '

Tertib Tab bahagian UI ini ialah:

\n' + - '\n' + - '
    \n' + - '
  1. Bar menu
  2. \n' + - '
  3. Setiap kumpulan bar alat
  4. \n' + - '
  5. Bar sisi
  6. \n' + - '
  7. Laluan elemen dalam pengaki
  8. \n' + - '
  9. Butang togol kiraan perkataan dalam pengaki
  10. \n' + - '
  11. Pautan penjenamaan dalam pengaki
  12. \n' + - '
  13. Pemegang saiz semula editor dalam pengaki
  14. \n' + - '
\n' + - '\n' + - '

Jika bahagian UI tidak wujud, ia dilangkau.

\n' + - '\n' + - '

Jika pengaki mempunyai fokus navigasi papan kekunci dan tiada bar sisi kelihatan, menekan Shift+Tab\n' + - ' akan mengalihkan fokus ke kumpulan bar alat pertama, bukannya yang terakhir.

\n' + - '\n' + - '

Navigasi dalam bahagian UI

\n' + - '\n' + - '

Untuk bergerak dari satu elemen UI ke yang seterusnya, tekan kekunci Anak Panah yang bersesuaian.

\n' + - '\n' + - '

Kekunci anak panah Kiri dan Kanan

\n' + - '\n' + - '
    \n' + - '
  • bergerak antara menu dalam bar menu.
  • \n' + - '
  • membukan submenu dalam menu.
  • \n' + - '
  • bergerak antara butang dalam kumpulan bar alat.
  • \n' + - '
  • Laluan elemen dalam pengaki.
  • \n' + - '
\n' + - '\n' + - '

Kekunci anak panah Bawah dan Atas

\n' + - '\n' + - '
    \n' + - '
  • bergerak antara item menu dalam menu.
  • \n' + - '
  • bergerak antara item dalam menu timbul bar alat.
  • \n' + - '
\n' + - '\n' + - '

Kekunci Anak Panah berkitar dalam bahagian UI difokuskan.

\n' + - '\n' + - '

Untuk menutup menu buka, submenu terbuka atau menu timbul terbuka, tekan kekunci Esc.

\n' + - '\n' + - "

Jika fokus semasa berada di bahagian 'atas' bahagian UI tertentu, menekan kekunci Esc juga akan keluar daripada\n" + - ' navigasi papan kekunci sepenuhnya.

\n' + - '\n' + - '

Laksanakan item menu atau butang bar alat

\n' + - '\n' + - '

Apabila item menu atau butang bar alat yang diinginkan diserlahkan, tekan Return, Enter,\n' + - ' atau bar Space untuk melaksanakan item.

\n' + - '\n' + - '

Navigasi ke dialog tidak bertab

\n' + - '\n' + - '

Dalam dialog tidak bertab, komponen interaksi pertama difokuskan apabila dialog dibuka.

\n' + - '\n' + - '

Navigasi antara komponen dialog interaktif dengan menekan Tab atau Shift+Tab.

\n' + - '\n' + - '

Navigasi ke dialog bertab

\n' + - '\n' + - '

Dalam dialog bertab, butang pertama dalam menu tab difokuskan apabila dialog dibuka.

\n' + - '\n' + - '

Navigasi antara komponen interaktif tab dialog ini dengan menekan Tab atau\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Tukar kepada tab dialog lain dengan memfokuskan menu tab, kemudian menekan kekunci Anak Panah yang bersesuaian\n' + - ' untuk berkitar menerusi tab yang tersedia.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/nb_NO.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/nb_NO.js deleted file mode 100644 index 1974af28..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.nb_NO', -'

Starte tastaturnavigering

\n' + - '\n' + - '
\n' + - '
Utheve menylinjen
\n' + - '
Windows eller Linux: Alt + F9
\n' + - '
macOS: ⌥F9
\n' + - '
Utheve verktøylinjen
\n' + - '
Windows eller Linux: Alt + F10
\n' + - '
macOS: ⌥F10
\n' + - '
Utheve bunnteksten
\n' + - '
Windows eller Linux: Alt + F11
\n' + - '
macOS: ⌥F11
\n' + - '
Utheve en kontekstuell verktøylinje
\n' + - '
Windows, Linux eller macOS: Ctrl + F9\n' + - '
\n' + - '\n' + - '

Navigeringen starter ved det første grensesnittelementet, som utheves, eller understrekes når det gjelder det første elementet i\n' + - ' elementstien i bunnteksten.

\n' + - '\n' + - '

Navigere mellom grensesnittdeler

\n' + - '\n' + - '

Du kan bevege deg fra én grensesnittdel til den neste ved å trykke på tabulatortasten.

\n' + - '\n' + - '

Du kan bevege deg fra én grensesnittdel til den forrige ved å trykke på Shift + tabulatortasten.

\n' + - '\n' + - '

Rekkefølgen til tabulatortasten gjennom grensesnittdelene er:

\n' + - '\n' + - '
    \n' + - '
  1. Menylinjen
  2. \n' + - '
  3. Hver gruppe på verktøylinjen
  4. \n' + - '
  5. Sidestolpen
  6. \n' + - '
  7. Elementstien i bunnteksten
  8. \n' + - '
  9. Veksleknappen for ordantall i bunnteksten
  10. \n' + - '
  11. Merkelenken i bunnteksten
  12. \n' + - '
  13. Skaleringshåndtaket for redigeringsprogrammet i bunnteksten
  14. \n' + - '
\n' + - '\n' + - '

Hvis en grensesnittdel ikke er til stede, blir den hoppet over.

\n' + - '\n' + - '

Hvis tastaturnavigeringen har uthevet bunnteksten og det ikke finnes en synlig sidestolpe, kan du trykke på Shift + tabulatortasten\n' + - ' for å flytte fokuset til den første gruppen på verktøylinjen i stedet for den siste.

\n' + - '\n' + - '

Navigere innenfor grensesnittdeler

\n' + - '\n' + - '

Du kan bevege deg fra ett grensesnittelement til det neste ved å trykke på den aktuelle piltasten.

\n' + - '\n' + - '

De venstre og høyre piltastene

\n' + - '\n' + - '
    \n' + - '
  • beveger deg mellom menyer på menylinjen.
  • \n' + - '
  • åpner en undermeny i en meny.
  • \n' + - '
  • beveger deg mellom knapper i en gruppe på verktøylinjen.
  • \n' + - '
  • beveger deg mellom elementer i elementstien i bunnteksten.
  • \n' + - '
\n' + - '\n' + - '

Ned- og opp-piltastene

\n' + - '\n' + - '
    \n' + - '
  • beveger deg mellom menyelementer i en meny.
  • \n' + - '
  • beveger deg mellom elementer i en hurtigmeny på verktøylinjen.
  • \n' + - '
\n' + - '\n' + - '

Med piltastene kan du bevege deg innenfor den uthevede grensesnittdelen.

\n' + - '\n' + - '

Du kan lukke en åpen meny, en åpen undermeny eller en åpen hurtigmeny ved å klikke på Esc-tasten.

\n' + - '\n' + - '

Hvis det øverste nivået i en grensesnittdel er uthevet, kan du ved å trykke på Esc også avslutte\n' + - ' tastaturnavigeringen helt.

\n' + - '\n' + - '

Utføre et menyelement eller en knapp på en verktøylinje

\n' + - '\n' + - '

Når det ønskede menyelementet eller verktøylinjeknappen er uthevet, trykker du på Retur, Enter,\n' + - ' eller mellomromstasten for å utføre elementet.

\n' + - '\n' + - '

Navigere i dialogbokser uten faner

\n' + - '\n' + - '

I dialogbokser uten faner blir den første interaktive komponenten uthevet når dialogboksen åpnes.

\n' + - '\n' + - '

Naviger mellom interaktive komponenter i dialogboksen ved å trykke på tabulatortasten eller Shift + tabulatortasten.

\n' + - '\n' + - '

Navigere i fanebaserte dialogbokser

\n' + - '\n' + - '

I fanebaserte dialogbokser blir den første knappen i fanemenyen uthevet når dialogboksen åpnes.

\n' + - '\n' + - '

Naviger mellom interaktive komponenter i fanen ved å trykke på tabulatortasten eller\n' + - ' Shift + tabulatortasten.

\n' + - '\n' + - '

Veksle til en annen fane i dialogboksen ved å utheve fanemenyen, og trykk deretter på den aktuelle piltasten\n' + - ' for å bevege deg mellom de tilgjengelige fanene.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/nl.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/nl.js deleted file mode 100644 index 3e1d979a..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/nl.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.nl', -'

Toetsenbordnavigatie starten

\n' + - '\n' + - '
\n' + - '
Focus op de menubalk instellen
\n' + - '
Windows of Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Focus op de werkbalk instellen
\n' + - '
Windows of Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Focus op de voettekst instellen
\n' + - '
Windows of Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Focus op een contextuele werkbalk instellen
\n' + - '
Windows, Linux of macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

De navigatie start bij het eerste UI-item, dat wordt gemarkeerd of onderstreept als het eerste item zich in\n' + - ' in het elementenpad van de voettekst bevindt.

\n' + - '\n' + - '

Navigeren tussen UI-secties

\n' + - '\n' + - '

Druk op Tab om naar de volgende UI-sectie te gaan.

\n' + - '\n' + - '

Druk op Shift+Tab om naar de vorige UI-sectie te gaan.

\n' + - '\n' + - '

De Tab-volgorde van deze UI-secties is:

\n' + - '\n' + - '
    \n' + - '
  1. Menubalk
  2. \n' + - '
  3. Elke werkbalkgroep
  4. \n' + - '
  5. Zijbalk
  6. \n' + - '
  7. Elementenpad in de voettekst
  8. \n' + - '
  9. Wisselknop voor aantal woorden in de voettekst
  10. \n' + - '
  11. Merkkoppeling in de voettekst
  12. \n' + - '
  13. Greep voor het wijzigen van het formaat van de editor in de voettekst
  14. \n' + - '
\n' + - '\n' + - '

Als een UI-sectie niet aanwezig is, wordt deze overgeslagen.

\n' + - '\n' + - '

Als de focus van de toetsenbordnavigatie is ingesteld op de voettekst en er geen zichtbare zijbalk is, kun je op Shift+Tab drukken\n' + - ' om de focus naar de eerste werkbalkgroep in plaats van de laatste te verplaatsen.

\n' + - '\n' + - '

Navigeren binnen UI-secties

\n' + - '\n' + - '

Druk op de pijltjestoets om naar het betreffende UI-element te gaan.

\n' + - '\n' + - '

Met de pijltjestoetsen Links en Rechts

\n' + - '\n' + - '
    \n' + - "
  • wissel je tussen menu's in de menubalk.
  • \n" + - '
  • open je een submenu in een menu.
  • \n' + - '
  • wissel je tussen knoppen in een werkbalkgroep.
  • \n' + - '
  • wissel je tussen items in het elementenpad in de voettekst.
  • \n' + - '
\n' + - '\n' + - '

Met de pijltjestoetsen Omlaag en Omhoog

\n' + - '\n' + - '
    \n' + - '
  • wissel je tussen menu-items in een menu.
  • \n' + - '
  • wissel je tussen items in een werkbalkpop-upmenu.
  • \n' + - '
\n' + - '\n' + - '

Met de pijltjestoetsen wissel je binnen de UI-sectie waarop de focus is ingesteld.

\n' + - '\n' + - '

Druk op de toets Esc om een geopend menu, submenu of pop-upmenu te sluiten.

\n' + - '\n' + - "

Als de huidige focus is ingesteld 'bovenaan' een bepaalde UI-sectie, kun je op de toets Esc drukken\n" + - ' om de toetsenbordnavigatie af te sluiten.

\n' + - '\n' + - '

Een menu-item of werkbalkknop uitvoeren

\n' + - '\n' + - '

Als het gewenste menu-item of de gewenste werkbalkknop is gemarkeerd, kun je op Return, Enter\n' + - ' of de spatiebalk drukken om het item uit te voeren.

\n' + - '\n' + - '

Navigeren in dialoogvensters zonder tabblad

\n' + - '\n' + - '

Als een dialoogvenster zonder tabblad wordt geopend, wordt de focus ingesteld op het eerste interactieve onderdeel.

\n' + - '\n' + - '

Je kunt navigeren tussen interactieve onderdelen van een dialoogvenster door op Tab of Shift+Tab te drukken.

\n' + - '\n' + - '

Navigeren in dialoogvensters met tabblad

\n' + - '\n' + - '

Als een dialoogvenster met tabblad wordt geopend, wordt de focus ingesteld op de eerste knop in het tabbladmenu.

\n' + - '\n' + - '

Je kunt navigeren tussen interactieve onderdelen van dit tabblad van het dialoogvenster door op Tab of\n' + - ' Shift+Tab te drukken.

\n' + - '\n' + - '

Je kunt overschakelen naar een ander tabblad van het dialoogvenster door de focus in te stellen op het tabbladmenu en vervolgens op de juiste pijltjestoets\n' + - ' te drukken om tussen de beschikbare tabbladen te wisselen.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/pl.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/pl.js deleted file mode 100644 index 3a20e592..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/pl.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.pl', -'

Początek nawigacji przy użyciu klawiatury

\n' + - '\n' + - '
\n' + - '
Ustaw fokus na pasek menu
\n' + - '
Windows lub Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Ustaw fokus na pasek narzędzi
\n' + - '
Windows lub Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Ustaw fokus na sekcję Footer
\n' + - '
Windows lub Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Ustaw fokus na kontekstowy pasek narzędzi
\n' + - '
Windows, Linux lub macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Nawigacja zostanie rozpoczęta od pierwszego elementu interfejsu użytkownika, który jest podświetlony lub — w przypadku pierwszego elementu\n' + - ' w ścieżce elementów w sekcji Footer — podkreślony.

\n' + - '\n' + - '

Nawigacja pomiędzy sekcjami interfejsu użytkownika

\n' + - '\n' + - '

Aby przenieść się z danej sekcji interfejsu użytkownika do następnej, naciśnij Tab.

\n' + - '\n' + - '

Aby przenieść się z danej sekcji interfejsu użytkownika do poprzedniej, naciśnij Shift+Tab.

\n' + - '\n' + - '

Kolejność klawisza Tab w takich sekcjach interfejsu użytkownika jest następująca:

\n' + - '\n' + - '
    \n' + - '
  1. Pasek menu
  2. \n' + - '
  3. Każda grupa na pasku narzędzi
  4. \n' + - '
  5. Pasek boczny
  6. \n' + - '
  7. Ścieżka elementów w sekcji Footer
  8. \n' + - '
  9. Przycisk przełączania liczby słów w sekcji Footer
  10. \n' + - '
  11. Łącze brandujące w sekcji Footer
  12. \n' + - '
  13. Uchwyt zmiany rozmiaru edytora w sekcji Footer
  14. \n' + - '
\n' + - '\n' + - '

Jeżeli nie ma sekcji interfejsu użytkownika, jest to pomijane.

\n' + - '\n' + - '

Jeżeli na sekcji Footer jest ustawiony fokus nawigacji przy użyciu klawiatury i nie ma widocznego paska bocznego, naciśnięcie Shift+Tab\n' + - ' przenosi fokus na pierwszą grupę paska narzędzi, a nie na ostatnią.

\n' + - '\n' + - '

Nawigacja wewnątrz sekcji interfejsu użytkownika

\n' + - '\n' + - '

Aby przenieść się z danego elementu interfejsu użytkownika do następnego, naciśnij odpowiedni klawisz strzałki.

\n' + - '\n' + - '

Klawisze strzałek w prawo i w lewo służą do

\n' + - '\n' + - '
    \n' + - '
  • przenoszenia się pomiędzy menu na pasku menu,
  • \n' + - '
  • otwarcia podmenu w menu,
  • \n' + - '
  • przenoszenia się pomiędzy przyciskami w grupie paska narzędzi,
  • \n' + - '
  • przenoszenia się pomiędzy elementami w ścieżce elementów w sekcji Footer.
  • \n' + - '
\n' + - '\n' + - '

Klawisze strzałek w dół i w górę służą do

\n' + - '\n' + - '
    \n' + - '
  • przenoszenia się pomiędzy elementami menu w menu,
  • \n' + - '
  • przenoszenia się pomiędzy elementami w wyskakującym menu paska narzędzi.
  • \n' + - '
\n' + - '\n' + - '

Klawisze strzałek służą do przemieszczania się w sekcji interfejsu użytkownika z ustawionym fokusem.

\n' + - '\n' + - '

Aby zamknąć otwarte menu, otwarte podmenu lub otwarte menu wyskakujące, naciśnij klawisz Esc.

\n' + - '\n' + - '

Jeżeli fokus jest ustawiony na górze konkretnej sekcji interfejsu użytkownika, naciśnięcie klawisza Esc powoduje wyjście\n' + - ' z nawigacji przy użyciu klawiatury.

\n' + - '\n' + - '

Wykonanie elementu menu lub przycisku paska narzędzi

\n' + - '\n' + - '

Gdy podświetlony jest żądany element menu lub przycisk paska narzędzi, naciśnij klawisz Return, Enter\n' + - ' lub Spacja, aby go wykonać.

\n' + - '\n' + - '

Nawigacja po oknie dialogowym bez kart

\n' + - '\n' + - '

Gdy otwiera się okno dialogowe bez kart, fokus ustawiany jest na pierwszą interaktywną część okna.

\n' + - '\n' + - '

Pomiędzy interaktywnymi częściami okna dialogowego nawiguj, naciskając klawisze Tab lub Shift+Tab.

\n' + - '\n' + - '

Nawigacja po oknie dialogowym z kartami

\n' + - '\n' + - '

W przypadku okna dialogowego z kartami po otwarciu okna dialogowego fokus ustawiany jest na pierwszy przycisk w menu karty.

\n' + - '\n' + - '

Nawigację pomiędzy interaktywnymi częściami karty okna dialogowego prowadzi się poprzez naciskanie klawiszy Tab lub\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Przełączenie się na inną kartę okna dialogowego wykonuje się poprzez ustawienie fokusu na menu karty i naciśnięcie odpowiedniego klawisza strzałki\n' + - ' w celu przemieszczenia się pomiędzy dostępnymi kartami.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/pt_BR.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/pt_BR.js deleted file mode 100644 index 75c888cb..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.pt_BR', -'

Iniciar navegação pelo teclado

\n' + - '\n' + - '
\n' + - '
Foco na barra de menus
\n' + - '
Windows ou Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Foco na barra de ferramentas
\n' + - '
Windows ou Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Foco no rodapé
\n' + - '
Windows ou Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Foco na barra de ferramentas contextual
\n' + - '
Windows, Linux ou macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

A navegação inicia no primeiro item da IU, que será destacado ou sublinhado no caso do primeiro item no\n' + - ' caminho do elemento Rodapé.

\n' + - '\n' + - '

Navegar entre seções da IU

\n' + - '\n' + - '

Para ir de uma seção da IU para a seguinte, pressione Tab.

\n' + - '\n' + - '

Para ir de uma seção da IU para a anterior, pressione Shift+Tab.

\n' + - '\n' + - '

A ordem de Tab destas seções da IU é:

\n' + - '\n' + - '
    \n' + - '
  1. Barra de menus
  2. \n' + - '
  3. Cada grupo da barra de ferramentas
  4. \n' + - '
  5. Barra lateral
  6. \n' + - '
  7. Caminho do elemento no rodapé
  8. \n' + - '
  9. Botão de alternar contagem de palavras no rodapé
  10. \n' + - '
  11. Link da marca no rodapé
  12. \n' + - '
  13. Alça de redimensionamento do editor no rodapé
  14. \n' + - '
\n' + - '\n' + - '

Se não houver uma seção da IU, ela será pulada.

\n' + - '\n' + - '

Se o rodapé tiver o foco da navegação pelo teclado e não houver uma barra lateral visível, pressionar Shift+Tab\n' + - ' move o foco para o primeiro grupo da barra de ferramentas, não para o último.

\n' + - '\n' + - '

Navegar dentro das seções da IU

\n' + - '\n' + - '

Para ir de um elemento da IU para o seguinte, pressione a Seta correspondente.

\n' + - '\n' + - '

As teclas de seta Esquerda e Direita

\n' + - '\n' + - '
    \n' + - '
  • movem entre menus na barra de menus.
  • \n' + - '
  • abrem um submenu em um menu.
  • \n' + - '
  • movem entre botões em um grupo da barra de ferramentas.
  • \n' + - '
  • movem entre itens no caminho do elemento do rodapé.
  • \n' + - '
\n' + - '\n' + - '

As teclas de seta Abaixo e Acima

\n' + - '\n' + - '
    \n' + - '
  • movem entre itens de menu em um menu.
  • \n' + - '
  • movem entre itens em um menu suspenso da barra de ferramentas.
  • \n' + - '
\n' + - '\n' + - '

As teclas de Seta alternam dentre a seção da IU em foco.

\n' + - '\n' + - '

Para fechar um menu aberto, um submenu aberto ou um menu suspenso aberto, pressione Esc.

\n' + - '\n' + - '

Se o foco atual estiver no ‘alto’ de determinada seção da IU, pressionar Esc também sai\n' + - ' totalmente da navegação pelo teclado.

\n' + - '\n' + - '

Executar um item de menu ou botão da barra de ferramentas

\n' + - '\n' + - '

Com o item de menu ou botão da barra de ferramentas desejado destacado, pressione Return, Enter,\n' + - ' ou a Barra de espaço para executar o item.

\n' + - '\n' + - '

Navegar por caixas de diálogo sem guias

\n' + - '\n' + - '

Em caixas de diálogo sem guias, o primeiro componente interativo recebe o foco quando a caixa de diálogo abre.

\n' + - '\n' + - '

Navegue entre componentes interativos de caixa de diálogo pressionando Tab ou Shift+Tab.

\n' + - '\n' + - '

Navegar por caixas de diálogo com guias

\n' + - '\n' + - '

Em caixas de diálogo com guias, o primeiro botão no menu da guia recebe o foco quando a caixa de diálogo abre.

\n' + - '\n' + - '

Navegue entre componentes interativos dessa guia da caixa de diálogo pressionando Tab ou\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Alterne para outra guia da caixa de diálogo colocando o foco no menu da guia e pressionando a Seta\n' + - ' adequada para percorrer as guias disponíveis.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/pt_PT.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/pt_PT.js deleted file mode 100644 index 899981a5..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.pt_PT', -'

Iniciar navegação com teclado

\n' + - '\n' + - '
\n' + - '
Foco na barra de menu
\n' + - '
Windows ou Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Foco na barra de ferramentas
\n' + - '
Windows ou Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Foco no rodapé
\n' + - '
Windows ou Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Foco numa barra de ferramentas contextual
\n' + - '
Windows, Linux ou macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

A navegação começará no primeiro item de IU, que estará realçado ou sublinhado, no caso do primeiro item no\n' + - ' caminho do elemento do rodapé.

\n' + - '\n' + - '

Navegar entre secções de IU

\n' + - '\n' + - '

Para se mover de uma secção de IU para a seguinte, prima Tab.

\n' + - '\n' + - '

Para se mover de uma secção de IU para a anterior, prima Shift+Tab.

\n' + - '\n' + - '

A ordem de tabulação destas secções de IU é:

\n' + - '\n' + - '
    \n' + - '
  1. Barra de menu
  2. \n' + - '
  3. Cada grupo da barra de ferramentas
  4. \n' + - '
  5. Barra lateral
  6. \n' + - '
  7. Caminho do elemento no rodapé
  8. \n' + - '
  9. Botão de alternar da contagem de palavras no rodapé
  10. \n' + - '
  11. Ligação da marca no rodapé
  12. \n' + - '
  13. Alça de redimensionamento do editor no rodapé
  14. \n' + - '
\n' + - '\n' + - '

Se uma secção de IU não estiver presente, é ignorada.

\n' + - '\n' + - '

Se o rodapé tiver foco de navegação com teclado e não existir uma barra lateral visível, premir Shift+Tab\n' + - ' move o foco para o primeiro grupo da barra de ferramentas e não para o último.

\n' + - '\n' + - '

Navegar nas secções de IU

\n' + - '\n' + - '

Para se mover de um elemento de IU para o seguinte, prima a tecla de seta adequada.

\n' + - '\n' + - '

As teclas de seta Para a esquerda e Para a direita

\n' + - '\n' + - '
    \n' + - '
  • movem-se entre menus na barra de menu.
  • \n' + - '
  • abrem um submenu num menu.
  • \n' + - '
  • movem-se entre botões num grupo da barra de ferramentas.
  • \n' + - '
  • movem-se entre itens no caminho do elemento do rodapé.
  • \n' + - '
\n' + - '\n' + - '

As teclas de seta Para cima e Para baixo

\n' + - '\n' + - '
    \n' + - '
  • movem-se entre itens de menu num menu.
  • \n' + - '
  • movem-se entre itens num menu de pop-up da barra de ferramentas.
  • \n' + - '
\n' + - '\n' + - '

As teclas de seta deslocam-se ciclicamente na secção de IU em foco.

\n' + - '\n' + - '

Para fechar um menu aberto, um submenu aberto ou um menu de pop-up aberto, prima a tecla Esc.

\n' + - '\n' + - '

Se o foco atual estiver no "topo" de determinada secção de IU, premir a tecla Esc também fecha\n' + - ' completamente a navegação com teclado.

\n' + - '\n' + - '

Executar um item de menu ou botão da barra de ferramentas

\n' + - '\n' + - '

Quando o item de menu ou o botão da barra de ferramentas pretendido estiver realçado, prima Retrocesso, Enter\n' + - ' ou a Barra de espaço para executar o item.

\n' + - '\n' + - '

Navegar em diálogos sem separadores

\n' + - '\n' + - '

Nos diálogos sem separadores, o primeiro componente interativo fica em foco quando o diálogo abre.

\n' + - '\n' + - '

Navegue entre componentes interativos do diálogo, premindo Tab ou Shift+Tab.

\n' + - '\n' + - '

Navegar em diálogos com separadores

\n' + - '\n' + - '

Nos diálogos com separadores, o primeiro botão no menu do separador fica em foco quando o diálogo abre.

\n' + - '\n' + - '

Navegue entre os componentes interativos deste separador do diálogo, premindo Tab ou\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Mude para outro separador do diálogo colocando o menu do separador em foco e, em seguida, premindo a tecla de seta\n' + - ' adequada para se deslocar ciclicamente pelos separadores disponíveis.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ro.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ro.js deleted file mode 100644 index d5138683..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ro.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ro', -'

Începeți navigarea de la tastatură

\n' + - '\n' + - '
\n' + - '
Focalizare pe bara de meniu
\n' + - '
Windows sau Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Focalizare pe bara de instrumente
\n' + - '
Windows sau Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Focalizare pe subsol
\n' + - '
Windows sau Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Focalizare pe o bară de instrumente contextuală
\n' + - '
Windows, Linux sau macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigarea va începe de la primul element al interfeței cu utilizatorul, care va fi evidențiat sau subliniat în cazul primului element din\n' + - ' calea elementului Subsol.

\n' + - '\n' + - '

Navigați între secțiunile interfeței cu utilizatorul

\n' + - '\n' + - '

Pentru a trece de la o secțiune a interfeței cu utilizatorul la alta, apăsați Tab.

\n' + - '\n' + - '

Pentru a trece de la o secțiune a interfeței cu utilizatorul la cea anterioară, apăsați Shift+Tab.

\n' + - '\n' + - '

Ordinea cu Tab a acestor secțiuni ale interfeței cu utilizatorul este următoarea:

\n' + - '\n' + - '
    \n' + - '
  1. Bara de meniu
  2. \n' + - '
  3. Fiecare grup de bare de instrumente
  4. \n' + - '
  5. Bara laterală
  6. \n' + - '
  7. Calea elementului în subsol
  8. \n' + - '
  9. Buton de comutare a numărului de cuvinte în subsol
  10. \n' + - '
  11. Link de branding în subsol
  12. \n' + - '
  13. Mâner de redimensionare a editorului în subsol
  14. \n' + - '
\n' + - '\n' + - '

În cazul în care o secțiune a interfeței cu utilizatorul nu este prezentă, aceasta este omisă.

\n' + - '\n' + - '

În cazul în care subsolul are focalizarea navigației asupra tastaturii și nu există o bară laterală vizibilă, apăsarea butonului Shift+Tab\n' + - ' mută focalizarea pe primul grup de bare de instrumente, nu pe ultimul.

\n' + - '\n' + - '

Navigați în secțiunile interfeței cu utilizatorul

\n' + - '\n' + - '

Pentru a trece de la un element de interfață cu utilizatorul la următorul, apăsați tasta cu săgeata corespunzătoare.

\n' + - '\n' + - '

Tastele cu săgeți către stânga și dreapta

\n' + - '\n' + - '
    \n' + - '
  • navighează între meniurile din bara de meniuri.
  • \n' + - '
  • deschid un sub-meniu dintr-un meniu.
  • \n' + - '
  • navighează între butoanele dintr-un grup de bare de instrumente.
  • \n' + - '
  • navighează între elementele din calea elementelor subsolului.
  • \n' + - '
\n' + - '\n' + - '

Tastele cu săgeți în sus și în jos

\n' + - '\n' + - '
    \n' + - '
  • navighează între elementele de meniu dintr-un meniu.
  • \n' + - '
  • navighează între elementele unui meniu pop-up din bara de instrumente.
  • \n' + - '
\n' + - '\n' + - '

Tastele cu săgeți navighează în cadrul secțiunii interfeței cu utilizatorul asupra căreia se focalizează.

\n' + - '\n' + - '

Pentru a închide un meniu deschis, un sub-meniu deschis sau un meniu pop-up deschis, apăsați tasta Esc.

\n' + - '\n' + - '

Dacă focalizarea curentă este asupra „părții superioare” a unei anumite secțiuni a interfeței cu utilizatorul, prin apăsarea tastei Esc se iese, de asemenea,\n' + - ' în întregime din navigarea de la tastatură.

\n' + - '\n' + - '

Executarea unui element de meniu sau a unui buton din bara de instrumente

\n' + - '\n' + - '

Atunci când elementul de meniu dorit sau butonul dorit din bara de instrumente este evidențiat, apăsați Return, Enter,\n' + - ' sau bara de spațiu pentru a executa elementul.

\n' + - '\n' + - '

Navigarea de dialoguri fără file

\n' + - '\n' + - '

În dialogurile fără file, prima componentă interactivă beneficiază de focalizare la deschiderea dialogului.

\n' + - '\n' + - '

Navigați între componentele dialogului interactiv apăsând Tab sau Shift+Tab.

\n' + - '\n' + - '

Navigarea de dialoguri cu file

\n' + - '\n' + - '

În dialogurile cu file, primul buton din meniul cu file beneficiază de focalizare la deschiderea dialogului.

\n' + - '\n' + - '

Navigați între componentele interactive ale acestei file de dialog apăsând Tab sau\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Treceți la o altă filă de dialog focalizând asupra meniului cu file și apoi apăsând săgeata corespunzătoare\n' + - ' pentru a parcurge filele disponibile.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/ru.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/ru.js deleted file mode 100644 index 4fac3208..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/ru.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.ru', -'

Начните управление с помощью клавиатуры

\n' + - '\n' + - '
\n' + - '
Фокус на панели меню
\n' + - '
Windows или Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Фокус на панели инструментов
\n' + - '
Windows или Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Фокус на нижнем колонтитуле
\n' + - '
Windows или Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Фокус на контекстной панели инструментов
\n' + - '
Windows, Linux или macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Первый доступный для управления элемент интерфейса будет выделен цветом или подчеркнут (если он находится\n' + - ' в пути элементов нижнего колонтитула).

\n' + - '\n' + - '

Переход между разделами пользовательского интерфейса

\n' + - '\n' + - '

Чтобы перейти из текущего раздела интерфейса в следующий, нажмите Tab.

\n' + - '\n' + - '

Чтобы перейти из текущего раздела интерфейса в предыдущий, нажмите Shift+Tab.

\n' + - '\n' + - '

Вкладки разделов интерфейса расположены в следующем порядке:

\n' + - '\n' + - '
    \n' + - '
  1. Панель меню
  2. \n' + - '
  3. Группы панели инструментов
  4. \n' + - '
  5. Боковая панель
  6. \n' + - '
  7. Путь элементов нижнего колонтитула
  8. \n' + - '
  9. Подсчет слов/символов в нижнем колонтитуле
  10. \n' + - '
  11. Брендовая ссылка в нижнем колонтитуле
  12. \n' + - '
  13. Угол для изменения размера окна редактора
  14. \n' + - '
\n' + - '\n' + - '

Если раздел интерфейса отсутствует, он пропускается.

\n' + - '\n' + - '

Если при управлении с клавиатуры фокус находится на нижнем колонтитуле, а видимая боковая панель отсутствует, то при нажатии сочетания клавиш Shift+Tab\n' + - ' фокус переносится на первую группу панели инструментов, а не на последнюю.

\n' + - '\n' + - '

Переход между элементами внутри разделов пользовательского интерфейса

\n' + - '\n' + - '

Чтобы перейти от текущего элемента интерфейса к следующему, нажмите соответствующую клавишу со стрелкой.

\n' + - '\n' + - '

Клавиши со стрелками влево и вправо позволяют

\n' + - '\n' + - '
    \n' + - '
  • перемещаться между разными меню в панели меню.
  • \n' + - '
  • открывать разделы меню.
  • \n' + - '
  • перемещаться между кнопками в группе панели инструментов.
  • \n' + - '
  • перемещаться между элементами в пути элементов нижнего колонтитула.
  • \n' + - '
\n' + - '\n' + - '

Клавиши со стрелками вниз и вверх позволяют

\n' + - '\n' + - '
    \n' + - '
  • перемещаться между элементами одного меню.
  • \n' + - '
  • перемещаться между элементами всплывающего меню в панели инструментов.
  • \n' + - '
\n' + - '\n' + - '

При использовании клавиш со стрелками вы будете циклически перемещаться по элементам в пределах выбранного раздела интерфейса.

\n' + - '\n' + - '

Чтобы закрыть открытое меню, его раздел или всплывающее меню, нажмите клавишу Esc.

\n' + - '\n' + - '

Если фокус находится наверху какого-либо раздела интерфейса, нажатие клавиши Esc также приведет\n' + - ' к выходу из режима управления с помощью клавиатуры.

\n' + - '\n' + - '

Использование элемента меню или кнопки на панели инструментов

\n' + - '\n' + - '

Когда элемент меню или кнопка панели инструментов будут выделены, нажмите Return, Enter\n' + - ' или Space, чтобы их активировать.

\n' + - '\n' + - '

Управление в диалоговом окне без вкладок

\n' + - '\n' + - '

При открытии диалогового окна без вкладок фокус переносится на первый интерактивный компонент.

\n' + - '\n' + - '

Для перехода между интерактивными компонентами диалогового окна нажимайте Tab или Shift+Tab.

\n' + - '\n' + - '

Управление в диалоговом окне с вкладками

\n' + - '\n' + - '

При открытии диалогового окна с вкладками фокус переносится на первую кнопку в меню вкладок.

\n' + - '\n' + - '

Для перехода между интерактивными компонентами этой вкладки диалогового окна нажимайте Tab или\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Для перехода на другую вкладку диалогового окна переместите фокус на меню вкладок, а затем используйте клавиши со стрелками\n' + - ' для циклического переключения между доступными вкладками.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/sk.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/sk.js deleted file mode 100644 index b2baef20..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/sk.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.sk', -'

Začíname s navigáciou pomocou klávesnice

\n' + - '\n' + - '
\n' + - '
Prejsť na panel s ponukami
\n' + - '
Windows alebo Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Prejsť na panel nástrojov
\n' + - '
Windows alebo Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Prejsť na pätičku
\n' + - '
Windows alebo Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Prejsť na kontextový panel nástrojov
\n' + - '
Windows, Linux alebo macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigácia začne pri prvej položke používateľského rozhrania, ktorá bude zvýraznená alebo v prípade prvej položky\n' + - ' cesty k pätičke podčiarknutá.

\n' + - '\n' + - '

Navigácia medzi časťami používateľského rozhrania

\n' + - '\n' + - '

Ak sa chcete posunúť z jednej časti používateľského rozhrania do druhej, stlačte tlačidlo Tab.

\n' + - '\n' + - '

Ak sa chcete posunúť z jednej časti používateľského rozhrania do predchádzajúcej, stlačte tlačidlá Shift + Tab.

\n' + - '\n' + - '

Poradie prepínania medzi týmito časťami používateľského rozhrania pri stláčaní tlačidla Tab:

\n' + - '\n' + - '
    \n' + - '
  1. Panel s ponukou
  2. \n' + - '
  3. Každá skupina panela nástrojov
  4. \n' + - '
  5. Bočný panel
  6. \n' + - '
  7. Cesta k prvku v pätičke
  8. \n' + - '
  9. Prepínač počtu slov v pätičke
  10. \n' + - '
  11. Odkaz na informácie o značke v pätičke
  12. \n' + - '
  13. Úchyt na zmenu veľkosti editora v pätičke
  14. \n' + - '
\n' + - '\n' + - '

Ak nejaká časť používateľského rozhrania nie je prítomná, preskočí sa.

\n' + - '\n' + - '

Ak je pätička vybratá na navigáciu pomocou klávesnice a nie je viditeľný bočný panel, stlačením klávesov Shift+Tab\n' + - ' prejdete na prvú skupinu panela nástrojov, nie na poslednú.

\n' + - '\n' + - '

Navigácia v rámci častí používateľského rozhrania

\n' + - '\n' + - '

Ak sa chcete posunúť z jedného prvku používateľského rozhrania na ďalší, stlačte príslušný kláves so šípkou.

\n' + - '\n' + - '

Klávesy so šípkami doľava a doprava

\n' + - '\n' + - '
    \n' + - '
  • umožňujú presun medzi ponukami na paneli ponúk,
  • \n' + - '
  • otvárajú podponuku v rámci ponuky,
  • \n' + - '
  • umožňujú presun medzi tlačidlami v skupine panelov nástrojov,
  • \n' + - '
  • umožňujú presun medzi položkami cesty prvku v pätičke.
  • \n' + - '
\n' + - '\n' + - '

Klávesy so šípkami dole a hore

\n' + - '\n' + - '
    \n' + - '
  • umožňujú presun medzi položkami ponuky,
  • \n' + - '
  • umožňujú presun medzi položkami v kontextovej ponuke panela nástrojov.
  • \n' + - '
\n' + - '\n' + - '

Klávesy so šípkami vykonávajú prepínanie v rámci vybranej časti používateľského rozhrania.

\n' + - '\n' + - '

Ak chcete zatvoriť otvorenú ponuku, otvorenú podponuku alebo otvorenú kontextovú ponuku, stlačte kláves Esc.

\n' + - '\n' + - '

Ak je aktuálne vybratá horná časť konkrétneho používateľského rozhrania, stlačením klávesu Esc úplne ukončíte tiež\n' + - ' navigáciu pomocou klávesnice.

\n' + - '\n' + - '

Vykonanie príkazu položky ponuky alebo tlačidla panela nástrojov

\n' + - '\n' + - '

Keď je zvýraznená požadovaná položka ponuky alebo tlačidlo panela nástrojov, stlačením klávesov Return, Enter\n' + - ' alebo medzerníka vykonáte príslušný príkaz položky.

\n' + - '\n' + - '

Navigácia v dialógových oknách bez záložiek

\n' + - '\n' + - '

Pri otvorení dialógových okien bez záložiek prejdete na prvý interaktívny komponent.

\n' + - '\n' + - '

Medzi interaktívnymi dialógovými komponentmi môžete prechádzať stlačením klávesov Tab alebo Shift+Tab.

\n' + - '\n' + - '

Navigácia v dialógových oknách so záložkami

\n' + - '\n' + - '

Pri otvorení dialógových okien so záložkami prejdete na prvé tlačidlo v ponuke záložiek.

\n' + - '\n' + - '

Medzi interaktívnymi komponentmi tejto dialógovej záložky môžete prechádzať stlačením klávesov Tab alebo\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Ak chcete prepnúť na ďalšiu záložku dialógového okna, prejdite do ponuky záložiek a potom môžete stlačením príslušného klávesu so šípkou\n' + - ' prepínať medzi dostupnými záložkami.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/sl_SI.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/sl_SI.js deleted file mode 100644 index 763c1c42..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.sl_SI', -'

Začetek krmarjenja s tipkovnico

\n' + - '\n' + - '
\n' + - '
Fokus na menijsko vrstico
\n' + - '
Windows ali Linux: Alt + F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokus na orodno vrstico
\n' + - '
Windows ali Linux: Alt + F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokus na nogo
\n' + - '
Windows ali Linux: Alt + F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokus na kontekstualno orodno vrstico
\n' + - '
Windows, Linux ali macOS: Ctrl + F9\n' + - '
\n' + - '\n' + - '

Krmarjenje se bo začelo s prvim elementom uporabniškega vmesnika, ki bo izpostavljena ali podčrtan, če gre za prvi element na\n' + - ' poti do elementa noge.

\n' + - '\n' + - '

Krmarjenje med razdelki uporabniškega vmesnika

\n' + - '\n' + - '

Če se želite pomakniti z enega dela uporabniškega vmesnika na naslednjega, pritisnite tabulatorko.

\n' + - '\n' + - '

Če se želite pomakniti z enega dela uporabniškega vmesnika na prejšnjega, pritisnite shift + tabulatorko.

\n' + - '\n' + - '

Zaporedje teh razdelkov uporabniškega vmesnika, ko pritiskate tabulatorko, je:

\n' + - '\n' + - '
    \n' + - '
  1. Menijska vrstica
  2. \n' + - '
  3. Posamezne skupine orodne vrstice
  4. \n' + - '
  5. Stranska vrstica
  6. \n' + - '
  7. Pod do elementa v nogi
  8. \n' + - '
  9. Gumb za preklop štetja besed v nogi
  10. \n' + - '
  11. Povezava do blagovne znamke v nogi
  12. \n' + - '
  13. Ročaj za spreminjanje velikosti urejevalnika v nogi
  14. \n' + - '
\n' + - '\n' + - '

Če razdelek uporabniškega vmesnika ni prisoten, je preskočen.

\n' + - '\n' + - '

Če ima noga fokus za krmarjenje s tipkovnico in ni vidne stranske vrstice, s pritiskom na shift + tabulatorko\n' + - ' fokus premaknete na prvo skupino orodne vrstice, ne zadnjo

.\n' + - '\n' + - '

Krmarjenje v razdelkih uporabniškega vmesnika

\n' + - '\n' + - '

Če se želite premakniti z enega elementa uporabniškega vmesnika na naslednjega, pritisnite ustrezno puščično tipko.

\n' + - '\n' + - '

Leva in desna puščična tipka

\n' + - '\n' + - '
    \n' + - '
  • omogočata premikanje med meniji v menijski vrstici.
  • \n' + - '
  • odpreta podmeni v meniju.
  • \n' + - '
  • omogočata premikanje med gumbi v skupini orodne vrstice.
  • \n' + - '
  • omogočata premikanje med elementi na poti do elementov noge.
  • \n' + - '
\n' + - '\n' + - '

Spodnja in zgornja puščična tipka

\n' + - '\n' + - '
    \n' + - '
  • omogočata premikanje med elementi menija.
  • \n' + - '
  • omogočata premikanje med elementi v pojavnem meniju orodne vrstice.
  • \n' + - '
\n' + - '\n' + - '

Puščične tipke omogočajo kroženje znotraj razdelka uporabniškega vmesnika, na katerem je fokus.

\n' + - '\n' + - '

Če želite zapreti odprt meni, podmeni ali pojavni meni, pritisnite tipko Esc.

\n' + - '\n' + - '

Če je trenutni fokus na »vrhu« določenega razdelka uporabniškega vmesnika, s pritiskom tipke Esc zaprete\n' + - ' tudi celotno krmarjenje s tipkovnico.

\n' + - '\n' + - '

Izvajanje menijskega elementa ali gumba orodne vrstice

\n' + - '\n' + - '

Ko je označen želeni menijski element ali orodja vrstica, pritisnite vračalko, Enter\n' + - ' ali preslednico, da izvedete element.

\n' + - '\n' + - '

Krmarjenje po pogovornih oknih brez zavihkov

\n' + - '\n' + - '

Ko odprete pogovorno okno brez zavihkov, ima fokus prva interaktivna komponenta.

\n' + - '\n' + - '

Med interaktivnimi komponentami pogovornega okna se premikate s pritiskom tabulatorke ali kombinacije tipke shift + tabulatorke.

\n' + - '\n' + - '

Krmarjenje po pogovornih oknih z zavihki

\n' + - '\n' + - '

Ko odprete pogovorno okno z zavihki, ima fokus prvi gumb v meniju zavihka.

\n' + - '\n' + - '

Med interaktivnimi komponentami tega zavihka pogovornega okna se premikate s pritiskom tabulatorke ali\n' + - ' kombinacije tipke shift + tabulatorke.

\n' + - '\n' + - '

Na drug zavihek pogovornega okna preklopite tako, da fokus prestavite na meni zavihka in nato pritisnete ustrezno puščično\n' + - ' tipko, da se pomaknete med razpoložljivimi zavihki.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/sv_SE.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/sv_SE.js deleted file mode 100644 index 4cc1568f..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.sv_SE', -'

Påbörja tangentbordsnavigering

\n' + - '\n' + - '
\n' + - '
Fokusera på menyraden
\n' + - '
Windows eller Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Fokusera på verktygsraden
\n' + - '
Windows eller Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Fokusera på verktygsraden
\n' + - '
Windows eller Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Fokusera på en snabbverktygsrad
\n' + - '
Windows, Linux eller macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Navigeringen börjar vid det första gränssnittsobjektet, vilket är markerat eller understruket om det gäller det första objektet i\n' + - ' sidfotens elementsökväg.

\n' + - '\n' + - '

Navigera mellan UI-avsnitt

\n' + - '\n' + - '

Flytta från ett UI-avsnitt till nästa genom att trycka på Tabb.

\n' + - '\n' + - '

Flytta från ett UI-avsnitt till det föregående genom att trycka på Skift+Tabb.

\n' + - '\n' + - '

Tabb-ordningen för dessa UI-avsnitt är:

\n' + - '\n' + - '
    \n' + - '
  1. Menyrad
  2. \n' + - '
  3. Varje verktygsradsgrupp
  4. \n' + - '
  5. Sidoruta
  6. \n' + - '
  7. Elementsökväg i sidfoten
  8. \n' + - '
  9. Växlingsknapp för ordantal i sidfoten
  10. \n' + - '
  11. Varumärkeslänk i sidfoten
  12. \n' + - '
  13. Storlekshandtag för redigeraren i sidfoten
  14. \n' + - '
\n' + - '\n' + - '

Om ett UI-avsnitt inte finns hoppas det över.

\n' + - '\n' + - '

Om sidfoten har fokus på tangentbordsnavigering, och det inte finns någon synlig sidoruta, flyttas fokus till den första verktygsradsgruppen\n' + - ' när du trycker på Skift+Tabb, inte till den sista.

\n' + - '\n' + - '

Navigera i UI-avsnitt

\n' + - '\n' + - '

Flytta från ett UI-element till nästa genom att trycka på motsvarande piltangent.

\n' + - '\n' + - '

Vänsterpil och högerpil

\n' + - '\n' + - '
    \n' + - '
  • flytta mellan menyer på menyraden.
  • \n' + - '
  • öppna en undermeny på en meny.
  • \n' + - '
  • flytta mellan knappar i en verktygsradgrupp.
  • \n' + - '
  • flytta mellan objekt i sidfotens elementsökväg.
  • \n' + - '
\n' + - '\n' + - '

Nedpil och uppil

\n' + - '\n' + - '
    \n' + - '
  • flytta mellan menyalternativ på en meny.
  • \n' + - '
  • flytta mellan alternativ på en popup-meny på verktygsraden.
  • \n' + - '
\n' + - '\n' + - '

Piltangenterna cirkulerar inom det fokuserade UI-avsnittet.

\n' + - '\n' + - '

Tryck på Esc-tangenten om du vill stänga en öppen meny, undermeny eller popup-meny.

\n' + - '\n' + - '

Om det aktuella fokuset är högst upp i ett UI-avsnitt avlutas även tangentbordsnavigeringen helt när\n' + - ' du trycker på Esc-tangenten.

\n' + - '\n' + - '

Köra ett menyalternativ eller en verktygfältsknapp

\n' + - '\n' + - '

När menyalternativet eller verktygsradsknappen är markerad trycker du på Retur, Enter\n' + - ' eller blanksteg för att köra alternativet.

\n' + - '\n' + - '

Navigera i dialogrutor utan flikar

\n' + - '\n' + - '

I dialogrutor utan flikar är den första interaktiva komponenten i fokus när dialogrutan öppnas.

\n' + - '\n' + - '

Navigera mellan interaktiva dialogkomponenter genom att trycka på Tabb eller Skift+Tabb.

\n' + - '\n' + - '

Navigera i dialogrutor med flikar

\n' + - '\n' + - '

I dialogrutor utan flikar är den första knappen på flikmenyn i fokus när dialogrutan öppnas.

\n' + - '\n' + - '

Navigera mellan interaktiva komponenter på dialogrutefliken genom att trycka på Tabb eller\n' + - ' Skift+Tabb.

\n' + - '\n' + - '

Växla till en annan dialogruta genom att fokusera på flikmenyn och sedan trycka på motsvarande piltangent\n' + - ' för att cirkulera mellan de tillgängliga flikarna.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/th_TH.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/th_TH.js deleted file mode 100644 index e0114de2..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/th_TH.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.th_TH', -'

เริ่มต้นการนำทางด้วยแป้นพิมพ์

\n' + - '\n' + - '
\n' + - '
โฟกัสที่แถบเมนู
\n' + - '
Windows หรือ Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
โฟกัสที่แถบเครื่องมือ
\n' + - '
Windows หรือ Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
โฟกัสที่ส่วนท้าย
\n' + - '
Windows หรือ Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
โฟกัสที่แถบเครื่องมือตามบริบท
\n' + - '
Windows, Linux หรือ macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

การนำทางจะเริ่มที่รายการ UI แรก ซึ่งจะมีการไฮไลต์หรือขีดเส้นใต้ไว้ในกรณีที่รายการแรกอยู่ใน\n' + - ' พาธองค์ประกอบส่วนท้าย

\n' + - '\n' + - '

การนำทางระหว่างส่วนต่างๆ ของ UI

\n' + - '\n' + - '

ในการย้ายจากส่วน UI หนึ่งไปยังส่วนถัดไป ให้กด Tab

\n' + - '\n' + - '

ในการย้ายจากส่วน UI หนึ่งไปยังส่วนก่อนหน้า ให้กด Shift+Tab

\n' + - '\n' + - '

ลำดับแท็บของส่วนต่างๆ ของ UI คือ:

\n' + - '\n' + - '
    \n' + - '
  1. แถบเมนู
  2. \n' + - '
  3. แต่ละกลุ่มแถบเครื่องมือ
  4. \n' + - '
  5. แถบข้าง
  6. \n' + - '
  7. พาธองค์ประกอบในส่วนท้าย
  8. \n' + - '
  9. ปุ่มสลับเปิด/ปิดจำนวนคำในส่วนท้าย
  10. \n' + - '
  11. ลิงก์ชื่อแบรนด์ในส่วนท้าย
  12. \n' + - '
  13. จุดจับปรับขนาดของตัวแก้ไขในส่วนท้าย
  14. \n' + - '
\n' + - '\n' + - '

หากส่วน UI ไม่ปรากฏ แสดงว่าถูกข้ามไป

\n' + - '\n' + - '

หากส่วนท้ายมีการโฟกัสการนำทางแป้นพิมพ์และไม่มีแถบข้างปรากฏ การกด Shift+Tab\n' + - ' จะย้ายการโฟกัสไปที่กลุ่มแถบเครื่องมือแรก ไม่ใช่สุดท้าย

\n' + - '\n' + - '

การนำทางภายในส่วนต่างๆ ของ UI

\n' + - '\n' + - '

ในการย้ายจากองค์ประกอบ UI หนึ่งไปยังองค์ประกอบส่วนถัดไป ให้กดปุ่มลูกศรที่เหมาะสม

\n' + - '\n' + - '

ปุ่มลูกศรซ้ายและขวา

\n' + - '\n' + - '
    \n' + - '
  • ย้ายไปมาระหว่างเมนูต่างๆ ในแถบเมนู
  • \n' + - '
  • เปิดเมนูย่อยในเมนู
  • \n' + - '
  • ย้ายไปมาระหว่างปุ่มต่างๆ ในกลุ่มแถบเครื่องมือ
  • \n' + - '
  • ย้ายไปมาระหว่างรายการต่างๆ ในพาธองค์ประกอบของส่วนท้าย
  • \n' + - '
\n' + - '\n' + - '

ปุ่มลูกศรลงและขึ้น

\n' + - '\n' + - '
    \n' + - '
  • ย้ายไปมาระหว่างรายการเมนูต่างๆ ในเมนู
  • \n' + - '
  • ย้ายไปมาระหว่างรายการต่างๆ ในเมนูป๊อบอัพแถบเครื่องมือ
  • \n' + - '
\n' + - '\n' + - '

ปุ่มลูกศรจะเลื่อนไปมาภายในส่วน UI ที่โฟกัส

\n' + - '\n' + - '

ในการปิดเมนูที่เปิดอยู่ เมนูย่อยที่เปิดอยู่ หรือเมนูป๊อบอัพที่เปิดอยู่ ให้กดปุ่ม Esc

\n' + - '\n' + - '

หากโฟกัสปัจจุบันอยู่ที่ ‘ด้านบนสุด’ ของส่วน UI เฉพาะ การกดปุ่ม Esc จะทำให้ออกจาก\n' + - ' การนำทางด้วยแป้นพิมพ์ทั้งหมดเช่นกัน

\n' + - '\n' + - '

การดำเนินการรายการเมนูหรือปุ่มในแถบเครื่องมือ

\n' + - '\n' + - '

เมื่อไฮไลต์รายการเมนูหรือปุ่มในแถบเครื่องมือที่ต้องการ ให้กด Return, Enter\n' + - ' หรือ Space bar เพื่อดำเนินการรายการดังกล่าว

\n' + - '\n' + - '

การนำทางสำหรับกล่องโต้ตอบที่ไม่อยู่ในแท็บ

\n' + - '\n' + - '

ในกล่องโต้ตอบที่ไม่อยู่ในแท็บ จะโฟกัสที่ส่วนประกอบเชิงโต้ตอบแรกเมื่อกล่องโต้ตอบเปิด

\n' + - '\n' + - '

นำทางระหว่างส่วนประกอบเชิงโต้ตอบต่างๆ ของกล่องโต้ตอบ โดยการกด Tab หรือ Shift+Tab

\n' + - '\n' + - '

การนำทางสำหรับกล่องโต้ตอบที่อยู่ในแท็บ

\n' + - '\n' + - '

ในกล่องโต้ตอบที่อยู่ในแท็บ จะโฟกัสที่ปุ่มแรกในเมนูแท็บเมื่อกล่องโต้ตอบเปิด

\n' + - '\n' + - '

นำทางระหว่างส่วนประกอบเชิงโต้ตอบต่างๆ ของแท็บกล่องโต้ตอบนี้โดยการกด Tab หรือ\n' + - ' Shift+Tab

\n' + - '\n' + - '

สลับไปยังแท็บกล่องโต้ตอบอื่นโดยการเลือกโฟกัสที่เมนูแท็บ แล้วกดปุ่มลูกศรที่เหมาะสม\n' + - ' เพื่อเลือกแท็บที่ใช้ได้

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/tr.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/tr.js deleted file mode 100644 index 0517028e..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/tr.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.tr', -'

Klavyeyle gezintiyi başlatma

\n' + - '\n' + - '
\n' + - '
Menü çubuğuna odaklan
\n' + - '
Windows veya Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Araç çubuğuna odaklan
\n' + - '
Windows veya Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Alt bilgiye odaklan
\n' + - '
Windows veya Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Bağlamsal araç çubuğuna odaklan
\n' + - '
Windows, Linux veya macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Gezinti ilk kullanıcı arabirimi öğesinden başlar, bu öğe vurgulanır ya da ilk öğe, Alt bilgi elemanı\n' + - ' yolundaysa altı çizilir.

\n' + - '\n' + - '

Kullanıcı arabirimi bölümleri arasında gezinme

\n' + - '\n' + - '

Sonraki kullanıcı arabirimi bölümüne gitmek için Sekme tuşuna basın.

\n' + - '\n' + - '

Önceki kullanıcı arabirimi bölümüne gitmek için Shift+Sekme tuşlarına basın.

\n' + - '\n' + - '

Bu kullanıcı arabirimi bölümlerinin Sekme sırası:

\n' + - '\n' + - '
    \n' + - '
  1. Menü çubuğu
  2. \n' + - '
  3. Her araç çubuğu grubu
  4. \n' + - '
  5. Kenar çubuğu
  6. \n' + - '
  7. Alt bilgide öğe yolu
  8. \n' + - '
  9. Alt bilgide sözcük sayısı geçiş düğmesi
  10. \n' + - '
  11. Alt bilgide marka bağlantısı
  12. \n' + - '
  13. Alt bilgide düzenleyiciyi yeniden boyutlandırma tutamacı
  14. \n' + - '
\n' + - '\n' + - '

Kullanıcı arabirimi bölümü yoksa atlanır.

\n' + - '\n' + - '

Alt bilgide klavyeyle gezinti odağı yoksa ve görünür bir kenar çubuğu mevcut değilse Shift+Sekme tuşlarına basıldığında\n' + - ' odak son araç çubuğu yerine ilk araç çubuğu grubuna taşınır.

\n' + - '\n' + - '

Kullanıcı arabirimi bölümleri içinde gezinme

\n' + - '\n' + - '

Sonraki kullanıcı arabirimi elemanına gitmek için uygun Ok tuşuna basın.

\n' + - '\n' + - '

Sol ve Sağ ok tuşları

\n' + - '\n' + - '
    \n' + - '
  • menü çubuğundaki menüler arasında hareket eder.
  • \n' + - '
  • menüde bir alt menü açar.
  • \n' + - '
  • araç çubuğu grubundaki düğmeler arasında hareket eder.
  • \n' + - '
  • alt bilginin öğe yolundaki öğeler arasında hareket eder.
  • \n' + - '
\n' + - '\n' + - '

Aşağı ve Yukarı ok tuşları

\n' + - '\n' + - '
    \n' + - '
  • menüdeki menü öğeleri arasında hareket eder.
  • \n' + - '
  • araç çubuğu açılır menüsündeki öğeler arasında hareket eder.
  • \n' + - '
\n' + - '\n' + - '

Ok tuşları, odaklanılan kullanıcı arabirimi bölümü içinde döngüsel olarak hareket eder.

\n' + - '\n' + - '

Açık bir menüyü, açık bir alt menüyü veya açık bir açılır menüyü kapatmak için Esc tuşuna basın.

\n' + - '\n' + - '

Geçerli odak belirli bir kullanıcı arabirimi bölümünün "üst" kısmındaysa Esc tuşuna basıldığında\n' + - ' klavyeyle gezintiden de tamamen çıkılır.

\n' + - '\n' + - '

Menü öğesini veya araç çubuğu düğmesini yürütme

\n' + - '\n' + - '

İstediğiniz menü öğesi veya araç çubuğu düğmesi vurgulandığında Return, Enter\n' + - ' veya Ara çubuğu tuşuna basın.

\n' + - '\n' + - '

Sekme bulunmayan iletişim kutularında gezinme

\n' + - '\n' + - '

Sekme bulunmayan iletişim kutularında, iletişim kutusu açıldığında ilk etkileşimli bileşene odaklanılır.

\n' + - '\n' + - '

Etkileşimli iletişim kutusu bileşenleri arasında gezinmek için Sekme veya Shift+ Sekme tuşlarına basın.

\n' + - '\n' + - '

Sekmeli iletişim kutularında gezinme

\n' + - '\n' + - '

Sekmeli iletişim kutularında, iletişim kutusu açıldığında sekme menüsündeki ilk düğmeye odaklanılır.

\n' + - '\n' + - '

Bu iletişim kutusu sekmesinin etkileşimli bileşenleri arasında gezinmek için Sekme veya\n' + - ' Shift+Sekme tuşlarına basın.

\n' + - '\n' + - '

Mevcut sekmeler arasında geçiş yapmak için sekme menüsüne odaklanıp uygun Ok tuşuna basarak\n' + - ' başka bir iletişim kutusu sekmesine geçiş yapın.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/uk.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/uk.js deleted file mode 100644 index eb314f09..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/uk.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.uk', -'

Початок роботи з навігацією за допомогою клавіатури

\n' + - '\n' + - '
\n' + - '
Фокус на рядок меню
\n' + - '
Windows або Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Фокус на панелі інструментів
\n' + - '
Windows або Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Фокус на розділі "Нижній колонтитул"
\n' + - '
Windows або Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Фокус на контекстній панелі інструментів
\n' + - '
Windows, Linux або macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Навігація почнеться з першого елемента інтерфейсу користувача, який буде виділено або підкреслено в разі, якщо перший елемент знаходиться в\n' + - ' шляху до елемента "Нижній колонтитул".

\n' + - '\n' + - '

Навігація між розділами інтерфейсу користувача

\n' + - '\n' + - '

Щоб перейти з одного розділу інтерфейсу користувача до наступного розділу, натисніть клавішу Tab.

\n' + - '\n' + - '

Щоб перейти з одного розділу інтерфейсу користувача до попереднього розділу, натисніть сполучення клавіш Shift+Tab.

\n' + - '\n' + - '

Порядок Вкладок цих розділів інтерфейсу користувача такий:

\n' + - '\n' + - '
    \n' + - '
  1. Рядок меню
  2. \n' + - '
  3. Кожна група панелей інструментів
  4. \n' + - '
  5. Бічна панель
  6. \n' + - '
  7. Шлях до елементів у розділі "Нижній колонтитул"
  8. \n' + - '
  9. Кнопка перемикача "Кількість слів" у розділі "Нижній колонтитул"
  10. \n' + - '
  11. Посилання на брендинг у розділі "Нижній колонтитул"
  12. \n' + - '
  13. Маркер змінення розміру в розділі "Нижній колонтитул"
  14. \n' + - '
\n' + - '\n' + - '

Якщо розділ інтерфейсу користувача відсутній, він пропускається.

\n' + - '\n' + - '

Якщо фокус навігації клавіатури знаходиться на розділі "Нижній колонтитул", але користувач не бачить видиму бічну панель, натисніть Shift+Tab,\n' + - ' щоб перемістити фокус на першу групу панелі інструментів, а не на останню.

\n' + - '\n' + - '

Навігація в межах розділів інтерфейсу користувача

\n' + - '\n' + - '

Щоб перейти з одного елементу інтерфейсу користувача до наступного, натисніть відповідну клавішу зі стрілкою.

\n' + - '\n' + - '

Клавіші зі стрілками Ліворуч і Праворуч

\n' + - '\n' + - '
    \n' + - '
  • переміщують між меню в рядку меню.
  • \n' + - '
  • відкривають вкладене меню в меню.
  • \n' + - '
  • переміщують користувача між кнопками в групі панелі інструментів.
  • \n' + - '
  • переміщують між елементами в шляху до елементів у розділі "Нижній колонтитул".
  • \n' + - '
\n' + - '\n' + - '

Клавіші зі стрілками Вниз і Вгору

\n' + - '\n' + - '
    \n' + - '
  • переміщують між елементами меню в меню.
  • \n' + - '
  • переміщують між елементами в спливаючому меню панелі інструментів.
  • \n' + - '
\n' + - '\n' + - '

Клавіші зі стрілками переміщують фокус циклічно в межах розділу інтерфейсу користувача, на якому знаходиться фокус.

\n' + - '\n' + - '

Щоб закрити відкрите меню, відкрите вкладене меню або відкрите спливаюче меню, натисніть клавішу Esc.

\n' + - '\n' + - '

Якщо поточний фокус знаходиться на верхньому рівні певного розділу інтерфейсу користувача, натискання клавіші Esc також виконує вихід\n' + - ' з навігації за допомогою клавіатури повністю.

\n' + - '\n' + - '

Виконання елементу меню або кнопки панелі інструментів

\n' + - '\n' + - '

Коли потрібний елемент меню або кнопку панелі інструментів виділено, натисніть клавіші Return, Enter,\n' + - ' або Пробіл, щоб виконати цей елемент.

\n' + - '\n' + - '

Навігація по діалоговим вікнам без вкладок

\n' + - '\n' + - '

У діалогових вікнах без вкладок перший інтерактивний компонент приймає фокус, коли відкривається діалогове вікно.

\n' + - '\n' + - '

Переходьте між інтерактивними компонентами діалогового вікна, натискаючи клавіші Tab або Shift+Tab.

\n' + - '\n' + - '

Навігація по діалоговим вікнам з вкладками

\n' + - '\n' + - '

У діалогових вікнах із вкладками перша кнопка в меню вкладки приймає фокус, коли відкривається діалогове вікно.

\n' + - '\n' + - '

Переходьте між інтерактивними компонентами цієї вкладки діалогового вікна, натискаючи клавіші Tab або\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Щоб перейти на іншу вкладку діалогового вікна, перемістіть фокус на меню вкладки, а потім натисніть відповідну клавішу зі стрілкою,\n' + - ' щоб циклічно переходити по доступним вкладкам.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/vi.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/vi.js deleted file mode 100644 index 5369f9be..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/vi.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.vi', -'

Bắt đầu điều hướng bàn phím

\n' + - '\n' + - '
\n' + - '
Tập trung vào thanh menu
\n' + - '
Windows hoặc Linux: Alt+F9
\n' + - '
macOS: ⌥F9
\n' + - '
Tập trung vào thanh công cụ
\n' + - '
Windows hoặc Linux: Alt+F10
\n' + - '
macOS: ⌥F10
\n' + - '
Tập trung vào chân trang
\n' + - '
Windows hoặc Linux: Alt+F11
\n' + - '
macOS: ⌥F11
\n' + - '
Tập trung vào thanh công cụ ngữ cảnh
\n' + - '
Windows, Linux hoặc macOS: Ctrl+F9\n' + - '
\n' + - '\n' + - '

Điều hướng sẽ bắt đầu từ mục UI đầu tiên. Mục này sẽ được tô sáng hoặc có gạch dưới (nếu là mục đầu tiên trong\n' + - ' đường dẫn phần tử Chân trang).

\n' + - '\n' + - '

Di chuyển qua lại giữa các phần UI

\n' + - '\n' + - '

Để di chuyển từ một phần UI sang phần tiếp theo, ấn Tab.

\n' + - '\n' + - '

Để di chuyển từ một phần UI về phần trước đó, ấn Shift+Tab.

\n' + - '\n' + - '

Thứ tự Tab của các phần UI này như sau:

\n' + - '\n' + - '
    \n' + - '
  1. Thanh menu
  2. \n' + - '
  3. Từng nhóm thanh công cụ
  4. \n' + - '
  5. Thanh bên
  6. \n' + - '
  7. Đường dẫn phần tử trong chân trang
  8. \n' + - '
  9. Nút chuyển đổi đếm chữ ở chân trang
  10. \n' + - '
  11. Liên kết thương hiệu ở chân trang
  12. \n' + - '
  13. Núm điều tác chỉnh kích cỡ trình soạn thảo ở chân trang
  14. \n' + - '
\n' + - '\n' + - '

Nếu người dùng không thấy một phần UI, thì có nghĩa phần đó bị bỏ qua.

\n' + - '\n' + - '

Nếu ở chân trang có tính năng tập trung điều hướng bàn phím, mà không có thanh bên nào hiện hữu, thao tác ấn Shift+Tab\n' + - ' sẽ chuyển hướng tập trung vào nhóm thanh công cụ đầu tiên, không phải cuối cùng.

\n' + - '\n' + - '

Di chuyển qua lại trong các phần UI

\n' + - '\n' + - '

Để di chuyển từ một phần tử UI sang phần tiếp theo, ấn phím Mũi tên tương ứng cho phù hợp.

\n' + - '\n' + - '

Các phím mũi tên TráiPhải

\n' + - '\n' + - '
    \n' + - '
  • di chuyển giữa các menu trong thanh menu.
  • \n' + - '
  • mở menu phụ trong một menu.
  • \n' + - '
  • di chuyển giữa các nút trong nhóm thanh công cụ.
  • \n' + - '
  • di chuyển giữa các mục trong đường dẫn phần tử của chân trang.
  • \n' + - '
\n' + - '\n' + - '

Các phím mũi tên Hướng xuốngHướng lên

\n' + - '\n' + - '
    \n' + - '
  • di chuyển giữa các mục menu trong menu.
  • \n' + - '
  • di chuyển giữa các mục trong menu thanh công cụ dạng bật lên.
  • \n' + - '
\n' + - '\n' + - '

Các phím mũi tên xoay vòng trong một phần UI tập trung.

\n' + - '\n' + - '

Để đóng một menu mở, một menu phụ đang mở, hoặc một menu dạng bật lên đang mở, hãy ấn phím Esc.

\n' + - '\n' + - '

Nếu trọng tâm hiện tại là ở phần “đầu” của một phần UI cụ thể, thao tác ấn phím Esc cũng sẽ thoát\n' + - ' toàn bộ phần điều hướng bàn phím.

\n' + - '\n' + - '

Thực hiện chức năng của một mục menu hoặc nút thanh công cụ

\n' + - '\n' + - '

Khi mục menu hoặc nút thanh công cụ muốn dùng được tô sáng, hãy ấn Return, Enter,\n' + - ' hoặc Phím cách để thực hiện chức năng mục đó.

\n' + - '\n' + - '

Điều hướng giữa các hộp thoại không có nhiều tab

\n' + - '\n' + - '

Trong các hộp thoại không có nhiều tab, khi hộp thoại mở ra, trọng tâm sẽ hướng vào thành phần tương tác đầu tiên.

\n' + - '\n' + - '

Di chuyển giữa các thành phần hộp thoại tương tác bằng cách ấn Tab hoặc Shift+Tab.

\n' + - '\n' + - '

Điều hướng giữa các hộp thoại có nhiều tab

\n' + - '\n' + - '

Trong các hộp thoại có nhiều tab, khi hộp thoại mở ra, trọng tâm sẽ hướng vào nút đầu tiên trong menu tab.

\n' + - '\n' + - '

Di chuyển giữa các thành phần tương tác của tab hộp thoại này bằng cách ấn Tab hoặc\n' + - ' Shift+Tab.

\n' + - '\n' + - '

Chuyển sang một tab hộp thoại khác bằng cách chuyển trọng tâm vào menu tab, rồi ấn phím Mũi tên phù hợp\n' + - ' để xoay vòng các tab hiện có.

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/zh_CN.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/zh_CN.js deleted file mode 100644 index b93d9eec..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +++ /dev/null @@ -1,84 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.zh_CN', -'

开始键盘导航

\n' + - '\n' + - '
\n' + - '
聚焦于菜单栏
\n' + - '
Windows 或 Linux:Alt+F9
\n' + - '
macOS:⌥F9
\n' + - '
聚焦于工具栏
\n' + - '
Windows 或 Linux:Alt+F10
\n' + - '
macOS:⌥F10
\n' + - '
聚焦于页脚
\n' + - '
Windows 或 Linux:Alt+F11
\n' + - '
macOS:⌥F11
\n' + - '
聚焦于上下文工具栏
\n' + - '
Windows、Linux 或 macOS:Ctrl+F9\n' + - '
\n' + - '\n' + - '

导航将在第一个 UI 项上开始,其中突出显示该项,或者对于页脚元素路径中的第一项,将为其添加下划线。

\n' + - '\n' + - '

在 UI 部分之间导航

\n' + - '\n' + - '

要从一个 UI 部分移至下一个,请按 Tab

\n' + - '\n' + - '

要从一个 UI 部分移至上一个,请按 Shift+Tab

\n' + - '\n' + - '

这些 UI 部分的 Tab 顺序为:

\n' + - '\n' + - '
    \n' + - '
  1. 菜单栏
  2. \n' + - '
  3. 每个工具栏组
  4. \n' + - '
  5. 边栏
  6. \n' + - '
  7. 页脚中的元素路径
  8. \n' + - '
  9. 页脚中的字数切换按钮
  10. \n' + - '
  11. 页脚中的品牌链接
  12. \n' + - '
  13. 页脚中的编辑器调整大小图柄
  14. \n' + - '
\n' + - '\n' + - '

如果不存在某个 UI 部分,则跳过它。

\n' + - '\n' + - '

如果键盘导航焦点在页脚,并且没有可见的边栏,则按 Shift+Tab 将焦点移至第一个工具栏组而非最后一个。

\n' + - '\n' + - '

在 UI 部分内导航

\n' + - '\n' + - '

要从一个 UI 元素移至下一个,请按相应的箭头键。

\n' + - '\n' + - '

箭头键

\n' + - '\n' + - '
    \n' + - '
  • 在菜单栏中的菜单之间移动。
  • \n' + - '
  • 打开菜单中的子菜单。
  • \n' + - '
  • 在工具栏组中的按钮之间移动。
  • \n' + - '
  • 在页脚的元素路径中的各项之间移动。
  • \n' + - '
\n' + - '\n' + - '

箭头键

\n' + - '\n' + - '
    \n' + - '
  • 在菜单中的菜单项之间移动。
  • \n' + - '
  • 在工具栏弹出菜单中的各项之间移动。
  • \n' + - '
\n' + - '\n' + - '

箭头键在具有焦点的 UI 部分内循环。

\n' + - '\n' + - '

要关闭打开的菜单、打开的子菜单或打开的弹出菜单,请按 Esc 键。

\n' + - '\n' + - '

如果当前的焦点在特定 UI 部分的“顶部”,则按 Esc 键还将完全退出键盘导航。

\n' + - '\n' + - '

执行菜单项或工具栏按钮

\n' + - '\n' + - '

当突出显示所需的菜单项或工具栏按钮时,按 ReturnEnter空格以执行该项。

\n' + - '\n' + - '

在非标签页式对话框中导航

\n' + - '\n' + - '

在非标签页式对话框中,当对话框打开时,第一个交互组件获得焦点。

\n' + - '\n' + - '

通过按 TabShift+Tab,在交互对话框组件之间导航。

\n' + - '\n' + - '

在标签页式对话框中导航

\n' + - '\n' + - '

在标签页式对话框中,当对话框打开时,标签页菜单中的第一个按钮获得焦点。

\n' + - '\n' + - '

通过按 TabShift+Tab,在此对话框的交互组件之间导航。

\n' + - '\n' + - '

通过将焦点移至另一对话框标签页的菜单,然后按相应的箭头键以在可用的标签页间循环,从而切换到该对话框标签页。

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/js/i18n/keynav/zh_TW.js b/src/assets/tinymce/plugins/help/js/i18n/keynav/zh_TW.js deleted file mode 100644 index 51a381d8..00000000 --- a/src/assets/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +++ /dev/null @@ -1,90 +0,0 @@ -tinymce.Resource.add('tinymce.html-i18n.help-keynav.zh_TW', -'

開始鍵盤瀏覽

\n' + - '\n' + - '
\n' + - '
跳至功能表列
\n' + - '
Windows 或 Linux:Alt+F9
\n' + - '
macOS:⌥F9
\n' + - '
跳至工具列
\n' + - '
Windows 或 Linux:Alt+F10
\n' + - '
macOS:⌥F10
\n' + - '
跳至頁尾
\n' + - '
Windows 或 Linux:Alt+F11
\n' + - '
macOS:⌥F11
\n' + - '
跳至關聯式工具列
\n' + - '
Windows、Linux 或 macOS:Ctrl+F9\n' + - '
\n' + - '\n' + - '

瀏覽會從第一個 UI 項目開始,該項目會反白顯示,但如果是「頁尾」元素路徑的第一項,\n' + - ' 則加底線。

\n' + - '\n' + - '

在 UI 區段之間瀏覽

\n' + - '\n' + - '

從 UI 區段移至下一個,請按 Tab

\n' + - '\n' + - '

從 UI 區段移回上一個,請按 Shift+Tab

\n' + - '\n' + - '

這些 UI 區段的 Tab 順序如下:

\n' + - '\n' + - '
    \n' + - '
  1. 功能表列
  2. \n' + - '
  3. 各個工具列群組
  4. \n' + - '
  5. 側邊欄
  6. \n' + - '
  7. 頁尾中的元素路徑
  8. \n' + - '
  9. 頁尾中字數切換按鈕
  10. \n' + - '
  11. 頁尾中的品牌連結
  12. \n' + - '
  13. 頁尾中編輯器調整大小控點
  14. \n' + - '
\n' + - '\n' + - '

如果 UI 區段未顯示,表示已略過該區段。

\n' + - '\n' + - '

如果鍵盤瀏覽跳至頁尾,但沒有顯示側邊欄,則按下 Shift+Tab\n' + - ' 會跳至第一個工具列群組,而不是最後一個。

\n' + - '\n' + - '

在 UI 區段之內瀏覽

\n' + - '\n' + - '

在兩個 UI 元素之間移動,請按適當的方向鍵。

\n' + - '\n' + - '

向左向右方向鍵

\n' + - '\n' + - '
    \n' + - '
  • 在功能表列中的功能表之間移動。
  • \n' + - '
  • 開啟功能表中的子功能表。
  • \n' + - '
  • 在工具列群組中的按鈕之間移動。
  • \n' + - '
  • 在頁尾的元素路徑中項目之間移動。
  • \n' + - '
\n' + - '\n' + - '

向下向上方向鍵

\n' + - '\n' + - '
    \n' + - '
  • 在功能表中的功能表項目之間移動。
  • \n' + - '
  • 在工具列快顯功能表中的項目之間移動。
  • \n' + - '
\n' + - '\n' + - '

方向鍵會在所跳至 UI 區段之內循環。

\n' + - '\n' + - '

若要關閉已開啟的功能表、已開啟的子功能表,或已開啟的快顯功能表,請按 Esc 鍵。

\n' + - '\n' + - '

如果目前已跳至特定 UI 區段的「頂端」,則按 Esc 鍵也會結束\n' + - ' 整個鍵盤瀏覽。

\n' + - '\n' + - '

執行功能表列項目或工具列按鈕

\n' + - '\n' + - '

當想要的功能表項目或工具列按鈕已反白顯示時,按 ReturnEnter、\n' + - ' 或空白鍵即可執行該項目。

\n' + - '\n' + - '

瀏覽非索引標籤式對話方塊

\n' + - '\n' + - '

在非索引標籤式對話方塊中,開啟對話方塊時會跳至第一個互動元件。

\n' + - '\n' + - '

TabShift+Tab 即可在互動式對話方塊元件之間瀏覽。

\n' + - '\n' + - '

瀏覽索引標籤式對話方塊

\n' + - '\n' + - '

在索引標籤式對話方塊中,開啟對話方塊時會跳至索引標籤式功能表中的第一個按鈕。

\n' + - '\n' + - '

若要在此對話方塊的互動式元件之間瀏覽,請按 Tab 或\n' + - ' Shift+Tab

\n' + - '\n' + - '

先跳至索引標籤式功能表,然後按適當的方向鍵,即可切換至另一個對話方塊索引標籤,\n' + - ' 以循環瀏覽可用的索引標籤。

\n'); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/help/plugin.min.js b/src/assets/tinymce/plugins/help/plugin.min.js deleted file mode 100644 index 6882fae8..00000000 --- a/src/assets/tinymce/plugins/help/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");let t=0;const n=e=>{const n=(new Date).getTime(),a=Math.floor(1e9*Math.random());return t++,e+"_"+a+t+String(n)},a=e=>t=>t.options.get(e),r=a("help_tabs"),o=a("forced_plugins"),i=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=a=e,(r=String).prototype.isPrototypeOf(n)||(null===(o=a.constructor)||void 0===o?void 0:o.name)===r.name)?"string":t;var n,a,r,o})(e));const s=(void 0,e=>undefined===e);const l=e=>"function"==typeof e,c=(!1,()=>false);class m{constructor(e,t){this.tag=e,this.value=t}static some(e){return new m(!0,e)}static none(){return m.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?m.some(e(this.value)):m.none()}bind(e){return this.tag?e(this.value):m.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:m.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?m.none():m.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}m.singletonNone=new m(!1);const u=Array.prototype.slice,p=Array.prototype.indexOf,y=(e,t)=>{const n=e.length,a=new Array(n);for(let r=0;r{const n=[];for(let a=0,r=e.length;a{const n=u.call(e,0);return n.sort(t),n},g=Object.keys,k=Object.hasOwnProperty,v=(e,t)=>k.call(e,t);var b=tinymce.util.Tools.resolve("tinymce.Resource"),f=tinymce.util.Tools.resolve("tinymce.util.I18n");const A=(e,t)=>b.load(`tinymce.html-i18n.help-keynav.${t}`,`${e}/js/i18n/keynav/${t}.js`),C=e=>A(e,f.getCode()).catch((()=>A(e,"en")));var w=tinymce.util.Tools.resolve("tinymce.Env");const S=e=>{const t=w.os.isMacOS()||w.os.isiOS(),n=t?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl ",access:"Shift + Alt "},a=e.split("+"),r=y(a,(e=>{const t=e.toLowerCase().trim();return v(n,t)?n[t]:e}));return t?r.join("").replace(/\s/,""):r.join("+")},_=[{shortcuts:["Meta + B"],action:"Bold"},{shortcuts:["Meta + I"],action:"Italic"},{shortcuts:["Meta + U"],action:"Underline"},{shortcuts:["Meta + A"],action:"Select all"},{shortcuts:["Meta + Y","Meta + Shift + Z"],action:"Redo"},{shortcuts:["Meta + Z"],action:"Undo"},{shortcuts:["Access + 1"],action:"Heading 1"},{shortcuts:["Access + 2"],action:"Heading 2"},{shortcuts:["Access + 3"],action:"Heading 3"},{shortcuts:["Access + 4"],action:"Heading 4"},{shortcuts:["Access + 5"],action:"Heading 5"},{shortcuts:["Access + 6"],action:"Heading 6"},{shortcuts:["Access + 7"],action:"Paragraph"},{shortcuts:["Access + 8"],action:"Div"},{shortcuts:["Access + 9"],action:"Address"},{shortcuts:["Alt + 0"],action:"Open help dialog"},{shortcuts:["Alt + F9"],action:"Focus to menubar"},{shortcuts:["Alt + F10"],action:"Focus to toolbar"},{shortcuts:["Alt + F11"],action:"Focus to element path"},{shortcuts:["Ctrl + F9"],action:"Focus to contextual toolbar"},{shortcuts:["Shift + Enter"],action:"Open popup menu for split buttons"},{shortcuts:["Meta + K"],action:"Insert link (if link plugin activated)"},{shortcuts:["Meta + S"],action:"Save (if save plugin activated)"},{shortcuts:["Meta + F"],action:"Find (if searchreplace plugin activated)"},{shortcuts:["Meta + Shift + F"],action:"Switch to or from fullscreen mode"}],M=()=>({name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:y(_,(e=>{const t=y(e.shortcuts,S).join(" or ");return[e.action,t]}))}]}),T=y([{key:"accordion",name:"Accordion"},{key:"advlist",name:"Advanced List"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"image",name:"Image"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"pagebreak",name:"Page Break"},{key:"preview",name:"Preview"},{key:"quickbars",name:"Quick Toolbars"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"table",name:"Table"},{key:"template",name:"Template"},{key:"textcolor",name:"Text Color"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"},{key:"a11ychecker",name:"Accessibility Checker",type:"premium"},{key:"advcode",name:"Advanced Code Editor",type:"premium"},{key:"advtable",name:"Advanced Tables",type:"premium"},{key:"advtemplate",name:"Advanced Templates",type:"premium",slug:"advanced-templates"},{key:"ai",name:"AI Assistant",type:"premium"},{key:"casechange",name:"Case Change",type:"premium"},{key:"checklist",name:"Checklist",type:"premium"},{key:"editimage",name:"Enhanced Image Editing",type:"premium"},{key:"footnotes",name:"Footnotes",type:"premium"},{key:"typography",name:"Advanced Typography",type:"premium",slug:"advanced-typography"},{key:"mediaembed",name:"Enhanced Media Embed",type:"premium",slug:"introduction-to-mediaembed"},{key:"export",name:"Export",type:"premium"},{key:"formatpainter",name:"Format Painter",type:"premium"},{key:"inlinecss",name:"Inline CSS",type:"premium",slug:"inline-css"},{key:"linkchecker",name:"Link Checker",type:"premium"},{key:"mentions",name:"Mentions",type:"premium"},{key:"mergetags",name:"Merge Tags",type:"premium"},{key:"pageembed",name:"Page Embed",type:"premium"},{key:"permanentpen",name:"Permanent Pen",type:"premium"},{key:"powerpaste",name:"PowerPaste",type:"premium",slug:"introduction-to-powerpaste"},{key:"rtc",name:"Real-Time Collaboration",type:"premium",slug:"rtc-introduction"},{key:"tinymcespellchecker",name:"Spell Checker Pro",type:"premium",slug:"introduction-to-tiny-spellchecker"},{key:"autocorrect",name:"Spelling Autocorrect",type:"premium"},{key:"tableofcontents",name:"Table of Contents",type:"premium"},{key:"tinycomments",name:"Tiny Comments",type:"premium",slug:"introduction-to-tiny-comments"},{key:"tinydrive",name:"Tiny Drive",type:"premium",slug:"tinydrive-introduction"}],(e=>({...e,type:e.type||"opensource",slug:e.slug||e.key}))),x=e=>{const t=e=>`${e.name}`,n=(e,n)=>{return(a=T,r=e=>e.key===n,((e,t,n)=>{for(let a=0,r=e.length;a((e,n)=>{const a=e.plugins[n].getMetadata;if(l(a)){const e=a();return{name:e.name,html:t(e)}}return{name:n,html:n}})(e,n)),(e=>{const n="premium"===e.type?`${e.name}*`:e.name;return{name:n,html:t({name:n,url:`https://www.tiny.cloud/docs/tinymce/6/${e.slug}/`})}}));var a,r},a=e=>{const t=(e=>{const t=g(e.plugins),n=o(e);return s(n)?t:h(t,(e=>!(((e,t)=>p.call(e,t))(n,e)>-1)))})(e),a=d(y(t,(t=>n(e,t))),((e,t)=>e.name.localeCompare(t.name))),r=y(a,(e=>"
  • "+e.html+"
  • ")),i=r.length,l=r.join("");return"

    "+f.translate(["Plugins installed ({0}):",i])+"

      "+l+"
    "},r={type:"htmlpanel",presets:"document",html:[(e=>null==e?"":"
    "+a(e)+"
    ")(e),(()=>{const e=h(T,(({type:e})=>"premium"===e)),t=d(y(e,(e=>e.name)),((e,t)=>e.localeCompare(t))),n=y(t,(e=>`
  • ${e}
  • `)).join("");return"

    "+f.translate("Premium plugins:")+"

    "})()].join("")};return{name:"plugins",title:"Plugins",items:[r]}};var O=tinymce.util.Tools.resolve("tinymce.EditorManager");const P=(e,t,a)=>()=>{(async(e,t,a)=>{const o=M(),s=await(async e=>({name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:await C(e)}]}))(a),l=x(e),c=(()=>{var e,t;const n='TinyMCE '+(e=O.majorVersion,t=O.minorVersion,(0===e.indexOf("@")?"X.X.X":e+"."+t)+"");return{name:"versions",title:"Version",items:[{type:"htmlpanel",html:"

    "+f.translate(["You are using {0}",n])+"

    ",presets:"document"}]}})(),u={[o.name]:o,[s.name]:s,[l.name]:l,[c.name]:c,...t.get()};return m.from(r(e)).fold((()=>(e=>{const t=g(e),n=t.indexOf("versions");return-1!==n&&(t.splice(n,1),t.push("versions")),{tabs:e,names:t}})(u)),(e=>((e,t)=>{const a={},r=y(e,(e=>{var r;if(i(e))return v(t,e)&&(a[e]=t[e]),e;{const t=null!==(r=e.name)&&void 0!==r?r:n("tab-name");return a[t]=e,t}}));return{tabs:a,names:r}})(e,u)))})(e,t,a).then((({tabs:t,names:n})=>{const a={type:"tabpanel",tabs:(e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t{return v(n=t,a=e)?m.from(n[a]):m.none();var n,a})))};e.windowManager.open({title:"Help",size:"medium",body:a,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{}})}))};e.add("help",((e,t)=>{const a=(e=>{let t={};return{get:()=>t,set:e=>{t=e}}})(),r=(e=>({addTab:t=>{var a;const r=null!==(a=t.name)&&void 0!==a?a:n("tab-name"),o=e.get();o[r]=t,e.set(o)}}))(a);(e=>{(0,e.options.register)("help_tabs",{processor:"array"})})(e);const o=P(e,a,t);return((e,t)=>{e.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:t}),e.ui.registry.addMenuItem("help",{text:"Help",icon:"help",shortcut:"Alt+0",onAction:t})})(e,o),((e,t)=>{e.addCommand("mceHelp",t)})(e,o),e.shortcuts.add("Alt+0","Open help dialog","mceHelp"),((e,t)=>{e.on("init",(()=>{C(t)}))})(e,t),r}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/image/plugin.min.js b/src/assets/tinymce/plugins/image/plugin.min.js deleted file mode 100644 index 0fa3f5f7..00000000 --- a/src/assets/tinymce/plugins/image/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>{var i;return!!a(e,t.prototype)||(null===(i=e.constructor)||void 0===i?void 0:i.name)===t.name},i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,s=e=>t=>typeof t===e,r=i("string"),o=i("object"),n=e=>((e,i)=>o(e)&&a(e,i,((e,a)=>t(e)===a)))(e,Object),l=i("array"),c=(null,e=>null===e);const m=s("boolean"),d=e=>!(e=>null==e)(e),g=s("function"),u=s("number"),p=()=>{};class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return d(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const b=Object.keys,v=Object.hasOwnProperty,y=(e,t)=>v.call(e,t),f=Array.prototype.push,w=e=>{const t=[];for(let a=0,i=e.length;a{((e,t,a)=>{if(!(r(a)||m(a)||u(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)},D=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},_=D;var C=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),I=tinymce.util.Tools.resolve("tinymce.util.URI");const U=e=>e.length>0,x=e=>t=>t.options.get(e),S=x("image_dimensions"),N=x("image_advtab"),T=x("image_uploadtab"),O=x("image_prepend_url"),E=x("image_class_list"),L=x("image_description"),j=x("image_title"),M=x("image_caption"),R=x("image_list"),k=x("a11y_advanced_options"),z=x("automatic_uploads"),B=(e,t)=>Math.max(parseInt(e,10),parseInt(t,10)),P=e=>(e&&(e=e.replace(/px$/,"")),e),F=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),H=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),G=(e,t)=>{const a=e.options.get;return I.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},W=C.DOM,$=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?P(e.style.marginLeft):"",V=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?P(e.style.marginTop):"",K=e=>e.style.borderWidth?P(e.style.borderWidth):"",Z=(e,t)=>{var a;return e.hasAttribute(t)&&null!==(a=e.getAttribute(t))&&void 0!==a?a:""},q=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,J=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},Q=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},X=(e,t)=>(e,a,i)=>{const s=e.style;s[a]?(s[a]=F(i),Q(e,t)):J(e,a,i)},Y=(e,t)=>e.style[t]?P(e.style[t]):Z(e,t),ee=(e,t)=>{const a=F(t);e.style.marginLeft=a,e.style.marginRight=a},te=(e,t)=>{const a=F(t);e.style.marginTop=a,e.style.marginBottom=a},ae=(e,t)=>{const a=F(t);e.style.borderWidth=a},ie=(e,t)=>{e.style.borderStyle=t},se=e=>{var t;return null!==(t=e.style.borderStyle)&&void 0!==t?t:""},re=e=>d(e)&&"FIGURE"===e.nodeName,oe=e=>0===W.getAttrib(e,"alt").length&&"presentation"===W.getAttrib(e,"role"),ne=e=>oe(e)?"":Z(e,"alt"),le=(e,t)=>{var a;const i=document.createElement("img");return J(i,"style",t.style),($(i)||""!==t.hspace)&&ee(i,t.hspace),(V(i)||""!==t.vspace)&&te(i,t.vspace),(K(i)||""!==t.border)&&ae(i,t.border),(se(i)||""!==t.borderStyle)&&ie(i,t.borderStyle),e(null!==(a=i.getAttribute("style"))&&void 0!==a?a:"")},ce=(e,t)=>({src:Z(t,"src"),alt:ne(t),title:Z(t,"title"),width:Y(t,"width"),height:Y(t,"height"),class:Z(t,"class"),style:e(Z(t,"style")),caption:q(t),hspace:$(t),vspace:V(t),border:K(t),borderStyle:se(t),isDecorative:oe(t)}),me=(e,t,a,i,s)=>{a[i]!==t[i]&&s(e,i,String(a[i]))},de=(e,t,a)=>{if(a){W.setAttrib(e,"role","presentation");const t=_(e);A(t,"alt","")}else{if(c(t)){"alt",_(e).dom.removeAttribute("alt")}else{const a=_(e);A(a,"alt",t)}"presentation"===W.getAttrib(e,"role")&&W.setAttrib(e,"role","")}},ge=(e,t)=>(a,i,s)=>{e(a,s),Q(a,t)},ue=(e,t,a)=>{const i=ce(e,a);me(a,i,t,"caption",((e,t,a)=>(e=>{q(e)?(e=>{const t=e.parentNode;d(t)&&(W.insertAfter(e,t),W.remove(t))})(e):(e=>{const t=W.create("figure",{class:"image"});W.insertAfter(t,e),t.appendChild(e),t.appendChild(W.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)})(e))),me(a,i,t,"src",J),me(a,i,t,"title",J),me(a,i,t,"width",X(0,e)),me(a,i,t,"height",X(0,e)),me(a,i,t,"class",J),me(a,i,t,"style",ge(((e,t)=>J(e,"style",t)),e)),me(a,i,t,"hspace",ge(ee,e)),me(a,i,t,"vspace",ge(te,e)),me(a,i,t,"border",ge(ae,e)),me(a,i,t,"borderStyle",ge(ie,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||de(e,a.alt,a.isDecorative)})(a,i,t)},pe=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},he=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||H(t))?null:t},be=(e,t)=>{var a;const i=e.dom,s=((t,a)=>{const i={};var s;return((e,t,a,i)=>{((e,t)=>{const a=b(e);for(let i=0,s=a.length;i{(t(e,s)?a:i)(e,s)}))})(t,((t,a)=>!e.schema.isValidChild(a,"figure")),(s=i,(e,t)=>{s[t]=e}),p),i})(e.schema.getTextBlockElements()),r=i.getParent(t.parentNode,(e=>{return t=s,a=e.nodeName,y(t,a)&&void 0!==t[a]&&null!==t[a];var t,a}),e.getBody());return r&&null!==(a=i.split(r,t))&&void 0!==a?a:t},ve=(e,t)=>{const a=((t,a)=>{const i=document.createElement("img");if(ue((t=>pe(e,t)),{...a,caption:!1},i),de(i,a.alt,a.isDecorative),a.caption){const e=W.create("figure",{class:"image"});return e.appendChild(i),e.appendChild(W.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return i})(0,t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),re(i)){const t=be(e,i);e.selection.select(t)}else e.selection.select(i)},ye=(e,t)=>{const a=he(e);if(a){const i={...ce((t=>pe(e,t)),a),...t},s=((e,t)=>{const a=t.src;return{...t,src:G(e,a)?a:""}})(e,i);i.src?((e,t)=>{const a=he(e);if(a)if(ue((t=>pe(e,t)),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),re(a.parentNode)){const t=a.parentNode;be(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!S(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)})(e,s):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&ve(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})},fe=(we=(e,t)=>n(e)&&n(t)?fe(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;ar(e.value)?e.value:"",Ce=(e,t)=>{const a=[];return De.each(e,(e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const s=Ce(e.menu,t);a.push({text:i,items:s})}else{const s=t(e);a.push({text:i,value:s})}})),a},Ie=(e=_e)=>t=>t?h.from(t).map((t=>Ce(t,e))):h.none(),Ue=(e,t)=>((e,a)=>{for(let a=0;ay(e,"items"))(i=e[a])?Ue(i.items,t):i.value===t?h.some(i):h.none();if(s.isSome())return s}var i;return h.none()})(e),xe=Ie,Se=(e,t)=>e.bind((e=>Ue(e,t))),Ne=e=>{const t=xe((t=>e.convertURL(t.value||t.url||"","src"))),a=new Promise((a=>{((e,t)=>{const a=R(e);r(a)?fetch(a).then((e=>{e.ok&&e.json().then(t)})):g(a)?a(t):t(a)})(e,(e=>{a(t(e).map((e=>w([[{text:"None",value:""}],e]))))}))})),i=(A=E(e),Ie(_e)(A)),s=N(e),o=T(e),n=(e=>U(e.options.get("images_upload_url")))(e),l=(e=>d(e.options.get("images_upload_handler")))(e),c=(e=>{const t=he(e);return t?ce((t=>pe(e,t)),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),m=L(e),u=j(e),p=S(e),b=M(e),v=k(e),y=z(e),f=h.some(O(e)).filter((e=>r(e)&&e.length>0));var A;return a.then((e=>({image:c,imageList:e,classList:i,hasAdvTab:s,hasUploadTab:o,hasUploadUrl:n,hasUploadHandler:l,hasDescription:m,hasImageTitle:u,hasDimensions:p,hasImageCaption:b,prependURL:f,hasAccessibilityOptions:v,automaticUploads:y})))},Te=e=>{const t=e.imageList.map((e=>({name:"images",type:"listbox",label:"Image list",items:e}))),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map((e=>({name:"classes",type:"listbox",label:"Class",items:e})));return w([[{name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(s=e.classList.isSome()&&e.hasImageCaption,s?{type:"grid",columns:2}:{type:"panel"}),items:w([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var s},Oe=e=>({title:"General",name:"general",items:Te(e)}),Ee=Te,Le=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),je=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),Me=(e,t,a,i)=>{((e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?h.none():e.prependURL.bind((e=>t.substring(0,e.length)!==e?h.some(e+t):h.none())))(e,a.src.value).each((e=>{t.setData({src:{value:e,meta:a.src.meta}})}))})(t,i),((e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const s=fe({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Se(e.classList,a.class).each((e=>{t.classes=e.value})),e.hasImageCaption&&m(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,s,i),t.setData(s)}})(t,i),((e,t,a,i)=>{const s=i.getData(),r=s.src.value,o=s.src.meta||{};o.width||o.height||!t.hasDimensions||(U(r)?e.imageSize(r).then((e=>{a.open&&i.setData({dimensions:e})})).catch((e=>console.error(e))):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),s=Se(e.imageList,i.src.value);t.prevImage=s,a.setData({images:s.map((e=>e.value)).getOr("")})})(t,a,i)},Re=(e,t,a,i)=>{const s=i.getData();var r;i.block("Uploading image"),(r=s.fileinput,((e,t)=>0{i.unblock()}),(s=>{const r=URL.createObjectURL(s),o=()=>{i.unblock(),URL.revokeObjectURL(r)},n=s=>{i.setData({src:{value:s,meta:{}}}),i.showTab("general"),Me(e,t,a,i)};var l;(l=s,new Promise(((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{var e;t(null===(e=a.error)||void 0===e?void 0:e.message)},a.readAsDataURL(l)}))).then((a=>{const l=e.createBlobCache(s,r,a);t.automaticUploads?e.uploadImage(l).then((e=>{n(e.url),o()})).catch((t=>{o(),e.alertErr(t)})):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())}))}))},ke=(e,t,a)=>(i,s)=>{"src"===s.name?Me(e,t,a,i):"images"===s.name?((e,t,a,i)=>{const s=i.getData(),r=Se(t.imageList,s.images);r.each((e=>{const t=""===s.alt||a.prevImage.map((e=>e.text===s.alt)).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})})),a.prevImage=r,Me(e,t,a,i)})(e,t,a,i):"alt"===s.name?a.prevAlt=i.getData().alt:"fileinput"===s.name?Re(e,t,a,i):"isDecorative"===s.name&&i.setEnabled("alt",!i.getData().isDecorative)},ze=e=>()=>{e.open=!1},Be=e=>e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:w([[Oe(e)],e.hasAdvTab?[{title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}]:[]])}:{type:"panel",items:Ee(e)},Pe=(e,t,a)=>i=>{const s=fe(Le(t.image),i.getData()),r={...s,style:le(a.normalizeCss,je(s,!1))};e.execCommand("mceUpdateImage",!1,je(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Fe=e=>t=>G(e,t)?(e=>new Promise((t=>{const a=document.createElement("img"),i=e=>{a.onload=a.onerror=null,a.parentNode&&a.parentNode.removeChild(a),t(e)};a.onload=()=>{const e={width:B(a.width,a.clientWidth),height:B(a.height,a.clientHeight)};i(Promise.resolve(e))},a.onerror=()=>{i(Promise.reject(`Failed to get image dimensions for: ${e}`))};const s=a.style;s.visibility="hidden",s.position="fixed",s.bottom=s.left="0px",s.width=s.height="auto",document.body.appendChild(a),a.src=e})))(e.documentBaseURI.toAbsolute(t)).then((e=>({width:String(e.width),height:String(e.height)}))):Promise.resolve({width:"",height:""}),He=e=>(t,a,i)=>{var s;return e.editorUpload.blobCache.create({blob:t,blobUri:a,name:null===(s=t.name)||void 0===s?void 0:s.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]})},Ge=e=>t=>{e.editorUpload.blobCache.add(t)},We=e=>t=>{e.windowManager.alert(t)},$e=e=>t=>pe(e,t),Ve=e=>t=>e.dom.parseStyle(t),Ke=e=>(t,a)=>e.dom.serializeStyle(t,a),Ze=e=>t=>Ae(e).upload([t],!1).then((e=>{var t;return 0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(null===(t=e[0].error)||void 0===t?void 0:t.message):e[0]})),qe=e=>{const t={imageSize:Fe(e),addToBlobCache:Ge(e),createBlobCache:He(e),alertErr:We(e),normalizeCss:$e(e),parseStyle:Ve(e),serializeStyle:Ke(e),uploadImage:Ze(e)};return{open:()=>{Ne(e).then((a=>{const i=(e=>({prevImage:Se(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:Be(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Le(a.image),onSubmit:Pe(e,a,t),onChange:ke(t,a,i),onClose:ze(i)}})).then(e.windowManager.open)}}},Je=e=>{const t=e.attr("class");return d(t)&&/\bimage\b/.test(t)},Qe=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const s=t[a];Je(s)&&(s.attr("contenteditable",e?"false":null),De.each(s.getAll("figcaption"),i))}},Xe=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("image",(e=>{(e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;a{e.on("PreInit",(()=>{e.parser.addNodeFilter("figure",Qe(!0)),e.serializer.addNodeFilter("figure",Qe(!1))}))})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:qe(e).open,onSetup:t=>{t.setActive(d(he(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=Xe(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:qe(e).open,onSetup:Xe(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(re(t)||"IMG"===t.nodeName&&!H(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",qe(e).open),e.addCommand("mceUpdateImage",((t,a)=>{e.undoManager.transact((()=>ye(e,a)))}))})(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/importcss/plugin.min.js b/src/assets/tinymce/plugins/importcss/plugin.min.js deleted file mode 100644 index 4b8006a4..00000000 --- a/src/assets/tinymce/plugins/importcss/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(s=r=e,(o=String).prototype.isPrototypeOf(s)||(null===(n=r.constructor)||void 0===n?void 0:n.name)===o.name)?"string":t;var s,r,o,n})(t)===e,s=t("string"),r=t("object"),o=t("array"),n=("function",e=>"function"==typeof e);var c=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.EditorManager"),l=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Tools");const p=e=>t=>t.options.get(e),u=p("importcss_merge_classes"),m=p("importcss_exclusive"),f=p("importcss_selector_converter"),y=p("importcss_selector_filter"),d=p("importcss_groups"),h=p("importcss_append"),_=p("importcss_file_filter"),g=p("skin"),v=p("skin_url"),b=Array.prototype.push,x=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,T=e=>s(e)?t=>-1!==t.indexOf(e):e instanceof RegExp?t=>e.test(t):e,S=(e,t)=>{let s={};const r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(!r)return;const o=r[1],n=r[2].substr(1).split(".").join(" "),c=a.makeMap("a,img");return r[1]?(s={title:t},e.schema.getTextBlockElements()[o]?s.block=o:e.schema.getBlockElements()[o]||c[o.toLowerCase()]?s.selector=o:s.inline=o):r[2]&&(s={inline:"span",title:t.substr(1),classes:n}),u(e)?s.classes=n:s.attributes={class:n},s},k=(e,t)=>null===t||m(e),w=e=>{e.on("init",(()=>{const t=(()=>{const e=[],t=[],s={};return{addItemToGroup:(e,r)=>{s[e]?s[e].push(r):(t.push(e),s[e]=[r])},addItem:t=>{e.push(t)},toFormats:()=>{return(r=t,n=e=>{const t=s[e];return 0===t.length?[]:[{title:e,items:t}]},(e=>{const t=[];for(let s=0,r=e.length;s{const s=e.length,r=new Array(s);for(let o=0;oa.map(e,(e=>a.extend({},e,{original:e,selectors:{},filter:T(e.filter)}))))(d(e)),u=(t,s)=>{if(((e,t,s,r)=>!(k(e,s)?t in r:t in s.selectors))(e,t,s,r)){((e,t,s,r)=>{k(e,s)?r[t]=!0:s.selectors[t]=!0})(e,t,s,r);const o=((e,t,s,r)=>{let o;const n=f(e);return o=r&&r.selector_converter?r.selector_converter:n||(()=>S(e,s)),o.call(t,s,r)})(e,e.plugins.importcss,t,s);if(o){const t=o.name||c.DOM.uniqueId();return e.formatter.register(t,o),{title:o.title,format:t}}}return null};a.each(((e,t,r)=>{const o=[],n={},c=(t,n)=>{let p,u=t.href;if(u=(e=>{const t=l.cacheSuffix;return s(e)&&(e=e.replace("?"+t,"").replace("&"+t,"")),e})(u),u&&(!r||r(u,n))&&!((e,t)=>{const s=g(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+s,n=i.baseURL+"/skins/content/";return t===o+"/content"+(e.inline?".inline":"")+".min.css"||-1!==t.indexOf(n)}return!1})(e,u)){a.each(t.imports,(e=>{c(e,!0)}));try{p=t.cssRules||t.rules}catch(e){}a.each(p,(e=>{e.styleSheet&&e.styleSheet?c(e.styleSheet,!0):e.selectorText&&a.each(e.selectorText.split(","),(e=>{o.push(a.trim(e))}))}))}};a.each(e.contentCSS,(e=>{n[e]=!0})),r||(r=(e,t)=>t||n[e]);try{a.each(t.styleSheets,(e=>{c(e)}))}catch(e){}return o})(e,e.getDoc(),T(_(e))),(e=>{if(!x.test(e)&&(!n||n(e))){const s=((e,t)=>a.grep(e,(e=>!e.filter||e.filter(t))))(p,e);if(s.length>0)a.each(s,(s=>{const r=u(e,s);r&&t.addItemToGroup(s.title,r)}));else{const s=u(e,null);s&&t.addItem(s)}}}));const m=t.toFormats();e.dispatch("addStyleModifications",{items:m,replace:!h(e)})}))};e.add("importcss",(e=>((e=>{const t=e.options.register,o=e=>s(e)||n(e)||r(e);t("importcss_merge_classes",{processor:"boolean",default:!0}),t("importcss_exclusive",{processor:"boolean",default:!0}),t("importcss_selector_converter",{processor:"function"}),t("importcss_selector_filter",{processor:o}),t("importcss_file_filter",{processor:o}),t("importcss_groups",{processor:"object[]"}),t("importcss_append",{processor:"boolean",default:!1})})(e),w(e),(e=>({convertSelectorToFormat:t=>S(e,t)}))(e))))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/insertdatetime/plugin.min.js b/src/assets/tinymce/plugins/insertdatetime/plugin.min.js deleted file mode 100644 index 19294c92..00000000 --- a/src/assets/tinymce/plugins/insertdatetime/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),a=t("insertdatetime_dateformat"),n=t("insertdatetime_timeformat"),r=t("insertdatetime_formats"),s=t("insertdatetime_element"),i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),m="January February March April May June July August September October November December".split(" "),c=(e,t)=>{if((e=""+e).length(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+a.getFullYear())).replace("%y",""+a.getYear())).replace("%m",c(a.getMonth()+1,2))).replace("%d",c(a.getDate(),2))).replace("%H",""+c(a.getHours(),2))).replace("%M",""+c(a.getMinutes(),2))).replace("%S",""+c(a.getSeconds(),2))).replace("%I",""+((a.getHours()+11)%12+1))).replace("%p",a.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(m[a.getMonth()]))).replace("%b",""+e.translate(l[a.getMonth()]))).replace("%A",""+e.translate(o[a.getDay()]))).replace("%a",""+e.translate(i[a.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)){const a=d(e,t);let n;n=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,a,n)=>{const r=e.dom.create("time",{datetime:a},n);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,n,a):e.insertContent('")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,n)=>{u(e,null!=n?n:a(e))})),e.addCommand("mceInsertTime",((t,a)=>{u(e,null!=a?a:n(e))}))})(e),(e=>{const t=r(e),a=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:n(e)})(e)),s=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===a.get(),fetch:a=>{a(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{s(a.get())},onItemAction:(e,t)=>{a.set(t),s(t)},onSetup:g(e)});const i=e=>()=>{a.set(e),s(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:i(t)}))),onSetup:g(e)})})(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/link/plugin.min.js b/src/assets/tinymce/plugins/link/plugin.min.js deleted file mode 100644 index 51deeec6..00000000 --- a/src/assets/tinymce/plugins/link/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(l=o.constructor)||void 0===l?void 0:l.name)===r.name)?"string":t;var n,o,r,l})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),l=t("array"),i=(null,e=>null===e);const a=n("boolean"),s=e=>!(e=>null==e)(e),c=n("function"),u=(e,t)=>{if(l(e)){for(let n=0,o=e.length;n{},d=(e,t)=>e===t;class m{constructor(e,t){this.tag=e,this.value=t}static some(e){return new m(!0,e)}static none(){return m.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?m.some(e(this.value)):m.none()}bind(e){return this.tag?e(this.value):m.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:m.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return s(e)?m.some(e):m.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}m.singletonNone=new m(!1);const h=Array.prototype.indexOf,f=Array.prototype.push,p=e=>{const t=[];for(let n=0,o=e.length;n{for(let n=0;ne.exists((e=>n(e,t))),x=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;te?m.some(t):m.none(),b=e=>t=>t.options.get(e),_=b("link_assume_external_targets"),w=b("link_context_toolbar"),C=b("link_list"),O=b("link_default_target"),N=b("link_default_protocol"),A=b("link_target_list"),S=b("link_rel_list"),E=b("link_class_list"),T=b("link_title"),R=b("allow_unsafe_link_target"),P=b("link_quicklink");var L=tinymce.util.Tools.resolve("tinymce.util.Tools");const M=e=>o(e.value)?e.value:"",D=(e,t)=>{const n=[];return L.each(e,(e=>{const r=(e=>o(e.text)?e.text:o(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=D(e.menu,t);n.push({text:r,items:o})}else{const o=t(e);n.push({text:r,value:o})}})),n},B=(e=M)=>t=>m.from(t).map((t=>D(t,e))),I=e=>B(M)(e),j=B,K=(e,t)=>n=>({name:e,type:"listbox",label:t,items:n}),U=M,q=Object.keys,F=Object.hasOwnProperty,V=(e,t)=>F.call(e,t);var $=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),z=tinymce.util.Tools.resolve("tinymce.util.URI");const G=e=>s(e)&&"a"===e.nodeName.toLowerCase(),H=e=>G(e)&&!!Q(e),J=(e,t)=>{if(e.collapsed)return[];{const n=e.cloneContents(),o=n.firstChild,r=new $(o,n),l=[];let i=o;do{t(i)&&l.push(i)}while(i=r.next());return l}},W=e=>/^\w+:/i.test(e),Q=e=>{var t,n;return null!==(n=null!==(t=e.getAttribute("data-mce-href"))&&void 0!==t?t:e.getAttribute("href"))&&void 0!==n?n:""},X=(e,t)=>{const n=["noopener"],o=e?e.split(/\s+/):[],r=e=>e.filter((e=>-1===L.inArray(n,e))),l=t?(e=>(e=r(e)).length>0?e.concat(n):n)(o):r(o);return l.length>0?(e=>L.trim(e.sort().join(" ")))(l):""},Y=(e,t)=>(t=t||te(e.selection.getRng())[0]||e.selection.getNode(),le(t)?m.from(e.dom.select("a[href]",t)[0]):m.from(e.dom.getParent(t,"a[href]"))),Z=(e,t)=>Y(e,t).isSome(),ee=(e,t)=>t.fold((()=>e.getContent({format:"text"})),(e=>e.innerText||e.textContent||"")).replace(/\uFEFF/g,""),te=e=>J(e,H),ne=e=>L.grep(e,H),oe=e=>ne(e).length>0,re=e=>{const t=e.schema.getTextInlineElements();if(Y(e).exists((e=>e.hasAttribute("data-mce-block"))))return!1;const n=e.selection.getRng();return!!n.collapsed||0===J(n,(e=>1===e.nodeType&&!G(e)&&!V(t,e.nodeName.toLowerCase()))).length},le=e=>s(e)&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className),ie=(e,t,n)=>{const o=e.selection.getNode(),r=Y(e,o),l=((e,t)=>{const n={...t};if(0===S(e).length&&!R(e)){const e=X(n.rel,"_blank"===n.target);n.rel=e||null}return m.from(n.target).isNone()&&!1===A(e)&&(n.target=O(e)),n.href=((e,t)=>"http"!==t&&"https"!==t||W(e)?e:t+"://"+e)(n.href,_(e)),n})(e,(e=>{return t=["title","rel","class","target"],n=(t,n)=>(e[n].each((e=>{t[n]=e.length>0?e:null})),t),o={href:e.href},((e,t)=>{for(let n=0,o=e.length;n{o=n(o,e)})),o;var t,n,o})(n));e.undoManager.transact((()=>{n.href===t.href&&t.attach(),r.fold((()=>{((e,t,n,o)=>{const r=e.dom;le(t)?ge(r,t,o):n.fold((()=>{e.execCommand("mceInsertLink",!1,o)}),(t=>{e.insertContent(r.createHTML("a",o,r.encode(t)))}))})(e,o,n.text,l)}),(t=>{e.focus(),((e,t,n,o)=>{n.each((e=>{V(t,"innerText")?t.innerText=e:t.textContent=e})),e.dom.setAttribs(t,o),e.selection.select(t)})(e,t,n.text,l)}))}))},ae=e=>{const{class:t,href:n,rel:o,target:r,text:l,title:a}=e;return((e,t)=>{const n={};var o;return((e,t,n,o)=>{((e,t)=>{const n=q(e);for(let o=0,r=n.length;o{(t(e,r)?n:o)(e,r)}))})(e,((e,t)=>!1===i(e)),(o=n,(e,t)=>{o[t]=e}),g),n})({class:t.getOrNull(),href:n,rel:o.getOrNull(),target:r.getOrNull(),text:l.getOrNull(),title:a.getOrNull()})},se=(e,t,n)=>{const o=((e,t)=>{const n=e.options.get,o={allow_html_data_urls:n("allow_html_data_urls"),allow_script_urls:n("allow_script_urls"),allow_svg_data_urls:n("allow_svg_data_urls")},r=t.href;return{...t,href:z.isDomSafe(r,"a",o)?r:""}})(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,ae(o)):ie(e,t,o)},ce=e=>{e.hasPlugin("rtc",!0)?e.execCommand("unlink"):(e=>{e.undoManager.transact((()=>{const t=e.selection.getNode();le(t)?ue(e,t):(e=>{const t=e.dom,n=e.selection,o=n.getBookmark(),r=n.getRng().cloneRange(),l=t.getParent(r.startContainer,"a[href]",e.getBody()),i=t.getParent(r.endContainer,"a[href]",e.getBody());l&&r.setStartBefore(l),i&&r.setEndAfter(i),n.setRng(r),e.execCommand("unlink"),n.moveToBookmark(o)})(e),e.focus()}))})(e)},ue=(e,t)=>{var n;const o=e.dom.select("img",t)[0];if(o){const r=e.dom.getParents(o,"a[href]",t)[0];r&&(null===(n=r.parentNode)||void 0===n||n.insertBefore(o,r),e.dom.remove(r))}},ge=(e,t,n)=>{var o;const r=e.select("img",t)[0];if(r){const t=e.create("a",n);null===(o=r.parentNode)||void 0===o||o.insertBefore(t,r),t.appendChild(r)}},de=(e,t)=>k(t,(t=>(e=>{return V(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n})(t)?de(e,t.items):y(t.value===e,t))),me=(e,t)=>{const n={text:e.text,title:e.title},o=(e,o)=>{const r=(l=t,i=o,"link"===i?l.link:"anchor"===i?l.anchor:m.none()).getOr([]);var l,i;return((e,t,n,o)=>{const r=o[t],l=e.length>0;return void 0!==r?de(r,n).map((t=>({url:{value:t.value,meta:{text:l?e:t.text,attach:g}},text:l?e:t.text}))):m.none()})(n.text,o,r,e)};return{onChange:(e,t)=>{const r=t.name;return"url"===r?(e=>{const t=(o=e.url,y(n.text.length<=0,m.from(null===(r=o.meta)||void 0===r?void 0:r.text).getOr(o.value)));var o,r;const l=(e=>{var t;return y(n.title.length<=0,m.from(null===(t=e.meta)||void 0===t?void 0:t.title).getOr(""))})(e.url);return t.isSome()||l.isSome()?m.some({...t.map((e=>({text:e}))).getOr({}),...l.map((e=>({title:e}))).getOr({})}):m.none()})(e()):((e,t)=>h.call(e,t))(["anchor","link"],r)>-1?o(e(),r):"text"===r||"title"===r?(n[r]=e()[r],m.none()):m.none()}}};var he=tinymce.util.Tools.resolve("tinymce.util.Delay");const fe=e=>{const t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?m.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:e=>({...e,href:"mailto:"+t})}):m.none()},pe=(e,t)=>n=>{const o=n.href;return 1===e&&!W(o)||0===e&&/^\s*www(\.|\d\.)/i.test(o)?m.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${t}:// prefix?`,preprocess:e=>({...e,href:t+"://"+o})}):m.none()},ke=e=>{const t=e.dom.select("a:not([href])"),n=p(((e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r{const t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]})));return n.length>0?m.some([{text:"None",value:""}].concat(n)):m.none()},ve=e=>{const t=E(e);return t.length>0?I(t):m.none()},xe=e=>{try{return m.some(JSON.parse(e))}catch(e){return m.none()}},ye=(e,t)=>{const n=S(e);if(n.length>0){const o=v(t,"_blank"),r=e=>X(U(e),o);return(!1===R(e)?j(r):I)(n)}return m.none()},be=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],_e=e=>{const t=A(e);return l(t)?I(t).orThunk((()=>m.some(be))):!1===t?m.none():m.some(be)},we=(e,t,n)=>{const o=e.getAttrib(t,n);return null!==o&&o.length>0?m.some(o):m.none()},Ce=(e,t)=>(e=>{const t=t=>e.convertURL(t.value||t.url||"","href"),n=C(e);return new Promise((e=>{o(n)?fetch(n).then((e=>e.ok?e.text().then(xe):Promise.reject())).then(e,(()=>e(m.none()))):c(n)?n((t=>e(m.some(t)))):e(m.from(n))})).then((e=>e.bind(j(t)).map((e=>e.length>0?[{text:"None",value:""}].concat(e):e))))})(e).then((n=>{const o=((e,t)=>{const n=e.dom,o=re(e)?m.some(ee(e.selection,t)):m.none(),r=t.bind((e=>m.from(n.getAttrib(e,"href")))),l=t.bind((e=>m.from(n.getAttrib(e,"target")))),i=t.bind((e=>we(n,e,"rel"))),a=t.bind((e=>we(n,e,"class")));return{url:r,text:o,title:t.bind((e=>we(n,e,"title"))),target:l,rel:i,linkClass:a}})(e,t);return{anchor:o,catalogs:{targets:_e(e),rels:ye(e,o.target),classes:ve(e),anchor:ke(e),link:n},optNode:t,flags:{titleEnabled:T(e)}}})),Oe=e=>{const t=(e=>{const t=Y(e);return Ce(e,t)})(e);t.then((t=>{const n=((e,t)=>n=>{const o=n.getData();if(!o.url.value)return ce(e),void n.close();const r=e=>m.from(o[e]).filter((n=>!v(t.anchor[e],n))),l={href:o.url.value,text:r("text"),target:r("target"),rel:r("rel"),class:r("linkClass"),title:r("title")},i={href:o.url.value,attach:void 0!==o.url.meta&&o.url.meta.attach?o.url.meta.attach:g};((e,t)=>k([fe,pe(_(e),N(e))],(e=>e(t))).fold((()=>Promise.resolve(t)),(n=>new Promise((o=>{((e,t,n)=>{const o=e.selection.getRng();he.setEditorTimeout(e,(()=>{e.windowManager.confirm(t,(t=>{e.selection.setRng(o),n(t)}))}))})(e,n.message,(e=>{o(e?n.preprocess(t):t)}))})))))(e,l).then((t=>{se(e,i,t)})),n.close()})(e,t);return((e,t,n)=>{const o=e.anchor.text.map((()=>({name:"text",type:"input",label:"Text to display"}))).toArray(),r=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],l=((e,t)=>{const n=e.anchor,o=n.url.getOr("");return{url:{value:o,meta:{original:{value:o}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:o,link:o,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr("")}})(e,m.from(O(n))),i=e.catalogs,a=me(l,i);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:p([[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],o,r,x([i.anchor.map(K("anchor","Anchors")),i.rels.map(K("rel","Rel")),i.targets.map(K("target","Open link in...")),i.link.map(K("link","Link list")),i.classes.map(K("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:l,onChange:(e,{name:t})=>{a.onChange(e.getData,{name:t}).each((t=>{e.setData(t)}))},onSubmit:t}})(t,n,e)})).then((t=>{e.windowManager.open(t)}))};var Ne=tinymce.util.Tools.resolve("tinymce.util.VK");const Ae=(e,t)=>e.dom.getParent(t,"a[href]"),Se=e=>Ae(e,e.selection.getStart()),Ee=(e,t)=>{if(t){const n=Q(t);if(/^#/.test(n)){const t=e.dom.select(n);t.length&&e.selection.scrollIntoView(t[0],!0)}else(e=>{const t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),((e,t)=>{document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)})(t,n)})(t.href)}},Te=e=>()=>{e.execCommand("mceLink",!1,{dialog:!0})},Re=e=>()=>{Ee(e,Se(e))},Pe=(e,t)=>(e.on("NodeChange",t),()=>e.off("NodeChange",t)),Le=e=>t=>{const n=()=>{t.setActive(!e.mode.isReadOnly()&&Z(e,e.selection.getNode())),t.setEnabled(e.selection.isEditable())};return n(),Pe(e,n)},Me=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return n(),Pe(e,n)},De=e=>t=>{const n=()=>t.setEnabled((e=>1===(e.selection.isCollapsed()?ne(e.dom.getParents(e.selection.getStart())):te(e.selection.getRng())).length)(e));return n(),Pe(e,n)},Be=e=>t=>{const n=e.dom.getParents(e.selection.getStart()),o=n=>{t.setEnabled((t=>{return oe(t)||(n=e.selection.getRng(),te(n).length>0);var n})(n)&&e.selection.isEditable())};return o(n),Pe(e,(e=>o(e.parents)))};e.add("link",(e=>{(e=>{const t=e.options.register;t("link_assume_external_targets",{processor:e=>{const t=o(e)||a(e);return t?!0===e?{value:1,valid:t}:"http"===e||"https"===e?{value:e,valid:t}:{value:0,valid:t}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),t("link_context_toolbar",{processor:"boolean",default:!1}),t("link_list",{processor:e=>o(e)||c(e)||u(e,r)}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"}),t("link_target_list",{processor:e=>a(e)||u(e,r),default:!0}),t("link_rel_list",{processor:"object[]",default:[]}),t("link_class_list",{processor:"object[]",default:[]}),t("link_title",{processor:"boolean",default:!0}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("link_quicklink",{processor:"boolean",default:!1})})(e),(e=>{e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:Te(e),onSetup:Le(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Re(e),onSetup:De(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>ce(e),onSetup:Be(e)})})(e),(e=>{e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Re(e),onSetup:De(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onSetup:Me(e),onAction:Te(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>ce(e),onSetup:Be(e)})})(e),(e=>{e.ui.registry.addContextMenu("link",{update:t=>e.dom.isEditable(t)?oe(e.dom.getParents(t,"a"))?"link unlink openlink":"link":""})})(e),(e=>{const t=t=>{const n=e.selection.getNode();return t.setEnabled(Z(e,n)),g};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Le(e)},label:"Link",predicate:t=>w(e)&&Z(e,t),initValue:()=>Y(e).fold((()=>""),Q),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:t=>{const n=e.selection.getNode();return t.setActive(Z(e,n)),Le(e)(t)},onAction:t=>{const n=t.getValue(),o=(t=>{const n=Y(e),o=re(e);if(n.isNone()&&o){const o=ee(e.selection,n);return y(0===o.length,t)}return m.none()})(n);se(e,{href:n,attach:g},{href:n,text:o,title:m.none(),rel:m.none(),target:m.none(),class:m.none()}),(e=>{e.selection.collapse(!1)})(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:t,onAction:t=>{ce(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:t,onAction:t=>{Re(e)(),t.hide()}}]})})(e),(e=>{e.on("click",(t=>{const n=Ae(e,t.target);n&&Ne.metaKeyPressed(t)&&(t.preventDefault(),Ee(e,n))})),e.on("keydown",(t=>{if(!t.isDefaultPrevented()&&13===t.keyCode&&(e=>!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey)(t)){const n=Se(e);n&&(t.preventDefault(),Ee(e,n))}}))})(e),(e=>{e.addCommand("mceLink",((t,n)=>{!0!==(null==n?void 0:n.dialog)&&P(e)?e.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"}):Oe(e)}))})(e),(e=>{e.addShortcut("Meta+K","",(()=>{e.execCommand("mceLink")}))})(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/lists/plugin.min.js b/src/assets/tinymce/plugins/lists/plugin.min.js deleted file mode 100644 index 5d3b7357..00000000 --- a/src/assets/tinymce/plugins/lists/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var n,o,r,s})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),s=t("array"),i=n("boolean"),l=e=>!(e=>null==e)(e),a=n("function"),d=n("number"),c=()=>{},m=e=>()=>e,u=(e,t)=>e===t,p=e=>t=>!e(t),g=m(!1);class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return l(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const f=Array.prototype.slice,y=Array.prototype.indexOf,v=Array.prototype.push,C=(e,t)=>{return n=e,o=t,y.call(n,o)>-1;var n,o},b=(e,t)=>{for(let n=0,o=e.length;n{const n=e.length,o=new Array(n);for(let r=0;r{for(let n=0,o=e.length;n{const n=[];for(let o=0,r=e.length;o(S(e,((e,o)=>{n=t(n,e,o)})),n),A=(e,t,n)=>{for(let o=0,r=e.length;oA(e,t,g),x=(e,t)=>(e=>{const t=[];for(let n=0,o=e.length;n{const t=f.call(e,0);return t.reverse(),t},w=(e,t)=>t>=0&&tw(e,0),D=e=>w(e,e.length-1),B=(e,t)=>{const n=[],o=a(t)?e=>b(n,(n=>t(n,e))):e=>C(n,e);for(let t=0,r=e.length;te.exists((e=>n(e,t))),P=(e,t,n)=>e.isSome()&&t.isSome()?h.some(n(e.getOrDie(),t.getOrDie())):h.none(),I=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},R=(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return I(n.childNodes[0])},U=(e,t)=>{const n=(t||document).createElement(e);return I(n)},$=I,_=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},H=(e,t)=>e.dom===t.dom,F=_,V="undefined"!=typeof window?window:Function("return this;")(),j=(e,t)=>((e,t)=>{let n=null!=t?t:V;for(let t=0;t{const t=j("ownerDocument.defaultView",e);return r(e)&&((e=>((e,t)=>{const n=((e,t)=>j(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(K(e).constructor.name))},Q=e=>e.dom.nodeName.toLowerCase(),W=e=>e.dom.nodeType,q=e=>t=>W(t)===e,Z=e=>G(e)&&z(e.dom),G=q(1),J=q(3),X=q(9),Y=q(11),ee=e=>t=>G(t)&&Q(t)===e,te=e=>h.from(e.dom.parentNode).map($),ne=e=>N(e.dom.childNodes,$),oe=(e,t)=>{const n=e.dom.childNodes;return h.from(n[t]).map($)},re=e=>oe(e,0),se=e=>oe(e,e.dom.childNodes.length-1),ie=a(Element.prototype.attachShadow)&&a(Node.prototype.getRootNode)?e=>$(e.dom.getRootNode()):e=>X(e)?e:$(e.dom.ownerDocument),le=e=>$(e.dom.host),ae=e=>{const t=J(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return(e=>{const t=ie(e);return Y(n=t)&&l(n.dom.host)?h.some(t):h.none();var n})($(t)).fold((()=>n.body.contains(t)),(o=ae,r=le,e=>o(r(e))));var o,r};var de=(e,t,n,o,r)=>e(n,o)?h.some(n):a(r)&&r(n)?h.none():t(n,o,r);const ce=(e,t,n)=>{let o=e.dom;const r=a(n)?n:g;for(;o.parentNode;){o=o.parentNode;const e=$(o);if(t(e))return h.some(e);if(r(e))break}return h.none()},me=(e,t,n)=>de(((e,t)=>t(e)),ce,e,t,n),ue=(e,t,n)=>ce(e,(e=>_(e,t)),n),pe=(e,t)=>{te(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},ge=(e,t)=>{e.dom.appendChild(t.dom)},he=(e,t)=>{S(t,(t=>{ge(e,t)}))},fe=e=>{e.dom.textContent="",S(ne(e),(e=>{ye(e)}))},ye=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)};var ve=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),Ce=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),be=tinymce.util.Tools.resolve("tinymce.util.VK");const Ne=e=>N(e,$),Se=Object.keys,Le=(e,t)=>{const n=Se(e);for(let o=0,r=n.length;o{const n=e.dom;Le(t,((e,t)=>{((e,t,n)=>{if(!(o(n)||i(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(n,t,e)}))},Ae=e=>O(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),Te=e=>((e,t)=>$(e.dom.cloneNode(!0)))(e),xe=(e,t)=>{const n=((e,t)=>{const n=U(t),o=Ae(e);return Oe(n,o),n})(e,t);var o,r;r=n,(e=>h.from(e.dom.nextSibling).map($))(o=e).fold((()=>{te(o).each((e=>{ge(e,r)}))}),(e=>{pe(e,r)}));const s=ne(e);return he(n,s),ye(e),n};var Ee=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),we=tinymce.util.Tools.resolve("tinymce.util.Tools");const ke=e=>t=>l(t)&&t.nodeName.toLowerCase()===e,De=e=>t=>l(t)&&e.test(t.nodeName),Be=e=>l(e)&&3===e.nodeType,Me=e=>l(e)&&1===e.nodeType,Pe=De(/^(OL|UL|DL)$/),Ie=De(/^(OL|UL)$/),Re=ke("ol"),Ue=De(/^(LI|DT|DD)$/),$e=De(/^(DT|DD)$/),_e=De(/^(TH|TD)$/),He=ke("br"),Fe=(e,t)=>l(t)&&t.nodeName in e.schema.getTextBlockElements(),Ve=(e,t)=>l(e)&&e.nodeName in t,je=(e,t)=>l(t)&&t.nodeName in e.schema.getVoidElements(),Ke=(e,t,n)=>{const o=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&o},ze=(e,t)=>e.isChildOf(t,e.getRoot()),Qe=e=>t=>t.options.get(e),We=Qe("lists_indent_on_tab"),qe=Qe("forced_root_block"),Ze=Qe("forced_root_block_attrs"),Ge=(e,t)=>{const n=e.dom,o=e.schema.getBlockElements(),r=n.createFragment(),s=qe(e),i=Ze(e);let l,a,d=!1;for(a=n.create(s,i),Ve(t.firstChild,o)||r.appendChild(a);l=t.firstChild;){const e=l.nodeName;d||"SPAN"===e&&"bookmark"===l.getAttribute("data-mce-type")||(d=!0),Ve(l,o)?(r.appendChild(l),a=null):(a||(a=n.create(s,i),r.appendChild(a)),a.appendChild(l))}return!d&&a&&a.appendChild(n.create("br",{"data-mce-bogus":"1"})),r},Je=Ee.DOM,Xe=ee("dd"),Ye=ee("dt"),et=(e,t)=>{var n;Xe(t)?xe(t,"dt"):Ye(t)&&(n=t,h.from(n.dom.parentElement).map($)).each((n=>((e,t,n)=>{const o=Je.select('span[data-mce-type="bookmark"]',t),r=Ge(e,n),s=Je.createRng();s.setStartAfter(n),s.setEndAfter(t);const i=s.extractContents();for(let t=i.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){Je.remove(t);break}e.dom.isEmpty(i)||Je.insertAfter(i,t),Je.insertAfter(r,t);const l=n.parentElement;l&&Ke(e.dom,l)&&(e=>{const t=e.parentNode;t&&we.each(o,(e=>{t.insertBefore(e,n.parentNode)})),Je.remove(e)})(l),Je.remove(n),Ke(e.dom,t)&&Je.remove(t)})(e,n.dom,t.dom)))},tt=e=>{Ye(e)&&xe(e,"dd")},nt=(e,t)=>{if(Be(e))return{container:e,offset:t};const n=ve.getNode(e,t);return Be(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&Be(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&Be(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},ot=e=>{const t=e.cloneRange(),n=nt(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=nt(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t},rt=["OL","UL","DL"],st=rt.join(","),it=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,st,dt(e,n))},lt=e=>{const t=e.selection.getSelectedBlocks();return L(((e,t)=>{const n=we.map(t,(t=>e.dom.getParent(t,"li,dd,dt",dt(e,t))||t));return B(n)})(e,t),Ue)},at=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},dt=(e,t)=>{const n=e.dom.getParents(t,e.dom.isBlock),o=T(n,(t=>{return n=e.schema,!Pe(o=t)&&!Ue(o)&&b(rt,(e=>n.isValidChild(o.nodeName,e)));var n,o}));return o.getOr(e.getBody())},ct=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",dt(e,t));return D(n)},mt=(e,t)=>{const n=N(t,(t=>ct(e,t).getOr(t)));return B(n)},ut=e=>/\btox\-/.test(e.className),pt=(e,t)=>A(e,Pe,_e).exists((e=>e.nodeName===t&&!ut(e))),gt=(e,t)=>null!==t&&!e.dom.isEditable(t),ht=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return gt(e,n)},ft=(e,t)=>{const n=e.selection.getNode();return t({parents:e.dom.getParents(n),element:n}),e.on("NodeChange",t),()=>e.off("NodeChange",t)},yt=(e,t)=>{const n=(t||document).createDocumentFragment();return S(e,(e=>{n.appendChild(e.dom)})),$(n)},vt=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),Ct=(bt=/^\s+|\s+$/g,e=>e.replace(bt,""));var bt;const Nt=(e,t,n)=>{((e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);(e=>void 0!==e.style&&a(e.style.getPropertyValue))(e)&&e.style.setProperty(t,n)})(e.dom,t,n)},St=e=>F(e,"OL,UL"),Lt=e=>re(e).exists(St),Ot=e=>"listAttributes"in e,At=e=>"isComment"in e,Tt=e=>e.depth>0,xt=e=>e.isSelected,Et=e=>{const t=ne(e),n=se(e).exists(St)?t.slice(0,-1):t;return N(n,Te)},wt=(e,t)=>{ge(e.item,t.list)},kt=(e,t)=>{const n={list:U(t,e),item:U("li",e)};return ge(n.list,n.item),n},Dt=(e,t,n)=>{const o=t.slice(0,n.depth);return D(o).each((t=>{if(Ot(n)){const o=((e,t,n)=>{const o=U("li",e);return Oe(o,t),he(o,n),o})(e,n.itemAttributes,n.content);((e,t)=>{ge(e.list,t),e.item=t})(t,o),((e,t)=>{Q(e.list)!==t.listType&&(e.list=xe(e.list,t.listType)),Oe(e.list,t.listAttributes)})(t,n)}else if((e=>"isFragment"in e)(n))he(t.item,n.content);else{const e=R(`\x3c!--${n.content}--\x3e`);ge(t.list,e)}})),o},Bt=(e,t)=>{let n=h.none();const o=O(t,((t,o,r)=>At(o)?0===r?(n=h.some(o),t):Dt(e,t,o):o.depth>t.length?((e,t,n)=>{const o=((e,t,n)=>{const o=[];for(let r=0;r{for(let t=1;t{for(let t=0;t{Ot(t)&&(Oe(e.list,t.listAttributes),Oe(e.item,t.itemAttributes)),he(e.item,t.content)}))})(o,n),r=o,P(D(t),k(r),wt),t.concat(o)})(e,t,o):Dt(e,t,o)),[]);return n.each((e=>{const t=R(`\x3c!--${e.content}--\x3e`);k(o).each((e=>{((e,t)=>{re(e).fold((()=>{ge(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))})(e.list,t)}))})),k(o).map((e=>e.list))},Mt=e=>(S(e,((t,n)=>{((e,t)=>{const n=e[t].depth,o=e=>e.depth===n&&!e.dirty,r=e=>e.depthA(e.slice(t+1),o,r)))})(e,n).fold((()=>{t.dirty&&Ot(t)&&(e=>{e.listAttributes=((e,t)=>{const n={};var o;return((e,t,n,o)=>{Le(e,((e,r)=>{(t(e,r)?n:o)(e,r)}))})(e,t,(o=n,(e,t)=>{o[t]=e}),c),n})(e.listAttributes,((e,t)=>"start"!==t))})(t)}),(e=>{return o=e,void(Ot(n=t)&&Ot(o)&&(n.listType=o.listType,n.listAttributes={...o.listAttributes}));var n,o}))})),e),Pt=(e,t,n,o)=>{var r,s;if(8===W(s=o)||"#comment"===Q(s))return[{depth:e+1,content:null!==(r=o.dom.nodeValue)&&void 0!==r?r:"",dirty:!1,isSelected:!1,isComment:!0}];t.each((e=>{H(e.start,o)&&n.set(!0)}));const i=((e,t,n)=>te(e).filter(G).map((o=>({depth:t,dirty:!1,isSelected:n,content:Et(e),itemAttributes:Ae(e),listAttributes:Ae(o),listType:Q(o),isInPreviousLi:!1}))))(o,e,n.get());t.each((e=>{H(e.end,o)&&n.set(!1)}));const l=se(o).filter(St).map((o=>Rt(e,t,n,o))).getOr([]);return i.toArray().concat(l)},It=(e,t,n,o)=>re(o).filter(St).fold((()=>Pt(e,t,n,o)),(r=>{const s=O(ne(o),((o,s,i)=>{if(0===i)return o;if(F(s,"LI"))return o.concat(Pt(e,t,n,s));{const t={isFragment:!0,depth:e,content:[s],isSelected:!1,dirty:!1,parentListType:Q(r)};return o.concat(t)}}),[]);return Rt(e,t,n,r).concat(s)})),Rt=(e,t,n,o)=>x(ne(o),(o=>(St(o)?Rt:It)(e+1,t,n,o))),Ut=(e,t,n)=>{const o=((e,t)=>{const n=(e=>{let t=!1;return{get:()=>t,set:e=>{t=e}}})();return N(e,(e=>({sourceList:e,entries:Rt(0,t,n,e)})))})(t,(e=>{const t=N(lt(e),$);return P(T(t,p(Lt)),T(E(t),p(Lt)),((e,t)=>({start:e,end:t})))})(e));S(o,(t=>{((e,t)=>{S(L(e,xt),(e=>((e,t)=>{switch(e){case"Indent":t.depth++;break;case"Outdent":t.depth--;break;case"Flatten":t.depth=0}t.dirty=!0})(t,e)))})(t.entries,n);const o=((e,t)=>x(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const o=[];let r=[];for(let s=0,i=e.length;sk(t).exists(Tt)?((e,t)=>{const n=Mt(t);return Bt(e.contentDocument,n).toArray()})(e,t):((e,t)=>{const n=Mt(t);return N(n,(t=>{const n=At(t)?yt([R(`\x3c!--${t.content}--\x3e`)]):yt(t.content);return $(Ge(e,n.dom))}))})(e,t))))(e,t.entries);var r;S(o,(t=>{vt(e,"Indent"===n?"IndentList":"OutdentList",t.dom)})),r=t.sourceList,S(o,(e=>{pe(r,e)})),ye(t.sourceList)}))},$t=(e,t)=>{const n=Ne((e=>{const t=(e=>{const t=ct(e,e.selection.getStart()),n=L(e.selection.getSelectedBlocks(),Ie);return t.toArray().concat(n)})(e),n=(e=>{const t=e.selection.getStart();return e.dom.getParents(t,"ol,ul",dt(e,t))})(e);return T(n,(e=>{return t=$(e),te(t).exists((e=>Ue(e.dom)&&re(e).exists((e=>!Pe(e.dom)))&&se(e).exists((e=>!Pe(e.dom)))));var t})).fold((()=>mt(e,t)),(e=>[e]))})(e)),o=Ne((e=>L(lt(e),$e))(e));let r=!1;if(n.length||o.length){const s=e.selection.getBookmark();Ut(e,n,t),((e,t,n)=>{S(n,"Indent"===t?tt:t=>et(e,t))})(e,t,o),e.selection.moveToBookmark(s),e.selection.setRng(ot(e.selection.getRng())),e.nodeChanged(),r=!0}return r},_t=(e,t)=>!(e=>{const t=it(e);return gt(e,t)})(e)&&$t(e,t),Ht=e=>_t(e,"Indent"),Ft=e=>_t(e,"Outdent"),Vt=e=>_t(e,"Flatten"),jt=e=>"\ufeff"===e;var Kt=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");const zt=Ee.DOM,Qt=e=>{const t={},n=n=>{let o=e[n?"startContainer":"endContainer"],r=e[n?"startOffset":"endOffset"];if(Me(o)){const e=zt.create("span",{"data-mce-type":"bookmark"});o.hasChildNodes()?(r=Math.min(r,o.childNodes.length-1),n?o.insertBefore(e,o.childNodes[r]):zt.insertAfter(e,o.childNodes[r])):o.appendChild(e),o=e,r=0}t[n?"startContainer":"endContainer"]=o,t[n?"startOffset":"endOffset"]=r};return n(!0),e.collapsed||n(),t},Wt=e=>{const t=t=>{let n=e[t?"startContainer":"endContainer"],o=e[t?"startOffset":"endOffset"];if(n){if(Me(n)&&n.parentNode){const e=n;o=(e=>{var t;let n=null===(t=e.parentNode)||void 0===t?void 0:t.firstChild,o=0;for(;n;){if(n===e)return o;Me(n)&&"bookmark"===n.getAttribute("data-mce-type")||o++,n=n.nextSibling}return-1})(n),n=n.parentNode,zt.remove(e),!n.hasChildNodes()&&zt.isBlock(n)&&n.appendChild(zt.create("br"))}e[t?"startContainer":"endContainer"]=n,e[t?"startOffset":"endOffset"]=o}};t(!0),t();const n=zt.createRng();return n.setStart(e.startContainer,e.startOffset),e.endContainer&&n.setEnd(e.endContainer,e.endOffset),ot(n)},qt=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},Zt=(e,t)=>{we.each(t,((t,n)=>{e.setAttribute(n,t)}))},Gt=(e,t,n)=>{((e,t,n)=>{const o=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",o)})(e,t,n),((e,t,n)=>{Zt(t,n["list-attributes"]),we.each(e.select("li",t),(e=>{Zt(e,n["list-item-attributes"])}))})(e,t,n)},Jt=(e,t)=>l(t)&&!Ve(t,e.schema.getBlockElements()),Xt=(e,t,n,o)=>{let r=t[n?"startContainer":"endContainer"];const s=t[n?"startOffset":"endOffset"];Me(r)&&(r=r.childNodes[Math.min(s,r.childNodes.length-1)]||r),!n&&He(r.nextSibling)&&(r=r.nextSibling);const i=(t,n)=>{var r;const s=new Ce(t,(t=>{for(;!e.dom.isBlock(t)&&t.parentNode&&o!==t;)t=t.parentNode;return t})(t)),i=n?"next":"prev";let l;for(;l=s[i]();)if(!je(e,l)&&!jt(l.textContent)&&0!==(null===(r=l.textContent)||void 0===r?void 0:r.length))return h.some(l);return h.none()};if(n&&Be(r))if(jt(r.textContent))r=i(r,!1).getOr(r);else for(null!==r.parentNode&&Jt(e,r.parentNode)&&(r=r.parentNode);null!==r.previousSibling&&(Jt(e,r.previousSibling)||Be(r.previousSibling));)r=r.previousSibling;if(!n&&Be(r))if(jt(r.textContent))r=i(r,!0).getOr(r);else for(null!==r.parentNode&&Jt(e,r.parentNode)&&(r=r.parentNode);null!==r.nextSibling&&(Jt(e,r.nextSibling)||Be(r.nextSibling));)r=r.nextSibling;for(;r.parentNode!==o;){const t=r.parentNode;if(Fe(e,r))return r;if(/^(TD|TH)$/.test(t.nodeName))return r;r=t}return r},Yt=(e,t,n)=>{const o=e.selection.getRng();let r="LI";const s=dt(e,((e,t)=>{const n=e.selection.getStart(!0),o=Xt(e,t,!0,e.getBody());return r=$(o),s=$(t.commonAncestorContainer),i=r,l=function(e,...t){return(...n)=>{const o=t.concat(n);return e.apply(null,o)}}(H,s),ce(i,l,void 0).isSome()?t.commonAncestorContainer:n;var r,s,i,l})(e,o)),i=e.dom;if("false"===i.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(r="DT");const l=Qt(o),a=L(((e,t,n)=>{const o=[],r=e.dom,s=Xt(e,t,!0,n),i=Xt(e,t,!1,n);let l;const a=[];for(let e=s;e&&(a.push(e),e!==i);e=e.nextSibling);return we.each(a,(t=>{var s;if(Fe(e,t))return o.push(t),void(l=null);if(r.isBlock(t)||He(t))return He(t)&&r.remove(t),void(l=null);const i=t.nextSibling;Kt.isBookmarkNode(t)&&(Pe(i)||Fe(e,i)||!i&&t.parentNode===n)?l=null:(l||(l=r.create("p"),null===(s=t.parentNode)||void 0===s||s.insertBefore(l,t),o.push(l)),l.appendChild(t))})),o})(e,o,s),e.dom.isEditable);we.each(a,(o=>{let s;const l=o.previousSibling,a=o.parentNode;Ue(a)||(l&&Pe(l)&&l.nodeName===t&&((e,t,n)=>{const o=e.getStyle(t,"list-style-type");let r=n?n["list-style-type"]:"";return r=null===r?"":r,o===r})(i,l,n)?(s=l,o=i.rename(o,r),l.appendChild(o)):(s=i.create(t),a.insertBefore(s,o),s.appendChild(o),o=i.rename(o,r)),((e,t,n)=>{we.each(["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"],(n=>e.setStyle(t,n,"")))})(i,o),Gt(i,s,n),tn(e.dom,s))})),e.selection.setRng(Wt(l))},en=(e,t,n)=>{return((e,t)=>Pe(e)&&e.nodeName===(null==t?void 0:t.nodeName))(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(o=n,t.className===o.className);var o},tn=(e,t)=>{let n,o=t.nextSibling;if(en(e,t,o)){const r=o;for(;n=r.firstChild;)t.appendChild(n);e.remove(r)}if(o=t.previousSibling,en(e,t,o)){const r=o;for(;n=r.lastChild;)t.insertBefore(n,t.firstChild);e.remove(r)}},nn=(e,t,n,o)=>{if(t.nodeName!==n){const r=e.dom.rename(t,n);Gt(e.dom,r,o),vt(e,qt(n),r)}else Gt(e.dom,t,o),vt(e,qt(n),t)},on=(e,t,n,o)=>{if(t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),t.nodeName!==n){const r=e.dom.rename(t,n);Gt(e.dom,r,o),vt(e,qt(n),r)}else Gt(e.dom,t,o),vt(e,qt(n),t)},rn=e=>"list-style-type"in e,sn=(e,t,n)=>{const o=it(e);if(ht(e,o))return;const s=(e=>{const t=it(e),n=e.selection.getSelectedBlocks();return((e,t)=>l(e)&&1===t.length&&t[0]===e)(t,n)?(e=>L(e.querySelectorAll(st),Pe))(t):L(n,(e=>Pe(e)&&t!==e))})(e),i=r(n)?n:{};s.length>0?((e,t,n,o,r)=>{const s=Pe(t);if(!s||t.nodeName!==o||rn(r)||ut(t)){Yt(e,o,r);const i=Qt(e.selection.getRng()),l=s?[t,...n]:n,a=s&&ut(t)?on:nn;we.each(l,(t=>{a(e,t,o,r)})),e.selection.setRng(Wt(i))}else Vt(e)})(e,o,s,t,i):((e,t,n,o)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||rn(o)||ut(t)){const r=Qt(e.selection.getRng());ut(t)&&t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),Gt(e.dom,t,o);const s=e.dom.rename(t,n);tn(e.dom,s),e.selection.setRng(Wt(r)),Yt(e,n,o),vt(e,qt(n),s)}else Vt(e);else Yt(e,n,o),vt(e,qt(n),t)})(e,o,t,i)},ln=Ee.DOM,an=(e,t)=>{const n=we.grep(e.select("ol,ul",t));we.each(n,(t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const o=n.previousSibling;o&&"LI"===o.nodeName?(o.appendChild(t),Ke(e,n)&&ln.remove(n)):ln.setStyle(n,"listStyleType","none")}if(Pe(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)}))},dn=(e,t,n,o)=>{let r=t.startContainer;const s=t.startOffset;if(Be(r)&&(n?s0))return r;const i=e.schema.getNonEmptyElements();Me(r)&&(r=ve.getNode(r,s));const l=new Ce(r,o);n&&((e,t)=>!!He(t)&&e.isBlock(t.nextSibling)&&!He(t.previousSibling))(e.dom,r)&&l.next();const a=n?l.next.bind(l):l.prev2.bind(l);for(;r=a();){if("LI"===r.nodeName&&!r.hasChildNodes())return r;if(i[r.nodeName])return r;if(Be(r)&&r.data.length>0)return r}return null},cn=(e,t)=>{const n=t.childNodes;return 1===n.length&&!Pe(n[0])&&e.isBlock(n[0])},mn=e=>h.from(e).map($).filter(Z).exists((e=>((e,t=!1)=>{return ae(e)?e.dom.isContentEditable:(n=e,de(((e,t)=>_(e,t)),ue,n,"[contenteditable]",void 0)).fold(m(t),(e=>"true"===(e=>e.dom.contentEditable)(e)));var n})(e)&&!C(["details"],Q(e)))),un=(e,t,n)=>{let o;const r=cn(e,n)?n.firstChild:n;if(((e,t)=>{cn(e,t)&&mn(t.firstChild)&&e.remove(t.firstChild,!0)})(e,t),!Ke(e,t,!0))for(;o=t.firstChild;)r.appendChild(o)},pn=(e,t,n)=>{let o;const r=t.parentNode;if(!ze(e,t)||!ze(e,n))return;Pe(n.lastChild)&&(o=n.lastChild),r===n.lastChild&&He(r.previousSibling)&&e.remove(r.previousSibling);const s=n.lastChild;s&&He(s)&&t.hasChildNodes()&&e.remove(s),Ke(e,n,!0)&&fe($(n)),un(e,t,n),o&&n.appendChild(o);const i=((e,t)=>{const n=e.dom,o=t.dom;return n!==o&&n.contains(o)})($(n),$(t))?e.getParents(t,Pe,n):[];e.remove(t),S(i,(t=>{Ke(e,t)&&t!==e.getRoot()&&e.remove(t)}))},gn=(e,t)=>{const n=e.dom,o=e.selection,r=o.getStart(),s=at(e,r),i=n.getParent(o.getStart(),"LI",s);if(i){const r=i.parentElement;if(r===e.getBody()&&Ke(n,r))return!0;const l=ot(o.getRng()),a=n.getParent(dn(e,l,t,s),"LI",s),d=a&&(t?n.isChildOf(i,a):n.isChildOf(a,i));if(a&&a!==i&&!d)return e.undoManager.transact((()=>{var n,o;t?((e,t,n,o)=>{const r=e.dom;if(r.isEmpty(o))((e,t,n)=>{fe($(n)),pn(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,o);else{const s=Qt(t);pn(r,n,o),e.selection.setRng(Wt(s))}})(e,l,a,i):(null===(o=(n=i).parentNode)||void 0===o?void 0:o.firstChild)===n?Ft(e):((e,t,n,o)=>{const r=Qt(t);pn(e.dom,n,o);const s=Wt(r);e.selection.setRng(s)})(e,l,i,a)})),!0;if(d&&!t&&a!==i)return e.undoManager.transact((()=>{if(l.commonAncestorContainer.parentElement){const t=Qt(l),o=l.commonAncestorContainer.parentElement;un(n,l.commonAncestorContainer.parentElement,a),o.remove();const r=Wt(t);e.selection.setRng(r)}})),!0;if(!a&&!t&&0===l.startOffset&&0===l.endOffset)return e.undoManager.transact((()=>{Vt(e)})),!0}return!1},hn=e=>{const t=e.selection.getStart(),n=at(e,t);return e.dom.getParent(t,"LI,DT,DD",n)||lt(e).length>0},fn=(e,t)=>{const n=e.selection;return!ht(e,n.getNode())&&(n.isCollapsed()?((e,t)=>gn(e,t)||((e,t)=>{const n=e.dom,o=e.selection.getStart(),r=at(e,o),s=n.getParent(o,n.isBlock,r);if(s&&n.isEmpty(s)){const o=ot(e.selection.getRng()),i=n.getParent(dn(e,o,t,r),"LI",r);if(i){const l=e=>C(["td","th","caption"],Q(e)),a=e=>e.dom===r;return!!((e,t,n=u)=>P(e,t,n).getOr(e.isNone()&&t.isNone()))(me($(i),l,a),me($(o.startContainer),l,a),H)&&(e.undoManager.transact((()=>{const o=i.parentNode;((e,t,n)=>{const o=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),o&&e.isEmpty(o)&&e.remove(o)})(n,s,r),tn(n,o),e.selection.select(i,!0),e.selection.collapse(t)})),!0)}}return!1})(e,t))(e,t):(e=>!!hn(e)&&(e.undoManager.transact((()=>{e.execCommand("Delete"),an(e.dom,e.getBody())})),!0))(e))},yn=e=>{const t=E(Ct(e).split("")),n=N(t,((e,t)=>{const n=e.toUpperCase().charCodeAt(0)-"A".charCodeAt(0)+1;return Math.pow(26,t)*n}));return O(n,((e,t)=>e+t),0)},vn=e=>{if(--e<0)return"";{const t=e%26,n=Math.floor(e/26);return vn(n)+String.fromCharCode("A".charCodeAt(0)+t)}},Cn=e=>{const t=parseInt(e.start,10);return M(e.listStyleType,"upper-alpha")?vn(t):M(e.listStyleType,"lower-alpha")?vn(t).toLowerCase():e.start},bn=(e,t)=>()=>{const n=it(e);return l(n)&&n.nodeName===t},Nn=e=>{e.addCommand("mceListProps",(()=>{(e=>{const t=it(e);Re(t)&&!ht(e,t)&&e.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:Cn({start:e.dom.getAttrib(t,"start","1"),listStyleType:h.from(e.dom.getStyle(t,"list-style-type"))})},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{(e=>{switch((e=>/^[0-9]+$/.test(e)?2:/^[A-Z]+$/.test(e)?0:/^[a-z]+$/.test(e)?1:e.length>0?4:3)(e)){case 2:return h.some({listStyleType:h.none(),start:e});case 0:return h.some({listStyleType:h.some("upper-alpha"),start:yn(e).toString()});case 1:return h.some({listStyleType:h.some("lower-alpha"),start:yn(e).toString()});case 3:return h.some({listStyleType:h.none(),start:""});case 4:return h.none()}})(t.getData().start).each((t=>{e.execCommand("mceListUpdate",!1,{attrs:{start:"1"===t.start?"":t.start},styles:{"list-style-type":t.listStyleType.getOr("")}})})),t.close()}})})(e)}))};var Sn=tinymce.util.Tools.resolve("tinymce.html.Node");const Ln=e=>3===e.type,On=e=>0===e.length,An=e=>{const t=(t,n)=>{const o=Sn.create("li");S(t,(e=>o.append(e))),n?e.insert(o,n,!0):e.append(o)},n=O(e.children(),((e,n)=>Ln(n)?[...e,n]:On(e)||Ln(n)?e:(t(e,n),[])),[]);On(n)||t(n)},Tn=(e,t)=>n=>(n.setEnabled(e.selection.isEditable()),ft(e,(o=>{n.setActive(pt(o.parents,t)),n.setEnabled(!ht(e,o.element)&&e.selection.isEditable())}))),xn=(e,t)=>n=>ft(e,(o=>n.setEnabled(pt(o.parents,t)&&!ht(e,o.element))));e.add("lists",(e=>((e=>{(0,e.options.register)("lists_indent_on_tab",{processor:"boolean",default:!0})})(e),(e=>{e.on("PreInit",(()=>{const{parser:t}=e;t.addNodeFilter("ul,ol",(e=>S(e,An)))}))})(e),e.hasPlugin("rtc",!0)?Nn(e):((e=>{We(e)&&(e=>{e.on("keydown",(t=>{t.keyCode!==be.TAB||be.metaKeyPressed(t)||e.undoManager.transact((()=>{(t.shiftKey?Ft(e):Ht(e))&&t.preventDefault()}))}))})(e),(e=>{e.on("ExecCommand",(t=>{const n=t.command.toLowerCase();"delete"!==n&&"forwarddelete"!==n||!hn(e)||an(e.dom,e.getBody())})),e.on("keydown",(t=>{t.keyCode===be.BACKSPACE?fn(e,!1)&&t.preventDefault():t.keyCode===be.DELETE&&fn(e,!0)&&t.preventDefault()}))})(e)})(e),(e=>{e.on("BeforeExecCommand",(t=>{const n=t.command.toLowerCase();"indent"===n?Ht(e):"outdent"===n&&Ft(e)})),e.addCommand("InsertUnorderedList",((t,n)=>{sn(e,"UL",n)})),e.addCommand("InsertOrderedList",((t,n)=>{sn(e,"OL",n)})),e.addCommand("InsertDefinitionList",((t,n)=>{sn(e,"DL",n)})),e.addCommand("RemoveList",(()=>{Vt(e)})),Nn(e),e.addCommand("mceListUpdate",((t,n)=>{r(n)&&((e,t)=>{const n=it(e);null===n||ht(e,n)||e.undoManager.transact((()=>{r(t.styles)&&e.dom.setStyles(n,t.styles),r(t.attrs)&&Le(t.attrs,((t,o)=>e.dom.setAttrib(n,o,t)))}))})(e,n)})),e.addQueryStateHandler("InsertUnorderedList",bn(e,"UL")),e.addQueryStateHandler("InsertOrderedList",bn(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",bn(e,"DL"))})(e)),(e=>{const t=t=>()=>e.execCommand(t);e.hasPlugin("advlist")||(e.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:t("InsertOrderedList"),onSetup:Tn(e,"OL")}),e.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:t("InsertUnorderedList"),onSetup:Tn(e,"UL")}))})(e),(e=>{const t={text:"List properties...",icon:"ordered-list",onAction:()=>e.execCommand("mceListProps"),onSetup:xn(e,"OL")};e.ui.registry.addMenuItem("listprops",t),e.ui.registry.addContextMenu("lists",{update:t=>{const n=it(e,t);return Re(n)?["listprops"]:[]}})})(e),(e=>({backspaceDelete:t=>{fn(e,t)}}))(e))))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/media/plugin.min.js b/src/assets/tinymce/plugins/media/plugin.min.js deleted file mode 100644 index 498cefaf..00000000 --- a/src/assets/tinymce/plugins/media/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=o=e,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":t;var r,o,a,s})(t)===e,r=t("string"),o=t("object"),a=t("array"),s=e=>!(e=>null==e)(e);class i{constructor(e,t){this.tag=e,this.value=t}static some(e){return new i(!0,e)}static none(){return i.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?i.some(e(this.value)):i.none()}bind(e){return this.tag?e(this.value):i.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:i.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return s(e)?i.some(e):i.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}i.singletonNone=new i(!1);const n=Array.prototype.push,l=(e,t)=>{for(let r=0,o=e.length;r{const t=[];for(let r=0,o=e.length;rh(e,t)?i.from(e[t]):i.none(),h=(e,t)=>u.call(e,t),p=e=>t=>t.options.get(e),g=p("audio_template_callback"),b=p("video_template_callback"),w=p("iframe_template_callback"),v=p("media_live_embeds"),f=p("media_filter_html"),y=p("media_url_resolver"),x=p("media_alt_source"),_=p("media_poster"),k=p("media_dimensions");var j=tinymce.util.Tools.resolve("tinymce.util.Tools"),O=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),A=tinymce.util.Tools.resolve("tinymce.html.DomParser");const S=O.DOM,$=e=>e.replace(/px$/,""),C=e=>{const t=e.attr("style"),r=t?S.parseStyle(t):{};return{type:"ephox-embed-iri",source:e.attr("data-ephox-embed-iri"),altsource:"",poster:"",width:d(r,"max-width").map($).getOr(""),height:d(r,"max-height").map($).getOr("")}},T=(e,t)=>{let r={};for(let o=A({validate:!1,forced_root_block:!1},t).parse(e);o;o=o.walk())if(1===o.type){const e=o.name;if(o.attr("data-ephox-embed-iri")){r=C(o);break}r.source||"param"!==e||(r.source=o.attr("movie")),"iframe"!==e&&"object"!==e&&"embed"!==e&&"video"!==e&&"audio"!==e||(r.type||(r.type=e),r=j.extend(o.attributes.map,r)),"source"===e&&(r.source?r.altsource||(r.altsource=o.attr("src")):r.source=o.attr("src")),"img"!==e||r.poster||(r.poster=o.attr("src"))}return r.source=r.source||r.src||"",r.altsource=r.altsource||"",r.poster=r.poster||"",r},z=e=>{var t;const r=null!==(t=e.toLowerCase().split(".").pop())&&void 0!==t?t:"";return d({mp3:"audio/mpeg",m4a:"audio/x-m4a",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"},r).getOr("")};var D=tinymce.util.Tools.resolve("tinymce.html.Node"),F=tinymce.util.Tools.resolve("tinymce.html.Serializer");const M=(e,t={})=>A({forced_root_block:!1,validate:!1,allow_conditional_comments:!0,...t},e),N=O.DOM,R=e=>/^[0-9.]+$/.test(e)?e+"px":e,E=(e,t)=>{const r=t.attr("style"),o=r?N.parseStyle(r):{};s(e.width)&&(o["max-width"]=R(e.width)),s(e.height)&&(o["max-height"]=R(e.height)),t.attr("style",N.serializeStyle(o))},U=["source","altsource"],P=(e,t,r,o)=>{let a=0,s=0;const i=M(o);i.addNodeFilter("source",(e=>a=e.length));const n=i.parse(e);for(let e=n;e;e=e.walk())if(1===e.type){const o=e.name;if(e.attr("data-ephox-embed-iri")){E(t,e);break}switch(o){case"video":case"object":case"embed":case"img":case"iframe":void 0!==t.height&&void 0!==t.width&&(e.attr("width",t.width),e.attr("height",t.height))}if(r)switch(o){case"video":e.attr("poster",t.poster),e.attr("src",null);for(let r=a;r<2;r++)if(t[U[r]]){const o=new D("source",1);o.attr("src",t[U[r]]),o.attr("type",t[U[r]+"mime"]||null),e.append(o)}break;case"iframe":e.attr("src",t.source);break;case"object":const r=e.getAll("img").length>0;if(t.poster&&!r){e.attr("src",t.poster);const r=new D("img",1);r.attr("src",t.poster),r.attr("width",t.width),r.attr("height",t.height),e.append(r)}break;case"source":if(s<2&&(e.attr("src",t[U[s]]),e.attr("type",t[U[s]+"mime"]||null),!t[U[s]])){e.remove();continue}s++;break;case"img":t.poster||e.remove()}}return F({},o).serialize(n)},L=[{regex:/youtu\.be\/([\w\-_\?&=.]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$2?$4",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)\?h=(\w+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?h=$2&title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)\?h=(\w+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?h=$3&title=0&byline=0",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?title=0&byline=0",allowFullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0},{regex:/dai\.ly\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0}],I=(e,t)=>{const r=(e=>{const t=e.match(/^(https?:\/\/|www\.)(.+)$/i);return t&&t.length>1?"www."===t[1]?"https://":t[1]:"https://"})(t),o=e.regex.exec(t);let a=r+e.url;if(s(o))for(let e=0;eo[e]?o[e]:""));return a.replace(/\?$/,"")},B=e=>{const t=L.filter((t=>t.regex.test(e)));return t.length>0?j.extend({},t[0],{url:I(t[0],e)}):null},G=(e,t)=>{var r;const o=j.extend({},t);if(!o.source&&(j.extend(o,T(null!==(r=o.embed)&&void 0!==r?r:"",e.schema)),!o.source))return"";o.altsource||(o.altsource=""),o.poster||(o.poster=""),o.source=e.convertURL(o.source,"source"),o.altsource=e.convertURL(o.altsource,"source"),o.sourcemime=z(o.source),o.altsourcemime=z(o.altsource),o.poster=e.convertURL(o.poster,"poster");const a=B(o.source);if(a&&(o.source=a.url,o.type=a.type,o.allowfullscreen=a.allowFullscreen,o.width=o.width||String(a.w),o.height=o.height||String(a.h)),o.embed)return P(o.embed,o,!0,e.schema);{const t=g(e),r=b(e),a=w(e);return o.width=o.width||"300",o.height=o.height||"150",j.each(o,((t,r)=>{o[r]=e.dom.encode(""+t)})),"iframe"===o.type?((e,t)=>{if(t)return t(e);{const t=e.allowfullscreen?' allowFullscreen="1"':"";return'"}})(o,a):"application/x-shockwave-flash"===o.sourcemime?(e=>{let t='';return e.poster&&(t+=''),t+="",t})(o):-1!==o.sourcemime.indexOf("audio")?((e,t)=>t?t(e):'")(o,t):((e,t)=>t?t(e):'")(o,r)}},W=e=>e.hasAttribute("data-mce-object")||e.hasAttribute("data-ephox-embed-iri"),q={},H=e=>t=>G(e,t),J=(e,t)=>{const r=y(e);return r?((e,t,r)=>new Promise(((o,a)=>{const s=r=>(r.html&&(q[e.source]=r),o({url:e.source,html:r.html?r.html:t(e)}));q[e.source]?s(q[e.source]):r({url:e.source},s,a)})))(t,H(e),r):((e,t)=>Promise.resolve({html:t(e),url:e.source}))(t,H(e))},K=(e,t)=>{const r={};return d(e,"dimensions").each((e=>{l(["width","height"],(o=>{d(t,o).orThunk((()=>d(e,o))).each((e=>r[o]=e))}))})),r},Q=(e,t)=>{const r=t&&"dimensions"!==t?((e,t)=>d(t,e).bind((e=>d(e,"meta"))))(t,e).getOr({}):{},a=((e,t,r)=>a=>{const s=()=>d(e,a),n=()=>d(t,a),l=e=>d(e,"value").bind((e=>e.length>0?i.some(e):i.none()));return{[a]:(a===r?s().bind((e=>o(e)?l(e).orThunk(n):n().orThunk((()=>i.from(e))))):n().orThunk((()=>s().bind((e=>o(e)?l(e):i.from(e)))))).getOr("")}})(e,r,t);return{...a("source"),...a("altsource"),...a("poster"),...a("embed"),...K(e,r)}},V=e=>{const t={...e,source:{value:d(e,"source").getOr("")},altsource:{value:d(e,"altsource").getOr("")},poster:{value:d(e,"poster").getOr("")}};return l(["width","height"],(r=>{d(e,r).each((e=>{const o=t.dimensions||{};o[r]=e,t.dimensions=o}))})),t},X=e=>t=>{const r=t&&t.msg?"Media embed handler error: "+t.msg:"Media embed handler threw unknown error.";e.notificationManager.open({type:"error",text:r})},Y=(e,t)=>o=>{if(r(o.url)&&o.url.trim().length>0){const r=o.html,a={...T(r,t.schema),source:o.url,embed:r};e.setData(V(a))}},Z=(e,t)=>{const r=e.dom.select("*[data-mce-object]");e.insertContent(t),((e,t)=>{const r=e.dom.select("*[data-mce-object]");for(let e=0;e=0;o--)t[e]===r[o]&&r.splice(o,1);e.selection.select(r[0])})(e,r),e.nodeChanged()},ee=(e,t)=>s(t)&&"ephox-embed-iri"===t&&s(B(e)),te=(e,t)=>((e,t)=>e.width!==t.width||e.height!==t.height)(e,t)&&ee(t.source,e.type),re=e=>{const t=(e=>{const t=e.selection.getNode(),r=W(t)?e.serializer.serialize(t,{selection:!0}):"",o=T(r,e.schema),a=(()=>{if(ee(o.source,o.type)){const r=e.dom.getRect(t);return{width:r.w.toString().replace(/px$/,""),height:r.h.toString().replace(/px$/,"")}}return{}})();return{embed:r,...o,...a}})(e),r=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(t),o=V(t),a=k(e)?[{type:"sizeinput",name:"dimensions",label:"Constrain proportions",constrain:!0}]:[],s={title:"General",name:"general",items:c([[{name:"source",type:"urlinput",filetype:"media",label:"Source",picker_text:"Browse files"}],a])},i=[];x(e)&&i.push({name:"altsource",type:"urlinput",filetype:"media",label:"Alternative source URL"}),_(e)&&i.push({name:"poster",type:"urlinput",filetype:"image",label:"Media poster (Image URL)"});const n={title:"Advanced",name:"advanced",items:i},l=[s,{title:"Embed",items:[{type:"textarea",name:"embed",label:"Paste your embed code below:"}]}];i.length>0&&l.push(n);const m={type:"tabpanel",tabs:l},u=e.windowManager.open({title:"Insert/Edit Media",size:"normal",body:m,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{const o=Q(t.getData());((e,t,r)=>{var o,a;t.embed=te(e,t)&&k(r)?G(r,{...t,embed:""}):P(null!==(o=t.embed)&&void 0!==o?o:"",t,!1,r.schema),t.embed&&(e.source===t.source||(a=t.source,h(q,a)))?Z(r,t.embed):J(r,t).then((e=>{Z(r,e.html)})).catch(X(r))})(r.get(),o,e),t.close()},onChange:(t,o)=>{switch(o.name){case"source":((t,r)=>{const o=Q(r.getData(),"source");t.source!==o.source&&(Y(u,e)({url:o.source,html:""}),J(e,o).then(Y(u,e)).catch(X(e)))})(r.get(),t);break;case"embed":(t=>{var r;const o=Q(t.getData()),a=T(null!==(r=o.embed)&&void 0!==r?r:"",e.schema);t.setData(V(a))})(t);break;case"dimensions":case"altsource":case"poster":((t,r,o)=>{const a=Q(t.getData(),r),s=te(o,a)&&k(e)?{...a,embed:""}:a,i=G(e,s);t.setData(V({...s,embed:i}))})(t,o.name,r.get())}r.set(Q(t.getData()))},initialData:o})};var oe=tinymce.util.Tools.resolve("tinymce.Env");const ae=e=>{const t=e.name;return"iframe"===t||"video"===t||"audio"===t},se=(e,t,r,o=null)=>{const a=e.attr(r);return s(a)?a:h(t,r)?null:o},ie=(e,t,r)=>{const o="img"===t.name||"video"===e.name,a=o?"300":null,s="audio"===e.name?"30":"150",i=o?s:null;t.attr({width:se(e,r,"width",a),height:se(e,r,"height",i)})},ne=(e,t)=>{const r=t.name,o=new D("img",1);return ce(e,t,o),ie(t,o,{}),o.attr({style:t.attr("style"),src:oe.transparentSrc,"data-mce-object":r,class:"mce-object mce-object-"+r}),o},le=(e,t)=>{var r;const o=t.name,a=new D("span",1);a.attr({contentEditable:"false",style:t.attr("style"),"data-mce-object":o,class:"mce-preview-object mce-object-"+o}),ce(e,t,a);const i=e.dom.parseStyle(null!==(r=t.attr("style"))&&void 0!==r?r:""),n=new D(o,1);if(ie(t,n,i),n.attr({src:t.attr("src"),style:t.attr("style"),class:t.attr("class")}),"iframe"===o)n.attr({allowfullscreen:t.attr("allowfullscreen"),frameborder:"0",sandbox:t.attr("sandbox")});else{l(["controls","crossorigin","currentTime","loop","muted","poster","preload"],(e=>{n.attr(e,t.attr(e))}));const r=a.attr("data-mce-html");s(r)&&((e,t,r,o)=>{const a=M(e.schema).parse(o,{context:t});for(;a.firstChild;)r.append(a.firstChild)})(e,o,n,unescape(r))}const c=new D("span",1);return c.attr("class","mce-shim"),a.append(n),a.append(c),a},ce=(e,t,r)=>{var o;const a=null!==(o=t.attributes)&&void 0!==o?o:[];let s=a.length;for(;s--;){const t=a[s].name;let o=a[s].value;"width"===t||"height"===t||"style"===t||(n="data-mce-",(i=t).length>=9&&i.substr(0,9)===n)||("data"!==t&&"src"!==t||(o=e.convertURL(o,t)),r.attr("data-mce-p-"+t,o))}var i,n;const c=F({inner:!0},e.schema),m=new D("div",1);l(t.children(),(e=>m.append(e)));const u=c.serialize(m);u&&(r.attr("data-mce-html",escape(u)),r.empty())},me=e=>{const t=e.attr("class");return r(t)&&/\btiny-pageembed\b/.test(t)},ue=e=>{let t=e;for(;t=t.parent;)if(t.attr("data-ephox-embed-iri")||me(t))return!0;return!1},de=(e,t,r)=>{const o=(0,e.options.get)("xss_sanitization"),a=f(e);return M(e.schema,{sanitize:o,validate:a}).parse(r,{context:t})},he=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",r),r(),()=>{e.off("NodeChange",r)}};e.add("media",(e=>((e=>{const t=e.options.register;t("audio_template_callback",{processor:"function"}),t("video_template_callback",{processor:"function"}),t("iframe_template_callback",{processor:"function"}),t("media_live_embeds",{processor:"boolean",default:!0}),t("media_filter_html",{processor:"boolean",default:!0}),t("media_url_resolver",{processor:"function"}),t("media_alt_source",{processor:"boolean",default:!0}),t("media_poster",{processor:"boolean",default:!0}),t("media_dimensions",{processor:"boolean",default:!0})})(e),(e=>{e.addCommand("mceMedia",(()=>{re(e)}))})(e),(e=>{const t=()=>e.execCommand("mceMedia");e.ui.registry.addToggleButton("media",{tooltip:"Insert/edit media",icon:"embed",onAction:t,onSetup:t=>{const r=e.selection;t.setActive(W(r.getNode()));const o=r.selectorChangedWithUnbind("img[data-mce-object],span[data-mce-object],div[data-ephox-embed-iri]",t.setActive).unbind,a=he(e)(t);return()=>{o(),a()}}}),e.ui.registry.addMenuItem("media",{icon:"embed",text:"Media...",onAction:t,onSetup:he(e)})})(e),(e=>{e.on("ResolveName",(e=>{let t;1===e.target.nodeType&&(t=e.target.getAttribute("data-mce-object"))&&(e.name=t)}))})(e),(e=>{e.on("PreInit",(()=>{const{schema:t,serializer:r,parser:o}=e,a=t.getBoolAttrs();l("webkitallowfullscreen mozallowfullscreen".split(" "),(e=>{a[e]={}})),((e,t)=>{const r=m(e);for(let o=0,a=r.length;o{const o=t.getElementRule(r);o&&l(e,(e=>{o.attributes[e]={},o.attributesOrder.push(e)}))})),o.addNodeFilter("iframe,video,audio,object,embed",(e=>t=>{let r,o=t.length;for(;o--;)r=t[o],r.parent&&(r.parent.attr("data-mce-object")||(ae(r)&&v(e)?ue(r)||r.replace(le(e,r)):ue(r)||r.replace(ne(e,r))))})(e)),r.addAttributeFilter("data-mce-object",((t,r)=>{var o;let a=t.length;for(;a--;){const s=t[a];if(!s.parent)continue;const i=s.attr(r),n=new D(i,1);if("audio"!==i){const e=s.attr("class");e&&-1!==e.indexOf("mce-preview-object")&&s.firstChild?n.attr({width:s.firstChild.attr("width"),height:s.firstChild.attr("height")}):n.attr({width:s.attr("width"),height:s.attr("height")})}n.attr({style:s.attr("style")});const c=null!==(o=s.attributes)&&void 0!==o?o:[];let m=c.length;for(;m--;){const e=c[m].name;0===e.indexOf("data-mce-p-")&&n.attr(e.substr(11),c[m].value)}const u=s.attr("data-mce-html");if(u){const t=de(e,i,unescape(u));l(t.children(),(e=>n.append(e)))}s.replace(n)}}))})),e.on("SetContent",(()=>{const t=e.dom;l(t.select("span.mce-preview-object"),(e=>{0===t.select("span.mce-shim",e).length&&t.add(e,"span",{class:"mce-shim"})}))}))})(e),(e=>{e.on("click keyup touchend",(()=>{const t=e.selection.getNode();t&&e.dom.hasClass(t,"mce-preview-object")&&e.dom.getAttrib(t,"data-mce-selected")&&t.setAttribute("data-mce-selected","2")})),e.on("ObjectResized",(t=>{const r=t.target;if(r.getAttribute("data-mce-object")){let o=r.getAttribute("data-mce-html");o&&(o=unescape(o),r.setAttribute("data-mce-html",escape(P(o,{width:String(t.width),height:String(t.height)},!1,e.schema))))}}))})(e),(e=>({showDialog:()=>{re(e)}}))(e))))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/nonbreaking/plugin.min.js b/src/assets/tinymce/plugins/nonbreaking/plugin.min.js deleted file mode 100644 index 6112af0e..00000000 --- a/src/assets/tinymce/plugins/nonbreaking/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=n=>e=>typeof e===n,o=e("boolean"),a=e("number"),t=n=>e=>e.options.get(n),i=t("nonbreaking_force_tab"),s=t("nonbreaking_wrap"),r=(n,e)=>{let o="";for(let a=0;a{const o=s(n)||n.plugins.visualchars?`${r(" ",e)}`:r(" ",e);n.undoManager.transact((()=>n.insertContent(o)))};var l=tinymce.util.Tools.resolve("tinymce.util.VK");const u=n=>e=>{const o=()=>{e.setEnabled(n.selection.isEditable())};return n.on("NodeChange",o),o(),()=>{n.off("NodeChange",o)}};n.add("nonbreaking",(n=>{(n=>{const e=n.options.register;e("nonbreaking_force_tab",{processor:n=>o(n)?{value:n?3:0,valid:!0}:a(n)?{value:n,valid:!0}:{valid:!1,message:"Must be a boolean or number."},default:!1}),e("nonbreaking_wrap",{processor:"boolean",default:!0})})(n),(n=>{n.addCommand("mceNonBreaking",(()=>{c(n,1)}))})(n),(n=>{const e=()=>n.execCommand("mceNonBreaking");n.ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:e,onSetup:u(n)}),n.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:e,onSetup:u(n)})})(n),(n=>{const e=i(n);e>0&&n.on("keydown",(o=>{if(o.keyCode===l.TAB&&!o.isDefaultPrevented()){if(o.shiftKey)return;o.preventDefault(),o.stopImmediatePropagation(),c(n,e)}}))})(n)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/pagebreak/plugin.min.js b/src/assets/tinymce/plugins/pagebreak/plugin.min.js deleted file mode 100644 index 1621d834..00000000 --- a/src/assets/tinymce/plugins/pagebreak/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env");const t=e=>a=>a.options.get(e),n=t("pagebreak_separator"),o=t("pagebreak_split_block"),r="mce-pagebreak",s=e=>{const t=``;return e?`

    ${t}

    `:t},c=e=>a=>{const t=()=>{a.setEnabled(e.selection.isEditable())};return e.on("NodeChange",t),t(),()=>{e.off("NodeChange",t)}};e.add("pagebreak",(e=>{(e=>{const a=e.options.register;a("pagebreak_separator",{processor:"string",default:"\x3c!-- pagebreak --\x3e"}),a("pagebreak_split_block",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mcePageBreak",(()=>{e.insertContent(s(o(e)))}))})(e),(e=>{const a=()=>e.execCommand("mcePageBreak");e.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:a,onSetup:c(e)}),e.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:a,onSetup:c(e)})})(e),(e=>{const a=n(e),t=()=>o(e),c=new RegExp(a.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,(e=>"\\"+e)),"gi");e.on("BeforeSetContent",(e=>{e.content=e.content.replace(c,s(t()))})),e.on("PreInit",(()=>{e.serializer.addNodeFilter("img",(n=>{let o,s,c=n.length;for(;c--;)if(o=n[c],s=o.attr("class"),s&&-1!==s.indexOf(r)){const n=o.parent;if(n&&e.schema.getBlockElements()[n.name]&&t()){n.type=3,n.value=a,n.raw=!0,o.remove();continue}o.type=3,o.value=a,o.raw=!0}}))}))})(e),(e=>{e.on("ResolveName",(a=>{"IMG"===a.target.nodeName&&e.dom.hasClass(a.target,r)&&(a.name="pagebreak")}))})(e)}))}(); \ No newline at end of file diff --git a/src/assets/tinymce/plugins/preview/plugin.min.js b/src/assets/tinymce/plugins/preview/plugin.min.js deleted file mode 100644 index 76885123..00000000 --- a/src/assets/tinymce/plugins/preview/plugin.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * TinyMCE version 6.8.3 (2024-02-08) - */ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env"),o=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=e=>t=>t.options.get(e),i=n("content_style"),s=n("content_css_cors"),c=n("body_class"),r=n("body_id");e.add("preview",(e=>{(e=>{e.addCommand("mcePreview",(()=>{(e=>{const n=(e=>{var n;let l="";const a=e.dom.encode,d=null!==(n=i(e))&&void 0!==n?n:"";l+='';const m=s(e)?' crossorigin="anonymous"':"";o.each(e.contentCSS,(t=>{l+='"})),d&&(l+='");const y=r(e),u=c(e),v=' + diff --git a/www/main.84111e28e9694d31.js b/www/main.84111e28e9694d31.js deleted file mode 100644 index b7321191..00000000 --- a/www/main.84111e28e9694d31.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(ve,f,o)=>{"use strict";o.d(f,{c:()=>d,r:()=>p});const d=(L,x)=>{L.componentOnReady?L.componentOnReady().then(V=>x(V)):p(()=>x(L))},p=L=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(L):"function"==typeof requestAnimationFrame?requestAnimationFrame(L):setTimeout(L)},51896:(ve,f,o)=>{"use strict";o.d(f,{L:()=>n,a:()=>i,b:()=>d,c:()=>u,d:()=>a,g:()=>L});const n="ionViewWillEnter",i="ionViewDidEnter",d="ionViewWillLeave",u="ionViewDidLeave",a="ionViewWillUnload",L=x=>x.classList.contains("ion-page")?x:x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||x},30388:(ve,f,o)=>{"use strict";o.d(f,{c:()=>C});var n=o(14829),i=o(46384);let d;const a=v=>v.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=v=>(void 0===d&&(d=void 0===v.style.animationName&&void 0!==v.style.webkitAnimationName?"-webkit-":""),d),c=(v,M,E)=>{const A=M.startsWith("animation")?e(v):"";v.style.setProperty(A+M,E)},l=(v,M)=>{const E=M.startsWith("animation")?e(v):"";v.style.removeProperty(E+M)},p=[],h=(v=[],M)=>{if(void 0!==M){const E=Array.isArray(M)?M:[M];return[...v,...E]}return v},C=v=>{let M,E,A,T,R,N,F,ae,J,K,W,ye,Ie,P=[],L=[],x=[],V=!1,ee={},X=[],ce=[],Q={},ne=0,Y=!1,H=!1,re=!0,G=!1,ue=!0,be=!1;const ie=v,De=[],ze=[],qe=[],nt=[],ft=[],rt=[],mt=[],Wt=[],bt=[],Bt=[],an=[],hn="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,wn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&hn,vn=()=>an,Pe=(Te,me)=>{const Ae=me.findIndex(et=>et.c===Te);Ae>-1&&me.splice(Ae,1)},je=(Te,me)=>((me?.oneTimeCallback?ze:De).push({c:Te,o:me}),Ie),He=()=>{if(wn)an.forEach(Te=>{Te.cancel()}),an.length=0;else{const Te=nt.slice();(0,i.r)(()=>{Te.forEach(me=>{l(me,"animation-name"),l(me,"animation-duration"),l(me,"animation-timing-function"),l(me,"animation-iteration-count"),l(me,"animation-delay"),l(me,"animation-play-state"),l(me,"animation-fill-mode"),l(me,"animation-direction")})})}},_t=()=>{rt.forEach(Te=>{Te?.parentNode&&Te.parentNode.removeChild(Te)}),rt.length=0},tn=()=>void 0!==R?R:F?F.getFill():"both",yn=()=>void 0!==J?J:void 0!==N?N:F?F.getDirection():"normal",Tn=()=>Y?"linear":void 0!==A?A:F?F.getEasing():"linear",nn=()=>H?0:void 0!==K?K:void 0!==E?E:F?F.getDuration():0,nr=()=>void 0!==T?T:F?F.getIterations():1,kr=()=>void 0!==W?W:void 0!==M?M:F?F.getDelay():0,jn=()=>{0!==ne&&(ne--,0===ne&&((()=>{Tr(),bt.forEach(pt=>pt()),Bt.forEach(pt=>pt());const Te=re?1:0,me=X,Ae=ce,et=Q;nt.forEach(pt=>{const At=pt.classList;me.forEach(Nt=>At.add(Nt)),Ae.forEach(Nt=>At.remove(Nt));for(const Nt in et)et.hasOwnProperty(Nt)&&c(pt,Nt,et[Nt])}),K=void 0,J=void 0,W=void 0,De.forEach(pt=>pt.c(Te,Ie)),ze.forEach(pt=>pt.c(Te,Ie)),ze.length=0,ue=!0,re&&(G=!0),re=!0})(),F&&F.animationFinish()))},Qn=(Te=!0)=>{_t();const me=(v=>(v.forEach(M=>{for(const E in M)if(M.hasOwnProperty(E)){const A=M[E];if("easing"===E)M["animation-timing-function"]=A,delete M[E];else{const T=a(E);T!==E&&(M[T]=A,delete M[E])}}}),v))(P);nt.forEach(Ae=>{if(me.length>0){const et=((v=[])=>v.map(M=>{const E=M.offset,A=[];for(const T in M)M.hasOwnProperty(T)&&"offset"!==T&&A.push(`${T}: ${M[T]};`);return`${100*E}% { ${A.join(" ")} }`}).join(" "))(me);ye=void 0!==v?v:(v=>{let M=p.indexOf(v);return M<0&&(M=p.push(v)-1),`ion-animation-${M}`})(et);const pt=((v,M,E)=>{var A;const T=(v=>{const M=void 0!==v.getRootNode?v.getRootNode():v;return M.head||M})(E),R=e(E),N=T.querySelector("#"+v);if(N)return N;const P=(null!==(A=E.ownerDocument)&&void 0!==A?A:document).createElement("style");return P.id=v,P.textContent=`@${R}keyframes ${v} { ${M} } @${R}keyframes ${v}-alt { ${M} }`,T.appendChild(P),P})(ye,et,Ae);rt.push(pt),c(Ae,"animation-duration",`${nn()}ms`),c(Ae,"animation-timing-function",Tn()),c(Ae,"animation-delay",`${kr()}ms`),c(Ae,"animation-fill-mode",tn()),c(Ae,"animation-direction",yn());const At=nr()===1/0?"infinite":nr().toString();c(Ae,"animation-iteration-count",At),c(Ae,"animation-play-state","paused"),Te&&c(Ae,"animation-name",`${pt.id}-alt`),(0,i.r)(()=>{c(Ae,"animation-name",pt.id||null)})}})},ui=(Te=!0)=>{(()=>{mt.forEach(et=>et()),Wt.forEach(et=>et());const Te=L,me=x,Ae=ee;nt.forEach(et=>{const pt=et.classList;Te.forEach(At=>pt.add(At)),me.forEach(At=>pt.remove(At));for(const At in Ae)Ae.hasOwnProperty(At)&&c(et,At,Ae[At])})})(),P.length>0&&(wn?(nt.forEach(Te=>{const me=Te.animate(P,{id:ie,delay:kr(),duration:nn(),easing:Tn(),iterations:nr(),fill:tn(),direction:yn()});me.pause(),an.push(me)}),an.length>0&&(an[0].onfinish=()=>{jn()})):Qn(Te)),V=!0},Ir=Te=>{if(Te=Math.min(Math.max(Te,0),.9999),wn)an.forEach(me=>{me.currentTime=me.effect.getComputedTiming().delay+nn()*Te,me.pause()});else{const me=`-${nn()*Te}ms`;nt.forEach(Ae=>{P.length>0&&(c(Ae,"animation-delay",me),c(Ae,"animation-play-state","paused"))})}},at=Te=>{an.forEach(me=>{me.effect.updateTiming({delay:kr(),duration:nn(),easing:Tn(),iterations:nr(),fill:tn(),direction:yn()})}),void 0!==Te&&Ir(Te)},Ot=(Te=!0,me)=>{(0,i.r)(()=>{nt.forEach(Ae=>{c(Ae,"animation-name",ye||null),c(Ae,"animation-duration",`${nn()}ms`),c(Ae,"animation-timing-function",Tn()),c(Ae,"animation-delay",void 0!==me?`-${me*nn()}ms`:`${kr()}ms`),c(Ae,"animation-fill-mode",tn()||null),c(Ae,"animation-direction",yn()||null);const et=nr()===1/0?"infinite":nr().toString();c(Ae,"animation-iteration-count",et),Te&&c(Ae,"animation-name",`${ye}-alt`),(0,i.r)(()=>{c(Ae,"animation-name",ye||null)})})})},Pt=(Te=!1,me=!0,Ae)=>(Te&&ft.forEach(et=>{et.update(Te,me,Ae)}),wn?at(Ae):Ot(me,Ae),Ie),Mn=()=>{V&&(wn?an.forEach(Te=>{Te.pause()}):nt.forEach(Te=>{c(Te,"animation-play-state","paused")}),be=!0)},Yn=()=>{ae=void 0,jn()},Tr=()=>{ae&&clearTimeout(ae)},un=Te=>new Promise(me=>{Te?.sync&&(H=!0,je(()=>H=!1,{oneTimeCallback:!0})),V||ui(),G&&(wn?(Ir(0),at()):Ot(),G=!1),ue&&(ne=ft.length+1,ue=!1);const Ae=()=>{Pe(et,ze),me()},et=()=>{Pe(Ae,qe),me()};je(et,{oneTimeCallback:!0}),((Te,me)=>{qe.push({c:Te,o:{oneTimeCallback:!0}})})(Ae),ft.forEach(pt=>{pt.play()}),wn?(an.forEach(Te=>{Te.play()}),(0===P.length||0===nt.length)&&jn()):(()=>{if(Tr(),(0,i.r)(()=>{nt.forEach(Te=>{P.length>0&&c(Te,"animation-play-state","running")})}),0===P.length||0===nt.length)jn();else{const Te=kr()||0,me=nn()||0,Ae=nr()||1;isFinite(Ae)&&(ae=setTimeout(Yn,Te+me*Ae+100)),((v,M)=>{let E;const A={passive:!0},R=N=>{v===N.target&&(E&&E(),Tr(),(0,i.r)(()=>{nt.forEach(Te=>{l(Te,"animation-duration"),l(Te,"animation-delay"),l(Te,"animation-play-state")}),(0,i.r)(jn)}))};v&&(v.addEventListener("webkitAnimationEnd",R,A),v.addEventListener("animationend",R,A),E=()=>{v.removeEventListener("webkitAnimationEnd",R,A),v.removeEventListener("animationend",R,A)})})(nt[0])}})(),be=!1}),z=(Te,me)=>{const Ae=P[0];return void 0===Ae||void 0!==Ae.offset&&0!==Ae.offset?P=[{offset:0,[Te]:me},...P]:Ae[Te]=me,Ie};return Ie={parentAnimation:F,elements:nt,childAnimations:ft,id:ie,animationFinish:jn,from:z,to:(Te,me)=>{const Ae=P[P.length-1];return void 0===Ae||void 0!==Ae.offset&&1!==Ae.offset?P=[...P,{offset:1,[Te]:me}]:Ae[Te]=me,Ie},fromTo:(Te,me,Ae)=>z(Te,me).to(Te,Ae),parent:Te=>(F=Te,Ie),play:un,pause:()=>(ft.forEach(Te=>{Te.pause()}),Mn(),Ie),stop:()=>{ft.forEach(Te=>{Te.stop()}),V&&(He(),V=!1),Y=!1,H=!1,ue=!0,J=void 0,K=void 0,W=void 0,ne=0,G=!1,re=!0,be=!1,qe.forEach(Te=>Te.c(0,Ie)),qe.length=0},destroy:Te=>(ft.forEach(me=>{me.destroy(Te)}),(Te=>{He(),Te&&_t()})(Te),nt.length=0,ft.length=0,P.length=0,De.length=0,ze.length=0,V=!1,ue=!0,Ie),keyframes:Te=>{const me=P!==Te;return P=Te,me&&(Te=>{wn?vn().forEach(me=>{const Ae=me.effect;if(Ae.setKeyframes)Ae.setKeyframes(Te);else{const et=new KeyframeEffect(Ae.target,Te,Ae.getTiming());me.effect=et}}):Qn()})(P),Ie},addAnimation:Te=>{if(null!=Te)if(Array.isArray(Te))for(const me of Te)me.parent(Ie),ft.push(me);else Te.parent(Ie),ft.push(Te);return Ie},addElement:Te=>{if(null!=Te)if(1===Te.nodeType)nt.push(Te);else if(Te.length>=0)for(let me=0;me(R=Te,Pt(!0),Ie),direction:Te=>(N=Te,Pt(!0),Ie),iterations:Te=>(T=Te,Pt(!0),Ie),duration:Te=>(!wn&&0===Te&&(Te=1),E=Te,Pt(!0),Ie),easing:Te=>(A=Te,Pt(!0),Ie),delay:Te=>(M=Te,Pt(!0),Ie),getWebAnimations:vn,getKeyframes:()=>P,getFill:tn,getDirection:yn,getDelay:kr,getIterations:nr,getEasing:Tn,getDuration:nn,afterAddRead:Te=>(bt.push(Te),Ie),afterAddWrite:Te=>(Bt.push(Te),Ie),afterClearStyles:(Te=[])=>{for(const me of Te)Q[me]="";return Ie},afterStyles:(Te={})=>(Q=Te,Ie),afterRemoveClass:Te=>(ce=h(ce,Te),Ie),afterAddClass:Te=>(X=h(X,Te),Ie),beforeAddRead:Te=>(mt.push(Te),Ie),beforeAddWrite:Te=>(Wt.push(Te),Ie),beforeClearStyles:(Te=[])=>{for(const me of Te)ee[me]="";return Ie},beforeStyles:(Te={})=>(ee=Te,Ie),beforeRemoveClass:Te=>(x=h(x,Te),Ie),beforeAddClass:Te=>(L=h(L,Te),Ie),onFinish:je,isRunning:()=>0!==ne&&!be,progressStart:(Te=!1,me)=>(ft.forEach(Ae=>{Ae.progressStart(Te,me)}),Mn(),Y=Te,V||ui(),Pt(!1,!0,me),Ie),progressStep:Te=>(ft.forEach(me=>{me.progressStep(Te)}),Ir(Te),Ie),progressEnd:(Te,me,Ae)=>(Y=!1,ft.forEach(et=>{et.progressEnd(Te,me,Ae)}),void 0!==Ae&&(K=Ae),G=!1,re=!0,0===Te?(J="reverse"===yn()?"normal":"reverse","reverse"===J&&(re=!1),wn?(Pt(),Ir(1-me)):(W=(1-me)*nn()*-1,Pt(!1,!1))):1===Te&&(wn?(Pt(),Ir(me)):(W=me*nn()*-1,Pt(!1,!1))),void 0!==Te&&!F&&un(),Ie)}}},59637:(ve,f,o)=>{"use strict";o.d(f,{E:()=>b,I:()=>c,a:()=>n,s:()=>l});const n=p=>{try{if(p instanceof c)return p.value;if(!u()||"string"!=typeof p||""===p)return p;if(p.includes("onload="))return"";const S=document.createDocumentFragment(),y=document.createElement("div");S.appendChild(y),y.innerHTML=p,e.forEach(v=>{const M=S.querySelectorAll(v);for(let E=M.length-1;E>=0;E--){const A=M[E];A.parentNode?A.parentNode.removeChild(A):S.removeChild(A);const T=d(A);for(let R=0;R{if(p.nodeType&&1!==p.nodeType)return;if(typeof NamedNodeMap<"u"&&!(p.attributes instanceof NamedNodeMap))return void p.remove();for(let y=p.attributes.length-1;y>=0;y--){const m=p.attributes.item(y),h=m.name;if(!a.includes(h.toLowerCase())){p.removeAttribute(h);continue}const C=m.value,v=p[h];(null!=C&&C.toLowerCase().includes("javascript:")||null!=v&&v.toLowerCase().includes("javascript:"))&&p.removeAttribute(h)}const S=d(p);for(let y=0;ynull!=p.children?p.children:p.childNodes,u=()=>{var p;const S=window,y=null===(p=S?.Ionic)||void 0===p?void 0:p.config;return!y||(y.get?y.get("sanitizerEnabled",!0):!0===y.sanitizerEnabled||void 0===y.sanitizerEnabled)},a=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class c{constructor(S){this.value=S}}const l=p=>{const S=window,y=S.Ionic;if(!y||!y.config||"Object"===y.config.constructor.name)return S.Ionic=S.Ionic||{},S.Ionic.config=Object.assign(Object.assign({},S.Ionic.config),p),S.Ionic.config},b=!1},86944:(ve,f,o)=>{"use strict";o.d(f,{g:()=>n});const n=(e,c,l,g,b)=>d(e[1],c[1],l[1],g[1],b).map(p=>i(e[0],c[0],l[0],g[0],p)),i=(e,c,l,g,b)=>b*(3*c*Math.pow(b-1,2)+b*(-3*l*b+3*l+g*b))-e*Math.pow(b-1,3),d=(e,c,l,g,b)=>a((g-=b)-3*(l-=b)+3*(c-=b)-(e-=b),3*l-6*c+3*e,3*c-3*e,e).filter(S=>S>=0&&S<=1),a=(e,c,l,g)=>{if(0===e)return((e,c,l)=>{const g=c*c-4*e*l;return g<0?[]:[(-c+Math.sqrt(g))/(2*e),(-c-Math.sqrt(g))/(2*e)]})(c,l,g);const b=(3*(l/=e)-(c/=e)*c)/3,p=(2*c*c*c-9*c*l+27*(g/=e))/27;if(0===b)return[Math.pow(-p,1/3)];if(0===p)return[Math.sqrt(-b),-Math.sqrt(-b)];const S=Math.pow(p/2,2)+Math.pow(b/3,3);if(0===S)return[Math.pow(p/2,.5)-c/3];if(S>0)return[Math.pow(-p/2+Math.sqrt(S),1/3)-Math.pow(p/2+Math.sqrt(S),1/3)-c/3];const y=Math.sqrt(Math.pow(-b/3,3)),m=Math.acos(-p/(2*Math.sqrt(Math.pow(-b/3,3)))),h=2*Math.pow(y,1/3);return[h*Math.cos(m/3)-c/3,h*Math.cos((m+2*Math.PI)/3)-c/3,h*Math.cos((m+4*Math.PI)/3)-c/3]}},10495:(ve,f,o)=>{"use strict";o.d(f,{C:()=>a,a:()=>d,d:()=>u});var n=o(1528),i=o(46384);const d=function(){var e=(0,n.c)(function*(c,l,g,b,p,S){var y;if(c)return c.attachViewToDom(l,g,p,b);if(!(S||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const m="string"==typeof g?null===(y=l.ownerDocument)||void 0===y?void 0:y.createElement(g):g;return b&&b.forEach(h=>m.classList.add(h)),p&&Object.assign(m,p),l.appendChild(m),yield new Promise(h=>(0,i.c)(m,h)),m});return function(l,g,b,p,S,y){return e.apply(this,arguments)}}(),u=(e,c)=>{if(c){if(e)return e.removeViewFromDom(c.parentElement,c);c.remove()}return Promise.resolve()},a=()=>{let e,c;return{attachViewToDom:function(){var b=(0,n.c)(function*(p,S,y={},m=[]){var h,C;let v;if(e=p,S){const E="string"==typeof S?null===(h=e.ownerDocument)||void 0===h?void 0:h.createElement(S):S;m.forEach(A=>E.classList.add(A)),Object.assign(E,y),e.appendChild(E),v=E,yield new Promise(A=>(0,i.c)(E,A))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(v=e.children[0]).classList.contains("ion-delegate-host")){const A=null===(C=e.ownerDocument)||void 0===C?void 0:C.createElement("div");A.classList.add("ion-delegate-host"),m.forEach(T=>A.classList.add(T)),A.append(...e.children),e.appendChild(A),v=A}const M=document.querySelector("ion-app")||document.body;return c=document.createComment("ionic teleport"),e.parentNode.insertBefore(c,e),M.appendChild(e),v??e});return function(S,y){return b.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&c&&(c.parentNode.insertBefore(e,c),c.remove()),Promise.resolve())}}},66560:(ve,f,o)=>{"use strict";o.d(f,{G:()=>a});class i{constructor(c,l,g,b,p){this.id=l,this.name=g,this.disableScroll=p,this.priority=1e6*b+l,this.ctrl=c}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const c=this.ctrl.capture(this.name,this.id,this.priority);return c&&this.disableScroll&&this.ctrl.disableScroll(this.id),c}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class d{constructor(c,l,g,b){this.id=l,this.disable=g,this.disableScroll=b,this.ctrl=c}block(){if(this.ctrl){if(this.disable)for(const c of this.disable)this.ctrl.disableGesture(c,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const c of this.disable)this.ctrl.enableGesture(c,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const u="backdrop-no-scroll",a=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(c){var l;return new i(this,this.newID(),c.name,null!==(l=c.priority)&&void 0!==l?l:0,!!c.disableScroll)}createBlocker(c={}){return new d(this,this.newID(),c.disable,!!c.disableScroll)}start(c,l,g){return this.canStart(c)?(this.requestedStart.set(l,g),!0):(this.requestedStart.delete(l),!1)}capture(c,l,g){if(!this.start(c,l,g))return!1;const b=this.requestedStart;let p=-1e4;if(b.forEach(S=>{p=Math.max(p,S)}),p===g){this.capturedId=l,b.clear();const S=new CustomEvent("ionGestureCaptured",{detail:{gestureName:c}});return document.dispatchEvent(S),!0}return b.delete(l),!1}release(c){this.requestedStart.delete(c),this.capturedId===c&&(this.capturedId=void 0)}disableGesture(c,l){let g=this.disabledGestures.get(c);void 0===g&&(g=new Set,this.disabledGestures.set(c,g)),g.add(l)}enableGesture(c,l){const g=this.disabledGestures.get(c);void 0!==g&&g.delete(l)}disableScroll(c){this.disabledScroll.add(c),1===this.disabledScroll.size&&document.body.classList.add(u)}enableScroll(c){this.disabledScroll.delete(c),0===this.disabledScroll.size&&document.body.classList.remove(u)}canStart(c){return!(void 0!==this.capturedId||this.isDisabled(c))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(c){const l=this.disabledGestures.get(c);return!!(l&&l.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{MENU_BACK_BUTTON_PRIORITY:()=>g,OVERLAY_BACK_BUTTON_PRIORITY:()=>l,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>a,startHardwareBackButton:()=>c});var n=o(1528),i=o(14829),d=o(88523);o(62992);const a=()=>d.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,e=()=>{document.addEventListener("backbutton",()=>{})},c=()=>{const b=document;let p=!1;const S=()=>{if(p)return;let y=0,m=[];const h=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,E){m.push({priority:M,handler:E,id:y++})}}});b.dispatchEvent(h);const C=function(){var M=(0,n.c)(function*(E){try{if(E?.handler){const A=E.handler(v);null!=A&&(yield A)}}catch(A){console.error(A)}});return function(A){return M.apply(this,arguments)}}(),v=()=>{if(m.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};m.forEach(E=>{E.priority>=M.priority&&(M=E)}),p=!0,m=m.filter(E=>E.id!==M.id),C(M).then(()=>p=!1)}};v()};if(a()){let y;const m=()=>{y?.destroy(),y=new i.w.CloseWatcher,y.onclose=()=>{S(),m()}};m()}else b.addEventListener("backbutton",S)},l=100,g=99},46384:(ve,f,o)=>{"use strict";o.d(f,{a:()=>l,b:()=>g,c:()=>d,d:()=>C,e:()=>h,f:()=>m,g:()=>b,h:()=>y,i:()=>c,j:()=>R,k:()=>a,l:()=>v,m:()=>u,n:()=>S,o:()=>M,p:()=>T,q:()=>N,r:()=>p,s:()=>P,t:()=>n,u:()=>E,v:()=>A});const n=(L,x=0)=>new Promise(V=>{i(L,x,V)}),i=(L,x=0,V)=>{let F,ee;const X={passive:!0},Q=()=>{F&&F()},ne=Y=>{(void 0===Y||L===Y.target)&&(Q(),V(Y))};return L&&(L.addEventListener("webkitTransitionEnd",ne,X),L.addEventListener("transitionend",ne,X),ee=setTimeout(ne,x+500),F=()=>{void 0!==ee&&(clearTimeout(ee),ee=void 0),L.removeEventListener("webkitTransitionEnd",ne,X),L.removeEventListener("transitionend",ne,X)}),Q},d=(L,x)=>{L.componentOnReady?L.componentOnReady().then(V=>x(V)):p(()=>x(L))},u=L=>void 0!==L.componentOnReady,a=(L,x=[])=>{const V={};return x.forEach(F=>{L.hasAttribute(F)&&(null!==L.getAttribute(F)&&(V[F]=L.getAttribute(F)),L.removeAttribute(F))}),V},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],c=(L,x)=>{let V=e;return x&&x.length>0&&(V=V.filter(F=>!x.includes(F))),a(L,V)},l=(L,x,V,F)=>{var ee;if(typeof window<"u"){const X=window,ce=null===(ee=X?.Ionic)||void 0===ee?void 0:ee.config;if(ce){const Q=ce.get("_ael");if(Q)return Q(L,x,V,F);if(ce._ael)return ce._ael(L,x,V,F)}}return L.addEventListener(x,V,F)},g=(L,x,V,F)=>{var ee;if(typeof window<"u"){const X=window,ce=null===(ee=X?.Ionic)||void 0===ee?void 0:ee.config;if(ce){const Q=ce.get("_rel");if(Q)return Q(L,x,V,F);if(ce._rel)return ce._rel(L,x,V,F)}}return L.removeEventListener(x,V,F)},b=(L,x=L)=>L.shadowRoot||x,p=L=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(L):"function"==typeof requestAnimationFrame?requestAnimationFrame(L):setTimeout(L),S=L=>!!L.shadowRoot&&!!L.attachShadow,y=L=>{const x=L.closest("ion-item");return x?x.querySelector("ion-label"):null},m=L=>{if(L.focus(),L.classList.contains("ion-focusable")){const x=L.closest("ion-app");x&&x.setFocus([L])}},h=(L,x)=>{let V;const F=L.getAttribute("aria-labelledby"),ee=L.id;let X=null!==F&&""!==F.trim()?F:x+"-lbl",ce=null!==F&&""!==F.trim()?document.getElementById(F):y(L);return ce?(null===F&&(ce.id=X),V=ce.textContent,ce.setAttribute("aria-hidden","true")):""!==ee.trim()&&(ce=document.querySelector(`label[for="${ee}"]`),ce&&(""!==ce.id?X=ce.id:ce.id=X=`${ee}-lbl`,V=ce.textContent)),{label:ce,labelId:X,labelText:V}},C=(L,x,V,F,ee)=>{if(L||S(x)){let X=x.querySelector("input.aux-input");X||(X=x.ownerDocument.createElement("input"),X.type="hidden",X.classList.add("aux-input"),x.appendChild(X)),X.disabled=ee,X.name=V,X.value=F||""}},v=(L,x,V)=>Math.max(L,Math.min(x,V)),M=(L,x)=>{if(!L){const V="ASSERT: "+x;throw console.error(V),new Error(V)}},E=L=>L.timeStamp||Date.now(),A=L=>{if(L){const x=L.changedTouches;if(x&&x.length>0){const V=x[0];return{x:V.clientX,y:V.clientY}}if(void 0!==L.pageX)return{x:L.pageX,y:L.pageY}}return{x:0,y:0}},T=L=>{const x="rtl"===document.dir;switch(L){case"start":return x;case"end":return!x;default:throw new Error(`"${L}" is not a valid value for [side]. Use "start" or "end" instead.`)}},R=(L,x)=>{const V=L._original||L;return{_original:L,emit:N(V.emit.bind(V),x)}},N=(L,x=0)=>{let V;return(...F)=>{clearTimeout(V),V=setTimeout(L,x,...F)}},P=(L,x)=>{if(L??(L={}),x??(x={}),L===x)return!0;const V=Object.keys(L);if(V.length!==Object.keys(x).length)return!1;for(const F of V)if(!(F in x)||L[F]!==x[F])return!1;return!0}},62528:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>g});var n=o(66560);const i=(y,m,h,C)=>{const v=d(y)?{capture:!!C.capture,passive:!!C.passive}:!!C.capture;let M,E;return y.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",E="__zone_symbol__removeEventListener"):(M="addEventListener",E="removeEventListener"),y[M](m,h,v),()=>{y[E](m,h,v)}},d=y=>{if(void 0===u)try{const m=Object.defineProperty({},"passive",{get:()=>{u=!0}});y.addEventListener("optsTest",()=>{},m)}catch{u=!1}return!!u};let u;const c=y=>y instanceof Document?y:y.ownerDocument,g=y=>{let m=!1,h=!1,C=!0,v=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},y),E=M.canStart,A=M.onWillStart,T=M.onStart,R=M.onEnd,N=M.notCaptured,P=M.onMove,L=M.threshold,x=M.passive,V=M.blurOnStart,F={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},ee=((y,m,h)=>{const C=h*(Math.PI/180),v="x"===y,M=Math.cos(C),E=m*m;let A=0,T=0,R=!1,N=0;return{start(P,L){A=P,T=L,N=0,R=!0},detect(P,L){if(!R)return!1;const x=P-A,V=L-T,F=x*x+V*V;if(FM?1:X<-M?-1:0,R=!1,!0},isGesture:()=>0!==N,getDirection:()=>N}})(M.direction,M.threshold,M.maxAngle),X=n.G.createGesture({name:y.gestureName,priority:y.gesturePriority,disableScroll:y.disableScroll}),ne=()=>{m&&(v=!1,P&&P(F))},Y=()=>!!X.capture()&&(m=!0,C=!1,F.startX=F.currentX,F.startY=F.currentY,F.startTime=F.currentTime,A?A(F).then(ae):ae(),!0),ae=()=>{V&&(()=>{if(typeof document<"u"){const G=document.activeElement;G?.blur&&G.blur()}})(),T&&T(F),C=!0},J=()=>{m=!1,h=!1,v=!1,C=!0,X.release()},K=G=>{const ue=m,ye=C;if(J(),ye){if(b(F,G),ue)return void(R&&R(F));N&&N(F)}},W=((y,m,h,C,v)=>{let M,E,A,T,R,N,P,L=0;const x=H=>{L=Date.now()+2e3,m(H)&&(!E&&h&&(E=i(y,"touchmove",h,v)),A||(A=i(H.target,"touchend",F,v)),T||(T=i(H.target,"touchcancel",F,v)))},V=H=>{L>Date.now()||m(H)&&(!N&&h&&(N=i(c(y),"mousemove",h,v)),P||(P=i(c(y),"mouseup",ee,v)))},F=H=>{X(),C&&C(H)},ee=H=>{ce(),C&&C(H)},X=()=>{E&&E(),A&&A(),T&&T(),E=A=T=void 0},ce=()=>{N&&N(),P&&P(),N=P=void 0},Q=()=>{X(),ce()},ne=(H=!0)=>{H?(M||(M=i(y,"touchstart",x,v)),R||(R=i(y,"mousedown",V,v))):(M&&M(),R&&R(),M=R=void 0,Q())};return{enable:ne,stop:Q,destroy:()=>{ne(!1),C=h=m=void 0}}})(M.el,G=>{const ue=S(G);return!(h||!C||(p(G,F),F.startX=F.currentX,F.startY=F.currentY,F.startTime=F.currentTime=ue,F.velocityX=F.velocityY=F.deltaX=F.deltaY=0,F.event=G,E&&!1===E(F))||(X.release(),!X.start()))&&(h=!0,0===L?Y():(ee.start(F.startX,F.startY),!0))},G=>{m?!v&&C&&(v=!0,b(F,G),requestAnimationFrame(ne)):(b(F,G),ee.detect(F.currentX,F.currentY)&&(!ee.isGesture()||!Y())&&re())},K,{capture:!1,passive:x}),re=()=>{J(),W.stop(),N&&N(F)};return{enable(G=!0){G||(m&&K(void 0),J()),W.enable(G)},destroy(){X.destroy(),W.destroy()}}},b=(y,m)=>{if(!m)return;const h=y.currentX,C=y.currentY,v=y.currentTime;p(m,y);const M=y.currentX,E=y.currentY,T=(y.currentTime=S(m))-v;if(T>0&&T<100){const N=(E-C)/T;y.velocityX=(M-h)/T*.7+.3*y.velocityX,y.velocityY=.7*N+.3*y.velocityY}y.deltaX=M-y.startX,y.deltaY=E-y.startY,y.event=m},p=(y,m)=>{let h=0,C=0;if(y){const v=y.changedTouches;if(v&&v.length>0){const M=v[0];h=M.clientX,C=M.clientY}else void 0!==y.pageX&&(h=y.pageX,C=y.pageY)}m.currentX=h,m.currentY=C},S=y=>y.timeStamp||Date.now()},76256:(ve,f,o)=>{"use strict";o.d(f,{b:()=>e,c:()=>c,d:()=>l,e:()=>L,g:()=>F,l:()=>N,s:()=>x,t:()=>p,w:()=>P});var n=o(1528),i=o(62992),d=o(46384);const e="ionViewWillLeave",c="ionViewDidLeave",l="ionViewWillUnload",p=ee=>new Promise((X,ce)=>{(0,i.w)(()=>{S(ee),y(ee).then(Q=>{Q.animation&&Q.animation.destroy(),m(ee),X(Q)},Q=>{m(ee),ce(Q)})})}),S=ee=>{const X=ee.enteringEl,ce=ee.leavingEl;V(X,ce,ee.direction),ee.showGoBack?X.classList.add("can-go-back"):X.classList.remove("can-go-back"),x(X,!1),X.style.setProperty("pointer-events","none"),ce&&(x(ce,!1),ce.style.setProperty("pointer-events","none"))},y=function(){var ee=(0,n.c)(function*(X){const ce=yield h(X);return ce&&i.B.isBrowser?C(ce,X):v(X)});return function(ce){return ee.apply(this,arguments)}}(),m=ee=>{const X=ee.enteringEl,ce=ee.leavingEl;X.classList.remove("ion-page-invisible"),X.style.removeProperty("pointer-events"),void 0!==ce&&(ce.classList.remove("ion-page-invisible"),ce.style.removeProperty("pointer-events"))},h=function(){var ee=(0,n.c)(function*(X){return X.leavingEl&&X.animated&&0!==X.duration?X.animationBuilder?X.animationBuilder:"ios"===X.mode?(yield Promise.resolve().then(o.bind(o,68512))).iosTransitionAnimation:(yield Promise.resolve().then(o.bind(o,96556))).mdTransitionAnimation:void 0});return function(ce){return ee.apply(this,arguments)}}(),C=function(){var ee=(0,n.c)(function*(X,ce){yield M(ce,!0);const Q=X(ce.baseEl,ce);T(ce.enteringEl,ce.leavingEl);const ne=yield A(Q,ce);return ce.progressCallback&&ce.progressCallback(void 0),ne&&R(ce.enteringEl,ce.leavingEl),{hasCompleted:ne,animation:Q}});return function(ce,Q){return ee.apply(this,arguments)}}(),v=function(){var ee=(0,n.c)(function*(X){const ce=X.enteringEl,Q=X.leavingEl;return yield M(X,!1),T(ce,Q),R(ce,Q),{hasCompleted:!0}});return function(ce){return ee.apply(this,arguments)}}(),M=function(){var ee=(0,n.c)(function*(X,ce){(void 0!==X.deepWait?X.deepWait:ce)&&(yield Promise.all([L(X.enteringEl),L(X.leavingEl)])),yield E(X.viewIsReady,X.enteringEl)});return function(ce,Q){return ee.apply(this,arguments)}}(),E=function(){var ee=(0,n.c)(function*(X,ce){X&&(yield X(ce))});return function(ce,Q){return ee.apply(this,arguments)}}(),A=(ee,X)=>{const ce=X.progressCallback,Q=new Promise(ne=>{ee.onFinish(Y=>ne(1===Y))});return ce?(ee.progressStart(!0),ce(ee)):ee.play(),Q},T=(ee,X)=>{N(X,e),N(ee,"ionViewWillEnter")},R=(ee,X)=>{N(ee,"ionViewDidEnter"),N(X,c)},N=(ee,X)=>{if(ee){const ce=new CustomEvent(X,{bubbles:!1,cancelable:!1});ee.dispatchEvent(ce)}},P=()=>new Promise(ee=>(0,d.r)(()=>(0,d.r)(()=>ee()))),L=function(){var ee=(0,n.c)(function*(X){const ce=X;if(ce){if(null!=ce.componentOnReady){if(null!=(yield ce.componentOnReady()))return}else if(null!=ce.__registerHost)return void(yield new Promise(ne=>(0,d.r)(ne)));yield Promise.all(Array.from(ce.children).map(L))}});return function(ce){return ee.apply(this,arguments)}}(),x=(ee,X)=>{X?(ee.setAttribute("aria-hidden","true"),ee.classList.add("ion-page-hidden")):(ee.hidden=!1,ee.removeAttribute("aria-hidden"),ee.classList.remove("ion-page-hidden"))},V=(ee,X,ce)=>{void 0!==ee&&(ee.style.zIndex="back"===ce?"99":"101"),void 0!==X&&(X.style.zIndex="100")},F=ee=>ee.classList.contains("ion-page")?ee:ee.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||ee},62992:(ve,f,o)=>{"use strict";o.d(f,{B:()=>S,H:()=>Y,a:()=>Xn,b:()=>Sr,c:()=>ye,d:()=>De,e:()=>Fe,f:()=>ie,g:()=>Ie,h:()=>Q,i:()=>tn,j:()=>y,r:()=>Qn,w:()=>Te});var n=o(1528);let u,a,e,c=!1,l=!1,g=!1,b=!1,p=!1;const S={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},y=me=>{const Ae=new URL(me,Mn.$resourcesUrl$);return Ae.origin!==dn.location.origin?Ae.href:Ae.pathname},A="s-id",T="sty-id",R="c-id",P="slot-fb{display:contents}slot-fb[hidden]{display:none}",L="http://www.w3.org/1999/xlink",x={},X=me=>"object"==(me=typeof me)||"function"===me;function ce(me){var Ae,et,pt;return null!==(pt=null===(et=null===(Ae=me.head)||void 0===Ae?void 0:Ae.querySelector('meta[name="csp-nonce"]'))||void 0===et?void 0:et.getAttribute("content"))&&void 0!==pt?pt:void 0}const Q=(me,Ae,...et)=>{let pt=null,At=null,Nt=null,Jt=!1,mn=!1;const _n=[],Cn=Gt=>{for(let Nn=0;NnGt[Nn]).join(" "))}}if("function"==typeof me)return me(null===Ae?{}:Ae,_n,ae);const fn=ne(me,null);return fn.$attrs$=Ae,_n.length>0&&(fn.$children$=_n),fn.$key$=At,fn.$name$=Nt,fn},ne=(me,Ae)=>({$flags$:0,$tag$:me,$text$:Ae,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Y={},ae={forEach:(me,Ae)=>me.map(J).forEach(Ae),map:(me,Ae)=>me.map(J).map(Ae).map(K)},J=me=>({vattrs:me.$attrs$,vchildren:me.$children$,vkey:me.$key$,vname:me.$name$,vtag:me.$tag$,vtext:me.$text$}),K=me=>{if("function"==typeof me.vtag){const et=Object.assign({},me.vattrs);return me.vkey&&(et.key=me.vkey),me.vname&&(et.name=me.vname),Q(me.vtag,et,...me.vchildren||[])}const Ae=ne(me.vtag,me.vtext);return Ae.$attrs$=me.vattrs,Ae.$children$=me.vchildren,Ae.$key$=me.vkey,Ae.$name$=me.vname,Ae},re=(me,Ae,et,pt,At,Nt,Jt)=>{let mn,_n,Cn,fn;if(1===Nt.nodeType){for(mn=Nt.getAttribute(R),mn&&(_n=mn.split("."),(_n[0]===Jt||"0"===_n[0])&&(Cn={$flags$:0,$hostId$:_n[0],$nodeId$:_n[1],$depth$:_n[2],$index$:_n[3],$tag$:Nt.tagName.toLowerCase(),$elm$:Nt,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Ae.push(Cn),Nt.removeAttribute(R),me.$children$||(me.$children$=[]),me.$children$[Cn.$index$]=Cn,me=Cn,pt&&"0"===Cn.$depth$&&(pt[Cn.$index$]=Cn.$elm$))),fn=Nt.childNodes.length-1;fn>=0;fn--)re(me,Ae,et,pt,At,Nt.childNodes[fn],Jt);if(Nt.shadowRoot)for(fn=Nt.shadowRoot.childNodes.length-1;fn>=0;fn--)re(me,Ae,et,pt,At,Nt.shadowRoot.childNodes[fn],Jt)}else if(8===Nt.nodeType)_n=Nt.nodeValue.split("."),(_n[1]===Jt||"0"===_n[1])&&(mn=_n[0],Cn={$flags$:0,$hostId$:_n[1],$nodeId$:_n[2],$depth$:_n[3],$index$:_n[4],$elm$:Nt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===mn?(Cn.$elm$=Nt.nextSibling,Cn.$elm$&&3===Cn.$elm$.nodeType&&(Cn.$text$=Cn.$elm$.textContent,Ae.push(Cn),Nt.remove(),me.$children$||(me.$children$=[]),me.$children$[Cn.$index$]=Cn,pt&&"0"===Cn.$depth$&&(pt[Cn.$index$]=Cn.$elm$))):Cn.$hostId$===Jt&&("s"===mn?(Cn.$tag$="slot",Nt["s-sn"]=_n[5]?Cn.$name$=_n[5]:"",Nt["s-sr"]=!0,pt&&(Cn.$elm$=En.createElement(Cn.$tag$),Cn.$name$&&Cn.$elm$.setAttribute("name",Cn.$name$),Nt.parentNode.insertBefore(Cn.$elm$,Nt),Nt.remove(),"0"===Cn.$depth$&&(pt[Cn.$index$]=Cn.$elm$)),et.push(Cn),me.$children$||(me.$children$=[]),me.$children$[Cn.$index$]=Cn):"r"===mn&&(pt?Nt.remove():(At["s-cr"]=Nt,Nt["s-cn"]=!0))));else if(me&&"style"===me.$tag$){const Gt=ne(null,Nt.textContent);Gt.$elm$=Nt,Gt.$index$="0",me.$children$=[Gt]}},G=(me,Ae)=>{if(1===me.nodeType){let et=0;for(;etrn.push(me),Ie=me=>jn(me).$modeName$,ie=me=>jn(me).$hostElement$,De=(me,Ae,et)=>{const pt=ie(me);return{emit:At=>ze(pt,Ae,{bubbles:!!(4&et),composed:!!(2&et),cancelable:!!(1&et),detail:At})}},ze=(me,Ae,et)=>{const pt=Mn.ce(Ae,et);return me.dispatchEvent(pt),pt},qe=new WeakMap,nt=(me,Ae,et)=>{let pt=Pt.get(me);zn&&et?(pt=pt||new CSSStyleSheet,"string"==typeof pt?pt=Ae:pt.replaceSync(Ae)):pt=Ae,Pt.set(me,pt)},ft=(me,Ae,et)=>{var pt;const At=mt(Ae,et),Nt=Pt.get(At);if(me=11===me.nodeType?me:En,Nt)if("string"==typeof Nt){let mn,Jt=qe.get(me=me.head||me);if(Jt||qe.set(me,Jt=new Set),!Jt.has(At)){if(me.host&&(mn=me.querySelector(`[${T}="${At}"]`)))mn.innerHTML=Nt;else{mn=En.createElement("style"),mn.innerHTML=Nt;const _n=null!==(pt=Mn.$nonce$)&&void 0!==pt?pt:ce(En);null!=_n&&mn.setAttribute("nonce",_n),me.insertBefore(mn,me.querySelector("link"))}4&Ae.$flags$&&(mn.innerHTML+=P),Jt&&Jt.add(At)}}else me.adoptedStyleSheets.includes(Nt)||(me.adoptedStyleSheets=[...me.adoptedStyleSheets,Nt]);return At},mt=(me,Ae)=>"sc-"+(Ae&&32&me.$flags$?me.$tagName$+"-"+Ae:me.$tagName$),Wt=me=>me.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),bt=(me,Ae,et,pt,At,Nt)=>{if(et!==pt){let Jt=ui(me,Ae),mn=Ae.toLowerCase();if("class"===Ae){const _n=me.classList,Cn=an(et),fn=an(pt);_n.remove(...Cn.filter(Gt=>Gt&&!fn.includes(Gt))),_n.add(...fn.filter(Gt=>Gt&&!Cn.includes(Gt)))}else if("style"===Ae){for(const _n in et)(!pt||null==pt[_n])&&(_n.includes("-")?me.style.removeProperty(_n):me.style[_n]="");for(const _n in pt)(!et||pt[_n]!==et[_n])&&(_n.includes("-")?me.style.setProperty(_n,pt[_n]):me.style[_n]=pt[_n])}else if("key"!==Ae)if("ref"===Ae)pt&&pt(me);else if(Jt||"o"!==Ae[0]||"n"!==Ae[1]){const _n=X(pt);if((Jt||_n&&null!==pt)&&!At)try{if(me.tagName.includes("-"))me[Ae]=pt;else{const fn=pt??"";"list"===Ae?Jt=!1:(null==et||me[Ae]!=fn)&&(me[Ae]=fn)}}catch{}let Cn=!1;mn!==(mn=mn.replace(/^xlink\:?/,""))&&(Ae=mn,Cn=!0),null==pt||!1===pt?(!1!==pt||""===me.getAttribute(Ae))&&(Cn?me.removeAttributeNS(L,Ae):me.removeAttribute(Ae)):(!Jt||4&Nt||At)&&!_n&&(pt=!0===pt?"":pt,Cn?me.setAttributeNS(L,Ae,pt):me.setAttribute(Ae,pt))}else if(Ae="-"===Ae[2]?Ae.slice(3):ui(dn,mn)?mn.slice(2):mn[2]+Ae.slice(3),et||pt){const _n=Ae.endsWith(hn);Ae=Ae.replace(wn,""),et&&Mn.rel(me,Ae,et,_n),pt&&Mn.ael(me,Ae,pt,_n)}}},Bt=/\s/,an=me=>me?me.split(Bt):[],hn="Capture",wn=new RegExp(hn+"$"),An=(me,Ae,et,pt)=>{const At=11===Ae.$elm$.nodeType&&Ae.$elm$.host?Ae.$elm$.host:Ae.$elm$,Nt=me&&me.$attrs$||x,Jt=Ae.$attrs$||x;for(pt in Nt)pt in Jt||bt(At,pt,Nt[pt],void 0,et,Ae.$flags$);for(pt in Jt)bt(At,pt,Nt[pt],Jt[pt],et,Ae.$flags$)},vn=(me,Ae,et,pt)=>{const At=Ae.$children$[et];let Jt,mn,_n,Nt=0;if(c||(g=!0,"slot"===At.$tag$&&(u&&pt.classList.add(u+"-s"),At.$flags$|=At.$children$?2:1)),null!==At.$text$)Jt=At.$elm$=En.createTextNode(At.$text$);else if(1&At.$flags$)Jt=At.$elm$=En.createTextNode("");else{if(b||(b="svg"===At.$tag$),Jt=At.$elm$=En.createElementNS(b?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&At.$flags$?"slot-fb":At.$tag$),b&&"foreignObject"===At.$tag$&&(b=!1),An(null,At,b),(me=>null!=me)(u)&&Jt["s-si"]!==u&&Jt.classList.add(Jt["s-si"]=u),At.$children$)for(Nt=0;Nt{Mn.$flags$|=1;const et=me.childNodes;for(let pt=et.length-1;pt>=0;pt--){const At=et[pt];At["s-hn"]!==e&&At["s-ol"]&&(je(At).insertBefore(At,Ge(At)),At["s-ol"].remove(),At["s-ol"]=void 0,At["s-sh"]=void 0,g=!0),Ae&&en(At,Ae)}Mn.$flags$&=-2},dt=(me,Ae,et,pt,At,Nt)=>{let mn,Jt=me["s-cr"]&&me["s-cr"].parentNode||me;for(Jt.shadowRoot&&Jt.tagName===e&&(Jt=Jt.shadowRoot);At<=Nt;++At)pt[At]&&(mn=vn(null,et,At,me),mn&&(pt[At].$elm$=mn,Jt.insertBefore(mn,Ge(Ae))))},Ue=(me,Ae,et)=>{for(let pt=Ae;pt<=et;++pt){const At=me[pt];if(At){const Nt=At.$elm$;it(At),Nt&&(l=!0,Nt["s-ol"]?Nt["s-ol"].remove():en(Nt,!0),Nt.remove())}}},Pe=(me,Ae,et=!1)=>me.$tag$===Ae.$tag$&&("slot"===me.$tag$?me.$name$===Ae.$name$:!!et||me.$key$===Ae.$key$),Ge=me=>me&&me["s-ol"]||me,je=me=>(me["s-ol"]?me["s-ol"]:me).parentNode,ht=(me,Ae,et=!1)=>{const pt=Ae.$elm$=me.$elm$,At=me.$children$,Nt=Ae.$children$,Jt=Ae.$tag$,mn=Ae.$text$;let _n;null===mn?(b="svg"===Jt||"foreignObject"!==Jt&&b,"slot"===Jt&&!c||An(me,Ae,b),null!==At&&null!==Nt?((me,Ae,et,pt,At=!1)=>{let Nr,Lr,Nt=0,Jt=0,mn=0,_n=0,Cn=Ae.length-1,fn=Ae[0],Gt=Ae[Cn],Nn=pt.length-1,lr=pt[0],cr=pt[Nn];for(;Nt<=Cn&&Jt<=Nn;)if(null==fn)fn=Ae[++Nt];else if(null==Gt)Gt=Ae[--Cn];else if(null==lr)lr=pt[++Jt];else if(null==cr)cr=pt[--Nn];else if(Pe(fn,lr,At))ht(fn,lr,At),fn=Ae[++Nt],lr=pt[++Jt];else if(Pe(Gt,cr,At))ht(Gt,cr,At),Gt=Ae[--Cn],cr=pt[--Nn];else if(Pe(fn,cr,At))("slot"===fn.$tag$||"slot"===cr.$tag$)&&en(fn.$elm$.parentNode,!1),ht(fn,cr,At),me.insertBefore(fn.$elm$,Gt.$elm$.nextSibling),fn=Ae[++Nt],cr=pt[--Nn];else if(Pe(Gt,lr,At))("slot"===fn.$tag$||"slot"===cr.$tag$)&&en(Gt.$elm$.parentNode,!1),ht(Gt,lr,At),me.insertBefore(Gt.$elm$,fn.$elm$),Gt=Ae[--Cn],lr=pt[++Jt];else{for(mn=-1,_n=Nt;_n<=Cn;++_n)if(Ae[_n]&&null!==Ae[_n].$key$&&Ae[_n].$key$===lr.$key$){mn=_n;break}mn>=0?(Lr=Ae[mn],Lr.$tag$!==lr.$tag$?Nr=vn(Ae&&Ae[Jt],et,mn,me):(ht(Lr,lr,At),Ae[mn]=void 0,Nr=Lr.$elm$),lr=pt[++Jt]):(Nr=vn(Ae&&Ae[Jt],et,Jt,me),lr=pt[++Jt]),Nr&&je(fn.$elm$).insertBefore(Nr,Ge(fn.$elm$))}Nt>Cn?dt(me,null==pt[Nn+1]?null:pt[Nn+1].$elm$,et,pt,Jt,Nn):Jt>Nn&&Ue(Ae,Nt,Cn)})(pt,At,Ae,Nt,et):null!==Nt?(null!==me.$text$&&(pt.textContent=""),dt(pt,null,Ae,Nt,0,Nt.length-1)):null!==At&&Ue(At,0,At.length-1),b&&"svg"===Jt&&(b=!1)):(_n=pt["s-cr"])?_n.parentNode.textContent=mn:me.$text$!==mn&&(pt.data=mn)},He=me=>{const Ae=me.childNodes;for(const et of Ae)if(1===et.nodeType){if(et["s-sr"]){const pt=et["s-sn"];et.hidden=!1;for(const At of Ae)if(At!==et)if(At["s-hn"]!==et["s-hn"]||""!==pt){if(1===At.nodeType&&(pt===At.getAttribute("slot")||pt===At["s-sn"])){et.hidden=!0;break}}else if(1===At.nodeType||3===At.nodeType&&""!==At.textContent.trim()){et.hidden=!0;break}}He(et)}},_t=[],lt=me=>{let Ae,et,pt;for(const At of me.childNodes){if(At["s-sr"]&&(Ae=At["s-cr"])&&Ae.parentNode){et=Ae.parentNode.childNodes;const Nt=At["s-sn"];for(pt=et.length-1;pt>=0;pt--)if(Ae=et[pt],!Ae["s-cn"]&&!Ae["s-nr"]&&Ae["s-hn"]!==At["s-hn"])if(Et(Ae,Nt)){let Jt=_t.find(mn=>mn.$nodeToRelocate$===Ae);l=!0,Ae["s-sn"]=Ae["s-sn"]||Nt,Jt?(Jt.$nodeToRelocate$["s-sh"]=At["s-hn"],Jt.$slotRefNode$=At):(Ae["s-sh"]=At["s-hn"],_t.push({$slotRefNode$:At,$nodeToRelocate$:Ae})),Ae["s-sr"]&&_t.map(mn=>{Et(mn.$nodeToRelocate$,Ae["s-sn"])&&(Jt=_t.find(_n=>_n.$nodeToRelocate$===Ae),Jt&&!mn.$slotRefNode$&&(mn.$slotRefNode$=Jt.$slotRefNode$))})}else _t.some(Jt=>Jt.$nodeToRelocate$===Ae)||_t.push({$nodeToRelocate$:Ae})}1===At.nodeType&<(At)}},Et=(me,Ae)=>1===me.nodeType?null===me.getAttribute("slot")&&""===Ae||me.getAttribute("slot")===Ae:me["s-sn"]===Ae||""===Ae,it=me=>{me.$attrs$&&me.$attrs$.ref&&me.$attrs$.ref(null),me.$children$&&me.$children$.map(it)},gt=(me,Ae)=>{Ae&&!me.$onRenderResolve$&&Ae["s-p"]&&Ae["s-p"].push(new Promise(et=>me.$onRenderResolve$=et))},Tt=(me,Ae)=>{if(me.$flags$|=16,!(4&me.$flags$))return gt(me,me.$ancestorComponent$),Te(()=>Ht(me,Ae));me.$flags$|=512},Ht=(me,Ae)=>{const pt=me.$lazyInstance$;let At;return Ae&&(me.$flags$|=256,me.$queuedListeners$&&(me.$queuedListeners$.map(([Nt,Jt])=>Tn(pt,Nt,Jt)),me.$queuedListeners$=void 0),At=Tn(pt,"componentWillLoad")),At=Zt(At,()=>Tn(pt,"componentWillRender")),Zt(At,()=>$t(me,pt,Ae))},Zt=(me,Ae)=>wt(me)?me.then(Ae):Ae(),wt=me=>me instanceof Promise||me&&me.then&&"function"==typeof me.then,$t=function(){var me=(0,n.c)(function*(Ae,et,pt){var At;const Nt=Ae.$hostElement$,mn=Nt["s-rc"];pt&&(me=>{const Ae=me.$cmpMeta$,et=me.$hostElement$,pt=Ae.$flags$,Nt=ft(et.shadowRoot?et.shadowRoot:et.getRootNode(),Ae,me.$modeName$);10&pt&&(et["s-sc"]=Nt,et.classList.add(Nt+"-h"),2&pt&&et.classList.add(Nt+"-s"))})(Ae);Ct(Ae,et,Nt,pt),mn&&(mn.map(Cn=>Cn()),Nt["s-rc"]=void 0);{const Cn=null!==(At=Nt["s-p"])&&void 0!==At?At:[],fn=()=>It(Ae);0===Cn.length?fn():(Promise.all(Cn).then(fn),Ae.$flags$|=4,Cn.length=0)}});return function(et,pt,At){return me.apply(this,arguments)}}(),Ct=(me,Ae,et,pt)=>{try{Ae=Ae.render&&Ae.render(),me.$flags$&=-17,me.$flags$|=2,((me,Ae,et=!1)=>{var pt,At,Nt,Jt;const mn=me.$hostElement$,_n=me.$cmpMeta$,Cn=me.$vnode$||ne(null,null),fn=(me=>me&&me.$tag$===Y)(Ae)?Ae:Q(null,null,Ae);if(e=mn.tagName,_n.$attrsToReflect$&&(fn.$attrs$=fn.$attrs$||{},_n.$attrsToReflect$.map(([Gt,Nn])=>fn.$attrs$[Nn]=mn[Gt])),et&&fn.$attrs$)for(const Gt of Object.keys(fn.$attrs$))mn.hasAttribute(Gt)&&!["key","ref","style","class"].includes(Gt)&&(fn.$attrs$[Gt]=mn[Gt]);if(fn.$tag$=null,fn.$flags$|=4,me.$vnode$=fn,fn.$elm$=Cn.$elm$=mn.shadowRoot||mn,u=mn["s-sc"],c=0!=(1&_n.$flags$),a=mn["s-cr"],l=!1,ht(Cn,fn,et),Mn.$flags$|=1,g){lt(fn.$elm$);for(const Gt of _t){const Nn=Gt.$nodeToRelocate$;if(!Nn["s-ol"]){const lr=En.createTextNode("");lr["s-nr"]=Nn,Nn.parentNode.insertBefore(Nn["s-ol"]=lr,Nn)}}for(const Gt of _t){const Nn=Gt.$nodeToRelocate$,lr=Gt.$slotRefNode$;if(lr){const cr=lr.parentNode;let Nr=lr.nextSibling;{let Lr=null===(pt=Nn["s-ol"])||void 0===pt?void 0:pt.previousSibling;for(;Lr;){let ct=null!==(At=Lr["s-nr"])&&void 0!==At?At:null;if(ct&&ct["s-sn"]===Nn["s-sn"]&&cr===ct.parentNode&&(ct=ct.nextSibling,!ct||!ct["s-nr"])){Nr=ct;break}Lr=Lr.previousSibling}}(!Nr&&cr!==Nn.parentNode||Nn.nextSibling!==Nr)&&Nn!==Nr&&(!Nn["s-hn"]&&Nn["s-ol"]&&(Nn["s-hn"]=Nn["s-ol"].parentNode.nodeName),cr.insertBefore(Nn,Nr),1===Nn.nodeType&&(Nn.hidden=null!==(Nt=Nn["s-ih"])&&void 0!==Nt&&Nt))}else 1===Nn.nodeType&&(et&&(Nn["s-ih"]=null!==(Jt=Nn.hidden)&&void 0!==Jt&&Jt),Nn.hidden=!0)}}l&&He(fn.$elm$),Mn.$flags$&=-2,_t.length=0,a=void 0})(me,Ae,pt)}catch(At){Ir(At,me.$hostElement$)}return null},It=me=>{const et=me.$hostElement$,At=me.$lazyInstance$,Nt=me.$ancestorComponent$;Tn(At,"componentDidRender"),64&me.$flags$?Tn(At,"componentDidUpdate"):(me.$flags$|=64,nn(et),Tn(At,"componentDidLoad"),me.$onReadyResolve$(et),Nt||yn()),me.$onInstanceResolve$(et),me.$onRenderResolve$&&(me.$onRenderResolve$(),me.$onRenderResolve$=void 0),512&me.$flags$&&de(()=>Tt(me,!1)),me.$flags$&=-517},tn=me=>{{const Ae=jn(me),et=Ae.$hostElement$.isConnected;return et&&2==(18&Ae.$flags$)&&Tt(Ae,!1),et}},yn=me=>{nn(En.documentElement),de(()=>ze(dn,"appload",{detail:{namespace:"ionic"}}))},Tn=(me,Ae,et)=>{if(me&&me[Ae])try{return me[Ae](et)}catch(pt){Ir(pt)}},nn=me=>me.classList.add("hydrated"),Br=(me,Ae,et)=>{var pt;const At=me.prototype;if(Ae.$members$){me.watchers&&(Ae.$watchers$=me.watchers);const Nt=Object.entries(Ae.$members$);if(Nt.map(([Jt,[mn]])=>{31&mn||2&et&&32&mn?Object.defineProperty(At,Jt,{get(){return((me,Ae)=>jn(this).$instanceValues$.get(Ae))(0,Jt)},set(_n){((me,Ae,et,pt)=>{const At=jn(me),Nt=At.$hostElement$,Jt=At.$instanceValues$.get(Ae),mn=At.$flags$,_n=At.$lazyInstance$;et=((me,Ae)=>null==me||X(me)?me:4&Ae?"false"!==me&&(""===me||!!me):2&Ae?parseFloat(me):1&Ae?String(me):me)(et,pt.$members$[Ae][0]);const Cn=Number.isNaN(Jt)&&Number.isNaN(et);if((!(8&mn)||void 0===Jt)&&et!==Jt&&!Cn&&(At.$instanceValues$.set(Ae,et),_n)){if(pt.$watchers$&&128&mn){const Gt=pt.$watchers$[Ae];Gt&&Gt.map(Nn=>{try{_n[Nn](et,Jt,Ae)}catch(lr){Ir(lr,Nt)}})}2==(18&mn)&&Tt(At,!1)}})(this,Jt,_n,Ae)},configurable:!0,enumerable:!0}):1&et&&64&mn&&Object.defineProperty(At,Jt,{value(..._n){var Cn;const fn=jn(this);return null===(Cn=fn?.$onInstancePromise$)||void 0===Cn?void 0:Cn.then(()=>{var Gt;return null===(Gt=fn.$lazyInstance$)||void 0===Gt?void 0:Gt[Jt](..._n)})}})}),1&et){const Jt=new Map;At.attributeChangedCallback=function(mn,_n,Cn){Mn.jmp(()=>{var fn;const Gt=Jt.get(mn);if(this.hasOwnProperty(Gt))Cn=this[Gt],delete this[Gt];else{if(At.hasOwnProperty(Gt)&&"number"==typeof this[Gt]&&this[Gt]==Cn)return;if(null==Gt){const Nn=jn(this),lr=Nn?.$flags$;if(lr&&!(8&lr)&&128&lr&&Cn!==_n){const cr=Nn.$lazyInstance$,Nr=null===(fn=Ae.$watchers$)||void 0===fn?void 0:fn[mn];Nr?.forEach(Lr=>{null!=cr[Lr]&&cr[Lr].call(cr,Cn,_n,mn)})}return}}this[Gt]=(null!==Cn||"boolean"!=typeof this[Gt])&&Cn})},me.observedAttributes=Array.from(new Set([...Object.keys(null!==(pt=Ae.$watchers$)&&void 0!==pt?pt:{}),...Nt.filter(([mn,_n])=>15&_n[0]).map(([mn,_n])=>{var Cn;const fn=_n[1]||mn;return Jt.set(fn,mn),512&_n[0]&&(null===(Cn=Ae.$attrsToReflect$)||void 0===Cn||Cn.push([mn,fn])),fn})]))}}return me},sr=function(){var me=(0,n.c)(function*(Ae,et,pt,At){let Nt;if(!(32&et.$flags$)){et.$flags$|=32;{if(Nt=Ot(pt),Nt.then){const Cn=()=>{};Nt=yield Nt,Cn()}Nt.isProxied||(pt.$watchers$=Nt.watchers,Br(Nt,pt,2),Nt.isProxied=!0);const _n=()=>{};et.$flags$|=8;try{new Nt(et)}catch(Cn){Ir(Cn)}et.$flags$&=-9,et.$flags$|=128,_n(),Mr(et.$lazyInstance$)}if(Nt.style){let _n=Nt.style;"string"!=typeof _n&&(_n=_n[et.$modeName$=(me=>rn.map(Ae=>Ae(me)).find(Ae=>!!Ae))(Ae)]);const Cn=mt(pt,et.$modeName$);if(!Pt.has(Cn)){const fn=()=>{};nt(Cn,_n,!!(1&pt.$flags$)),fn()}}}const Jt=et.$ancestorComponent$,mn=()=>Tt(et,!0);Jt&&Jt["s-rc"]?Jt["s-rc"].push(mn):mn()});return function(et,pt,At,Nt){return me.apply(this,arguments)}}(),Mr=me=>{Tn(me,"connectedCallback")},qn=me=>{const Ae=me["s-cr"]=En.createComment("");Ae["s-cn"]=!0,me.insertBefore(Ae,me.firstChild)},Rn=me=>{Tn(me,"disconnectedCallback")},oi=function(){var me=(0,n.c)(function*(Ae){if(!(1&Mn.$flags$)){const et=jn(Ae);et.$rmListeners$&&(et.$rmListeners$.map(pt=>pt()),et.$rmListeners$=void 0),et?.$lazyInstance$?Rn(et.$lazyInstance$):et?.$onReadyPromise$&&et.$onReadyPromise$.then(()=>Rn(et.$lazyInstance$))}});return function(et){return me.apply(this,arguments)}}(),Sr=(me,Ae={})=>{var et;const At=[],Nt=Ae.exclude||[],Jt=dn.customElements,mn=En.head,_n=mn.querySelector("meta[charset]"),Cn=En.createElement("style"),fn=[],Gt=En.querySelectorAll(`[${T}]`);let Nn,lr=!0,cr=0;for(Object.assign(Mn,Ae),Mn.$resourcesUrl$=new URL(Ae.resourcesUrl||"./",En.baseURI).href,Mn.$flags$|=2;cr{Lr[1].map(ct=>{var lo;const vi={$flags$:ct[0],$tagName$:ct[1],$members$:ct[2],$listeners$:ct[3]};4&vi.$flags$&&(Nr=!0),vi.$members$=ct[2],vi.$listeners$=ct[3],vi.$attrsToReflect$=[],vi.$watchers$=null!==(lo=ct[4])&&void 0!==lo?lo:{};const _r=vi.$tagName$,Pn=class extends HTMLElement{constructor(Gn){super(Gn),or(Gn=this,vi),1&vi.$flags$&&Gn.attachShadow({mode:"open",delegatesFocus:!!(16&vi.$flags$)})}connectedCallback(){Nn&&(clearTimeout(Nn),Nn=null),lr?fn.push(this):Mn.jmp(()=>(me=>{if(!(1&Mn.$flags$)){const Ae=jn(me),et=Ae.$cmpMeta$,pt=()=>{};if(1&Ae.$flags$)pr(me,Ae,et.$listeners$),Ae?.$lazyInstance$?Mr(Ae.$lazyInstance$):Ae?.$onReadyPromise$&&Ae.$onReadyPromise$.then(()=>Mr(Ae.$lazyInstance$));else{let At;if(Ae.$flags$|=1,At=me.getAttribute(A),At){if(1&et.$flags$){const Nt=ft(me.shadowRoot,et,me.getAttribute("s-mode"));me.classList.remove(Nt+"-h",Nt+"-s")}((me,Ae,et,pt)=>{const Nt=me.shadowRoot,Jt=[],_n=Nt?[]:null,Cn=pt.$vnode$=ne(Ae,null);Mn.$orgLocNodes$||G(En.body,Mn.$orgLocNodes$=new Map),me[A]=et,me.removeAttribute(A),re(Cn,Jt,[],_n,me,me,et),Jt.map(fn=>{const Gt=fn.$hostId$+"."+fn.$nodeId$,Nn=Mn.$orgLocNodes$.get(Gt),lr=fn.$elm$;Nn&&Yn&&""===Nn["s-en"]&&Nn.parentNode.insertBefore(lr,Nn.nextSibling),Nt||(lr["s-hn"]=Ae,Nn&&(lr["s-ol"]=Nn,lr["s-ol"]["s-nr"]=lr)),Mn.$orgLocNodes$.delete(Gt)}),Nt&&_n.map(fn=>{fn&&Nt.appendChild(fn)})})(me,et.$tagName$,At,Ae)}At||12&et.$flags$&&qn(me);{let Nt=me;for(;Nt=Nt.parentNode||Nt.host;)if(1===Nt.nodeType&&Nt.hasAttribute("s-id")&&Nt["s-p"]||Nt["s-p"]){gt(Ae,Ae.$ancestorComponent$=Nt);break}}et.$members$&&Object.entries(et.$members$).map(([Nt,[Jt]])=>{if(31&Jt&&me.hasOwnProperty(Nt)){const mn=me[Nt];delete me[Nt],me[Nt]=mn}}),sr(me,Ae,et)}pt()}})(this))}disconnectedCallback(){Mn.jmp(()=>oi(this))}componentOnReady(){return jn(this).$onReadyPromise$}};vi.$lazyBundleId$=Lr[0],!Nt.includes(_r)&&!Jt.get(_r)&&(At.push(_r),Jt.define(_r,Br(Pn,vi,1)))})}),At.length>0&&(Nr&&(Cn.innerHTML+=P),Cn.innerHTML+=At+"{visibility:hidden}.hydrated{visibility:inherit}",Cn.innerHTML.length)){Cn.setAttribute("data-styles","");const Lr=null!==(et=Mn.$nonce$)&&void 0!==et?et:ce(En);null!=Lr&&Cn.setAttribute("nonce",Lr),mn.insertBefore(Cn,_n?_n.nextSibling:mn.firstChild)}lr=!1,fn.length?fn.map(Lr=>Lr.connectedCallback()):Mn.jmp(()=>Nn=setTimeout(yn,30))},pr=(me,Ae,et,pt)=>{et&&et.map(([At,Nt,Jt])=>{const mn=er(me,At),_n=Jn(Ae,Jt),Cn=Or(At);Mn.ael(mn,Nt,_n,Cn),(Ae.$rmListeners$=Ae.$rmListeners$||[]).push(()=>Mn.rel(mn,Nt,_n,Cn))})},Jn=(me,Ae)=>et=>{try{256&me.$flags$?me.$lazyInstance$[Ae](et):(me.$queuedListeners$=me.$queuedListeners$||[]).push([Ae,et])}catch(pt){Ir(pt)}},er=(me,Ae)=>4&Ae?En:8&Ae?dn:16&Ae?En.body:me,Or=me=>Tr?{passive:0!=(1&me),capture:0!=(2&me)}:0!=(2&me),qt=new WeakMap,jn=me=>qt.get(me),Qn=(me,Ae)=>qt.set(Ae.$lazyInstance$=me,Ae),or=(me,Ae)=>{const et={$flags$:0,$hostElement$:me,$cmpMeta$:Ae,$instanceValues$:new Map};return et.$onInstancePromise$=new Promise(pt=>et.$onInstanceResolve$=pt),et.$onReadyPromise$=new Promise(pt=>et.$onReadyResolve$=pt),me["s-p"]=[],me["s-rc"]=[],pr(me,et,Ae.$listeners$),qt.set(me,et)},ui=(me,Ae)=>Ae in me,Ir=(me,Ae)=>(0,console.error)(me,Ae),at=new Map,Ot=(me,Ae,et)=>{const pt=me.$tagName$.replace(/-/g,"_"),At=me.$lazyBundleId$,Nt=at.get(At);return Nt?Nt[pt]:o(21480)(`./${At}.entry.js`).then(Jt=>(at.set(At,Jt),Jt[pt]),Ir)},Pt=new Map,rn=[],dn=typeof window<"u"?window:{},En=dn.document||{head:{}},Mn={$flags$:0,$resourcesUrl$:"",jmp:me=>me(),raf:me=>requestAnimationFrame(me),ael:(me,Ae,et,pt)=>me.addEventListener(Ae,et,pt),rel:(me,Ae,et,pt)=>me.removeEventListener(Ae,et,pt),ce:(me,Ae)=>new CustomEvent(me,Ae)},Xn=me=>{Object.assign(Mn,me)},Yn=!0,Tr=(()=>{let me=!1;try{En.addEventListener("e",null,Object.defineProperty({},"passive",{get(){me=!0}}))}catch{}return me})(),zn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ur=[],Ei=[],un=(me,Ae)=>et=>{me.push(et),p||(p=!0,Ae&&4&Mn.$flags$?de(z):Mn.raf(z))},B=me=>{for(let Ae=0;Ae{B(ur),B(Ei),(p=ur.length>0)&&Mn.raf(z)},de=me=>Promise.resolve(void 0).then(me),Fe=un(ur,!1),Te=un(Ei,!0)},52032:(ve,f,o)=>{"use strict";o.d(f,{a:()=>i,b:()=>d,p:()=>n});const n=(u,...a)=>console.warn(`[Ionic Warning]: ${u}`,...a),i=(u,...a)=>console.error(`[Ionic Error]: ${u}`,...a),d=(u,...a)=>console.error(`<${u.tagName.toLowerCase()}> must be used inside ${a.join(" or ")}.`)},14829:(ve,f,o)=>{"use strict";o.d(f,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},43452:(ve,f,o)=>{"use strict";o.d(f,{m:()=>y});var n=o(1528),i=o(14829),d=o(72784),u=o(52032),a=o(46384),e=o(88523),c=o(30388);const l=m=>(0,c.c)().duration(m?400:300),g=m=>{let h,C;const v=m.width+8,M=(0,c.c)(),E=(0,c.c)();m.isEndSide?(h=v+"px",C="0px"):(h=-v+"px",C="0px"),M.addElement(m.menuInnerEl).fromTo("transform",`translateX(${h})`,`translateX(${C})`);const T="ios"===(0,e.b)(m),R=T?.2:.25;return E.addElement(m.backdropEl).fromTo("opacity",.01,R),l(T).addAnimation([M,E])},b=m=>{let h,C;const v=(0,e.b)(m),M=m.width;m.isEndSide?(h=-M+"px",C=M+"px"):(h=M+"px",C=-M+"px");const E=(0,c.c)().addElement(m.menuInnerEl).fromTo("transform",`translateX(${C})`,"translateX(0px)"),A=(0,c.c)().addElement(m.contentEl).fromTo("transform","translateX(0px)",`translateX(${h})`),T=(0,c.c)().addElement(m.backdropEl).fromTo("opacity",.01,.32);return l("ios"===v).addAnimation([E,A,T])},p=m=>{const h=(0,e.b)(m),C=m.width*(m.isEndSide?-1:1)+"px",v=(0,c.c)().addElement(m.contentEl).fromTo("transform","translateX(0px)",`translateX(${C})`);return l("ios"===h).addAnimation(v)},y=(()=>{const m=new Map,h=[],C=function(){var J=(0,n.c)(function*(K){const W=yield N(K,!0);return!!W&&W.open()});return function(W){return J.apply(this,arguments)}}(),v=function(){var J=(0,n.c)(function*(K){const W=yield void 0!==K?N(K,!0):P();return void 0!==W&&W.close()});return function(W){return J.apply(this,arguments)}}(),M=function(){var J=(0,n.c)(function*(K){const W=yield N(K,!0);return!!W&&W.toggle()});return function(W){return J.apply(this,arguments)}}(),E=function(){var J=(0,n.c)(function*(K,W){const re=yield N(W);return re&&(re.disabled=!K),re});return function(W,re){return J.apply(this,arguments)}}(),A=function(){var J=(0,n.c)(function*(K,W){const re=yield N(W);return re&&(re.swipeGesture=K),re});return function(W,re){return J.apply(this,arguments)}}(),T=function(){var J=(0,n.c)(function*(K){if(null!=K){const W=yield N(K);return void 0!==W&&W.isOpen()}return void 0!==(yield P())});return function(W){return J.apply(this,arguments)}}(),R=function(){var J=(0,n.c)(function*(K){const W=yield N(K);return!!W&&!W.disabled});return function(W){return J.apply(this,arguments)}}(),N=function(){var J=(0,n.c)(function*(K,W=!1){if(yield ae(),"start"===K||"end"===K){const G=h.filter(ye=>ye.side===K&&!ye.disabled);if(G.length>=1)return G.length>1&&W&&(0,u.p)(`menuController queried for a menu on the "${K}" side, but ${G.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,G.map(ye=>ye.el)),G[0].el;const ue=h.filter(ye=>ye.side===K);if(ue.length>=1)return ue.length>1&&W&&(0,u.p)(`menuController queried for a menu on the "${K}" side, but ${ue.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,ue.map(ye=>ye.el)),ue[0].el}else if(null!=K)return H(G=>G.menuId===K);return H(G=>!G.disabled)||(h.length>0?h[0].el:void 0)});return function(W){return J.apply(this,arguments)}}(),P=function(){var J=(0,n.c)(function*(){return yield ae(),Q()});return function(){return J.apply(this,arguments)}}(),L=function(){var J=(0,n.c)(function*(){return yield ae(),ne()});return function(){return J.apply(this,arguments)}}(),x=function(){var J=(0,n.c)(function*(){return yield ae(),Y()});return function(){return J.apply(this,arguments)}}(),V=(J,K)=>{m.set(J,K)},X=function(){var J=(0,n.c)(function*(K,W,re){if(Y())return!1;if(W){const G=yield P();G&&K.el!==G&&(yield G.setOpen(!1,!1))}return K._setOpen(W,re)});return function(W,re,G){return J.apply(this,arguments)}}(),Q=()=>H(J=>J._isOpen),ne=()=>h.map(J=>J.el),Y=()=>h.some(J=>J.isAnimating),H=J=>{const K=h.find(J);if(void 0!==K)return K.el},ae=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(J=>new Promise(K=>(0,a.c)(J,K))));return V("reveal",p),V("push",b),V("overlay",g),null==i.d||i.d.addEventListener("ionBackButton",J=>{const K=Q();K&&J.detail.register(d.MENU_BACK_BUTTON_PRIORITY,()=>K.close())}),{registerAnimation:V,get:N,getMenus:L,getOpen:P,isEnabled:R,swipeGesture:A,isAnimating:x,isOpen:T,enable:E,toggle:M,close:v,open:C,_getOpenSync:Q,_createAnimation:(J,K)=>{const W=m.get(J);if(!W)throw new Error("animation not registered");return W(K)},_register:J=>{h.indexOf(J)<0&&h.push(J)},_unregister:J=>{const K=h.indexOf(J);K>-1&&h.splice(K,1)},_setOpen:X}})()},88523:(ve,f,o)=>{"use strict";o.d(f,{a:()=>p,b:()=>ne,c:()=>d,g:()=>b,i:()=>Y});var n=o(62992);class i{constructor(){this.m=new Map}reset(ae){this.m=new Map(Object.entries(ae))}get(ae,J){const K=this.m.get(ae);return void 0!==K?K:J}getBoolean(ae,J=!1){const K=this.m.get(ae);return void 0===K?J:"string"==typeof K?"true"===K:!!K}getNumber(ae,J){const K=parseFloat(this.m.get(ae));return isNaN(K)?void 0!==J?J:NaN:K}set(ae,J){this.m.set(ae,J)}}const d=new i,l="ionic:",g="ionic-persist-config",b=H=>S(H),p=(H,ae)=>("string"==typeof H&&(ae=H,H=void 0),b(H).includes(ae)),S=(H=window)=>{if(typeof H>"u")return[];H.Ionic=H.Ionic||{};let ae=H.Ionic.platforms;return null==ae&&(ae=H.Ionic.platforms=y(H),ae.forEach(J=>H.document.documentElement.classList.add(`plt-${J}`))),ae},y=H=>{const ae=d.get("platform");return Object.keys(ce).filter(J=>{const K=ae?.[J];return"function"==typeof K?K(H):ce[J](H)})},h=H=>!!(ee(H,/iPad/i)||ee(H,/Macintosh/i)&&R(H)),M=H=>ee(H,/android|sink/i),R=H=>X(H,"(any-pointer:coarse)"),P=H=>L(H)||x(H),L=H=>!!(H.cordova||H.phonegap||H.PhoneGap),x=H=>{const ae=H.Capacitor;return!!ae?.isNative},ee=(H,ae)=>ae.test(H.navigator.userAgent),X=(H,ae)=>{var J;return null===(J=H.matchMedia)||void 0===J?void 0:J.call(H,ae).matches},ce={ipad:h,iphone:H=>ee(H,/iPhone/i),ios:H=>ee(H,/iPhone|iPod/i)||h(H),android:M,phablet:H=>{const ae=H.innerWidth,J=H.innerHeight,K=Math.min(ae,J),W=Math.max(ae,J);return K>390&&K<520&&W>620&&W<800},tablet:H=>{const ae=H.innerWidth,J=H.innerHeight,K=Math.min(ae,J),W=Math.max(ae,J);return h(H)||(H=>M(H)&&!ee(H,/mobile/i))(H)||K>460&&K<820&&W>780&&W<1400},cordova:L,capacitor:x,electron:H=>ee(H,/electron/i),pwa:H=>{var ae;return!!(null!==(ae=H.matchMedia)&&void 0!==ae&&ae.call(H,"(display-mode: standalone)").matches||H.navigator.standalone)},mobile:R,mobileweb:H=>R(H)&&!P(H),desktop:H=>!R(H),hybrid:P};let Q;const ne=H=>H&&(0,n.g)(H)||Q,Y=(H={})=>{if(typeof window>"u")return;const ae=window.document,J=window,K=J.Ionic=J.Ionic||{},W={};H._ael&&(W.ael=H._ael),H._rel&&(W.rel=H._rel),H._ce&&(W.ce=H._ce),(0,n.a)(W);const re=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(H=>{try{const ae=H.sessionStorage.getItem(g);return null!==ae?JSON.parse(ae):{}}catch{return{}}})(J)),{persistConfig:!1}),K.config),(H=>{const ae={};return H.location.search.slice(1).split("&").map(J=>J.split("=")).map(([J,K])=>[decodeURIComponent(J),decodeURIComponent(K)]).filter(([J])=>((H,ae)=>H.substr(0,ae.length)===ae)(J,l)).map(([J,K])=>[J.slice(6),K]).forEach(([J,K])=>{ae[J]=K}),ae})(J)),H);d.reset(re),d.getBoolean("persistConfig")&&((H,ae)=>{try{H.sessionStorage.setItem(g,JSON.stringify(ae))}catch{return}})(J,re),S(J),K.config=d,K.mode=Q=d.get("mode",ae.documentElement.getAttribute("mode")||(p(J,"ios")?"ios":"md")),d.set("mode",Q),ae.documentElement.setAttribute("mode",Q),ae.documentElement.classList.add(Q),d.getBoolean("_testing")&&d.set("animated",!1);const G=ye=>{var Ie;return null===(Ie=ye.tagName)||void 0===Ie?void 0:Ie.startsWith("ION-")},ue=ye=>["ios","md"].includes(ye);(0,n.c)(ye=>{for(;ye;){const Ie=ye.mode||ye.getAttribute("mode");if(Ie){if(ue(Ie))return Ie;G(ye)&&console.warn('Invalid ionic mode: "'+Ie+'", expected: "ios" or "md"')}ye=ye.parentElement}return Q})}},68512:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{iosTransitionAnimation:()=>y,shadow:()=>c});var n=o(30388),i=o(76256);o(14829),o(62992);const e=h=>document.querySelector(`${h}.ion-cloned-element`),c=h=>h.shadowRoot||h,l=h=>{const C="ION-TABS"===h.tagName?h:h.querySelector("ion-tabs"),v="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=C){const M=C.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=M?M.querySelector(v):null}return h.querySelector(v)},g=(h,C)=>{const v="ION-TABS"===h.tagName?h:h.querySelector("ion-tabs");let M=[];if(null!=v){const E=v.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=E&&(M=E.querySelectorAll("ion-buttons"))}else M=h.querySelectorAll("ion-buttons");for(const E of M){const A=E.closest("ion-header"),T=A&&!A.classList.contains("header-collapse-condense-inactive"),R=E.querySelector("ion-back-button"),N=E.classList.contains("buttons-collapse");if(null!==R&&("start"===E.slot||""===E.slot)&&(N&&T&&C||!N))return R}return null},p=(h,C,v,M,E,A,T,R,N)=>{var P,L;const x=C?`calc(100% - ${E.right+4}px)`:E.left-4+"px",V=C?"right":"left",F=C?"left":"right",ee=C?"right":"left",X=(null===(P=A.textContent)||void 0===P?void 0:P.trim())===(null===(L=R.textContent)||void 0===L?void 0:L.trim()),Q=(N.height-m)/T.height,ne=X?`scale(${N.width/T.width}, ${Q})`:`scale(${Q})`,Y="scale(1)",ae=c(M).querySelector("ion-icon").getBoundingClientRect(),J=C?ae.width/2-(ae.right-E.right)+"px":E.left-ae.width/2+"px",K=C?`-${window.innerWidth-E.right}px`:`${E.left}px`,W=`${N.top}px`,re=`${E.top}px`,ye=v?[{offset:0,transform:`translate3d(${K}, ${re}, 0)`},{offset:1,transform:`translate3d(${J}, ${W}, 0)`}]:[{offset:0,transform:`translate3d(${J}, ${W}, 0)`},{offset:1,transform:`translate3d(${K}, ${re}, 0)`}],ie=v?[{offset:0,opacity:1,transform:Y},{offset:1,opacity:0,transform:ne}]:[{offset:0,opacity:0,transform:ne},{offset:1,opacity:1,transform:Y}],qe=v?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],nt=(0,n.c)(),ft=(0,n.c)(),rt=(0,n.c)(),mt=e("ion-back-button"),Wt=c(mt).querySelector(".button-text"),bt=c(mt).querySelector("ion-icon");mt.text=M.text,mt.mode=M.mode,mt.icon=M.icon,mt.color=M.color,mt.disabled=M.disabled,mt.style.setProperty("display","block"),mt.style.setProperty("position","fixed"),ft.addElement(bt),nt.addElement(Wt),rt.addElement(mt),rt.beforeStyles({position:"absolute",top:"0px",[ee]:"0px"}).keyframes(ye),nt.beforeStyles({"transform-origin":`${V} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),mt.style.setProperty(V,x)}).afterAddWrite(()=>{M.style.setProperty("display",""),mt.style.setProperty("display","none"),mt.style.removeProperty(V)}).keyframes(ie),ft.beforeStyles({"transform-origin":`${F} center`}).keyframes(qe),h.addAnimation([nt,ft,rt])},S=(h,C,v,M,E,A,T,R)=>{var N,P;const L=C?"right":"left",x=C?`calc(100% - ${E.right}px)`:`${E.left}px`,F=`${E.top}px`,X=C?`-${window.innerWidth-R.right-8}px`:R.x-8+"px",Q=R.y-2+"px",ne=(null===(N=T.textContent)||void 0===N?void 0:N.trim())===(null===(P=M.textContent)||void 0===P?void 0:P.trim()),H=R.height/(A.height-m),ae="scale(1)",J=ne?`scale(${R.width/A.width}, ${H})`:`scale(${H})`,re=v?[{offset:0,opacity:0,transform:`translate3d(${X}, ${Q}, 0) ${J}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${F}, 0) ${ae}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${F}, 0) ${ae}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${X}, ${Q}, 0) ${J}`}],G=e("ion-title"),ue=(0,n.c)();G.innerText=M.innerText,G.size=M.size,G.color=M.color,ue.addElement(G),ue.beforeStyles({"transform-origin":`${L} top`,height:`${E.height}px`,display:"",position:"relative",[L]:x}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),G.style.setProperty("display","none")}).keyframes(re),h.addAnimation(ue)},y=(h,C)=>{var v;try{const M="cubic-bezier(0.32,0.72,0,1)",E="opacity",A="transform",T="0%",N="rtl"===h.ownerDocument.dir,P=N?"-99.5%":"99.5%",L=N?"33%":"-33%",x=C.enteringEl,V=C.leavingEl,F="back"===C.direction,ee=x.querySelector(":scope > ion-content"),X=x.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ce=x.querySelectorAll(":scope > ion-header > ion-toolbar"),Q=(0,n.c)(),ne=(0,n.c)();if(Q.addElement(x).duration((null!==(v=C.duration)&&void 0!==v?v:0)||540).easing(C.easing||M).fill("both").beforeRemoveClass("ion-page-invisible"),V&&null!=h){const J=(0,n.c)();J.addElement(h),Q.addAnimation(J)}if(ee||0!==ce.length||0!==X.length?(ne.addElement(ee),ne.addElement(X)):ne.addElement(x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),Q.addAnimation(ne),F?ne.beforeClearStyles([E]).fromTo("transform",`translateX(${L})`,`translateX(${T})`).fromTo(E,.8,1):ne.beforeClearStyles([E]).fromTo("transform",`translateX(${P})`,`translateX(${T})`),ee){const J=c(ee).querySelector(".transition-effect");if(J){const K=J.querySelector(".transition-cover"),W=J.querySelector(".transition-shadow"),re=(0,n.c)(),G=(0,n.c)(),ue=(0,n.c)();re.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),G.addElement(K).beforeClearStyles([E]).fromTo(E,0,.1),ue.addElement(W).beforeClearStyles([E]).fromTo(E,.03,.7),re.addAnimation([G,ue]),ne.addAnimation([re])}}const Y=x.querySelector("ion-header.header-collapse-condense"),{forward:H,backward:ae}=((h,C,v,M,E)=>{const A=g(M,v),T=l(E),R=l(M),N=g(E,v),P=null!==A&&null!==T&&!v,L=null!==R&&null!==N&&v;if(P){const x=T.getBoundingClientRect(),V=A.getBoundingClientRect(),F=c(A).querySelector(".button-text"),ee=F.getBoundingClientRect(),ce=c(T).querySelector(".toolbar-title").getBoundingClientRect();S(h,C,v,T,x,ce,F,ee),p(h,C,v,A,V,F,ee,T,ce)}else if(L){const x=R.getBoundingClientRect(),V=N.getBoundingClientRect(),F=c(N).querySelector(".button-text"),ee=F.getBoundingClientRect(),ce=c(R).querySelector(".toolbar-title").getBoundingClientRect();S(h,C,v,R,x,ce,F,ee),p(h,C,v,N,V,F,ee,R,ce)}return{forward:P,backward:L}})(Q,N,F,x,V);if(ce.forEach(J=>{const K=(0,n.c)();K.addElement(J),Q.addAnimation(K);const W=(0,n.c)();W.addElement(J.querySelector("ion-title"));const re=(0,n.c)(),G=Array.from(J.querySelectorAll("ion-buttons,[menuToggle]")),ue=J.closest("ion-header"),ye=ue?.classList.contains("header-collapse-condense-inactive");let Ie;Ie=G.filter(F?qe=>{const nt=qe.classList.contains("buttons-collapse");return nt&&!ye||!nt}:qe=>!qe.classList.contains("buttons-collapse")),re.addElement(Ie);const be=(0,n.c)();be.addElement(J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ie=(0,n.c)();ie.addElement(c(J).querySelector(".toolbar-background"));const De=(0,n.c)(),ze=J.querySelector("ion-back-button");if(ze&&De.addElement(ze),K.addAnimation([W,re,be,ie,De]),re.fromTo(E,.01,1),be.fromTo(E,.01,1),F)ye||W.fromTo("transform",`translateX(${L})`,`translateX(${T})`).fromTo(E,.01,1),be.fromTo("transform",`translateX(${L})`,`translateX(${T})`),De.fromTo(E,.01,1);else if(Y||W.fromTo("transform",`translateX(${P})`,`translateX(${T})`).fromTo(E,.01,1),be.fromTo("transform",`translateX(${P})`,`translateX(${T})`),ie.beforeClearStyles([E,"transform"]),ue?.translucent?ie.fromTo("transform",N?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ie.fromTo(E,.01,"var(--opacity)"),H||De.fromTo(E,.01,1),ze&&!H){const nt=(0,n.c)();nt.addElement(c(ze).querySelector(".button-text")).fromTo("transform",N?"translateX(-100px)":"translateX(100px)","translateX(0px)"),K.addAnimation(nt)}}),V){const J=(0,n.c)(),K=V.querySelector(":scope > ion-content"),W=V.querySelectorAll(":scope > ion-header > ion-toolbar"),re=V.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(K||0!==W.length||0!==re.length?(J.addElement(K),J.addElement(re)):J.addElement(V.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),Q.addAnimation(J),F){J.beforeClearStyles([E]).fromTo("transform",`translateX(${T})`,N?"translateX(-100%)":"translateX(100%)");const G=(0,i.g)(V);Q.afterAddWrite(()=>{"normal"===Q.getDirection()&&G.style.setProperty("display","none")})}else J.fromTo("transform",`translateX(${T})`,`translateX(${L})`).fromTo(E,1,.8);if(K){const G=c(K).querySelector(".transition-effect");if(G){const ue=G.querySelector(".transition-cover"),ye=G.querySelector(".transition-shadow"),Ie=(0,n.c)(),be=(0,n.c)(),ie=(0,n.c)();Ie.addElement(G).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),be.addElement(ue).beforeClearStyles([E]).fromTo(E,.1,0),ie.addElement(ye).beforeClearStyles([E]).fromTo(E,.7,.03),Ie.addAnimation([be,ie]),J.addAnimation([Ie])}}W.forEach(G=>{const ue=(0,n.c)();ue.addElement(G);const ye=(0,n.c)();ye.addElement(G.querySelector("ion-title"));const Ie=(0,n.c)(),be=G.querySelectorAll("ion-buttons,[menuToggle]"),ie=G.closest("ion-header"),De=ie?.classList.contains("header-collapse-condense-inactive"),ze=Array.from(be).filter(Wt=>{const bt=Wt.classList.contains("buttons-collapse");return bt&&!De||!bt});Ie.addElement(ze);const qe=(0,n.c)(),nt=G.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");nt.length>0&&qe.addElement(nt);const ft=(0,n.c)();ft.addElement(c(G).querySelector(".toolbar-background"));const rt=(0,n.c)(),mt=G.querySelector("ion-back-button");if(mt&&rt.addElement(mt),ue.addAnimation([ye,Ie,qe,rt,ft]),Q.addAnimation(ue),rt.fromTo(E,.99,0),Ie.fromTo(E,.99,0),qe.fromTo(E,.99,0),F){if(De||ye.fromTo("transform",`translateX(${T})`,N?"translateX(-100%)":"translateX(100%)").fromTo(E,.99,0),qe.fromTo("transform",`translateX(${T})`,N?"translateX(-100%)":"translateX(100%)"),ft.beforeClearStyles([E,"transform"]),ie?.translucent?ft.fromTo("transform","translateX(0px)",N?"translateX(-100%)":"translateX(100%)"):ft.fromTo(E,"var(--opacity)",0),mt&&!ae){const bt=(0,n.c)();bt.addElement(c(mt).querySelector(".button-text")).fromTo("transform",`translateX(${T})`,`translateX(${(N?-124:124)+"px"})`),ue.addAnimation(bt)}}else De||ye.fromTo("transform",`translateX(${T})`,`translateX(${L})`).fromTo(E,.99,0).afterClearStyles([A,E]),qe.fromTo("transform",`translateX(${T})`,`translateX(${L})`).afterClearStyles([A,E]),rt.afterClearStyles([E]),ye.afterClearStyles([E]),Ie.afterClearStyles([E])})}return Q}catch(M){throw M}},m=10},96556:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{mdTransitionAnimation:()=>a});var n=o(30388),i=o(76256);o(14829),o(62992);const a=(e,c)=>{var l,g,b;const p="40px",y="back"===c.direction,h=c.leavingEl,C=(0,i.g)(c.enteringEl),v=C.querySelector("ion-toolbar"),M=(0,n.c)();if(M.addElement(C).fill("both").beforeRemoveClass("ion-page-invisible"),y?M.duration((null!==(l=c.duration)&&void 0!==l?l:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):M.duration((null!==(g=c.duration)&&void 0!==g?g:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),v){const E=(0,n.c)();E.addElement(v),M.addAnimation(E)}if(h&&y){M.duration((null!==(b=c.duration)&&void 0!==b?b:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const E=(0,n.c)();E.addElement((0,i.g)(h)).onFinish(A=>{1===A&&E.elements.length>0&&E.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),M.addAnimation(E)}return M}},63816:(ve,f,o)=>{"use strict";o.d(f,{B:()=>Ie,G:()=>be,O:()=>ie,a:()=>S,b:()=>y,c:()=>v,d:()=>De,e:()=>ze,f:()=>Y,g:()=>ae,h:()=>W,i:()=>G,j:()=>E,k:()=>A,l:()=>m,m:()=>h,n:()=>P,o:()=>Q,p:()=>C,s:()=>ye,t:()=>M});var n=o(1528),i=o(14829),d=o(72784),u=o(88523),a=o(10495),e=o(46384),c=o(52032);let l=0,g=0;const b=new WeakMap,p=qe=>({create:nt=>T(qe,nt),dismiss:(nt,ft,rt)=>ee(document,nt,ft,qe,rt),getTop:()=>(0,n.c)(function*(){return Q(document,qe)})()}),S=p("ion-alert"),y=p("ion-action-sheet"),m=p("ion-loading"),h=p("ion-modal"),C=p("ion-picker"),v=p("ion-popover"),M=p("ion-toast"),E=qe=>{typeof document<"u"&&F(document);const nt=l++;qe.overlayIndex=nt},A=qe=>(qe.hasAttribute("id")||(qe.id="ion-overlay-"+ ++g),qe.id),T=(qe,nt)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(qe).then(()=>{const ft=document.createElement(qe);return ft.classList.add("overlay-hidden"),Object.assign(ft,Object.assign(Object.assign({},nt),{hasController:!0})),J(document).appendChild(ft),new Promise(rt=>(0,e.c)(ft,rt))}):Promise.resolve(),R='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',P=(qe,nt)=>{const ft=qe.querySelector(R);x(ft,nt)},L=(qe,nt)=>{const ft=Array.from(qe.querySelectorAll(R));x(ft.length>0?ft[ft.length-1]:null,nt)},x=(qe,nt)=>{let ft=qe;const rt=qe?.shadowRoot;rt&&(ft=rt.querySelector(R)||qe),ft?(0,e.f)(ft):nt.focus()},F=qe=>{0===l&&(l=1,qe.addEventListener("focus",nt=>{((qe,nt)=>{const ft=Q(nt,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),rt=qe.target;ft&&rt&&!ft.classList.contains("ion-disable-focus-trap")&&(ft.shadowRoot?(()=>{if(ft.contains(rt))ft.lastFocus=rt;else if("ION-TOAST"===rt.tagName)x(ft.lastFocus,ft);else{const bt=ft.lastFocus;P(ft,ft),bt===nt.activeElement&&L(ft,ft),ft.lastFocus=nt.activeElement}})():(()=>{if(ft===rt)ft.lastFocus=void 0;else if("ION-TOAST"===rt.tagName)x(ft.lastFocus,ft);else{const bt=(0,e.g)(ft);if(!bt.contains(rt))return;const Bt=bt.querySelector(".ion-overlay-wrapper");if(!Bt)return;if(Bt.contains(rt)||rt===bt.querySelector("ion-backdrop"))ft.lastFocus=rt;else{const an=ft.lastFocus;P(Bt,ft),an===nt.activeElement&&L(Bt,ft),ft.lastFocus=nt.activeElement}}})())})(nt,qe)},!0),qe.addEventListener("ionBackButton",nt=>{const ft=Q(qe);ft?.backdropDismiss&&nt.detail.register(d.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ft.dismiss(void 0,Ie)})}),(0,d.shoudUseCloseWatcher)()||qe.addEventListener("keydown",nt=>{if("Escape"===nt.key){const ft=Q(qe);ft?.backdropDismiss&&ft.dismiss(void 0,Ie)}}))},ee=(qe,nt,ft,rt,mt)=>{const Wt=Q(qe,rt,mt);return Wt?Wt.dismiss(nt,ft):Promise.reject("overlay does not exist")},ce=(qe,nt)=>((qe,nt)=>(void 0===nt&&(nt="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(qe.querySelectorAll(nt)).filter(ft=>ft.overlayIndex>0)))(qe,nt).filter(ft=>!(qe=>qe.classList.contains("overlay-hidden"))(ft)),Q=(qe,nt,ft)=>{const rt=ce(qe,nt);return void 0===ft?rt[rt.length-1]:rt.find(mt=>mt.id===ft)},ne=(qe=!1)=>{const ft=J(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");ft&&(qe?ft.setAttribute("aria-hidden","true"):ft.removeAttribute("aria-hidden"))},Y=function(){var qe=(0,n.c)(function*(nt,ft,rt,mt,Wt){var bt,Bt;if(nt.presented)return;ne(!0),void 0!==i.d&&ce(i.d).forEach(vn=>vn.setAttribute("aria-hidden","true")),nt.presented=!0,nt.willPresent.emit(),null===(bt=nt.willPresentShorthand)||void 0===bt||bt.emit();const an=(0,u.b)(nt),hn=nt.enterAnimation?nt.enterAnimation:u.c.get(ft,"ios"===an?rt:mt);(yield K(nt,hn,nt.el,Wt))&&(nt.didPresent.emit(),null===(Bt=nt.didPresentShorthand)||void 0===Bt||Bt.emit()),"ION-TOAST"!==nt.el.tagName&&H(nt.el),nt.keyboardClose&&(null===document.activeElement||!nt.el.contains(document.activeElement))&&nt.el.focus(),nt.el.removeAttribute("aria-hidden")});return function(ft,rt,mt,Wt,bt){return qe.apply(this,arguments)}}(),H=function(){var qe=(0,n.c)(function*(nt){let ft=document.activeElement;if(!ft)return;const rt=ft?.shadowRoot;rt&&(ft=rt.querySelector(R)||ft),yield nt.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&ft.focus()});return function(ft){return qe.apply(this,arguments)}}(),ae=function(){var qe=(0,n.c)(function*(nt,ft,rt,mt,Wt,bt,Bt){var an,hn,wn;if(!nt.presented)return!1;void 0!==i.d&&1===ce(i.d).length&&ne(!1),nt.presented=!1;try{nt.el.style.setProperty("pointer-events","none"),nt.willDismiss.emit({data:ft,role:rt}),null===(an=nt.willDismissShorthand)||void 0===an||an.emit({data:ft,role:rt});const An=(0,u.b)(nt),vn=nt.leaveAnimation?nt.leaveAnimation:u.c.get(mt,"ios"===An?Wt:bt);rt!==be&&(yield K(nt,vn,nt.el,Bt)),nt.didDismiss.emit({data:ft,role:rt}),null===(hn=nt.didDismissShorthand)||void 0===hn||hn.emit({data:ft,role:rt}),(b.get(nt)||[]).forEach(dt=>dt.destroy()),b.delete(nt),nt.el.classList.add("overlay-hidden"),nt.el.style.removeProperty("pointer-events"),void 0!==nt.el.lastFocus&&(nt.el.lastFocus=void 0)}catch(An){console.error(An)}return nt.el.remove(),void 0!==i.d&&(null===(wn=Q(i.d))||void 0===wn||wn.removeAttribute("aria-hidden")),!0});return function(ft,rt,mt,Wt,bt,Bt,an){return qe.apply(this,arguments)}}(),J=qe=>qe.querySelector("ion-app")||qe.body,K=function(){var qe=(0,n.c)(function*(nt,ft,rt,mt){rt.classList.remove("overlay-hidden");const bt=ft(nt.el,mt);(!nt.animated||!u.c.getBoolean("animated",!0))&&bt.duration(0),nt.keyboardClose&&bt.beforeAddWrite(()=>{const an=rt.ownerDocument.activeElement;an?.matches("input,ion-input, ion-textarea")&&an.blur()});const Bt=b.get(nt)||[];return b.set(nt,[...Bt,bt]),yield bt.play(),!0});return function(ft,rt,mt,Wt){return qe.apply(this,arguments)}}(),W=(qe,nt)=>{let ft;const rt=new Promise(mt=>ft=mt);return re(qe,nt,mt=>{ft(mt.detail)}),rt},re=(qe,nt,ft)=>{const rt=mt=>{(0,e.b)(qe,nt,rt),ft(mt)};(0,e.a)(qe,nt,rt)},G=qe=>"cancel"===qe||qe===Ie,ue=qe=>qe(),ye=(qe,nt)=>{if("function"==typeof qe)return u.c.get("_zoneGate",ue)(()=>{try{return qe(nt)}catch(rt){throw rt}})},Ie="backdrop",be="gesture",ie=39,De=qe=>{let ft,nt=!1;const rt=(0,a.C)(),mt=(Bt=!1)=>{if(ft&&!Bt)return{delegate:ft,inline:nt};const{el:an,hasController:hn,delegate:wn}=qe;return nt=null!==an.parentNode&&!hn,ft=nt?wn||rt:wn,{inline:nt,delegate:ft}};return{attachViewToDom:function(){var Bt=(0,n.c)(function*(an){const{delegate:hn}=mt(!0);if(hn)return yield hn.attachViewToDom(qe.el,an);const{hasController:wn}=qe;if(wn&&void 0!==an)throw new Error("framework delegate is missing");return null});return function(hn){return Bt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Bt}=mt();Bt&&void 0!==qe.el&&Bt.removeViewFromDom(qe.el.parentElement,qe.el)}}},ze=()=>{let qe;const nt=()=>{qe&&(qe(),qe=void 0)};return{addClickListener:(rt,mt)=>{nt();const Wt=void 0!==mt?document.getElementById(mt):null;Wt?qe=((Bt,an)=>{const hn=()=>{an.present()};return Bt.addEventListener("click",hn),()=>{Bt.removeEventListener("click",hn)}})(Wt,rt):(0,c.p)(`A trigger element with the ID "${mt}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,rt)},removeClickListener:nt}}},45256:(ve,f,o)=>{"use strict";o.d(f,{c:()=>d,g:()=>a,h:()=>i,o:()=>c});var n=o(1528);const i=(l,g)=>null!==g.closest(l),d=(l,g)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},g):g,a=l=>{const g={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(b=>null!=b).map(b=>b.trim()).filter(b=>""!==b):[])(l).forEach(b=>g[b]=!0),g},e=/^[a-z][a-z0-9+\-.]*:/,c=function(){var l=(0,n.c)(function*(g,b,p,S){if(null!=g&&"#"!==g[0]&&!e.test(g)){const y=document.querySelector("ion-router");if(y)return b?.preventDefault(),y.push(g,p,S)}return!1});return function(b,p,S,y){return l.apply(this,arguments)}}()},57140:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{AuthenticationHandler:()=>L,AuthenticationHandlerOptions:()=>R,BatchRequestContent:()=>d,BatchResponseContent:()=>u,ChaosHandler:()=>W,ChaosHandlerOptions:()=>ae,ChaosStrategy:()=>H,Client:()=>dt,CustomAuthenticationProvider:()=>bt,FeatureUsageFlag:()=>N,FileUpload:()=>ze,GraphClientError:()=>l,GraphError:()=>Bt,GraphRequest:()=>hn,HTTPMessageHandler:()=>x,LargeFileUploadTask:()=>De,MiddlewareFactory:()=>Y,OneDriveLargeFileUploadTask:()=>rt,PageIterator:()=>Wt,Range:()=>be,RedirectHandler:()=>X,RedirectHandlerOptions:()=>ee,ResponseType:()=>re,RetryHandler:()=>F,RetryHandlerOptions:()=>V,StreamUpload:()=>mt,TelemetryHandler:()=>Q,TelemetryHandlerOptions:()=>P,UploadResult:()=>ie,getValidRangeSize:()=>ft});var n=o(81316),i=function(Ue){return Ue.GET="GET",Ue.PATCH="PATCH",Ue.POST="POST",Ue.PUT="PUT",Ue.DELETE="DELETE",Ue}(i||{});let d=(()=>{class Ue{static validateDependencies(Pe){if(0===Pe.size){const He=new Error("Empty requests map, Please provide at least one request.");throw He.name="Empty Requests Error",He}return(He=>{const _t=He.entries();let lt=_t.next();for(;!lt.done;){const Et=lt.value[1];if(void 0!==Et.dependsOn&&Et.dependsOn.length>0)return!1;lt=_t.next()}return!0})(Pe)||(He=>{const _t=He.entries();let lt=_t.next();const Et=lt.value[1];if(void 0!==Et.dependsOn&&Et.dependsOn.length>0)return!1;let it=lt;for(lt=_t.next();!lt.done;){const Yt=lt.value[1];if(void 0===Yt.dependsOn||1!==Yt.dependsOn.length||Yt.dependsOn[0]!==it.value[1].id)return!1;it=lt,lt=_t.next()}return!0})(Pe)||(He=>{const _t=He.entries();let lt=_t.next();const Et=lt.value[1];let it;if(void 0===Et.dependsOn||0===Et.dependsOn.length)it=Et.id;else{if(1!==Et.dependsOn.length)return!1;{const Yt=Et.dependsOn[0];if(Yt===Et.id||!He.has(Yt))return!1;it=Yt}}for(lt=_t.next();!lt.done;){const Yt=lt.value[1];if((void 0===Yt.dependsOn||0===Yt.dependsOn.length)&&it!==Yt.id||void 0!==Yt.dependsOn&&0!==Yt.dependsOn.length&&(1===Yt.dependsOn.length&&(Yt.id===it||Yt.dependsOn[0]!==it)||Yt.dependsOn.length>1))return!1;lt=_t.next()}return!0})(Pe)}static getRequestData(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge={url:""},je=new RegExp("^https?://");Ge.url=je.test(Pe.url)?"/"+Pe.url.split(/.*?\/\/.*?\//)[1]:Pe.url,Ge.method=Pe.method;const ht={};return Pe.headers.forEach((He,_t)=>{ht[_t]=He}),Object.keys(ht).length&&(Ge.headers=ht),(Pe.method===i.PATCH||Pe.method===i.POST||Pe.method===i.PUT)&&(Ge.body=yield Ue.getRequestBody(Pe)),Ge})}static getRequestBody(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){let je,Ge=!1;try{je=yield Pe.clone().json(),Ge=!0}catch{}if(!Ge)try{if(typeof Blob<"u"){const ht=yield Pe.blob(),He=new FileReader;je=yield new Promise(_t=>{He.addEventListener("load",()=>{const lt=He.result,it=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(lt);_t(it[4])},!1),He.readAsDataURL(ht)})}else typeof Buffer<"u"&&(je=(yield Pe.buffer()).toString("base64"));Ge=!0}catch{}return je})}constructor(Pe){if(this.requests=new Map,typeof Pe<"u"){const Ge=Ue.requestLimit;if(Pe.length>Ge){const je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Ge}`);throw je.name="Limit Exceeded Error",je}for(const je of Pe)this.addRequest(je)}}addRequest(Pe){const Ge=Ue.requestLimit;if(""===Pe.id){const je=new Error("Id for a request is empty, Please provide an unique id");throw je.name="Empty Id For Request",je}if(this.requests.size===Ge){const je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Ge}`);throw je.name="Limit Exceeded Error",je}if(this.requests.has(Pe.id)){const je=new Error(`Adding request with duplicate id ${Pe.id}, Make the id of the requests unique`);throw je.name="Duplicate RequestId Error",je}return this.requests.set(Pe.id,Pe),Pe.id}removeRequest(Pe){const Ge=this.requests.delete(Pe),je=this.requests.entries();let ht=je.next();for(;!ht.done;){const He=ht.value[1].dependsOn;if(typeof He<"u"){const _t=He.indexOf(Pe);-1!==_t&&He.splice(_t,1),0===He.length&&delete ht.value[1].dependsOn}ht=je.next()}return Ge}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Pe=[],Ge={requests:Pe},je=this.requests.entries();let ht=je.next();if(ht.done){const He=new Error("No requests added yet, Please add at least one request.");throw He.name="Empty Payload",He}if(!Ue.validateDependencies(this.requests)){const He=new Error("Invalid dependency found, Dependency should be:\n1. Parallel - no individual request states a dependency in the dependsOn property.\n2. Serial - all individual requests depend on the previous individual request.\n3. Same - all individual requests that state a dependency in the dependsOn property, state the same dependency.");throw He.name="Invalid Dependency",He}for(;!ht.done;){const He=ht.value[1],_t=yield Ue.getRequestData(He.request);if(void 0!==_t.body&&(void 0===_t.headers||void 0===_t.headers["content-type"])){const lt=new Error(`Content-type header is not mentioned for request #${He.id}, For request having body, Content-type header should be mentioned`);throw lt.name="Invalid Content-type header",lt}_t.id=He.id,void 0!==He.dependsOn&&He.dependsOn.length>0&&(_t.dependsOn=He.dependsOn),Pe.push(_t),ht=je.next()}return Ge.requests=Pe,Ge})}addDependency(Pe,Ge){if(!this.requests.has(Pe)){const je=new Error(`Dependent ${Pe} does not exists, Please check the id`);throw je.name="Invalid Dependent",je}if(typeof Ge<"u"&&!this.requests.has(Ge)){const je=new Error(`Dependency ${Ge} does not exists, Please check the id`);throw je.name="Invalid Dependency",je}if(typeof Ge<"u"){const je=this.requests.get(Pe);if(void 0===je.dependsOn&&(je.dependsOn=[]),-1!==je.dependsOn.indexOf(Ge)){const ht=new Error(`Dependency ${Ge} is already added for the request ${Pe}`);throw ht.name="Duplicate Dependency",ht}je.dependsOn.push(Ge)}else{const je=this.requests.entries();let ht,He=je.next();for(;!He.done&&He.value[1].id!==Pe;)ht=He,He=je.next();if(!(typeof ht<"u")){const _t=new Error(`Can't add dependency ${Ge}, There is only a dependent request in the batch`);throw _t.name="Invalid Dependency Addition",_t}{const _t=ht.value[0];if(void 0===He.value[1].dependsOn&&(He.value[1].dependsOn=[]),-1!==He.value[1].dependsOn.indexOf(_t)){const lt=new Error(`Dependency ${_t} is already added for the request ${Pe}`);throw lt.name="Duplicate Dependency",lt}He.value[1].dependsOn.push(_t)}}}removeDependency(Pe,Ge){const je=this.requests.get(Pe);if(typeof je>"u"||void 0===je.dependsOn||0===je.dependsOn.length)return!1;if(typeof Ge<"u"){const ht=je.dependsOn.indexOf(Ge);return-1!==ht&&(je.dependsOn.splice(ht,1),!0)}return delete je.dependsOn,!0}}return Ue.requestLimit=20,Ue})();class u{constructor(we){this.responses=new Map,this.update(we)}createResponseObject(we){const Pe=we.body,Ge={};if(Ge.status=we.status,void 0!==we.statusText&&(Ge.statusText=we.statusText),Ge.headers=we.headers,void 0!==Ge.headers&&void 0!==Ge.headers["Content-Type"]&&"application/json"===Ge.headers["Content-Type"].split(";")[0]){const je=JSON.stringify(Pe);return new Response(je,Ge)}return new Response(Pe,Ge)}update(we){this.nextLink=we["@odata.nextLink"];const Pe=we.responses;for(let Ge=0,je=Pe.length;Ge{const we=Ue&&Ue.constructor&&Ue.constructor.name;if("Buffer"===we||"Blob"===we||"File"===we||"FormData"===we||"string"==typeof Ue)return Ue;if("ArrayBuffer"===we)Ue=Buffer.from(Ue);else if("Int8Array"===we||"Int16Array"===we||"Int32Array"===we||"Uint8Array"===we||"Uint16Array"===we||"Uint32Array"===we||"Uint8ClampedArray"===we||"Float32Array"===we||"Float64Array"===we||"DataView"===we)Ue=Buffer.from(Ue.buffer);else try{Ue=JSON.stringify(Ue)}catch{throw new Error("Unable to stringify the content")}return Ue},S=Ue=>m(Ue),y=(Ue,we)=>(we.forEach(Pe=>h(Pe)),m(Ue,we)),m=(Ue,we=c)=>{if(-1!==(Ue=Ue.toLowerCase()).indexOf("https://")){const Pe=(Ue=Ue.replace("https://","")).indexOf(":"),Ge=Ue.indexOf("/");let je="";if(-1!==Ge)return-1!==Pe&&Pe{if(-1!==Ue.indexOf("/"))throw new l("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class C{constructor(we=[]){this.middlewareOptions=new Map;for(const Pe of we)this.middlewareOptions.set(Pe.constructor,Pe)}getMiddlewareOptions(we){return this.middlewareOptions.get(we)}setMiddlewareOptions(we,Pe){this.middlewareOptions.set(we,Pe)}}const v=()=>{let Ue="";for(let we=0;we<32;we++)(8===we||12===we||16===we||20===we)&&(Ue+="-"),Ue+=Math.floor(16*Math.random()).toString(16);return Ue},M=(Ue,we,Pe)=>{let Ge=null;if(typeof Request<"u"&&Ue instanceof Request)Ge=Ue.headers.get(Pe);else if(typeof we<"u"&&void 0!==we.headers)if(typeof Headers<"u"&&we.headers instanceof Headers)Ge=we.headers.get(Pe);else if(we.headers instanceof Array){const je=we.headers;for(let ht=0,He=je.length;ht{if(typeof Request<"u"&&Ue instanceof Request)Ue.headers.set(Pe,Ge);else if(typeof we<"u")if(void 0===we.headers)we.headers=new Headers({[Pe]:Ge});else if(typeof Headers<"u"&&we.headers instanceof Headers)we.headers.set(Pe,Ge);else if(we.headers instanceof Array){let je=0;const ht=we.headers.length;for(;je{typeof Request<"u"&&Ue instanceof Request?Ue.headers.append(Pe,Ge):typeof we<"u"&&(void 0===we.headers?we.headers=new Headers({[Pe]:Ge}):typeof Headers<"u"&&we.headers instanceof Headers?we.headers.append(Pe,Ge):we.headers instanceof Array?we.headers.push([Pe,Ge]):void 0===we.headers?we.headers={[Pe]:Ge}:void 0===we.headers[Pe]?we.headers[Pe]=Ge:we.headers[Pe]+=`, ${Ge}`)};class R{constructor(we,Pe){this.authenticationProvider=we,this.authenticationProviderOptions=Pe}}var N=function(Ue){return Ue[Ue.NONE=0]="NONE",Ue[Ue.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Ue[Ue.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Ue[Ue.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Ue}(N||{});class P{constructor(){this.featureUsage=N.NONE}static updateFeatureUsageFlag(we,Pe){let Ge;we.middlewareControl instanceof C?Ge=we.middlewareControl.getMiddlewareOptions(P):we.middlewareControl=new C,typeof Ge>"u"&&(Ge=new P,we.middlewareControl.setMiddlewareOptions(P,Ge)),Ge.setFeatureUsage(Pe)}setFeatureUsage(we){this.featureUsage=this.featureUsage|we}getFeatureUsage(){return this.featureUsage.toString(16)}}let L=(()=>{class Ue{constructor(Pe){this.authenticationProvider=Pe}execute(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge="string"==typeof Pe.request?Pe.request:Pe.request.url;if(S(Ge)||Pe.customHosts&&y(Ge,Pe.customHosts)){let je,ht,He;Pe.middlewareControl instanceof C&&(je=Pe.middlewareControl.getMiddlewareOptions(R)),je&&(ht=je.authenticationProvider,He=je.authenticationProviderOptions),ht||(ht=this.authenticationProvider);const lt=`Bearer ${yield ht.getAccessToken(He)}`;A(Pe.request,Pe.options,Ue.AUTHORIZATION_HEADER,lt),P.updateFeatureUsageFlag(Pe,N.AUTHENTICATION_HANDLER_ENABLED)}else Pe.options.headers&&delete Pe.options.headers[Ue.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(Pe)})}setNext(Pe){this.nextMiddleware=Pe}}return Ue.AUTHORIZATION_HEADER="Authorization",Ue})();class x{execute(we){return(0,n.__awaiter)(this,void 0,void 0,function*(){we.response=yield fetch(we.request,we.options)})}}let V=(()=>{class Ue{constructor(Pe=Ue.DEFAULT_DELAY,Ge=Ue.DEFAULT_MAX_RETRIES,je=Ue.defaultShouldRetry){if(Pe>Ue.MAX_DELAY&&Ge>Ue.MAX_MAX_RETRIES){const ht=new Error(`Delay and MaxRetries should not be more than ${Ue.MAX_DELAY} and ${Ue.MAX_MAX_RETRIES}`);throw ht.name="MaxLimitExceeded",ht}if(Pe>Ue.MAX_DELAY){const ht=new Error(`Delay should not be more than ${Ue.MAX_DELAY}`);throw ht.name="MaxLimitExceeded",ht}if(Ge>Ue.MAX_MAX_RETRIES){const ht=new Error(`MaxRetries should not be more than ${Ue.MAX_MAX_RETRIES}`);throw ht.name="MaxLimitExceeded",ht}if(Pe<0&&Ge<0){const ht=new Error("Delay and MaxRetries should not be negative");throw ht.name="MinExpectationNotMet",ht}if(Pe<0){const ht=new Error("Delay should not be negative");throw ht.name="MinExpectationNotMet",ht}if(Ge<0){const ht=new Error("MaxRetries should not be negative");throw ht.name="MinExpectationNotMet",ht}this.delay=Math.min(Pe,Ue.MAX_DELAY),this.maxRetries=Math.min(Ge,Ue.MAX_MAX_RETRIES),this.shouldRetry=je}getMaxDelay(){return Ue.MAX_DELAY}}return Ue.DEFAULT_DELAY=3,Ue.DEFAULT_MAX_RETRIES=3,Ue.MAX_DELAY=180,Ue.MAX_MAX_RETRIES=10,Ue.defaultShouldRetry=()=>!0,Ue})(),F=(()=>{class Ue{constructor(Pe=new V){this.options=Pe}isRetry(Pe){return-1!==Ue.RETRY_STATUS_CODES.indexOf(Pe.status)}isBuffered(Pe,Ge){const je="string"==typeof Pe?Ge.method:Pe.method;return!((je===i.PUT||je===i.PATCH||je===i.POST)&&"application/octet-stream"===M(Pe,Ge,"Content-Type"))}getDelay(Pe,Ge,je){const ht=()=>Number(Math.random().toFixed(3)),He=void 0!==Pe.headers?Pe.headers.get(Ue.RETRY_AFTER_HEADER):null;let _t;return _t=null!==He?Number.isNaN(Number(He))?Math.round((new Date(He).getTime()-Date.now())/1e3):Number(He):Ge>=2?this.getExponentialBackOffTime(Ge)+je+ht():je+ht(),Math.min(_t,this.options.getMaxDelay()+ht())}getExponentialBackOffTime(Pe){return Math.round(.5*(Math.pow(2,Pe)-1))}sleep(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge=1e3*Pe;return new Promise(je=>setTimeout(je,Ge))})}getOptions(Pe){let Ge;return Pe.middlewareControl instanceof C&&(Ge=Pe.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof Ge>"u"&&(Ge=Object.assign(new V,this.options)),Ge}executeWithRetry(Pe,Ge,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(Pe),Ge{class Ue{constructor(Pe=Ue.DEFAULT_MAX_REDIRECTS,Ge=Ue.defaultShouldRedirect){if(Pe>Ue.MAX_MAX_REDIRECTS){const je=new Error(`MaxRedirects should not be more than ${Ue.MAX_MAX_REDIRECTS}`);throw je.name="MaxLimitExceeded",je}if(Pe<0){const je=new Error("MaxRedirects should not be negative");throw je.name="MinExpectationNotMet",je}this.maxRedirects=Pe,this.shouldRedirect=Ge}}return Ue.DEFAULT_MAX_REDIRECTS=5,Ue.MAX_MAX_REDIRECTS=20,Ue.defaultShouldRedirect=()=>!0,Ue})(),X=(()=>{class Ue{constructor(Pe=new ee){this.options=Pe}isRedirect(Pe){return-1!==Ue.REDIRECT_STATUS_CODES.indexOf(Pe.status)}hasLocationHeader(Pe){return Pe.headers.has(Ue.LOCATION_HEADER)}getLocationHeader(Pe){return Pe.headers.get(Ue.LOCATION_HEADER)}isRelativeURL(Pe){return-1===Pe.indexOf("://")}shouldDropAuthorizationHeader(Pe,Ge){const je=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,ht=je.exec(Pe);let He,_t;null!==ht&&(He=ht[0]);const lt=je.exec(Ge);return null!==lt&&(_t=lt[0]),typeof He<"u"&&typeof _t<"u"&&He!==_t}updateRequestUrl(Pe,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){Ge.request="string"==typeof Ge.request?Pe:yield((Ue,we)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const Pe=we.headers.get("Content-Type")?yield we.blob():yield Promise.resolve(void 0),{method:Ge,headers:je,referrer:ht,referrerPolicy:He,mode:_t,credentials:lt,cache:Et,redirect:it,integrity:Yt,keepalive:gt,signal:Tt}=we;return new Request(Ue,{method:Ge,headers:je,body:Pe,referrer:ht,referrerPolicy:He,mode:_t,credentials:lt,cache:Et,redirect:it,integrity:Yt,keepalive:gt,signal:Tt})}))(Pe,Ge.request)})}getOptions(Pe){let Ge;return Pe.middlewareControl instanceof C&&(Ge=Pe.middlewareControl.getMiddlewareOptions(ee)),typeof Ge>"u"&&(Ge=Object.assign(new ee,this.options)),Ge}executeWithRedirect(Pe,Ge,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(Pe);const ht=Pe.response;if(Ge{class Ue{execute(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge="string"==typeof Pe.request?Pe.request:Pe.request.url;if(S(Ge)||Pe.customHosts&&y(Ge,Pe.customHosts)){let je=M(Pe.request,Pe.options,Ue.CLIENT_REQUEST_ID_HEADER);je||(je=v(),E(Pe.request,Pe.options,Ue.CLIENT_REQUEST_ID_HEADER,je));let He,ht=`${Ue.PRODUCT_NAME}/3.0.7`;if(Pe.middlewareControl instanceof C&&(He=Pe.middlewareControl.getMiddlewareOptions(P)),He){const _t=He.getFeatureUsage();ht+=` (${Ue.FEATURE_USAGE_STRING}=${_t})`}A(Pe.request,Pe.options,Ue.SDK_VERSION_HEADER,ht)}else delete Pe.options.headers[Ue.CLIENT_REQUEST_ID_HEADER],delete Pe.options.headers[Ue.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(Pe)})}setNext(Pe){this.nextMiddleware=Pe}}return Ue.CLIENT_REQUEST_ID_HEADER="client-request-id",Ue.SDK_VERSION_HEADER="SdkVersion",Ue.PRODUCT_NAME="graph-js",Ue.FEATURE_USAGE_STRING="featureUsage",Ue})();class Y{static getDefaultMiddlewareChain(we){const Pe=[],Ge=new L(we),je=new F(new V),ht=new Q,He=new x;if(Pe.push(Ge),Pe.push(je),"object"==typeof process){const _t=new X(new ee);Pe.push(_t)}return Pe.push(ht),Pe.push(He),Pe}}var H=function(Ue){return Ue[Ue.MANUAL=0]="MANUAL",Ue[Ue.RANDOM=1]="RANDOM",Ue}(H||{});class ae{constructor(we=H.RANDOM,Pe="Some error Happened",Ge,je,ht,He){if(this.chaosStrategy=we,this.statusCode=Ge,this.statusMessage=Pe,this.chaosPercentage=void 0!==je?je:10,this.responseBody=ht,this.headers=He,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const J={GET:[429,500,502,503,504],POST:[429,500,502,503,504,507],PUT:[429,500,502,503,504,507],PATCH:[429,500,502,503,504],DELETE:[429,500,502,503,504,507]},K={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};class W{constructor(we=new ae,Pe){this.options=we,this.manualMap=Pe}createResponseHeaders(we,Pe,Ge){const je=we.headers?new Headers(we.headers):new Headers;return je.append("Cache-Control","no-store"),je.append("request-id",Pe),je.append("client-request-id",Pe),je.append("x-ms-ags-diagnostic",""),je.append("Date",Ge),je.append("Strict-Transport-Security",""),429===we.statusCode&&je.append("retry-after","3"),je}createResponseBody(we,Pe,Ge){if(we.responseBody)return we.responseBody;let je;return je=we.statusCode>=400?{error:{code:K[we.statusCode],message:we.statusMessage,innerError:{"request-id":Pe,date:Ge}}}:{},je}createResponse(we,Pe){const Ge=Pe.request,je=v(),ht=new Date,He=this.createResponseHeaders(we,je,ht.toString()),_t=this.createResponseBody(we,je,ht.toString()),lt={url:Ge,status:we.statusCode,statusText:we.statusMessage,headers:He};Pe.response=new Response("string"==typeof _t?_t:JSON.stringify(_t),lt)}sendRequest(we,Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(we,Pe.request,Pe.options.method),we.chaosStrategy===H.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(He+"$").test(je)&&void 0!==this.manualMap.get(He).get(Ge)&&(we.statusCode=this.manualMap.get(He).get(Ge))})}}else we.statusCode=this.getRandomStatusCode(Ge)}getOptions(we){let Pe;return we.middlewareControl instanceof C&&(Pe=we.middlewareControl.getMiddlewareOptions(ae)),typeof Pe>"u"&&(Pe=Object.assign(new ae,this.options)),Pe}execute(we){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Pe=this.getOptions(we);return yield this.sendRequest(Pe,we)})}setNext(we){this.nextMiddleware=we}}var re=function(Ue){return Ue.ARRAYBUFFER="arraybuffer",Ue.BLOB="blob",Ue.DOCUMENT="document",Ue.JSON="json",Ue.RAW="raw",Ue.STREAM="stream",Ue.TEXT="text",Ue}(re||{}),G=function(Ue){return Ue.TEXT_HTML="text/html",Ue.TEXT_XML="text/xml",Ue.APPLICATION_XML="application/xml",Ue.APPLICATION_XHTML="application/xhtml+xml",Ue}(G||{}),ue=function(Ue){return Ue.TEXT_PLAIN="text/plain",Ue.APPLICATION_JSON="application/json",Ue}(ue||{}),ye=function(Ue){return Ue.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Ue.IMAGE="^image\\/.+",Ue}(ye||{});class Ie{static parseDocumentResponse(we,Pe){return typeof DOMParser<"u"?new Promise((Ge,je)=>{we.text().then(ht=>{try{const _t=(new DOMParser).parseFromString(ht,Pe);Ge(_t)}catch(He){je(He)}})}):Promise.resolve(we.body)}static convertResponse(we,Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===we.status)return Promise.resolve();let Ge;const je=we.headers.get("Content-type");switch(Pe){case re.ARRAYBUFFER:Ge=yield we.arrayBuffer();break;case re.BLOB:Ge=yield we.blob();break;case re.DOCUMENT:Ge=yield Ie.parseDocumentResponse(we,G.TEXT_XML);break;case re.JSON:Ge=yield we.json();break;case re.STREAM:Ge=yield Promise.resolve(we.body);break;case re.TEXT:Ge=yield we.text();break;default:if(null!==je){const ht=je.split(";")[0];Ge=new RegExp(ye.DOCUMENT).test(ht)?yield Ie.parseDocumentResponse(we,ht):new RegExp(ye.IMAGE).test(ht)?we.blob():ht===ue.TEXT_PLAIN?yield we.text():ht===ue.APPLICATION_JSON?yield we.json():Promise.resolve(we.body)}else Ge=Promise.resolve(we.body)}return Ge})}static getResponse(we,Pe,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(Pe===re.RAW)return Promise.resolve(we);{const je=yield Ie.convertResponse(we,Pe);if(!we.ok)throw je;if("function"!=typeof Ge)return je;Ge(null,je)}})}}class be{constructor(we=-1,Pe=-1){this.minValue=we,this.maxValue=Pe}}class ie{get location(){return this._location}set location(we){this._location=we}get responseBody(){return this._responseBody}set responseBody(we){this._responseBody=we}constructor(we,Pe){this._location=Pe,this._responseBody=we}static CreateUploadResult(we,Pe){return new ie(we,Pe.get("location"))}}class De{static createUploadSession(we,Pe,Ge,je={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ht=yield we.api(Pe).headers(je).post(Ge);return{url:ht.uploadUrl,expiry:new Date(ht.expirationDateTime),isCancelled:!1}})}constructor(we,Pe,Ge,je={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=we,!Pe.sliceFile)throw new l("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=Pe,this.file=Pe,je.rangeSize||(je.rangeSize=this.DEFAULT_FILE_SIZE),this.options=je,this.uploadSession=Ge,this.nextRange=new be(0,this.options.rangeSize-1)}parseRange(we){const Pe=we[0];if(typeof Pe>"u"||""===Pe)return new be;const Ge=Pe.split("-"),je=parseInt(Ge[0],10);let ht=parseInt(Ge[1],10);return Number.isNaN(ht)&&(ht=this.file.size-1),new be(je,ht)}updateTaskStatus(we){this.uploadSession.expiry=new Date(we.expirationDateTime),this.nextRange=this.parseRange(we.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const we=this.nextRange.minValue;let Pe=we+this.options.rangeSize-1;return Pe>=this.file.size&&(Pe=this.file.size-1),new be(we,Pe)}sliceFile(we){if(console.warn("The LargeFileUploadTask.sliceFile() function has been deprecated and moved into the FileObject interface."),this.file.content instanceof ArrayBuffer||this.file.content instanceof Blob||this.file.content instanceof Uint8Array)return this.file.content.slice(we.minValue,we.maxValue+1);throw new l("The LargeFileUploadTask.sliceFile() function expects only Blob, ArrayBuffer or Uint8Array file content. Please note that the sliceFile() function is deprecated.")}upload(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const we=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const Pe=this.getNextRange();if(-1===Pe.maxValue){const _t=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw _t.name="Invalid Session",_t}const Ge=yield this.file.sliceFile(Pe),je=yield this.uploadSliceGetRawResponse(Ge,Pe,this.file.size);if(!je)throw new l("Something went wrong! Large file upload slice response is null.");const ht=yield Ie.getResponse(je);if(201===je.status||200===je.status&&ht.id)return this.reportProgress(we,Pe),ie.CreateUploadResult(ht,je.headers);this.updateTaskStatus({expirationDateTime:ht.expirationDateTime||ht.ExpirationDateTime,nextExpectedRanges:ht.NextExpectedRanges||ht.nextExpectedRanges}),this.reportProgress(we,Pe)}})}reportProgress(we,Pe){we&&we.progress&&we.progress(Pe,we.extraCallbackParam)}uploadSlice(we,Pe,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Pe.maxValue-Pe.minValue+1),"Content-Range":`bytes ${Pe.minValue}-${Pe.maxValue}/${Ge}`,"Content-Type":"application/octet-stream"}).put(we)})}uploadSliceGetRawResponse(we,Pe,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Pe.maxValue-Pe.minValue+1),"Content-Range":`bytes ${Pe.minValue}-${Pe.maxValue}/${Ge}`,"Content-Type":"application/octet-stream"}).responseType(re.RAW).put(we)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const we=yield this.client.api(this.uploadSession.url).responseType(re.RAW).delete();return 204===we.status&&(this.uploadSession.isCancelled=!0),we})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const we=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(we),we})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class ze{constructor(we,Pe,Ge){if(this.content=we,this.name=Pe,this.size=Ge,!we||!Pe||!Ge)throw new l("Please provide the upload content, name of the file and size of the file")}sliceFile(we){return this.content.slice(we.minValue,we.maxValue+1)}}const ft=(Ue=5242880)=>(Ue>62914560&&(Ue=62914560),(Ue=>(Ue>327680&&(Ue=320*Math.floor(Ue/327680)*1024),Ue))(Ue));let rt=(()=>{class Ue extends De{static constructCreateSessionUrl(Pe,Ge=Ue.DEFAULT_UPLOAD_PATH){return Pe=Pe.trim(),""===(Ge=Ge.trim())&&(Ge="/"),"/"!==Ge[0]&&(Ge=`/${Ge}`),"/"!==Ge[Ge.length-1]&&(Ge=`${Ge}/`),`/me/drive/root:${Ge.split("/").map(je=>encodeURIComponent(je)).join("/")}${encodeURIComponent(Pe)}:/createUploadSession`}static getFileInfo(Pe,Ge){let je,ht;return typeof Blob<"u"&&Pe instanceof Blob?(je=new File([Pe],Ge),ht=je.size):typeof File<"u"&&Pe instanceof File?(je=Pe,ht=je.size):typeof Uint8Array<"u"&&Pe instanceof Uint8Array&&(ht=Pe.byteLength,je=Pe.buffer.slice(Pe.byteOffset,Pe.byteOffset+Pe.byteLength)),{content:je,size:ht}}static create(Pe,Ge,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Pe||!Ge||!je)throw new l("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const ht=je.fileName,He=Ue.getFileInfo(Ge,ht),_t=new ze(He.content,ht,He.size);return this.createTaskWithFileObject(Pe,_t,je)})}static createTaskWithFileObject(Pe,Ge,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Pe||!Ge||!je)throw new l("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const ht=je.uploadSessionURL?je.uploadSessionURL:Ue.constructCreateSessionUrl(je.fileName,je.path),He={fileName:je.fileName,fileDescription:je.fileDescription,conflictBehavior:je.conflictBehavior},_t=yield Ue.createUploadSession(Pe,ht,He),lt=ft(je.rangeSize);return new Ue(Pe,Ge,_t,{rangeSize:lt,uploadEventHandlers:je.uploadEventHandlers})})}static createUploadSession(Pe,Ge,je){const ht=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return ht.createUploadSession.call(this,Pe,Ge,{item:{"@microsoft.graph.conflictBehavior":je?.conflictBehavior||"rename",name:je?.fileName,description:je?.fileDescription}})})}constructor(Pe,Ge,je,ht){super(Pe,Ge,je,ht)}commit(Pe,Ge="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const je={name:this.file.name,"@microsoft.graph.conflictBehavior":Ge,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(Pe).put(je)})}}return Ue.DEFAULT_UPLOAD_PATH="/",Ue})();class mt{constructor(we,Pe,Ge){if(this.content=we,this.name=Pe,this.size=Ge,!we||!Pe||!Ge)throw new l("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(we){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Pe=we.maxValue-we.minValue+1;const Ge=[];if(this.previousSlice){if(we.minValue=Pe?this.content.read(Pe):yield this.readNBytesFromStream(Pe));const je=Buffer.concat(Ge);return this.previousSlice={fileSlice:je,range:we},je})}readNBytesFromStream(we){return new Promise((Pe,Ge)=>{const je=[];let ht=we,He=0;this.content.on("end",()=>{if(ht>0)return Ge(new l("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let _t;for(;He0&&(ht=we-He);return He===we?Pe(Buffer.concat(je)):this.content&&this.content.readable?void 0:Ge(new l("Error encountered while reading the stream during the upload"))})})}}class Wt{constructor(we,Pe,Ge,je){this.client=we,this.collection=Pe.value,this.nextLink=Pe["@odata.nextLink"],this.deltaLink=Pe["@odata.deltaLink"],this.callback=Ge,this.cursor=0,this.complete=!1,this.requestOptions=je}iterationHelper(){if(void 0===this.collection)return!1;let we=!0;for(;we&&this.cursor=this.collection.length&&(this.complete=!0)})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return this.iterate()})}isComplete(){return this.complete}}class bt{constructor(we){this.provider=we}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((we,Pe)=>{this.provider((Ge,je)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(je)we(je);else{Ge||(Ge=new l("Access token is undefined or empty.\t\t\t\t\t\tPlease provide a valid token.\t\t\t\t\t\tFor more help - https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/docs/CustomAuthenticationProvider.md"));const ht=yield l.setGraphClientError(Ge);Pe(ht)}}))})})}}class Bt extends Error{constructor(we=-1,Pe,Ge){super(Pe||Ge&&Ge.message),Object.setPrototypeOf(this,Bt.prototype),this.statusCode=we,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=Ge?Ge.stack:this.stack}}class an{static constructError(we,Pe,Ge){const je=new Bt(Pe,"",we);return void 0!==we.name&&(je.code=we.name),je.body=we.toString(),je.date=new Date,je.headers=Ge?.headers,je}static constructErrorFromResponse(we,Pe,Ge){const je=we.error,ht=new Bt(Pe,je.message);return ht.code=je.code,void 0!==je.innerError&&(ht.requestId=je.innerError["request-id"],ht.date=new Date(je.innerError.date)),ht.body=JSON.stringify(je),ht.headers=Ge?.headers,ht}static getError(we=null,Pe=-1,Ge,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){let ht;if(we&&we.error?ht=an.constructErrorFromResponse(we,Pe,je):we instanceof Error?ht=an.constructError(we,Pe,je):(ht=new Bt(Pe),ht.body=we),"function"!=typeof Ge)return ht;Ge(ht,null)})}}class hn{constructor(we,Pe,Ge){this.parsePath=je=>{if(-1!==je.indexOf("https://")){const He=(je=je.replace("https://","")).indexOf("/");-1!==He&&(this.urlComponents.host="https://"+je.substring(0,He),je=je.substring(He+1,je.length));const _t=je.indexOf("/");-1!==_t&&(this.urlComponents.version=je.substring(0,_t),je=je.substring(_t+1,je.length))}"/"===je.charAt(0)&&(je=je.substr(1));const ht=je.indexOf("?");if(-1===ht)this.urlComponents.path=je;else{this.urlComponents.path=je.substr(0,ht);const He=je.substring(ht+1,je.length).split("&");for(const _t of He)this.parseQueryParameter(_t)}},this.httpClient=we,this.config=Pe,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath(Ge)}addCsvQueryParameter(we,Pe,Ge){this.urlComponents.oDataQueryParams[we]=this.urlComponents.oDataQueryParams[we]?this.urlComponents.oDataQueryParams[we]+",":"";let je=[];Ge.length>1&&"string"==typeof Pe?je=Array.prototype.slice.call(Ge):"string"==typeof Pe?je.push(Pe):je=je.concat(Pe),this.urlComponents.oDataQueryParams[we]+=je.join(",")}buildFullUrl(){const we=(Ue=>{const we=ht=>ht.replace(/\/+$/,""),Pe=ht=>ht.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((ht,He)=>[we(ht),Pe(He)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(we),we}createQueryString(){const we=this.urlComponents,Pe=[];if(0!==Object.keys(we.oDataQueryParams).length)for(const Ge in we.oDataQueryParams)Object.prototype.hasOwnProperty.call(we.oDataQueryParams,Ge)&&Pe.push(Ge+"="+we.oDataQueryParams[Ge]);if(0!==Object.keys(we.otherURLQueryParams).length)for(const Ge in we.otherURLQueryParams)Object.prototype.hasOwnProperty.call(we.otherURLQueryParams,Ge)&&Pe.push(Ge+"="+we.otherURLQueryParams[Ge]);if(0!==we.otherURLQueryOptions.length)for(const Ge of we.otherURLQueryOptions)Pe.push(Ge);return Pe.length>0?"?"+Pe.join("&"):""}parseQueryParameter(we){if("string"==typeof we)if("?"===we.charAt(0)&&(we=we.substring(1)),-1!==we.indexOf("&")){const Pe=we.split("&");for(const Ge of Pe)this.parseQueryParamenterString(Ge)}else this.parseQueryParamenterString(we);else if(we.constructor===Object)for(const Pe in we)Object.prototype.hasOwnProperty.call(we,Pe)&&this.setURLComponentsQueryParamater(Pe,we[Pe]);return this}parseQueryParamenterString(we){if(this.isValidQueryKeyValuePair(we)){const Pe=we.indexOf("="),Ge=we.substring(0,Pe),je=we.substring(Pe+1);this.setURLComponentsQueryParamater(Ge,je)}else this.urlComponents.otherURLQueryOptions.push(we)}setURLComponentsQueryParamater(we,Pe){if(-1!==g.indexOf(we)){const Ge=this.urlComponents.oDataQueryParams[we];this.urlComponents.oDataQueryParams[we]=!Ge||"$expand"!==we&&"$select"!==we&&"$orderby"!==we?Pe:Ge+","+Pe}else this.urlComponents.otherURLQueryParams[we]=Pe}isValidQueryKeyValuePair(we){const Pe=we.indexOf("=");return!(-1===Pe||-1!==we.indexOf("(")&&we.indexOf("(")1?this.parseMiddleWareArray(we):this.middleware=we[0]}parseMiddleWareArray(we){we.forEach((Pe,Ge)=>{Ge{if(typeof Promise>"u"&&typeof fetch>"u"){const Ue=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof Promise>"u"){const Ue=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof fetch>"u"){const Ue=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}})();for(const Ge in we)Object.prototype.hasOwnProperty.call(we,Ge)&&(this.config[Ge]=we[Ge]);let Pe;if(void 0!==we.authProvider&&void 0!==we.middleware){const Ge=new Error;throw Ge.name="AmbiguityInInitialization",Ge.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",Ge}if(void 0!==we.authProvider)Pe=vn.createWithAuthenticationProvider(we.authProvider);else{if(void 0===we.middleware){const Ge=new Error;throw Ge.name="InvalidMiddlewareChain",Ge.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",Ge}Pe=new wn(...[].concat(we.middleware))}this.httpClient=Pe}api(we){return new hn(this.httpClient,this.config,we)}}},80484:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AppRoutingModule=void 0;const n=o(81316),i=o(56568),d=n.__importStar(o(54496)),a=(n.__importStar(o(56568)),[{path:"TestPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(79112))).then(c=>c.CommonTestseitePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(c=>c.CommonHomePageModule)},{path:"DebugPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(37724))).then(c=>c.CommonDebugPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(66068))).then(c=>c.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(74484))).then(c=>c.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(19204))).then(c=>c.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubsgesamtuebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(98348))).then(c=>c.CommonUrlaubsgesamtuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(5884))).then(c=>c.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(53964))).then(c=>c.CommonUrlaubEinstellungenPageModule)},{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(96012))).then(c=>c.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(99988))).then(c=>c.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(c=>c.CommonHomePageModule)},{path:"PDFViewerPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(64316))).then(c=>c.CommonPdfViewerPageModule)}]);f.AppRoutingModule=(()=>{class c{static \u0275fac=function(b){return new(b||c)};static \u0275mod=d.\u0275\u0275defineNgModule({type:c});static \u0275inj=d.\u0275\u0275defineInjector({imports:[i.RouterModule.forRoot(a,{preloadingStrategy:i.PreloadAllModules}),i.RouterModule]})}return c})()},86108:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.AppComponent=void 0;const i=o(81316),d=o(80103),u=o(21112),a=i.__importStar(o(17964)),e=i.__importStar(o(54496)),c=i.__importStar(o(10716)),l=i.__importStar(o(7992)),g=i.__importStar(o(59460)),b=i.__importStar(o(97092)),p=i.__importStar(o(9028)),S=i.__importStar(o(14652)),y=i.__importStar(o(19668)),m=i.__importStar(o(29743)),h=i.__importStar(o(22848)),C=i.__importStar(o(15024)),v=i.__importStar(o(58864)),M=i.__importStar(o(9544)),E=i.__importStar(o(8608)),A=i.__importStar(o(34388));f.AppComponent=(()=>{class R{platform;Pool;Menuservice;AuthService;changeDetector;MSALService;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;Debug;AuthSubscription;isIframe;Destroying=new d.Subject;Zoomfaktor;Settingssubscription;constructor(P,L,x,V,F,ee,X,ce,Q,ne,Y,H,ae,J,K,W,re){this.platform=P,this.Pool=L,this.Menuservice=x,this.AuthService=V,this.changeDetector=F,this.MSALService=ee,this.Basics=X,this.Tools=ce,this.Const=Q,this.authService=ne,this.msalBroadcastService=Y,this.MitarbeiterDB=H,this.MitarbeitersettingsDB=ae,this.StandortDB=J,this.UrlaubDB=K,this.GraphService=W,this.Debug=re;try{this.AuthSubscription=null,this.isIframe=!1,this.Zoomfaktor=100,this.Settingssubscription=null}catch(G){this.Debug.ShowErrorMessage(G.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService()}catch(P){this.Debug.ShowErrorMessage(P.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled?(this.isIframe=window!==window.parent&&!window.opener,this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,d.filter)(P=>(this.Debug.ShowMessage("Interaction Status: "+P,"App Component","StartApp",this.Debug.Typen.Component),P===u.InteractionStatus.None)),(0,d.takeUntil)(this.Destroying)).subscribe(P=>{this.Debug.ShowMessage("Interaction Status: "+P,"App Component","StartApp",this.Debug.Typen.Component),this.AuthService.SetShowLoginStatus()}),this.AuthService.LoginSuccessEvent.subscribe(()=>{this.Debug.ShowMessage("LoginSuccessEvent -> Start App","App Component","StartApp",this.Debug.Typen.Component),this.StartApp()}),this.StartApp()})):this.StartApp()}catch(P){this.Debug.ShowErrorMessage(P.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var P=this;return n(function*(){try{let L,x;if(P.Debug.ShowMessage("Start App","App Component","StartApp",P.Debug.Typen.Component),yield P.platform.ready(),yield P.AuthService.SetActiveUser(),P.Basics.Contentbreite=P.platform.width(),P.Basics.Contenthoehe=P.platform.height(),null!==P.AuthService.ActiveUser){P.AuthService.SetShowLoginStatus(),P.Debug.ShowMessage("Benutzer ist angemeldet: "+P.AuthService.ActiveUser.username,"App Component","StartApp",P.Debug.Typen.Component),P.Pool.ShowProgress=!0,P.Pool.MaxProgressValue=8,P.Pool.CurrentProgressValue=0;try{!0===P.AuthService.SecurityEnabled&&(P.Pool.ProgressMessage="Lade eigene Daten",yield P.GraphService.GetOwnUserinfo(),P.Pool.CurrentProgressValue++),!0===P.AuthService.SecurityEnabled&&(P.Pool.ProgressMessage="Lade eigens Bild",yield P.GraphService.GetOwnUserimage(),P.Pool.CurrentProgressValue++),P.Pool.ProgressMessage="Lade Change Log",yield P.Pool.ReadChangelogliste(),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Standortliste",yield P.Pool.ReadStandorteliste(),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield P.Pool.ReadMitarbeiterliste(),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Positionenliste",yield P.Pool.ReadMitarbeiterpositionenliste(),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let V=yield P.GraphService.GetAllUsers();P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield P.UrlaubDB.ReadRegionen("DE"),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Ferien Deutschland",yield P.UrlaubDB.ReadFerien("DE"),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Ferien Bulgarien",yield P.UrlaubDB.ReadFerien("BG"),P.Pool.CurrentProgressValue++;for(let F of V)L=a.find(P.Pool.Mitarbeiterliste,ee=>ee.UserID===F.id),a.isUndefined(L)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(F),-1===F.mail.toLowerCase().indexOf("admin")&&(L=P.MitarbeiterDB.ConvertGraphuserToMitarbeiter(F),console.log("Neuer Mitrabeiter:"),console.log(L),yield P.MitarbeiterDB.AddMitarbeiter(L)))}catch{}!1===P.MitarbeiterDB.CheckMitarbeiterExists(P.GraphService.Graphuser.mail)?(P.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",P.Debug.Typen.Component),L=P.MitarbeiterDB.ConvertGraphuserToMitarbeiter(P.GraphService.Graphuser),L=yield P.MitarbeiterDB.AddMitarbeiter(L)):(P.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",P.Debug.Typen.Component),L=a.find(P.Pool.Mitarbeiterliste,{UserID:P.GraphService.Graphuser.id})),P.Pool.Mitarbeiterdaten=P.Pool.InitMitarbeiter(L),P.Pool.CheckMitarbeiterdaten(),P.UrlaubDB.SetMitarbeiter(P.Pool.Mitarbeiterdaten),P.Pool.ProgressMessage="Lade Feiertage Deutschland",yield P.UrlaubDB.ReadFeiertage("DE"),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield P.UrlaubDB.ReadFeiertage("BG"),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Lade Einstellungen",yield P.Pool.ReadSettingsliste(),P.Pool.CurrentProgressValue++,P.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",P.Pool.Mitarbeitersettings=P.Pool.InitMitarbeitersettings(),P.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield P.MitarbeitersettingsDB.SaveMitarbeitersettings(),P.Pool.CurrentProgressValue++,P.Zoomfaktor=P.Pool.Mitarbeitersettings.Zoomfaktor,P.Pool.MitarbeitersettingsChanged.emit(),null===P.Pool.Mitarbeiterdaten.SettingsID&&(P.Pool.Mitarbeiterdaten.SettingsID=P.Pool.Mitarbeitersettings._id,yield P.MitarbeiterDB.UpdateMitarbeiter(P.Pool.Mitarbeiterdaten)),P.MitarbeiterDB.InitService(),P.StandortDB.InitService(),P.Pool.ShowProgress=!1,x=!0===P.Pool.Mitarbeiterdaten.Planeradministrator?P.Const.Pages.HomePage:P.Const.Pages.UrlaubPlanungPage,P.Pool.ProjektdatenLoaded=!0,P.SetProjekteMenuebereich(x),P.Tools.SetRootPage(x).then(()=>{P.Pool.LoadingAllDataFinished.emit()})}else P.AuthService.SetShowLoginStatus(),P.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",P.Debug.Typen.Component)}catch(L){P.Debug.ShowErrorMessage(L.message,"App Component","StartApp",P.Debug.Typen.Component)}})()}SetProjekteMenuebereich(P){try{switch(P){case this.Const.Pages.HomePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home,this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.EmaillistePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Email;break;case this.Const.Pages.UrlaubPlanungPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung;break;case this.Const.Pages.UrlaubUebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Uebersicht;break;case this.Const.Pages.UrlaubsgesamtuebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Gesamtplanung;break;case this.Const.Pages.UrlaubFreigabenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Freigaben;break;case this.Const.Pages.UrlaubEinstellungenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Einstellungen;break;default:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte}switch(P){case this.Const.Pages.PjAufgabenlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.PjProtokolleListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Protokolle;break;case this.Const.Pages.PjBaustelleLoplistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.LOPListe;break;case this.Const.Pages.PjBaustelleTagebuchlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Bautagebuch;break;case this.Const.Pages.PjFestlegungslistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Festlegungen;break;case this.Const.Pages.PjPlanungsmatrixPage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Planungsmatrix;break;case this.Const.Pages.PjSimontabellelistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Simontabelle;break;case this.Const.Pages.PjNotizenListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Notizen}}catch(L){this.Debug.ShowErrorMessage(L,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(L){return new(L||R)(e.\u0275\u0275directiveInject(c.Platform),e.\u0275\u0275directiveInject(l.DatabasePoolService),e.\u0275\u0275directiveInject(g.MenueService),e.\u0275\u0275directiveInject(b.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(S.BasicsProvider),e.\u0275\u0275directiveInject(y.ToolsProvider),e.\u0275\u0275directiveInject(m.ConstProvider),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(p.MsalBroadcastService),e.\u0275\u0275directiveInject(h.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabaseStandorteService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(E.Graphservice),e.\u0275\u0275directiveInject(A.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:R,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(L,x){1&L&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&L&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",x.Zoomfaktor,"%"))},dependencies:[c.IonApp,c.IonRouterOutlet],styles:['ngx-material-timepicker-content{--body-background-color: #7b6a58;--primary-font-family: "Roboto",sans-serif;--button-color: none !important;--dial-active-color: #fff;--dial-inactive-color: rgba(255, 255, 255, .5);--dial-background-color: #354547 !important;--dial-editable-active-color: #c7d304 !important;--dial-editable-background-color: #fff;--clock-face-time-active-color: #fff;--clock-face-time-inactive-color: #6c6c6c;--clock-face-inner-time-inactive-color: #929292;--clock-face-time-disabled-color: #c5c5c5;--clock-face-background-color: #354547;--clock-hand-color: #c7d304 !important}']})}return R})()},5204:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AppModule=f.MSALInstanceFactory=void 0;const n=o(81316),i=o(14476),d=o(10716),u=o(86108),a=o(80484),e=o(19668),c=o(34388),l=o(29743),g=o(14652),b=o(33940),p=o(59460),S=o(21052),y=o(44556),m=o(97048),h=o(9028),C=o(21112),v=o(36716),M=o(2300),E=o(57848),A=n.__importStar(o(54496)),R=(n.__importStar(o(10716)),!1===v.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),P=!1===v.environment.production?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",ee=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,X=(H,ae)=>{console.log(ae)};f.MSALInstanceFactory=()=>new C.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:R},cache:{cacheLocation:C.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:ee},system:{loggerOptions:{loggerCallback:X,logLevel:C.LogLevel.Error,piiLoggingEnabled:!1}}});const Q=()=>{const H=new Map;return H.set("https://graph.microsoft.com/v1.0/me",["user.read"]),H.set(P,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:C.InteractionType.Redirect,protectedResourceMap:H}},ne=()=>({interactionType:C.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email"]}});f.AppModule=(()=>{class H{static \u0275fac=function(K){return new(K||H)};static \u0275mod=A.\u0275\u0275defineNgModule({type:H,bootstrap:[u.AppComponent,h.MsalRedirectComponent]});static \u0275inj=A.\u0275\u0275defineInjector({providers:[{provide:m.HTTP_INTERCEPTORS,useClass:h.MsalInterceptor,multi:!0},{provide:h.MSAL_INSTANCE,useFactory:f.MSALInstanceFactory},{provide:h.MSAL_GUARD_CONFIG,useFactory:ne},{provide:h.MSAL_INTERCEPTOR_CONFIG,useFactory:Q},h.MsalService,h.MsalGuard,h.MsalBroadcastService,e.ToolsProvider,c.DebugProvider,l.ConstProvider,g.BasicsProvider,p.MenueService,b.LoadingAnimationService,S.DisplayService],imports:[i.BrowserModule,d.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),a.AppRoutingModule,y.BrowserAnimationsModule,m.HttpClientModule,h.MsalModule,M.EditorModule,E.FontAwesomeModule]})}return H})()},64168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiChangelogEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),u=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(21052)),l=n.__importStar(o(29743)),g=n.__importStar(o(19668)),b=n.__importStar(o(51708)),p=n.__importStar(o(91368)),S=n.__importStar(o(10716)),y=n.__importStar(o(38056)),m=n.__importStar(o(90212)),h=n.__importStar(o(25856)),C=n.__importStar(o(29856));function v(A,T){if(1&A){const R=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),a.\u0275\u0275listener("CheckChanged",function(P){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(L.CanDeleteCheckedChanged(P))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",17),a.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(R);const P=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(P.DeleteButtonClicked())}),a.\u0275\u0275element(9,"ion-icon",19),a.\u0275\u0275elementStart(10,"ion-text"),a.\u0275\u0275text(11,"Eintrag l\xf6schen"),a.\u0275\u0275elementEnd()()()()()()()}if(2&A){const R=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",R.CanDelete),a.\u0275\u0275advance(3),a.\u0275\u0275property("disabled",!R.CanDelete)}}function M(A,T){if(1&A){const R=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),a.\u0275\u0275twoWayListener("ValueChange",function(P){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(L.DB.CurrentChangelog.Version,P)||(L.DB.CurrentChangelog.Version=P),a.\u0275\u0275resetView(P)}),a.\u0275\u0275listener("TextChanged",function(P){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(L.TextChanged(P))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),a.\u0275\u0275twoWayListener("ValueChange",function(P){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(L.DB.CurrentChangelog.Beschreibung,P)||(L.DB.CurrentChangelog.Beschreibung=P),a.\u0275\u0275resetView(P)}),a.\u0275\u0275listener("TextChanged",function(P){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(L.TextChanged(P))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),a.\u0275\u0275element(9,"input-clone",14),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(10,"ion-col"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),a.\u0275\u0275element(13,"br")(14,"br"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(15,v,12,2,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&A){const R=a.\u0275\u0275nextContext();a.\u0275\u0275advance(3),a.\u0275\u0275twoWayProperty("Value",R.DB.CurrentChangelog.Version),a.\u0275\u0275property("Required",!1)("MaxLength",100),a.\u0275\u0275advance(3),a.\u0275\u0275twoWayProperty("Value",R.DB.CurrentChangelog.Beschreibung),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),a.\u0275\u0275advance(3),a.\u0275\u0275property("Value",R.GetDatum())("Enabled",!1),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",null!==R.DB.CurrentChangelog._id)}}f.FiChangelogEditorComponent=(()=>{class A{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(R,N,P,L,x){this.Debug=R,this.Displayservice=N,this.Const=P,this.Tools=L,this.DB=x;try{this.Valid=!0,this.Valid=!0,this.Titel="Change Log bearbeiten",this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Beschreibung:d.string().required().max(100)}).options({stripUnknown:!0})}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentChangelog).error,this.ValidChange.emit(this.Valid)}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(R){try{this.ValidateInput()}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(R=>{this.Tools.ShowHinweisDialog(R.error.message)})}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(R=>{this.OkClickedEvent.emit()}).catch(R=>{this.Tools.ShowHinweisDialog(R.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(R=>{this.Tools.ShowHinweisDialog(R.error.message)})}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(R){R.preventDefault(),R.stopPropagation()}CanDeleteCheckedChanged(R){try{this.CanDelete=R.status}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,u.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(R){this.Debug.ShowErrorMessage(R,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(N){return new(N||A)(a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(l.ConstProvider),a.\u0275\u0275directiveInject(g.ToolsProvider),a.\u0275\u0275directiveInject(b.DatabaseChangelogService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:A,selectors:[["fi-changelog-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Version",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Beschreibung",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Datum",3,"Value","Enabled"],["size","12"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(N,P){1&N&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(x){return P.ContentClicked(x)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(x){return P.ContentClicked(x)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,M,16,10,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return P.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===P.Valid?P.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&N&&(a.\u0275\u0275styleProp("z-index",P.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",P.Displayservice.ShowOpacity(P.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",P.Dialogbreite,"px")("height",P.Dialoghoehe,"px")("top",P.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",P.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(P.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",P.DB.CurrentChangelog),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===P.Valid?"weiss":"grau"))},dependencies:[p.NgIf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonIcon,S.IonRow,S.IonText,y.InputCloneComponent,m.PageHeaderComponent,h.CheckboxClonComponent,C.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #354547;border-right:3px solid #354547;width:100%;height:100%;display:flex;flex-direction:row}"]})}return A})()},12095:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiChangelogEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(33780),a=o(61540),e=o(6512),c=o(70216),l=o(7388),g=o(90520),b=n.__importStar(o(54496));f.FiChangelogEditorModule=(()=>{class S{static \u0275fac=function(h){return new(h||S)};static \u0275mod=b.\u0275\u0275defineNgModule({type:S});static \u0275inj=b.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.InputCloneModule,a.InputCloneKeeperModule,e.AbstandElementFixedModule,c.PageHeaderModule,l.CheckboxClonModule,g.PageFooterModule]})}return S})()},80887:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterAuswahlComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),u=n.__importStar(o(54496)),a=n.__importStar(o(14652)),e=n.__importStar(o(34388)),c=n.__importStar(o(19668)),l=n.__importStar(o(58864)),g=n.__importStar(o(29743)),b=n.__importStar(o(21052)),p=n.__importStar(o(7992)),S=["SmallAlphabet"];function y(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()()()),2&T){const N=u.\u0275\u0275nextContext().index,P=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(P.Mitarbeiterbuchstabenliste[N])}}function m(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate3(" ",N.Name," ",N.Vorname," / ",N.Kuerzel," ")}}function h(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"td")(1,"span"),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"span",34),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"span"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275text(7),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Text_A),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Text_B),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Text_C),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" / ",N.Kuerzel," ")}}function C(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),u.\u0275\u0275listener("CheckChanged",function(L){u.\u0275\u0275restoreView(N);const x=u.\u0275\u0275nextContext(3);return u.\u0275\u0275resetView(x.CheckedChanged(L))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(4,m,2,3,"td",11)(5,h,8,4,"td",11),u.\u0275\u0275elementEnd()()}if(2&T){const N=u.\u0275\u0275nextContext(),P=N.index,L=N.$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275property("Index",P)("Checked",L.Selected),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!L.Filtered),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",L.Filtered)}}function v(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-item",22),u.\u0275\u0275listener("click",function(){const x=u.\u0275\u0275restoreView(N).$implicit,V=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(V.MitrabeiterButtonClicked(x))}),u.\u0275\u0275elementStart(1,"ion-grid",23),u.\u0275\u0275template(2,y,5,1,"ion-row",11),u.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),u.\u0275\u0275template(9,C,6,4,"table",26),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),u.\u0275\u0275element(14,"td",28),u.\u0275\u0275elementStart(15,"td",29),u.\u0275\u0275text(16,"Stadort:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(17,"td"),u.\u0275\u0275text(18),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(19,"td",30),u.\u0275\u0275elementEnd()()()()()()()()()()}if(2&T){const N=R.$implicit,P=R.index,L=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",""!==L.Mitarbeiterbuchstabenliste[P]),u.\u0275\u0275advance(7),u.\u0275\u0275property("ngIf",null!==N),u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(L.DBStandort.GetStandort(N.StandortID))}}function M(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"ion-list"),u.\u0275\u0275template(1,v,20,3,"ion-item",21),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",N.Anzeigeliste)}}function E(T,R){1&T&&(u.\u0275\u0275elementStart(0,"div",35),u.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),u.\u0275\u0275elementEnd())}f.FiMitarbeiterAuswahlComponent=(()=>{class T{Basics;Debug;Tools;DBStandort;Const;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;StandortfilterClickedEvent=new i.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(N,P,L,x,V,F,ee){this.Basics=N,this.Debug=P,this.Tools=L,this.DBStandort=x,this.Const=V,this.Displayservice=F,this.Pool=ee;try{this.AuswahlIDliste=[],this.Mitarbeiterbuchstabenliste=[],this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiteralphabet=this.Standardalphabet,this.Alphapetbreite=44,this.Mitarbeiterfiltertext="",this.Multiselect=!1,this.Titel=this.Const.NONE,this.Iconname="people-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=3e3,this.Mitarbeiterliste=[],this.FilterSubscription=null,this.OnlyProjektmitarbeiter=!0}catch(X){this.Debug.ShowErrorMessage(X.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=d.cloneDeep(this.AuswahlIDliste),this.Alphabetcomponent&&this.Alphabetcomponent.InitScreen(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl,this.ZIndex),this.FilterSubscription=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let N,P,L,x,V,F,ee,X,ce,Q,ne,Y;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=d.cloneDeep(this.Pool.Mitarbeiterliste)),N=d.cloneDeep(this.Mitarbeiterliste),N=d.filter(N,H=>!1===H.Archiviert),N.sort((H,ae)=>H.Nameae.Name?1:0),null!==this.DBStandort.CurrentStandortfilter){P=d.cloneDeep(N),N=[];for(let H of P)H.StandortID===this.DBStandort.CurrentStandortfilter._id&&N.push(H)}if(N.length>6){this.Mitarbeiteralphabet=["Alle"];for(let H of N)L=H.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(L)&&this.Mitarbeiteralphabet.push(L)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){P=d.cloneDeep(N),N=[];for(let H of P)L=H.Name.substring(0,1).toUpperCase(),L="\xc4"===L?"A":L,L="\xd6"===L?"O":L,L="\xdc"===L?"U":L,this.Mitarbeiteralphabetauswahl===L&&N.push(H)}if(""!==this.Mitarbeiterfiltertext){P=d.cloneDeep(N),N=[];for(let H of P)Q=this.Mitarbeiterfiltertext.toLowerCase(),ne=H.Name.toLowerCase(),ce=ne.indexOf(Q),-1!==ce&&(x=H.Name.length,X=Q.length,V=H.Name.substr(0,ce),F=H.Name.substr(ce,X),X=x-X-ce,ee=H.Name.substr(x-X,X),H.Filtered=!0,H.Text_A=V,H.Text_B=F,H.Text_C=ee,N.push(H))}this.Mitarbeiterbuchstabenliste=[];for(let H of N)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(H));for(Y of N)Y.Selected=!1;for(let H of this.AuswahlIDliste)Y=d.find(N,{_id:H}),d.isUndefined(Y)||(Y.Selected=!0);this.Anzeigeliste=d.cloneDeep(N)}}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(N){try{let P=N.Name.substring(0,1).toUpperCase();return P!==this.Lastletter?(this.Lastletter=P,P):""}catch(P){this.Debug.ShowErrorMessage(P.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(N){}AlphabetClicked(N){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=N,this.PrepareDaten()}catch(P){this.Debug.ShowErrorMessage(P.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(N){try{let P;if(!1===this.Multiselect){for(P of this.Mitarbeiterliste)P.Selected=!1;for(P of this.Anzeigeliste)P.Selected=!1}P=d.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[N.index]._id}),d.isUndefined(P)||(P.Selected=N.status,!0===N.status?this.AuswahlIDliste.push(P._id):this.AuswahlIDliste=d.filter(this.AuswahlIDliste,L=>L!==P._id)),this.Anzeigeliste[N.index].Selected=N.status}catch(P){this.Debug.ShowErrorMessage(P.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=d.cloneDeep(this.AuswahlIDListeSicherung)}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(N){N.preventDefault(),N.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","StandortfilterButtonClicked",this.Debug.Typen.Component)}}GetStandortfiller(){try{return null===this.DBStandort.CurrentStandortfilter?"kein Standortfilter":this.DBStandort.CurrentStandortfilter.Kuerzel+" / "+this.DBStandort.CurrentStandortfilter.Standort}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(P){return new(P||T)(u.\u0275\u0275directiveInject(a.BasicsProvider),u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(c.ToolsProvider),u.\u0275\u0275directiveInject(l.DatabaseStandorteService),u.\u0275\u0275directiveInject(g.ConstProvider),u.\u0275\u0275directiveInject(b.DisplayService),u.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:T,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(P,L){if(1&P&&u.\u0275\u0275viewQuery(S,7),2&P){let x;u.\u0275\u0275queryRefresh(x=u.\u0275\u0275loadQuery())&&(L.Alphabetcomponent=x.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter"},outputs:{OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent",StandortfilterClickedEvent:"StandortfilterClickedEvent"},decls:36,vars:20,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],[2,"width","4px"],["color","weiss",3,"name"],["colspan","3"],["size","small","color","grau",3,"click"],["name","funnel-outline"],[1,"innerkeeperclass"],[1,"innerkeeperlisteclass"],[4,"ngIf"],["class","emptymessageclass",4,"ngIf"],[1,"innerkeeperalphabetclass"],[3,"Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["SmallAlphabet",""],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["color","weiss","name","checkmark-outline",2,"font-size","28px"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","28px"],[1,"ergonametextclass"],[2,"width","20px"],["color","orange"],["cellspacing","0","cellpadding","0"],[3,"Index","Checked","CheckChanged"],[2,"color","green"],[1,"emptymessageclass"]],template:function(P,L){1&P&&(u.\u0275\u0275elementStart(0,"div",0)(1,"div",1),u.\u0275\u0275listener("click",function(V){return L.ContentClicked(V)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275listener("click",function(V){return L.ContentClicked(V)}),u.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),u.\u0275\u0275element(7,"td",4),u.\u0275\u0275elementStart(8,"td"),u.\u0275\u0275element(9,"ion-icon",5),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"td"),u.\u0275\u0275text(11),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),u.\u0275\u0275listener("click",function(){return L.StandortfilterButtonClicked()}),u.\u0275\u0275element(15,"ion-icon",8),u.\u0275\u0275text(16),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),u.\u0275\u0275template(20,M,2,1,"ion-list",11)(21,E,2,0,"div",12),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),u.\u0275\u0275listener("AlphabetClicked",function(V){return L.AlphabetClicked(V)}),u.\u0275\u0275elementEnd()()()(),u.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),u.\u0275\u0275listener("click",function(){return L.CancelButtonClicked()}),u.\u0275\u0275element(31,"ion-icon",18),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(32,"td",19),u.\u0275\u0275elementStart(33,"td")(34,"div",17),u.\u0275\u0275listener("click",function(){return L.OkButtonClicked()}),u.\u0275\u0275element(35,"ion-icon",20),u.\u0275\u0275elementEnd()()()()()()()()()),2&P&&(u.\u0275\u0275styleProp("z-index",L.ZIndex),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",L.Displayservice.ShowOpacity(L.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",L.Dialogbreite,"px")("bottom",L.PositionY,"px")("top",L.PositionY,"px"),u.\u0275\u0275advance(7),u.\u0275\u0275property("name",L.Iconname),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","white"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(L.Titel),u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate1(" ",L.GetStandortfiller()," "),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngIf",L.Mitarbeiterliste&&L.Anzeigeliste.length>0),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",L.Mitarbeiterliste&&0===L.Anzeigeliste.length),u.\u0275\u0275advance(2),u.\u0275\u0275property("Buchstabenliste",L.Mitarbeiteralphabet)("Breite",L.Alphapetbreite)("Auswahl",L.Mitarbeiteralphabetauswahl))},styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}.emptymessageclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding-top:100px}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #354547}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}.innerkeeperlisteclass[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto}.innerkeeperalphabetclass[_ngcontent-%COMP%]{width:44px;height:100%;overflow:auto}"]})}return T})()},26668:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterAuswahlModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(33780),a=o(61540),e=o(6512),c=o(7388),l=o(80887),g=o(87143),b=o(72160),p=o(70216),S=o(90520),y=n.__importStar(o(54496)),m=n.__importStar(o(91368)),h=n.__importStar(o(10716)),C=n.__importStar(o(25856)),v=n.__importStar(o(1215)),M=n.__importStar(o(90212)),E=n.__importStar(o(29856));f.FiMitarbeiterAuswahlModule=(()=>{class T{static \u0275fac=function(P){return new(P||T)};static \u0275mod=y.\u0275\u0275defineNgModule({type:T});static \u0275inj=y.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.InputCloneModule,a.InputCloneKeeperModule,e.AbstandElementFixedModule,c.CheckboxClonModule,g.AlphabetModule,b.AlphabetRelativeModule,p.PageHeaderModule,S.PageFooterModule]})}return T})(),y.\u0275\u0275setComponentScope(l.FiMitarbeiterAuswahlComponent,[m.NgForOf,m.NgIf,h.IonButton,h.IonCol,h.IonContent,h.IonFooter,h.IonGrid,h.IonHeader,h.IonIcon,h.IonItem,h.IonList,h.IonRow,h.IonText,C.CheckboxClonComponent,v.AlphabetRelativeComponent,M.PageHeaderComponent,E.PageFooterComponent],[])},82384:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterEditorComponent=void 0;const i=o(81316),d=o(54496),u=i.__importStar(o(78776)),a=i.__importStar(o(17964)),e=i.__importStar(o(54496)),c=i.__importStar(o(34388)),l=i.__importStar(o(19668)),g=i.__importStar(o(7992)),b=i.__importStar(o(29743)),p=i.__importStar(o(14652)),S=i.__importStar(o(21052)),y=i.__importStar(o(58864)),m=i.__importStar(o(9544)),h=i.__importStar(o(22848));function C(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",31)(3,"tr")(4,"td")(5,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.PlaneradministratorCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Administrator"),e.\u0275\u0275elementEnd()()()()()}if(2&X){const Q=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Enabled",!0===Q.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",Q.DB.CurrentMitarbeiter.Planeradministrator)}}function v(X,ce){if(1&X&&(e.\u0275\u0275elementStart(0,"td",37),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&X){const Q=ce.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Q.Ort)}}function M(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(H.UrlaubsfreigabeChanged(Y))}),e.\u0275\u0275elementEnd()()}if(2&X){const Q=ce.$implicit,ne=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",ne.DB.CurrentMitarbeiter.Urlaubsfreigaben)("Value",Q._id)("Checked",ne.UrlaubsfreigabeChecked(Q._id))}}function E(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(H.HomeofficefreigabeChanged(Y))}),e.\u0275\u0275elementEnd()()}if(2&X){const Q=ce.$implicit,ne=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",ne.DB.CurrentMitarbeiter.Homeofficefreigaben)("Value",Q._id)("Checked",ne.HomeofficefreigabeChecked(Q._id))}}function A(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",33),e.\u0275\u0275element(3,"td",34),e.\u0275\u0275template(4,v,2,1,"td",35),e.\u0275\u0275elementStart(5,"tr")(6,"td")(7,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.UrlaubsfreigabenCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Urlaub Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,M,2,3,"td",36),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.HomeofficefreigabenCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td"),e.\u0275\u0275text(15,"Homeoffice Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(16,E,2,3,"td",36),e.\u0275\u0275elementEnd()()()()}if(2&X){const Q=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Q.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===Q.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",Q.DB.CurrentMitarbeiter.Urlaubsfreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Q.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===Q.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",Q.DB.CurrentMitarbeiter.Homeofficefreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Q.Pool.Standorteliste)}}function T(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",40),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.ArchivierenCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(6,"td",41),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Eintrag archivieren"),e.\u0275\u0275elementEnd()()()()()}if(2&X){const Q=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Checked",Q.DB.CurrentMitarbeiter.Archiviert)}}function R(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",18)(4,"b"),e.\u0275\u0275text(5,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",19)(8,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.AnredeClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",21)(11,"input-clone",22),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Vorname,Y)||(H.DB.CurrentMitarbeiter.Vorname=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"ion-col",21)(13,"input-clone",23),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Name,Y)||(H.DB.CurrentMitarbeiter.Name=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",21)(16,"input-clone",24),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Kuerzel,Y)||(H.DB.CurrentMitarbeiter.Kuerzel=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"ion-col",21)(18,"input-clone",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.PositionClicked())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",21)(21,"input-clone",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.StandortClicked())})("TextChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(22,"ion-col",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"ion-row")(24,"ion-col",21)(25,"input-clone",27),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Email,Y)||(H.DB.CurrentMitarbeiter.Email=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(26,"ion-row")(27,"ion-col")(28,"ion-text",18)(29,"b"),e.\u0275\u0275text(30,"Kontakt"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"ion-row")(32,"ion-col",21)(33,"input-clone",28),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Telefon,Y)||(H.DB.CurrentMitarbeiter.Telefon=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-col",21)(35,"input-clone",29),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Mobil,Y)||(H.DB.CurrentMitarbeiter.Mobil=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(36,"ion-row"),e.\u0275\u0275element(37,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"ion-row")(39,"ion-col")(40,"ion-text",18)(41,"b"),e.\u0275\u0275text(42,"Urlaub"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(43,"ion-row")(44,"ion-col",19)(45,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.UrlaubClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col",19)(48,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.ResturlaubEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(49,C,8,2,"ion-row",12)(50,A,17,7,"ion-row",12),e.\u0275\u0275elementStart(51,"ion-row"),e.\u0275\u0275element(52,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"ion-row")(54,"ion-col")(55,"ion-text",18)(56,"b"),e.\u0275\u0275text(57,"Sonstiges"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(58,T,9,1,"ion-row",12),e.\u0275\u0275elementEnd()}if(2&X){const Q=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275property("Buttontext","Anrede")("Wert_A",Q.GetAnrede()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentMitarbeiter.Vorname),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentMitarbeiter.Name),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentMitarbeiter.Kuerzel),e.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),e.\u0275\u0275advance(),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",Q.DB.GetPositionsbezeichnung(Q.DB.CurrentMitarbeiter.PositionID))("DisabledColor","gray"),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==Q.DB.CurrentMitarbeiter.StandortID?Q.Basics.Farben.Burnicklgrau:Q.Basics.Farben.Orange)("Value",Q.StandortDB.GetStandort(Q.DB.CurrentMitarbeiter.StandortID)),e.\u0275\u0275advance(),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentMitarbeiter.Email),e.\u0275\u0275property("Enabled",Q.EmailinputEnabled),e.\u0275\u0275advance(7),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentMitarbeiter.Telefon),e.\u0275\u0275advance(),e.\u0275\u0275property("size",Q.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentMitarbeiter.Mobil),e.\u0275\u0275advance(10),e.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",Q.DB.CurrentMitarbeiter.Urlaub+" Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub")("Wert_A",Q.DB.CurrentMitarbeiter.Resturlaub.toString()),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Q.DB.CurrentMitarbeiter._id&&null!==Q.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Q.DB.CurrentMitarbeiter._id&&null!==Q.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",null!==Q.DB.CurrentMitarbeiter._id)}}function N(X,ce){if(1&X&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,R,59,43,"ion-grid",12),e.\u0275\u0275elementContainerEnd()),2&X){const Q=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Q.DB.CurrentMitarbeiter)}}function P(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-item",44),e.\u0275\u0275listener("click",function(){const H=e.\u0275\u0275restoreView(Q).$implicit,ae=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ae.PositionButtonClicked(H))}),e.\u0275\u0275elementStart(1,"table",31)(2,"tr")(3,"td")(4,"div",45),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()}if(2&X){const Q=ce.$implicit;e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(Q.Bezeichnung)}}function L(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"ion-button",46),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.NeuePositionButtonClicked())}),e.\u0275\u0275text(3,"Neue Position eintragen"),e.\u0275\u0275elementEnd()()()}}function x(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",47)(2,"input-clone",48),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentPosition.Bezeichnung,Y)||(H.DB.CurrentPosition.Bezeichnung=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(Q);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.NewPositionTextChanged(Y))}),e.\u0275\u0275elementEnd()()()}if(2&X){const Q=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("Value",Q.DB.CurrentPosition.Bezeichnung),e.\u0275\u0275property("Required",!0)("MaxLength",200)("Titel",Q.AddNewPosition?"Neue Position":"Position bearbeiten")}}function V(X,ce){if(1&X){const Q=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",31)(3,"tr")(4,"td")(5,"ion-button",49),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.PositionCancelButtonClicked())}),e.\u0275\u0275element(6,"ion-icon",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td")(8,"ion-button",51),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Q);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.PositionOkButtonClicked())}),e.\u0275\u0275element(9,"ion-icon",52),e.\u0275\u0275elementEnd()()()()()()}}function F(X,ce){if(1&X&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",16)(2,"tr")(3,"td",42)(4,"ion-list"),e.\u0275\u0275template(5,P,6,1,"ion-item",43),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td",42)(7,"table",31),e.\u0275\u0275template(8,L,4,0,"tr",12)(9,x,3,4,"tr",12)(10,V,10,0,"tr",12),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()),2&X){const Q=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",Q.Pool.Mitarbeiterpositionenliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===Q.AddNewPosition&&!1===Q.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Q.AddNewPosition||!0===Q.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Q.AddNewPosition||!0===Q.EditPosition)}}f.FiMitarbeiterEditorComponent=(()=>{class X{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;UrlaubDB;DB;Valid;ValidChanged=new d.EventEmitter;StandortClickedEvent=new d.EventEmitter;AnredeClickedEvent=new d.EventEmitter;UrlaubClickedEvent=new d.EventEmitter;PositionClickedEvent=new d.EventEmitter;CancelClickedEvent=new d.EventEmitter;OkClickedEvent=new d.EventEmitter;ErrorEvent=new d.EventEmitter;ResturlaubEvent=new d.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;Bereich;AddNewPosition;EditPosition;Bereiche={Allgemein:"Allgemein",Positionen:"Positionen"};constructor(Q,ne,Y,H,ae,J,K,W,re){this.Debug=Q,this.Tools=ne,this.Pool=Y,this.Const=H,this.Basics=ae,this.Displayservice=J,this.StandortDB=K,this.UrlaubDB=W,this.DB=re;try{this.Valid=!0,this.DeleteEnabled=!1,this.Titel=this.Const.NONE,this.Iconname="help-circle-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=2e3,this.SkipOkButtonAction=!1,this.EmailinputEnabled=!0,this.Teamsliste=[],this.ErrorMessage=null,this.AddNewPosition=!1,this.EditPosition=!1,this.Bereich=this.Bereiche.Allgemein}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=u.object({Name:u.string().required().max(100),Vorname:u.string().required().max(100),Kuerzel:u.string().required().min(3).max(10),Jobtitel:u.string().required().min(3).max(100),Email:u.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","SetupValidation",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentMitarbeiter).error,""===this.DB.CurrentMitarbeiter.StandortID&&(this.Valid=!1),this.ValidChanged.emit(this.Valid)}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(Q){try{this.ValidateInput()}catch(ne){this.Debug.ShowErrorMessage(ne.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(Q){try{this.DeleteEnabled=Q.status}catch(ne){this.Debug.ShowErrorMessage(ne.message,"Mitarbeiter Editor","LoeschenCheckboxChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.ResetEditor(),this.CancelClickedEvent.emit()}OkButtonClicked(){this.SkipOkButtonAction?this.OkClickedEvent.emit():null===this.DB.CurrentMitarbeiter._id?this.DB.AddMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(Q=>{this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(Q=>{this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(Q){Q.preventDefault(),Q.stopPropagation()}ArchivierenCheckboxChanged(Q){try{this.DB.CurrentMitarbeiter.Archiviert=Q.status}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(Q){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=Q.status,!1===Q.status&&(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=[])}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(Q){try{this.DB.CurrentMitarbeiter.Planeradministrator=Q.status}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(Q){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=Q.status,!1===Q.status&&(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=[])}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","UrlaubsfreigabenCheckboxChanged",this.Debug.Typen.Component)}}GetAnrede(){try{return null!==this.DB.CurrentMitarbeiter?this.DB.CurrentMitarbeiter.Anrede===this.Const.NONE?"unbekannt":this.DB.CurrentMitarbeiter.Anrede:"null"}catch(Q){this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(Q){try{return-1!==a.indexOf(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,Q)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Page)}}UrlaubsfreigabeChanged(Q){try{!0===Q.status?this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte.push(Q.value):this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=a.filter(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,ne=>ne!==Q.value)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","UrlaubsfreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChanged(Q){try{!0===Q.status?this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte.push(Q.value):this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=a.filter(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,ne=>ne!==Q.value)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","HomeofficefreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(Q){try{return-1!==a.indexOf(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,Q)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}AllgemeinMenuButtonClicked(){try{this.Bereich=this.Bereiche.Allgemein}catch(Q){this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","AllgemeinMenuButtonClicked",this.Debug.Typen.Component)}}PositionenMenuButtonClicked(){try{this.Bereich=this.Bereiche.Positionen}catch(Q){this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","PositionenMenuButtonClicked",this.Debug.Typen.Component)}}NeuePositionButtonClicked(){try{this.AddNewPosition=!0,this.DB.CurrentPosition=this.DB.GetEmptyMitarbeiterposition()}catch(Q){this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","NeuePositionButtonClicked",this.Debug.Typen.Component)}}NewPositionTextChanged(Q){try{this.DB.CurrentPosition.Bezeichnung=Q.Text}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","NewPositionTextChanged",this.Debug.Typen.Component)}}PositionOkButtonClicked(){var Q=this;return n(function*(){try{Q.AddNewPosition&&(yield Q.DB.AddMitarbeiterposition(Q.DB.CurrentPosition),Q.AddNewPosition=!1,Q.DB.CurrentPosition=null),Q.EditPosition&&(yield Q.DB.UpdateMitarbeiterposition(Q.DB.CurrentPosition),Q.EditPosition=!1,Q.DB.CurrentPosition=null)}catch(ne){Q.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","PositionOkButtonClicked",Q.Debug.Typen.Component)}})()}PositionCancelButtonClicked(){try{this.AddNewPosition&&(this.AddNewPosition=!1,this.DB.CurrentPosition=null)}catch(Q){this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","PositionCancelButtonClicked",this.Debug.Typen.Component)}}PositionButtonClicked(Q){try{!this.EditPosition&&!this.AddNewPosition&&(this.DB.CurrentPosition=a.cloneDeep(Q),this.EditPosition=!0)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","PositionButtonClicked",this.Debug.Typen.Component)}}PositionClicked(){try{this.PositionClickedEvent.emit()}catch(Q){this.Debug.ShowErrorMessage(Q,"Mitarbeiter Editor","PositionClicked",this.Debug.Typen.Component)}}static \u0275fac=function(ne){return new(ne||X)(e.\u0275\u0275directiveInject(c.DebugProvider),e.\u0275\u0275directiveInject(l.ToolsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(p.BasicsProvider),e.\u0275\u0275directiveInject(S.DisplayService),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(m.DatabaseUrlaubService),e.\u0275\u0275directiveInject(h.DatabaseMitarbeiterService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:X,selectors:[["fi-mitarbeiter-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",SkipOkButtonAction:"SkipOkButtonAction",EmailinputEnabled:"EmailinputEnabled"},outputs:{ValidChanged:"ValidChanged",StandortClickedEvent:"StandortClickedEvent",AnredeClickedEvent:"AnredeClickedEvent",UrlaubClickedEvent:"UrlaubClickedEvent",PositionClickedEvent:"PositionClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent",ResturlaubEvent:"ResturlaubEvent"},decls:45,vars:25,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","reader-outline",3,"color"],[2,"width","20px"],["name","briefcase-outline",3,"color"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],[3,"size"],["Titel","Vorname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Name",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Mitarbeiterk\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Possition",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[1,"paddingtable"],[3,"Enabled","Checked","CheckChanged"],["border","1",1,"paddingtable"],["colspan","2"],["style","width: 100px; text-align: center",4,"ngFor","ngForOf"],["align","center",4,"ngFor","ngForOf"],[2,"width","100px","text-align","center"],["align","center"],[3,"Enabled","Value","Checked","CheckChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],["valign","top",2,"width","50%"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"positionclass"],["color","grau","size","small",3,"click"],[2,"width","400px"],[3,"Value","Required","MaxLength","Titel","ValueChange","TextChanged"],["color","rot","size","small",3,"click"],["name","close-outline"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"]],template:function(ne,Y){1&ne&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275listener("click",function(ae){return Y.ContentClicked(ae)}),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275listener("click",function(ae){return Y.ContentClicked(ae)}),e.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",5),e.\u0275\u0275element(12,"div",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td")(14,"div",7),e.\u0275\u0275listener("click",function(){return Y.AllgemeinMenuButtonClicked()}),e.\u0275\u0275elementStart(15,"table",3)(16,"tr")(17,"td"),e.\u0275\u0275element(18,"ion-icon",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"td"),e.\u0275\u0275text(20,"Allgemein"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(21,"td",9),e.\u0275\u0275elementStart(22,"td")(23,"div",7),e.\u0275\u0275listener("click",function(){return Y.PositionenMenuButtonClicked()}),e.\u0275\u0275elementStart(24,"table",3)(25,"tr")(26,"td"),e.\u0275\u0275element(27,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"td"),e.\u0275\u0275text(29,"Positionen"),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275elementStart(30,"ion-content")(31,"div",11),e.\u0275\u0275template(32,N,2,1,"ng-container",12)(33,F,11,4,"ng-container",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-footer")(35,"page-footer")(36,"table",13)(37,"tr")(38,"td")(39,"div",14),e.\u0275\u0275listener("click",function(){return Y.CancelButtonClicked()}),e.\u0275\u0275element(40,"ion-icon",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(41,"td",16),e.\u0275\u0275elementStart(42,"td")(43,"div",14),e.\u0275\u0275listener("click",function(){return!0===Y.Valid?Y.OkButtonClicked():null}),e.\u0275\u0275element(44,"ion-icon",17),e.\u0275\u0275elementEnd()()()()()()()()()),2&ne&&(e.\u0275\u0275styleProp("z-index",Y.ZIndex),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",Y.Displayservice.ShowOpacity(Y.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("width",Y.Dialogbreite,"px")("top",Y.PositionY,"px")("bottom",Y.PositionY,"px")("top",Y.PositionY,"px"),e.\u0275\u0275advance(6),e.\u0275\u0275property("name",Y.Iconname),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","white"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Y.Titel),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Y.Bereich===Y.Bereiche.Allgemein?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Y.Bereich===Y.Bereiche.Allgemein?"#000000":"white"),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Y.Bereich===Y.Bereiche.Positionen?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Y.Bereich===Y.Bereiche.Positionen?"#000000":"white"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",Y.Bereich===Y.Bereiche.Allgemein),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Y.Bereich===Y.Bereiche.Positionen),e.\u0275\u0275advance(11),e.\u0275\u0275property("color",!0===Y.Valid?"weiss":"grau"))},styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;width:100%;height:100%;display:flex;flex-direction:row}.menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.trennertdclass[_ngcontent-%COMP%]{width:30px}.positionclass[_ngcontent-%COMP%]{background:#fff;height:30px;width:300px}.positionclass[_ngcontent-%COMP%]:hover{background:silver}"]})}return X})()},27328:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(82384),a=o(33780),e=o(61540),c=o(6512),l=o(7388),g=o(70216),b=o(90520),p=o(72284),S=n.__importStar(o(54496)),y=n.__importStar(o(91368)),m=n.__importStar(o(10716)),h=n.__importStar(o(38056)),C=n.__importStar(o(25856)),v=n.__importStar(o(90212)),M=n.__importStar(o(29856)),E=n.__importStar(o(13228));f.FiMitarbeiterEditorModule=(()=>{class T{static \u0275fac=function(P){return new(P||T)};static \u0275mod=S.\u0275\u0275defineNgModule({type:T});static \u0275inj=S.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,e.InputCloneKeeperModule,c.AbstandElementFixedModule,l.CheckboxClonModule,g.PageHeaderModule,b.PageFooterModule,p.ButtonValueModule]})}return T})(),S.\u0275\u0275setComponentScope(u.FiMitarbeiterEditorComponent,[y.NgForOf,y.NgIf,m.IonButton,m.IonCol,m.IonContent,m.IonFooter,m.IonGrid,m.IonHeader,m.IonIcon,m.IonItem,m.IonList,m.IonRow,m.IonText,h.InputCloneComponent,C.CheckboxClonComponent,v.PageHeaderComponent,M.PageFooterComponent,E.ButtonValueComponent],[])},41656:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),u=n.__importStar(o(17964)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(21052)),l=n.__importStar(o(29743)),g=n.__importStar(o(19668)),b=n.__importStar(o(7992)),p=n.__importStar(o(9544)),S=n.__importStar(o(22848)),y=n.__importStar(o(58864)),m=n.__importStar(o(91368)),h=n.__importStar(o(10716)),C=n.__importStar(o(38056)),v=n.__importStar(o(90212)),M=n.__importStar(o(25856)),E=n.__importStar(o(29856)),A=n.__importStar(o(13228));function T(F,ee){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-col",18)(1,"button-value",19),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(X);const Q=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(Q.BundeslandClickedEvent.emit())}),a.\u0275\u0275elementEnd()()}if(2&F){const X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",X.GetBundesland())}}function R(F,ee){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",18)(2,"button-value",19),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(X);const Q=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(Q.KonfessionClickedEvent.emit())}),a.\u0275\u0275elementEnd()()()}if(2&F){const X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("Buttontext","Konfession")("Wert_A",X.GetKonfession())}}function N(F,ee){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(Q){const Y=a.\u0275\u0275restoreView(X).$implicit,H=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(H.UrlaubsfreigabeCheckChanged(Q,Y._id))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(3,"td",29),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()}if(2&F){const X=ee.$implicit,ce=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("Enabled",ce.Pool.Mitarbeiterdaten.Planeradministrator)("Value",X._id)("Checked",ce.UrlaubsfreigabeChecked(X._id)),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,"")}}function P(F,ee){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(Q){const Y=a.\u0275\u0275restoreView(X).$implicit,H=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(H.HomeofficefreigabeCheckChanged(Q,Y._id))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(3,"td",29),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()}if(2&F){const X=ee.$implicit,ce=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("Enabled",ce.Pool.Mitarbeiterdaten.Planeradministrator)("Value",X._id)("Checked",ce.HomeofficefreigabeChecked(X._id)),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,"")}}function L(F,ee){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",30),a.\u0275\u0275listener("CheckChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ne.CanDeleteCheckedChanged(Q))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",31),a.\u0275\u0275elementStart(7,"td")(8,"ion-button",32),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(X);const Q=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(Q.DeleteButtonClicked())}),a.\u0275\u0275element(9,"ion-icon",33),a.\u0275\u0275elementStart(10,"ion-text"),a.\u0275\u0275text(11,"Eintrag l\xf6schen"),a.\u0275\u0275elementEnd()()()()()()()}if(2&F){const X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",X.CanDelete),a.\u0275\u0275advance(3),a.\u0275\u0275property("disabled",!X.CanDelete)}}function x(F,ee){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),a.\u0275\u0275text(5,"Allgemein"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",13),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Standort,Q)||(ne.DB.CurrentStandort.Standort=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(9,"ion-col")(10,"input-clone",14),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Kuerzel,Q)||(ne.DB.CurrentStandort.Kuerzel=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col")(13,"input-clone",15),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Strasse,Q)||(ne.DB.CurrentStandort.Strasse=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(14,"ion-col"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"input-clone",16),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.PLZ,Q)||(ne.DB.CurrentStandort.PLZ=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(18,"ion-col")(19,"input-clone",17),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Ort,Q)||(ne.DB.CurrentStandort.Ort=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",18)(22,"button-value",19),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(X);const Q=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Q.LandClickedEvent.emit())}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(23,T,2,2,"ion-col",20),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(24,R,3,2,"ion-row",6),a.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",12)(28,"b"),a.\u0275\u0275text(29,"Kontakt"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col")(32,"input-clone",21),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Telefon,Q)||(ne.DB.CurrentStandort.Telefon=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(33,"ion-col")(34,"input-clone",22),a.\u0275\u0275twoWayListener("ValueChange",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Email,Q)||(ne.DB.CurrentStandort.Email=Q),a.\u0275\u0275resetView(Q)}),a.\u0275\u0275listener("TextChanged",function(Q){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(Q))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col")(37,"ion-text",12)(38,"b"),a.\u0275\u0275text(39,"Urlaub + Homeoffice"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(40,"ion-row")(41,"ion-col")(42,"table",23)(43,"tr")(44,"td"),a.\u0275\u0275text(45,"Mitarbeiter/inen die die Homeoffice- und Urlaubsanfragen f\xfcr den Standort freigeben k\xf6nnen:"),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col")(48,"table",3)(49,"tr")(50,"td"),a.\u0275\u0275element(51,"ion-icon",24),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(52,"td",25),a.\u0275\u0275text(53,"Urlaubsfreigaben"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(54,"ion-col")(55,"table",3)(56,"tr")(57,"td"),a.\u0275\u0275element(58,"ion-icon",26),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(59,"td",25),a.\u0275\u0275text(60,"Homeofficefreigaben"),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(61,"ion-row")(62,"ion-col")(63,"table",3),a.\u0275\u0275template(64,N,5,5,"tr",27),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(65,"ion-col")(66,"table",3),a.\u0275\u0275template(67,P,5,5,"tr",27),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(68,L,12,2,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&F){const X=a.\u0275\u0275nextContext();a.\u0275\u0275advance(8),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Standort),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Kuerzel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),a.\u0275\u0275advance(3),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Strasse),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(4),a.\u0275\u0275property("Required",!0)("MinLength",4)("MaxLength",5),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.PLZ),a.\u0275\u0275advance(2),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Ort),a.\u0275\u0275advance(3),a.\u0275\u0275property("Buttontext","Land")("Wert_A",X.GetLand()),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf","DE"===X.DB.CurrentStandort.Land),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf","DE"===X.DB.CurrentStandort.Land),a.\u0275\u0275advance(8),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Telefon),a.\u0275\u0275advance(2),a.\u0275\u0275property("MaxLength",255)("Required",!0),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Email),a.\u0275\u0275advance(30),a.\u0275\u0275property("ngForOf",X.DBMitarbeiter.GetUrlausbsfreigeberliste(X.DB.CurrentStandort._id)),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngForOf",X.DBMitarbeiter.GetHomeofficefreigeberliste(X.DB.CurrentStandort._id)),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==X.DB.CurrentStandort._id)}}f.FiStandortEditorComponent=(()=>{class F{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DBMitarbeiter;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;LandClickedEvent=new i.EventEmitter;BundeslandClickedEvent=new i.EventEmitter;KonfessionClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(X,ce,Q,ne,Y,H,ae,J){this.Debug=X,this.Displayservice=ce,this.Const=Q,this.Tools=ne,this.Pool=Y,this.DBUrlaub=H,this.DBMitarbeiter=ae,this.DB=J;try{this.Valid=!0,this.Valid=!0,this.Titel=this.Const.NONE,this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(K){this.Debug.ShowErrorMessage(K.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Standort:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Strasse:d.string().required().max(100),Ort:d.string().required().max(100),PLZ:d.string().required().min(4).max(5),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentStandort).error,(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChange.emit(this.Valid)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(X){try{this.ValidateInput()}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error.message)})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(X=>{this.OkClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error.message)})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(X){X.preventDefault(),X.stopPropagation()}CanDeleteCheckedChanged(X){try{this.CanDelete=X.status}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Standort Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetLand(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Land){case"DE":return"Deutschland";case"BG":return"Bulgarien"}}catch(X){this.Debug.ShowErrorMessage(X,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let X;return null!==this.DB.CurrentStandort?(X=u.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),u.isUndefined(X)?"Unbekannt":X.Name):"Unbekannt"}catch(X){this.Debug.ShowErrorMessage(X,"Standort Editor","funGetBundeslandction",this.Debug.Typen.Component)}}GetKonfession(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Konfession){case"RK":return"Katholisch";case"EV":return"Evangelisch"}}catch(X){this.Debug.ShowErrorMessage(X,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(X){try{return-1!==this.DB.CurrentStandort.Urlaubfreigabepersonen.indexOf(X)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(X){try{return-1!==this.DB.CurrentStandort.Homeofficefreigabepersonen.indexOf(X)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}UrlaubsfreigabeCheckChanged(X,ce){try{!0===X.status?this.DB.CurrentStandort.Urlaubfreigabepersonen.push(ce):this.DB.CurrentStandort.Urlaubfreigabepersonen=u.filter(this.DB.CurrentStandort.Urlaubfreigabepersonen,Q=>ce!==Q)}catch(Q){this.Debug.ShowErrorMessage(Q,"Standort Editor","UrlaubsfreigabeCheckChanged",this.Debug.Typen.Component)}}HomeofficefreigabeCheckChanged(X,ce){try{!0===X.status?this.DB.CurrentStandort.Homeofficefreigabepersonen.push(ce):this.DB.CurrentStandort.Homeofficefreigabepersonen=u.filter(this.DB.CurrentStandort.Homeofficefreigabepersonen,Q=>ce!==Q)}catch(Q){this.Debug.ShowErrorMessage(Q,"Standort Editor","HomeofficefreigabeCheckChanged",this.Debug.Typen.Component)}}static \u0275fac=function(ce){return new(ce||F)(a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(l.ConstProvider),a.\u0275\u0275directiveInject(g.ToolsProvider),a.\u0275\u0275directiveInject(b.DatabasePoolService),a.\u0275\u0275directiveInject(p.DatabaseUrlaubService),a.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),a.\u0275\u0275directiveInject(y.DatabaseStandorteService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:F,selectors:[["fi-standort-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent",LandClickedEvent:"LandClickedEvent",BundeslandClickedEvent:"BundeslandClickedEvent",KonfessionClickedEvent:"KonfessionClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["Titel","Standortname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","K\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Stra\xdfe",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","PLZ",3,"Required","MinLength","MaxLength","Value","ValueChange","TextChanged"],["Titel","Ort",3,"Required","MaxLength","Value","ValueChange","TextChanged"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","6",4,"ngIf"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[1,"paddingtable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","home","color","blau",2,"font-size","20px"],[4,"ngFor","ngForOf"],[3,"Enabled","Value","Checked","CheckChanged"],[2,"font-size","100%","color","#444444"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(ce,Q){1&ce&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(Y){return Q.ContentClicked(Y)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(Y){return Q.ContentClicked(Y)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,x,69,28,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return Q.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===Q.Valid?Q.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&ce&&(a.\u0275\u0275styleProp("z-index",Q.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",Q.Displayservice.ShowOpacity(Q.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",Q.Dialogbreite,"px")("height",Q.Dialoghoehe,"px")("top",Q.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",Q.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(Q.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",Q.DB.CurrentStandort&&null!==Q.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===Q.Valid?"weiss":"grau"))},dependencies:[m.NgForOf,m.NgIf,h.IonButton,h.IonCol,h.IonContent,h.IonFooter,h.IonGrid,h.IonHeader,h.IonIcon,h.IonRow,h.IonText,C.InputCloneComponent,v.PageHeaderComponent,M.CheckboxClonComponent,E.PageFooterComponent,A.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #2190df;border-right:3px solid #2190df;width:100%;height:100%;display:flex;flex-direction:row}"]})}return F})()},79664:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(33780),a=o(61540),e=o(6512),c=o(70216),l=o(7388),g=o(90520),b=o(72284),p=n.__importStar(o(54496));f.FiStandortEditorModule=(()=>{class y{static \u0275fac=function(C){return new(C||y)};static \u0275mod=p.\u0275\u0275defineNgModule({type:y});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.InputCloneModule,a.InputCloneKeeperModule,e.AbstandElementFixedModule,c.PageHeaderModule,l.CheckboxClonModule,g.PageFooterModule,b.ButtonValueModule]})}return y})()},73088:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AbstandElementFixedComponent=void 0;const i=o(81316).__importStar(o(54496));f.AbstandElementFixedComponent=(()=>{class u{constructor(){}ngOnInit(){}static \u0275fac=function(c){return new(c||u)};static \u0275cmp=i.\u0275\u0275defineComponent({type:u,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(c,l){1&c&&i.\u0275\u0275element(0,"div",0)}})}return u})()},6512:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AbstandElementFixedModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},72160:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetRelativeModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},1215:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetRelativeComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(34388)),a=n.__importStar(o(14652)),e=n.__importStar(o(29743)),c=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=["ImageKeeperDiv"];function p(y,m){if(1&y){const h=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(h).$implicit,E=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(E.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&y){const h=m.$implicit,C=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",C.Basics.Farben.BAEBlau)("border-color",h===C.Auswahl?C.Basics.Farben.BAEBlau:C.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",h," ")}}f.AlphabetRelativeComponent=(()=>{class y{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(h,C,v,M){this.Debug=h,this.Basics=C,this.Const=v,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(E){this.Debug.ShowErrorMessage(E.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{this.Style={width:this.Breite+"px",top:"0px",bottom:"0px",background:this.Basics.Farben.BAEHellgrau,display:"flex","flex-direction":"column","justify-content":"center"}}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(h){try{this.AlphabetClicked.emit(h),this.Auswahl=h}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(h){try{let C;C=h.Buchstabenliste,typeof C<"u"&&this.SetFilterliste(),C=h.Breite,typeof C<"u"&&this.InitScreen()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||y)(d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(c.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["alphabet-relative"]],viewQuery:function(C,v){if(1&C&&d.\u0275\u0275viewQuery(b,7),2&C){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(v.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(C,v){1&C&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&C&&(d.\u0275\u0275property("ngStyle",v.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.Filterliste))},dependencies:[l.NgForOf,l.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return y})()},87143:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.AlphabetModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},99031:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(34388)),a=n.__importStar(o(14652)),e=n.__importStar(o(29743)),c=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=["ImageKeeperDiv"];function p(y,m){if(1&y){const h=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(h).$implicit,E=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(E.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&y){const h=m.$implicit,C=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color","#2190df")("border-color",h===C.Auswahl?"#2190df":C.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",h," ")}}f.AlphabetComponent=(()=>{class y{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(h,C,v,M){this.Debug=h,this.Basics=C,this.Const=v,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(E){this.Debug.ShowErrorMessage(E.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let h=0,C=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(h=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(C=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:h+"px",bottom:C+"px",background:this.Basics.Farben.BAEHellgrau}}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(h){try{this.AlphabetClicked.emit(h),this.Auswahl=h}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(h){try{let C;C=h.Buchstabenliste,typeof C<"u"&&this.SetFilterliste()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||y)(d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(c.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["alphabet"]],viewQuery:function(C,v){if(1&C&&d.\u0275\u0275viewQuery(b,7),2&C){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(v.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(C,v){1&C&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&C&&(d.\u0275\u0275property("ngStyle",v.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.Filterliste))},dependencies:[l.NgForOf,l.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{position:absolute;background:#fff;right:0;width:12vw;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return y})()},10272:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AuswahlDialogModule=void 0;const n=o(81316),i=o(10716),d=o(56584),u=o(91368),a=o(44716),e=o(70216),c=o(90520),l=o(84104),g=n.__importStar(o(54496)),b=n.__importStar(o(10716)),p=n.__importStar(o(91368)),S=n.__importStar(o(90212)),y=n.__importStar(o(29856)),m=n.__importStar(o(66144));f.AuswahlDialogModule=(()=>{class C{static \u0275fac=function(E){return new(E||C)};static \u0275mod=g.\u0275\u0275defineNgModule({type:C});static \u0275inj=g.\u0275\u0275defineInjector({imports:[i.IonicModule,u.CommonModule,a.FormsModule,e.PageHeaderModule,c.PageFooterModule,l.SafePipeModule]})}return C})(),g.\u0275\u0275setComponentScope(d.AuswahlDialogComponent,[b.IonContent,b.IonFooter,b.IonHeader,b.IonIcon,b.IonRadio,b.IonRadioGroup,b.RadioValueAccessor,b.SelectValueAccessor,p.NgForOf,S.PageHeaderComponent,y.PageFooterComponent],[m.SafePipe])},56584:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AuswahlDialogComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),u=n.__importStar(o(54496)),a=n.__importStar(o(19668)),e=n.__importStar(o(14652)),c=n.__importStar(o(34388)),l=n.__importStar(o(21052)),g=n.__importStar(o(29743)),b=["MySelection"];function p(y,m){if(1&y&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275element(2,"ion-radio",15),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(3,"td",16),u.\u0275\u0275pipe(4,"safe"),u.\u0275\u0275element(5,"td",17),u.\u0275\u0275pipe(6,"safe"),u.\u0275\u0275elementEnd()),2&y){const h=m.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("value",h.Index),u.\u0275\u0275advance(),u.\u0275\u0275property("innerHTML",u.\u0275\u0275pipeBind2(4,3,h.FirstColumn,"html"),u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",u.\u0275\u0275pipeBind2(6,6,h.SecoundColumn,"html"),u.\u0275\u0275sanitizeHtml)}}f.AuswahlDialogComponent=(()=>{class y{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;constructor(h,C,v,M,E){this.Tools=h,this.Basics=C,this.Debug=v,this.Displayservice=M,this.Const=E;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(h){this.Debug.ShowErrorMessage(h.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(h){this.Debug.ShowErrorMessage(h.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(h,C,v){try{this.Titel=h,this.Auswahlliste=C,this.Auswahlindex=v}catch(M){this.Debug.ShowErrorMessage(M.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(h,C){try{typeof h<"u"&&!0===h&&(this.Auswahlindex=typeof C<"u"?C:-1),this.MySelection.open()}catch(v){this.Debug.ShowErrorMessage(v.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(h){}IndexChangedHandler(h){try{let C;C=""===h.detail.value||isNaN(h.detail.value)?-1:h.detail.value,this.Auswahlindex=C}catch(C){this.Debug.ShowErrorMessage(C.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){d.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(h){h.preventDefault(),h.stopPropagation()}static \u0275fac=function(C){return new(C||y)(u.\u0275\u0275directiveInject(a.ToolsProvider),u.\u0275\u0275directiveInject(e.BasicsProvider),u.\u0275\u0275directiveInject(c.DebugProvider),u.\u0275\u0275directiveInject(l.DisplayService),u.\u0275\u0275directiveInject(g.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:y,selectors:[["auswahl-dialog"]],viewQuery:function(C,v){if(1&C&&u.\u0275\u0275viewQuery(b,7),2&C){let M;u.\u0275\u0275queryRefresh(M=u.\u0275\u0275loadQuery())&&(v.MySelection=M.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[u.\u0275\u0275NgOnChangesFeature],decls:31,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"innerkeeperclass"],[3,"value","ionChange"],[1,"paddingtable"],["colspan","3",2,"height","6px"],[4,"ngFor","ngForOf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","32px"],[2,"width","100%"],["color","weiss","name","save-outline",2,"font-size","28px"],["mode","md",3,"value"],[2,"font-weight","bold",3,"innerHTML"],[3,"innerHTML"]],template:function(C,v){1&C&&(u.\u0275\u0275elementStart(0,"div",0)(1,"div",1),u.\u0275\u0275listener("click",function(E){return v.ContentClicked(E)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275listener("click",function(E){return v.ContentClicked(E)}),u.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),u.\u0275\u0275element(8,"ion-icon",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"td"),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),u.\u0275\u0275listener("ionChange",function(E){return v.IndexChangedHandler(E)}),u.\u0275\u0275elementStart(14,"table",7)(15,"tr"),u.\u0275\u0275element(16,"td",8),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(17,p,7,9,"tr",9),u.\u0275\u0275elementStart(18,"tr"),u.\u0275\u0275element(19,"td",8),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),u.\u0275\u0275listener("click",function(){return v.CancelButtonClicked()}),u.\u0275\u0275element(26,"ion-icon",12),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(27,"td",13),u.\u0275\u0275elementStart(28,"td")(29,"div",11),u.\u0275\u0275listener("click",function(){return v.OkButtonClicked()}),u.\u0275\u0275element(30,"ion-icon",14),u.\u0275\u0275elementEnd()()()()()()()()()),2&C&&(u.\u0275\u0275styleProp("z-index",v.ZIndex),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",!0===v.Displayservice.ShowOpacity(v.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",v.Dialogbreite,"px")("bottom",v.PositionY,"px")("top",v.PositionY,"px"),u.\u0275\u0275advance(6),u.\u0275\u0275property("name",v.Iconname),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","white"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(v.Titel),u.\u0275\u0275advance(3),u.\u0275\u0275property("value",v.Auswahlindex),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngForOf",v.Auswahlliste))},styles:[".keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{overflow:auto;width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #2190df;border-right:3px solid #2190df}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}"]})}return y})()},22844:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ButtonValueDateModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},72284:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ButtonValueModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.ButtonValueModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},13228:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ButtonValueComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(14652)),a=n.__importStar(o(34388)),e=n.__importStar(o(19668)),c=n.__importStar(o(29743)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716));function b(y,m){if(1&y&&(d.\u0275\u0275elementStart(0,"table",10)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd()()),2&y){const h=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",h.Wert_A_String,d.\u0275\u0275sanitizeHtml)}}function p(y,m){if(1&y&&(d.\u0275\u0275elementStart(0,"table",12)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"tr"),d.\u0275\u0275element(4,"td",13),d.\u0275\u0275elementEnd()()),2&y){const h=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",h.Wert_A_String,d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",h.Wert_B,d.\u0275\u0275sanitizeHtml)}}f.ButtonValueComponent=(()=>{class y{Basics;Debug;Tools;Const;Buttoncolor;Buttontext;Wert_A;Wert_B;Iconfile;Iconcolor;Enabled;SmallWidth;BigHeight;ShowMargin;Width;ProContent=!1;ProMessage="";Buttonvaluecolor="";Rechtebreite;Linkebreite;ButtonClicked=new i.EventEmitter;DisabledButtonClicked=new i.EventEmitter;RGB;Wert_A_String;constructor(h,C,v,M){this.Basics=h,this.Debug=C,this.Tools=v,this.Const=M;try{this.Width=0,this.ShowMargin=!0,this.BigHeight=!1,this.SmallWidth=!1,this.Buttontext="",this.Wert_A="",this.Wert_B="",this.Iconcolor="red",this.Iconfile="",this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.Enabled=!0,this.Buttonvaluecolor=this.Basics.Farben.Burnicklgrau,this.Linkebreite=40,this.Rechtebreite=60}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(h){try{let C=h.Buttoncolor,v=h.Wert_A;typeof C<"u"&&(C.firstChange||(this.RGB=this.Tools.HexToRGB(C.currentValue))),typeof v<"u"&&typeof v.currentValue<"u"&&"string"==typeof v.currentValue&&(this.Wert_A_String=v.currentValue)}catch(C){this.Debug.ShowErrorMessage(C.message,"Button Value","ngOnChanges",this.Debug.Typen.Component)}}ButtonClickedHandler(){try{!0===this.Enabled?this.ButtonClicked.emit():this.DisabledButtonClicked.emit()}catch(h){this.Debug.ShowErrorMessage(h.message,"Button Value","ButtonClickedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||y)(d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["button-value"]],inputs:{Buttoncolor:"Buttoncolor",Buttontext:"Buttontext",Wert_A:"Wert_A",Wert_B:"Wert_B",Iconfile:"Iconfile",Iconcolor:"Iconcolor",Enabled:"Enabled",SmallWidth:"SmallWidth",BigHeight:"BigHeight",ShowMargin:"ShowMargin",Width:"Width",ProContent:"ProContent",ProMessage:"ProMessage",Buttonvaluecolor:"Buttonvaluecolor",Rechtebreite:"Rechtebreite",Linkebreite:"Linkebreite"},outputs:{ButtonClicked:"ButtonClicked",DisabledButtonClicked:"DisabledButtonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:12,vars:11,consts:[["tappable","",1,"buttonclass",3,"click"],[2,"height","100%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],["cellpadding","0","cellspacing","0",4,"ngIf"],["width","100%",4,"ngIf"],["cellpadding","0","cellspacing","0"],["align","center",3,"innerHTML"],["width","100%"],["align","center",1,"ergotextclass",3,"innerHTML"]],template:function(C,v){1&C&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(){return v.ButtonClickedHandler()}),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),d.\u0275\u0275text(7),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(8,"div",6)(9,"div",7),d.\u0275\u0275template(10,b,3,1,"table",8)(11,p,5,2,"table",9),d.\u0275\u0275elementEnd()()()),2&C&&(d.\u0275\u0275styleProp("background",v.Enabled?v.Buttoncolor:v.Basics.Farben.ButtongrauDisabled),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",v.Linkebreite,"%"),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(v.Buttontext),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",v.Rechtebreite,"%"),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("background",v.Buttonvaluecolor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""===v.Wert_B),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""!==v.Wert_B))},dependencies:[l.NgIf,g.IonText],styles:[".buttonclass[_ngcontent-%COMP%]{position:relative;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:8px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;width:100%;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}"]})}return y})()},25856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CheckboxClonComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(14652)),a=n.__importStar(o(19668)),e=n.__importStar(o(34388));f.CheckboxClonComponent=(()=>{class l{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new i.EventEmitter;ImgSource;constructor(b,p,S){this.Basics=b,this.Tools=p,this.Debug=S;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(y){this.Debug.ShowErrorMessage(y.message,"Checkbox","constructor",this.Debug.Typen.Component)}}PrepareData(){try{this.Background=!1===this.Enabled?"#B2BABB":"white"}catch(b){this.Debug.ShowErrorMessage(b,"Checkbox","PrepareData",this.Debug.Typen.Component)}}ngOnInit(){try{this.PrepareData()}catch(b){this.Debug.ShowErrorMessage(b,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(b){try{b.stopPropagation(),b.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:b,value:this.Value})}catch(p){this.Debug.ShowErrorMessage(p.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}ngOnChanges(b){try{let p;p=b.Enabled,typeof p<"u"&&this.PrepareData()}catch(p){this.Debug.ShowErrorMessage(p.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(p){return new(p||l)(d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(a.ToolsProvider),d.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:l,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(p,S){1&p&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(m){return S.DivClickedHnadler(m)}),d.\u0275\u0275element(1,"img",1),d.\u0275\u0275elementEnd()),2&p&&(d.\u0275\u0275styleProp("background",S.Background),d.\u0275\u0275advance(),d.\u0275\u0275property("hidden",!S.Checked)("src",S.ImgSource,d.\u0275\u0275sanitizeUrl))},styles:[".keeperdivclass[_ngcontent-%COMP%]{padding:2px;position:relative;width:24px;height:24px;border:2px solid gray;border-radius:4px;display:flex;justify-content:center;align-items:center}"]})}return l})()},7388:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CheckboxClonModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.CheckboxClonModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},61540:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.InputCloneKeeperModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},38056:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.InputCloneComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),u=n.__importStar(o(54496)),a=n.__importStar(o(34388)),e=n.__importStar(o(14652)),c=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716));function b(T,R){1&T&&u.\u0275\u0275element(0,"td")}function p(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"tr")(1,"td",4),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"td",5),u.\u0275\u0275element(4,"ion-icon",6),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(5,b,1,0,"td",3),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275styleProp("color",N.Titelcolor),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Titel),u.\u0275\u0275advance(),u.\u0275\u0275property("hidden",!1===N.Clickable),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",null!==N.Einheit)}}function S(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-input",10),u.\u0275\u0275listener("ionInput",function(L){u.\u0275\u0275restoreView(N);const x=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(x.TextChangedHandler(L))}),u.\u0275\u0275elementEnd()}if(2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("font-size",N.Textsize,"px"),u.\u0275\u0275property("inputmode",N.Inputtype)("label",N.Titel)("debounce",N.Debouncetime)("value",N.Value)("color",N.Textcolor)}}function y(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"ion-label"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(N.Value)}}function m(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"td",11),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(N.Einheit)}}function h(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"tr")(1,"td",7),u.\u0275\u0275template(2,S,1,7,"ion-input",8)(3,y,2,1,"ion-label",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(4,m,2,1,"td",9),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",!0===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!1===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",null!==N.Einheit)}}function C(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-textarea",15),u.\u0275\u0275listener("ionChange",function(L){u.\u0275\u0275restoreView(N);const x=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(x.TextChangedHandler(L))}),u.\u0275\u0275elementEnd()}if(2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("label",N.Titel)("debounce",N.Debouncetime)("value",N.Value)("rows",N.Lines)}}function v(T,R){if(1&T&&u.\u0275\u0275element(0,"div",16),2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("height",18*N.Lines,"px"),u.\u0275\u0275property("innerHTML",N.Tools.FormatLinebreaks(N.Value),u.\u0275\u0275sanitizeHtml)}}function M(T,R){1&T&&u.\u0275\u0275element(0,"td")}function E(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"tr")(1,"td",12),u.\u0275\u0275template(2,C,1,4,"ion-textarea",13)(3,v,1,3,"div",14),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(4,M,1,0,"td",3),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",!0===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!1===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",null!==N.Einheit)}}f.InputCloneComponent=(()=>{class T{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new i.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new i.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(N,P,L){this.Debug=N,this.Basics=P,this.Tools=L;try{let x=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=x+"px solid "+this.OkBorderColor,this.RequiredBorder=x+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=x+"px solid "+this.DisabledColor,this.Valid=!0,this.MinLength=0,this.MaxLength=0,this.Enabled=!0,this.Titel="",this.Value="",this.MinHeight=30,this.Inputtype="text",this.Lines=1,this.Debouncetime=0,this.Clickable=!1,this.Required=!1,this.Titelcolor="black",this.ParseToFloat=!1,this.Textsize=14,this.Einheit=null,this.Textcolor=this.Basics.Ionicfarben.Schwarz}catch(x){this.Debug.ShowErrorMessage(x.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let P;"text"===this.Inputtype||"email"===this.Inputtype?(P=d.string(),"email"===this.Inputtype&&(P=P.email({tlds:{allow:!1}}))):P=d.number(),this.MinLength>0&&(P=P.min(this.MinLength)),this.MaxLength>0&&(P=P.max(this.MaxLength)),P=!0===this.Required?P.required():P.allow(""),this.JoiShema=d.object({Text:P}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(N){this.Debug.ShowErrorMessage(N.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(N){try{let P,L;return this.JoiShema?(P=this.JoiShema.validate({Text:N}),P.error?(L=!1,this.Debug.ShowErrorMessage(P.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):L=!0):L=!1,L}catch(P){this.Debug.ShowErrorMessage(P.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(N){try{let P="text"===this.Inputtype||"email"===this.Inputtype?N.detail.value:this.ParseToFloat?parseFloat(N.detail.value):parseInt(N.detail.value);!0===this.Enabled&&(typeof P>"u"&&(P=""),this.Valid=this.CheckValid(P),this.ValueChange.emit(P),this.TextChanged.emit({Titel:this.Titel,Text:P,Valid:this.Valid})),N.stopPropagation(),N.preventDefault()}catch(P){this.Debug.ShowErrorMessage(P.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(N){try{let P=1,L=N.Value;typeof L<"u"&&(this.Valid=this.CheckValid(L.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:L.currentValue,Valid:this.Valid})),this.DisabledBorder=P+"px solid "+this.DisabledColor,this.OkBorder=P+"px solid "+this.OkBorderColor}catch(P){this.Debug.ShowErrorMessage(P.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(P){return new(P||T)(u.\u0275\u0275directiveInject(a.DebugProvider),u.\u0275\u0275directiveInject(e.BasicsProvider),u.\u0275\u0275directiveInject(c.ToolsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:T,selectors:[["input-clone"]],inputs:{Titel:"Titel",Titelcolor:"Titelcolor",Value:"Value",Debouncetime:"Debouncetime",MinLength:"MinLength",MaxLength:"MaxLength",Enabled:"Enabled",Clickable:"Clickable",MinHeight:"MinHeight",Inputtype:"Inputtype",Required:"Required",Lines:"Lines",DisabledColor:"DisabledColor",OkBorderColor:"OkBorderColor",ParseToFloat:"ParseToFloat",Textcolor:"Textcolor",Textsize:"Textsize",Einheit:"Einheit"},outputs:{ValueChange:"ValueChange",TextChanged:"TextChanged"},features:[u.\u0275\u0275NgOnChangesFeature],decls:5,vars:9,consts:[[1,"framedivclass"],["width","100%"],[3,"color",4,"ngIf"],[4,"ngIf"],[1,"uppercellclass"],[2,"text-align","right",3,"hidden"],["color","burnicklgruen","name","list-outline",2,"font-size","20px"],["colspan","2",1,"lowercellclass",2,"width","auto"],["class","inputclass","labelPlacement","stacked","autocomplete","off",3,"font-size","inputmode","label","debounce","value","color","ionInput",4,"ngIf"],["style","width: 20px; text-align: center;",4,"ngIf"],["labelPlacement","stacked","autocomplete","off",1,"inputclass",3,"inputmode","label","debounce","value","color","ionInput"],[2,"width","20px","text-align","center"],["colspan","2",1,"lowercellclass"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange",4,"ngIf"],[3,"height","innerHTML",4,"ngIf"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange"],[3,"innerHTML"]],template:function(P,L){1&P&&(u.\u0275\u0275elementStart(0,"div",0)(1,"table",1),u.\u0275\u0275template(2,p,6,5,"tr",2)(3,h,5,3,"tr",3)(4,E,5,3,"tr",3),u.\u0275\u0275elementEnd()()),2&P&&(u.\u0275\u0275styleProp("cursor",!0===L.Clickable?"pointer":"default")("min-height",L.MinHeight,"px")("border",!0===L.Enabled?!0===L.Valid?L.OkBorder:L.RequiredBorder:L.DisabledBorder),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",null!==L.Titel&&""!==L.Titel&&!1===L.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",1===L.Lines),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",1!==L.Lines))},dependencies:[l.NgIf,g.IonIcon,g.IonInput,g.IonLabel,g.IonTextarea,g.TextValueAccessor],styles:[".framedivclass[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:flex-start}.inputclass[_ngcontent-%COMP%]{border:1px solid blue;border:none;--padding-bottom: 0px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}ion-label[_ngcontent-%COMP%]{color:#000}ion-textarea[_ngcontent-%COMP%]{margin-top:0;border:none;--padding-bottom: 100px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}.uppercellclass[_ngcontent-%COMP%]{font-size:80%;padding:4px 4px 2px}.lowercellclass[_ngcontent-%COMP%]{padding:0 4px 4px}"]})}return T})()},33780:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.InputCloneModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.InputCloneModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90520:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageFooterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.PageFooterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},29856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageFooterComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(29743)),a=n.__importStar(o(34388)),e=n.__importStar(o(14652)),c=["PageFooterFrameDiv"],l=["*"];f.PageFooterComponent=(()=>{class b{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(S,y,m){this.Const=S,this.Debug=y,this.Basics=m}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(S){this.Debug.ShowErrorMessage(S.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||b)(d.\u0275\u0275directiveInject(u.ConstProvider),d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["page-footer"]],viewQuery:function(y,m){if(1&y&&d.\u0275\u0275viewQuery(c,7,i.ElementRef),2&y){let h;d.\u0275\u0275queryRefresh(h=d.\u0275\u0275loadQuery())&&(m.PageFooterFrameDiv=h.first)}},ngContentSelectors:l,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(y,m){1&y&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd())},styles:[".keeperclass[_ngcontent-%COMP%]{background:#307ac1;color:#fff;width:100%;min-height:40px;height:100%;display:flex;align-items:center;justify-content:flex-end}"]})}return b})()},89300:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderCenterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},63792:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderMenuComponent=void 0;const i=o(81316),d=o(54496),u=i.__importDefault(o(35908)),a=o(36716),e=i.__importStar(o(54496)),c=i.__importStar(o(34388)),l=i.__importStar(o(14652)),g=i.__importStar(o(29743)),b=i.__importStar(o(22848)),p=i.__importStar(o(15024)),S=i.__importStar(o(48044)),y=i.__importStar(o(58864)),m=i.__importStar(o(9544)),h=i.__importStar(o(8608)),C=i.__importStar(o(97092)),v=i.__importStar(o(7992)),M=i.__importStar(o(59460)),E=i.__importStar(o(91368)),A=i.__importStar(o(10716)),T=["Suchleiste"],R=["Suchleiste2"],N=["ion-searchbar"];function P(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"div",5),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.HomeMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.HomeMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.MainMenueButtonClicked(ze.Menuservice.MainMenuebereiche.Home))}),e.\u0275\u0275elementStart(3,"table",6)(4,"tr")(5,"td"),e.\u0275\u0275element(6,"ion-icon",7),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"td",8),e.\u0275\u0275element(8,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&Ie){const ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("color",ie.HomeMouseOver?ie.Basics.Ionicfarben.Schwarz:ie.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(2),e.\u0275\u0275classMap(ie.Menuservice.MainMenuebereich===ie.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function L(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td")(3,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ze.UrlaubMenueButtonClicked(ze.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}),e.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Gesamtplanung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(7),e.\u0275\u0275property("color",ie.GetUrlaubMenueIconcolor(ie.Menuservice.UrlaubMenuebereiche.Gesamtplanung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.GetUrlaubMenueFontcolor(ie.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}}function x(Ie,be){if(1&Ie&&(e.\u0275\u0275elementStart(0,"td")(1,"ion-badge",22),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Ie){const ie=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate((ie.DBUrlaub.Urlaubsanfragenanzahl+ie.DBUrlaub.Homeofficeanfragenanzahl).toString())}}function V(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td")(3,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ze.UrlaubMenueButtonClicked(ze.Menuservice.UrlaubMenuebereiche.Freigaben))}),e.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Anfragen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,x,3,1,"td",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(7),e.\u0275\u0275property("color",ie.GetUrlaubMenueIconcolor(ie.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.GetUrlaubMenueFontcolor(ie.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",ie.DBUrlaub.Urlaubsanfragenanzahl>0||ie.DBUrlaub.Homeofficeanfragenanzahl>0)}}function F(Ie,be){1&Ie&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",23),e.\u0275\u0275elementEnd())}function ee(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",24)(1,"ion-button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ze.UrlaubMitarbeiterClicked.emit())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null!==ie.DBUrlaub.CurrentMitarbeiter?ie.DBUrlaub.CurrentMitarbeiter.Vorname+" "+ie.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt")}}function X(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",5),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.LogoutMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.LogoutMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.LogoutButtonClicked())}),e.\u0275\u0275elementStart(5,"table",6)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Abmelden"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(11,"td",3),e.\u0275\u0275elementStart(12,"td",8),e.\u0275\u0275element(13,"div",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td")(15,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.UrlaubMenueButtonClicked(ze.Menuservice.UrlaubMenuebereiche.Planung))}),e.\u0275\u0275elementStart(16,"table",6)(17,"tr")(18,"td"),e.\u0275\u0275element(19,"ion-icon",12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",13),e.\u0275\u0275text(21,"Planung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(22,"td",14),e.\u0275\u0275elementStart(23,"td")(24,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.UrlaubMenueButtonClicked(ze.Menuservice.UrlaubMenuebereiche.Uebersicht))}),e.\u0275\u0275elementStart(25,"table",6)(26,"tr")(27,"td"),e.\u0275\u0275element(28,"ion-icon",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"\xdcbersicht"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(31,L,10,3,"ng-container",0)(32,V,11,4,"ng-container",0),e.\u0275\u0275element(33,"td",14),e.\u0275\u0275elementStart(34,"td")(35,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.UrlaubMenueButtonClicked(ze.Menuservice.UrlaubMenuebereiche.Einstellungen))}),e.\u0275\u0275elementStart(36,"table",6)(37,"tr")(38,"td"),e.\u0275\u0275element(39,"ion-icon",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"td"),e.\u0275\u0275text(41,"Einstellungen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(42,F,2,0,"td",0),e.\u0275\u0275element(43,"td",17),e.\u0275\u0275template(44,ee,3,1,"td",18),e.\u0275\u0275element(45,"td",19),e.\u0275\u0275elementEnd()()()}if(2&Ie){const ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("cursor",ie.LogoutMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",ie.LogoutMouseOver?ie.Basics.Ionicfarben.Schwarz:ie.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.LogoutMouseOver?"#000000":"white"),e.\u0275\u0275advance(10),e.\u0275\u0275property("color",ie.GetUrlaubMenueIconcolor(ie.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.GetUrlaubMenueFontcolor(ie.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",ie.GetUrlaubMenueIconcolor(ie.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.GetUrlaubMenueFontcolor(ie.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!0===ie.Pool.Mitarbeiterdaten.Urlaubsfreigaben||ie.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===ie.DBUrlaub.CurrentMitarbeiter.Homeofficefreigaben||!0===ie.DBUrlaub.CurrentMitarbeiter.Urlaubsfreigaben||ie.DBUrlaub.Vertretungsanfragenanzahl>0),e.\u0275\u0275advance(7),e.\u0275\u0275property("color",ie.GetUrlaubMenueIconcolor(ie.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.GetUrlaubMenueFontcolor(ie.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===ie.DBUrlaub.CorrectSetup),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==ie.Pool.Mitarbeiterdaten&&!0===ie.Pool.Mitarbeiterdaten.Planeradministrator)}}function ce(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",5),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.BackMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.BackMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.BackButtonClicked())}),e.\u0275\u0275elementStart(2,"table",6)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Zur\xfcck"),e.\u0275\u0275elementEnd()()()()()}if(2&Ie){const ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("cursor",ie.BackMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",ie.BackMouseOver?ie.Basics.Ionicfarben.BAEBlau:ie.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ie.BackMouseOver?"#000000":"white")}}function Q(Ie,be){1&Ie&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275element(3,"ion-searchbar",27,28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function ne(Ie,be){if(1&Ie){const ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td")(3,"div",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ie);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.StandortButtonClicked())}),e.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",31),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ie){const ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(ie.DBStandort.GetStandortfiller())}}function Y(Ie,be){if(1&Ie&&(e.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",33),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"td",3),e.\u0275\u0275elementEnd()()),2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",ie.GraphService.UserimageSRC,e.\u0275\u0275sanitizeUrl)}}function H(Ie,be){if(1&Ie&&(e.\u0275\u0275elementStart(0,"div",34),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",null!==ie.Pool.Mitarbeiterdaten?ie.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function ae(Ie,be){if(1&Ie&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Y,5,1,"table",0)(2,H,2,1,"div",32),e.\u0275\u0275elementContainerEnd()),2&Ie){const ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ie.GraphService.UserimageSRC),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null===ie.GraphService.UserimageSRC)}}function J(Ie,be){if(1&Ie&&e.\u0275\u0275element(0,"td",41),2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",ie.Timelinebreite,"px")}}function K(Ie,be){if(1&Ie&&e.\u0275\u0275element(0,"td",41),2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",ie.Timelinebreite,"px")}}function W(Ie,be){if(1&Ie&&e.\u0275\u0275element(0,"td",41),2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",ie.Timelinebreite,"px")}}function re(Ie,be){if(1&Ie&&e.\u0275\u0275element(0,"td",41),2&Ie){const ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",ie.Timelinebreite,"px")}}function G(Ie,be){if(1&Ie&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",35),e.\u0275\u0275element(3,"div",36),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"tr")(5,"td",37)(6,"table")(7,"tr")(8,"td")(9,"div",38),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,J,1,2,"td",39),e.\u0275\u0275element(12,"td",40),e.\u0275\u0275elementStart(13,"td")(14,"div",38),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,K,1,2,"td",39),e.\u0275\u0275element(17,"td",40),e.\u0275\u0275elementStart(18,"td")(19,"div",38),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,W,1,2,"td",39),e.\u0275\u0275element(22,"td",40),e.\u0275\u0275elementStart(23,"td")(24,"div",38),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,re,1,2,"td",39),e.\u0275\u0275element(27,"td",40),e.\u0275\u0275elementStart(28,"td")(29,"div",38),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()),2&Ie){const ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("width",ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate3("Montag ",ie.Timelineindex," ",ie.GetDatumtext("Montag")," ",ie.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Dienstag ",ie.GetDatumtext("Dienstag")," ",ie.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",1===ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Mittwoch ",ie.GetDatumtext("Mittwoch")," ",ie.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",2===ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Donnerstag ",ie.GetDatumtext("Donnerstag")," ",ie.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",3===ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Freitag ",ie.GetDatumtext("Freitag")," ",ie.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function ue(Ie,be){if(1&Ie&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),e.\u0275\u0275element(6,"td",3),e.\u0275\u0275template(7,P,9,3,"ng-container",0)(8,X,46,18,"td",0)(9,ce,8,5,"td",0)(10,Q,5,0,"ng-container",0)(11,ne,10,1,"ng-container",0),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"td",4),e.\u0275\u0275template(13,ae,3,2,"ng-container",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(14,G,31,35,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Ie){const ie=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",null!==ie.Pool.Mitarbeiterdaten&&ie.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ie.Menuservice.MainMenuebereich===ie.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ie.Menuservice.MainMenuebereich===ie.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ie.ShowSuchleiste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ie.ShowSandortfilter),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===ie.AuthService.ShowLogin),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ie.Menuservice.MainMenuebereich===ie.Menuservice.MainMenuebereiche.Projekte&&ie.Menuservice.ProjekteMenuebereich===ie.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&ie.Menuservice.Aufgabenlisteansicht===ie.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}f.PageHeaderMenuComponent=(()=>{class Ie{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new d.EventEmitter;StandortfilterClicked=new d.EventEmitter;ZeitspanneFilterClicked=new d.EventEmitter;LeistungsphaseFilterClicked=new d.EventEmitter;FilterChanged=new d.EventEmitter;ShowProjektauswahlEvent=new d.EventEmitter;ShowProjektfilesEvent=new d.EventEmitter;LOPListeZeitspanneEvent=new d.EventEmitter;ShowOpenFestlegungOnlyEvent=new d.EventEmitter;SendFestlegungenClicked=new d.EventEmitter;ShowUngelesenOnlyChanged=new d.EventEmitter;ProjektsortierungChanged=new d.EventEmitter;EmailDatumChanged=new d.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new d.EventEmitter;ShowLOPListeInfoeintraegeChanged=new d.EventEmitter;ExpandFestlegungeEvent=new d.EventEmitter;UrlaubMitarbeiterClicked=new d.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;constructor(ie,De,ze,qe,nt,ft,rt,mt,Wt,bt,Bt,an){this.Debug=ie,this.Basics=De,this.Const=ze,this.DBMitarbeiter=qe,this.DBMitarbeitersettings=nt,this.Auswahlservice=ft,this.DBStandort=rt,this.DBUrlaub=mt,this.GraphService=Wt,this.AuthService=bt,this.Pool=Bt,this.Menuservice=an;try{this.ShowSuchleiste=!1,this.SuchleisteClearSubscription=null,this.Suchleiste2ClearSubscription=null,this.SuchleisteInputSubscription=null,this.Suchleiste2InputSubscription=null,this.FavoritenSubscription=null,this.Inputtimer=null,this.ShowSandortfilter=!1,this.Projektauswahlbreite=200,this.Filterorigin=this.Const.NONE,this.Wochentaghoehe=30,this.Tagbreite=0,this.Timelinebreite=40,this.HomeMouseOver=!1,this.EmailMouseOver=!1,this.ShowStandorttitle=!1,this.ShowMitarbeitertitle=!1,this.ShowProjektetitle=!1,this.ShowFavoritentitle=!1,this.FilesMouseOver=!1,this.ShowOpenFestlegungOnly=!1,this.SendFestlegungenEnabled=!1,this.BackMouseOver=!1,this.LogoutMouseOver=!1,this.Timelineindex=0}catch(hn){this.Debug.ShowErrorMessage(hn.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(ie){this.Debug.ShowErrorMessage(ie,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ngAfterViewInit(){var ie=this;return n(function*(){try{ie.Tagbreite=(ie.Basics.Contentbreite-4-ie.Timelinebreite)/5}catch(De){ie.Debug.ShowErrorMessage(De.message,"Page Header Menu","ngAfterViewInit",ie.Debug.Typen.Component)}})()}MainMenueButtonClicked(ie){try{this.Menuservice.MainMenuebereich=ie,this.Menuservice.SetCurrentPage()}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(ie){try{this.Menuservice.FirmaMenuebereich=ie,this.Menuservice.SetCurrentPage()}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(ie){try{this.Menuservice.ProjekteMenuebereich=ie,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(ie){try{this.Menuservice.UrlaubMenuebereich=ie,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(ie){try{return ie===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(ie){try{return ie===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(ie){try{return ie===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(ie){try{return ie===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(ie){try{this.ZeitspanneFilterClicked.emit(ie)}catch(De){this.Debug.ShowErrorMessage(De.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(ie){}GetZeitfilterButtontext(){try{if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return"Seit dem Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return"Bis zum Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return"Zeitspanne";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:return"Monat";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Woche";default:return"Zeitfilter"}}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let ie,De,ze="";if(null!==this.Pool.Mitarbeitersettings){if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(ie=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),ie.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(De=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),De.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(ie=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),ze+=ie.format("DD.MM.YYYY")):ze+="Unbekannt",ze+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(De=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),ze+=De.format("DD.MM.YYYY")):ze+="Unbekannt",ze;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Page Header Menu","GetZeitfilterButtonwert",this.Debug.Typen.Component)}}MeintagClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Mein_Tag}catch(ie){this.Debug.ShowErrorMessage(ie,"Page Header Menu","MeintagClicked",this.Debug.Typen.Component)}}MeineWocheClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meine_Woche}catch(ie){this.Debug.ShowErrorMessage(ie,"Page Header Menu","MeineWocheClicked",this.Debug.Typen.Component)}}MeilensteineClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meilensteine}catch(ie){this.Debug.ShowErrorMessage(ie,"Page Header Menu","MeilensteineClicked",this.Debug.Typen.Component)}}ProjektClicked(){try{this.Menuservice.Aufgabenlisteansicht!==this.Menuservice.Aufgabenlisteansichten.Projekt?this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt:this.ShowProjektauswahlEvent.emit()}catch(ie){this.Debug.ShowErrorMessage(ie,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(ie){this.Debug.ShowErrorMessage(ie,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(ie){try{this.ShowOpenFestlegungOnly=ie.status,this.ShowOpenFestlegungOnlyEvent.emit(ie.status)}catch(De){this.Debug.ShowErrorMessage(De,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetDatumtext(ie){try{let ze=(0,u.default)().locale("de").clone().startOf("isoWeek");switch(ie){case"Montag":return ze.format("DD.MM.");case"Dienstag":return ze.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return ze.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return ze.clone().add(3,"day").format("DD.MM.");case"Freitag":return ze.clone().add(4,"day").format("DD.MM.")}return""}catch(De){this.Debug.ShowErrorMessage(De,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}environment=a.environment;static \u0275fac=function(De){return new(De||Ie)(e.\u0275\u0275directiveInject(c.DebugProvider),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.ConstProvider),e.\u0275\u0275directiveInject(b.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(m.DatabaseUrlaubService),e.\u0275\u0275directiveInject(h.Graphservice),e.\u0275\u0275directiveInject(C.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.MenueService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Ie,selectors:[["page-header-menu"]],viewQuery:function(De,ze){if(1&De&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(R,5),e.\u0275\u0275viewQuery(N,5)),2&De){let qe;e.\u0275\u0275queryRefresh(qe=e.\u0275\u0275loadQuery())&&(ze.Suchleiste=qe.first),e.\u0275\u0275queryRefresh(qe=e.\u0275\u0275loadQuery())&&(ze.Suchleiste2=qe.first),e.\u0275\u0275queryRefresh(qe=e.\u0275\u0275loadQuery())&&(ze.Sucheiste3=qe)}},inputs:{ShowSandortfilter:"ShowSandortfilter",ShowSuchleiste:"ShowSuchleiste",Filterorigin:"Filterorigin",ShowStandorttitle:"ShowStandorttitle",ShowMitarbeitertitle:"ShowMitarbeitertitle",ShowProjektetitle:"ShowProjektetitle",ShowFavoritentitle:"ShowFavoritentitle",SendFestlegungenEnabled:"SendFestlegungenEnabled",Timelineindex:"Timelineindex"},outputs:{SucheChanged:"SucheChanged",StandortfilterClicked:"StandortfilterClicked",ZeitspanneFilterClicked:"ZeitspanneFilterClicked",LeistungsphaseFilterClicked:"LeistungsphaseFilterClicked",FilterChanged:"FilterChanged",ShowProjektauswahlEvent:"ShowProjektauswahlEvent",ShowProjektfilesEvent:"ShowProjektfilesEvent",LOPListeZeitspanneEvent:"LOPListeZeitspanneEvent",ShowOpenFestlegungOnlyEvent:"ShowOpenFestlegungOnlyEvent",SendFestlegungenClicked:"SendFestlegungenClicked",ShowUngelesenOnlyChanged:"ShowUngelesenOnlyChanged",ProjektsortierungChanged:"ProjektsortierungChanged",EmailDatumChanged:"EmailDatumChanged",PlanungsmatrixLeistungsphaseClicked:"PlanungsmatrixLeistungsphaseClicked",ShowLOPListeInfoeintraegeChanged:"ShowLOPListeInfoeintraegeChanged",ExpandFestlegungeEvent:"ExpandFestlegungeEvent",UrlaubMitarbeiterClicked:"UrlaubMitarbeiterClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",3,"color"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","create-outline",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",3,"color"],["name","settings-outline",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["name","apps-outline",3,"color"],["name","thumbs-up-outline",3,"color"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["name","arrow-back-circle-outline",3,"color"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss"],[2,"color","white"],["class","userkuerzelsmall",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["colspan","2",2,"padding-left","8px","padding-right","8px"],[2,"width","100%","height","1px","background","white"],["colspan","2"],[1,"wocheheaderdivclass"],["style","background: #354547;",3,"width",4,"ngIf"],[2,"width","1px","background","white"],[2,"background","#354547"]],template:function(De,ze){1&De&&e.\u0275\u0275template(0,ue,15,7,"ng-container",0),2&De&&e.\u0275\u0275property("ngIf",null!==ze.AuthService.ActiveUser)},dependencies:[E.NgIf,A.IonBadge,A.IonButton,A.IonIcon,A.IonSearchbar,A.TextValueAccessor],styles:[".menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#454545;border-radius:4px}.planungheaderdiv[_ngcontent-%COMP%]{border-radius:6px;width:40px;height:40px;background:#454545;color:#fff;font-size:90%;display:flex;justify-content:center;align-items:center}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.trennerbigdivclass[_ngcontent-%COMP%]{width:1px;min-height:64px;height:100%;background:silver}ion-searchbar[_ngcontent-%COMP%]{width:300px;height:50px;--border-radius: none;--box-shadow: none;--background: black}.iconboxclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:6px;width:40px;height:40px;background:#444}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:140px;min-height:34px;height:100%;padding:2px;border:1px solid white;border-radius:6px;cursor:pointer}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:50px;min-height:34px;height:100%;border:1px solid white;border-radius:6px;cursor:pointer}.statusvaianteclass[_ngcontent-%COMP%]{padding:6px;border-radius:3px;width:auto;white-space:nowrap;color:#fff;font-size:80%}.wocheheaderdivclass[_ngcontent-%COMP%]{background:#354547;color:#fff;display:flex;justify-content:center;align-items:center}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:#454545;color:#fff;font-weight:700}"]})}return Ie})()},6168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderMenuModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(72284),a=o(7388),e=o(22844),c=n.__importStar(o(54496));f.PageHeaderMenuModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=c.\u0275\u0275defineNgModule({type:g});static \u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.ButtonValueModule,a.CheckboxClonModule,e.ButtonValueDateModule]})}return g})()},70216:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.PageHeaderModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90212:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(34388)),a=n.__importStar(o(14652)),e=n.__importStar(o(7992)),c=n.__importStar(o(29743)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=["PageHeaderDiv"];function p(m,h){if(1&m&&(d.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),d.\u0275\u0275text(12),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td"),d.\u0275\u0275element(15,"ion-progress-bar",9),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(16,"tr")(17,"td"),d.\u0275\u0275element(18,"div",10),d.\u0275\u0275elementEnd()()()()),2&m){const C=d.\u0275\u0275nextContext();d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate1(" ",C.ProgressMessage," "),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",C.Pool.ProgressMessage," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("value",C.Pool.CurrentProgressValue/C.Pool.MaxProgressValue)}}const S=["*"];f.PageHeaderComponent=(()=>{class m{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(C,v,M,E){this.Debug=C,this.Basics=v,this.Pool=M,this.Const=E;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(A){this.Debug.ShowErrorMessage(A.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(v){return new(v||m)(d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(e.DatabasePoolService),d.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:m,selectors:[["page-header"]],viewQuery:function(v,M){if(1&v&&d.\u0275\u0275viewQuery(b,7,i.ElementRef),2&v){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(M.PageHeaderDiv=E.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:S,decls:4,vars:1,consts:[[1,"keeperdivclass"],["PageHeaderDiv",""],["class","loadingdivclass",4,"ngIf"],[1,"loadingdivclass"],["width","100%"],[1,"headerdivclass"],[1,"contentdivclass"],["width","100%",1,"paddingtable"],[2,"text-align","center","color","black"],[3,"value"],[2,"background","#354547","width","100%","height","20px"]],template:function(v,M){1&v&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275template(3,p,19,3,"div",2),d.\u0275\u0275elementEnd()),2&v&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",M.Pool.ShowProgress))},dependencies:[l.NgIf,g.IonProgressBar],styles:["ion-progress-bar[_ngcontent-%COMP%]{--background: #444444;--progress-background: #307ac1}.keeperdivclass[_ngcontent-%COMP%]{width:100%;background:#307ac1;min-height:52px}.loadingdivclass[_ngcontent-%COMP%]{position:absolute;width:400px;height:300px;z-index:10000;top:200px;left:50%;transform:translate(-50%)}.headerdivclass[_ngcontent-%COMP%]{background:#307ac1;width:100%;height:30px;padding:4px;color:#fff;display:flex;justify-content:flex-start;align-items:center}.contentdivclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;background:#fff;width:100%;height:120px;padding:6px;display:flex;justify-content:center;align-items:center}"]})}return m})()},54588:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageModalKeepermodule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(70216),a=n.__importStar(o(54496));f.PageModalKeepermodule=(()=>{class c{static \u0275fac=function(b){return new(b||c)};static \u0275mod=a.\u0275\u0275defineNgModule({type:c});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.PageHeaderModule]})}return c})()},6232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UrlausplanungKalenderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(44716),a=o(90520),e=o(89300),c=n.__importStar(o(54496));f.UrlausplanungKalenderModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=c.\u0275\u0275defineNgModule({type:g});static \u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.ReactiveFormsModule,u.FormsModule,a.PageFooterModule,e.PageHeaderCenterModule]})}return g})()},77440:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PjProjektpunktDateKWPickerComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908));o(94091);const u=n.__importStar(o(17964)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(14652)),l=n.__importStar(o(7992)),g=n.__importStar(o(21052)),b=n.__importStar(o(9544)),p=n.__importStar(o(19668)),S=n.__importStar(o(29743)),y=n.__importStar(o(91368)),m=n.__importStar(o(10716));function h(be,ie){1&be&&a.\u0275\u0275element(0,"div",10)}function C(be,ie){1&be&&a.\u0275\u0275element(0,"div",10)}function v(be,ie){1&be&&a.\u0275\u0275element(0,"div",10)}function M(be,ie){1&be&&a.\u0275\u0275element(0,"div",10)}function E(be,ie){1&be&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"div",10),a.\u0275\u0275elementContainerEnd())}function A(be,ie){1&be&&a.\u0275\u0275element(0,"div",14)}function T(be,ie){1&be&&a.\u0275\u0275element(0,"div",14)}function R(be,ie){1&be&&a.\u0275\u0275element(0,"div",14)}function N(be,ie){1&be&&a.\u0275\u0275element(0,"div",14)}function P(be,ie){1&be&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"div",14),a.\u0275\u0275elementContainerEnd())}function L(be,ie){if(1&be&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",5)(2,"div",12),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,A,1,0,"div",13)(5,T,1,0,"div",13)(6,R,1,0,"div",13)(7,N,1,0,"div",13)(8,P,2,0,"ng-container",7),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&be){const De=a.\u0275\u0275nextContext().$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(De.Tagnummer),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFerientage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFerientage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFeiertage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFeiertage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",ze.KalendertageExternliste)}}function x(be,ie){1&be&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",17),a.\u0275\u0275text(2,"H"),a.\u0275\u0275elementEnd()())}function V(be,ie){1&be&&a.\u0275\u0275element(0,"ion-icon",22)}function F(be,ie){if(1&be){const De=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",20),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(3).$implicit,nt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(nt.FerientagMouseOverEvent(qe,"DE"))})("mouseleave",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,V,1,0,"ion-icon",21),a.\u0275\u0275elementEnd()}if(2&be){const De=a.\u0275\u0275nextContext(3).$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",De.IsFerientag_DE?ze.DB.Ferienfarbe_DE:De.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",De.IsFerientag_DE)}}function ee(be,ie){1&be&&a.\u0275\u0275element(0,"ion-icon",24)}function X(be,ie){if(1&be){const De=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",20),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(3).$implicit,nt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(nt.FerientagMouseOverEvent(qe,"BG"))})("mouseleave",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,ee,1,0,"ion-icon",23),a.\u0275\u0275elementEnd()}if(2&be){const De=a.\u0275\u0275nextContext(3).$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",De.IsFerientag_BG?ze.DB.Ferienfarbe_BG:De.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",De.IsFerientag_BG)}}function ce(be,ie){1&be&&a.\u0275\u0275element(0,"ion-icon",27)}function Q(be,ie){if(1&be){const De=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",25),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(3).$implicit,nt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(nt.FeietragMouseOverEvent(qe,"DE"))})("mouseleave",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,ce,1,0,"ion-icon",26),a.\u0275\u0275elementEnd()}if(2&be){const De=a.\u0275\u0275nextContext(3).$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",De.IsFeiertag_DE?ze.DB.Feiertagefarbe_DE:De.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",De.IsFeiertag_DE)}}function ne(be,ie){1&be&&a.\u0275\u0275element(0,"ion-icon",29)}function Y(be,ie){if(1&be){const De=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",25),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(3).$implicit,nt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(nt.FeietragMouseOverEvent(qe,"BG"))})("mouseleave",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,ne,1,0,"ion-icon",28),a.\u0275\u0275elementEnd()}if(2&be){const De=a.\u0275\u0275nextContext(3).$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",De.IsFeiertag_BG?ze.DB.Feiertagefarbe_BG:De.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",De.IsFeiertag_BG)}}function H(be,ie){if(1&be&&(a.\u0275\u0275elementStart(0,"div",32),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&be){const De=a.\u0275\u0275nextContext().$implicit,ze=a.\u0275\u0275nextContext(3).index,qe=a.\u0275\u0275nextContext().index;a.\u0275\u0275styleProp("background",De[qe][ze].Background),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(De[qe][ze].Kuerzel)}}function ae(be,ie){1&be&&a.\u0275\u0275element(0,"div",33)}function J(be,ie){if(1&be&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,H,2,3,"div",30)(2,ae,1,0,"div",31),a.\u0275\u0275elementContainerEnd()),2&be){const De=ie.$implicit,ze=a.\u0275\u0275nextContext(3).index,qe=a.\u0275\u0275nextContext().index;a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",De[qe][ze].IsUrlaub),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!De[qe][ze].IsUrlaub)}}function K(be,ie){if(1&be){const De=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",15),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(De);const qe=a.\u0275\u0275nextContext(2),nt=qe.$implicit,ft=qe.index,rt=a.\u0275\u0275nextContext().index,mt=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(mt.TagClicked(nt,rt,ft))}),a.\u0275\u0275elementStart(2,"div",16)(3,"table")(4,"tr")(5,"td",17),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(7,x,3,0,"tr",11),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(8,F,2,3,"div",18)(9,X,2,3,"div",18)(10,Q,2,3,"div",19)(11,Y,2,3,"div",19)(12,J,3,2,"ng-container",7),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()}if(2&be){const De=a.\u0275\u0275nextContext(2).$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(2),a.\u0275\u0275styleProp("background",ze.GetTagBackground(De))("color",De.Color),a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(De.Tagnummer),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",De.IsHomeoffice&&ze.Pool.Mitarbeitersettings.ShowHomeoffice),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFerientage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFerientage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFeiertage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze.DB.ShowFeiertage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",ze.KalendertageExternliste)}}function W(be,ie){if(1&be&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275text(1),a.\u0275\u0275elementContainerEnd()),2&be){const De=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate1(" ",De.Tagnummer," ")}}function re(be,ie){if(1&be&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,K,13,11,"ng-container",11)(2,W,2,1,"ng-container",11),a.\u0275\u0275elementContainerEnd()),2&be){const De=a.\u0275\u0275nextContext().$implicit,ze=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!0===De.Hauptmonat&&null!==ze.Pool.Mitarbeitersettings),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===De.Hauptmonat)}}function G(be,ie){if(1&be&&(a.\u0275\u0275elementStart(0,"td"),a.\u0275\u0275template(1,L,9,6,"ng-container",11)(2,re,3,2,"ng-container",11),a.\u0275\u0275elementEnd()),2&be){const ze=ie.index;a.\u0275\u0275styleProp("color",!0===ie.$implicit.Hauptmonat?"black":"darkgray"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze>=5),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ze<5)}}function ue(be,ie){if(1&be&&(a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",5)(3,"div",6),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,h,1,0,"div",8)(6,C,1,0,"div",8)(7,v,1,0,"div",8)(8,M,1,0,"div",8)(9,E,2,0,"ng-container",7),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(10,G,3,4,"td",9),a.\u0275\u0275elementEnd()),2&be){const De=ie.$implicit,ze=ie.index,qe=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(De[ze].Kalenderwoche),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFerientage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFerientage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFeiertage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFeiertage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",qe.KalendertageExternliste),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",De)}}function ye(be,ie){if(1&be&&(a.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),a.\u0275\u0275text(9,"KW"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),a.\u0275\u0275text(13,"Mo"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),a.\u0275\u0275text(17,"Di"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),a.\u0275\u0275text(21,"Mi"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),a.\u0275\u0275text(25,"Do"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),a.\u0275\u0275text(29,"Fr"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),a.\u0275\u0275text(33,"Sa"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),a.\u0275\u0275text(37,"So"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275template(38,ue,11,7,"tr",7),a.\u0275\u0275elementEnd()()),2&be){const De=a.\u0275\u0275nextContext();a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate1(" ",De.GetMonatname()," "),a.\u0275\u0275advance(34),a.\u0275\u0275property("ngForOf",De.Kalendertageliste)}}f.PjProjektpunktDateKWPickerComponent=(()=>{class be{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;AddHomeofficerunning;ShowYear;FeiertagCrossedEvent=new i.EventEmitter;FerientagCrossedEvent=new i.EventEmitter;AddUrlaubFinished=new i.EventEmitter;AddHomeofficeEvent=new i.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;HomeofficeStatusSubscription;ExterneHomeofficeSubscription;constructor(De,ze,qe,nt,ft,rt,mt){this.Debug=De,this.Basics=ze,this.Pool=qe,this.Displayservice=nt,this.DB=ft,this.Tools=rt,this.Const=mt;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.AddHomeofficerunning=!1,this.Monatindex=0,this.ShowYear=!1,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription=null}catch(Wt){this.Debug.ShowErrorMessage(Wt.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(De){try{u.isUndefined(De.Monatindex)||this.PrepareData()}catch(ze){this.Debug.ShowErrorMessage(ze,"Urlaubsplanung Kalender","ngOnChanges",this.Debug.Typen.Component)}}PrepareData(){try{let De,ze,qe,nt,ft,mt,Wt,bt,Bt,an,hn,rt=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],rt=rt<10?"0"+rt.toString():rt.toString(),De=(0,d.default)(this.Jahr.toString()+"-"+rt,"YYYY-MM").daysInMonth(),ze=De;let wn=(0,d.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),An=(0,d.default)().set({date:De,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");qe=wn.isoWeekday(),nt=qe-1,ze+=nt,Wt=wn.clone().subtract(nt,"day"),Bt=Wt.clone(),qe=An.isoWeekday(),nt=7-qe,ze+=nt,ft=ze/7,hn=Bt.clone(),this.Kalendertageliste=[];for(let vn=0;vn{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.ExterneHomeofficeSubscription=this.DB.ExterneHomeofficeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()}),this.HomeofficeStatusSubscription=this.DB.HomeofficeStatusChanged.subscribe(()=>{this.PrepareData()})}catch(De){this.Debug.ShowErrorMessage(De.message,"Urlaubsplanung Kalender","ngOnInit",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.ProjektpunktDateKwPicker),this.DataSubscription.unsubscribe(),this.DataSubscription=null,this.MonateSubscription.unsubscribe(),this.MonateSubscription=null,this.ExterneUrlaubSubscription.unsubscribe(),this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription.unsubscribe(),this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription.unsubscribe(),this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription.unsubscribe(),this.ExterneHomeofficeSubscription=null}catch(De){this.Debug.ShowErrorMessage(De.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(De,ze){try{let qe="",nt=(0,d.default)(De.Tagstempel).locale("DE"===ze?"de":"en");(De.IsFeiertag_DE||De.IsFeiertag_BG)&&("DE"===ze&&De.IsFeiertag_DE?(qe=De.Feiertagname_DE+" / "+nt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:qe,Laendercode:ze})):"BG"===ze&&De.IsFeiertag_BG&&(qe=De.Feiertagname_BG+" / "+nt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:qe,Laendercode:ze})))}catch(qe){this.Debug.ShowErrorMessage(qe,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(De,ze){try{this.FerientagCrossedEvent.emit({Name:"DE"===ze?De.Ferienname_DE:De.Ferienname_BG,Laendercode:ze})}catch(qe){this.Debug.ShowErrorMessage(qe,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(De,ze,qe){try{let nt,ft,rt,bt,mt=0,Wt="DE"===this.DB.Laendercode?De.IsFeiertag_DE:De.IsFeiertag_BG,Bt=De.IsUrlaub,an=De.IsHomeoffice;if(this.AddUrlaubRunning)if(!1===Wt&&!1===an&&!1===Bt)if(null===this.DB.CurrentUrlaubzeitspanne)this.DB.CurrentUrlaubzeitspanne=this.DB.GetEmptyUrlaubszeitspanne(),this.DB.CurrentUrlaubzeitspanne.Startstempel=De.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Startstring=De.Datumstring,De.Background=this.DB.Urlaubsfaben.Geplant,De.IsUrlaub=!0,De.Color="white";else if(ft=(0,d.default)(this.DB.CurrentUrlaubzeitspanne.Startstempel),nt=(0,d.default)(De.Tagstempel),!0===nt.isSameOrAfter(ft,"day")&&nt.isSame(ft,"week")){this.DB.CurrentUrlaubzeitspanne.Endestempel=De.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Endestring=De.Datumstring;for(let hn=qe;hn>=0;hn--)rt=this.Kalendertageliste[ze][hn],Wt="DE"===this.DB.Laendercode?rt.IsFeiertag_DE:rt.IsFeiertag_BG,!1===Wt&&(rt.Background=this.DB.Urlaubsfaben.Geplant,rt.IsUrlaub=!0,rt.Color="white",mt++);this.DB.CurrentUrlaubzeitspanne.Tageanzahl=mt,bt=this.DB.CountResturlaub(),bt-mt>=0?this.AddUrlaubFinished.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+bt+" Tage Resturlaub."),this.DB.CurrentUrlaubzeitspanne=null,window.setTimeout(()=>{for(let hn=qe;hn>=0;hn--)rt=this.Kalendertageliste[ze][hn],Wt="DE"===this.DB.Laendercode?rt.IsFeiertag_DE:rt.IsFeiertag_BG,!1===Wt&&(rt.Background="none",rt.IsUrlaub=!1,rt.Color="black");this.AddUrlaubFinished.emit(!1)},3e3))}else this.Tools.ShowHinweisDialog("Bitte Tag in der gleichen Woche w\xe4hlen.");else this.Tools.ShowHinweisDialog(Wt?"Dieser Tag ist ein Feiertag.":an?"Dieser Tag ist ein Homeofficetag.":"Dieser Tag ist bereits ein Urlaubstag.");this.AddHomeofficerunning&&(!1===Wt&&!1===Bt&&!1===an?(this.DB.CurrentHomeofficezeitspanne=this.DB.GetEmptyHomeofficezeitspanne(),this.DB.CurrentHomeofficezeitspanne.Startstempel=De.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Endestempel=De.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Startstring=De.Datumstring,this.DB.CurrentHomeofficezeitspanne.Endestring=De.Datumstring,this.DB.CurrentHomeofficezeitspanne.Tageanzahl=1,rt=this.Kalendertageliste[ze][qe],rt.Background=this.DB.Homeofficefarben.Geplant,rt.IsHomeoffice=!0,rt.Color="white"):this.Tools.ShowHinweisDialog(Wt?"Dieser Tag ist ein Feiertag.":Bt?"Dieser Tag ist ein Urlaubstag.":"Dieser Tag ist bereits ein Homeofficetag."),this.AddHomeofficeEvent.emit(!0))}catch(nt){this.Debug.ShowErrorMessage(nt,"Urlaubsplanung Kalender","TagClicked",this.Debug.Typen.Component)}}GetMonatname(){try{let De=this.Monatname;return this.ShowYear&&(De+=" "+this.Jahr),De}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Kalender","GetMonatname",this.Debug.Typen.Component)}}GetTagBackground(De){try{return!0===De.IsUrlaub||!0===De.IsHomeoffice?De.Background:"none"}catch(ze){this.Debug.ShowErrorMessage(ze,"Urlaubsplanung Kalender","GetTagBackground",this.Debug.Typen.Component)}}static \u0275fac=function(ze){return new(ze||be)(a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(c.BasicsProvider),a.\u0275\u0275directiveInject(l.DatabasePoolService),a.\u0275\u0275directiveInject(g.DisplayService),a.\u0275\u0275directiveInject(b.DatabaseUrlaubService),a.\u0275\u0275directiveInject(p.ToolsProvider),a.\u0275\u0275directiveInject(S.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:be,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",AddHomeofficerunning:"AddHomeofficerunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinished:"AddUrlaubFinished",AddHomeofficeEvent:"AddHomeofficeEvent"},features:[a.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[["class","frameclass",4,"ngIf"],[1,"frameclass"],["width","100%",1,"paddingsmalltable"],["colspan","8",2,"font-size","120%","font-weight","bold","color","black","text-align","center"],[2,"width","12%"],[1,"tagrahmenclass"],[1,"taginfodivclass"],[4,"ngFor","ngForOf"],["class","taginfospacedivclass",4,"ngIf"],[3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],[2,"text-align","center"],["class","feriendivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],["class","feiertagdivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],[1,"feriendivclass",3,"mouseenter","mouseleave"],["name","school-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","gelb",2,"font-size","18px"],[1,"feiertagdivclass",3,"mouseenter","mouseleave"],["name","flag-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","flag-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","gelb",2,"font-size","18px"],["class","tagexterndivclass",3,"background",4,"ngIf"],["class","tagexternemptydivclass",4,"ngIf"],[1,"tagexterndivclass"],[1,"tagexternemptydivclass"]],template:function(ze,qe){1&ze&&a.\u0275\u0275template(0,ye,39,2,"div",0),2&ze&&a.\u0275\u0275property("ngIf",null!==qe.Pool.Mitarbeitersettings)},dependencies:[y.NgForOf,y.NgIf,m.IonIcon],styles:[".frameclass[_ngcontent-%COMP%]{border:1px solid #307ac1;background:#fff;color:#fff;padding:4px;width:100%;height:100%}.tagrahmenclass[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid #444444}.feiertagdivclass[_ngcontent-%COMP%], .feriendivclass[_ngcontent-%COMP%]{width:100%;height:20px;cursor:pointer;display:flex;justify-content:center;align-items:center}.taginfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:inherit;height:26px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:30px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:30px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.tagexternemptydivclass[_ngcontent-%COMP%]{border-top:1px solid;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.buttoninfoclass[_ngcontent-%COMP%]{width:100%;height:10px;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%}.kwdivclass[_ngcontent-%COMP%]{border-radius:50px;height:38px;background:none;color:#000;display:flex;justify-content:center;align-items:center;cursor:pointer}"]})}return be})()},37724:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonDebugPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(56568),a=o(10716),e=o(66788),c=o(70216),l=o(6512),g=o(90520),b=o(6168),p=o(15756),S=o(7388),y=n.__importStar(o(54496)),h=(n.__importStar(o(56568)),[{path:"",component:e.CommonDebugPage}]);f.CommonDebugPageModule=(()=>{class v{static \u0275fac=function(A){return new(A||v)};static \u0275mod=y.\u0275\u0275defineNgModule({type:v});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,a.IonicModule,u.RouterModule.forChild(h),c.PageHeaderModule,l.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,b.PageHeaderMenuModule,p.PrettyjsonModule,S.CheckboxClonModule]})}return v})()},66788:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonDebugPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),u=n.__importStar(o(34388)),a=n.__importStar(o(19668)),e=n.__importStar(o(29743)),c=n.__importStar(o(44716)),l=n.__importStar(o(97048)),g=n.__importStar(o(7992)),b=n.__importStar(o(97092)),p=n.__importStar(o(91368)),S=n.__importStar(o(10716)),y=n.__importStar(o(90212)),m=n.__importStar(o(73088)),h=n.__importStar(o(29856)),C=n.__importStar(o(63792)),v=n.__importStar(o(25856));function M(A,T){if(1&A&&(i.\u0275\u0275elementStart(0,"tr")(1,"td"),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td"),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()()),2&A){const R=T.$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(R.Message),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",R.Color),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(R.Message),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(R.Function)}}f.CommonDebugPage=(()=>{class A{Basics;Debug;Tools;Const;fb;http;Pool;AuthService;Title;constructor(R,N,P,L,x,V,F,ee){this.Basics=R,this.Debug=N,this.Tools=P,this.Const=L,this.fb=x,this.http=V,this.Pool=F,this.AuthService=ee}ngOnInit(){}ionViewDidEnter(){try{this.Title="Debug"}catch(R){this.Debug.ShowErrorMessage(R.message,"Debug","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnDestroy(){}ClearMessagesButtonCLcicked(){try{this.Debug.Debugmessageliste=[]}catch(R){this.Debug.ShowErrorMessage(R.message,"Debug","ClearMessagesButtonCLcicked",this.Debug.Typen.Page)}}ChangeShowHomeScreenInfos(R){try{this.Basics.ShowHomeScreenInfos=R.status}catch(N){this.Debug.ShowErrorMessage(N,"Debug","ChangeShowHomeScreenInfos",this.Debug.Typen.Page)}}DebugNoExternalEmailChanged(R){try{this.Basics.DebugNoExternalEmail=R.status}catch(N){this.Debug.ShowErrorMessage(N,"Debug","DebugNoExternalEmailChanged",this.Debug.Typen.Page)}}TestButtonChlicked(){}static \u0275fac=function(N){return new(N||A)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider),i.\u0275\u0275directiveInject(a.ToolsProvider),i.\u0275\u0275directiveInject(e.ConstProvider),i.\u0275\u0275directiveInject(c.FormBuilder),i.\u0275\u0275directiveInject(l.HttpClient),i.\u0275\u0275directiveInject(g.DatabasePoolService),i.\u0275\u0275directiveInject(b.DatabaseAuthenticationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:A,selectors:[["common-debug-page"]],decls:47,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[3,"click"],[1,"docinnertable"],[2,"font-weight","bold"],[4,"ngFor","ngForOf"],["PageFooter",""]],template:function(N,P){1&N&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu",2),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"ion-grid")(6,"ion-row")(7,"ion-col")(8,"table",3)(9,"tr")(10,"td")(11,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(x){return P.ChangeShowHomeScreenInfos(x)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13," Zeige Homescreen Zusatzinformationen "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"table",3)(17,"tr")(18,"td")(19,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(x){return P.DebugNoExternalEmailChanged(x)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21," Keine Emails nach au\xdfen senden -> nur an p.hornburger@gmail.com "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(22,"ion-row")(23,"ion-col")(24,"table")(25,"tr")(26,"td")(27,"ion-button",5),i.\u0275\u0275listener("click",function(){return P.TestButtonChlicked()}),i.\u0275\u0275text(28,"Test"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"td")(30,"ion-button",5),i.\u0275\u0275listener("click",function(){return P.ClearMessagesButtonCLcicked()}),i.\u0275\u0275text(31,"Clear Messages"),i.\u0275\u0275elementEnd()()()()()()(),i.\u0275\u0275elementStart(32,"table",6)(33,"tr")(34,"td",7),i.\u0275\u0275text(35,"Skpript"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td",7),i.\u0275\u0275text(37,"Message"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(38,"td",7),i.\u0275\u0275text(39,"Funktion"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(40,M,7,5,"tr",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(41,"br")(42,"br")(43,"abstand-element-fixed"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"ion-footer"),i.\u0275\u0275element(45,"page-footer",null,9),i.\u0275\u0275elementEnd()),2&N&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("ShowSuchleiste",!1),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",P.Basics.ShowHomeScreenInfos),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",P.Basics.DebugNoExternalEmail),i.\u0275\u0275advance(21),i.\u0275\u0275property("ngForOf",P.Debug.Debugmessageliste))},dependencies:[p.NgForOf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonRow,y.PageHeaderComponent,m.AbstandElementFixedComponent,h.PageFooterComponent,C.PageHeaderMenuComponent,v.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return A})()},66068:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(42764),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=o(7388),p=o(72284),S=o(10272),y=o(2300),m=o(84104),h=n.__importStar(o(54496)),v=(n.__importStar(o(56568)),[{path:"",component:a.CommonEinstellungenPage}]);f.CommonEinstellungenPageModule=(()=>{class E{static \u0275fac=function(R){return new(R||E)};static \u0275mod=h.\u0275\u0275defineNgModule({type:E});static \u0275inj=h.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(v),l.PageHeaderMenuModule,g.PageFooterModule,b.CheckboxClonModule,p.ButtonValueModule,S.AuswahlDialogModule,y.EditorComponent,m.SafePipeModule]})}return E})()},42764:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonEinstellungenPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(15024)),u=n.__importStar(o(7992)),a=n.__importStar(o(29743)),e=n.__importStar(o(14652)),c=n.__importStar(o(34388)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=n.__importStar(o(90212)),p=n.__importStar(o(63792)),S=n.__importStar(o(29856)),y=n.__importStar(o(25856)),m=n.__importStar(o(13228)),h=n.__importStar(o(56584)),C=n.__importStar(o(66144));function v(R,N){if(1&R&&(i.\u0275\u0275elementStart(0,"td")(1,"span"),i.\u0275\u0275text(2,"Testgr\xf6\xdfentest"),i.\u0275\u0275elementEnd()()),2&R){const P=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("font-size",P.Pool.Mitarbeitersettings.Textsize,"px")}}function M(R,N){if(1&R){const P=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",11)(3,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(P);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.FavoritenanzahlClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(4,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"tr")(6,"td",11)(7,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(P);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.MeilensteineNachlaufClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(8,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"tr")(10,"td",11)(11,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(P);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.ZoomfaktorClicked())}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"tr")(13,"td",11)(14,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(P);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.TextsizeClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(15,"td",14),i.\u0275\u0275template(16,v,3,2,"td",5),i.\u0275\u0275elementEnd()()}if(2&R){const P=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Anzahl der Favoriten pro Zeile")("Wert_A",P.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten.toString())("Buttoncolor",P.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Meilensteine anzeigen nach Erledigung")("Wert_A",P.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf.toString()+" Kalenderwochen")("Buttoncolor",P.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Zoomfaktor")("Wert_A",P.Pool.Mitarbeitersettings.Zoomfaktor.toString())("Buttoncolor",P.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Textgr\xf6\xdfe")("Wert_A",P.Pool.Mitarbeitersettings.Textsize.toString()+" Pixel")("Buttoncolor",P.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==P.Pool.Mitarbeitersettings)}}function E(R,N){if(1&R){const P=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"table",10)(4,"tr")(5,"td")(6,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Nummer"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275text(8,"Nummer"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Startdatum"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13,"Startdatum"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"tr")(15,"td")(16,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Aufgabe"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(17,"td"),i.\u0275\u0275text(18,"Aufgabe"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(19,"tr")(20,"td")(21,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Bemerkungen"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(22,"td"),i.\u0275\u0275text(23,"Bemerkungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(24,"tr")(25,"td")(26,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Fortschritt"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(27,"td"),i.\u0275\u0275text(28,"Fortschritt"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"tr")(30,"td")(31,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Zeitansatz"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(32,"td"),i.\u0275\u0275text(33,"Zeitansatz"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(34,"tr")(35,"td")(36,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Termin"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(37,"td"),i.\u0275\u0275text(38,"Termin"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(39,"tr")(40,"td")(41,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Tage"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(42,"td"),i.\u0275\u0275text(43,"Tage"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(44,"tr")(45,"td")(46,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Zustaendig"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(47,"td"),i.\u0275\u0275text(48,"Zust\xe4ndig"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(49,"tr")(50,"td")(51,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Status"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(52,"td"),i.\u0275\u0275text(53,"Status"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(54,"tr")(55,"td")(56,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Meintag"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(57,"td"),i.\u0275\u0275text(58,"Meintag"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(59,"tr")(60,"td")(61,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.ListesettingCheckChanged(x,"Meine Woche"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(62,"td"),i.\u0275\u0275text(63,"Meine Woche"),i.\u0275\u0275elementEnd()()()()()()}if(2&R){const P=i.\u0275\u0275nextContext();i.\u0275\u0275advance(6),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowNummer),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowStartdatum),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowAufgabe),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowBemerkung),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowFortschritt),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowZeitansatz),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowTermin),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowTage),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowZustaendig),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowStatus),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowMeintag),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",P.Pool.Mitarbeitersettings.AufgabenShowMeinewoche)}}function A(R,N){if(1&R){const P=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"auswahl-dialog",16),i.\u0275\u0275listener("OkClickedEvent",function(x){i.\u0275\u0275restoreView(P);const V=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(V.AuswahlOkButtonClicked(x))})("CancelClickedEvent",function(){i.\u0275\u0275restoreView(P);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.ShowAuswahl=!1)}),i.\u0275\u0275elementEnd()}if(2&R){const P=i.\u0275\u0275nextContext();i.\u0275\u0275property("Auswahlliste",P.Auswahlliste)("Auswahlindex",P.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",P.Auswahltitel)("Iconname","apps-outline")}}f.CommonEinstellungenPage=(()=>{class R{MitarbeitersettingsDB;Pool;Const;Basics;Debug;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;Editorconfig;Signatur;Mitarbeitersubscription;constructor(P,L,x,V,F){this.MitarbeitersettingsDB=P,this.Pool=L,this.Const=x,this.Basics=V,this.Debug=F;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowAuswahl=!1,this.Signatur=this.Const.NONE,this.Auswahldialogorigin=this.Const.NONE,this.Mitarbeitersubscription=null,this.Editorconfig={menubar:!1,statusbar:!1,language:"de",browser_spellcheck:!0,height:800,auto_focus:!0,content_style:"body { color: black; margin: 0; line-height: 0.9; }, ",base_url:"assets/tinymce",suffix:".min",toolbar:[{name:"styles",items:["forecolor","backcolor"]},{name:"formatting",items:["bold","italic","underline","strikethrough"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]}]}}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.Mitarbeitersubscription.unsubscribe(),this.Mitarbeitersubscription=null}catch(P){this.Debug.ShowErrorMessage(P,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Mitarbeitersubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(P){this.Debug.ShowErrorMessage(P,"Einstellungen","OnInit",this.Debug.Typen.Page)}}ListesettingCheckChanged(P,L){try{switch(L){case"Nummer":this.Pool.Mitarbeitersettings.AufgabenShowNummer=P.status;break;case"Startdatum":this.Pool.Mitarbeitersettings.AufgabenShowStartdatum=P.status;break;case"Aufgabe":this.Pool.Mitarbeitersettings.AufgabenShowAufgabe=P.status;break;case"Bemerkungen":this.Pool.Mitarbeitersettings.AufgabenShowBemerkung=P.status;break;case"Fortschritt":this.Pool.Mitarbeitersettings.AufgabenShowFortschritt=P.status;break;case"Tage":this.Pool.Mitarbeitersettings.AufgabenShowTage=P.status;break;case"Zeitansatz":this.Pool.Mitarbeitersettings.AufgabenShowZeitansatz=P.status;break;case"Termin":this.Pool.Mitarbeitersettings.AufgabenShowTermin=P.status;break;case"Zustaendig":this.Pool.Mitarbeitersettings.AufgabenShowZustaendig=P.status;break;case"Status":this.Pool.Mitarbeitersettings.AufgabenShowStatus=P.status;break;case"Meintag":this.Pool.Mitarbeitersettings.AufgabenShowMeintag=P.status;break;case"Meine Woche":this.Pool.Mitarbeitersettings.AufgabenShowMeinewoche=P.status}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{}).catch(x=>{this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)})}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)}}SignaturTextChangedHandler(P){}FavoritenanzahlClicked(){try{this.Auswahldialogorigin="Favoritenanzahl",this.ShowAuswahl=!0,this.Auswahltitel="Favoritenanzahl festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"4",SecoundColumn:"",Data:4}),this.Auswahlliste.push({Index:1,FirstColumn:"5",SecoundColumn:"",Data:5}),this.Auswahlliste.push({Index:2,FirstColumn:"6",SecoundColumn:"",Data:6}),this.Auswahlliste.push({Index:3,FirstColumn:"7",SecoundColumn:"",Data:7}),this.Auswahlliste.push({Index:4,FirstColumn:"8",SecoundColumn:"",Data:8}),this.Auswahlliste.push({Index:5,FirstColumn:"9",SecoundColumn:"",Data:9}),this.Auswahlliste.push({Index:6,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:7,FirstColumn:"11",SecoundColumn:"",Data:11}),this.Auswahlliste.push({Index:8,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlindex=this.Auswahlliste.findIndex(P=>P.Data===this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(P){this.Debug.ShowErrorMessage(P.message,"Mitarbeiter Settings","FavoritenanzahlClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(P){try{switch(this.Auswahldialogorigin){case"Favoritenanzahl":this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten=P;break;case"MeielnsteineNachlauf":this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf=P;break;case"Zoomfaktor":this.Pool.Mitarbeitersettings.Zoomfaktor=P;break;case"Textgroesse":this.Pool.Mitarbeitersettings.Textsize=P}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{switch(this.Auswahldialogorigin){case"Favoritenanzahl":case"MeielnsteineNachlauf":break;case"Zoomfaktor":this.Pool.MitarbeitersettingsChanged.emit()}}).catch(L=>{this.Debug.ShowErrorMessage(L.message,"Einstellungen","MaxFavoritenanzahlChanged",this.Debug.Typen.Page)}),this.ShowAuswahl=!1}catch(L){this.Debug.ShowErrorMessage(L.message,"Einstellungen","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}MeilensteineNachlaufClicked(){try{this.Auswahldialogorigin="MeielnsteineNachlauf",this.ShowAuswahl=!0,this.Auswahltitel="Mailensteine Nachlauf festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"1 Kalderwoche",SecoundColumn:"",Data:1}),this.Auswahlliste.push({Index:1,FirstColumn:"2 Kalenderwochen",SecoundColumn:"",Data:2}),this.Auswahlliste.push({Index:2,FirstColumn:"3 Kalenderwochen",SecoundColumn:"",Data:3}),this.Auswahlliste.push({Index:3,FirstColumn:"4 Kalenderwochen",SecoundColumn:"",Data:4}),this.Auswahlindex=this.Auswahlliste.findIndex(P=>P.Data===this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(P){this.Debug.ShowErrorMessage(P.message,"Einstellungen","MeilensteineNachlaufClicked",this.Debug.Typen.Page)}}ZoomfaktorClicked(){try{this.Auswahldialogorigin="Zoomfaktor",this.ShowAuswahl=!0,this.Auswahltitel="Zoomfaktor festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"120",SecoundColumn:"",Data:120}),this.Auswahlliste.push({Index:1,FirstColumn:"110",SecoundColumn:"",Data:110}),this.Auswahlliste.push({Index:2,FirstColumn:"100",SecoundColumn:"",Data:100}),this.Auswahlliste.push({Index:3,FirstColumn:"90",SecoundColumn:"",Data:90}),this.Auswahlliste.push({Index:4,FirstColumn:"80",SecoundColumn:"",Data:80}),this.Auswahlliste.push({Index:5,FirstColumn:"70",SecoundColumn:"",Data:70}),this.Auswahlindex=this.Auswahlliste.findIndex(P=>P.Data===this.Pool.Mitarbeitersettings.Zoomfaktor),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(P){this.Debug.ShowErrorMessage(P,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}}TextsizeClicked(){this.Auswahldialogorigin="Textgroesse",this.ShowAuswahl=!0,this.Auswahltitel="Textgr\xf6\xdfe",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlliste.push({Index:2,FirstColumn:"14",SecoundColumn:"",Data:14}),this.Auswahlliste.push({Index:3,FirstColumn:"16",SecoundColumn:"",Data:16}),this.Auswahlliste.push({Index:4,FirstColumn:"18",SecoundColumn:"",Data:18}),this.Auswahlliste.push({Index:5,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:6,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlindex=this.Auswahlliste.findIndex(P=>P.Data===this.Pool.Mitarbeitersettings.Textsize),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(P){this.Debug.ShowErrorMessage(P,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}replaceAll(P,L,x){return P.split(L).join(x)}PrepareData(){try{this.Signatur=this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0)}catch(P){this.Debug.ShowErrorMessage(P,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}static \u0275fac=function(L){return new(L||R)(i.\u0275\u0275directiveInject(d.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(u.DatabasePoolService),i.\u0275\u0275directiveInject(a.ConstProvider),i.\u0275\u0275directiveInject(e.BasicsProvider),i.\u0275\u0275directiveInject(c.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:R,selectors:[["common-einstellungen-page"]],decls:17,vars:7,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],["valign","top",2,"width","auto"],["class","paddingtable",4,"ngIf"],[4,"ngIf"],[2,"width","800px","padding","6px"],[2,"width","800px","height","800px","border","1px solid gray","padding","4px","border-radius","4px",3,"innerHTML"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[1,"paddingtable"],[2,"width","460px"],[3,"Buttontext","Wert_A","Buttoncolor","ButtonClicked"],["colspan","2"],[2,"width","10px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(L,x){1&L&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td",3),i.\u0275\u0275template(8,M,17,13,"table",4)(9,E,64,12,"ion-grid",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"td",6),i.\u0275\u0275element(11,"div",7),i.\u0275\u0275pipe(12,"safe"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(13,"ion-footer"),i.\u0275\u0275element(14,"page-footer",null,8),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(16,A,1,6,"auswahl-dialog",9)),2&L&&(i.\u0275\u0275advance(8),i.\u0275\u0275property("ngIf",null!==x.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==x.Pool.Mitarbeitersettings),i.\u0275\u0275advance(2),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(12,4,x.Signatur,"html"),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",x.ShowAuswahl))},dependencies:[l.NgIf,g.IonCol,g.IonContent,g.IonFooter,g.IonGrid,g.IonHeader,g.IonRow,b.PageHeaderComponent,p.PageHeaderMenuComponent,S.PageFooterComponent,y.CheckboxClonComponent,m.ButtonValueComponent,h.AuswahlDialogComponent,C.SafePipe],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return R})()},27735:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonHomePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(56568),a=o(10716),e=o(45884),c=o(70216),l=o(6512),g=o(90520),b=o(12095),p=n.__importStar(o(54496)),y=(n.__importStar(o(56568)),[{path:"",component:e.CommonHomePage}]);f.CommonHomePageModule=(()=>{class h{static \u0275fac=function(M){return new(M||h)};static \u0275mod=p.\u0275\u0275defineNgModule({type:h});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,a.IonicModule,u.RouterModule.forChild(y),c.PageHeaderModule,l.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,b.FiChangelogEditorModule]})}return h})()},45884:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonHomePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(80103),e=o(21112),c=o(36716),l=i.__importStar(o(54496)),g=i.__importStar(o(14652)),b=i.__importStar(o(34388)),p=i.__importStar(o(19668)),S=i.__importStar(o(29743)),y=i.__importStar(o(7992)),m=i.__importStar(o(9028)),h=i.__importStar(o(8608)),C=i.__importStar(o(51708)),v=i.__importStar(o(97092)),M=i.__importStar(o(15024)),E=i.__importStar(o(59460)),A=i.__importStar(o(91368)),T=i.__importStar(o(10716)),R=i.__importStar(o(90212)),N=i.__importStar(o(29856)),P=i.__importStar(o(64168));function L(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"td",12),l.\u0275\u0275element(2,"div",13),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(3,"td",7),l.\u0275\u0275elementStart(4,"td")(5,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.DebugMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.DebugMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.DebugButtonClicked())}),l.\u0275\u0275elementStart(6,"table",9)(7,"tr")(8,"td"),l.\u0275\u0275element(9,"ion-icon",14),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11,"Debug"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275element(12,"td",7),l.\u0275\u0275elementStart(13,"td")(14,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.EinstellungenMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.EinstellungenMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.EinstellungenButtonClicked())}),l.\u0275\u0275elementStart(15,"table",9)(16,"tr")(17,"td"),l.\u0275\u0275element(18,"ion-icon",15),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(19,"td"),l.\u0275\u0275text(20,"Einstellungen"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&W){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("cursor",G.DebugMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",G.DebugMouseOver?G.Basics.Ionicfarben.Schwarz:G.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",G.DebugMouseOver?"#000000":"white"),l.\u0275\u0275advance(4),l.\u0275\u0275styleProp("cursor",G.EinstellungenMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",G.EinstellungenMouseOver?G.Basics.Ionicfarben.Schwarz:G.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",G.EinstellungenMouseOver?"#000000":"white")}}function x(W,re){if(1&W&&(l.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),l.\u0275\u0275element(3,"img",17),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(4,"td",7),l.\u0275\u0275elementEnd()()),2&W){const G=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275property("src",G.GraphService.UserimageSRC,l.\u0275\u0275sanitizeUrl)}}function V(W,re){if(1&W&&(l.\u0275\u0275elementStart(0,"div",18),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&W){const G=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",G.Basics.Farben.Grau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",null!==G.Pool.Mitarbeiterdaten?G.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function F(W,re){if(1&W&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,x,5,1,"table",2)(2,V,2,3,"div",16),l.\u0275\u0275elementContainerEnd()),2&W){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==G.GraphService.UserimageSRC),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null===G.GraphService.UserimageSRC)}}function ee(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),l.\u0275\u0275element(6,"td",7),l.\u0275\u0275elementStart(7,"td")(8,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.LogoutMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.LogoutMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.LogoutButtonClicked())}),l.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),l.\u0275\u0275element(12,"ion-icon",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(13,"td"),l.\u0275\u0275text(14,"Abmelden"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275element(15,"td",7),l.\u0275\u0275template(16,L,21,10,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(17,"td",11),l.\u0275\u0275template(18,F,3,2,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementContainerEnd()}if(2&W){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(8),l.\u0275\u0275styleProp("cursor",G.LogoutMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",G.LogoutMouseOver?G.Basics.Ionicfarben.Schwarz:G.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",G.LogoutMouseOver?"#000000":"white"),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",!1===G.environment.production),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!1===G.AuthService.ShowLogin)}}function X(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",42),l.\u0275\u0275listener("click",function(){const Ie=l.\u0275\u0275restoreView(G).$implicit,be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.ChangelogClicked(Ie))}),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"td")(5,"div",42),l.\u0275\u0275listener("click",function(){const Ie=l.\u0275\u0275restoreView(G).$implicit,be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.ChangelogClicked(Ie))}),l.\u0275\u0275text(6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"td")(8,"div",42),l.\u0275\u0275listener("click",function(){const Ie=l.\u0275\u0275restoreView(G).$implicit,be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.ChangelogClicked(Ie))}),l.\u0275\u0275text(9),l.\u0275\u0275elementEnd()()()}if(2&W){const G=re.$implicit,ue=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(ue.GetDatum(G.Zeitstempel)),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(G.Version),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(G.Beschreibung)}}function ce(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",34)(1,"table",35)(2,"tr")(3,"td",36),l.\u0275\u0275text(4,"Change Log"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"tr",37)(6,"td"),l.\u0275\u0275text(7,"Datum"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(8,"td"),l.\u0275\u0275text(9,"Version"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11,"Beschreibung"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(12,X,10,3,"tr",38),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(13,"ion-button",39),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(ye.AddChangelogClicked())}),l.\u0275\u0275element(14,"ion-icon",40),l.\u0275\u0275elementStart(15,"ion-text",41),l.\u0275\u0275text(16,"Neuer Eintrag"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(17,"table",35)(18,"tr")(19,"td")(20,"b"),l.\u0275\u0275text(21,"Build:"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(22,"td"),l.\u0275\u0275text(23),l.\u0275\u0275elementEnd()()()()}if(2&W){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(3),l.\u0275\u0275styleProp("color",G.Basics.Farben.BAEBlau),l.\u0275\u0275advance(9),l.\u0275\u0275property("ngForOf",G.Pool.Changlogliste),l.\u0275\u0275advance(),l.\u0275\u0275property("color","grau"),l.\u0275\u0275advance(10),l.\u0275\u0275textInterpolate(G.Basics.AppBuild)}}function Q(W,re){1&W&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",52),l.\u0275\u0275element(2,"img",53),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}function ne(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",43),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.StandorteButtonClicked())})("mouseenter",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.StandortMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.StandortMouseOver=!1)}),l.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",24),l.\u0275\u0275element(7,"ion-icon",44),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(8,"tr")(9,"td",31)(10,"table")(11,"tr")(12,"td",45),l.\u0275\u0275text(13),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(14,"td",46),l.\u0275\u0275elementStart(15,"td")(16,"ion-text",47),l.\u0275\u0275text(17,"Standorte"),l.\u0275\u0275elementEnd()()()()()()()()(),l.\u0275\u0275elementStart(18,"td"),l.\u0275\u0275element(19,"div",48),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(20,"td")(21,"div",43),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.MitarbeiterButtonClicked())})("mouseenter",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.MitarbeiterMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.MitarbeiterMouseOver=!1)}),l.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",24)(25,"div",49)(26,"div",50),l.\u0275\u0275element(27,"ion-icon",51),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(28,Q,3,0,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(29,"tr")(30,"td",31)(31,"table")(32,"tr")(33,"td",45),l.\u0275\u0275text(34),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(35,"td",46),l.\u0275\u0275elementStart(36,"td",31)(37,"ion-text",47),l.\u0275\u0275text(38,"Mitarbeiter"),l.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&W){const G=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(7),l.\u0275\u0275property("color",G.StandortMouseOver?G.Basics.Ionicfarben.BAEBlau:G.Basics.Ionicfarben.BurnicklGrau),l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("color",G.Basics.Farben.BAEBlau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",G.Pool.Standorteliste.length," "),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(3),l.\u0275\u0275styleProp("background",G.Basics.Farben.Grau),l.\u0275\u0275advance(8),l.\u0275\u0275property("color",G.MitarbeiterMouseOver?G.Basics.Ionicfarben.BAEBlau:G.Basics.Ionicfarben.BurnicklGrau),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==G.Pool.Mitarbeiterdaten&&!1===G.CheckAllMitarbeiterdaten()),l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("color",G.Basics.Farben.BAEBlau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",G.CountMitarbeiter()," "),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau)}}function Y(W,re){if(1&W&&(l.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",24),l.\u0275\u0275template(3,ne,39,13,"table",2),l.\u0275\u0275elementEnd()()()),2&W){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",null!==G.Pool.Mitarbeiterdaten&&!0===G.Pool.Mitarbeiterdaten.Planeradministrator)}}function H(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,ce,24,5,"div",19),l.\u0275\u0275elementStart(2,"div",20)(3,"div",21)(4,"ion-grid")(5,"ion-row")(6,"ion-col",22),l.\u0275\u0275element(7,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",24),l.\u0275\u0275element(13,"img",25),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",22),l.\u0275\u0275element(16,"div",26),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",27),l.\u0275\u0275template(20,Y,4,1,"table",28),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",22),l.\u0275\u0275element(23,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",22),l.\u0275\u0275element(26,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",24)(32,"table")(33,"tr")(34,"td")(35,"div",29),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.PlanerButtonClicked())}),l.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",24),l.\u0275\u0275element(39,"ion-icon",30),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(40,"tr")(41,"td",31)(42,"ion-text",32),l.\u0275\u0275text(43,"Urlaub - Homeoffice - Planer"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(44,"tr")(45,"td",33),l.\u0275\u0275text(46),l.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&W){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",G.Basics.ShowHomeScreenInfos),l.\u0275\u0275advance(19),l.\u0275\u0275property("ngIf",!1===G.Pool.ShowProgress),l.\u0275\u0275advance(19),l.\u0275\u0275property("color",G.Basics.Ionicfarben.BAEBlau),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate2(" Version: ",G.Basics.AppVersionName," / ",G.Basics.AppVersionDatum," ")}}function ae(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",54)(2,"ion-grid")(3,"ion-row")(4,"ion-col",22),l.\u0275\u0275element(5,"div",55),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",24),l.\u0275\u0275element(11,"img",25),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),l.\u0275\u0275element(14,"div",26),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",22)(17,"table",5)(18,"tr")(19,"td",24)(20,"div",56)(21,"table",5)(22,"tr")(23,"td",24),l.\u0275\u0275element(24,"ion-icon",30),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(25,"tr")(26,"td",31)(27,"ion-text",32),l.\u0275\u0275text(28,"Urlaub - Homeoffice - Planer"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(29,"tr")(30,"td",33),l.\u0275\u0275text(31),l.\u0275\u0275elementEnd()()()()()()()()(),l.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",57)(37,"ion-button",58),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.LoginButtonClicked())}),l.\u0275\u0275text(38,"Login"),l.\u0275\u0275elementEnd()()()()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&W){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(24),l.\u0275\u0275property("color",G.Basics.Ionicfarben.BAEBlau),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate2(" Version: ",G.Basics.AppVersionName," / ",G.Basics.AppVersionDatum," "),l.\u0275\u0275advance(6),l.\u0275\u0275property("color",G.Basics.Ionicfarben.BAEBlau)}}function J(W,re){if(1&W){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"fi-changelog-editor",59),l.\u0275\u0275listener("OkClickedEvent",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){l.\u0275\u0275restoreView(G);const ye=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)}),l.\u0275\u0275elementEnd()}}f.CommonHomePage=(()=>{class W{Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;DBMitarbeitersettings;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(G,ue,ye,Ie,be,ie,De,ze,qe,nt,ft,rt){this.Basics=G,this.Debug=ue,this.Tools=ye,this.Const=Ie,this.Pool=be,this.authService=ie,this.msalBroadcastService=De,this.GraphService=ze,this.DBChangelog=qe,this.AuthService=nt,this.DBMitarbeitersettings=ft,this.Menuservice=rt;try{this.StandortMouseOver=!1,this.MitarbeiterMouseOver=!1,this.ProjekteMouseOver=!1,this.FavoritenMouseOver=!1,this.LogoutMouseOver=!1,this.DebugMouseOver=!1,this.EinstellungenMouseOver=!1,this.PlayMouseOver=!1,this.BackgroundimageURL="../../../assets/background/"+d.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(mt){this.Debug.ShowErrorMessage(mt.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,a.filter)(G=>G.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(G=>{const ue=G.payload;this.authService.instance.setActiveAccount(ue.account),this.AuthService.ActiveUser=ue.account,this.AuthService.SetShowLoginStatus(),this.AuthService.LoginSuccessEvent.emit()})}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){try{this.Backgroundinterval=null}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","ionViewDidLeave",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ChangelogSubscription.unsubscribe()}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","OnDestroy",this.Debug.Typen.Page)}}FavoritChangedHandler(G){}DebugButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.DebugPage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","DebugButtonClicked",this.Debug.Typen.Page)}}EinstellungenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.EinstellungenPage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","EinstellungenButtonClicked",this.Debug.Typen.Page)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","LogoutButtonClicked",this.Debug.Typen.Page)}}LoginButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Login()}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","LoginButtonClicked",this.Debug.Typen.Page)}}StandorteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiStandortelistePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","StandorteButtonClicked",this.Debug.Typen.Page)}}MitarbeiterButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiMitarbeiterlistePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","MitarbeiterButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung,this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","PlanerButtonClicked",this.Debug.Typen.Page)}}ProjekteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjListePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","ProjekteButtonClicked",this.Debug.Typen.Page)}}FavoritenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjFavoritenlistePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","FavoritenButtonClicked",this.Debug.Typen.Page)}}PlayButtonClicked(){return n(function*(){})()}GetFavoritenlistehoehe(){try{let G=0;return null!==this.Pool.Mitarbeiterdaten&&(G=0===this.Pool.Mitarbeiterdaten.Favoritenliste.length?2:this.Pool.Mitarbeiterdaten.Favoritenliste.length),0===G&&(G=1),50*G}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","GetFavoritenlistehoehe",this.Debug.Typen.Page)}}AddChangelogClicked(){try{this.DBChangelog.CurrentChangelog=this.DBChangelog.GetEmptyChangelog(),this.ShowChangelogEditor=!0}catch(G){this.Debug.ShowErrorMessage(G,"Home","AddChangelogClicked",this.Debug.Typen.Page)}}GetDatum(G){try{return(0,u.default)(G).format("DD.MM.YYYY")}catch(ue){this.Debug.ShowErrorMessage(ue,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(G){try{this.DBChangelog.CurrentChangelog=d.cloneDeep(G),this.ShowChangelogEditor=!0}catch(ue){this.Debug.ShowErrorMessage(ue,"Home","ChangelogClicked",this.Debug.Typen.Page)}}PrepareDaten(){try{let G;this.Pool.Changlogliste.length>0?(G=this.Pool.Changlogliste[0],this.Basics.AppVersionName=G.Version,this.Basics.AppVersionDatum=(0,u.default)(G.Zeitstempel).format("DD.MM.YYYY")):(this.Basics.AppVersionName="none",this.Basics.AppVersionDatum="none")}catch(G){this.Debug.ShowErrorMessage(G,"Home","PrepareDaten",this.Debug.Typen.Page)}}CountMitarbeiter(){try{return d.filter(this.Pool.Mitarbeiterliste,G=>!G.Archiviert).length.toString()}catch(G){this.Debug.ShowErrorMessage(G,"Home","CountMitarbeiter",this.Debug.Typen.Page)}}CountProjekte(){try{return 0}catch(G){this.Debug.ShowErrorMessage(G,"Home","CountProjekte",this.Debug.Typen.Page)}}RelaodButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.PlayButtonClicked()}catch(G){this.Debug.ShowErrorMessage(G,"Home","RelaodButtonClicked",this.Debug.Typen.Page)}}environment=c.environment;CheckAllMitarbeiterdaten(){try{let G=!0;for(let ue of this.Pool.Mitarbeiterliste)!1===ue.Archiviert&&(""===ue.Kuerzel||""===ue.StandortID)&&(G=!1);return G}catch(G){this.Debug.ShowErrorMessage(G,"Home","CheckAllMitarbeiterdaten",this.Debug.Typen.Page)}}static \u0275fac=function(ue){return new(ue||W)(l.\u0275\u0275directiveInject(g.BasicsProvider),l.\u0275\u0275directiveInject(b.DebugProvider),l.\u0275\u0275directiveInject(p.ToolsProvider),l.\u0275\u0275directiveInject(S.ConstProvider),l.\u0275\u0275directiveInject(y.DatabasePoolService),l.\u0275\u0275directiveInject(m.MsalService),l.\u0275\u0275directiveInject(m.MsalBroadcastService),l.\u0275\u0275directiveInject(h.Graphservice),l.\u0275\u0275directiveInject(C.DatabaseChangelogService),l.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),l.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),l.\u0275\u0275directiveInject(E.MenueService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:W,selectors:[["common-home-page"]],decls:11,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent",4,"ngIf"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","log-out-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],["name","bug-outline",3,"color"],["name","settings-outline",3,"color"],["class","userkuerzelsmall",3,"background",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["class","changelogdiv",4,"ngIf"],[2,"width","100%","height","100%","background","#F2F4F4"],[2,"position","absolute","width","100%","height","100%","z-index","2"],["size","12"],[2,"height","20px"],["align","center"],["src","assets/images/group_logo.png",2,"height","100px"],[2,"height","40px"],[2,"height","140px","width","100%","background","none"],["style","width: 100%;",4,"ngIf"],[1,"buttonbigclass",3,"click"],["name","sunny-outline",2,"font-size","120px",3,"color"],[2,"text-align","center"],[2,"font-size","26px",3,"color"],[2,"text-align","center","font-size","90%","color","gray"],[1,"changelogdiv"],[1,"paddingtable",2,"font-size","80%"],["colspan","3",2,"font-size","140%","font-weight","bold"],[2,"font-weight","bold","color","#454545"],[4,"ngFor","ngForOf"],["size","small",3,"color","click"],["name","add-circle-outline","color","weiss","slot","start",2,"font-size","90%"],["color","weiss",2,"font-size","80%"],[2,"width","100%","cursor","pointer",3,"click"],[1,"buttonclass",3,"click","mouseenter","mouseleave"],["name","location-outline",2,"font-size","80px",3,"color"],[2,"font-size","22px","font-weight","bold"],[2,"width","4px"],[2,"font-size","22px",3,"color"],[1,"trennerdiv"],[2,"height","90px","width","100px","background","none","position","relative"],[1,"projektbuttoniconclass"],["name","people-outline",2,"font-size","80px",3,"color"],[1,"projektbuttoniconerrorclass"],["src","/assets/svgs/alert.svg",2,"height","44px"],[2,"width","100%","height","100%","background","#F2F4F4","z-index","10"],[2,"height","30px"],[1,"buttonbigclass",2,"z-index","100"],[2,"text-align","center","vertical-align","center","height","100px"],[3,"color","click"],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent"]],template:function(ue,ye){1&ue&&(l.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),l.\u0275\u0275template(3,ee,19,7,"ng-container",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"ion-content"),l.\u0275\u0275template(5,H,47,6,"ng-container",2)(6,ae,39,5,"ng-container",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"ion-footer"),l.\u0275\u0275element(8,"page-footer",null,3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(10,J,1,0,"fi-changelog-editor",4)),2&ue&&(l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",!1===ye.AuthService.ShowLogin),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!1===ye.AuthService.ShowLogin),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!0===ye.AuthService.ShowLogin),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ye.ShowChangelogEditor))},dependencies:[A.NgForOf,A.NgIf,T.IonButton,T.IonCol,T.IonContent,T.IonFooter,T.IonGrid,T.IonHeader,T.IonIcon,T.IonRow,T.IonText,R.PageHeaderComponent,N.PageFooterComponent,P.FiChangelogEditorComponent],styles:[".projektbuttoniconclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:100;position:absolute;display:flex;justify-content:center;align-items:center}.projektbuttoniconerrorclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:200;position:absolute;display:flex;justify-content:center;align-items:center}.trennerdiv[_ngcontent-%COMP%]{width:100px;height:10px;border-radius:4px;margin:6px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:160px;height:140px;cursor:pointer;background:#fff}.changelogdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:360px;height:300px;position:absolute;padding:8px;left:20px;bottom:20px;background:#fff;z-index:1000;overflow:auto}.outputdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:500px;height:600px;position:absolute;padding:8px;left:20px;top:560px;background:#fff;z-index:1000;overflow:auto}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userimage[_ngcontent-%COMP%]{display:inline-block;width:60px;height:60px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700}.buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:360px;height:220px;cursor:pointer;background:#fff}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:80px;height:80px;cursor:pointer;background:#fff}.favlistedivclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:400px;cursor:pointer;background:#fff;overflow:auto}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return W})()},64316:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonPdfViewerPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(56568),a=o(10716),e=o(95896),c=o(70216),l=o(84104),g=o(76688),b=o(90520),p=n.__importStar(o(54496)),y=(n.__importStar(o(56568)),[{path:"",component:e.CommonPdfviewPage}]);f.CommonPdfViewerPageModule=(()=>{class h{static \u0275fac=function(M){return new(M||h)};static \u0275mod=p.\u0275\u0275defineNgModule({type:h});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,a.IonicModule,c.PageHeaderModule,u.RouterModule.forChild(y),l.SafePipeModule,g.PdfViewerModule,b.PageFooterModule]})}return h})()},95896:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonPdfviewPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),u=n.__importStar(o(34388)),a=n.__importStar(o(29743)),e=n.__importStar(o(19668)),c=n.__importStar(o(34396)),l=n.__importStar(o(8608)),g=n.__importStar(o(33940)),b=n.__importStar(o(91368)),p=n.__importStar(o(10716)),S=n.__importStar(o(90212)),y=n.__importStar(o(76688)),m=n.__importStar(o(29856));function h(v,M){if(1&v&&i.\u0275\u0275element(0,"pdf-viewer",12),2&v){const E=i.\u0275\u0275nextContext();i.\u0275\u0275property("src",E.GraphService.CurrentPDFDownload.url)("render-text",!0)("original-size",!0)}}f.CommonPdfviewPage=(()=>{class v{Basics;Debug;Const;Tools;Fehlerservice;GraphService;LoadingAnimation;Titel="Zoomtest";BackMouseOver;constructor(E,A,T,R,N,P,L){this.Basics=E,this.Debug=A,this.Const=T,this.Tools=R,this.Fehlerservice=N,this.GraphService=P,this.LoadingAnimation=L;try{this.BackMouseOver=!1}catch(x){this.Debug.ShowErrorMessage(x.message,"Common PDF Viewer","Constructor",this.Debug.Typen.Page)}}BackButtonClicked(){try{this.Tools.PopPage()}catch(E){this.Debug.ShowErrorMessage(E.message,"Common PDF Viewer","BackButtonClicked",this.Debug.Typen.Component)}}static \u0275fac=function(A){return new(A||v)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider),i.\u0275\u0275directiveInject(a.ConstProvider),i.\u0275\u0275directiveInject(e.ToolsProvider),i.\u0275\u0275directiveInject(c.ErrorService),i.\u0275\u0275directiveInject(l.Graphservice),i.\u0275\u0275directiveInject(g.LoadingAnimationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:v,selectors:[["common-pdfview-page"]],decls:27,vars:7,consts:[[1,"ion-no-border"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","caret-back-circle-outline",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[2,"font-size","100%","color","white"],["style","width: 100%; height: 100%",3,"src","render-text","original-size",4,"ngIf"],["PageFooter",""],[2,"width","100%","height","100%",3,"src","render-text","original-size"]],template:function(A,T){1&A&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table",1)(3,"tr")(4,"td",2)(5,"table")(6,"tr"),i.\u0275\u0275element(7,"td",3),i.\u0275\u0275elementStart(8,"td")(9,"div",4),i.\u0275\u0275listener("mouseenter",function(){return T.BackMouseOver=!0})("mouseleave",function(){return T.BackMouseOver=!1})("click",function(){return T.BackButtonClicked()}),i.\u0275\u0275elementStart(10,"table",5)(11,"tr")(12,"td"),i.\u0275\u0275element(13,"ion-icon",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(16,"td",3),i.\u0275\u0275elementStart(17,"td",7),i.\u0275\u0275element(18,"div",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(19,"td",3),i.\u0275\u0275elementStart(20,"td",9),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()()()()(),i.\u0275\u0275elementStart(22,"ion-content"),i.\u0275\u0275template(23,h,1,3,"pdf-viewer",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"ion-footer"),i.\u0275\u0275element(25,"page-footer",null,11),i.\u0275\u0275elementEnd()),2&A&&(i.\u0275\u0275advance(9),i.\u0275\u0275styleProp("cursor",T.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",T.BackMouseOver?T.Basics.Ionicfarben.Schwarz:T.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",T.BackMouseOver?"black":"white"),i.\u0275\u0275advance(7),i.\u0275\u0275textInterpolate(null!==T.GraphService.CurrentPDFDownload?T.GraphService.CurrentPDFDownload.name:""),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==T.GraphService.CurrentPDFDownload))},dependencies:[b.NgIf,p.IonContent,p.IonFooter,p.IonHeader,p.IonIcon,S.PageHeaderComponent,y.PdfViewerComponent,m.PageFooterComponent],styles:[".trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return v})()},79112:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonTestseitePageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(5944),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=n.__importStar(o(54496)),S=(n.__importStar(o(56568)),[{path:"",component:a.CommonTestseitePage}]);f.CommonTestseitePageModule=(()=>{class m{static \u0275fac=function(v){return new(v||m)};static \u0275mod=b.\u0275\u0275defineNgModule({type:m});static \u0275inj=b.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(S),l.PageHeaderMenuModule,g.PageFooterModule]})}return m})()},5944:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonTestseitePage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(59460)),u=n.__importStar(o(34388)),a=n.__importStar(o(10716)),e=n.__importStar(o(90212)),c=n.__importStar(o(63792)),l=n.__importStar(o(29856));f.CommonTestseitePage=(()=>{class b{Menuservice;Debug;constructor(S,y){this.Menuservice=S,this.Debug=y}ngOnInit(){}static \u0275fac=function(y){return new(y||b)(i.\u0275\u0275directiveInject(d.MenueService),i.\u0275\u0275directiveInject(u.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:b,selectors:[["common-testseite-page"]],decls:24,vars:3,consts:[[1,"ion-no-border"],["PageHeader",""],[1,"paddingtable"],["PageFooter",""]],template:function(y,m){1&y&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td"),i.\u0275\u0275text(8,"Mainmenu Bereich: "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(11,"tr")(12,"td"),i.\u0275\u0275text(13,"Firmamenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(16,"tr")(17,"td"),i.\u0275\u0275text(18,"Projektmenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(19,"td"),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(21,"ion-footer"),i.\u0275\u0275element(22,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&y&&(i.\u0275\u0275advance(10),i.\u0275\u0275textInterpolate(m.Menuservice.MainMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(m.Menuservice.FirmaMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(m.Menuservice.ProjekteMenuebereich))},dependencies:[a.IonContent,a.IonFooter,a.IonHeader,e.PageHeaderComponent,c.PageHeaderMenuComponent,l.PageFooterComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return b})()},53964:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(79444),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=o(6232),p=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:a.CommonUrlaubEinstellungenPage}]);f.CommonUrlaubEinstellungenPageModule=(()=>{class A{static \u0275fac=function(N){return new(N||A)};static \u0275mod=C.\u0275\u0275defineNgModule({type:A});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return A})()},79444:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubEinstellungenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(14652)),l=i.__importStar(o(7992)),g=i.__importStar(o(9544)),b=i.__importStar(o(22848)),p=i.__importStar(o(29743)),S=i.__importStar(o(58864)),y=i.__importStar(o(15024)),m=i.__importStar(o(48044)),h=i.__importStar(o(34388)),C=i.__importStar(o(91368)),v=i.__importStar(o(10716)),M=i.__importStar(o(90212)),E=i.__importStar(o(63792)),A=i.__importStar(o(29856)),T=i.__importStar(o(56584)),R=i.__importStar(o(25856)),N=i.__importStar(o(80887)),P=["PageHeader"],L=["PageFooter"];function x(re,G){if(1&re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&re){const ue=G.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ue.Vorname+" "+ue.Name)}}function V(re,G){if(1&re&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,x,3,1,"tr",14),e.\u0275\u0275elementContainerEnd()),2&re){const ue=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ue.Projektbeteiligteliste)}}function F(re,G){1&re&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td"),e.\u0275\u0275text(5," Bitte w\xe4hle hier alle Personen aus mit denen du regelm\xe4\xdfig zusammenarbeitest,"),e.\u0275\u0275element(6,"br"),e.\u0275\u0275text(7,"oder Personen die eventuell deine Urlaubsvertretung \xfcbernehmen k\xf6nnen. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function ee(re,G){1&re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Urlaubsfreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function X(re,G){if(1&re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&re){const ue=G.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ue.Vorname+" "+ue.Name)}}function ce(re,G){1&re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Homeofficefreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function Q(re,G){if(1&re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&re){const ue=G.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ue.Vorname+" "+ue.Name)}}function ne(re,G){if(1&re){const ue=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(Ie){const ie=e.\u0275\u0275restoreView(ue).$implicit,De=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(De.FerienBlockedChanged(Ie,ie.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&re){const ue=G.$implicit,ye=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",ye.CheckFerienBlocker(ue.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.GetDatum(ue.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.GetDatum(ue.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ue.Name)}}function Y(re,G){if(1&re){const ue=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(Ie){const ie=e.\u0275\u0275restoreView(ue).$implicit,De=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(De.FeiertagBlockedChanged(Ie,ie.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&re){const ue=G.$implicit,ye=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",ye.CheckFeiertagBlocker(ue.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.GetDatum(ue.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.GetDatum(ue.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ue.Name)}}function H(re,G){if(1&re){const ue=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col",8)(3,"ion-text",9)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",8)(8,"table",10),e.\u0275\u0275template(9,V,2,1,"ng-container",3)(10,F,8,0,"ng-container",3),e.\u0275\u0275elementStart(11,"tr")(12,"td",11)(13,"ion-button",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ue);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(14,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"ion-text",9)(18,"b"),e.\u0275\u0275text(19,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",13)(22,"table",10),e.\u0275\u0275template(23,ee,5,0,"tr",3)(24,X,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",9)(28,"b"),e.\u0275\u0275text(29,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col",13)(32,"table",10),e.\u0275\u0275template(33,ce,5,0,"tr",3)(34,Q,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col",15)(37,"ion-text",9)(38,"b"),e.\u0275\u0275text(39,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"ion-col",15)(41,"ion-text",9)(42,"b"),e.\u0275\u0275text(43,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",15)(46,"table",10)(47,"tr",16),e.\u0275\u0275element(48,"td"),e.\u0275\u0275elementStart(49,"td"),e.\u0275\u0275text(50,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275text(52,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,ne,9,4,"tr",14),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"ion-col",15)(57,"table",10)(58,"tr",16),e.\u0275\u0275element(59,"td"),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(62,"td"),e.\u0275\u0275text(63,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"td"),e.\u0275\u0275text(65,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(66,Y,9,4,"tr",14),e.\u0275\u0275elementEnd()()()()}if(2&re){const ue=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",ue.Projektbeteiligteliste.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ue.Projektbeteiligteliste.length),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf",0===ue.Urlaubsfreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ue.Urlaubsfreigeberliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",0===ue.Homeofficefreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ue.Homeofficefreigeberliste),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",ue.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",ue.Feiertageliste)}}function ae(re,G){if(1&re){const ue=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",19),e.\u0275\u0275listener("OkClickedEvent",function(Ie){e.\u0275\u0275restoreView(ue);const be=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(be.AuswahlOkButtonClicked(Ie))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ue);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&re){const ue=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",ue.Auswahlliste)("Auswahlindex",ue.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",ue.Auswahltitel)("Iconname","")}}function J(re,G){if(1&re){const ue=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",20),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ue);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ie){e.\u0275\u0275restoreView(ue);const be=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(be.MitarbeiterauswahlOkButtonClicked(Ie))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ue);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&re){const ue=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ue.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",ue.MitarbeiterMultiselect)("AuswahlIDliste",ue.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function K(re,G){if(1&re){const ue=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",21),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ue);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ie){e.\u0275\u0275restoreView(ue);const be=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(be.MitarbeiterauswahlOkButtonClicked(Ie))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ue);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&re){const ue=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ue.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",ue.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",ue.AuswahlIDliste)}}f.CommonUrlaubEinstellungenPage=(()=>{class re{Basics;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;Urlaubsfreigeberliste;Homeofficefreigeberliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;DataSubscription;constructor(ue,ye,Ie,be,ie,De,ze,qe,nt){this.Basics=ue,this.Pool=ye,this.DB=Ie,this.DBMitarbeiter=be,this.Const=ie,this.DBStandort=De,this.DBMitarbeiterstettings=ze,this.Auswahlservice=qe,this.Debug=nt;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Ferienliste=[],this.Feiertageliste=[],this.Projektbeteiligteliste=[],this.Urlaubsfreigeberliste=[],this.Homeofficefreigeberliste=[]}catch(ft){this.Debug.ShowErrorMessage(ft.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(ue){this.Debug.ShowErrorMessage(ue,"Urlaub Einstellungen Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter)}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(ue){this.Debug.ShowErrorMessage(ue,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let ue,ye;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let Ie of this.DB.CurrentUrlaub.Projektbeteiligteliste)ue=this.DBMitarbeiter.GetMitarbeiterByID(Ie.MitarbeiterID),null!==ue&&this.Projektbeteiligteliste.push(ue);this.Projektbeteiligteliste.sort((Ie,be)=>Ie.Namebe.Name?1:0),ye=d.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID}),this.Urlaubsfreigeberliste=[];for(let Ie of ye.Urlaubfreigabepersonen)ue=d.find(this.Pool.Mitarbeiterliste,{_id:Ie}),d.isUndefined(ue)||this.Urlaubsfreigeberliste.push(ue);this.Urlaubsfreigeberliste.sort((Ie,be)=>Ie.Namebe.Name?1:0),this.Homeofficefreigeberliste=[];for(let Ie of ye.Homeofficefreigabepersonen)ue=d.find(this.Pool.Mitarbeiterliste,{_id:Ie}),d.isUndefined(ue)||this.Homeofficefreigeberliste.push(ue);this.Homeofficefreigeberliste.sort((Ie,be)=>Ie.Namebe.Name?1:0),this.Ferienliste=[],d.isUndefined(this.DB.Ferienliste[this.DB.Laendercode])||(this.Ferienliste=d.cloneDeep(this.DB.Ferienliste[this.DB.Laendercode])),this.Feiertageliste=[],d.isUndefined(this.DB.Feiertageliste[this.DB.Laendercode])||(this.Feiertageliste=d.cloneDeep(this.DB.Feiertageliste[this.DB.Laendercode]))}catch(ue){this.Debug.ShowErrorMessage(ue,"Urlaub Einstellungen Page","PrepareData",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(ue){try{let ye,Ie,be;switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl:this.DB.CurrentUrlaub.Projektbeteiligteliste=d.filter(this.DB.CurrentUrlaub.Projektbeteiligteliste,ie=>-1!==ue.indexOf(ie.MitarbeiterID));for(let ie of ue)ye=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:ie}),d.isUndefined(ye)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:ie,Display:!1});be=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),this.DB.CurrentMitarbeiter.Urlaubsliste[be]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()});break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:Ie=d.find(this.Pool.Mitarbeiterliste,{_id:ue[0]}),this.DB.CurrentMitarbeiter=Ie,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let ue=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:ue,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),ue++;for(let ye of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ue,FirstColumn:ye.Kuerzel,SecoundColumn:ye.Standort,Data:ye}),ue++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ue){var ye=this;return n(function*(){try{switch(ye.Auswahldialogorigin){case"Urlaub":ye.DB.CurrentMitarbeiter.Urlaub=ue,ye.DBMitarbeiter.UpdateMitarbeiterUrlaub(ye.DB.CurrentMitarbeiter);break;case ye.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:ye.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(ue),ye.Pool.Mitarbeitersettings.StandortFilter=null!==ue?ue._id:ye.Const.NONE,ye.DBMitarbeiterstettings.UpdateMitarbeitersettings(ye.Pool.Mitarbeitersettings,null).then(()=>{ye.PrepareData(),ye.DBStandort.StandortfilterChanged.emit()})}ye.ShowAuswahl=!1,ye.PrepareData()}catch(Ie){ye.Debug.ShowErrorMessage(Ie.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",ye.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let ue of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(ue.MitarbeiterID)}catch(ue){this.Debug.ShowErrorMessage(ue,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(ue){try{return(0,u.default)(ue).format("DD.MM.YYYY")}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","GetDatum",this.Debug.Typen.Page)}}UrlaubClickedEvent(){try{this.Auswahldialogorigin="Urlaub",this.Auswahlhoehe=600,this.Auswahltitel="Urlaubsanspruch festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"Tage",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"11",SecoundColumn:"Tage",Data:11}),this.Auswahlliste.push({Index:2,FirstColumn:"12",SecoundColumn:"Tage",Data:12}),this.Auswahlliste.push({Index:3,FirstColumn:"13",SecoundColumn:"Tage",Data:13}),this.Auswahlliste.push({Index:4,FirstColumn:"14",SecoundColumn:"Tage",Data:14}),this.Auswahlliste.push({Index:5,FirstColumn:"15",SecoundColumn:"Tage",Data:15}),this.Auswahlliste.push({Index:6,FirstColumn:"16",SecoundColumn:"Tage",Data:16}),this.Auswahlliste.push({Index:7,FirstColumn:"17",SecoundColumn:"Tage",Data:17}),this.Auswahlliste.push({Index:8,FirstColumn:"18",SecoundColumn:"Tage",Data:18}),this.Auswahlliste.push({Index:9,FirstColumn:"19",SecoundColumn:"Tage",Data:19}),this.Auswahlliste.push({Index:10,FirstColumn:"20",SecoundColumn:"Tage",Data:20}),this.Auswahlliste.push({Index:11,FirstColumn:"21",SecoundColumn:"Tage",Data:21}),this.Auswahlliste.push({Index:12,FirstColumn:"22",SecoundColumn:"Tage",Data:22}),this.Auswahlliste.push({Index:13,FirstColumn:"23",SecoundColumn:"Tage",Data:23}),this.Auswahlliste.push({Index:14,FirstColumn:"24",SecoundColumn:"Tage",Data:24}),this.Auswahlliste.push({Index:15,FirstColumn:"25",SecoundColumn:"Tage",Data:25}),this.Auswahlliste.push({Index:16,FirstColumn:"26",SecoundColumn:"Tage",Data:26}),this.Auswahlliste.push({Index:17,FirstColumn:"27",SecoundColumn:"Tage",Data:27}),this.Auswahlliste.push({Index:18,FirstColumn:"28",SecoundColumn:"Tage",Data:28}),this.Auswahlliste.push({Index:19,FirstColumn:"29",SecoundColumn:"Tage",Data:29}),this.Auswahlliste.push({Index:20,FirstColumn:"30",SecoundColumn:"Tage",Data:30}),this.Auswahlliste.push({Index:21,FirstColumn:"31",SecoundColumn:"Tage",Data:31}),this.Auswahlliste.push({Index:22,FirstColumn:"32",SecoundColumn:"Tage",Data:32}),this.Auswahlliste.push({Index:23,FirstColumn:"33",SecoundColumn:"Tage",Data:33}),this.Auswahlliste.push({Index:24,FirstColumn:"34",SecoundColumn:"Tage",Data:34}),this.Auswahlliste.push({Index:25,FirstColumn:"35",SecoundColumn:"Tage",Data:35}),this.Auswahlliste.push({Index:26,FirstColumn:"36",SecoundColumn:"Tage",Data:36}),this.Auswahlindex=d.findIndex(this.Auswahlliste,ue=>ue.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(ue){this.Debug.ShowErrorMessage(ue,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(ue){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(ue)}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(ue,ye){try{let Ie;!1===ue.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(ye):this.DB.CurrentUrlaub.Ferienblockerliste=d.filter(this.DB.CurrentUrlaub.Ferienblockerliste,be=>be!==ye),Ie=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Ie)||(Ie.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(ue){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(ue)}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(ue,ye){try{let Ie;!1===ue.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(ye):this.DB.CurrentUrlaub.Feiertageblockerliste=d.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,be=>be!==ye),Ie=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Ie)||(Ie.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(ue){this.Debug.ShowErrorMessage(ue,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetFreigeberName(ue){try{let ye=this.DBMitarbeiter.GetMitarbeiterByID(ue);return null!==ye?ye.Vorname+" "+ye.Name:"unbekannt"}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","GetFreigeberName",this.Debug.Typen.Page)}}static \u0275fac=function(ye){return new(ye||re)(e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(l.DatabasePoolService),e.\u0275\u0275directiveInject(g.DatabaseUrlaubService),e.\u0275\u0275directiveInject(b.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(m.AuswahlDialogService),e.\u0275\u0275directiveInject(h.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:re,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(ye,Ie){if(1&ye&&(e.\u0275\u0275viewQuery(P,5),e.\u0275\u0275viewQuery(L,5)),2&ye){let be;e.\u0275\u0275queryRefresh(be=e.\u0275\u0275loadQuery())&&(Ie.PageHeader=be.first),e.\u0275\u0275queryRefresh(be=e.\u0275\u0275loadQuery())&&(Ie.PageFooter=be.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[4,"ngIf"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","12"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],["colspan","2"],["size","small","color","grau",3,"click"],["size","6"],[4,"ngFor","ngForOf"],["size","3"],[2,"font-weight","bold"],["src","assets/svgs/alert.svg",2,"width","24px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(ye,Ie){1&ye&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ie.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,H,67,8,"ion-grid",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer"),e.\u0275\u0275element(7,"page-footer",null,4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,ae,1,7,"auswahl-dialog",5)(10,J,1,6,"fi-mitarbeiter-auswahl",6)(11,K,1,6,"fi-mitarbeiter-auswahl",7)),2&ye&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==Ie.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",Ie.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.ShowMitarbeiterauswahl))},dependencies:[C.NgForOf,C.NgIf,v.IonButton,v.IonCol,v.IonContent,v.IonFooter,v.IonGrid,v.IonHeader,v.IonRow,v.IonText,M.PageHeaderComponent,E.PageHeaderMenuComponent,A.PageFooterComponent,T.AuswahlDialogComponent,R.CheckboxClonComponent,N.FiMitarbeiterAuswahlComponent],styles:[".legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return re})()},5884:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubFreigabenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(76052),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=o(6232),p=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=o(6512),v=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:a.CommonUrlaubFreigabenPage}]);f.CommonUrlaubFreigabenPageModule=(()=>{class T{static \u0275fac=function(P){return new(P||T)};static \u0275mod=v.\u0275\u0275defineNgModule({type:T});static \u0275inj=v.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(E),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule,C.AbstandElementFixedModule]})}return T})()},76052:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubFreigabenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),b=i.__importStar(o(7992)),p=i.__importStar(o(9544)),S=i.__importStar(o(22848)),y=i.__importStar(o(29743)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(34388)),v=i.__importStar(o(91368)),M=i.__importStar(o(10716)),E=i.__importStar(o(90212)),A=i.__importStar(o(63792)),T=i.__importStar(o(29856)),R=i.__importStar(o(77440)),N=i.__importStar(o(56584)),P=i.__importStar(o(25856)),L=i.__importStar(o(80887)),x=["PageHeader"],V=["PageFooter"];function F(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Zt=e.\u0275\u0275restoreView(gt).index,wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.MonatButtonClicked(Zt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&it){const gt=Yt.$implicit,Tt=Yt.index,Ht=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ht.GetMonatButtonColor(Tt)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(gt)}}function ee(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext(2).$implicit,wt=e.\u0275\u0275nextContext(4).$implicit,$t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($t.VerteretungStatusChangedHandler(Ht,Zt,wt._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Vertretung annehmen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Vertretung ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&it){const gt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",gt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function X(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1," Vertretung angenommen"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&it){const gt=e.\u0275\u0275nextContext(3).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Tt.DB.GetVertretungsanwortAge(gt).toFixed(2)," Minuten ")}}function ce(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1," Vertretung abgelehnt"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&it){const gt=e.\u0275\u0275nextContext(3).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Tt.DB.GetVertretungsanwortAge(gt).toFixed(2)," Minuten ")}}function Q(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,X,4,1,"td",46)(4,ce,4,1,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&it){const gt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",gt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function ne(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",6),e.\u0275\u0275element(8,"div",37),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"td",38),e.\u0275\u0275elementStart(10,"td")(11,"ion-button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(4).$implicit,wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.UrlaubSuchen(Ht,Zt))}),e.\u0275\u0275element(12,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"td"),e.\u0275\u0275template(14,ee,12,3,"ng-container",19)(15,Q,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&it){const gt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(gt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(gt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Tt.DB.GetUrlaubStatuscolor(gt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",gt.Vertretungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===gt.VertreterantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===gt.VertreterantwortSended)}}function Y(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ne,16,8,"tr",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.DB.CheckVertretungsanwortAge(gt)&>.UrlaubsvertreterID===Tt.DB.CurrentMitarbeiter._id&&(gt.Status===Tt.DB.Urlaubstatusvarianten.Vertreteranfrage||gt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe||gt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function H(it,Yt){1&it&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",48),e.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),e.\u0275\u0275elementEnd()())}function ae(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Y,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(2).$implicit,wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.SendVertretungUpdate(Zt,Ht))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(6,H,3,0,"tr",19),e.\u0275\u0275elementContainerEnd()}if(2&it){const gt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ht=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",gt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Ht.CheckVertretungUpdateButtonEnabled(Tt,gt)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0===Ht.DB.CountUrlaubsvertretungen(Tt))}}function J(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ae,7,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt.Jahr===Tt.DB.Jahr)}}function K(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",33),e.\u0275\u0275text(16,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"td"),e.\u0275\u0275elementStart(18,"td",31),e.\u0275\u0275text(19,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,J,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"tr"),e.\u0275\u0275element(22,"td"),e.\u0275\u0275elementEnd()()()()),2&it){const gt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",gt.Urlaubsliste)}}function W(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,K,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",gt.Vorname+" "+gt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Tt.DB.Vertretungsanfragenanzahl||0!==Tt.DB.Vertretungsantwortenanzahl)}}function re(it,Yt){1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function G(it,Yt){1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),e.\u0275\u0275element(3,"div",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function ue(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext(2).$implicit,wt=e.\u0275\u0275nextContext(4).$implicit,$t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($t.FreigabeStatusChangedHandler(Ht,Zt,wt._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Urlaub genehmigen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Urlaub ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&it){const gt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",gt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Abgelehnt)}}function ye(it,Yt){1&it&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1,"Urlaub genehmigt"),e.\u0275\u0275elementEnd())}function Ie(it,Yt){1&it&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1,"Urlaub abgelehnt"),e.\u0275\u0275elementEnd())}function be(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,ye,2,0,"td",46)(4,Ie,2,0,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&it){const gt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",gt.Status===Tt.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt.Status===Tt.DB.Urlaubstatusvarianten.Abgelehnt)}}function ie(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",6),e.\u0275\u0275element(10,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"td",38),e.\u0275\u0275elementStart(12,"td")(13,"ion-button",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(4).$implicit,wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.UrlaubSuchen(Ht,Zt))}),e.\u0275\u0275element(14,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275template(16,ue,12,3,"ng-container",19)(17,be,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&it){const gt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(gt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(gt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetVertetungName(gt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Tt.DB.GetUrlaubStatuscolor(gt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",gt.Freigabemeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",gt.Status===Tt.DB.Urlaubstatusvarianten.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===gt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===gt.FreigabeantwortSended)}}function De(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ie,18,10,"tr",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.DB.CheckUrlaubFreigabeanwortAge(gt)&&!0===gt.VertreterantwortSended&&(gt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe||gt.Status===Tt.DB.Urlaubstatusvarianten.Genehmigt||gt.Status===Tt.DB.Urlaubstatusvarianten.Abgelehnt))}}function ze(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,De,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(2).$implicit,wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.SendFreigabeUpdate(Zt,Ht))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&it){const gt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ht=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",gt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Ht.CheckFreigabeUpdateButtonEnabled(Tt,gt))}}function qe(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ze,6,2,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ht=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt.Jahr===Ht.DB.Jahr&&!0===Ht.DB.CheckUrlaubsfreigeberAvailable(Tt))}}function nt(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Vertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",31),e.\u0275\u0275text(16,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"td",33),e.\u0275\u0275text(18,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"td"),e.\u0275\u0275elementStart(20,"td",31),e.\u0275\u0275text(21,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(22,qe,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&it){const gt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(22),e.\u0275\u0275property("ngForOf",gt.Urlaubsliste)}}function ft(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,nt,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",gt.Vorname+" "+gt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Tt.DB.Freigabenanfragenanzahl>0||Tt.DB.Freigabenantwortenanzahl>0)}}function rt(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td")(2,"td"),e.\u0275\u0275elementStart(3,"td",6)(4,"ion-button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext(2).$implicit,Zt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Zt.HomeofficeGenehmigeAll(Ht))}),e.\u0275\u0275element(5,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td",6)(7,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext(2).$implicit,Zt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Zt.HomeofficeAblehnenAll(Ht))}),e.\u0275\u0275element(8,"ion-icon",56),e.\u0275\u0275elementEnd()()()}}function mt(it,Yt){if(1&it&&e.\u0275\u0275element(0,"ion-radio",43),2&it){const gt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",gt.DB.Homeofficestatusvarianten.Genehmigt)}}function Wt(it,Yt){1&it&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",62),e.\u0275\u0275elementEnd())}function bt(it,Yt){if(1&it&&e.\u0275\u0275element(0,"ion-radio",43),2&it){const gt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",gt.DB.Homeofficestatusvarianten.Abgelehnt)}}function Bt(it,Yt){1&it&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",63),e.\u0275\u0275elementEnd())}function an(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td",6),e.\u0275\u0275element(5,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",57)(7,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext().$implicit,wt=e.\u0275\u0275nextContext(2).$implicit,$t=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView($t.HomeofficeStatusChanged(Ht,Zt,wt))}),e.\u0275\u0275elementStart(8,"table",58)(9,"tr",59)(10,"td",60),e.\u0275\u0275template(11,mt,1,1,"ion-radio",61)(12,Wt,2,0,"span",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",60),e.\u0275\u0275template(14,bt,1,1,"ion-radio",61)(15,Bt,2,0,"span",19),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&it){const gt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(gt.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Tt.DB.GetHomeofficeStatuscolor(gt.Status)),e.\u0275\u0275advance(2),e.\u0275\u0275property("value",gt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",!1===gt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===gt.FreigabeantwortSended&>.Status===Tt.DB.Homeofficestatusvarianten.Genehmigt),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===gt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===gt.FreigabeantwortSended&>.Status===Tt.DB.Homeofficestatusvarianten.Abgelehnt)}}function hn(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,an,16,8,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.DB.CheckHomeofficeFreigabeanwortAge(gt)&&(gt.Status===Tt.DB.Homeofficestatusvarianten.Freigabeanfrage||gt.Status===Tt.DB.Homeofficestatusvarianten.Genehmigt||gt.Status===Tt.DB.Homeofficestatusvarianten.Abgelehnt))}}function wn(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",64)(2,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext(2).$implicit,Zt=e.\u0275\u0275nextContext(2).$implicit,wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.SendHomeofficeUpdate(Ht,Zt))}),e.\u0275\u0275text(3,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()}if(2&it){const gt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",!1===Tt.CheckHomeofficeUpdateButtonEnabled(gt))}}function An(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,rt,9,0,"tr",19)(2,hn,2,1,"ng-container",10)(3,wn,4,1,"tr",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Tt.CheckHasAnfragen(gt)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",gt.Homeofficezeitspannen),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.CheckHasAnfragen(gt))}}function vn(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,An,4,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ht=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt.Jahr===Ht.DB.Jahr&&!0===Ht.DB.CheckHomeofficefreigeberAvailable(Tt))}}function en(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Datum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",31),e.\u0275\u0275text(12,"Genehmigt"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(15,vn,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&it){const gt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(15),e.\u0275\u0275property("ngForOf",gt.Urlaubsliste)}}function dt(it,Yt){1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function Ue(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,en,16,1,"ion-row",19)(8,dt,7,0,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",gt.Vorname+" "+gt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Tt.DB.Homeofficeanfragenanzahl>0||Tt.DB.Homeofficantwortenanzahl>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Tt.DB.Homeofficeanfragenanzahl&&0===Tt.DB.Homeofficantwortenanzahl)}}function we(it,Yt){if(1&it&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col")(9,"table",17)(10,"tr")(11,"td",6)(12,"ion-text",18),e.\u0275\u0275text(13,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(14,Ue,9,3,"ng-container",10),e.\u0275\u0275elementContainerEnd()),2&it){const gt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(14),e.\u0275\u0275property("ngForOf",gt.DB.Homeofficefreigabenliste)}}function Pe(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Zt.AnsichtFeiertageCheckChanged(Ht,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",51),e.\u0275\u0275element(6,"ion-icon",68),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Zt.AnsichtFerientageCheckChanged(Ht,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",51),e.\u0275\u0275element(14,"ion-icon",69),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&it){const gt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",gt.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",gt.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Ferien_DE)}}function Ge(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",70),e.\u0275\u0275listener("CheckChanged",function(Ht){const Zt=e.\u0275\u0275restoreView(gt),wt=Zt.$implicit,$t=Zt.index,Ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ct.DisplayExternCheckChanged(Ht,wt,$t))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",71),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&it){const gt=Yt.$implicit,Tt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Tt.DB.CheckDisplayExternenUrlaub(gt.MitarbeiterIDExtern))("Enabled",gt.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(gt.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",gt.NameExtern," ",gt.Text,"")}}function je(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,Pe,17,6,"ng-container",19),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.AnsichtFeiertageCheckChanged(Ht,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",51),e.\u0275\u0275element(8,"ion-icon",66),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.AnsichtFerientageCheckChanged(Ht,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",51),e.\u0275\u0275element(16,"ion-icon",67),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,Ge,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&it){const gt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===gt.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",gt.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",gt.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",gt.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",gt.DB.UrlaublisteExtern)}}function ht(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",72),e.\u0275\u0275elementEnd()),2&it){const gt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",gt.Flagsource,e.\u0275\u0275sanitizeUrl)}}function He(it,Yt){if(1&it&&(e.\u0275\u0275elementStart(0,"td",73),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&it){const gt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(gt.Message)}}function _t(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",74),e.\u0275\u0275listener("OkClickedEvent",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.AuswahlOkButtonClicked(Ht))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ht.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&it){const gt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",gt.Auswahlliste)("Auswahlindex",gt.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",gt.Auswahltitel)("Iconname","")}}function lt(it,Yt){if(1&it){const gt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",75),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ht.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ht){e.\u0275\u0275restoreView(gt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.MitarbeiterauswahlOkButtonClicked(Ht))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(gt);const Ht=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ht.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&it){const gt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",gt.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",gt.AuswahlIDliste)}}f.CommonUrlaubFreigabenPage=(()=>{class it{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(gt,Tt,Ht,Zt,wt,$t,Ct,It,tn,yn,Tn){this.Menuservice=gt,this.Basics=Tt,this.DBMitarbeitersettings=Ht,this.Pool=Zt,this.DB=wt,this.DBMitarbeiter=$t,this.Const=Ct,this.DBStandort=It,this.DBMitarbeiterstettings=tn,this.Auswahlservice=yn,this.Debug=Tn;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Message="",this.Flagsource="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0}catch(nn){this.Debug.ShowErrorMessage(nn.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{let gt;for(let Tt of this.DB.Homeofficefreigabenliste){gt=d.find(Tt.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr});for(let Ht of gt.Homeofficezeitspannen)!1===Ht.FreigabeantwortSended&&(Ht.Status=this.DB.Homeofficestatusvarianten.Freigabeanfrage);Tt._id===this.DB.CurrentMitarbeiter._id&>.Jahr===this.DB.CurrentUrlaub.Jahr&&(this.DB.CurrentUrlaub=gt),this.DB.CountAnfragenanzahlen()}}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaub Freigaben Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var gt=this;return n(function*(){try{gt.DB.Init(),gt.DB.CheckSetup(),gt.DB.SetPlanungsmonate(),gt.DB.CountAnfragenanzahlen()}catch(Tt){gt.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","PrepareData",gt.Debug.Typen.Page)}})()}GetDatumlangtext(gt){try{return(0,u.default)(gt).locale("de").format("DD. MMMM YYYY")}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(gt){try{let Tt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(Tt=d.find(this.Pool.Mitarbeiterliste,{_id:gt[0]}),this.DB.CurrentMitarbeiter=Tt,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(Tt){this.Debug.ShowErrorMessage(Tt.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let gt=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:gt,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),gt++;for(let Tt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:gt,FirstColumn:Tt.Kuerzel,SecoundColumn:Tt.Standort,Data:Tt}),gt++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(gt){this.Debug.ShowErrorMessage(gt.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(gt){var Tt=this;return n(function*(){try{Tt.Auswahldialogorigin===Tt.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter&&(Tt.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(gt),Tt.Pool.Mitarbeitersettings.StandortFilter=null!==gt?gt._id:Tt.Const.NONE,Tt.DBMitarbeitersettings.UpdateMitarbeitersettings(Tt.Pool.Mitarbeitersettings,null).then(()=>{Tt.ShowAuswahl=!1,Tt.DBStandort.StandortfilterChanged.emit()})),Tt.ShowAuswahl=!1,Tt.PrepareData()}catch(Ht){Tt.Debug.ShowErrorMessage(Ht.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",Tt.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(gt){try{return(0,u.default)(gt).format("DD.MM.YYYY")}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(gt,Tt,Ht){try{Tt.Status=gt.detail.value}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(gt,Tt,Ht){try{Tt.Status=gt.detail.value}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(gt,Tt){try{let Ht=!1,Zt=d.find(this.Pool.Standorteliste,{_id:gt.StandortID});for(let wt of Tt.Urlaubzeitspannen)d.isUndefined(wt.VertreterantwortSended)&&(wt.VertreterantwortSended=!1),Zt.Urlaubfreigabepersonen.length>0&&!1===wt.VertreterantwortSended&&wt.UrlaubsvertreterID===this.DB.CurrentMitarbeiter._id&&(wt.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||wt.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(Ht=!0);return Ht}catch(Ht){this.Debug.ShowErrorMessage(Ht,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(gt,Tt){try{let Ht=(0,u.default)(gt.Startstempel);this.DB.CurrentMonatindex=Ht.month(),this.DB.SetPlanungsmonate()}catch(Ht){this.Debug.ShowErrorMessage(Ht,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(gt,Tt){try{let Ht=!1;for(let Zt of Tt.Urlaubzeitspannen)d.isUndefined(Zt.FreigabeantwortSended)&&(Zt.FreigabeantwortSended=!1),!1===Zt.FreigabeantwortSended&&(Zt.Status===this.DB.Urlaubstatusvarianten.Genehmigt||Zt.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(Ht=!0);return Ht}catch(Ht){this.Debug.ShowErrorMessage(Ht,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(gt,Tt){var Ht=this;return n(function*(){try{yield Ht.DB.UpdateVertreterantworten(gt,Tt),yield Ht.PrepareData(),Ht.DB.ExterneUrlaubeChanged.emit()}catch(Zt){Ht.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","SendVertretungUpdate",Ht.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(gt){try{this.Message=gt.Name,""!==gt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===gt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(gt,Tt,Ht){try{let Zt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Tt.MitarbeiterIDExtern});d.isUndefined(Zt)||(Zt.Display=gt.status);let wt=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[wt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(gt){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=gt.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(gt){try{this.Message=gt.Name,""!==gt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===gt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(gt){try{this.DB.CurrentMonatindex=gt,this.DB.SetPlanungsmonate()}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(gt){try{if(this.DB.CurrentMonatindex===gt)return"orange"}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(gt,Tt){try{switch(Tt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=gt.status,this.DB.ShowFerientage_DE=gt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=gt.status,this.DB.ShowFerientage_BG=gt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ht){this.Debug.ShowErrorMessage(Ht,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(gt,Tt){try{switch(Tt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=gt.status,this.DB.ShowFeiertage_DE=gt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=gt.status,this.DB.ShowFeiertage_BG=gt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ht){this.Debug.ShowErrorMessage(Ht,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetVertetungName(gt){try{let Tt;return Tt=this.DBMitarbeiter.GetMitarbeiterByID(gt.UrlaubsvertreterID),d.isUndefined(Tt)?"unbekannt":Tt.Vorname+" "+Tt.Name}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetVertetungName",this.Debug.Typen.Page)}}SendFreigabeUpdate(gt,Tt){var Ht=this;return n(function*(){try{yield Ht.DB.UpdateFreigabenantworten(gt,Tt),yield Ht.PrepareData(),Ht.DB.ExterneUrlaubeChanged.emit()}catch(Zt){Ht.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","SendFreigabeUpdate",Ht.Debug.Typen.Page)}})()}HomeofficeStatusChanged(gt,Tt,Ht){try{Tt.Status=gt.detail.value}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","HomeofficeStatusChanged",this.Debug.Typen.Page)}}HomeofficeGenehmigeAll(gt){try{for(let Tt of gt.Homeofficezeitspannen)!1===Tt.FreigabeantwortSended&&(Tt.Status=this.DB.Homeofficestatusvarianten.Genehmigt)}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","HomeofficeGenehmigeAll",this.Debug.Typen.Page)}}HomeofficeAblehnenAll(gt){try{for(let Tt of gt.Homeofficezeitspannen)!1===Tt.FreigabeantwortSended&&(Tt.Status=this.DB.Homeofficestatusvarianten.Abgelehnt)}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","HomeofficeAblehnenAll",this.Debug.Typen.Page)}}SendHomeofficeUpdate(gt,Tt){var Ht=this;return n(function*(){try{yield Ht.DB.SendHomeofficeFreigabeantworten(Tt,gt),yield Ht.PrepareData(),Ht.DB.ExterneHomeofficeChanged.emit()}catch(Zt){Ht.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","SendHomeofficeUpdate",Ht.Debug.Typen.Page)}})()}CheckHomeofficeUpdateButtonEnabled(gt){try{let Tt=!1;for(let Ht of gt.Homeofficezeitspannen)!1===Ht.FreigabeantwortSended&&(Ht.Status===this.DB.Homeofficestatusvarianten.Abgelehnt||Ht.Status===this.DB.Homeofficestatusvarianten.Genehmigt)&&(Tt=!0);return Tt}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","CheckHomeofficeUpdateButtonEnabled",this.Debug.Typen.Page)}}CheckHasAnfragen(gt){try{let Tt=!1;for(let Ht of gt.Homeofficezeitspannen)!1===Ht.FreigabeantwortSended&&(Tt=!0);return Tt}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","CheckHasAnfragen",this.Debug.Typen.Page)}}static \u0275fac=function(Tt){return new(Tt||it)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(b.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.ConstProvider),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:it,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(Tt,Ht){if(1&Tt&&(e.\u0275\u0275viewQuery(x,5),e.\u0275\u0275viewQuery(V,5)),2&Tt){let Zt;e.\u0275\u0275queryRefresh(Zt=e.\u0275\u0275loadQuery())&&(Ht.PageHeader=Zt.first),e.\u0275\u0275queryRefresh(Zt=e.\u0275\u0275loadQuery())&&(Ht.PageFooter=Zt.first)}},decls:70,vars:30,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],["colspan","2",2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],["width","100%"],["color","baeblau",2,"font-size","120%","font-weight","bold"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],["colspan","7","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],[1,"legendedivclass",2,"color","black"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[3,"value","ionChange"],[1,"nobordertable"],[3,"value"],[2,"color","green"],[2,"color","red"],["style","color: green",4,"ngIf"],["style","color: red",4,"ngIf"],["colspan","6",2,"color","red"],[2,"text-align","center","height","30px"],[2,"height","20px"],[1,"legendedivclass"],["size","small","color","grau",3,"disabled","click"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"],["color","rot","size","small",3,"click"],["name","close-outline"],["colspan","2"],[1,"nobordertable",2,"width","100%"],[2,"height","32px"],["align","center",2,"width","50%"],[3,"value",4,"ngIf"],[2,"border-radius","50%","width","12px","height","12px","background","green"],[2,"border-radius","50%","width","12px","height","12px","background","red"],["colspan","4","align","center"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(Tt,Ht){1&Tt&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ht.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Ht.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,F,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return Ht.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(wt){return Ht.FeiertagCrossedEventHandler(wt)})("FerientagCrossedEvent",function(wt){return Ht.FerientagCrossedEventHandler(wt)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("FeiertagCrossedEvent",function(wt){return Ht.FeiertagCrossedEventHandler(wt)})("FerientagCrossedEvent",function(wt){return Ht.FerientagCrossedEventHandler(wt)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(wt){return Ht.FeiertagCrossedEventHandler(wt)})("FerientagCrossedEvent",function(wt){return Ht.FerientagCrossedEventHandler(wt)}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(30,"ion-grid")(31,"ion-row")(32,"ion-col")(33,"table",17)(34,"tr")(35,"td",6)(36,"ion-text",18),e.\u0275\u0275text(37,"Vertretungsanfragen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(38,W,8,2,"ng-container",10)(39,re,7,0,"ng-container",19)(40,G,4,0,"ng-container",19),e.\u0275\u0275elementStart(41,"ion-row")(42,"ion-col")(43,"table",17)(44,"tr")(45,"td",6)(46,"ion-text",18),e.\u0275\u0275text(47,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(48,ft,8,2,"ng-container",10)(49,we,15,1,"ng-container",19),e.\u0275\u0275elementStart(50,"div",20)(51,"table")(52,"tr")(53,"td")(54,"div",21),e.\u0275\u0275listener("click",function(){return Ht.LegendeVisible=!Ht.LegendeVisible}),e.\u0275\u0275element(55,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"td",23),e.\u0275\u0275template(57,je,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(58,"ion-footer")(59,"page-footer",null,25)(61,"table",4)(62,"tr")(63,"td",26)(64,"table",13)(65,"tr"),e.\u0275\u0275template(66,ht,2,1,"td",19)(67,He,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(68,_t,1,7,"auswahl-dialog",28)(69,lt,1,6,"fi-mitarbeiter-auswahl",29)),2&Tt&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",Ht.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Ht.DB.Jahr)("Monatindex",Ht.DB.FirstMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Ht.DB.Jahr)("ShowYear",!0)("Monatindex",Ht.DB.CurrentMonatindex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Ht.DB.Jahr)("Monatindex",Ht.DB.LastMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Ht.DB.Vertretrungliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Ht.DB.Vertretungsanfragenanzahl&&0===Ht.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Ht.DB.Vertretungsanfragenanzahl||0!==Ht.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",Ht.DB.Urlaubfreigabenliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Ht.DB.Freigabenanfragenanzahl&&0===Ht.DB.Freigabenantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ht.Legendehoehe,"px")("width",Ht.Legendebreite,"px")("right",Ht.LegendeVisible?0:-(Ht.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Ht.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Ht.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Ht.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Ht.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Ht.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ht.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ht.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonButton,M.IonCol,M.IonContent,M.IonFooter,M.IonGrid,M.IonHeader,M.IonIcon,M.IonRadio,M.IonRadioGroup,M.IonRow,M.IonText,M.RadioValueAccessor,M.SelectValueAccessor,E.PageHeaderComponent,A.PageHeaderMenuComponent,T.PageFooterComponent,R.PjProjektpunktDateKWPickerComponent,N.AuswahlDialogComponent,P.CheckboxClonComponent,L.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return it})()},98348:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubsgesamtuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(26372),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=o(6232),p=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),n.__importStar(o(91368))),E=n.__importStar(o(10716)),A=n.__importStar(o(90212)),T=n.__importStar(o(63792)),R=n.__importStar(o(29856)),N=n.__importStar(o(56584)),P=n.__importStar(o(25856)),L=n.__importStar(o(80887)),x=[{path:"",component:a.CommonUrlaubGesamtuebersichtPage}];f.CommonUrlaubsgesamtuebersichtPageModule=(()=>{class F{static \u0275fac=function(ce){return new(ce||F)};static \u0275mod=C.\u0275\u0275defineNgModule({type:F});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(x),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return F})(),C.\u0275\u0275setComponentScope(a.CommonUrlaubGesamtuebersichtPage,function(){return[M.NgForOf,M.NgIf,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,E.IonText,A.PageHeaderComponent,T.PageHeaderMenuComponent,R.PageFooterComponent,N.AuswahlDialogComponent,P.CheckboxClonComponent,L.FiMitarbeiterAuswahlComponent]},[])},26372:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubGesamtuebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(7992)),b=i.__importStar(o(9544)),p=i.__importStar(o(29743)),S=i.__importStar(o(22848)),y=i.__importStar(o(15024)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(34388)),v=["PageHeader"],M=["PageFooter"];function E(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",9),e.\u0275\u0275listener("click",function(){const K=e.\u0275\u0275restoreView(H).index,W=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(W.MonatButtonClicked(K))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&ne){const H=Y.$implicit,ae=Y.index,J=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",J.GetMonatButtonColor(ae)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(H)}}function A(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",33)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ne){const H=Y.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",H.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("KW ",H.Nummer,"")}}function T(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"td",34)(1,"ion-text",35)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&ne){const H=Y.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(H.Tag)}}function R(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"td",36)(1,"ion-text",37)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("color",H.Hauptmonat?ae.Basics.Ionicfarben.Schwarz:ae.Basics.Ionicfarben.Silber),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(H.Tagnummer)}}function N(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",43),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ne){const H=e.\u0275\u0275nextContext().$implicit,ae=e.\u0275\u0275nextContext().$implicit,J=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",J.DB.GetUrlaubStatuscolor(J.DB.CheckIsUrlaubstag(ae,H).Status)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",ae.Kuerzel," ")}}function P(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"td",41),e.\u0275\u0275template(1,N,3,3,"ng-container",42),e.\u0275\u0275elementEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext().$implicit,J=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==J.DB.CheckIsUrlaubstag(ae,H))}}function L(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,P,2,1,"td",40),e.\u0275\u0275elementEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",H.Vorname," ",H.Name,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ae.Kalendertageliste)}}function x(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",38)(3,"b"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(5,"td",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(6,L,4,3,"tr",11),e.\u0275\u0275elementContainerEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(H.Standort),e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",ae.Tagesumme),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ae.Mitrbeiterliste[H._id])}}function V(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(J){e.\u0275\u0275restoreView(H);const K=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(K.MitarbeiterCheckChanged(J))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&ne){const H=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Value",H._id)("Checked",H.ShowInGesamtuebersicht),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",H.Vorname," ",H.Name,"")}}function F(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,V,4,4,"tr",42),e.\u0275\u0275elementContainerEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",H.StandortID===ae._id&&!1===H.Archiviert)}}function ee(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(J){e.\u0275\u0275restoreView(H);const K=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(K.StandortCheckChanged(J))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"ion-text",26)(6,"b"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(8,"tr"),e.\u0275\u0275element(9,"td"),e.\u0275\u0275elementStart(10,"td")(11,"table",24),e.\u0275\u0275template(12,F,2,1,"ng-container",11),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("Value",H._id)("Checked",H.ShowInGesamtuebersicht),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(H.Standort),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",ae.Pool.Mitarbeiterliste)}}function X(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",44),e.\u0275\u0275listener("OkClickedEvent",function(J){e.\u0275\u0275restoreView(H);const K=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(K.AuswahlOkButtonClicked(J))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(H);const J=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(J.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ne){const H=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",H.Auswahlliste)("Auswahlindex",H.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",H.Auswahltitel)("Iconname","")}}function ce(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",45),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(H);const J=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(J.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(J){e.\u0275\u0275restoreView(H);const K=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(K.MitarbeiterauswahlOkButtonClicked(J))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(H);const J=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(J.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ne){const H=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",H.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",H.AuswahlIDliste)}}f.CommonUrlaubGesamtuebersichtPage=(()=>{class ne{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Ansichtvariante;Message;Auswahldialogorigin;DataSubscription;AuswahlIDliste;Auswahlliste;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Standortliste;Mitrbeiterliste;Kalendertageliste;Kalenderwochenliste;Monatname;Tagesumme;Auswahlindex;Auswahltitel;ShowAuswahl;MitarbeiterauswahlTitel;Auswahlhoehe;Headerhoehe;Contenthoehe;constructor(H,ae,J,K,W,re,G,ue,ye,Ie){this.Menuservice=H,this.Basics=ae,this.Pool=J,this.DB=K,this.Const=W,this.DBMitarbeiter=re,this.DBMitarbeitersettings=G,this.DBStandort=ue,this.Auswahlservice=ye,this.Debug=Ie;try{this.DataSubscription=null,this.Message="",this.MitarbeiterauswahlTitel="",this.Auswahldialogorigin=this.Const.NONE,this.AuswahlIDliste=[],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr,this.Standortliste=[],this.Mitrbeiterliste=[],this.Kalendertageliste=[],this.Kalenderwochenliste=[],this.Mitrbeiterliste=[],this.Headerhoehe=0,this.Contenthoehe=0,this.Tagesumme=0}catch(be){this.Debug.ShowErrorMessage(be.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(H){var ae=this;return n(function*(){try{ae.Auswahldialogorigin===ae.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter&&(ae.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(H),ae.Pool.Mitarbeitersettings.StandortFilter=null!==H?H._id:ae.Const.NONE,ae.DBMitarbeitersettings.UpdateMitarbeitersettings(ae.Pool.Mitarbeitersettings,null).then(()=>{ae.ShowAuswahl=!1,ae.DBStandort.StandortfilterChanged.emit()}))}catch(J){ae.Debug.ShowErrorMessage(J.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",ae.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(H){try{let ae;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(ae=d.find(this.Pool.Mitarbeiterliste,{_id:H[0]}),this.DB.CurrentMitarbeiter=ae,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(ae){this.Debug.ShowErrorMessage(ae.message,"Urlaubsuebersicht Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let H=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:H,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),H++;for(let ae of this.Pool.Standorteliste)this.Auswahlliste.push({Index:H,FirstColumn:ae.Kuerzel,SecoundColumn:ae.Standort,Data:ae}),H++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(H){this.Debug.ShowErrorMessage(H.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,u.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var H=this;return n(function*(){try{let ae,J,K,re,G,ue,ye,Ie,be,W=H.DB.CurrentMonatindex+1;H.DB.Init(),H.DB.CheckSetup(),H.DB.CountAnfragenanzahlen(),H.Monatname=H.DB.Monateliste[H.DB.CurrentMonatindex],W=W<10?"0"+W.toString():W.toString(),ae=(0,u.default)(H.DB.Jahr.toString()+"-"+W,"YYYY-MM").daysInMonth(),H.Tagesumme=ae;let ie=(0,u.default)().set({date:1,month:H.DB.CurrentMonatindex,year:H.DB.Jahr,hour:8,minute:0}).locale("de"),De=(0,u.default)().set({date:ae,month:H.DB.CurrentMonatindex,year:H.DB.Jahr,hour:8,minute:0}).locale("de");J=ie.isoWeekday(),K=J-1,H.Tagesumme=H.Tagesumme+K,G=ie.clone().subtract(K,"day"),Ie=G.clone(),J=De.isoWeekday(),K=7-J,H.Tagesumme=H.Tagesumme+K,be={Nummer:Ie.isoWeek(),Tageanzahl:0},H.Kalendertageliste=[],H.Kalenderwochenliste=[];for(let ze=0;zeue._id===qe._id),d.isUndefined(ye)&&(H.Standortliste.push(ue),H.Mitrbeiterliste[ue._id]=[]),H.Mitrbeiterliste[ue._id].push(ze)))}catch(ae){H.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","PrepareData",H.Debug.Typen.Page)}})()}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=320,this.Legendehoehe=this.Basics.InnerContenthoehe,this.Headerhoehe=160,this.Contenthoehe=this.Basics.InnerContenthoehe-this.Headerhoehe}catch(H){this.Debug.ShowErrorMessage(H.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}StandortCheckChanged(H){try{let ae=d.find(this.Pool.Standorteliste,{_id:H.value});ae.ShowInGesamtuebersicht=H.status;for(let J of this.Pool.Mitarbeiterliste)J.StandortID===ae._id&&(J.ShowInGesamtuebersicht=H.status);this.PrepareData()}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","StandortCheckChanged",this.Debug.Typen.Page)}}MitarbeiterCheckChanged(H){try{d.find(this.Pool.Mitarbeiterliste,{_id:H.value}).ShowInGesamtuebersicht=H.status,this.PrepareData()}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","MitarbeiterCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.PrepareData())}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(H){try{if(this.DB.CurrentMonatindex===H)return"orange"}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.PrepareData())}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}MonatButtonClicked(H){try{this.DB.CurrentMonatindex=H,this.PrepareData()}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","MonatButtonClicked",this.Debug.Typen.Page)}}SettingsCheckedChanged(H){try{switch(H.value){case this.DB.Urlaubstatusvarianten.Geplant:this.DB.GesamtuebersichtSetting.ShowGeplant=H.status;break;case this.DB.Urlaubstatusvarianten.Vertreteranfrage:this.DB.GesamtuebersichtSetting.ShowVertreteranfragen=H.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.DB.GesamtuebersichtSetting.ShowVertreterfreigaben=H.status;break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:this.DB.GesamtuebersichtSetting.ShowVertreterablehnungen=H.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen=H.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen=H.status}}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","function",this.Debug.Typen.Page)}}static \u0275fac=function(ae){return new(ae||ne)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(b.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ne,selectors:[["common-urlaub-gesamtuebersicht-page"]],viewQuery:function(ae,J){if(1&ae&&(e.\u0275\u0275viewQuery(v,5),e.\u0275\u0275viewQuery(M,5)),2&ae){let K;e.\u0275\u0275queryRefresh(K=e.\u0275\u0275loadQuery())&&(J.PageHeader=K.first),e.\u0275\u0275queryRefresh(K=e.\u0275\u0275loadQuery())&&(J.PageFooter=K.first)}},decls:118,vars:54,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"height","100%","position","absolute","overflow","scroll"],[1,"headerdivclass"],[2,"width","100%"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],[2,"height","10px"],[1,"docinnertable"],["align","center",2,"height","40px","font-size","120%",3,"colSpan"],["rowspan","3",2,"width","200px"],["style","width: 48px;","align","center",4,"ngFor","ngForOf"],["style","width: 40px;","align","center",4,"ngFor","ngForOf"],[1,"innercontentdivclass"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],[2,"width","100%","overflow","auto"],[1,"paddingtable"],["colspan","4"],["color","schwarz"],[2,"width","32px"],[3,"Value","Checked","CheckChanged"],[1,"legendedivclass"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[2,"text-align","center",3,"colSpan"],["align","center",2,"width","48px"],["color","baeblau"],["align","center",2,"width","40px"],[3,"color"],[2,"width","200px"],[3,"colSpan"],["style","width: 48px; height: 30px;","align","center",4,"ngFor","ngForOf"],["align","center",2,"width","48px","height","30px"],[4,"ngIf"],[1,"urlaubclass"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(ae,J){1&ae&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return J.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"div",4)(7,"div",5)(8,"table",6)(9,"tr")(10,"td",7)(11,"table",8)(12,"tr")(13,"td")(14,"div",9),e.\u0275\u0275listener("click",function(){return J.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,E,3,3,"td",11),e.\u0275\u0275elementStart(17,"td")(18,"div",9),e.\u0275\u0275listener("click",function(){return J.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",12),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr"),e.\u0275\u0275element(21,"td",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"tr")(23,"td",7)(24,"table",14)(25,"tr")(26,"td",15)(27,"b"),e.\u0275\u0275text(28),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(29,"tr"),e.\u0275\u0275element(30,"td",16),e.\u0275\u0275template(31,A,4,2,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"tr"),e.\u0275\u0275template(33,T,4,1,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"tr"),e.\u0275\u0275template(35,R,4,2,"td",18),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(36,"div",19)(37,"table",6)(38,"tr")(39,"td",7)(40,"table",14),e.\u0275\u0275template(41,x,7,3,"ng-container",11),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(42,"br")(43,"br")(44,"br")(45,"br")(46,"br"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(47,"div",20)(48,"div",21),e.\u0275\u0275listener("click",function(){return J.LegendeVisible=!J.LegendeVisible}),e.\u0275\u0275element(49,"ion-icon",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(50,"div",23)(51,"table",24)(52,"tr")(53,"td",25)(54,"ion-text",26)(55,"b"),e.\u0275\u0275text(56,"Allgemein"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(57,"tr"),e.\u0275\u0275element(58,"td",27),e.\u0275\u0275elementStart(59,"td")(60,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(W){return J.SettingsCheckedChanged(W)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(61,"td"),e.\u0275\u0275element(62,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(63,"td"),e.\u0275\u0275text(64,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(65,"tr"),e.\u0275\u0275element(66,"td"),e.\u0275\u0275elementStart(67,"td")(68,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(W){return J.SettingsCheckedChanged(W)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(69,"td"),e.\u0275\u0275element(70,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"td"),e.\u0275\u0275text(72,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(73,"tr"),e.\u0275\u0275element(74,"td"),e.\u0275\u0275elementStart(75,"td")(76,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(W){return J.SettingsCheckedChanged(W)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"td"),e.\u0275\u0275element(78,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(79,"td"),e.\u0275\u0275text(80,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(81,"tr"),e.\u0275\u0275element(82,"td"),e.\u0275\u0275elementStart(83,"td")(84,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(W){return J.SettingsCheckedChanged(W)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(85,"td"),e.\u0275\u0275element(86,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"td"),e.\u0275\u0275text(88,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(89,"tr"),e.\u0275\u0275element(90,"td"),e.\u0275\u0275elementStart(91,"td")(92,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(W){return J.SettingsCheckedChanged(W)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(93,"td"),e.\u0275\u0275element(94,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(95,"td"),e.\u0275\u0275text(96,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(97,"tr"),e.\u0275\u0275element(98,"td"),e.\u0275\u0275elementStart(99,"td")(100,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(W){return J.SettingsCheckedChanged(W)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(101,"td"),e.\u0275\u0275element(102,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(103,"td"),e.\u0275\u0275text(104,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(105,"table",24),e.\u0275\u0275template(106,ee,13,4,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(107,"br")(108,"br")(109,"br")(110,"br")(111,"br")(112,"br"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(113,"ion-footer"),e.\u0275\u0275element(114,"page-footer",null,30),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(116,X,1,7,"auswahl-dialog",31)(117,ce,1,6,"fi-mitarbeiter-auswahl",32)),2&ae&&(e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("width",J.Basics.Contentbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",J.Headerhoehe,"px"),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",J.DB.Monateliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("colSpan",J.Tagesumme+1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",J.Monatname," ",J.DB.Jahr,""),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",J.Kalenderwochenliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",J.Kalendertageliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",J.Kalendertageliste),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("top",J.Headerhoehe,"px")("height",J.Contenthoehe,"px"),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",J.Standortliste),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("height",J.Legendehoehe,"px")("width",J.Legendebreite,"px")("right",J.LegendeVisible?0:-(J.Legendebreite-14),"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",J.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",J.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",J.Legendehoehe,"px"),e.\u0275\u0275advance(10),e.\u0275\u0275property("Value",J.DB.Urlaubstatusvarianten.Geplant)("Checked",J.DB.GesamtuebersichtSetting.ShowGeplant),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",J.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",J.DB.Urlaubstatusvarianten.Vertreteranfrage)("Checked",J.DB.GesamtuebersichtSetting.ShowVertreteranfragen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",J.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",J.DB.Urlaubstatusvarianten.Vertreterfreigabe)("Checked",J.DB.GesamtuebersichtSetting.ShowVertreterfreigaben),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",J.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",J.DB.Urlaubstatusvarianten.Vertreterablehnung)("Checked",J.DB.GesamtuebersichtSetting.ShowVertreterablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",J.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",J.DB.Urlaubstatusvarianten.Genehmigt)("Checked",J.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",J.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",J.DB.Urlaubstatusvarianten.Abgelehnt)("Checked",J.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",J.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",J.Pool.Standorteliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngIf",J.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",J.ShowMitarbeiterauswahl))},styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;background:silver;right:0;top:0;bottom:0;z-index:20;overflow:visible;display:flex;flex-direction:row}.headerdivclass[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%}.innercontentdivclass[_ngcontent-%COMP%]{position:absolute;left:0;width:100%;overflow:auto}.urlaubclass[_ngcontent-%COMP%]{width:38px;height:20px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:80%}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ne})()},74484:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubsplanungPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(75908),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=o(6232),p=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:a.CommonUrlaubPlanungPage}]);f.CommonUrlaubsplanungPageModule=(()=>{class A{static \u0275fac=function(N){return new(N||A)};static \u0275mod=C.\u0275\u0275defineNgModule({type:A});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return A})()},75908:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubPlanungPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),b=i.__importStar(o(7992)),p=i.__importStar(o(9544)),S=i.__importStar(o(22848)),y=i.__importStar(o(29743)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(19668)),v=i.__importStar(o(34388)),M=i.__importStar(o(91368)),E=i.__importStar(o(10716)),A=i.__importStar(o(90212)),T=i.__importStar(o(63792)),R=i.__importStar(o(29856)),N=i.__importStar(o(77440)),P=i.__importStar(o(56584)),L=i.__importStar(o(25856)),x=i.__importStar(o(80887)),V=["PageHeader"],F=["PageFooter"];function ee(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Et=e.\u0275\u0275restoreView(He).index,it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.MonatButtonClicked(Et))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&je){const He=ht.$implicit,_t=ht.index,lt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",lt.GetMonatButtonColor(_t)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He)}}function X(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(lt.AddUrlaub())}),e.\u0275\u0275text(6,"Urlaub eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountResturlaub()<=0)}}function ce(je,ht){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",31),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",30),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&je){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Endestempel?He.DB.CurrentUrlaubzeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function Q(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(lt.CancelDatumClicked())}),e.\u0275\u0275element(2,"ion-icon",33),e.\u0275\u0275elementEnd()()}}function ne(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td")(5,"div",30),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,ce,6,1,"ng-container",17)(8,Q,3,0,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"tr"),e.\u0275\u0275elementEnd()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel?He.DB.CurrentUrlaubzeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning)}}function Y(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",He.DB.CountResturlaub()," Urlaubstage.")}}function H(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",47),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext().$implicit,Et=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Et.StellvertreterFestlegenClicked(lt))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext().$implicit,_t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.UrlaubsvertreterID?_t.GetStellvertretername(He):"Festlegen")}}function ae(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext().$implicit,_t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.UrlaubsvertreterID?_t.GetStellvertretername(He):"Festlegen")}}function J(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",35),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275template(8,H,2,1,"ion-button",44)(9,ae,2,1,"span",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",6)(11,"div",45),e.\u0275\u0275listener("click",function(){const Et=e.\u0275\u0275restoreView(He).$implicit,it=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(it.StatusClickedHandler(Et))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(12,"td",46),e.\u0275\u0275elementStart(13,"td")(14,"ion-button",47),e.\u0275\u0275listener("click",function(){const Et=e.\u0275\u0275restoreView(He).$implicit,it=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(it.UrlaubSuchen(Et))}),e.\u0275\u0275element(15,"ion-icon",48),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",49),e.\u0275\u0275listener("click",function(){const Et=e.\u0275\u0275restoreView(He).$implicit,it=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(it.UrlaubLoeschen(Et))}),e.\u0275\u0275element(18,"ion-icon",50),e.\u0275\u0275elementEnd()()()}if(2&je){const He=ht.$implicit,_t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(_t.GetDatum(He.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(_t.GetDatum(He.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(He.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",He.Status===_t.DB.Urlaubstatusvarianten.Geplant||He.Status===_t.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.Status!==_t.DB.Urlaubstatusvarianten.Geplant&&He.Status!==_t.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===_t.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",_t.DB.GetUrlaubStatuscolor(He.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",He.Planungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===_t.CheckLoschenEnabled(He))}}function K(je,ht){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,J,19,11,"tr",10),e.\u0275\u0275elementContainerEnd()),2&je){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",He.DB.CurrentUrlaub.Urlaubzeitspannen)}}function W(je,ht){1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function re(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",36)(3,"tr")(4,"td",37),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",37),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",38),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",37),e.\u0275\u0275text(11,"Stellvertreter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",37),e.\u0275\u0275text(13,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",39),e.\u0275\u0275text(15,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"td",40)(17,"td",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,K,2,1,"ng-container",17)(19,W,3,0,"ng-container",17),e.\u0275\u0275elementStart(20,"tr")(21,"td",41),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",35),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"td",42),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"tr")(27,"td",43)(28,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(lt.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(29,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(He.DB.CountResturlaub()),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!1===He.CheckUrlaubUpdatesAvailable())}}function G(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(lt.AddHomeofficeStart())}),e.\u0275\u0275text(6,"Homeoffice eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountHomeoffice()<=0)}}function ue(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",7)(3,"tr")(4,"td",6)(5,"div",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(lt.SaveHomeofficeEventHandler())}),e.\u0275\u0275elementStart(6,"table")(7,"tr")(8,"td",53)(9,"b"),e.\u0275\u0275text(10,"Fertig"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td"),e.\u0275\u0275element(12,"ion-icon",54),e.\u0275\u0275elementEnd()()()()()()()()()}}function ye(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Homeoffice eingetragen. Du hast ",He.DB.CountHomeoffice()," Homeofficetage.")}}function Ie(je,ht){1&je&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function be(je,ht){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"span"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,Ie,2,0,"span",17),e.\u0275\u0275elementContainerEnd()),2&je){const He=ht.$implicit,_t=ht.index,lt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",He.Startstring," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",_t0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeAbgelehnt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeFreigbeanfragen()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeGeplant()>0),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",He.DB.CountHomeoffice()," Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===He.CheckHomeofficeUpdatesAvailable())}}function wn(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",21)(2,"table",4)(3,"tr")(4,"td",28)(5,"table"),e.\u0275\u0275template(6,X,7,1,"tr",17)(7,ne,10,3,"tr",17)(8,Y,6,1,"tr",17)(9,re,30,4,"tr",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"td",28)(11,"table"),e.\u0275\u0275template(12,G,7,1,"tr",17)(13,ue,13,0,"tr",17)(14,ye,6,1,"tr",17)(15,hn,22,6,"tr",17),e.\u0275\u0275elementEnd()()()()()()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Homeofficezeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Homeofficezeitspannen.length>0)}}function An(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(lt){e.\u0275\u0275restoreView(He);const Et=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Et.AnsichtFeiertageCheckChanged(lt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",59),e.\u0275\u0275element(6,"ion-icon",64),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(lt){e.\u0275\u0275restoreView(He);const Et=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Et.AnsichtFerientageCheckChanged(lt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",59),e.\u0275\u0275element(14,"ion-icon",65),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_DE)}}function vn(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",66),e.\u0275\u0275listener("CheckChanged",function(lt){const Et=e.\u0275\u0275restoreView(He),it=Et.$implicit,Yt=Et.index,gt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(gt.DisplayExternCheckChanged(lt,it,Yt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",67),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&je){const He=ht.$implicit,_t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",_t.DB.CheckDisplayExternenUrlaub(He.MitarbeiterIDExtern))("Enabled",He.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(He.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",He.NameExtern," ",He.Text,"")}}function en(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,An,17,6,"ng-container",17),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(lt){e.\u0275\u0275restoreView(He);const Et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Et.AnsichtFeiertageCheckChanged(lt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",59),e.\u0275\u0275element(8,"ion-icon",62),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(lt){e.\u0275\u0275restoreView(He);const Et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Et.AnsichtFerientageCheckChanged(lt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",59),e.\u0275\u0275element(16,"ion-icon",63),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",59),e.\u0275\u0275text(59,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",59),e.\u0275\u0275text(67,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice Freigabe angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",59),e.\u0275\u0275text(74,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",59),e.\u0275\u0275text(81,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,vn,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===He.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",He.DB.UrlaublisteExtern)}}function dt(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",68),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",He.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Ue(je,ht){if(1&je&&(e.\u0275\u0275elementStart(0,"td",69),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He.Message)}}function we(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",70),e.\u0275\u0275listener("OkClickedEvent",function(lt){e.\u0275\u0275restoreView(He);const Et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Et.AuswahlOkButtonClicked(lt))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(lt.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",He.Auswahlliste)("Auswahlindex",He.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",He.Auswahltitel)("Iconname","")}}function Pe(je,ht){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",71),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(lt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(lt){e.\u0275\u0275restoreView(He);const Et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Et.MitarbeiterauswahlOkButtonClicked(lt))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(He);const lt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(lt.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",He.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",He.AuswahlIDliste)}}f.CommonUrlaubPlanungPage=(()=>{class je{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;Auswahlservice;Tools;Debug;PageHeader;PageFooter;Monateliste_Uebersicht;Monateliste_Mounseover;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Message;ShowMitarbeitereditor;AddUrlaubRunning;AddHomeofficeRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;constructor(He,_t,lt,Et,it,Yt,gt,Tt,Ht,Zt,wt){this.Menuservice=He,this.Basics=_t,this.DBMitarbeitersettings=lt,this.Pool=Et,this.DB=it,this.DBMitarbeiter=Yt,this.Const=gt,this.DBStandort=Tt,this.Auswahlservice=Ht,this.Tools=Zt,this.Debug=wt;try{this.Monateliste_Uebersicht=[],this.Monateliste_Uebersicht.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Uebersicht.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_Mounseover=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AddHomeofficeRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="Mitarbeiter wechseln",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource=""}catch($t){this.Debug.ShowErrorMessage($t.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(He){var _t=this;return n(function*(){try{let lt,Et;switch((0,u.default)().locale("de"),_t.Auswahldialogorigin){case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:_t.DB.Bundeslandkuerzel=He;let Yt=_t.DB.Bundeslandkuerzel.substring(0,2);_t.DB.ReadFeiertage(Yt).then(()=>{_t.ShowAuswahl=!1,_t.PrepareData()});break;case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:null!==He&&He!==_t.DB.CurrentUrlaubzeitspanne.Status&&(lt=d.find(_t.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:_t.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),lt.Status=He,lt.Status===_t.DB.Urlaubstatusvarianten.Geplant&&(lt.VertreteranfrageSended=!1,lt.VertreterantwortSended=!1,lt.FreigabeanfrageSended=!1,lt.FreigabeantwortSended=!1,lt.FreigabeantwortOfficeSended=!1,lt.Vertretunganfragezeitstempel=null,lt.Vertretungantwortzeitstempel=null,lt.Vertretungantwortzeitstempel=null,lt.Freigabeantwortzeitstempel=null,lt.FreigabeantwortOfficezeitstempel=null),Et=d.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.Jahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[Et]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.ShowAuswahl=!1}));break;case _t.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:_t.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(He),_t.Pool.Mitarbeitersettings.StandortFilter=null!==He?He._id:_t.Const.NONE,_t.DBMitarbeitersettings.UpdateMitarbeitersettings(_t.Pool.Mitarbeitersettings,null).then(()=>{_t.ShowAuswahl=!1,_t.DBStandort.StandortfilterChanged.emit()});break;case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:lt=d.find(_t.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:_t.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),_t.DB.CurrentUrlaubzeitspanne.UrlaubsvertreterID=He,lt.UrlaubsvertreterID=He,lt.Status=_t.DB.Urlaubstatusvarianten.Geplant,lt.FreigabeantwortSended=!1,lt.FreigabeanfrageSended=!1,lt.VertreterantwortSended=!1,Et=d.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.Jahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[Et]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.ShowAuswahl=!1})}}catch(lt){_t.Debug.ShowErrorMessage(lt.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",_t.Debug.Typen.Page)}})()}BundeslandClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland,this.Auswahltitel="Bundesland",this.Auswahlhoehe=600,this.Auswahlliste=this.BundeslandAuswahlliste,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.Bundeslandkuerzel}),this.ShowAuswahl=!0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","FortschrittClickedHandler",this.Debug.Typen.Page)}}PrepareData(){var He=this;return n(function*(){try{let _t=0;He.DB.Init(),He.DB.CheckSetup(),He.DB.SetPlanungsmonate(),He.DB.CountAnfragenanzahlen(),He.BundeslandAuswahlliste=[];for(let lt of He.DB.Regionenliste)He.BundeslandAuswahlliste.push({Index:_t,FirstColumn:lt.Name,SecoundColumn:lt.isoCode,Data:lt.isoCode}),_t++;He.DB.Bundesland=d.find(He.BundeslandAuswahlliste,{Data:He.DB.Bundeslandkuerzel}).FirstColumn}catch(_t){He.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","PrepareData",He.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(He){return(0,u.default)(He).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(He,_t){try{switch(_t){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=He.status,this.DB.ShowFerientage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=He.status,this.DB.ShowFerientage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(lt){this.Debug.ShowErrorMessage(lt,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(He,_t){try{switch(_t){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=He.status,this.DB.ShowFeiertage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=He.status,this.DB.ShowFeiertage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(lt){this.Debug.ShowErrorMessage(lt,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(He){try{if(this.DB.CurrentMonatindex===He)return"orange"}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(He){try{this.DB.CurrentMonatindex=He,this.DB.SetPlanungsmonate()}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddUrlaubRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddHomeofficeStart(){try{this.DB.CurrentHomeofficezeitspanne=null,this.AddHomeofficeRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeStart",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,null!==this.DB.CurrentUrlaubzeitspanne){this.DB.CurrentUrlaub.Urlaubzeitspannen.push(this.DB.CurrentUrlaubzeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(He){try{let _t=d.filter(this.DB.CurrentUrlaub.Urlaubzeitspannen,Et=>Et.ZeitspannenID!==He.ZeitspannenID);this.DB.CurrentUrlaub=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentUrlaub.Urlaubzeitspannen=_t;let lt=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[lt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(He,_t){try{switch(_t){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=He.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=He.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=He.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(lt){this.Debug.ShowErrorMessage(lt,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(He){try{let _t=(0,u.default)(He.Startstempel);this.DB.CurrentMonatindex=_t.month(),this.DB.SetPlanungsmonate()}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(He){try{return(0,u.default)(He).locale("de").format("DD. MMMM YYYY")}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(He){try{let _t;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(_t=d.find(this.Pool.Mitarbeiterliste,{_id:He[0]}),this.DB.CurrentMitarbeiter=_t,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(_t){this.Debug.ShowErrorMessage(_t.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let He=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:He,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),He++;for(let _t of this.Pool.Standorteliste)this.Auswahlliste.push({Index:He,FirstColumn:_t.Kuerzel,SecoundColumn:_t.Standort,Data:_t}),He++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(He){try{let _t,lt;this.DB.CurrentUrlaubzeitspanne=He,lt=0,this.Auswahlliste=[];for(let Et of this.DB.CurrentUrlaub.Projektbeteiligteliste)_t=d.find(this.Pool.Mitarbeiterliste,{_id:Et.MitarbeiterID}),d.isUndefined(_t)||(this.Auswahlliste.push({Index:lt,FirstColumn:_t.Vorname+" "+_t.Name,SecoundColumn:"",Data:_t._id}),lt++);this.Auswahltitel="Stellvertreter/in festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:He.UrlaubsvertreterID})}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(He){try{let _t=d.find(this.Pool.Mitarbeiterliste,{_id:He.UrlaubsvertreterID});return d.isUndefined(_t)?"unbekannt":_t.Vorname+" "+_t.Name}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(He,_t,lt){try{let Et=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:_t.MitarbeiterIDExtern});d.isUndefined(Et)||(Et.Display=He.status);let it=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[it]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Et){this.Debug.ShowErrorMessage(Et,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUrlaubUpdatesAvailable(){try{let He=!1;if(null!==this.DB.CurrentUrlaub)for(let _t of this.DB.CurrentUrlaub.Urlaubzeitspannen)_t.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==_t.UrlaubsvertreterID&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckUrlaubUpdatesAvailable",this.Debug.Typen.Page)}}CheckHomeofficeUpdatesAvailable(){try{let He=!1,_t=d.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID});if(null!==this.DB.CurrentUrlaub)for(let lt of this.DB.CurrentUrlaub.Homeofficezeitspannen)lt.Status===this.DB.Urlaubstatusvarianten.Geplant&&_t.Homeofficefreigabepersonen.length>0&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckHomeofficeUpdatesAvailable",this.Debug.Typen.Page)}}CheckLoschenEnabled(He){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||He.Status===this.DB.Urlaubstatusvarianten.Geplant||He.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||He.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","CheckLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.DB.CurrentUrlaubzeitspanne=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(He){try{let _t=0;this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentUrlaubzeitspanne=He,this.Auswahlliste=[],this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:He.Status})}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}AddHomeoffice(){try{if(null!==this.DB.CurrentHomeofficezeitspanne){this.DB.CurrentUrlaub.Homeofficezeitspannen.push(this.DB.CurrentHomeofficezeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeFinished",this.Debug.Typen.Page)}}SaveHomeofficeEventHandler(){try{this.AddHomeofficeRunning=!1,this.DB.CurrentHomeofficezeitspanne=null,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","SaveHomeofficeEventHandler",this.Debug.Typen.Page)}}GetHomeofficezeitspannenByStataus(He){try{return d.filter(this.DB.CurrentUrlaub.Homeofficezeitspannen,{Status:He})}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetHomeofficezeitspannenByStataus",this.Debug.Typen.Page)}}static \u0275fac=function(_t){return new(_t||je)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(b.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.ConstProvider),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(v.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:je,selectors:[["common-urlaub-planung-page"]],viewQuery:function(_t,lt){if(1&_t&&(e.\u0275\u0275viewQuery(V,5),e.\u0275\u0275viewQuery(F,5)),2&_t){let Et;e.\u0275\u0275queryRefresh(Et=e.\u0275\u0275loadQuery())&&(lt.PageHeader=Et.first),e.\u0275\u0275queryRefresh(Et=e.\u0275\u0275loadQuery())&&(lt.PageFooter=Et.first)}},decls:51,vars:29,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["valign","top","align","center",2,"width","50%","padding","4px"],["size","small",3,"disabled","click"],[1,"datumdivclass"],[2,"width","100px","text-align","center"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable",2,"width","520px"],[2,"text-align","center"],[1,"docinnertablesmall"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"width","30px"],["colspan","2",2,"text-align","right","font-weight","bold"],["colspan","5"],["align","center","colspan","8"],["size","small","color","grau",3,"click",4,"ngIf"],[1,"legendedivclass",3,"click"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],["size","small","color","rot",3,"disabled","click"],["name","trash","slot","icon-only",2,"font-size","16px"],["colspan","8"],[1,"datumokdivclass",3,"click"],[2,"color","white","font-size","120%"],["name","checkmark-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable"],[2,"font-weight","bold","text-align","left","width","500px"],[2,"font-weight","bold","text-align","center","width","50px"],["colspan","3",2,"text-align","left"],[1,"legendedivclass"],["size","small","color","rot",3,"click"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(_t,lt){1&_t&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return lt.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return lt.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,ee,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return lt.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return lt.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return lt.AddHomeoffice()})("FeiertagCrossedEvent",function(it){return lt.FeiertagCrossedEventHandler(it)})("FerientagCrossedEvent",function(it){return lt.FerientagCrossedEventHandler(it)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("AddUrlaubFinished",function(){return lt.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return lt.AddHomeoffice()})("FeiertagCrossedEvent",function(it){return lt.FeiertagCrossedEventHandler(it)})("FerientagCrossedEvent",function(it){return lt.FerientagCrossedEventHandler(it)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return lt.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return lt.AddHomeoffice()})("FeiertagCrossedEvent",function(it){return lt.FeiertagCrossedEventHandler(it)})("FerientagCrossedEvent",function(it){return lt.FerientagCrossedEventHandler(it)}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(30,wn,16,8,"tr",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(31,"div",18)(32,"table")(33,"tr")(34,"td")(35,"div",19),e.\u0275\u0275listener("click",function(){return lt.LegendeVisible=!lt.LegendeVisible}),e.\u0275\u0275element(36,"ion-icon",20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"td",21),e.\u0275\u0275template(38,en,85,28,"table",22),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(39,"ion-footer")(40,"page-footer",null,23)(42,"table",4)(43,"tr")(44,"td",24)(45,"table",13)(46,"tr"),e.\u0275\u0275template(47,dt,2,1,"td",17)(48,Ue,2,1,"td",25),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(49,we,1,7,"auswahl-dialog",26)(50,Pe,1,6,"fi-mitarbeiter-auswahl",27)),2&_t&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",lt.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",lt.DB.Jahr)("Monatindex",lt.DB.FirstMonatIndex)("AddUrlaubRunning",lt.AddUrlaubRunning)("AddHomeofficerunning",lt.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",lt.DB.Jahr)("ShowYear",!0)("Monatindex",lt.DB.CurrentMonatindex)("AddUrlaubRunning",lt.AddUrlaubRunning)("AddHomeofficerunning",lt.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",lt.DB.Jahr)("Monatindex",lt.DB.LastMonatIndex)("AddUrlaubRunning",lt.AddUrlaubRunning)("AddHomeofficerunning",lt.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==lt.DB.CurrentUrlaub),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",lt.Legendehoehe,"px")("width",lt.Legendebreite,"px")("right",lt.LegendeVisible?0:-(lt.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",lt.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",lt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==lt.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==lt.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==lt.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",lt.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",lt.ShowMitarbeiterauswahl))},dependencies:[M.NgForOf,M.NgIf,E.IonButton,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,A.PageHeaderComponent,T.PageHeaderMenuComponent,R.PageFooterComponent,N.PjProjektpunktDateKWPickerComponent,P.AuswahlDialogComponent,L.CheckboxClonComponent,x.FiMitarbeiterAuswahlComponent],styles:[".datumdivclass[_ngcontent-%COMP%]{width:200px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:#307ac1;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;padding:4px}.datumcanceldivclass[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:red;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.datumokdivclass[_ngcontent-%COMP%]{width:120px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:green;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;font-size:90%;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return je})()},19204:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubsuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(62364),e=o(70216),c=o(56568),l=o(6168),g=o(90520),b=o(6232),p=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:a.CommonUrlaubUebersichtPage}]);f.CommonUrlaubsuebersichtPageModule=(()=>{class A{static \u0275fac=function(N){return new(N||A)};static \u0275mod=C.\u0275\u0275defineNgModule({type:A});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return A})()},62364:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubUebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(7992)),b=i.__importStar(o(9544)),p=i.__importStar(o(29743)),S=i.__importStar(o(22848)),y=i.__importStar(o(15024)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(34388)),v=i.__importStar(o(91368)),M=i.__importStar(o(10716)),E=i.__importStar(o(90212)),A=i.__importStar(o(63792)),T=i.__importStar(o(29856)),R=i.__importStar(o(77440)),N=i.__importStar(o(56584)),P=i.__importStar(o(25856)),L=i.__importStar(o(80887)),x=["PageHeader"],V=["PageFooter"];function F(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ze.FeiertagCrossedEventHandler(De))})("FerientagCrossedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ze.FerientagCrossedEventHandler(De))}),e.\u0275\u0275elementEnd()()}if(2&ye){const be=Ie.index,ie=e.\u0275\u0275nextContext().index,De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",De.DB.Jahr)("Monatindex",6*ie+be)}}function ee(ye,Ie){if(1&ye&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,F,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&ye){const be=Ie.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",be)}}function X(ye,Ie){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,ee,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",be.Monateliste_Gesamtjahr)}}function ce(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.FeiertagCrossedEventHandler(De))})("FerientagCrossedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.FerientagCrossedEventHandler(De))}),e.\u0275\u0275elementEnd()()}if(2&ye){const be=Ie.index,ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",ie.DB.Jahr)("Monatindex",be)}}function Q(ye,Ie){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,ce,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",be.Monateliste_HalbjahrEins)}}function ne(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.FeiertagCrossedEventHandler(De))})("FerientagCrossedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.FerientagCrossedEventHandler(De))}),e.\u0275\u0275elementEnd()()}if(2&ye){const be=Ie.index,ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",ie.DB.Jahr)("Monatindex",be+6)}}function Y(ye,Ie){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,ne,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",be.Monateliste_HalbjahrZwei)}}function H(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.AnsichtFeiertageCheckChanged(De,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",28),e.\u0275\u0275element(6,"ion-icon",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ze.AnsichtFerientageCheckChanged(De,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",28),e.\u0275\u0275element(14,"ion-icon",32),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&ye){const be=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",be.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",be.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Ferien_DE)}}function ae(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(De){const ze=e.\u0275\u0275restoreView(be),qe=ze.$implicit,nt=ze.index,ft=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ft.DisplayExternCheckChanged(De,qe,nt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",34),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&ye){const be=Ie.$implicit,ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",ie.DB.CheckDisplayExternenUrlaub(be.MitarbeiterIDExtern))("Enabled",be.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(be.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",be.NameExtern," ",be.Text,"")}}function J(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,H,17,6,"ng-container",9),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ze.AnsichtFeiertageCheckChanged(De,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",28),e.\u0275\u0275element(8,"ion-icon",29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ze.AnsichtFerientageCheckChanged(De,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",28),e.\u0275\u0275element(16,"ion-icon",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,ae,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===be.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",be.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",be.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",be.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",be.DB.UrlaublisteExtern)}}function K(ye,Ie){if(1&ye&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",be.Flagsource,e.\u0275\u0275sanitizeUrl)}}function W(ye,Ie){if(1&ye&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(be.Message)}}function re(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ze.AuswahlOkButtonClicked(De))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(be);const De=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(De.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",be.Auswahlliste)("Auswahlindex",be.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",be.Auswahltitel)("Iconname","")}}function G(ye,Ie){if(1&ye){const be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(be);const De=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(De.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(De){e.\u0275\u0275restoreView(be);const ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ze.MitarbeiterauswahlOkButtonClicked(De))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(be);const De=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(De.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ye){const be=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",be.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",be.AuswahlIDliste)}}f.CommonUrlaubUebersichtPage=(()=>{class ye{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Monateliste_Gesamtjahr;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Ansichtvariante;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;AuswahlIDliste;MitarbeiterauswahlTitel;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Monateliste_HalbjahrEins;Monateliste_HalbjahrZwei;constructor(be,ie,De,ze,qe,nt,ft,rt,mt,Wt){this.Menuservice=be,this.Basics=ie,this.Pool=De,this.DB=ze,this.Const=qe,this.DBMitarbeiter=nt,this.DBMitarbeitersettings=ft,this.DBStandort=rt,this.Auswahlservice=mt,this.Debug=Wt;try{this.Monateliste_Gesamtjahr=[],this.Monateliste_Gesamtjahr.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Gesamtjahr.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_HalbjahrEins=["Januar","Februar","M\xe4rz","April","Mai","Juni"],this.Monateliste_HalbjahrZwei=["Juli","August","September","Oktober","November","Dezember"],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(be){this.Debug.ShowErrorMessage(be,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(be){this.Debug.ShowErrorMessage(be,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(be){this.Debug.ShowErrorMessage(be.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,u.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(be){this.Debug.ShowErrorMessage(be,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(be){try{let ie;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(ie=d.find(this.Pool.Mitarbeiterliste,{_id:be[0]}),this.DB.CurrentMitarbeiter=ie,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(ie){this.Debug.ShowErrorMessage(ie.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(be){var ie=this;return n(function*(){try{switch(ie.Auswahldialogorigin){case ie.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:ie.DB.Bundeslandkuerzel=be;let De=ie.DB.Bundeslandkuerzel.substring(0,2);ie.DB.ReadFeiertage(De);break;case ie.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:ie.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(be),ie.Pool.Mitarbeitersettings.StandortFilter=null!==be?be._id:ie.Const.NONE,ie.DBMitarbeitersettings.UpdateMitarbeitersettings(ie.Pool.Mitarbeitersettings,null).then(()=>{ie.ShowAuswahl=!1,ie.DBStandort.StandortfilterChanged.emit()})}ie.ShowAuswahl=!1,ie.PrepareData()}catch(De){ie.Debug.ShowErrorMessage(De.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",ie.Debug.Typen.Page)}})()}PrepareData(){var be=this;return n(function*(){try{let ie=0;be.DB.Init(),be.DB.CheckSetup(),be.DB.SetPlanungsmonate(),be.DB.CountAnfragenanzahlen(),be.BundeslandAuswahlliste=[];for(let De of be.DB.Regionenliste)be.BundeslandAuswahlliste.push({Index:ie,FirstColumn:De.Name,SecoundColumn:De.isoCode,Data:De.isoCode}),ie++;be.DB.Bundesland=d.find(be.BundeslandAuswahlliste,{Data:be.DB.Bundeslandkuerzel}).FirstColumn}catch(ie){be.Debug.ShowErrorMessage(ie,"Urlaubsuebersicht Page","PrepareData",be.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(be){try{this.Message=be.Name,""!==be.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===be.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(ie){this.Debug.ShowErrorMessage(ie,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(be){try{this.Message=be.Name,""!==be.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===be.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(ie){this.Debug.ShowErrorMessage(ie,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(be){return(0,u.default)(be).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let be=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:be,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),be++;for(let ie of this.Pool.Standorteliste)this.Auswahlliste.push({Index:be,FirstColumn:ie.Kuerzel,SecoundColumn:ie.Standort,Data:ie}),be++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(be){this.Debug.ShowErrorMessage(be.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(be,ie,De){try{let ze=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:ie.MitarbeiterIDExtern});d.isUndefined(ze)||(ze.Display=be.status);let qe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[qe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(ze){this.Debug.ShowErrorMessage(ze,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(be,ie){try{switch(ie){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=be.status,this.DB.ShowFeiertage_DE=be.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=be.status,this.DB.ShowFeiertage_BG=be.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(be,ie){try{switch(ie){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=be.status,this.DB.ShowFerientage_DE=be.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=be.status,this.DB.ShowFerientage_BG=be.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(be){this.Debug.ShowErrorMessage(be,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(be){this.Debug.ShowErrorMessage(be,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(be){this.Debug.ShowErrorMessage(be,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}static \u0275fac=function(ie){return new(ie||ye)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(b.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ye,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(ie,De){if(1&ie&&(e.\u0275\u0275viewQuery(x,5),e.\u0275\u0275viewQuery(V,5)),2&ie){let ze;e.\u0275\u0275queryRefresh(ze=e.\u0275\u0275loadQuery())&&(De.PageHeader=ze.first),e.\u0275\u0275queryRefresh(ze=e.\u0275\u0275loadQuery())&&(De.PageFooter=ze.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],[1,"paddingtable"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"paddingsmalltable",2,"width","100%"],[4,"ngFor","ngForOf"],[2,"width","20px"],["style","width: 16%; height: inherit","valign","top",4,"ngFor","ngForOf"],["valign","top",2,"width","16%","height","inherit"],[3,"Jahr","Monatindex","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(ie,De){1&ie&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return De.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return De.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return De.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return De.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,X,3,1,"ng-container",9)(23,Q,6,1,"ng-container",9)(24,Y,6,1,"ng-container",9),e.\u0275\u0275elementStart(25,"div",10)(26,"table")(27,"tr")(28,"td")(29,"div",11),e.\u0275\u0275listener("click",function(){return De.LegendeVisible=!De.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,J,56,20,"table",14),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(33,"ion-footer")(34,"page-footer",null,15)(36,"table",4)(37,"tr")(38,"td",16)(39,"table",17)(40,"tr"),e.\u0275\u0275template(41,K,2,1,"td",9)(42,W,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,re,1,7,"auswahl-dialog",19)(44,G,1,6,"fi-mitarbeiter-auswahl",20)),2&ie&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",De.Ansichtvariante===De.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",De.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",De.Ansichtvariante===De.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",De.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",De.Ansichtvariante===De.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",De.DB.Jahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.Ansichtvariante===De.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.Ansichtvariante===De.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.Ansichtvariante===De.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",De.Legendehoehe,"px")("width",De.Legendebreite,"px")("right",De.LegendeVisible?0:-(De.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",De.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",De.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==De.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==De.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==De.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,E.PageHeaderComponent,A.PageHeaderMenuComponent,T.PageFooterComponent,R.PjProjektpunktDateKWPickerComponent,N.AuswahlDialogComponent,P.CheckboxClonComponent,L.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:200px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ye})()},99988:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FIMitarbeiterlistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(56568),a=o(10716),e=o(54780),c=o(70216),l=o(6512),g=o(87143),b=o(90520),p=o(6168),S=o(27328),y=o(10272),m=o(7388),h=n.__importStar(o(54496)),v=(n.__importStar(o(56568)),[{path:"",component:e.FiMitarbeiterlistePage}]);f.FIMitarbeiterlistePageModule=(()=>{class E{static \u0275fac=function(R){return new(R||E)};static \u0275mod=h.\u0275\u0275defineNgModule({type:E});static \u0275inj=h.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,a.IonicModule,u.RouterModule.forChild(v),c.PageHeaderModule,b.PageFooterModule,l.AbstandElementFixedModule,g.AlphabetModule,p.PageHeaderMenuModule,S.FiMitarbeiterEditorModule,y.AuswahlDialogModule,m.CheckboxClonModule]})}return E})()},54780:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterlistePage=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importStar(o(54496)),u=n.__importStar(o(14652)),a=n.__importStar(o(34388)),e=n.__importStar(o(19668)),c=n.__importStar(o(29743)),l=n.__importStar(o(22848)),g=n.__importStar(o(58864)),b=n.__importStar(o(48044)),p=n.__importStar(o(7992)),S=n.__importStar(o(91368)),y=n.__importStar(o(10716)),m=n.__importStar(o(90212)),h=n.__importStar(o(29856)),C=n.__importStar(o(99031)),v=n.__importStar(o(63792)),M=n.__importStar(o(82384)),E=n.__importStar(o(56584)),A=n.__importStar(o(25856)),T=["Alphabet"],R=["PageHeader"],N=["PageFooter"];function P(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",23)(2,"ion-text",40)(3,"b"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()()()()),2&W){const G=d.\u0275\u0275nextContext().index,ue=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(ue.Mitarbeiterbuchstabenliste[G])}}function L(W,re){1&W&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",43),d.\u0275\u0275elementEnd())}function x(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",42),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,L,2,0,"td",11),d.\u0275\u0275elementStart(4,"td"),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()),2&W){const G=d.\u0275\u0275nextContext(2).$implicit,ue=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",G.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",G.Email===ue.Pool.Mitarbeiterdaten.Email&&""===G.Kuerzel||""===G.StandortID),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate3(" ",G.Name," ",G.Vorname," / ",G.Kuerzel," ")}}function V(W,re){1&W&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",43),d.\u0275\u0275elementEnd())}function F(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",42),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,V,2,0,"td",11),d.\u0275\u0275elementStart(4,"td")(5,"span"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"span",44),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(9,"span"),d.\u0275\u0275text(10),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11),d.\u0275\u0275elementEnd()()),2&W){const G=d.\u0275\u0275nextContext(2).$implicit,ue=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",G.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",G.Email===ue.Pool.Mitarbeiterdaten.Email&&""===G.Kuerzel||""===G.StandortID),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(G.Text_A),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(G.Text_B),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(G.Text_C),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" / ",G.Kuerzel," ")}}function ee(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"table",41),d.\u0275\u0275template(1,x,6,6,"tr",11)(2,F,12,7,"tr",11),d.\u0275\u0275elementEnd()),2&W){const G=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!G.Filtered),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",G.Filtered)}}function X(W,re){1&W&&(d.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),d.\u0275\u0275element(3,"ion-icon",46),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"td",47),d.\u0275\u0275text(5,"Administrator"),d.\u0275\u0275elementEnd()()())}function ce(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),d.\u0275\u0275element(3,"ion-icon",48),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"td",47),d.\u0275\u0275text(5,"Urlaubsfreigaben"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"tr"),d.\u0275\u0275element(7,"td"),d.\u0275\u0275elementStart(8,"td",49),d.\u0275\u0275text(9),d.\u0275\u0275elementEnd()()()),2&W){const G=d.\u0275\u0275nextContext().$implicit,ue=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(ue.GetStandortliste(G.Urlaubsfreigabeorte))}}function Q(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),d.\u0275\u0275element(3,"ion-icon",50),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"td",47),d.\u0275\u0275text(5,"Homeofficefreigaben"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"tr"),d.\u0275\u0275element(7,"td"),d.\u0275\u0275elementStart(8,"td",49),d.\u0275\u0275text(9),d.\u0275\u0275elementEnd()()()),2&W){const G=d.\u0275\u0275nextContext().$implicit,ue=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(ue.GetStandortliste(G.Homeofficefreigabestandorte))}}function ne(W,re){if(1&W){const G=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"ion-item",21),d.\u0275\u0275listener("click",function(){const Ie=d.\u0275\u0275restoreView(G).$implicit,be=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(be.MitrabeiterButtonClicked(Ie))}),d.\u0275\u0275elementStart(1,"ion-grid",22),d.\u0275\u0275template(2,P,5,1,"ion-row",11),d.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",23)(5,"div",24)(6,"table",14)(7,"tr")(8,"td",25)(9,"table",26)(10,"tr")(11,"td"),d.\u0275\u0275template(12,ee,3,2,"table",27),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td")(15,"table",28)(16,"tr"),d.\u0275\u0275element(17,"td",29),d.\u0275\u0275elementStart(18,"td",30),d.\u0275\u0275text(19,"Standort:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(20,"td",31),d.\u0275\u0275text(21),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(22,"td",32),d.\u0275\u0275elementStart(23,"td",33),d.\u0275\u0275text(24,"Email:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(25,"td",8),d.\u0275\u0275text(26),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(27,"td",32),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(28,"tr"),d.\u0275\u0275element(29,"td",29),d.\u0275\u0275elementStart(30,"td",30),d.\u0275\u0275text(31,"Possition:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(32,"td",31),d.\u0275\u0275text(33),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(34,"td",32)(35,"td",34),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(36,"td",35)(37,"table",36)(38,"tr")(39,"td",37),d.\u0275\u0275template(40,X,6,0,"table",38),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(41,"td",37),d.\u0275\u0275template(42,ce,10,1,"table",38),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(43,"td",37),d.\u0275\u0275template(44,Q,10,1,"table",38),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(45,"td",39),d.\u0275\u0275elementEnd()()()()()()()()()()}if(2&W){const G=re.$implicit,ue=re.index,ye=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",""!==ye.Mitarbeiterbuchstabenliste[ue]),d.\u0275\u0275advance(10),d.\u0275\u0275property("ngIf",null!==G&&null!==ye.Pool.Mitarbeiterdaten),d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(ye.DBStandort.GetStandort(G.StandortID)),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(G.Email),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate(ye.DB.GetPositionsbezeichnung(G.PositionID)),d.\u0275\u0275advance(7),d.\u0275\u0275property("ngIf",G.Planeradministrator),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",G.Urlaubsfreigaben),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",G.Homeofficefreigaben)}}function Y(W,re){if(1&W&&(d.\u0275\u0275elementStart(0,"ion-list"),d.\u0275\u0275template(1,ne,46,8,"ion-item",20),d.\u0275\u0275elementEnd()),2&W){const G=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",G.Mitarbeiterliste)}}function H(W,re){1&W&&(d.\u0275\u0275elementStart(0,"table",51)(1,"tr")(2,"td",52),d.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),d.\u0275\u0275elementEnd()()())}function ae(W,re){if(1&W){const G=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",53),d.\u0275\u0275listener("StandortClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.StandortClickedHandler())})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.ShowEditor=!1)})("OkClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.ShowEditor=!1)})("ResturlaubEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.ResturlaubClicked())})("AnredeClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.AnredeClickedEventHandler())})("PositionClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.PositionClickedEventHandler())})("UrlaubClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.UrlaubClickedEventHandler())}),d.\u0275\u0275elementEnd()}if(2&W){const G=d.\u0275\u0275nextContext();d.\u0275\u0275property("Dialogbreite",1280)("Titel",G.GetDialogTitel())}}function J(W,re){if(1&W){const G=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"auswahl-dialog",54),d.\u0275\u0275listener("OkClickedEvent",function(ye){d.\u0275\u0275restoreView(G);const Ie=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ie.AuswahlOkButtonClicked(ye))})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(G);const ye=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ye.ShowAuswahl=!1)}),d.\u0275\u0275elementEnd()}if(2&W){const G=d.\u0275\u0275nextContext();d.\u0275\u0275property("Auswahlliste",G.Auswahlliste)("Auswahlindex",G.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",G.Auswahltitel)("Iconname",G.GetDialogTitelicon())}}f.FiMitarbeiterlistePage=(()=>{class W{Basics;Debug;Tools;Const;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Inputtimer;Listenbreite;ShowEditor;EditorValid;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;Freigabefiltervarianten={Keiner:"keiner",Administrator:"Administrator",Urlaubsfreigaben:"Urlaubsfreigaben",Homeofficefreigaben:"Homeofficefreigaben"};Freigabefilter;constructor(G,ue,ye,Ie,be,ie,De,ze){this.Basics=G,this.Debug=ue,this.Tools=ye,this.Const=Ie,this.DB=be,this.DBStandort=ie,this.Auswahlservice=De,this.Pool=ze;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabet=[],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterliste=[],this.Alphapetbreite=44,this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Mitarbeiteralphabet=this.Standardalphabet,this.Mitarbeiterbuchstabenliste=[],this.Mitarbeiterfiltertext="",this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.StandortfilterSubsciption=null,this.ShowMeOnly=!1,this.ShowArchivierte=!1,this.ShowAktuelle=!0,this.Freigabefilter=this.Freigabefiltervarianten.Keiner}catch(qe){this.Debug.ShowErrorMessage(qe.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null),null!==this.StandortfilterSubsciption&&(this.StandortfilterSubsciption.unsubscribe(),this.StandortfilterSubsciption=null)}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let G=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-G-4,this.Alphabetcomponent.InitScreen()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(G){try{this.DB.CurrentMitarbeiter=i.cloneDeep(G),this.ShowEditor=!0}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(G){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=G,this.PrepareDaten()}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(G){try{let ue=G.Name.substring(0,1).toUpperCase();return ue!==this.Lastletter?(this.Lastletter=ue,ue):""}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let G,ue,ye,Ie,be,ie,De,ze,qe,nt,ft,rt;if(null!==this.Pool.Mitarbeiterliste){if(Ie=i.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",Ie.sort((mt,Wt)=>mt.Name>Wt.Name?-1:mt.Namemt.Archiviert):this.ShowAktuelle?G=i.filter(G,mt=>!mt.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(G=[])),this.Freigabefilter!==this.Freigabefiltervarianten.Keiner)switch(this.Freigabefilter){case this.Freigabefiltervarianten.Administrator:G=i.filter(G,{Planeradministrator:!0});break;case this.Freigabefiltervarianten.Urlaubsfreigaben:G=i.filter(G,{Urlaubsfreigaben:!0});break;case this.Freigabefiltervarianten.Homeofficefreigaben:G=i.filter(G,{Homeofficefreigaben:!0})}if(null!==this.DBStandort.CurrentStandortfilter&&(G=i.filter(G,mt=>mt.StandortID===this.DBStandort.CurrentStandortfilter._id)),G.sort((mt,Wt)=>mt.NameWt.Name?1:0),G.length>6){this.Mitarbeiteralphabet=["Alle"];for(let mt of G)ye=mt.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(ye)&&this.Mitarbeiteralphabet.push(ye)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){ue=i.cloneDeep(G),G=[];for(let mt of ue)ye=mt.Name.substring(0,1).toUpperCase(),ye="\xc4"===ye?"A":ye,ye="\xd6"===ye?"O":ye,ye="\xdc"===ye?"U":ye,this.Mitarbeiteralphabetauswahl===ye&&G.push(mt)}if(""!==this.Mitarbeiterfiltertext){ue=i.cloneDeep(G),G=[];for(let mt of ue)ft=this.Mitarbeiterfiltertext.toLowerCase(),rt=mt.Name.toLowerCase(),nt=rt.indexOf(ft),-1!==nt&&(be=mt.Name.length,qe=ft.length,ie=mt.Name.substr(0,nt),De=mt.Name.substr(nt,qe),qe=be-qe-nt,ze=mt.Name.substr(be-qe,qe),mt.Filtered=!0,mt.Text_A=ie,mt.Text_B=De,mt.Text_C=ze,G.push(mt))}this.Mitarbeiterbuchstabenliste=[];for(let mt of G)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(mt));this.Mitarbeiterliste=i.cloneDeep(G)}}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(G){try{this.EditorValid=G}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let G=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let ue of this.Pool.Standorteliste)this.Auswahlliste.push({Index:G,FirstColumn:ue.Kuerzel,SecoundColumn:ue.Ort,Data:ue}),G++;this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(G){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=G;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=G;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=G._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position:this.DB.CurrentMitarbeiter.PositionID=G;break;case"Resturlaub":this.DB.CurrentMitarbeiter.Resturlaub=G;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=G,this.Pool.Mitarbeitersettings.StandortFilter=null!==G?G._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(ue=>{this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}GetDialogTitelicon(){try{if(!this.DB.CurrentMitarbeiter&&!this.Pool.Mitarbeiterdaten)return"help-outline";switch(this.Auswahltitel){case"Standort festlegen":case"Standortfilter festlegen":return"location-outline";case"Fachbereich festlegen":return"hammer-outline";default:return"help-outline"}}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(G){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=G,this.PrepareDaten()}catch(ue){this.Debug.ShowErrorMessage(ue.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let G=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:G,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),G++;for(let ue of this.Pool.Standorteliste)this.Auswahlliste.push({Index:G,FirstColumn:ue.Kuerzel,SecoundColumn:ue.Ort,Data:ue}),G++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(G){try{this.ShowMeOnly=G.status,!0===this.ShowMeOnly&&(this.DBStandort.CurrentStandortfilter=null,this.Pool.Mitarbeitersettings.StandortFilter=this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()})),this.PrepareDaten()}catch(ue){this.Debug.ShowErrorMessage(ue,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(G){try{this.ShowArchivierte=G.status,this.PrepareDaten()}catch(ue){this.Debug.ShowErrorMessage(ue,"Mitarbeiterliste","ShowArchivierteChanged",this.Debug.Typen.Page)}}AnredeClickedEventHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Anrede festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede,this.Auswahlliste.push({Index:0,FirstColumn:"Unbekannt",SecoundColumn:"",Data:this.Const.NONE}),this.Auswahlliste.push({Index:1,FirstColumn:"Frau",SecoundColumn:"",Data:"Frau"}),this.Auswahlliste.push({Index:2,FirstColumn:"Herr",SecoundColumn:"",Data:"Herr"}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(G){this.Debug.ShowErrorMessage(G,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub,this.Auswahlliste.push({Index:0,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:1,FirstColumn:"21",SecoundColumn:"",Data:21}),this.Auswahlliste.push({Index:2,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlliste.push({Index:3,FirstColumn:"23",SecoundColumn:"",Data:23}),this.Auswahlliste.push({Index:4,FirstColumn:"24",SecoundColumn:"",Data:24}),this.Auswahlliste.push({Index:5,FirstColumn:"25",SecoundColumn:"",Data:25}),this.Auswahlliste.push({Index:6,FirstColumn:"26",SecoundColumn:"",Data:26}),this.Auswahlliste.push({Index:7,FirstColumn:"27",SecoundColumn:"",Data:27}),this.Auswahlliste.push({Index:8,FirstColumn:"28",SecoundColumn:"",Data:28}),this.Auswahlliste.push({Index:9,FirstColumn:"29",SecoundColumn:"",Data:29}),this.Auswahlliste.push({Index:10,FirstColumn:"30",SecoundColumn:"",Data:30}),this.Auswahlliste.push({Index:11,FirstColumn:"31",SecoundColumn:"",Data:31}),this.Auswahlliste.push({Index:12,FirstColumn:"32",SecoundColumn:"",Data:32}),this.Auswahlliste.push({Index:13,FirstColumn:"33",SecoundColumn:"",Data:33}),this.Auswahlliste.push({Index:14,FirstColumn:"34",SecoundColumn:"",Data:34}),this.Auswahlliste.push({Index:15,FirstColumn:"35",SecoundColumn:"",Data:35}),this.Auswahlliste.push({Index:16,FirstColumn:"36",SecoundColumn:"",Data:36}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(G){this.Debug.ShowErrorMessage(G,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(G){try{this.ShowAktuelle=G.status,this.PrepareDaten()}catch(ue){this.Debug.ShowErrorMessage(ue,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}GetStandortliste(G){try{let ue,ye=[],Ie="",be=0;for(let ie of G)ue=i.find(this.Pool.Standorteliste,{_id:ie}),i.isUndefined(ue)||ye.push(ue);for(ue of(ye.sort((ie,De)=>ie.OrtDe.Ort?1:0),ye))Ie+=ue.Ort.substring(0,3).toUpperCase(),beG.Data===this.DB.CurrentMitarbeiter.Resturlaub),this.ShowAuswahl=!0}catch(G){this.Debug.ShowErrorMessage(G,"Mitarbeiterliste","ResturlaubClicked",this.Debug.Typen.Page)}}static \u0275fac=function(ue){return new(ue||W)(d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(c.ConstProvider),d.\u0275\u0275directiveInject(l.DatabaseMitarbeiterService),d.\u0275\u0275directiveInject(g.DatabaseStandorteService),d.\u0275\u0275directiveInject(b.AuswahlDialogService),d.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:W,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(ue,ye){if(1&ue&&(d.\u0275\u0275viewQuery(T,5),d.\u0275\u0275viewQuery(R,5),d.\u0275\u0275viewQuery(N,5)),2&ue){let Ie;d.\u0275\u0275queryRefresh(Ie=d.\u0275\u0275loadQuery())&&(ye.Alphabetcomponent=Ie.first),d.\u0275\u0275queryRefresh(Ie=d.\u0275\u0275loadQuery())&&(ye.PageHeader=Ie.first),d.\u0275\u0275queryRefresh(Ie=d.\u0275\u0275loadQuery())&&(ye.PageFooter=Ie.first)}},decls:57,vars:21,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[3,"value","ionChange"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],[2,"width","200px"],[2,"--color","white","--color-checked","white",3,"value"],["no-shadow","","no-border",""],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],[2,"width","70%"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","24px"],[1,"ergonametextclass",2,"width","80px"],[2,"width","140px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],["colspan","3"],["align","right",2,"width","auto"],["width","600px"],["valign","top",2,"width","30%"],["class","paddingsmalltable",4,"ngIf"],[2,"width","10%"],["color","orange"],["cellspacing","0","cellpadding","0"],[2,"height","20px","width","20px","border-radius","4px"],["src","/assets/svgs/alert.svg",2,"height","26px"],[2,"color","green"],[1,"paddingsmalltable"],["name","shield-half-outline","color","rot",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","80%","color","#444444"],["name","home","color","blau",2,"font-size","20px"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(ue,ye){if(1&ue&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),d.\u0275\u0275listener("SucheChanged",function(be){return ye.SucheChanged(be)})("StandortfilterClicked",function(){return ye.StandortFilterClickedHandler()}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"ion-radio-group",3),d.\u0275\u0275listener("ionChange",function(be){return ye.FreigabefilterChanged(be)}),d.\u0275\u0275elementStart(5,"table",4)(6,"tr")(7,"td")(8,"checkbox-clon",5),d.\u0275\u0275listener("CheckChanged",function(be){return ye.ShowMeCheckedChanged(be)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(9,"td",6),d.\u0275\u0275text(10,"Nur meinen Eintrag anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(11,"td",7),d.\u0275\u0275elementStart(12,"td")(13,"checkbox-clon",5),d.\u0275\u0275listener("CheckChanged",function(be){return ye.ShowAktuelleChanged(be)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(14,"td",6),d.\u0275\u0275text(15,"Aktuelle Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(16,"td",7),d.\u0275\u0275elementStart(17,"td")(18,"checkbox-clon",5),d.\u0275\u0275listener("CheckChanged",function(be){return ye.ShowArchivierteChanged(be)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(19,"td",6),d.\u0275\u0275text(20,"Archivierte Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(21,"td",8),d.\u0275\u0275elementStart(22,"td"),d.\u0275\u0275text(23,"Freigabefilter:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(24,"td",6),d.\u0275\u0275element(25,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(26,"td"),d.\u0275\u0275text(27,"keiner"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(28,"td",7),d.\u0275\u0275elementStart(29,"td",6),d.\u0275\u0275element(30,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(31,"td"),d.\u0275\u0275text(32,"Administrator"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(33,"td",7),d.\u0275\u0275elementStart(34,"td",6),d.\u0275\u0275element(35,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(36,"td"),d.\u0275\u0275text(37,"Urlaubsfreigaben"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(38,"td",7),d.\u0275\u0275elementStart(39,"td",6),d.\u0275\u0275element(40,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(41,"td"),d.\u0275\u0275text(42,"Homeofficefreigaben"),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(43,"ion-content",10),d.\u0275\u0275template(44,Y,2,1,"ion-list",11)(45,H,4,0,"table",12),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(46,"ion-footer")(47,"page-footer",null,13)(49,"table",14)(50,"tr")(51,"td",15),d.\u0275\u0275text(52),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275template(53,ae,1,2,"fi-mitarbeiter-editor",16)(54,J,1,6,"auswahl-dialog",17),d.\u0275\u0275elementStart(55,"alphabet",18,19),d.\u0275\u0275listener("AlphabetClicked",function(be){return ye.AlphabetClicked(be)}),d.\u0275\u0275elementEnd()),2&ue){const Ie=d.\u0275\u0275reference(2),be=d.\u0275\u0275reference(48);d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),d.\u0275\u0275advance(),d.\u0275\u0275property("value",ye.Freigabefilter),d.\u0275\u0275advance(4),d.\u0275\u0275property("Checked",ye.ShowMeOnly),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",ye.ShowAktuelle),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",ye.ShowArchivierte),d.\u0275\u0275advance(7),d.\u0275\u0275property("value",ye.Freigabefiltervarianten.Keiner),d.\u0275\u0275advance(5),d.\u0275\u0275property("value",ye.Freigabefiltervarianten.Administrator),d.\u0275\u0275advance(5),d.\u0275\u0275property("value",ye.Freigabefiltervarianten.Urlaubsfreigaben),d.\u0275\u0275advance(5),d.\u0275\u0275property("value",ye.Freigabefiltervarianten.Homeofficefreigaben),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",ye.Mitarbeiterliste&&ye.Mitarbeiterliste.length>0),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",0===ye.Mitarbeiterliste.length),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",ye.Mitarbeiterliste.length," Eintr\xe4ge "),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",ye.ShowEditor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",ye.ShowAuswahl),d.\u0275\u0275advance(),d.\u0275\u0275property("PageHeader",Ie)("PageFooter",be)("Breite",ye.Alphapetbreite)("Buchstabenliste",ye.Mitarbeiteralphabet)("Auswahl",ye.Mitarbeiteralphabetauswahl)}},dependencies:[S.NgForOf,S.NgIf,y.IonCol,y.IonContent,y.IonFooter,y.IonGrid,y.IonHeader,y.IonIcon,y.IonItem,y.IonList,y.IonRadio,y.IonRadioGroup,y.IonRow,y.IonText,y.RadioValueAccessor,y.SelectValueAccessor,m.PageHeaderComponent,h.PageFooterComponent,C.AlphabetComponent,v.PageHeaderMenuComponent,M.FiMitarbeiterEditorComponent,E.AuswahlDialogComponent,A.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return W})()},96012:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortelistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(56568),a=o(10716),e=o(90756),c=o(6512),l=o(87143),g=o(79664),b=o(70216),p=o(90520),S=o(6168),y=o(54588),m=o(10272),h=n.__importStar(o(54496)),v=(n.__importStar(o(56568)),[{path:"",component:e.FiStandortelistePage}]);f.FiStandortelistePageModule=(()=>{class E{static \u0275fac=function(R){return new(R||E)};static \u0275mod=h.\u0275\u0275defineNgModule({type:E});static \u0275inj=h.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,a.IonicModule,u.RouterModule.forChild(v),c.AbstandElementFixedModule,l.AlphabetModule,g.FiStandortEditorModule,b.PageHeaderModule,p.PageFooterModule,S.PageHeaderMenuModule,y.PageModalKeepermodule,m.AuswahlDialogModule]})}return E})()},90756:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortelistePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importStar(o(54496)),a=i.__importStar(o(14652)),e=i.__importStar(o(34388)),c=i.__importStar(o(19668)),l=i.__importStar(o(29743)),g=i.__importStar(o(58864)),b=i.__importStar(o(22848)),p=i.__importStar(o(9544)),S=i.__importStar(o(48044)),y=i.__importStar(o(7992)),m=i.__importStar(o(91368)),h=i.__importStar(o(10716)),C=i.__importStar(o(99031)),v=i.__importStar(o(41656)),M=i.__importStar(o(90212)),E=i.__importStar(o(29856)),A=i.__importStar(o(63792)),T=i.__importStar(o(56584)),R=["Alphabet"],N=["PageHeader"],P=["PageFooter"];function L(K,W){if(1&K&&(u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",15)(2,"ion-text",33)(3,"b"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()()()),2&K){const re=u.\u0275\u0275nextContext().index,G=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(G.Standortebuchstabenliste[re])}}function x(K,W){if(1&K&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&K){const re=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1(" ",re.Ort," ")}}function V(K,W){if(1&K&&(u.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"span",34),u.\u0275\u0275text(5),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"span"),u.\u0275\u0275text(7),u.\u0275\u0275elementEnd()()()),2&K){const re=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(re.Text_A),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(re.Text_B),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(re.Text_C)}}function F(K,W){if(1&K&&(u.\u0275\u0275elementStart(0,"tr"),u.\u0275\u0275element(1,"td"),u.\u0275\u0275elementStart(2,"td",35),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&K){const re=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate2("",re.Vorname," ",re.Name,"")}}function ee(K,W){if(1&K&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275template(1,F,4,2,"tr",3),u.\u0275\u0275elementContainerEnd()),2&K){const re=W.$implicit,G=u.\u0275\u0275nextContext().$implicit,ue=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ue.CheckMitarbeiterIsStandortUrlaubsfreigabe(re._id,G))}}function X(K,W){if(1&K&&(u.\u0275\u0275elementStart(0,"tr"),u.\u0275\u0275element(1,"td"),u.\u0275\u0275elementStart(2,"td",35),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&K){const re=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate2("",re.Vorname," ",re.Name,"")}}function ce(K,W){if(1&K&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275template(1,X,4,2,"tr",3),u.\u0275\u0275elementContainerEnd()),2&K){const re=W.$implicit,G=u.\u0275\u0275nextContext().$implicit,ue=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ue.CheckMitarbeiterIsStandortHomeofficefreigabe(re._id,G))}}function Q(K,W){if(1&K){const re=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-item",13),u.\u0275\u0275listener("click",function(){const ye=u.\u0275\u0275restoreView(re).$implicit,Ie=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(Ie.StandortButtonClicked(ye))}),u.\u0275\u0275elementStart(1,"ion-grid",14),u.\u0275\u0275template(2,L,5,1,"ion-row",3),u.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"table",16)(6,"tr")(7,"td",17)(8,"div",18)(9,"table",19)(10,"tr")(11,"td")(12,"table",20),u.\u0275\u0275template(13,x,3,1,"tr",3)(14,V,8,3,"tr",3),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(15,"tr")(16,"td")(17,"table",21)(18,"tr")(19,"td",22),u.\u0275\u0275text(20,"K\xfcrzel:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(21,"td"),u.\u0275\u0275text(22),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(23,"td",23),u.\u0275\u0275elementStart(24,"td",22),u.\u0275\u0275text(25,"Email:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(26,"td"),u.\u0275\u0275text(27),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(28,"td",23),u.\u0275\u0275elementEnd()()()()()()(),u.\u0275\u0275elementStart(29,"td",24)(30,"table",25)(31,"tr")(32,"td",26)(33,"table",27)(34,"tr")(35,"td"),u.\u0275\u0275element(36,"ion-icon",28),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(37,"td",29),u.\u0275\u0275text(38,"Urlaubsfreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(39,ee,2,1,"ng-container",30),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(40,"td",26)(41,"table",27)(42,"tr")(43,"td"),u.\u0275\u0275element(44,"ion-icon",31),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(45,"td",29),u.\u0275\u0275text(46,"Homeofficefreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(47,ce,2,1,"ng-container",30),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(48,"td",32),u.\u0275\u0275elementEnd()()()()()()()()()}if(2&K){const re=W.$implicit,G=W.index,ue=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",""!==ue.Standortebuchstabenliste[G]),u.\u0275\u0275advance(11),u.\u0275\u0275property("ngIf",!re.Filtered),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",re.Filtered),u.\u0275\u0275advance(8),u.\u0275\u0275textInterpolate(re.Kuerzel),u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate(re.Email),u.\u0275\u0275advance(12),u.\u0275\u0275property("ngForOf",ue.DBMitarbeiter.GetUrlausbsfreigeberliste(re._id)),u.\u0275\u0275advance(8),u.\u0275\u0275property("ngForOf",ue.DBMitarbeiter.GetHomeofficefreigeberliste(re._id))}}function ne(K,W){if(1&K&&(u.\u0275\u0275elementStart(0,"ion-list"),u.\u0275\u0275template(1,Q,49,7,"ion-item",12),u.\u0275\u0275elementEnd()),2&K){const re=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",re.Standorteliste)}}function Y(K,W){1&K&&(u.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),u.\u0275\u0275text(3," kein Standorte vorhanden "),u.\u0275\u0275elementEnd()()())}function H(K,W){if(1&K){const re=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"fi-standort-editor",38),u.\u0275\u0275listener("CancelClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.ShowEditor=!1)})("OkClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.ShowEditor=!1)})("DeleteClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.ShowEditor=!1)})("LandClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.LandClickedEventHandler())})("BundeslandClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.KonfessionClickedEventHandler())}),u.\u0275\u0275elementEnd()}if(2&K){const re=u.\u0275\u0275nextContext();u.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",800)("PositionY",100)("Titel",re.GetDialogTitel())}}function ae(K,W){if(1&K){const re=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"auswahl-dialog",39),u.\u0275\u0275listener("OkClickedEvent",function(ue){u.\u0275\u0275restoreView(re);const ye=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ye.AuswahlOkButtonClicked(ue))})("CancelClickedEvent",function(){u.\u0275\u0275restoreView(re);const ue=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(ue.ShowAuswahl=!1)}),u.\u0275\u0275elementEnd()}if(2&K){const re=u.\u0275\u0275nextContext();u.\u0275\u0275property("Auswahlliste",re.Auswahlliste)("Auswahlindex",re.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",re.Auswahltitel)("Iconname","")}}f.FiStandortelistePage=(()=>{class K{Basics;Debug;Tools;Const;DB;DBMitarbeiter;DBUrlaub;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;Standorteliste;Standortealphabet;Alphapetbreite;Standortealphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Standortebuchstabenliste;Standardalphabet;Zusatzbuttonliste;Standortefiltertext;Standortefilter;Inputtimer;Listenbreite;ShowEditor;EditorValid;ListeSubscription;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;constructor(re,G,ue,ye,Ie,be,ie,De,ze){this.Basics=re,this.Debug=G,this.Tools=ue,this.Const=ye,this.DB=Ie,this.DBMitarbeiter=be,this.DBUrlaub=ie,this.Auswahlservice=De,this.Pool=ze;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Standortealphabet=[],this.Standortealphabetauswahl="Alle",this.Standorteliste=[],this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Inputtimer=null,this.Alphapetbreite=44,this.Standortefilter="",this.Standortealphabet=this.Standardalphabet,this.Standortebuchstabenliste=[],this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ListeSubscription=null,this.Auswahlliste=[],this.Auswahlindex=0,this.Auswahltitel="",this.Auswahldialogorigin=""}catch(qe){this.Debug.ShowErrorMessage(qe.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Listenbreite=this.Basics.Contentbreite-(typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40)-4,this.PrepareDaten(),this.Alphabetcomponent.InitScreen()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(re){try{this.DB.CurrentStandort=d.cloneDeep(re),this.ShowEditor=!0}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(re){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=re,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(re){try{let G=re.Ort.substring(0,1).toUpperCase();return G!==this.Lastletter?(this.Lastletter=G,G):""}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let re,G,ue,ye,Ie,be,ie,De,ze,qe,nt,ft;if(null!==this.Pool.Standorteliste){if(ye=d.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",re=d.cloneDeep(ye),re.sort((rt,mt)=>rt.Ortmt.Ort?1:0),null!==this.DB.CurrentStandortfilter){G=d.cloneDeep(re),re=[];for(let rt of G)re.push(rt)}if(re.length>6){this.Standortealphabet=["Alle"];for(let rt of re)ue=rt.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(ue)&&this.Standortealphabet.push(ue)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){G=d.cloneDeep(re),re=[];for(let rt of G)ue=rt.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===ue&&re.push(rt)}if(""!==this.Standortefilter){G=d.cloneDeep(re),re=[];for(let rt of G)nt=this.Standortefilter.toLowerCase(),ft=rt.Ort.toLowerCase(),qe=ft.indexOf(nt),-1!==qe&&(Ie=rt.Ort.length,ze=nt.length,be=rt.Ort.substr(0,qe),ie=rt.Ort.substr(qe,ze),ze=Ie-ze-qe,De=rt.Ort.substr(Ie-ze,ze),rt.Filtered=!0,rt.Text_A=be,rt.Text_B=ie,rt.Text_C=De,re.push(rt))}this.Standortebuchstabenliste=[];for(let rt of re)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(rt));this.Standorteliste=d.cloneDeep(re)}}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(re){try{this.EditorValid=re}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentStandort?null===this.DB.CurrentStandort._id?"Neuen Standort anlegen":"Standort bearbeiten":"Unbekannt"}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(re){try{this.Standortefiltertext=re,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(re){var G=this;return n(function*(){try{switch(G.Auswahldialogorigin){case G.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:G.DB.CurrentStandort.Land=re;break;case G.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:G.DB.CurrentStandort.Bundesland=re;break;case G.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:G.DB.CurrentStandort.Konfession=re}G.ShowAuswahl=!1}catch(ue){G.Debug.ShowErrorMessage(ue.message,"Standorteliste","AuswahlOkButtonClicked",G.Debug.Typen.Page)}})()}LandClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land,this.Auswahltitel="Land ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Deutschland",SecoundColumn:"DE",Data:"DE"}),this.Auswahlliste.push({Index:1,FirstColumn:"Bulgarien",SecoundColumn:"BG",Data:"BG"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(re){this.Debug.ShowErrorMessage(re,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let re=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let G of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:re,FirstColumn:G.Name,SecoundColumn:G.isoCode,Data:G.isoCode}),re++;this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(re){this.Debug.ShowErrorMessage(re,"Standorteliste","BundeslandClickedEventHandler",this.Debug.Typen.Page)}}KonfessionClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession,this.Auswahltitel="Konfession ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Katholisch",SecoundColumn:"RK",Data:"RK"}),this.Auswahlliste.push({Index:1,FirstColumn:"Evangelisch",SecoundColumn:"EV",Data:"EV"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(re){this.Debug.ShowErrorMessage(re,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortUrlaubsfreigabe(re,G){try{return-1!==G.Urlaubfreigabepersonen.indexOf(re)}catch(ue){this.Debug.ShowErrorMessage(ue,"Standorteliste","CheckMitarbeiterIsStandortUrlaubsfreigabe",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortHomeofficefreigabe(re,G){try{return-1!==G.Homeofficefreigabepersonen.indexOf(re)}catch(ue){this.Debug.ShowErrorMessage(ue,"Standorteliste","CheckMitarbeiterIsStandortHomeofficefreigabe",this.Debug.Typen.Page)}}static \u0275fac=function(G){return new(G||K)(u.\u0275\u0275directiveInject(a.BasicsProvider),u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(c.ToolsProvider),u.\u0275\u0275directiveInject(l.ConstProvider),u.\u0275\u0275directiveInject(g.DatabaseStandorteService),u.\u0275\u0275directiveInject(b.DatabaseMitarbeiterService),u.\u0275\u0275directiveInject(p.DatabaseUrlaubService),u.\u0275\u0275directiveInject(S.AuswahlDialogService),u.\u0275\u0275directiveInject(y.DatabasePoolService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:K,selectors:[["fi-standorteliste-page"]],viewQuery:function(G,ue){if(1&G&&(u.\u0275\u0275viewQuery(R,5),u.\u0275\u0275viewQuery(N,5),u.\u0275\u0275viewQuery(P,5)),2&G){let ye;u.\u0275\u0275queryRefresh(ye=u.\u0275\u0275loadQuery())&&(ue.Alphabetcomponent=ye.first),u.\u0275\u0275queryRefresh(ye=u.\u0275\u0275loadQuery())&&(ue.PageHeader=ye.first),u.\u0275\u0275queryRefresh(ye=u.\u0275\u0275loadQuery())&&(ue.PageFooter=ye.first)}},decls:16,vars:11,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowStandorttitle","SucheChanged"],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[1,"rootbuttonclass",3,"click"],["color","weiss","name","add-circle-outline",2,"font-size","28px"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[2,"width","100%"],["valign","top",2,"width","60%"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],[2,"width","auto"],["width","400px"],["valign","top",2,"width","30%"],[1,"paddingsmalltable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],[4,"ngFor","ngForOf"],["name","home","color","blau",2,"font-size","20px"],[2,"width","10%"],["color","orange"],[2,"color","green"],[2,"font-size","80%","color","#444444"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(G,ue){if(1&G&&(u.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),u.\u0275\u0275listener("SucheChanged",function(Ie){return ue.SucheChangedHandler(Ie)}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(4,"ion-content"),u.\u0275\u0275template(5,ne,2,1,"ion-list",3)(6,Y,4,0,"table",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),u.\u0275\u0275listener("click",function(){return ue.AddStandorteButtonClicked()}),u.\u0275\u0275element(11,"ion-icon",7),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275template(12,H,1,4,"fi-standort-editor",8)(13,ae,1,7,"auswahl-dialog",9),u.\u0275\u0275elementStart(14,"alphabet",10,11),u.\u0275\u0275listener("AlphabetClicked",function(Ie){return ue.AlphabetClicked(Ie)}),u.\u0275\u0275elementEnd()),2&G){const ye=u.\u0275\u0275reference(2),Ie=u.\u0275\u0275reference(9);u.\u0275\u0275advance(3),u.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",ue.Standorteliste&&ue.Standorteliste.length>0),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",0===ue.Standorteliste.length),u.\u0275\u0275advance(6),u.\u0275\u0275property("ngIf",ue.ShowEditor),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ue.ShowAuswahl),u.\u0275\u0275advance(),u.\u0275\u0275property("PageHeader",ye)("PageFooter",Ie)("Buchstabenliste",ue.Standortealphabet)("Breite",ue.Alphapetbreite)("Auswahl",ue.Standortealphabetauswahl)}},dependencies:[m.NgForOf,m.NgIf,h.IonCol,h.IonContent,h.IonFooter,h.IonGrid,h.IonHeader,h.IonIcon,h.IonItem,h.IonList,h.IonRow,h.IonText,C.AlphabetComponent,v.FiStandortEditorComponent,M.PageHeaderComponent,E.PageFooterComponent,A.PageHeaderMenuComponent,T.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return K})()},15756:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PrettyjsonModule=void 0;const i=o(81316).__importStar(o(54496));f.PrettyjsonModule=(()=>{class u{static \u0275fac=function(c){return new(c||u)};static \u0275mod=i.\u0275\u0275defineNgModule({type:u});static \u0275inj=i.\u0275\u0275defineInjector({})}return u})()},84104:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SafePipeModule=void 0;const i=o(81316).__importStar(o(54496));f.SafePipeModule=(()=>{class u{static \u0275fac=function(c){return new(c||u)};static \u0275mod=i.\u0275\u0275defineNgModule({type:u});static \u0275inj=i.\u0275\u0275defineInjector({})}return u})()},66144:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SafePipe=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14476));f.SafePipe=(()=>{class a{sanitizer;constructor(c){this.sanitizer=c}transform(c,l){switch(l){case"html":return this.sanitizer.bypassSecurityTrustHtml(c);case"style":return this.sanitizer.bypassSecurityTrustStyle(c);case"script":return this.sanitizer.bypassSecurityTrustScript(c);case"url":return this.sanitizer.bypassSecurityTrustUrl(c);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(c);default:throw new Error(`Invalid safe type specified: ${l}`)}}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275directiveInject(d.DomSanitizer,16))};static \u0275pipe=i.\u0275\u0275definePipe({name:"safe",type:a,pure:!0})}return a})()},48044:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AuswahlDialogService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388));f.AuswahlDialogService=(()=>{class a{Debug;Auswahloriginvarianten={Standorteeditor_Land:"Standorteeditor_Land",Standorteeditor_Bundesland:"Standorteeditor_Bundesland",Standorteeditor_Konfession:"Standorteeditor_Konfession",Projekteliste_Standortfiler:"Projekteliste_Standortfiler",Projekteliste_Editor_Leistungsphase:"Projekteliste_Editor_Leistungsphase",Projekte_Editor_Standort:"Projekte_Editor_Standortfilter",Projekte_Editor_Mitarbeiterauswahl_Projektleiter:"Projekte_Editor_Mitarbeiterauswahl_Projektleiter",Projekte_Editor_Mitarbeiterauswahl_Stellvertreter:"Projekte_Editor_Mitarbeiterauswahl_Stellvertreter",Projekte_Editor_Mitarbeiterauswahl:"Projekte_Editor_Mitarbeiterauswahl",Projekte_Editor_Mitarbeiterauswahl_Standortfilter:"Projekte_Editor_Mitarbeiterauswahl_Standortfilter",Projekte_Editor_Projektstatus:"Projekte_Editor_Projektstatus",Projekte_Editor_Firmeneditor_Fachbereich:"Projekte_Editor_Firmeneditor_Fachbereich",Projekte_Editor_Beteiligteneditor_Fachfirma:"Projekte_Editor_Beteiligteneditor_Fachfirma",Favoriten_Editor_Projekteauswahl_Standortfilter:"Favoriten_Editor_Projekteauswahl_Standortfilter",Mitarbeiter_Editor_Standort:"Mitarbeiter_Editor_Standort",Mitarbeiter_Editor_Fachbereich:"Mitarbeiter_Editor_Fachbereich",Mitarbeiter_Editor_Anrede:"Mitarbeiter_Editor_Anrede",Mitarbeiter_Editor_Urlaub:"Mitarbeiter_Editor_Urlaub",Mitarbeiter_Liste_Standortfilter:"Mitarbeiter_Liste_Standortfilter",Mitarbeiter_Liste_Position:"Mitarbeiter_Liste_Position",Aufgabenliste_ZustaendigExtern:"Aufgabenliste_ZustaendigExtern",Aufgabenliste_ZustaendigIntern:"Aufgabenliste_ZustaendigIntern",Aufgabenliste_Fortschritt:"Aufgabenliste_Fortschritt",Aufgabenliste_Zeitfilter:"Aufgabenliste_Zeitfilter",Aufgabenliste_Filter_Zeitspanne:"Aufgabenliste_Filter_Zeitspanne",Aufgabenliste_Editor_Fachbereich:"Aufgabenliste_Editor_Fachbereich",Aufgabenliste_Editor_Status:"Aufgabenliste_Editor_Status",Aufgabenliste_Editor_Standortfilter:"Aufgabenliste_Editor_Standortfilter",Aufgabenliste_Editor_ZustaendigExtern:"Aufgabenliste_Editor_ZustaendigExtern",Aufgabenliste_Editor_ZustaendigIntern:"Aufgabenliste_Editor_ZustaendigIntern",Aufgabenliste_Editor_Leistungsphase:"Aufgabenliste_Editor_Kostengruppe",Aufgabenliste_Editor_Kostengruppe:"Aufgabenliste_Editor_Leistungsphase",Aufgabenliste_Editor_Verfasser:"Aufgabenliste_Editor_Verfasser",Aufgabenliste_Editor_AnmerkungenVerfasser:"Aufgabenliste_Editor_AnmerkungenVerfasser",Aufgabenliste_Meintageintrag_Status:"Aufgabenliste_Meintageintrag_Status",Aufgabenliste_Meintageintrag_Termin:"Aufgabenliste_Meintageintrag_Termin",Festlegungsliste_Editor_Leistungsphase:"Festlegungsliste_Editor_Leistungsphase",Festlegungsliste_Leistungsphasefilter:"Festlegungsliste_Leistungsphasefilter",Festlegungliste_Emaileditor_Standortfilter:"Festlegungliste_Emaileditor_Standortfilter",Festlegungliste_Editor_Status:"Festlegungliste_Editor_Status",Festlegungliste_Editor_Fachbereich:"Festlegungliste_Editor_Fachbereich",Festlegungliste_Editor_Kostengruppe:"Festlegungliste_Editor_Kostengruppe",Festlegungliste_Editor_ZustaendigExtern:"Festlegungliste_Editor_ZustaendigExtern",Festlegungliste_Editor_ZustaendigIntern:"Festlegungliste_Editor_ZustaendigIntern",Festlegungliste_Emaileditor_Intern_Empfaenger:"Festlegungliste_Emaileditor_Intern_Empfaenger",Festlegungliste_Emaileditor_Intern_CcEmpfaenger:"Festlegungliste_Emaileditor_Intern_CcEmpfaenger",Festlegungliste_Emaileditor_Extern_Empfaenger:"Festlegungliste_Emaileditor_Extern_Empfaenger",Festlegungliste_Emaileditor_Extern_CcEmpfaenger:"Festlegungliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Intern_Empfaenger:"Bautagebuchliste_Emaileditor_Intern_Empfaenger",Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Extern_Empfaenger:"Bautagebuchliste_Emaileditor_Extern_Empfaenger",Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Bautagebucheditor:"Bautagebuchliste_Bautagebucheditor",Protokollliste_Editor_Leistungsphase:"Protokollliste_Editor_Leistungsphase",Protokollliste_Editor_Kostengruppe:"Protokollliste_Editor_Kostengruppe",Protokollliste_Protokolleditor_Teamteilnehmer:"Protokollliste_Protokolleditor_Teamteilnehmer",Protokollliste_Projektpunkteditor_Teamteilnehmer:"Protokollliste_Projektpunkteditor_Teamteilnehmer",Protokollliste_Protokolleditor_Beteilgtenteilnehmer:"Protokollliste_Protokolleditor_Beteilgtenteilnehmer",Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer:"Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer",Urlaubsplanung_Mitarbeiter_Wechseln:"Urlaubsplanung_Mitarbeiter_Wechseln",Urlaubsplanung_Vertreter_Festlegen:"Urlaubsplanung_Vertreter_Festlegen",Urlaubsplanung_Status_Aendern:"Urlaubsplanung_Status_Aendern",UrlaubEinstellungen_Projektbeteiligte_Auswahl:"UrlaubEinstellungen_Projektbeteiligte_Auswahl",UrlaubEinstellungen_Freigeber_Auswahl:"UrlaubEinstellungen_Freigeber_Auswahl",UrlaubEinstellungen_Standort_Filter:"UrlaubEinstellungen_Standort_Filter",UrlaubPlanung_Standort_Filter:"UrlaubPlanung_Standort_Filter",UrlaubUebersicht_Standort_Filter:"UrlaubUebersicht_Standort_Filter",UrlaubAnfargen_Standort_Filter:"UrlaubAnfargen_Standort_Filter",Protokollliste_Emaileditor_Extern_Empfaenger:"Protokollliste_Emaileditor_Extern_Empfaenger",Protokollliste_Emaileditor_Extern_CcEmpfaenger:"Protokollliste_Emaileditor_Extern_CcEmpfaenger",Protokollliste_Emaileditor_Intern_Empfaenger:"Protokollliste_Emaileditor_Intern_Empfaenger",Protokollliste_Emaileditor_Intern_CcEmpfaenger:"Protokollliste_Emaileditor_Intern_CcEmpfaenger",LOPliste_Emaileditor_Extern_Empfaenger:"LOPliste_Emaileditor_Extern_Empfaenger",LOPliste_Emaileditor_Extern_CcEmpfaenger:"LOPliste_Emaileditor_Extern_CcEmpfaenger",LOPliste_Emaileditor_Intern_Empfaenger:"LOPliste_Emaileditor_Intern_Empfaenger",LOPliste_Emaileditor_Intern_CcEmpfaenger:"LOPliste_Emaileditor_Intern_CcEmpfaenger",Protokollliste_Editor_Standortfilter:"Protokollliste_Editor_Standortfilter",Protokollliste_Projektpunkteditor_Status:"Protokollliste_Projektpunkteditor_Status",Protokollliste_Projektpunkteditor_Fachbereich:"Protokollliste_Projektpunkteditor_Fachbereich",Simontabelle_Editor_Emailempfaenger:"Simontabelle_Editor_Emailempfaenger",Emailliste_Projektpunkteditor_Fachbereich:"Emailliste_Projektpunkteditor_Fachbereich",Emailliste_Editor_ZustaendigIntern:"Emailliste_Editor_ZustaendigIntern",Emailliste_Editor_ZustaendigExtern:"Emailliste_Editor_ZustaendigExtern",Emailliste_Beteiligteneditor_Projektauswahl:"Emailliste_Beteiligteneditor_Projektauswahl",Protokollliste_Filter_Leistungsphase:"Protokollliste_Filter_Leistungsphase",Protokollliste_Filter_Zeitspanne:"Protokollliste_Filter_Zeitspanne",LOPListe_LOPListeeditor_InternTeilnehmer:"LOPListe_LOPListeeditor_InternTeilnehmer",LOPListe_LOPListeeditor_ExternTeilnehmer:"LOPListe_LOPListeeditor_ExternTeilnehmer",LOPListe:"LOPListe",LOPListe_Thumnailsize:"LOPListe_Thumnailsize",LOPListe_Eintrageditor_ZustaendigExtern:"LOPListe_Eintrageditor_ZustaendigExtern",LOPListe_Eintrageditor_ZustaendigIntern:"LOPListe_Eintrageditor_ZustaendigIntern",LOPListe_Eintrageditor_Standortfilter:"LOPListe_Eintrageditor_Standortfilter",LOPListe_Eintrageditor_Fachbereich:"LOPListe_Eintrageditor_Fachbereich",LOPListe_Eintrageditor_Status:"LOPListe_Eintrageditor_Status",LOPListe_Eintrageditor_Prioritaet:"LOPListe_Eintrageditor_Prioritaet",LOPListe_Eintrageditor_AnmerkungVerfasser:"LOPListe_Eintrageditor_AnmerkungVerfasser",LOPListe_Eintrageditor_Verfasser:"LOPListe_Eintrageditor_Verfasser",LOPListe_Emaileditor_Intern_Empfaenger:"LOPListe_Emaileditor_Intern_Empfaenger",LOPListe_Emaileditor_Intern_CcEmpfaenger:"LOPListe_Emaileditor_Intern_CcEmpfaenger",LOPListe_Emaileditor_Extern_Empfaenger:"LOPListe_Emaileditor_Extern_Empfaenger",LOPListe_Emaileditor_Extern_CcEmpfaenger:"LOPListe_Emaileditor_Extern_CcEmpfaenger",Urlaubsliste_Bundesland:"Urlaubsliste_Bundesland"};constructor(c){this.Debug=c}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275inject(d.DebugProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},14652:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BasicsProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(10716)),u=n.__importStar(o(29743));f.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="07.03.2024 22:30";ShowHomeScreenInfos=!0;DebugNoExternalEmail=!0;AppVersionName="1.0";AppVersionDatum="07.03.2024";WebAppUrl="https://polite-cliff-084832d03.4.azurestaticapps.net/";Farben={BAEBlau:"#307ac1",BAEHellgrau:"#dfe5eb",Gruen:"#006400",Burnicklgruen:"#c7d304",Grau:"#454545",Buttoncolor:"#444444",Blau:"#00008B",Orange:"#FF8C00",Bordercolor:"#3880ff",Burnicklbraun:"#7b6a58",Burnicklgrau:"#354547",ButtongrauDisabled:"#444444"};Ionicfarben={BurnicklGruen:"burnicklgruen",BAEBlau:"baeblau",BurnicklGrau:"burnicklgrau",BurnicklBraun:"burnicklbraun",Gruen:"gruen",Orange:"orange",Grau:"grau",Silber:"silber",Schwarz:"schwarz",Weiss:"weiss",Rot:"rot",Blau:"blau",Dunkelblau:"dunkelblau",Braun:"braun",Teal:"teal",Gelb:"gelb"};ShowFehlerbericht=!0;constructor(l,g){this.platform=l,this.Const=g}MeassureInnercontent(l,g){try{this.Headerhoehe=typeof l<"u"&&null!==l?l.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof g<"u"&&null!==g?g.PageFooterFrameDiv.nativeElement.clientHeight:55,this.InnerContenthoehe=this.Contenthoehe-this.Headerhoehe-this.Footerhoehe,console.log("Basics MeassureScreen -> Screenbreite: "+this.platform.width()+" / Screenhoehe: "+this.platform.height()),console.log("Basics MeassureScreen -> Headerhoehe: "+this.Headerhoehe+" / Footerhoehe: "+this.Footerhoehe),console.log("Basics MeassureScreen -> InnerContenthoehe: "+this.InnerContenthoehe)}catch(b){window.console.log(b+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(g){return new(g||e)(i.\u0275\u0275inject(d.Platform),i.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ConstProvider=void 0;const i=o(81316).__importStar(o(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},M={HomePage:"HomePage",RegistrierungPage:"RegistrierungPage",EinstellungenPage:"EinstellungenPage",StartseitePage:"StartseitePage",IntroPage:"IntroPage",ShortcutsEditorPage:"ShortcutsEditorPage",EmailzentralePage:"EmailzentralePage",PasswortVergessenPage:"PasswortVergessenPage",TestPage:"TestPage",ErrorPage:"ErrorPage",DebugPage:"DebugPage",PDFViewerPage:"PDFViewerPage",EmaillistePage:"EmaillistePage",UrlaubPlanungPage:"UrlaubPlanungPage",UrlaubEinstellungenPage:"UrlaubEinstellungenPage",UrlaubUebersichtPage:"UrlaubUebersichtPage",UrlaubFreigabenPage:"UrlaubFreigabenPage",UrlaubsgesamtuebersichtPage:"UrlaubsgesamtuebersichtPage",FiMitarbeiterlistePage:"FiMitarbeiterlistePage",FiMitarbeiterauswahlPage:"FiMitarbeiterauswahlPage",FiMitarbeiterSettingsPage:"FiMitarbeiterSettingsPage",FiStandortelistePage:"FiStandortelistePage",PjListePage:"PjListePage",PjGebaeudestrukturBearbeitenPage:"PjGebaeudestrukturBearbeitenPage",PjGebaeudestrukturBauteilBearbeitenPage:"PjGebaeudestrukturBauteilBearbeitenPage",PjGebaeudestrukturGeschossBearbeitenPage:"PjGebaeudestrukturGeschossBearbeitenPage",PjGebaeudestrukturRaumBearbeitenPage:"PjGebaeudestrukturRaumBearbeitenPage",PjGebaeudestrukturRaumMarkierenPage:"PjGebaeudestrukturRaumMarkierenPage",PjFavoritenlistePage:"PjFavoritenlistePage",PJProjektbeteiligtelistePage:"PJProjektbeteiligtelistePage",PjEmailzentralePage:"PjEmailzentralePage",PjProtokollSendeberichtPage:"PjProtokollSendeberichtPage",PjFestlegungkategorieeditorPage:"PjFestlegungkategorieeditorPage",PjNotizenListePage:"PjNotizenListePage",PjAufgabenlistePage:"PjAufgabenlistePage",PjProtokolleListePage:"PjProtokolleListePage",PjFilebrowserPage:"PjFilebrowserPage",PjBaustelleLoplistePage:"PjBaustelleLoplistePage",PjBaustelleTagebuchlistePage:"PjBaustelleTagebuchlistePage",PjFestlegungslistePage:"PjFestlegungslistePage",PjPlanungsmatrixPage:"PjPlanungsmatrixPage",PjSimontabellelistePage:"PjSimontabellelistePage"},V={Person:"Person",Firma:"Firma"},F={Unbekannt:{Typnummer:0,Name:"Unbekannt",Color:"#ff6600"},Elektroinstallateur:{Typnummer:1,Name:"Elektroinstallateur",Color:"#ff6600"},Heizungsinstallateur:{Typnummer:2,Name:"Heizungsinstallateur",Color:"#ff6600"},Lueftungsinstallateur:{Typnummer:3,Name:"L\xfcftungsinstallateur",Color:"#ff6600"},Sanitaerinstallateur:{Typnummer:4,Name:"Sanit\xe4rinstallateur",Color:"#ff6600"},Rohbaufirma:{Typnummer:5,Name:"Rohbaufirma",Color:"#ff6600"},Tiefbaufirma:{Typnummer:6,Name:"Tiefbaufirma",Color:"#ff6600"},Blitschutzbauer:{Typnummer:7,Name:"Blitschutzbauer",Color:"#ff6600"},Dachdecker:{Typnummer:8,Name:"Dachdecker",Color:"#ff6600"},Zimmerei:{Typnummer:9,Name:"Zimmerei",Color:"#ff6600"},Schreiner:{Typnummer:10,Name:"Schreiner",Color:"#ff6600"},Medientechnik:{Typnummer:11,Name:"Medientechnik",Color:"#ff6600"},Fussbodenlegen:{Typnummer:12,Name:"Fu\xdfbodenlegen",Color:"#ff6600"},Estrichleger:{Typnummer:13,Name:"Estrichleger",Color:"#ff6600"},Fliesenleger:{Typnummer:14,Name:"Fliesenleger",Color:"#ff6600"},Foerderanlagenbauer:{Typnummer:15,Name:"F\xf6rderanlagenbauer",Color:"#ff6600"}},ee={Anlagengruppe_1:{Nummer:1,Name:"Abwasser-, Wasser-, Gasanlagen"},Anlagengruppe_2:{Nummer:2,Name:"W\xe4rmeversorgungsanlagen"},Anlagengruppe_3:{Nummer:3,Name:"Luftechnische Anlagen"},Anlagengruppe_4:{Nummer:4,Name:"Starkstromanlage"},Anlagengruppe_5:{Nummer:5,Name:"Fernmelde- und informationstechnische Anlagen"},Anlagengruppe_6:{Nummer:6,Name:"F\xf6rderanlagen"},Anlagengruppe_7:{Nummer:7,Name:"Nutzerspezifische und verfahrenstechnische Anlagen"},Anlagengruppe_8:{Nummer:8,Name:"Geb\xe4ude- und Anlagenautomation"}},X={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},ce={Unbekannt:{Typnummer:0,Name:"Unbekannt",Kurzname:"Unbekannt",Color:"#ff6600"},Architekt:{Typnummer:1,Name:"Architekt",Kurzname:"Archtiekt",Color:"#ff6600"},Elektroplaner:{Typnummer:2,Name:"ELT Planungsb\xfcro",Kurzname:"ELT Planungsb\xfcro",Color:"#3771c8"},HLSplaner:{Typnummer:3,Name:"HLS Planungsb\xfcro",Kurzname:"HLS Planungsb\xfcro",Color:"#3771c8"},Fachplaner:{Typnummer:4,Name:"Fachplaner",Kurzname:"Fachplaner",Color:"#3771c8"},Tragwerksplaner:{Typnummer:5,Name:"Tragwerksplaner",Kurzname:"Tragwerksplaner",Color:"#3771c8"},Aussenanlagenarchitekt:{Typnummer:6,Name:"Au\xdfenanlagenarchitekt",Kurzname:"Au\xdfenanlagenarchitekt",Color:"#3771c8"},Bauherr:{Typnummer:7,Name:"Bauherr",Kurzname:"Bauherr",Color:"#008000"},Nutzer:{Typnummer:8,Name:"Nutzer",Kurzname:"Nutzer",Color:"#008000"},Pruefsachverstaendiger:{Typnummer:9,Name:"Pr\xfcfsachverst\xe4ndiger",Kurzname:"Pr\xfcfsachverst\xe4ndiger",Color:"#008000"},Projektsteurer:{Typnummer:10,Name:"Projektsteurer",Kurzname:"Projektsteurer",Color:"#008000"},Ausfuehrungsfirma:{Typnummer:11,Name:"Ausf\xfchrende Firma",Kurzname:"Ausf\xfchrende Firma",Color:"#008000"},Objektueberwacher:{Typnummer:12,Name:"Objekt\xfcberwacher",Kurzname:"O\xdc",Color:"#008000"},ITAbteilung:{Typnummer:13,Name:"IT - Abteilung",Kurzname:"IT",Color:"#008000"},Ausfuehrungsfirma_HLS:{Typnummer:14,Name:"Ausf\xfchrende Firma HLS",Kurzname:"HLS",Color:"#008000"},Ausfuehrungsfirma_ELT:{Typnummer:15,Name:"Elektroinstallation",Kurzname:"ELZ",Color:"#008000"},Ausfuehrungsfirma_BMA:{Typnummer:16,Name:"BMA Installation",Kurzname:"BMA",Color:"#008000"},Ausfuehrungsfirma_Blitzschutz:{Typnummer:17,Name:"Blitzschutzbauer",Kurzname:"Blitzschutzbaur",Color:"#008000"},Ausfuehrungsfirma_H:{Typnummer:18,Name:"Heizungsfirma",Kurzname:"Heizungsfirma",Color:"#008000"},Ausfuehrungsfirma_L:{Typnummer:19,Name:"L\xfcftungsinstallation",Kurzname:"L\xfcftung",Color:"#008000"},Ausfuehrungsfirma_S:{Typnummer:20,Name:"Sanit\xe4rinstallation",Kurzname:"Sanit\xe4r",Color:"#008000"},Ausfuehrungsfirma_Rohbau:{Typnummer:21,Name:"Rohbaufirma",Kurzname:"Rohbaufirma",Color:"#008000"},Ausfuehrungsfirma_Tiefbau:{Typnummer:22,Name:"Tiefbaufirma",Kurzname:"Tiefbaufirma",Color:"#008000"},Ausfuehrungsfirma_GALA:{Typnummer:23,Name:"GALA Baufirma",Kurzname:"GALA Baufirma",Color:"#008000"},Ausfuehrungsfirma_Aufzug:{Typnummer:24,Name:"Aufzugsfirma",Kurzname:"Aufzugsfirma",Color:"#008000"}},H={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},G={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},ue={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},ye={Alle:"Alle",Heute:"Heute",Morgen:"Morgen",Zweitage:"2 Tage",Woche:"Woche",Naechstewoche:"N\xe4chste Woche",Zweiwochen:"2 Wochen",Vierwochen:"4 Wochen",Monat:"Monat",Gestern:"Gestern",Vorgestern:"Vorgestern",ZweitageVorher:"Letzten 2 Tage",WocheVorher:"Letzte Woche",ZweiwochenVorher:"Letzten 2 Wochen",MonatVorher:"Letzter Monat"},ie={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},De={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},ze={Niedrig:{Statusnummer:0,Name:"Niedrig",Displayname:"Niedrig",Color:"#008000"},Mittel:{Statusnummer:1,Name:"Mittel",Displayname:"Mittel",Color:"orange"},Hoch:{Statusnummer:2,Name:"Hoch",Displayname:"Hoch",Color:"red"}},qe={Offen:{Statusnummer:0,Name:"Offen",Displayname:"Offen",Color:"#008080",LOPColor:"red"},Protokollpunkt:{Statusnummer:0,Name:"Protokollpunkt",Displayname:"Info",Color:"#34495E",LOPColor:"#307ac1"},Geschlossen:{Statusnummer:1,Name:"Geschlossen",Displayname:"Geschlossen",Color:"#008000",LOPColor:"#008000"},Bearbeitung:{Statusnummer:2,Name:"Bearbeitung",Displayname:"Bearbeitung",Color:"#616A6B",LOPColor:"#616A6B"},Ruecklauf:{Statusnummer:3,Name:"Ruecklauf",Displayname:"R\xfccklauf",Color:"#0020C2",LOPColor:"#0020C2"},Festlegung:{Statusnummer:4,Name:"Festlegung",Displayname:"Festlegung",Color:"#FF9333"}},ft={Nur_diese_Woche:"Nur diese Woche",Nur_diesen_Monat:"Nur diesen Monat",Seit_dem_Zeitpunkt:"Seit dem Zeitpunkt",Bis_zum_Zeitpunkt:"Bis zum Zeitpunkt",Zeitspanne:"Zeitspanne"},rt={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};f.ConstProvider=(()=>{class Wt{NONE="none";Pages=M;Fehlermeldungtypen=H;Dialogmessages=e;Projektpunktstatustypen=qe;Zeitfilter=ye;Projektstatusvarianten=G;Faelligkeitsstatus=ue;Beteiligtentypen=ce;Fachfirmentypen=F;Beteiligteneintragtypen=V;Anredevariante=ie;Zeitansatzeinheitvarianten=De;Faelligkeitsterminfiltervarianten=ft;AufgabenSortiermodusvarianten=rt;Projektpunktprioritaetstypen=ze;Leistungsphasenvarianten=X;Anlagengruppen=ee;constructor(){}static \u0275fac=function(an){return new(an||Wt)};static \u0275prov=i.\u0275\u0275defineInjectable({token:Wt,factory:Wt.\u0275fac,providedIn:"root"})}return Wt})()},97092:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseAuthenticationService=void 0;const i=o(81316),d=o(54496),u=o(9028),a=o(21112),e=o(80103),c=i.__importStar(o(17964)),l=i.__importStar(o(54496)),g=i.__importStar(o(34388)),b=i.__importStar(o(9028)),p=i.__importStar(o(29743)),S=i.__importStar(o(56568));f.DatabaseAuthenticationService=(()=>{class m{msalGuardConfig;Debug;authService;Const;router;MSALService;LoginSuccessEvent=new d.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(C,v,M,E,A,T){this.msalGuardConfig=C,this.Debug=v,this.authService=M,this.Const=E,this.router=A,this.MSALService=T;try{this.SecurityEnabled=!0,this.ActiveUser=null,this.ShowLogin=!1,this.DevelopmentUser={environment:"",homeAccountId:"",localAccountId:"",tenantId:"",username:"peter.hornburger@b-a-e.eu",name:"Peter Hornburger"}}catch(R){this.Debug.ShowErrorMessage(R.message,"Database Authentication","constructor",this.Debug.Typen.Service)}}UnsetActiveUser(){try{this.Debug.ShowMessage("Unset Active User","Database Authentication","UnsetActiveUser",this.Debug.Typen.Service),this.ActiveUser=null,this.ShowLogin=!0}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var C=this;return n(function*(){try{let v,M;return C.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",C.Debug.Typen.Service),new Promise(E=>{if(C.SecurityEnabled){if(v=C.MSALService.instance.getActiveAccount(),M=C.MSALService.instance.getAllAccounts(),!c.isUndefined(M)&&null!==M&&M.length>0)for(v of M)console.log(v.username);console.log(null!==v?v.username:"Account ist null"),null===v&&(C.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",C.Debug.Typen.Service),!c.isUndefined(M)&&null!==M&&M.length>0?(C.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service),v=M[0]):C.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service)),null!==v?(C.ActiveUser=v,E(!0)):(C.UnsetActiveUser(),E(!0))}else C.ActiveUser=C.DevelopmentUser,E(!0)})}catch(v){C.Debug.ShowErrorMessage(v,"Database Authentication","SetActiveUser",C.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let C="nothing",v=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(C,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===v.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),C=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(C,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(C){var v=this;return n(function*(){try{const M={scopes:[C],account:v.ActiveUser};return new Promise((E,A)=>{v.authService.acquireTokenSilent(M).pipe((0,e.catchError)(T=>{if(T)switch(T.errorCode){case"login_required":case"monitor_window_timeout":v.Login()}return(0,e.of)(null!=T)})).subscribe(T=>{E(T.accessToken?T.accessToken:null)})})}catch(M){v.Debug.ShowErrorMessage(M,"Database Authentication","RequestToken",v.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===a.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.authService.loginPopup().subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===a.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(C){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||m)(l.\u0275\u0275inject(u.MSAL_GUARD_CONFIG),l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(b.MsalService),l.\u0275\u0275inject(p.ConstProvider),l.\u0275\u0275inject(S.Router),l.\u0275\u0275inject(b.MsalService))};static \u0275prov=l.\u0275\u0275defineInjectable({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},51708:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseChangelogService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),u=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(7992)),l=n.__importStar(o(29743)),g=n.__importStar(o(97048));f.DatabaseChangelogService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(y,m,h,C){this.Debug=y,this.Pool=m,this.Const=h,this.http=C;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(y){try{let m;return m=i.find(this.Pool.Changlogliste,{_id:y}),i.isUndefined(m)?"unbekannt":m.Beschreibung}catch(m){this.Debug.ShowErrorMessage(m.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,u.default)().valueOf(),Deleted:!1}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let y,m;return new Promise((h,C)=>{y=this.http.post(this.ServerUrl,this.CurrentChangelog),y.subscribe({next:v=>{m=v.Changelog},complete:()=>{this.UpdateChangelogliste(m),this.Pool.ChangeloglisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(y){try{let m;m=i.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==m?(this.Pool.Changlogliste[m]=y,this.Debug.ShowMessage("Changelogliste updated: "+y.Version,"Database Changelog","UpdateChangelogliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Chnagelog nicht gefunden -> neues Changlog hinzuf\xfcgen","Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service),this.Pool.Changlogliste.unshift(y)),this.Pool.Changlogliste=i.filter(this.Pool.Changlogliste,h=>!1===h.Deleted)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let y;return(new d.HttpParams).set("id",this.CurrentChangelog._id),new Promise((h,C)=>{y=this.http.put(this.ServerUrl,this.CurrentChangelog),y.subscribe({next:v=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let y;return this.CurrentChangelog.Deleted=!0,new Promise((m,h)=>{y=this.http.put(this.ServerUrl,this.CurrentChangelog),y.subscribe({next:C=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),m(!0)},error:C=>{h(C)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(m){return new(m||p)(a.\u0275\u0275inject(e.DebugProvider),a.\u0275\u0275inject(c.DatabasePoolService),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(g.HttpClient))};static \u0275prov=a.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},22848:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseMitarbeiterService=void 0;const n=o(81316),i=n.__importDefault(o(35908)),d=n.__importStar(o(17964)),u=o(97048),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(97048)),l=n.__importStar(o(29743)),g=n.__importStar(o(7992));f.DatabaseMitarbeiterService=(()=>{class p{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentPosition;ServerMitarbeiterUrl;ServerMitarbeiterpositionUrl;constructor(y,m,h,C){this.Debug=y,this.http=m,this.Const=h,this.Pool=C;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.ServerMitarbeiterpositionUrl=this.Pool.CockpitdockerURL+"/mitarbeiterpositionen",this.CurrentMitarbeiter=null,this.CurrentPosition=null}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(y){try{let m,h,C;if(m=this.GetEmptyMitarbeiter(),null===y.surname&&(y.surname=""),null===y.givenName&&(y.givenName=""),null===y.jobTitle&&(y.jobTitle=""),null===y.officeLocation&&(y.officeLocation=""),null===y.mobilePhone&&(y.mobilePhone=""),h=d.isUndefined(y.jobTitle)?"":y.jobTitle,C=d.isUndefined(y.mobilePhone)?"":y.mobilePhone,m.UserID=y.id,m.Email=y.mail,m.Vorname=d.isUndefined(y.givenName)?"":y.givenName,m.Name=d.isUndefined(y.surname)?"":y.surname,m.Mobil=null===C?"":C,m.Jobtitel=null===h?"":h,!1===d.isUndefined(y.businessPhones)&&y.businessPhones.length>0&&(m.Telefon=y.businessPhones[0]),!1===d.isUndefined(y.officeLocation)&&null!==y.officeLocation){m.Location=null!==y.officeLocation?y.officeLocation:"";for(let E of this.Pool.Standorteliste)-1!==y.officeLocation.indexOf(E.Ort)&&(m.StandortID=E._id)}if(""===m.StandortID){let E=d.find(this.Pool.Standorteliste,{Ort:"Bamberg"});d.isUndefined(E)||(m.StandortID=E._id)}let v=null!==y.surname?y.surname.substring(0,2).toUpperCase():"",M=null!==y.givenName?y.givenName.substring(0,1).toUpperCase():"";return m.Kuerzel=v+""+M,m}catch(m){this.Debug.ShowErrorMessage(m,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(y){try{let m=0,h=0;for(let C of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(y){case"Montag":C.Montagseinsatz&&(m+=C.Montagsstunden,h+=C.Montagsminuten);break;case"Dienstag":C.Dienstagseinsatz&&(m+=C.Dienstagsstunden,h+=C.Dienstagsminuten);break;case"Mittwoch":C.Mittwochseinsatz&&(m+=C.Mittwochsstunden,h+=C.Mittwochsminuten);break;case"Donnerstag":C.Donnerstagseinsatz&&(m+=C.Donnerstagsstunden,h+=C.Donnerstagsminuten);break;case"Freitag":C.Freitagseinsatz&&(m+=C.Freitagsstunden,h+=C.Freitagsminuten)}return h+=60*m,0===h?"":"["+(h/60).toFixed(2)+" Std]"}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMitarbeiterposition(){try{return{_id:null,Bezeichnung:""}}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetEmptyMitarbeiterposition",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let y=(0,i.default)();return{_id:null,UserID:null,PositionID:null,Anrede:this.Const.NONE,Urlaub:30,Resturlaub:0,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:y.format("HH:mm DD.MM.YYYY"),Zeitstempel:y.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Homeofficefreigabestandorte:[],Urlaubsfreigabeorte:[],Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(y){try{let m=d.find(this.Pool.Mitarbeiterliste,{_id:y});return d.isUndefined(m)?"Unbekannt":m.Vorname+" "+m.Name}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){try{for(let y of this.Pool.Mitarbeiterliste)y.ShowInGesamtuebersicht=y.StandortID===this.Pool.Mitarbeiterdaten.StandortID}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","InitService",this.Debug.Typen.Service)}}FinishService(){}UpdateMitarbeiter(y){try{let m,h;delete y.__v;for(let C of y.Urlaubsliste)C.Urlaubzeitspannen.sort((v,M)=>v.StartstempelM.Startstempel?1:0);return new Promise((C,v)=>{m=this.http.put(this.ServerMitarbeiterUrl,y),m.subscribe({next:M=>{h=M.Mitarbeiter},complete:()=>{null!==h?(this.CurrentMitarbeiter=h,this.Pool.Mitarbeiterdaten=h,this.Pool.MitarbeiterdatenChanged.emit(),this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):v(new Error("Mitarbeiter auf Server nicht gefunden.")),C(!0)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}GetPositionsbezeichnung(y){try{let m;if(null===y)return"Unbekannt";if(m=d.find(this.Pool.Mitarbeiterpositionenliste,{_id:y}),!d.isUndefined(m))return m.Bezeichnung}catch(m){this.Debug.ShowErrorMessage(m,"Database Mitarbeiter","GetPosition",this.Debug.Typen.Service)}}UpdateMitarbeiterposition(y){try{let m,C,h=new u.HttpParams;return delete y.__v,h.set("id",y._id),new Promise((v,M)=>{m=this.http.put(this.ServerMitarbeiterpositionUrl,y),m.subscribe({next:E=>{C=E.Mitarbeiterposition},complete:()=>{null!==C?(this.CurrentPosition=C,this.UpdateMitarbeiterpositionliste(this.CurrentPosition),this.Pool.MitarbeiterpositionenlisteChanged.emit()):M(new Error("Mitarbeiterposition auf Server nicht gefunden.")),v(!0)},error:E=>{M(E)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterposition",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(y){try{let m,C,h=new u.HttpParams;delete y.__v,h.set("id",y._id);for(let v of y.Urlaubsliste)v.Urlaubzeitspannen.sort((M,E)=>M.StartstempelE.Startstempel?1:0);return new Promise((v,M)=>{m=this.http.put(this.ServerMitarbeiterUrl,y),m.subscribe({next:E=>{C=E.Mitarbeiter},complete:()=>{null!==C?(this.UpdateMitarbeiterliste(C),this.Pool.MitarbeiterlisteChanged.emit(),v(!0)):M(new Error("Mitarbeiter auf Server nicht gefunden."))},error:E=>{M(E)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(y){try{let m;m=d.findIndex(this.Pool.Mitarbeiterliste,{_id:y._id}),-1!==m?(this.Pool.Mitarbeiterliste[m]=y,this.Debug.ShowMessage("Mitarbeiterliste updated: "+y.Name,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiter nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service),this.Pool.Mitarbeiterliste.push(y)),this.Pool.Mitarbeiterliste=d.filter(this.Pool.Mitarbeiterliste,h=>!1===h.Deleted)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}UpdateMitarbeiterpositionliste(y){try{let m;m=d.findIndex(this.Pool.Mitarbeiterpositionenliste,{_id:y._id}),-1!==m?(this.Pool.Mitarbeiterpositionenliste[m]=y,this.Debug.ShowMessage("Mitarbeiterliste updated: "+y.Bezeichnung,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiterposition nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service),this.Pool.Mitarbeiterpositionenliste.push(y)),this.Pool.Mitarbeiterpositionenliste.sort((h,C)=>h.BezeichnungC.Bezeichnung?1:0)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)}}AddMitarbeiter(y){try{let m,h;return new Promise((C,v)=>{console.log("POST new Mitarbeiter:"),console.log(y),m=this.http.post(this.ServerMitarbeiterUrl,y),m.subscribe({next:M=>{h=M.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(h),this.Pool.MitarbeiterlisteChanged.emit(),C(h)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}AddMitarbeiterposition(y){try{let m,h;return new Promise((C,v)=>{console.log("POST new Mitarbeiterposition:"),console.log(y),m=this.http.post(this.ServerMitarbeiterpositionUrl,y),m.subscribe({next:M=>{h=M.Mitarbeiterposition},complete:()=>{this.UpdateMitarbeiterpositionliste(h),this.Pool.MitarbeiterpositionenlisteChanged.emit(),C(h)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","AddMitarbeiterposition",this.Debug.Typen.Service)}}CheckMitarbeiterExists(y){try{return-1!==d.findIndex(this.Pool.Mitarbeiterliste,{Email:y})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(y){try{let m=d.find(this.Pool.Mitarbeiterliste,{Email:y});return d.isUndefined(m)?null:m}catch(m){this.Debug.ShowErrorMessage(m,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(y){try{let m=d.find(this.Pool.Mitarbeiterliste,{_id:y});return d.isUndefined(m)?null:m}catch(m){this.Debug.ShowErrorMessage(m,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(y){try{let m,C,h=new u.HttpParams({fromObject:{email:y}});return new Promise((v,M)=>{m=this.http.get(this.ServerMitarbeiterUrl,{params:h}),m.subscribe({next:E=>{C=E},complete:()=>{v(C)},error:E=>{M(E)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(y){try{return y.Deleted=!0,this.UpdateMitarbeiter(y)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}GetHomeofficefreigeberliste(y){try{let m=d.filter(this.Pool.Mitarbeiterliste,h=>!0===h.Homeofficefreigaben);return m=d.filter(m,h=>-1!==h.Homeofficefreigabestandorte.indexOf(y)),m}catch(m){this.Debug.ShowErrorMessage(m,"Standorteliste","GetHomeofficefreigeberliste",this.Debug.Typen.Service)}}GetUrlausbsfreigeberliste(y){try{let m=d.filter(this.Pool.Mitarbeiterliste,h=>!0===h.Urlaubsfreigaben);return m=d.filter(m,h=>-1!==h.Urlaubsfreigabeorte.indexOf(y)),m}catch(m){this.Debug.ShowErrorMessage(m,"Standorteliste","GetUrlausbsfreigeberliste",this.Debug.Typen.Component)}}static \u0275fac=function(m){return new(m||p)(a.\u0275\u0275inject(e.DebugProvider),a.\u0275\u0275inject(c.HttpClient),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=a.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},15024:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseMitarbeitersettingsService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),u=n.__importStar(o(54496)),a=n.__importStar(o(34388)),e=n.__importStar(o(97048)),c=n.__importStar(o(7992));f.DatabaseMitarbeitersettingsService=(()=>{class g{Debug;http;Pool;ServerSettingsUrl;constructor(p,S,y){this.Debug=p,this.http=S,this.Pool=y;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let p;return new Promise((S,y)=>{null===this.Pool.Mitarbeitersettings._id?(p=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:m=>{this.Pool.Mitarbeitersettings=m.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:m=>{y(m)}})):(delete this.Pool.Mitarbeitersettings.__v,p=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:m=>{this.Pool.Mitarbeitersettings=m.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:m=>{y(m)}}))})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(p,S){try{let y,h;return(new d.HttpParams).set("id",p._id),null!==S&&null!==S.ProjektID&&(h=i.findIndex(p.Aufgabenansicht,{ProjektID:S.ProjektID}),-1===h&&p.Aufgabenansicht.push(S)),delete p.__v,new Promise((C,v)=>{y=this.http.put(this.ServerSettingsUrl,p),y.subscribe({next:M=>{this.Pool.Mitarbeitersettings=M.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(p),C(!0)},error:M=>{v(M)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(p){try{let S;S=i.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:p._id}),-1!==S?(this.Pool.Mitarbeitersettingsliste[S]=p,this.Debug.ShowMessage("Mitarbeitersettingsliste updated: "+p.MitarbeiterID,"Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeitersetting nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service),this.Pool.Mitarbeitersettingsliste.push(p)),this.Pool.Mitarbeitersettingsliste=i.filter(this.Pool.Mitarbeitersettingsliste,y=>!1===y.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(p){try{let S,y;return new Promise((m,h)=>{S=this.http.post(this.ServerSettingsUrl,p),S.subscribe({next:C=>{p=C.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(p),this.Pool.MitarbeitersettingslisteChanged.emit(),m(y)},error:C=>{h(C)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(S){return new(S||g)(u.\u0275\u0275inject(a.DebugProvider),u.\u0275\u0275inject(e.HttpClient),u.\u0275\u0275inject(c.DatabasePoolService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},7992:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabasePoolService=void 0;const n=o(81316),i=o(54496),d=o(97048),u=o(16213),a=n.__importStar(o(17964)),e=o(36716),c=n.__importStar(o(54496)),l=n.__importStar(o(34388)),g=n.__importStar(o(29743)),b=n.__importStar(o(14652)),p=n.__importStar(o(97048));f.DatabasePoolService=(()=>{class y{Debug;Const;Basics;Http;Standorteliste;Mitarbeiterliste;Mitarbeiterpositionenliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;ProjektdatenLoaded;Emailcontentvarinaten;StandortelisteChanged=new i.EventEmitter;MitarbeiterlisteChanged=new i.EventEmitter;MitarbeiterpositionenlisteChanged=new i.EventEmitter;MitarbeiterdatenChanged=new i.EventEmitter;MitarbeitersettingslisteChanged=new i.EventEmitter;MitarbeitersettingsChanged=new i.EventEmitter;LoadingAllDataFinished=new i.EventEmitter;ChangeloglisteChanged=new i.EventEmitter;Signatur;constructor(h,C,v,M){this.Debug=h,this.Const=C,this.Basics=v,this.Http=M;try{this.Emailcontentvarinaten={NONE:this.Const.NONE,Protokoll:"Protokoll",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",LOPListe:"LOPListe",Aufgabenliste:"Aufgabenliste",Simontabelle:"Simontabelle"},this.Mitarbeiterdaten=null,this.MitarbeiterdatenHasError=!0,this.Mitarbeitersettings=null,this.Mitarbeiterpositionenliste=[],this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Changlogliste=[],this.CockpitserverURL=!0===e.environment.production?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.ProjektdatenLoaded=!1,this.Signatur='\n Beste Gr\xfc\xdfe,

    \n [Name]
    \n [Jobtitel]

    \n
    \n \n BAE-GmbH
    \n Ein Unternehmen der BAE GROUP\n
    \n \n \n \n \n \n \n \n
    [Strasse]
    [Ort]
    Telefon:[Telefon]
    Mobil:[Mobil]
    Email:[Email]
    Web:www.bae-group.eu
    \n

    \n \n BAE GmbH, Sitz: Coburg, Amtsgericht Coburg, HRB 6357.
    \n Gesch\xe4ftsf\xfchrer J\xfcrgen Kerscher, Michael H\xf6lzle
    \n Standorte BAE GROUP: Frankfurt, Berlin, M\xfcnchen, Coburg, Bamberg, Deggendorf, Sofia, Varna
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n Der Inhalt dieser E-Mail ist ausschlie\xdflich f\xfcr den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen\n Vertreter sein sollten, so beachten Sie, dass jede Form der Kenntnis- und Vorteilsnahme, Ver\xf6ffentlichung, Vervielf\xe4ltigung oder Weitergabe des\n Inhalts dieser Mail unzul\xe4ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegen\xfcber\n dem Adressaten unterliegen den Regelungen des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der\n individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend best\xe4tigt wird.\n Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir m\xf6chten Sie au\xdferdem darauf hinweisen, dass die Kommunikation per E-Mail \xfcber das\n Internet unsicher ist, da f\xfcr unberechtigte Dritte grunds\xe4tzlich die M\xf6glichkeit der Kenntnisnahme und Manipulation besteht.\n
    \n The information contained in this email is intended exclusively for the addressee. Access to this email by anyone else is unauthorized. If you are not\n the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it,\n is prohibited. Please notify the sender immediately. All statements directed via this email to our clients are subject to the conditions of the submitted\n offer respectively order, in particular to the General Terms and Conditions and to the individual liability agreement between the parties. The content of\n this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines.\n Please note that communication via email over the internet is insecure because third parties generally have the possibility to access and manipulate emails.\n
    \n \n \n \n \n \n
    PThink about Nature before you print!
    \n '}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(h,C){try{let P,L,v=this.Signatur,M=h.Telefon,E=h.Mobil,A=h.Email,T=h.Vorname+" "+h.Name,R=h.Jobtitel,N=a.find(this.Standorteliste,{_id:h.StandortID});return a.isUndefined(N)||(P=N.Strasse,L=N.PLZ+" "+N.Ort,v=v.replace("[Strasse]",P),v=v.replace("[Ort]",L)),v=v.replace("[Name]",T),v=v.replace("[Jobtitel]",R),v=v.replace("[Telefon]",M),v=v.replace("[Mobil]",E),v=v.split("[Email]").join(A),v=v.split("[Image]").join(this.Basics.WebAppUrl+"/assets/images/group_logo.png"),v}catch(v){this.Debug.ShowErrorMessage(v,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:h}).subscribe({next:E=>{this.Mitarbeiterliste=E},complete:()=>{for(let E of this.Mitarbeiterliste)E=this.InitMitarbeiter(E);this.MitarbeiterlisteChanged.emit(),C(!0)},error:E=>{console.log(E.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadMitarbeiterpositionenliste(){try{this.Mitarbeiterpositionenliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiterpositionen",{headers:h}).subscribe({next:E=>{this.Mitarbeiterpositionenliste=E},complete:()=>{this.MitarbeiterpositionenlisteChanged.emit(),C(!0)},error:E=>{console.log("Error: "+E.message),console.log("Mitarbeiterpositionenliste lesen war fehlerhaft."),v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadMitarbeiterpositionenliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:h}).subscribe({next:E=>{this.Changlogliste=E},complete:()=>{this.Changlogliste.sort((E,A)=>E.Zeitstempel>A.Zeitstempel?-1:E.Zeitstempel{v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:h}).subscribe({next:E=>{this.Standorteliste=E},complete:()=>{for(let E of this.Standorteliste)a.isUndefined(E.Konfession)&&(E.Konfession="RK"),a.isUndefined(E.Bundesland)&&(E.Bundesland="DE-BY"),a.isUndefined(E.Land)&&(E.Land="DE"),a.isUndefined(E.Homeofficefreigabepersonen)&&(E.Homeofficefreigabepersonen=[]),a.isUndefined(E.Urlaubfreigabepersonen)&&(E.Urlaubfreigabepersonen=[]);this.StandortelisteChanged.emit(),C(!0)},error:E=>{v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:h}).subscribe({next:E=>{this.Mitarbeitersettingsliste=E},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),C(!0)},error:E=>{v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(h){try{a.isUndefined(h.SettingsID)&&(h.SettingsID=null),a.isUndefined(h.Archiviert)&&(h.Archiviert=!1),a.isUndefined(h.Meintagliste)&&(h.Meintagliste=[]),a.isUndefined(h.Meinewocheliste)&&(h.Meinewocheliste=[]),a.isUndefined(h.Anrede)&&(h.Anrede=this.Const.NONE),a.isUndefined(h.Urlaub)&&(h.Urlaub=30),a.isUndefined(h.Resturlaub)&&(h.Resturlaub=0),a.isUndefined(h.Urlaubsliste)&&(h.Urlaubsliste=[]),a.isUndefined(h.Urlaubsfreigaben)&&(h.Urlaubsfreigaben=!1),a.isUndefined(h.Planeradministrator)&&(h.Planeradministrator=!1),a.isUndefined(h.Urlaubsfreigaben)&&(h.Urlaubsfreigaben=!1),a.isUndefined(h.Homeofficefreigaben)&&(h.Homeofficefreigaben=!1),a.isUndefined(h.Homeofficefreigabestandorte)&&(h.Homeofficefreigabestandorte=[]),a.isUndefined(h.Urlaubsfreigabeorte)&&(h.Urlaubsfreigabeorte=[]),a.isUndefined(h.PositionID)&&(h.PositionID=null);for(let C of h.Meinewocheliste)a.isUndefined(C.Kalenderwoche)&&(C.Kalenderwoche=0);return h.Urlaubsliste.sort((C,v)=>C.Jahrv.Jahr?1:0),h}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(h){this.Debug.ShowErrorMessage(h,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,u.v4)()}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","GetNewUniqueID",this.Debug.Typen.Service)}}GetNewMitarbeitersettings(){try{return{_id:null,MitarbeiterID:null,FavoritenID:null,ProjektID:null,Favoritprojektindex:null,Zoomfaktor:100,Textsize:14,StandortFilter:null,LeistungsphaseFilter:this.Const.Leistungsphasenvarianten.UNBEKANNT,Aufgabenansicht:[],Deleted:!1,HeadermenueMaxFavoriten:6,AufgabenSortiermodus:this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend,AufgabenMeilensteineNachlauf:2,AufgabenShowMeilensteine:!0,AufgabenShowNummer:!1,AufgabenShowStartdatum:!1,AufgabenShowAufgabe:!0,AufgabenShowBemerkung:!0,AufgabenShowTage:!0,AufgabenShowTermin:!0,AufgabenShowStatus:!0,AufgabenShowFortschritt:!1,AufgabenShowZustaendig:!0,AufgabenShowMeintag:!0,AufgabenShowZeitansatz:!1,AufgabenShowMeinewoche:!0,UrlaubShowBeantragt:!0,UrlaubShowVertreterfreigabe:!0,UrlaubShowGenehmigt:!0,UrlaubShowAbgelehnt:!0,UrlaubShowFerien_DE:!0,UrlaubShowFeiertage_DE:!0,UrlaubShowFerien_BG:!0,UrlaubShowFeiertage_BG:!0,UrlaubShowMeinenUrlaub:!0,ShowHomeoffice:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let h;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(h=a.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),a.isUndefined(h)?this.GetNewMitarbeitersettings():(a.isUndefined(h.Favoritprojektindex)&&(h.Favoritprojektindex=3e3),a.isUndefined(h.HeadermenueMaxFavoriten)&&(h.HeadermenueMaxFavoriten=6),a.isUndefined(h.Zoomfaktor)&&(h.Zoomfaktor=100),a.isUndefined(h.Textsize)&&(h.Textsize=14),a.isUndefined(h.Deleted)&&(h.Deleted=!1),a.isUndefined(h.AufgabenShowNummer)&&(h.AufgabenShowNummer=!0),a.isUndefined(h.AufgabenShowStartdatum)&&(h.AufgabenShowStartdatum=!0),a.isUndefined(h.AufgabenShowAufgabe)&&(h.AufgabenShowAufgabe=!0),a.isUndefined(h.AufgabenShowBemerkung)&&(h.AufgabenShowBemerkung=!0),a.isUndefined(h.AufgabenShowTage)&&(h.AufgabenShowTage=!0),a.isUndefined(h.AufgabenShowTermin)&&(h.AufgabenShowTermin=!0),a.isUndefined(h.AufgabenShowStatus)&&(h.AufgabenShowStatus=!0),a.isUndefined(h.AufgabenShowFortschritt)&&(h.AufgabenShowFortschritt=!0),a.isUndefined(h.AufgabenShowZustaendig)&&(h.AufgabenShowZustaendig=!0),a.isUndefined(h.AufgabenShowMeintag)&&(h.AufgabenShowMeintag=!0),a.isUndefined(h.AufgabenShowZeitansatz)&&(h.AufgabenShowZeitansatz=!0),a.isUndefined(h.AufgabenShowMeinewoche)&&(h.AufgabenShowMeinewoche=!0),a.isUndefined(h.Aufgabenansicht)&&(h.Aufgabenansicht=[]),a.isUndefined(h.AufgabenTerminfiltervariante)&&(h.AufgabenTerminfiltervariante=null),a.isUndefined(h.AufgabenTerminfilterStartwert)&&(h.AufgabenTerminfilterStartwert=null),a.isUndefined(h.AufgabenTerminfilterEndewert)&&(h.AufgabenTerminfilterEndewert=null),a.isUndefined(h.AufgabenSortiermodus)&&(h.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),a.isUndefined(h.AufgabenMeilensteineNachlauf)&&(h.AufgabenMeilensteineNachlauf=2),a.isUndefined(h.LOPListeGeschlossenZeitfilter)&&(h.LOPListeGeschlossenZeitfilter=14),a.isUndefined(h.LeistungsphaseFilter)&&(h.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),a.isUndefined(h.OberkostengruppeFilter)&&(h.OberkostengruppeFilter=null),a.isUndefined(h.UnterkostengruppeFilter)&&(h.UnterkostengruppeFilter=null),a.isUndefined(h.HauptkostengruppeFilter)&&(h.HauptkostengruppeFilter=null),a.isUndefined(h.UrlaubShowBeantragt)&&(h.UrlaubShowBeantragt=!0),a.isUndefined(h.UrlaubShowVertreterfreigabe)&&(h.UrlaubShowVertreterfreigabe=!0),a.isUndefined(h.UrlaubShowGenehmigt)&&(h.UrlaubShowGenehmigt=!0),a.isUndefined(h.UrlaubShowAbgelehnt)&&(h.UrlaubShowAbgelehnt=!0),a.isUndefined(h.UrlaubShowFerien_DE)&&(h.UrlaubShowFerien_DE=!0),a.isUndefined(h.UrlaubShowFerien_BG)&&(h.UrlaubShowFerien_BG=!0),a.isUndefined(h.UrlaubShowFeiertage_DE)&&(h.UrlaubShowFeiertage_DE=!0),a.isUndefined(h.UrlaubShowFeiertage_BG)&&(h.UrlaubShowFeiertage_BG=!0),a.isUndefined(h.UrlaubShowMeinenUrlaub)&&(h.UrlaubShowMeinenUrlaub=!0),a.isUndefined(h.ShowHomeoffice)&&(h.ShowHomeoffice=!0),h))}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(C){return new(C||y)(c.\u0275\u0275inject(l.DebugProvider),c.\u0275\u0275inject(g.ConstProvider),c.\u0275\u0275inject(b.BasicsProvider),c.\u0275\u0275inject(p.HttpClient))};static \u0275prov=c.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},58864:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseStandorteService=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),u=n.__importDefault(o(35908)),a=o(16213),e=n.__importStar(o(54496)),c=n.__importStar(o(34388)),l=n.__importStar(o(7992)),g=n.__importStar(o(29743)),b=n.__importStar(o(97048));f.DatabaseStandorteService=(()=>{class S{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new i.EventEmitter;ServerUrl;constructor(m,h,C,v){this.Debug=m,this.Pool=h,this.Const=C,this.http=v;try{this.CurrentStandort=null,this.CurrentStandortfilter=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/standorte"}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Standorte","constructor",this.Debug.Typen.Service)}}InitService(){try{let m;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(m=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),m&&(this.CurrentStandortfilter=d.cloneDeep(m))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(m=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===d.isUndefined(m)&&(this.Pool.Mitarbeiterstandort=m)):this.Pool.Mitarbeiterstandort=null;for(let h of this.Pool.Standorteliste)h.ShowInGesamtuebersicht=h._id===this.Pool.Mitarbeiterdaten.StandortID;this.StandortfilterChanged.emit()}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(m){try{let h;return h=d.find(this.Pool.Standorteliste,{_id:m}),d.isUndefined(h)?"unbekannt":h.Kuerzel+" - "+h.Ort}catch(h){this.Debug.ShowErrorMessage(h.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let m=(0,u.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Homeofficefreigabepersonen:[],Urlaubfreigabepersonen:[],Zeitstempel:m.valueOf(),Zeitpunkt:m.format("DD.MM.YYYY")}}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let m=this.CurrentStandort.Kuerzel;return m=m.replace(/ /g,"_"),m=m.replace(/-/g,"_"),m=m.replace(/./g,"_"),m+"_"+(0,a.v4)()}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let m,h;return new Promise((C,v)=>{m=this.http.post(this.ServerUrl,this.CurrentStandort),m.subscribe({next:M=>{h=M.data},complete:()=>{this.UpdateStandortliste(h),this.Pool.StandortelisteChanged.emit(),C(!0)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(m){try{let h;h=d.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==h?(this.Pool.Standorteliste[h]=m,this.Debug.ShowMessage("Standortliste updated: "+m.Standort,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Standort nicht gefunden -> neuen Standort hinzuf\xfcgen","Database Standorte","UpdateStandortliste",this.Debug.Typen.Service),this.Pool.Standorteliste.push(m)),this.Pool.Standorteliste=d.filter(this.Pool.Standorteliste,C=>!1===C.Deleted)}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let m;return delete this.CurrentStandort.__v,new Promise((h,C)=>{m=this.http.put(this.ServerUrl,this.CurrentStandort),m.subscribe({next:v=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let m;return this.CurrentStandort.Deleted=!0,new Promise((h,C)=>{m=this.http.put(this.ServerUrl,this.CurrentStandort),m.subscribe({next:v=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(h){return new(h||S)(e.\u0275\u0275inject(c.DebugProvider),e.\u0275\u0275inject(l.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(b.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},9544:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseUrlaubService=void 0;const i=o(81316),d=o(54496),u=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),e=i.__importStar(o(54496)),c=i.__importStar(o(34388)),l=i.__importStar(o(7992)),g=i.__importStar(o(29743)),b=i.__importStar(o(8608)),p=i.__importStar(o(22848)),S=i.__importStar(o(14652)),y=i.__importStar(o(97048));f.DatabaseUrlaubService=(()=>{class h{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new d.EventEmitter;ExterneUrlaubeChanged=new d.EventEmitter;ExterneHomeofficeChanged=new d.EventEmitter;UrlaubStatusChanged=new d.EventEmitter;HomeofficeStatusChanged=new d.EventEmitter;Bundeslandkuerzel;Bundesland;Regionenliste;Jahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentUrlaubzeitspanne;CurrentHomeofficezeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Urlaubfreigabenliste;Homeofficefreigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Urlaubsanfragenanzahl;Homeofficeanfragenanzahl;Homeofficantwortenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};GesamtuebersichtSetting={ShowGeplant:!0,ShowVertreteranfragen:!0,ShowVertreterfreigaben:!0,ShowVertreterablehnungen:!1,ShowUrlaubsgenehmigungen:!0,ShowUrlaubsablehnungen:!1};Homeofficestatusvarianten={Geplant:"Geplant",Freigabeanfrage:"Freigabeanfrage",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Urlaubsfaben={Geplant:"#307ac1",Vertreterfreigabe:"orange",Vertreteranfrage:"#04B4AE",Vertreterablehnung:"#8A0886",Abgelehnt:"red",Genehmigt:"green",Ferien_DE:"#999999",Ferien_BG:"#999999",Feiertage_DE:"#454545",Feiertage_BG:"#454545",Wochenende:"#34495E"};Homeofficefarben={Geplant:"#307ac1",Freigabeanfrage:"#04B4AE",Abgelehnt:"red",Genehmigt:"green"};constructor(v,M,E,A,T,R,N){this.Debug=v,this.Pool=M,this.Const=E,this.Graph=A,this.DBMitarbeiter=T,this.Basics=R,this.http=N;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.Jahr=(0,a.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],this.CurrentMonatindex=(0,a.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentUrlaubzeitspanne=null,this.CurrentUrlaubzeitspanne=null,this.Laendercode="DE",this.ShowFeiertage_DE=!1,this.ShowFeiertage_BG=!1,this.ShowFerientage_DE=!1,this.ShowFerientage_BG=!1,this.Ferienfarbe_DE=this.Const.NONE,this.Feiertagefarbe_DE=this.Const.NONE,this.UrlaublisteExtern=[],this.Vertretrungliste=[],this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Homeofficantwortenanzahl=0,this.CurrentMitarbeiter=null,this.CorrectSetup=!1,this.Officeemailadress="office@b-a-e.eu",this.Monateliste=["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}catch(P){this.Debug.ShowErrorMessage(P.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(v){try{this.CurrentMitarbeiter=u.cloneDeep(v)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{let v,M,E=0,A=0;if(null!==this.CurrentMitarbeiter){v=u.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});for(let T of v.Urlaubfreigabepersonen)M=u.find(this.Pool.Mitarbeiterliste,{_id:T}),u.isUndefined(M)||E++;for(let T of v.Homeofficefreigabepersonen)M=u.find(this.Pool.Mitarbeiterliste,{_id:T}),u.isUndefined(M)||A++;this.CorrectSetup=E>0&&A>0&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}else this.CorrectSetup=!1}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let v,M,E,A;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],null!==this.CurrentMitarbeiter)for(let T of this.Pool.Mitarbeiterliste){if(A=u.find(this.Pool.Standorteliste,{_id:T.StandortID}),v=u.find(T.Urlaubsliste,R=>R.Jahr===this.Jahr&&this.CurrentMitarbeiter.StandortID===this.Pool.Mitarbeiterdaten.StandortID),!u.isUndefined(v)){M=!1,E=!1;for(let R of v.Urlaubzeitspannen)R=this.InitZeitspanne(R),R.UrlaubsfreigeberID===this.CurrentMitarbeiter._id&&!0===this.CheckUrlaubFreigabeanwortAge(R)&&(R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||R.Status===this.Urlaubstatusvarianten.Abgelehnt||R.Status===this.Urlaubstatusvarianten.Genehmigt)&&u.isUndefined(u.find(this.Urlaubfreigabenliste,{_id:T._id}))&&(this.Urlaubfreigabenliste.push(T),R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?M=!0:E=!0);!0===M&&(this.Urlaubsanfragenanzahl++,this.Freigabenanfragenanzahl++),!0===E&&(this.Antwortenanzahl++,this.Freigabenantwortenanzahl++)}if(v=u.find(T.Urlaubsliste,R=>R.Jahr===this.Jahr&&T.StandortID===this.Pool.Mitarbeiterdaten.StandortID),!u.isUndefined(v))for(let R of v.Homeofficezeitspannen)M=!1,E=!1,!0===this.CheckHomeofficeFreigabeanwortAge(R)&&(R.Status===this.Homeofficestatusvarianten.Freigabeanfrage||R.Status===this.Homeofficestatusvarianten.Abgelehnt||R.Status===this.Homeofficestatusvarianten.Genehmigt)&&u.isUndefined(u.find(this.Homeofficefreigabenliste,{_id:T._id}))&&(this.Homeofficefreigabenliste.push(T),R.Status===this.Homeofficestatusvarianten.Freigabeanfrage?M=!0:E=!0),!0===M&&this.Homeofficeanfragenanzahl++,!0===E&&this.Homeofficantwortenanzahl++}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}ResetRequest(v,M){var E=this;return n(function*(){try{if(null!==M){for(let T of M.Urlaubzeitspannen)T.Status=E.Urlaubstatusvarianten.Geplant,T.VertreterantwortSended=!1,T.Vertretungmeldung="",T.Planungmeldung="",T.Vertretungantwortzeitstempel=null;let A=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[A]=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","ResetRequest",E.Debug.Typen.Service)}})()}CheckVertretungsanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return v.UrlaubsvertreterID!==this.CurrentMitarbeiter._id||!0!==v.VertreterantwortSended||v.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&v.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||null!==v.Vertretungantwortzeitstempel&&(E=(0,a.default)(v.Vertretungantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckUrlaubFreigabeanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return!0!==v.FreigabeantwortSended||v.Status!==this.Urlaubstatusvarianten.Genehmigt&&v.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==v.Freigabeantwortzeitstempel&&(E=(0,a.default)(v.Freigabeantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckUrlaubFreigabeanwortAge",this.Debug.Typen.Service)}}CheckHomeofficeFreigabeanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return!0!==v.FreigabeantwortSended||v.Status!==this.Homeofficestatusvarianten.Genehmigt&&v.Status!==this.Homeofficestatusvarianten.Abgelehnt||null!==v.Freigabeantwortzeitstempel&&(E=(0,a.default)(v.Freigabeantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckHomeofficeFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return v.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&v.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==v.VertreterantwortSended||null===v.Vertretungantwortzeitstempel?0:(E=(0,a.default)(v.Vertretungantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let v,M,E,A;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let T of this.Pool.Mitarbeiterliste)if(T._id!==this.CurrentMitarbeiter._id&&(v=u.find(T.Urlaubsliste,{Jahr:this.Jahr}),!u.isUndefined(v))){E=!1,A=!1;for(let R of v.Urlaubzeitspannen)R=this.InitZeitspanne(R),R.UrlaubsvertreterID===this.CurrentMitarbeiter._id&&!0===this.CheckVertretungsanwortAge(R)&&(R.Status===this.Urlaubstatusvarianten.Vertreteranfrage||R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||R.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(R.Status===this.Urlaubstatusvarianten.Vertreteranfrage?E=!0:A=!0,M=u.find(this.Vertretrungliste,{_id:T._id}),u.isUndefined(M)&&this.Vertretrungliste.push(T));!0===E&&(this.Vertretungsanfragenanzahl++,this.Urlaubsanfragenanzahl++),!0===A&&(this.Vertretungsantwortenanzahl++,this.Antwortenanzahl++)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetUrlaubStatuscolor(v){try{let M="none";switch(v){case this.Urlaubstatusvarianten.Geplant:M=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:M=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:M=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:M=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:M=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:M=this.Urlaubsfaben.Abgelehnt;break;default:M="#00FFFF"}return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetUrlaubStatuscolor",this.Debug.Typen.Page)}}GetHomeofficeStatuscolor(v){try{let M="none";switch(v){case this.Homeofficestatusvarianten.Geplant:M=this.Homeofficefarben.Geplant;break;case this.Homeofficestatusvarianten.Freigabeanfrage:M=this.Homeofficefarben.Freigabeanfrage;break;case this.Homeofficestatusvarianten.Genehmigt:M=this.Homeofficefarben.Genehmigt;break;case this.Homeofficestatusvarianten.Abgelehnt:M=this.Homeofficefarben.Abgelehnt;break;default:M="#00FFFF"}return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetHomeofficeStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var v=this;return n(function*(){try{let E,P,M=1,A=(0,a.default)(),T=[],R=[],N=[];for(let x of v.CurrentUrlaub.Urlaubzeitspannen)x.Status===v.Urlaubstatusvarianten.Geplant&&null!==x.UrlaubsvertreterID&&-1===u.indexOf(T,x.UrlaubsvertreterID)&&(M++,T.push(x.UrlaubsvertreterID));for(let x of T)if(R=[],E=u.find(v.Pool.Mitarbeiterliste,{_id:x}),!u.isUndefined(E)){for(let V of v.CurrentUrlaub.Urlaubzeitspannen)V.Status===v.Urlaubstatusvarianten.Geplant&&V.UrlaubsvertreterID===x&&(R.push(V),V.Status=v.Urlaubstatusvarianten.Vertreteranfrage,V.Planungmeldung=A.format("DD.MM.YYYY")+" Vertretungsanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet.");R=yield v.SendVertreteranfragen(v.CurrentMitarbeiter,E,R),N=N.concat(R)}for(let x of N)P=u.findIndex(v.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:x.ZeitspannenID}),v.CurrentUrlaub.Urlaubzeitspannen[P]=x;let L=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[L]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.UrlaubStatusChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","UpdateVertreteranfragen",v.Debug.Typen.Service)}})()}UpdateHomeofficefreigabeanfragen(){var v=this;return n(function*(){try{let M,T,R,N,E=[],A=[];E=[],M=[],R=u.find(v.Pool.Standorteliste,{_id:v.CurrentMitarbeiter.StandortID});for(let L of R.Homeofficefreigabepersonen)N=u.find(v.Pool.Mitarbeiterliste,{_id:L}),u.isUndefined(N)||M.push(N);for(let L of v.CurrentUrlaub.Homeofficezeitspannen)L.Status===v.Homeofficestatusvarianten.Geplant?(L.Status=v.Homeofficestatusvarianten.Freigabeanfrage,A.push(L)):E.push(L);A=yield v.SendHomeofficefreigabeanfrage(v.CurrentMitarbeiter,M,A),E=E.concat(A);for(let L of E)T=u.findIndex(v.CurrentUrlaub.Homeofficezeitspannen,{ZeitspannenID:L.ZeitspannenID}),v.CurrentUrlaub.Homeofficezeitspannen[T]=L;let P=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[P]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.HomeofficeStatusChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","UpdateHomeofficefreigabeanfragen",v.Debug.Typen.Service)}})()}CheckUrlaubsfreigeberAvailable(v){try{return-1!==u.find(this.Pool.Standorteliste,{_id:v.StandortID}).Urlaubfreigabepersonen.indexOf(this.Pool.Mitarbeiterdaten.StandortID)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckUrlaubsfreigeberAvailable",this.Debug.Typen.Service)}}CheckHomeofficefreigeberAvailable(v){try{return-1!==u.find(this.Pool.Standorteliste,{_id:v.StandortID}).Homeofficefreigabepersonen.indexOf(this.Pool.Mitarbeiterdaten.StandortID)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckHomeofficefreigeberAvailable",this.Debug.Typen.Service)}}CountUrlaubsvertretungen(v){try{return u.find(this.Pool.Standorteliste,{_id:v.StandortID}).Urlaubfreigabepersonen.length}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CountUrlaubsvertretungen",this.Debug.Typen.Service)}}UpdateVertreterantworten(v,M){var E=this;return n(function*(){try{let R,N,A=1,T=(0,a.default)().locale("de");for(let L of M.Urlaubzeitspannen)L.Status===E.Urlaubstatusvarianten.Vertreterablehnung&&!1===L.VertreterantwortSended&&(A+=1),L.Status===E.Urlaubstatusvarianten.Vertreterfreigabe&&!1===L.VertreterantwortSended&&(A+=2);R=u.cloneDeep(E.Pool.Mitarbeiterdaten),N=E.CurrentMitarbeiter;for(let L of M.Urlaubzeitspannen)L.Status!==E.Urlaubstatusvarianten.Vertreteranfrage&&!1===L.VertreterantwortSended&&(L.Status===E.Urlaubstatusvarianten.Vertreterfreigabe&&(L.Vertretungmeldung=T.format("DD.MM.YYYY")+" Vertretungszusage wurde an "+v.Vorname+" "+v.Name+" gesendet.",L.Vertretungmeldung+="
    "+T.format("DD.MM.YYYY")+" Urlaubsfreigabe Anfrage wurde an "+R.Vorname+" "+R.Name+" gesendet.",L.Planungmeldung=T.format("DD.MM.YYYY")+" "+N.Vorname+" "+N.Name+" hat der Urlausvertretung zugestimmt.",L.Planungmeldung+="
    "+T.format("DD.MM.YYYY")+" Genehmigungsanfrage wurde an "+R.Vorname+" "+R.Name+" gesendet."),L.Status===E.Urlaubstatusvarianten.Vertreterablehnung&&(L.Planungmeldung=T.format("DD.MM.YYYY")+" "+N.Vorname+" "+N.Name+" hat die Vertretung abgelehnt",L.Vertretungmeldung=T.format("DD.MM.YYYY")+" Vertretungsabsage wurde an "+v.Vorname+" "+v.Name+" gesendet."));M=yield E.SendVertreterzusage(v,N,R,M),M=yield E.SendVertreterabsage(v,N,R,M),M=yield E.SendFreigabeanfrage(v,R,M);let P=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[P]=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateVertreterantworten",E.Debug.Typen.Service)}})()}SendVertreteranfragen(v,M,E){try{let T,A="Urlaubsvertretungsanfrage von "+v.Vorname+" "+v.Name,R=[],N=!1,P=(0,a.default)().locale("de");return new Promise((L,x)=>{T="Hallo "+M.Vorname+",

    bitte pr\xfcfen, ob du f\xfcr folgende Zeitr\xe4ume:

    ",T+='',T+="",T+='';for(let V of E)V.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&V.UrlaubsvertreterID===M._id&&!1===V.VertreteranfrageSended&&(N=!0,V.Vertretunganfragezeitstempel=P.valueOf(),V.VertreteranfrageSended=!0,T+="",T+='",T+='",T+="");T+="
    VonBis
    '+V.Startstring+"'+V.Endestring+"
    ",T+="
    Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(v,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Vertretungsanfrage wurde an "+M.Vorname+" "+M.Name+" gesendet."),L(E)}).catch(V=>{x(V)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),L(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendHomeofficefreigabeanfrage(v,M,E){try{let A="Homeofficefreigabeanfrage von "+v.Vorname+" "+v.Name,T="",R=[],N=!1;return new Promise((P,L)=>{for(let x of M)T+="Hallo "+x.Vorname+",
    ";T+="
    bitte folgende Homeofficetage freigeben:

    ",T+='',T+="",T+='",T+="",T+="
    ';for(let x of E)x.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&!1===x.FreigabeanfrageSended&&(N=!0,x.FreigabeanfrageSended=!0,T+="",T+=x.Startstring+", ",T+="");T+="
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(v,!0);for(let x of M)R.push({emailAddress:{address:x.Email,name:x.Vorname+" "+x.Name}});N?this.Graph.SendMail(R,A,T).then(()=>{for(let x of M)console.log("Homeofficefreigabeanfrage wurde an "+x.Vorname+" "+x.Name+" gesendet.");P(E)}).catch(x=>{L(x)}):(console.log("Es wurden keine Homeofficefreigabeanfragen gesendet."),P(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficefreigabeanfrage",this.Debug.Typen.Service)}}SendVertreterzusage(v,M,E,A){try{let R,T="Vertretungszusage von "+M.Vorname+" "+M.Name,N=[],P=!1,L=(0,a.default)().locale("de");return new Promise((x,V)=>{R="Hallo "+v.Vorname+",

    nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

    ",R+='',R+="",R+='',R+="";for(let F of A.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&F.UrlaubsvertreterID===M._id&&!1===F.VertreterantwortSended&&(P=!0,F.VertreterantwortSended=!0,F.Vertretungantwortzeitstempel=L.valueOf(),R+="",R+='",R+='",R+='',R+="");R+="
    VonBisVertretung
    '+F.Startstring+"'+F.Endestring+"Zusage
    ",R+="

    ",R+="Deine Urlaubsanfrage wurde zur Freigabe an "+E.Vorname+" "+E.Name+" weitergeleitet.",R+="

    ",R+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',R+="

    "+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===P?this.Graph.SendMail(N,T,R).then(()=>{console.log("Vertretungszusage wurde an "+v.Vorname+" "+v.Name+" gesendet."),x(A)}).catch(F=>{V(F)}):(console.log("Es wurde keine Vertretungszusage gesendet."),x(A))})}catch(T){this.Debug.ShowErrorMessage(T,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}SendHomeofficeFreigabeantworten(v,M){var E=this;return n(function*(){try{let A=u.cloneDeep(E.Pool.Mitarbeiterdaten);M=yield E.SendMitarbeiterHomeofficeFreigabeablehnung(v,A,M),M=yield E.SendMitarbeiterHomeofficeFreigabezusage(v,A,M);let T=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[T]=M,v._id===E.CurrentMitarbeiter._id&&(E.CurrentMitarbeiter=v),yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficeFreigabeantworten",E.Debug.Typen.Service)}})()}UpdateFreigabenantworten(v,M){var E=this;return n(function*(){try{let R,A=1,T=(0,a.default)().locale("de");for(let P of M.Urlaubzeitspannen)P.Status===E.Urlaubstatusvarianten.Genehmigt&&!1===P.FreigabeantwortSended&&(A+=1),P.Status===E.Urlaubstatusvarianten.Abgelehnt&&!1===P.FreigabeantwortSended&&(A+=2);for(let P of M.Urlaubzeitspannen)(P.Status===E.Urlaubstatusvarianten.Genehmigt||P.Status===E.Urlaubstatusvarianten.Abgelehnt)&&(R=u.cloneDeep(E.Pool.Mitarbeiterdaten),P.Status===E.Urlaubstatusvarianten.Genehmigt&&(P.Planungmeldung=T.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+R.Vorname+" "+R.Name+" genehmigt.",P.Freigabemeldung=T.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet.",P.Freigabemeldung+="
    "+T.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),P.Status===E.Urlaubstatusvarianten.Abgelehnt&&(P.Planungmeldung=T.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+R.Vorname+" "+R.Name+" abgelehnt.",P.Freigabemeldung=T.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+v.Vorname+" "+v.Name+" gesendet."));M=yield E.SendMitarbeiterFreigabeablehnung(v,R,M),M=yield E.SendMitarbeiterFreigabezusage(v,R,M),M=yield E.SendOfficeFreigabezusage(v,R,M);let N=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[N]=M,E.CurrentUrlaub=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateFreigabenantworten",E.Debug.Typen.Service)}})()}SendVertreterabsage(v,M,E,A){try{let R,T="Vertretungsabsage von "+M.Vorname+" "+M.Name,N=[],P=!1,L=(0,a.default)().locale("de");return new Promise((x,V)=>{R="Hallo "+v.Vorname+",

    nachfolgende Urlaubsvertretungen kann ich nicht wahrnehmen:

    ",R+='',R+="",R+='',R+="";for(let F of A.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&F.UrlaubsvertreterID===M._id&&!1===F.VertreterantwortSended&&(P=!0,F.VertreterantwortSended=!0,F.Vertretungantwortzeitstempel=L.valueOf(),R+="",R+='",R+='",R+='',R+="");R+="
    VonBisVertretung
    '+F.Startstring+"'+F.Endestring+"Abgelehnt
    ",R+="

    ",R+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',R+="

    "+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===P?this.Graph.SendMail(N,T,R).then(()=>{console.log("Vertretungsabsage wurde an "+v.Vorname+" "+v.Name+" gesendet."),x(A)}).catch(F=>{V(F)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),x(A))})}catch(T){this.Debug.ShowErrorMessage(T,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(v,M,E){try{let T,P,A="Anfrage Urlaubsfreigabe von "+v.Vorname+" "+v.Name,R=[],N=!1,L=(0,a.default)().locale("de");return new Promise((x,V)=>{T="Hallo "+M.Vorname+"

    es liegen neue Anfragen zur Urlaufsfreigabe von ",T+=v.Vorname+" "+v.Name+" vor:

    ",T+='',T+="",T+='',T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===F.FreigabeanfrageSended&&(N=!0,P=u.find(this.Pool.Mitarbeiterliste,{_id:F.UrlaubsvertreterID}),F.FreigabeanfrageSended=!0,F.Freigabeantwortzeitstempel=L.valueOf(),T+="",T+='",T+='",T+="",T+="");T+="
    VonBisVertretung
    '+F.Startstring+"'+F.Endestring+"",u.isUndefined(P)||(T+=P.Vorname+" "+P.Name),T+="
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(v,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Freigabe Anfrage wurde versendet."),x(E)}).catch(F=>{V(F)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),x(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(v,M,E){try{let T,L,A="Urlaubsfreigabe",R=[],N=!1,P=(0,a.default)().locale("de");return new Promise((x,V)=>{T="Hallo "+v.Vorname+",

    anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

    ",T+='',T+="",T+='',T+='',T+="",T+="",T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===F.FreigabeantwortSended&&(F.FreigabeantwortSended=!0,F.UrlaubsfreigeberID=M._id,F.Freigabeantwortzeitstempel=P.valueOf(),L=this.DBMitarbeiter.GetMitarbeiterByID(F.UrlaubsvertreterID),N=!0,T+="",T+='",T+='",u.isUndefined(L)?T+='':T+="",T+='',T+="");T+="
    VonBisVertretungStatus
    '+F.Startstring+"'+F.Endestring+"unbekannt"+L.Vorname+" "+L.Name+"Freigabe
    ",T+="

    ",T+='Deine Urlaubsfreigabe wurde zur Eintragung in "untermStrich" dem B\xfcro mitgeteilt.',T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet."),x(E)}).catch(F=>{V(F)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),x(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(v,M,E){try{let T,L,A="Urlaubsfreigabe",R=[],N=!1,P=(0,a.default)().locale("de");return new Promise((x,V)=>{T="Hallo Office,

    anbei eine Urlaubsfreigabe f\xfcr "+v.Vorname+" "+v.Name+" mit folgenden Zeitr\xe4umen:

    ",T+='',T+="",T+='',T+='',T+="",T+="",T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===F.FreigabeantwortOfficeSended&&(F.FreigabeantwortOfficeSended=!0,F.Freigabeantwortzeitstempel=P.valueOf(),L=this.DBMitarbeiter.GetMitarbeiterByID(F.UrlaubsvertreterID),N=!0,T+="",T+='",T+='",u.isUndefined(L)?T+='':T+="",T+='',T+="");T+="
    VonBisVertretungStatus
    '+F.Startstring+"'+F.Endestring+"unbekannt"+L.Vorname+" "+L.Name+"Freigabe
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet."),x(E)}).catch(F=>{V(F)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),x(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(v,M,E){try{let T,L,A="Ablehnung deiner Urlaubsanfrage",R=[],N=!1,P=(0,a.default)().locale("de");return new Promise((x,V)=>{T="Hallo "+v.Vorname+" "+v.Name+",

    leider muss ich deine Urlaubsanfrage f\xfcr nachfolgende Zeitr\xe4ume ablehnen:

    ",T+='',T+="",T+='',T+='',T+="",T+="",T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===F.FreigabeantwortSended&&(F.FreigabeantwortSended=!0,F.UrlaubsfreigeberID=M._id,F.Freigabeantwortzeitstempel=P.valueOf(),L=this.DBMitarbeiter.GetMitarbeiterByID(F.UrlaubsvertreterID),N=!0,T+="",T+='",T+='",u.isUndefined(L)?T+='':T+="",T+='',T+="");T+="
    VonBisVertretungStatus
    '+F.Startstring+"'+F.Endestring+"unbekannt"+L.Vorname+" "+L.Name+"Abgelehnt
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Urlaubsablehung wurde an "+v.Vorname+" "+v.Name+" gesendet."),x(E)}).catch(F=>{V(F)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),x(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabeablehnung(v,M,E){try{let T,A="Ablehnung deiner Homeofficeabfrage",R=[],N=!1,P=(0,a.default)().locale("de");return new Promise((L,x)=>{T="Hallo "+v.Vorname+" "+v.Name+",

    leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

    ",T+='',T+="",T+='',T+='',T+="";for(let V of E.Homeofficezeitspannen)V.Status===this.Homeofficestatusvarianten.Abgelehnt&&!1===V.FreigabeantwortSended&&(V.FreigabeantwortSended=!0,V.Freigabeantwortzeitstempel=P.valueOf(),N=!0,T+="",T+='",T+='',T+="");T+="
    DatumStatus
    '+V.Startstring+"Abgelehnt
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Homeofficeablehnung wurde an "+v.Vorname+" "+v.Name+" gesendet."),L(E)}).catch(V=>{x(V)}):(console.log("Es wurde keine Homeofficeablehnung gesendet."),L(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabezusage(v,M,E){try{let T,A="Genehmigung deiner Homeofficeanfrage",R=[],N=!1,P=(0,a.default)().locale("de");return new Promise((L,x)=>{T="Hallo "+v.Vorname+" "+v.Name+",

    leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

    ",T+='',T+="",T+='',T+='',T+="";for(let V of E.Homeofficezeitspannen)V.Status===this.Homeofficestatusvarianten.Genehmigt&&!1===V.FreigabeantwortSended&&(V.FreigabeantwortSended=!0,V.Freigabeantwortzeitstempel=P.valueOf(),N=!0,T+="",T+='",T+='',T+="");T+="
    DatumStatus
    '+V.Startstring+"Genehmigt
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Homeofficegenehmigung wurde an "+v.Vorname+" "+v.Name+" gesendet."),L(E)}).catch(V=>{x(V)}):(console.log("Es wurde keine Homeofficegenehmigung gesendet."),L(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabezusage",this.Debug.Typen.Service)}}ReadRegionen(v){try{return new Promise((M,E)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:v}).subscribe({next:R=>{this.Regionenliste=R.Regionenliste},complete:()=>{this.Regionenliste=u.filter(this.Regionenliste,R=>""!==R.isoCode);for(let R of this.Regionenliste)R.Name=R.name[0].text;M(!0)},error:R=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),M(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(v){try{let M,E=u.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});u.isUndefined(E)&&(E=null);let A={Standort:E,Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:v};return new Promise((T,R)=>{this.Feiertageliste[v]=[],M=this.http.put(this.ServerReadfeiertageUrl,A),M.subscribe({next:N=>{this.Feiertageliste[v]=N.Feiertageliste},complete:()=>{T(!0)},error:N=>{this.Feiertageliste[v]=[],console.log("Read Feiertage ist fehlgeschlagen."),T(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(v){try{let M,E={Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:v};return this.Ferienliste[v]=[],new Promise((A,T)=>{M=this.http.put(this.ServerReadFerienUrl,E),M.subscribe({next:R=>{this.Ferienliste[v]=R.Ferienliste},complete:()=>{A(!0)},error:R=>{this.Ferienliste[v]=[],console.log("Read Ferien ist fehlgeschlagen."),A(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(v){return this.Debug.ShowErrorMessage(v,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let v,M,E,A,T;this.Urlaubsanfragenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null===this.CurrentMitarbeiter&&(this.CurrentMitarbeiter=u.cloneDeep(this.Pool.Mitarbeiterdaten)),null!==this.CurrentMitarbeiter&&(v=u.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=u.isUndefined(v)?"DE":v.Land),this.ShowFerientage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE,this.ShowFeiertage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE,this.Ferienfarbe_DE=this.Urlaubsfaben.Ferien_DE,this.Feiertagefarbe_DE=this.Urlaubsfaben.Feiertage_DE,this.ShowFerientage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG,this.ShowFeiertage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG,this.Ferienfarbe_BG=this.Urlaubsfaben.Ferien_BG,this.Feiertagefarbe_BG=this.Urlaubsfaben.Feiertage_BG,null!==this.CurrentMitarbeiter&&(this.CurrentUrlaub=u.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.Jahr}),u.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.Jahr),this.CurrentUrlaubzeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentUrlaubzeitspanne=null,u.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),u.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),u.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]));for(let R of this.CurrentUrlaub.Urlaubzeitspannen)R=this.InitZeitspanne(R);this.UrlaublisteExtern=[];for(let R of this.CurrentUrlaub.Projektbeteiligteliste)if(M=u.find(this.Pool.Mitarbeiterliste,{_id:R.MitarbeiterID}),!u.isUndefined(M)){E=u.find(M.Urlaubsliste,{Jahr:this.Jahr}),u.isUndefined(E)?(E=this.GetEmptyUrlaub(this.Jahr),E.MitarbeiterIDExtern=M._id,E.NameExtern=M.Vorname+" "+M.Name,E.NameKuerzel=M.Kuerzel):(E=u.cloneDeep(E),E.MitarbeiterIDExtern=M._id,E.NameExtern=M.Vorname+" "+M.Name,E.NameKuerzel=M.Kuerzel,E.Urlaubzeitspannen=u.filter(E.Urlaubzeitspannen,N=>N.Status!==this.Urlaubstatusvarianten.Abgelehnt)),A=0,A+=M.Urlaub,A+=this.DBMitarbeiter.CurrentMitarbeiter.Resturlaub,T=0;for(let N of E.Urlaubzeitspannen)N.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(T+=N.Tageanzahl);E.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+T+" von "+A+"]":"["+T+"]",this.UrlaublisteExtern.push(E)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitZeitspanne(v){try{return(u.isUndefined(v.UrlaubsvertreterID)||""===v.UrlaubsvertreterID)&&(v.UrlaubsvertreterID=null),(u.isUndefined(v.UrlaubsfreigeberID)||""===v.UrlaubsfreigeberID)&&(v.UrlaubsfreigeberID=null),u.isUndefined(v.Planungmeldung)&&(v.Planungmeldung=""),u.isUndefined(v.Vertretungmeldung)&&(v.Vertretungmeldung=""),u.isUndefined(v.Freigabemeldung)&&(v.Freigabemeldung=""),u.isUndefined(v.VertreteranfrageSended)&&(v.VertreteranfrageSended=!1),u.isUndefined(v.VertreterantwortSended)&&(v.VertreterantwortSended=!1),u.isUndefined(v.FreigabeanfrageSended)&&(v.FreigabeanfrageSended=!1),u.isUndefined(v.FreigabeantwortSended)&&(v.FreigabeantwortSended=!1),u.isUndefined(v.FreigabeantwortOfficeSended)&&(v.FreigabeantwortOfficeSended=!1),u.isUndefined(v.Vertretunganfragezeitstempel)&&(v.Vertretunganfragezeitstempel=null),u.isUndefined(v.Vertretungantwortzeitstempel)&&(v.Vertretungantwortzeitstempel=null),u.isUndefined(v.Freigabeantwortzeitstempel)&&(v.Freigabeantwortzeitstempel=null),u.isUndefined(v.FreigabeantwortOfficezeitstempel)&&(v.FreigabeantwortOfficezeitstempel=null),"Beantragt"===v.Status&&(v.Status=this.Urlaubstatusvarianten.Geplant),v}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","InitZeitspanne",this.Debug.Typen.Service)}}SetPlanungsmonate(){try{0===this.CurrentMonatindex?(this.FirstMonatIndex=0,this.CurrentMonatindex=1,this.LastMonatIndex=2):11===this.CurrentMonatindex?(this.FirstMonatIndex=9,this.CurrentMonatindex=10,this.LastMonatIndex=11):(this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1)}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(v){try{let M={Jahr:v,Urlaubzeitspannen:[],Homeofficezeitspannen:[],Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!u.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(M.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,M.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,M.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),M}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(v,M){try{let A,T,E=(0,a.default)(v.Tagstempel),R=!1;if(!u.isUndefined(this.Ferienliste[M]))for(let N of this.Ferienliste[M])if(A=(0,a.default)(N.Anfangstempel),T=(0,a.default)(N.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(T,"day")){R=!0;break}return R}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}CheckIsUrlaubstag(v,M){try{let A,T,N,E=(0,a.default)(M.Tagstempel),P=u.findIndex(v.Urlaubsliste,{Jahr:this.Jahr});if(-1!==P){N=v.Urlaubsliste[P];for(let x of N.Urlaubzeitspannen)if(A=(0,a.default)(x.Startstempel),T=(0,a.default)(x.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(T,"day")&&x.Status!==this.Urlaubstatusvarianten.Abgelehnt)switch(x.Status){case this.Urlaubstatusvarianten.Geplant:if(!0===this.GesamtuebersichtSetting.ShowGeplant)return x;break;case this.Urlaubstatusvarianten.Vertreteranfrage:if(!0===this.GesamtuebersichtSetting.ShowVertreteranfragen)return x;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:if(!0===this.GesamtuebersichtSetting.ShowVertreterfreigaben)return x;break;case this.Urlaubstatusvarianten.Vertreterablehnung:if(!0===this.GesamtuebersichtSetting.ShowVertreterablehnungen)return x;break;case this.Urlaubstatusvarianten.Genehmigt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen)return x;break;case this.Urlaubstatusvarianten.Abgelehnt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsablehnungen)return x}}return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsUrlaubstag",this.Debug.Typen.Service)}}GetFeriennamen(v,M){try{let E=M+": Unbekannt";for(let A of v.name)A.language===M&&(E=A.text);return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(v,M){try{let E=M+": Unbekannt";for(let A of v.name)A.language===M&&(E=A.text);return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(v,M){try{let A,T,R,N,E=(0,a.default)(v.Tagstempel);if(!u.isUndefined(this.Ferienliste[M]))for(N of this.Ferienliste[M])if(A=(0,a.default)(N.Anfangstempel),T=(0,a.default)(N.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(T,"day"))return R={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:N.Anfangstempel,Ferienname_DE:this.GetFeriennamen(N,"DE"),Ferienname_BG:this.GetFeriennamen(N,"EN")},R;return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(v,M){try{let A,E=(0,a.default)(v.Tagstempel),T=!1;if(!u.isUndefined(this.Feiertageliste[M]))for(let R of this.Feiertageliste[M])if(A=(0,a.default)(R.Anfangstempel),A.isSame(E,"day")&&-1===u.findIndex(this.CurrentUrlaub.Feiertageblockerliste,v.Tagstempel)){T=!0;break}return T}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(v,M){try{let A,T,R,E=(0,a.default)(v.Tagstempel);if(!u.isUndefined(this.Feiertageliste[M]))for(R of this.Feiertageliste[M])if(A=(0,a.default)(R.Anfangstempel),A.isSame(E,"day"))return T={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:R.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(R,"DE"),Feiertagname_BG:this.GetFeiertagnamen(R,"EN")},T;return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyUrlaubszeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",UrlaubsvertreterID:null,UrlaubsfreigeberID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,VertreteranfrageSended:!1,VertreterantwortSended:!1,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Vertretunganfragezeitstempel:null,Vertretungantwortzeitstempel:null,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}GetEmptyHomeofficezeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",Status:this.Homeofficestatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,Freigabeantwortzeitstempel:null}}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Urlaub","GetEmptyHomeofficezeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){v+=this.Pool.Mitarbeiterdaten.Urlaub,v+=this.CurrentMitarbeiter.Resturlaub;for(let M of this.CurrentUrlaub.Urlaubzeitspannen)M.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(v-=M.Tageanzahl);return v}return 0}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CountHomeoffice(){try{let v=210;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status!==this.Homeofficestatusvarianten.Abgelehnt&&(v-=M.Tageanzahl);return v}return 0}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeoffice",this.Debug.Typen.Service)}}CountHomeGeplant(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Geplant&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeGeplant",this.Debug.Typen.Service)}}CountHomeFreigbeanfragen(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeFreigbeanfragen",this.Debug.Typen.Service)}}CountHomeGenehmigt(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Genehmigt&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeGenehmigt",this.Debug.Typen.Service)}}CountHomeAbgelehnt(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Abgelehnt&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeAbgelehnt",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(v){try{let M,E,A;return null!==this.CurrentUrlaub&&(M=u.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:v}),!u.isUndefined(M)&&(E=u.find(this.Pool.Mitarbeiterliste,{_id:M.MitarbeiterID}),A=u.find(E.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!u.isUndefined(A)&&M.Display&&A.Urlaubzeitspannen.length>0))}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}HomeofficeAbgelehntLoeschen(){var v=this;return n(function*(){try{null!==v.CurrentUrlaub&&null!==v.Pool.Mitarbeiterdaten&&(v.CurrentUrlaub.Homeofficezeitspannen=u.filter(v.CurrentUrlaub.Homeofficezeitspannen,E=>E.Status!==v.Homeofficestatusvarianten.Abgelehnt));let M=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[M]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.ExterneHomeofficeChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","HomeofficeAbgelehntLoeschen",v.Debug.Typen.Service)}})()}HomeofficeGeplantLoeschen(){var v=this;return n(function*(){try{null!==v.CurrentUrlaub&&null!==v.Pool.Mitarbeiterdaten&&(v.CurrentUrlaub.Homeofficezeitspannen=u.filter(v.CurrentUrlaub.Homeofficezeitspannen,E=>E.Status!==v.Homeofficestatusvarianten.Geplant));let M=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[M]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.ExterneHomeofficeChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","HomeofficeGeplantLoeschen",v.Debug.Typen.Service)}})()}static \u0275fac=function(M){return new(M||h)(e.\u0275\u0275inject(c.DebugProvider),e.\u0275\u0275inject(l.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(b.Graphservice),e.\u0275\u0275inject(p.DatabaseMitarbeiterService),e.\u0275\u0275inject(S.BasicsProvider),e.\u0275\u0275inject(y.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},34388:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DebugProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),u=n.__importStar(o(10716)),a=n.__importStar(o(34396)),e=n.__importStar(o(29743));f.DebugProvider=(()=>{class l{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(b,p,S,y){this.Basics=b,this.nav=p,this.Fehlerservice=S,this.Const=y;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(b,p,S,y){try{console.log("File: "+p+" | Function: "+S+" | Message: "+b),this.Debugmessageliste.push({Skript:p,Message:b,Function:S,Color:"red"})}catch{}}ShowMessage(b,p,S,y){try{console.log("File: "+p+" | Function: "+S+" | Message: "+b),this.Debugmessageliste.push({Skript:p,Message:b,Function:S,Color:"blue"})}catch{}}static \u0275fac=function(p){return new(p||l)(i.\u0275\u0275inject(d.BasicsProvider),i.\u0275\u0275inject(u.NavController),i.\u0275\u0275inject(a.ErrorService),i.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},21052:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DisplayService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(17964),u=n.__importStar(o(54496)),a=n.__importStar(o(34388));f.DisplayService=(()=>{class c{Debug;Dialognamen={Auswahldialog:"Auswahldialog",Mitarbeiterauswahl:"Mitarbeiterauswahl",Projekteditor:"Projekteditor",Beteiligteneditor:"Beteiligteneditor",Firmeneditor:"Firmeneditor",Mitarbeitereditor:"Mitarbeitereditor",Standorteditor:"Standorteditor",Changelogeditor:"Changelogeditor",Favoriteneditor:"Favoriteneditor",Favoritenauswahl:"Favoritenauswahl",Projekteauswahl:"Projekteauswahl",Bauteileditor:"Bauteileditor",Geschosseditor:"Geschosseditor",Raumeditor:"Raumeditor",AufgabeProjektauswahl:"AufgabeProjektauswahl",Projektpunteditor:"Projektpunteditor",Beteiligteauswahl:"Beteiligteauswahl",Firmenauswahl:"Firmenauswahl",Protokolleditor:"Protokolleditor",Kostengruppenauswahl:"Kostengruppenauswahl",Raumauswahl:"Raumauswahl",Protokolllistefilter:"Protokolllistefilter",Aufgabenlistefilter:"Aufgabenlistefilter",Meinewocheeditor:"Meinewocheeditor",ProjektpunktStatusDatePicker:"ProjektpunktStatusDatePicker",ProjektpunktDateKwPicker:"ProjektpunktDateKwPicker",Verzeichnisauswahl:"Verzeichnisauswahl",Bilderauswahl:"Bilderauswahl",Outlookkontakteauswahl:"Outlookkontakteauswahl",ProjektSendeEmail:"ProjektSendeEmail",Bautagebucheditor:"Bautagebucheditor",Bautagebucheintrageditor:"Bautagebucheintrageditor",LOPListeEditor:"LOPListeEditor",LOPListeEintragEditor:"LOPListeEintragEditor",Planungsmatrixeintrageditor:"Planungsmatrixeintrageditor",Notizenkapiteleditor:"Notizenkapiteleditor",Festlegungkategorieneditor:"Festlegungkategorieneditor",Simontabelleeditor:"Simontabelleeditor",Simontabellelesitungeditor:"Simontabellelesitungeditor",RechnungEditor:"RechnungEditor"};Dialogliste;constructor(g){this.Debug=g;try{this.Dialogliste=[]}catch(b){this.Debug.ShowErrorMessage(b.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(g){this.Debug.ShowErrorMessage(g.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(g,b){try{let p=i.find(this.Dialogliste,{Dialogname:g});i.isUndefined(p)?this.Dialogliste.push({Dialogname:g,ZIndex:b}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+g),"Dialog","AddDialog",this.Debug.Typen.Service),(0,d.forEach)(this.Dialogliste,S=>{console.log(S)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(g){try{this.Dialogliste=i.filter(this.Dialogliste,b=>b.Dialogname!==g),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(b){this.Debug.ShowErrorMessage(b.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(g){try{let S,b=0,p=0;return(0,d.forEach)(this.Dialogliste,y=>{y.ZIndex>b&&(b=y.ZIndex),y.Dialogname===g&&(p=y.ZIndex,S=y.Dialogname)}),p>=b}catch(b){this.Debug.ShowErrorMessage(b.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||c)(u.\u0275\u0275inject(a.DebugProvider))};static \u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},34396:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ErrorService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));f.ErrorService=(()=>{class a{Const;Fehlermeldung;CanGoBack;constructor(c){this.Const=c;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8608:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.Graphservice=void 0;const i=o(81316),d=o(54496),u=o(9028),a=o(57140),e=i.__importStar(o(17964)),c=i.__importDefault(o(35908)),l=i.__importStar(o(54496)),g=i.__importStar(o(34388)),b=i.__importStar(o(29743)),p=i.__importStar(o(97092)),S=i.__importStar(o(19668)),y=i.__importStar(o(14652)),m=i.__importStar(o(14476));f.Graphservice=(()=>{class C{msalGuardConfig;Debug;Const;AuthService;Tools;Basics;domSanitizer;ImageZoomOut=new d.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;CurrentPDFDownload;KalenderKW;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(M,E,A,T,R,N,P){this.msalGuardConfig=M,this.Debug=E,this.Const=A,this.AuthService=T,this.Tools=R,this.Basics=N,this.domSanitizer=P;try{this.Graphuser=null,this.UserimageSRC=null,this.Teamsliste=[],this.TeamsRootfilelist=[],this.TeamsCurrentfilelist=[],this.TeamsSubdirectorylist=[],this.CurrentTeamsID="ea457111-b3f1-4c73-a8ae-cb1cbaf6d244",this.CurrentPDFDownload=null,this.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,c.default)().locale("de").isoWeek(),this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(L){this.Debug.ShowErrorMessage(L.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnUserinfo(){var M=this;return n(function*(){try{let E=yield M.AuthService.RequestToken("user.read");const A=a.Client.init({authProvider:T=>{T(null,E)}});return new Promise((T,R)=>{null!==E?A.api("/me").select("*").get().then(N=>{M.Graphuser=N,T(!0)}).catch(N=>{"InvalidAuthenticationToken"===N.code&&(M.AuthService.UnsetActiveUser(),M.Tools.SetRootPage(M.Const.Pages.HomePage)),R(N)}):R(!1)})}catch(E){M.Debug.ShowErrorMessage(E,"Graph","GetOwnUserinfo",M.Debug.Typen.Service)}})()}GetEmptyTeamsfile(){try{return{cTag:"",createdBy:{user:{displayName:"",email:"",id:""}},createdDateTime:"",eTag:"",fileSystemInfo:{createdDateTime:"",lastModifiedDateTime:""},id:"",lastModifiedBy:{},lastModifiedDateTime:"",name:"",parentReference:{driveId:"",driveType:"",id:"",path:""},shared:{scope:""},size:0,webUrl:""}}catch(M){this.Debug.ShowErrorMessage(M,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(M,E){var A=this;return n(function*(){try{let R,T=yield A.AuthService.RequestToken("user.read"),N=[],P=[];A.TeamsRootfilelist=[],A.TeamsCurrentfilelist=[];const L=a.Client.init({authProvider:x=>{x(null,T)}});return new Promise((x,V)=>{null!==T?L.api("/sites/"+A.BAESiteID+"/drive/items/"+M.id+"/children").get().then(F=>{for(R of F.value)e.isUndefined(R.file)?(R.isfolder=!0,P.push(R)):(R.isfolder=!1,N.push(R));P.sort((ee,X)=>ee.nameX.name?1:0),N.sort((ee,X)=>ee.nameX.name?1:0),!1===E?A.TeamsRootfilelist=P:(A.TeamsRootfilelist=P,A.TeamsRootfilelist=A.TeamsRootfilelist.concat(N)),A.TeamsCurrentfilelist=A.TeamsRootfilelist,e.isUndefined(e.find(A.TeamsSubdirectorylist,ee=>ee.id===M.id))&&A.TeamsSubdirectorylist.push(M),x(!0)}).catch(F=>{V(F)}):V(!1)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","GetSiteSubdirictoryfilelist",A.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(M,E){var A=this;return n(function*(){try{let T=yield A.AuthService.RequestToken("user.read"),R={name:E.name,id:"",context:"",url:""};const N=a.Client.init({authProvider:P=>{P(null,T)}});return new Promise((P,L)=>{null!==T?N.api("/groups/"+M+"/drive/items/"+E.id+"?select=id,@microsoft.graph.downloadUrl").get().then(x=>{R.id=x.id,R.url=x["@microsoft.graph.downloadUrl"],R.context=x["@odata.context"],A.CurrentPDFDownload=R,P(R)}).catch(x=>{L(x)}):L(null)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","DownloadPDFTeamsFile",A.Debug.Typen.Service)}})()}DownloadPDFSiteFile(M){var E=this;return n(function*(){try{let A=yield E.AuthService.RequestToken("user.read"),T={name:M.name,id:"",context:"",url:""};const R=a.Client.init({authProvider:N=>{N(null,A)}});return new Promise((N,P)=>{null!==A?R.api("/sites/"+E.BAESiteID+"/drive/items/"+M.id+"?select=id,@microsoft.graph.downloadUrl").get().then(L=>{T.id=L.id,T.url=L["@microsoft.graph.downloadUrl"],T.context=L["@odata.context"],E.CurrentPDFDownload=T,N(T)}).catch(L=>{P(L)}):P(null)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","DownloadPDFSiteFile",E.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(M){var E=this;return n(function*(){try{let A=yield E.AuthService.RequestToken("user.read"),T=document.createElement("a"),R={name:"",id:"",context:"",url:""};const N=a.Client.init({authProvider:P=>{P(null,A)}});return new Promise((P,L)=>{null!==A?N.api("/sites/"+E.BAESiteID+"/drive/items/"+M+"?select=id,@microsoft.graph.downloadUrl").get().then(x=>{R.id=x.id,R.url=x["@microsoft.graph.downloadUrl"],R.context=x["@odata.context"],E.CurrentPDFDownload=R,document.body.appendChild(T),T.href=R.url,T.click(),T.remove(),P(R)}).catch(x=>{L(x)}):L(null)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","DownloadPDFSiteFileViaLink",E.Debug.Typen.Service)}})()}TestGraph(){var M=this;return n(function*(){try{let E=yield M.AuthService.RequestToken("user.read"),A="632cc6c8-51d5-4219-8092-ed10a792e715";const T=a.Client.init({authProvider:R=>{R(null,E)}});return new Promise((R,N)=>{null!==E?T.api("/groups/"+A+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(P=>{R(!0)}).catch(P=>{N(P)}):N(!1)})}catch(E){M.Debug.ShowErrorMessage(E,"Graph","TestGraph",M.Debug.Typen.Service)}})()}TeamsCheckFileExists(M,E,A){var T=this;return n(function*(){try{let P,R=yield T.AuthService.RequestToken("user.read"),N=!1;const L=a.Client.init({authProvider:x=>{x(null,R)}});return E=E.replace("ROOT:",""),new Promise((x,V)=>{null!==R?L.api("/groups/"+M+"/drive/items/"+E+"/children").get().then(F=>{for(P of F.value)e.isUndefined(P.folder)&&P.name===A&&(N=!0);x(N)}).catch(F=>{V(F)}):V(!1)})}catch(R){T.Debug.ShowErrorMessage(R,"Graph","TeamsCheckFileExists",T.Debug.Typen.Service)}})()}SiteCheckFileExists(M,E){var A=this;return n(function*(){try{let N,T=yield A.AuthService.RequestToken("user.read"),R=!1;const P=a.Client.init({authProvider:L=>{L(null,T)}});return M=M.replace("ROOT:",""),new Promise((L,x)=>{null!==T?P.api("/sites/"+A.BAESiteID+"/drive/items/"+M+"/children").get().then(V=>{for(N of V.value)e.isUndefined(N.folder)&&N.name===E&&(R=!0);L(R)}).catch(V=>{L(null)}):x(!1)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","SiteCheckFileExists",A.Debug.Typen.Service)}})()}GetTeamsSubDirectory(M,E){var A=this;return n(function*(){try{let T=yield A.AuthService.RequestToken("user.read");const R=a.Client.init({authProvider:N=>{N(null,T)}});return new Promise((N,P)=>{null!==T?R.api("/groups/"+M+"/drive/items/"+E).get().then(L=>{N(L)}).catch(L=>{N(null)}):P(null)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","GetTeamsSubDirectory",A.Debug.Typen.Service)}})()}GetSiteSubDirectory(M){var E=this;return n(function*(){try{let A=yield E.AuthService.RequestToken("user.read");const T=a.Client.init({authProvider:R=>{R(null,A)}});return new Promise((R,N)=>{null!==A?T.api("/sites/"+E.BAESiteID+"/drive/items/"+M).get().then(P=>{R(P)}).catch(P=>{R(null)}):N(null)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","GetSiteSubDirectory",E.Debug.Typen.Service)}})()}GetAllUsers(){var M=this;return n(function*(){try{let T,R,E=[],A=[],N=0,P=yield M.AuthService.RequestToken("User.ReadBasic.All");const L=a.Client.init({authProvider:x=>{x(null,P)}});if(T=yield L.api("/users").count().get(),e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(A.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{R=T["@odata.nextLink"],T=yield L.api(R).get(),e.isUndefined(T.value)||A.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||A.push(T.value)}for(let x of A)for(let V of x)E.push(V);return E=e.filter(E,x=>null!==x.mail&&null!==x.givenName&&null!==x.surname),Promise.resolve(E)}catch(E){M.Debug.ShowErrorMessage(E,"Graph","GetAllUsers",M.Debug.Typen.Service)}})()}GetTeamsMitglieder(M){var E=this;return n(function*(){try{let A=[],T=yield E.AuthService.RequestToken("user.read");const N=a.Client.init({authProvider:P=>{P(null,T)}});return new Promise((P,L)=>{null!==T?N.api("/teams/"+M+"/members").get().then(x=>{if(!e.isUndefined(x.value)){A=x.value;for(let V of A)V.UserImageSRC=null}A=e.filter(A,V=>"microsoft@burnicklgroup.onmicrosoft.com"!==V.email),P(A)}).catch(x=>{L(x)}):L(!1)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","GetTeamsMitglieder",E.Debug.Typen.Service)}})()}SendMail(M,E,A){var T=this;return n(function*(){try{let R,N=yield T.AuthService.RequestToken("Mail.Send");const P=a.Client.init({authProvider:L=>{L(null,N)}});if(!0===T.Basics.DebugNoExternalEmail)for(let L of M)L.emailAddress.address="p.hornburger@gmail.com";if(null!==N){const L={message:{subject:E,body:{contentType:"html",content:A},toRecipients:M},saveToSentItems:"true"};return R=yield P.api("/me/sendMail").post(L),Promise.resolve(R)}return Promise.reject(!1)}catch(R){T.Debug.ShowErrorMessage(R,"Graph","SendMail",T.Debug.Typen.Service)}})()}GetOwnUserimage(){var M=this;return n(function*(){try{let E=yield M.AuthService.RequestToken("user.read");const A=a.Client.init({authProvider:R=>{R(null,E)}}),T={"Content-Type":"image/jpeg"};return new Promise((R,N)=>{null!==E?A.api("/me/photo/$value").headers(T).responseType(a.ResponseType.BLOB).get().then(P=>{M.UserimageSRC=M.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(P)),R(!0)}).catch(P=>{404===P.statusCode&&(M.UserimageSRC=null,R(!0)),N(P)}):N(!1)})}catch(E){M.Debug.ShowErrorMessage(E,"Graph","GetOwnUserinfo",M.Debug.Typen.Service)}})()}GetOtherUserimage(M){var E=this;return n(function*(){try{let T,A=yield E.AuthService.RequestToken("user.read");const R=a.Client.init({authProvider:P=>{P(null,A)}}),N={"Content-Type":"image/jpeg"};return new Promise((P,L)=>{null!==A?R.api("/users/"+M+"/photo/$value").headers(N).responseType(a.ResponseType.BLOB).get().then(x=>{T=E.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(x)),P(T)}).catch(x=>{404===x.statusCode&&(T=null,P(T)),L(x)}):L(!1)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","GetOwnUserinfo",E.Debug.Typen.Service)}})()}static \u0275fac=function(E){return new(E||C)(l.\u0275\u0275inject(u.MSAL_GUARD_CONFIG),l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(b.ConstProvider),l.\u0275\u0275inject(p.DatabaseAuthenticationService),l.\u0275\u0275inject(S.ToolsProvider),l.\u0275\u0275inject(y.BasicsProvider),l.\u0275\u0275inject(m.DomSanitizer))};static \u0275prov=l.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},33940:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LoadingAnimationService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),u=n.__importStar(o(10716)),a=n.__importStar(o(14652));f.LoadingAnimationService=(()=>{class c{Debug;Loader;Basics;AjaxTime;constructor(g,b,p){this.Debug=g,this.Loader=b,this.Basics=p;try{this.AjaxTime=null}catch(S){this.Debug.ShowErrorMessage(S.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(g,b){try{let S={spinner:"lines",message:'\n \n \n \n \n \n \n \n
    '+g+'

    '+b+"
    ",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((y,m)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(S).then(h=>{h.present(),y(!0)}).catch(h=>{m(h)})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(g){try{let p,b=this.Basics.Waittime;return p=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:b+1,new Promise(S=>{if(!g)return this.Loader.dismiss().then(()=>{S(!0)}).catch(y=>{S(!0)});b>p?b-=p:b=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{S(!0)}).catch(y=>{S(!0)})},b)})}catch(b){this.Debug.ShowErrorMessage(b.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||c)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(u.LoadingController),i.\u0275\u0275inject(a.BasicsProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac})}return c})()},59460:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.MenueService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),u=n.__importStar(o(19668)),a=n.__importStar(o(29743));f.MenueService=(()=>{class c{Debug;Tools;Const;MainMenuebereich;MainMenuebereiche={Home:"Home",Email:"Email",Debug:"Debug",Logout:"Logout",Einstellungen:"Einstellungen",Projekte:"Projekte",Urlaubsplanung:"Urlaubsplanung"};UrlaubMenuebereich;UrlaubMenuebereiche={Planung:"Planung",Uebersicht:"Uebersicht",Gesamtplanung:"Gesamtplanung",Einstellungen:"Einstellungen",Freigaben:"Freigaben"};ProjekteMenuebereich;ProjekteMenuebereiche={Aufgabenliste:"Aufgabenliste",Protokolle:"Protokolle",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Planungsmatrix:"Planungsmatrix",Simontabelle:"Simontabelle",Fileliste:"Fileliste",Notizen:"Notizen"};Aufgabenlisteansicht;Aufgabenlisteansichten={Mein_Tag:"Mein Tag",Meine_Woche:"Meine Woche",Meilensteine:"Meilensteine",Projekt:"Projekt",Alle:"Alle"};FirmaMenuebereich;FirmaMenuebereiche={Standorte:"Standorte",Mitarbeiter:"Mitarbeiter",Projekte:"Projekte",Favoriten:"Favoriten",Play:"Play"};FilelisteAufrufer;FilelisteAufrufervarianten={Aufgabenliste:"Aufgabenliste",Protokollliste:"Protokollliste",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Simontabelle:"Simontabelle",ImageZoom:"ImageZoom"};constructor(g,b,p){this.Debug=g,this.Tools=b,this.Const=p;try{this.MainMenuebereich=this.MainMenuebereiche.Projekte,this.FirmaMenuebereich=this.FirmaMenuebereiche.Projekte,this.ProjekteMenuebereich=this.ProjekteMenuebereiche.Aufgabenliste,this.UrlaubMenuebereich=this.UrlaubMenuebereiche.Planung,this.Aufgabenlisteansicht=this.Aufgabenlisteansichten.Projekt,this.FilelisteAufrufer=this.FilelisteAufrufervarianten.Aufgabenliste}catch(S){this.Debug.ShowErrorMessage(S.message,"Menue","constructor",this.Debug.Typen.Service)}}SetCurrentPage(){try{switch(this.MainMenuebereich){case this.MainMenuebereiche.Home:this.Tools.SetRootPage(this.Const.Pages.HomePage);break;case this.MainMenuebereiche.Email:this.Tools.SetRootPage(this.Const.Pages.EmaillistePage);break;case this.MainMenuebereiche.Urlaubsplanung:switch(this.UrlaubMenuebereich){case this.UrlaubMenuebereiche.Planung:this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage);break;case this.UrlaubMenuebereiche.Uebersicht:this.Tools.SetRootPage(this.Const.Pages.UrlaubUebersichtPage);break;case this.UrlaubMenuebereiche.Gesamtplanung:this.Tools.SetRootPage(this.Const.Pages.UrlaubsgesamtuebersichtPage);break;case this.UrlaubMenuebereiche.Freigaben:this.Tools.SetRootPage(this.Const.Pages.UrlaubFreigabenPage);break;case this.UrlaubMenuebereiche.Einstellungen:this.Tools.SetRootPage(this.Const.Pages.UrlaubEinstellungenPage)}break;case this.MainMenuebereiche.Projekte:switch(this.ProjekteMenuebereich){case this.ProjekteMenuebereiche.Notizen:this.Tools.SetRootPage(this.Const.Pages.PjNotizenListePage);break;case this.ProjekteMenuebereiche.Aufgabenliste:switch(this.Aufgabenlisteansicht){case this.Aufgabenlisteansichten.Alle:case this.Aufgabenlisteansichten.Mein_Tag:case this.Aufgabenlisteansichten.Meine_Woche:case this.Aufgabenlisteansichten.Meilensteine:case this.Aufgabenlisteansichten.Projekt:this.Tools.SetRootPage(this.Const.Pages.PjAufgabenlistePage)}break;case this.ProjekteMenuebereiche.Fileliste:this.Tools.PushPage(this.Const.Pages.PjFilebrowserPage);break;case this.ProjekteMenuebereiche.Protokolle:this.Tools.SetRootPage(this.Const.Pages.PjProtokolleListePage);break;case this.ProjekteMenuebereiche.LOPListe:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleLoplistePage);break;case this.ProjekteMenuebereiche.Bautagebuch:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleTagebuchlistePage);break;case this.ProjekteMenuebereiche.Festlegungen:this.Tools.SetRootPage(this.Const.Pages.PjFestlegungslistePage);break;case this.ProjekteMenuebereiche.Planungsmatrix:this.Tools.SetRootPage(this.Const.Pages.PjPlanungsmatrixPage);break;case this.ProjekteMenuebereiche.Simontabelle:this.Tools.SetRootPage(this.Const.Pages.PjSimontabellelistePage)}}}catch(g){this.Debug.ShowErrorMessage(g.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||c)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(u.ToolsProvider),i.\u0275\u0275inject(a.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},77200:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Navparameter=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));f.Navparameter=(()=>{class a{Const;NavListe;CanGoBack;Debugstatus;constructor(c){this.Const=c;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(l){console.log(l,"Nav Parameter -> constructor:"+l)}}RemovePage(){try{let c=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),c=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),c}catch(c){console.log(c,"Nav Parameter -> RemovePage:"+c)}}AddPage(c){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==c?(this.NavListe.push(c),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+c),this.PrintNavliste())):console.log("Add Page Failed: "+c)}catch(l){console.log(l,"Nav Parameter -> AddPage: "+l)}}PrintNavliste(){try{let c;console.log("**************************"),console.log("Navliste: ");for(let l=0;l "+c):console.log(c);console.log("**************************")}catch(c){console.log(c,"Nav Parameter -> PrintNavliste: "+c)}}SetRootpage(c){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(c),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+c),this.PrintNavliste())}catch(l){console.log(l,"Nav Parameter -> SetRootpage: "+l)}}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},19668:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ToolsProvider=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importDefault(o(35908)),u=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),e=n.__importStar(o(14652)),c=n.__importStar(o(34388)),l=n.__importStar(o(29743)),g=n.__importStar(o(77200)),b=n.__importStar(o(10716));f.ToolsProvider=(()=>{class S{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(m,h,C,v,M,E,A){this.Basics=m,this.Debug=h,this.Const=C,this.NavParameter=v,this.nav=M,this.platform=E,this.alertCtrl=A;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(T){this.Debug.ShowErrorMessage(T.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(m){try{return!isNaN(parseFloat(m))&&isFinite(m)}catch(h){this.Debug.ShowErrorMessage(h,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(m){try{return(0,u.default)(m).format("DD.MM.YY")}catch(h){this.Debug.ShowErrorMessage(h,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(m){try{return(0,u.default)(m).format("HH:mm")}catch(h){this.Debug.ShowErrorMessage(h,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(m,h,C){try{let v=m,M=""!==C?"_"+C:"";return v=v.replace(/ /g,"_"),v=v.replace(/\xe4/g,"ae"),v=v.replace(/\xc4/g,"AE"),v=v.replace(/\xf6/g,"oe"),v=v.replace(/\xd6/g,"OE"),v=v.replace(/\xfc/g,"ue"),v=v.replace(/\xdc/g,"UE"),v=v.replace(/\xdf/g,"ss"),v=v.replace(/[^a-zA-Z0-9 ]/g,"_"),v+M+"."+h}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(m,h){try{let C=m;return C=C.replace(/ /g,"_"),C=C.replace(/\xe4/g,"ae"),C=C.replace(/\xc4/g,"AE"),C=C.replace(/\xf6/g,"oe"),C=C.replace(/\xd6/g,"OE"),C=C.replace(/\xfc/g,"ue"),C=C.replace(/\xdc/g,"UE"),C=C.replace(/\xdf/g,"ss"),C=C.replace(/[^a-zA-Z0-9 ]/g,"_"),C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(m,h){try{let v,M,E,A,T,C=!1;if(m.length>=h.length)for(A of m){if(v=h.findIndex(R=>A[M]===R[M]),-1===v){C=!0;break}E=Object.keys(m[v]),T=h[v];for(let R of E)if(A[R]!==T[R]){C=!0;break}if(!0===C)break}else for(T of h){if(v=m.findIndex(R=>T[M]===R[M]),-1===v){C=!0;break}E=Object.keys(m[v]),A=m[v];for(let R of E)if(T[R]!==A[R]){C=!0;break}if(!0===C)break}return C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(m,h){try{return JSON.stringify(m)!==JSON.stringify(h)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(m,h,C){try{let M,v=!1;if(m.length>=h.length){for(let E of m)if(M=h.findIndex(A=>E[C]===A[C]),-1===M){v=!0;break}}else for(let E of h)if(M=m.findIndex(A=>E[C]===A[C]),-1===M){v=!0;break}return v}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(m,h){try{return new Promise(C=>{this.alertCtrl.create({header:m,message:h,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{C(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{C(this.Const.Dialogmessages.ok)}}]}).then(v=>{v.present()}).catch(v=>{console.log(v)})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(m,h,C,v){try{return new Promise(M=>{this.alertCtrl.create({header:m,cssClass:"alertdialogclass",message:h,inputs:[{name:"wahla",type:"radio",label:C,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:v,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{M(null)}},{text:"Fertig",cssClass:"infookclass",handler:E=>{i.isUndefined(E)?M(null):M(E)}}]}).then(E=>{E.present()}).catch(E=>{console.log(E)})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(m){try{let h;for(const C of Object.keys(m))h=m[C],null===h&&(h="",m[C]=h);return m}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(m,h=2,C=",",v="."){try{h=Math.abs(h),h=isNaN(h)?2:h;const M=m<0?"-":"";let E=parseInt(m=Math.abs(Number(m)||0).toFixed(h)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(h?C+Math.abs(m-E).toFixed(h).slice(2):"")+" \u20ac"}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(m,h=2,C=",",v="."){try{h=Math.abs(h),h=isNaN(h)?2:h;const M=m<0?"-":"";let E=parseInt(m=Math.abs(Number(m)||0).toFixed(h)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(h?C+Math.abs(m-E).toFixed(h).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(m,h=2,C=",",v="."){try{h=Math.abs(h),h=isNaN(h)?2:h;const M=m<0?"-":"";let E=parseInt(m=Math.abs(Number(m)||0).toFixed(h)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(h?C+Math.abs(m-E).toFixed(h).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(m,h,C){try{let v;return null!==m?(m>=1e6?(m/=1e6,v=0===C?(m=Math.round(m)).toString()+" M":m.toFixed(C)+" M"):m>=1e3?(m/=1e3,v=0===C?(m=Math.round(m)).toString()+" k":m.toFixed(C)+" k"):m>0&&m<1?m<1e-9?(m*=1e9,0===C?m=Math.round(m):v=m.toFixed(C),v=m.toString()+" p"):m<1e-6?(m*=1e6,v=0===C?Math.round(m).toString():m.toFixed(C),v+=" n"):m<.001?(m*=1e3,v=0===C?Math.round(m).toString():m.toFixed(C),v+=" µ"):m<1&&(m*=1e3,v=0===C?Math.round(m).toString():m.toFixed(C),v+=" m"):(v=0===C?Math.round(m).toString():m.toFixed(C),""!==h&&(v=v+" "+h)),v=v.replace(".",","),""!==h&&(v=v+" "+h),v):"0"}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(m){try{return this.UID_Counter++,"uid_"+m.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(m){try{let h,C=100,v=50,M=50;return typeof m<"u"&&(m=m.replace("#",""),h=parseInt(m,16),C=h>>16&255,v=h>>8&255,M=255&h),C+","+v+","+M}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(m){try{return new Promise(h=>{this.nav.navigateRoot(m,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(m),h(!0)}).catch(C=>{console.log(C)})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(m){try{return new Promise(h=>{this.nav.navigateForward(m,{animated:!0}).then(()=>{this.NavParameter.AddPage(m),h(!0)}).catch(C=>{console.log(C)})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let m;return new Promise(h=>{m=this.NavParameter.RemovePage(),null!==m?this.nav.navigateBack(m,{animated:!1}).then(()=>{h(!0)}).catch(C=>{console.log(C)}):h(!0)})}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(m){try{return m/180*Math.PI}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(m){try{return 180*m/Math.PI}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(m){try{return m%2==0}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(m){try{return m%2!=0}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(m,h){try{let C=Math.pow(10,h||0);return Math.round(m*C)/C}catch(C){this.Debug.ShowErrorMessage(C.message,"file","function",this.Debug.Typen.Page)}}Runden(m,h){try{let C=Math.pow(10,h);return(Math.round(m*C)/C).toFixed(h)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,d.default)().valueOf()}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,d.default)().format("DD.MM.YYYY HH:mm:ss")}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(m,h,C){try{return(0,d.default)(m+"."+h+"."+C+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(m){try{return typeof m<"u"?m.replace(/(?:\r\n|\r|\n)/g,"
    "):""}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(m){try{return(m=(m=(m=(m=(m=(m=(m=(m=m.replace(/ /g,"_")).replace(/\xe4/g,"ae")).replace(/\xc4/g,"Ae")).replace(/\xf6/g,"oe")).replace(/\xd6/g,"Oe")).replace(/\xfc/g,"ue")).replace(/\xdc/g,"Ue")).replace(/\xdf/g,"ss")).replace(/[&\/\\#,+()$~%.'\xa7=^!`\xb4;":.,*-?<>{}]/g,"")}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","ReplaceSonderzeichen",this.Debug.Typen.Service)}}RundenAsText(m,h){try{let v,C=Math.pow(10,h);return v=Math.round(m*C)/C,v.toString().replace(".",",")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(m){try{return!!this.CheckObject(m,!1)&&m instanceof Array}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(m,h){try{return typeof m<"u"&&null!==m&&(!1===h||typeof m[h.toString()]<"u")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(m){try{return new Promise(h=>{this.alertCtrl.create({header:"Hinweis",message:m,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{h(!0)}}]}).then(C=>{C.present()}).catch(C=>{console.log(C)})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(m){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m)}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(h){return new(h||S)(a.\u0275\u0275inject(e.BasicsProvider),a.\u0275\u0275inject(c.DebugProvider),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(g.Navparameter),a.\u0275\u0275inject(b.NavController),a.\u0275\u0275inject(b.Platform),a.\u0275\u0275inject(b.AlertController))};static \u0275prov=a.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},36716:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.environment=void 0,f.environment={production:!0}},27460:(ve,f,o)=>{"use strict";const d=o(81316).__importStar(o(14476)),u=o(54496),a=o(5204);o(36716).environment.production&&(0,u.enableProdMode)(),d.platformBrowser().bootstrapModule(a.AppModule).catch(c=>console.log(c))},78776:(ve,f,o)=>{var i,d,n=o(1196).default;self,ve.exports=(i={7629:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(9474),b=e(1687),p=e(8652),S=e(8160),y=e(3292),m=e(6354),h=e(8901),C=e(9708),v=e(6914),M=e(2294),E=e(6133),A=e(1152),T=e(8863),R=e(2036),N={Base:class{constructor(P){this.type=P,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new M.Ids,this._preferences=null,this._refs=new E.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return c("function"==typeof C.describe,"Manifest functionality disabled"),C.describe(this)}allow(...P){return S.verifyFlat(P,"allow"),this._values(P,"_valids")}alter(P){c(P&&"object"==typeof P&&!Array.isArray(P),"Invalid targets argument"),c(!this._inRuleset(),"Cannot set alterations inside a ruleset");const L=this.clone();L.$_terms.alterations=L.$_terms.alterations||[];for(const x in P){const V=P[x];c("function"==typeof V,"Alteration adjuster for",x,"must be a function"),L.$_terms.alterations.push({target:x,adjuster:V})}return L.$_temp.ruleset=!1,L}artifact(P){return c(void 0!==P,"Artifact cannot be undefined"),c(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",P)}cast(P){return c(!1===P||"string"==typeof P,"Invalid to value"),c(!1===P||this._definition.cast[P],"Type",this.type,"does not support casting to",P),this.$_setFlag("cast",!1===P?void 0:P)}default(P,L){return this._default("default",P,L)}description(P){return c(P&&"string"==typeof P,"Description must be a non-empty string"),this.$_setFlag("description",P)}empty(P){const L=this.clone();return void 0!==P&&(P=L.$_compile(P,{override:!1})),L.$_setFlag("empty",P,{clone:!1})}error(P){return c(P,"Missing error"),c(P instanceof Error||"function"==typeof P,"Must provide a valid Error object or a function"),this.$_setFlag("error",P)}example(P,L={}){return c(void 0!==P,"Missing example"),S.assertOptions(L,["override"]),this._inner("examples",P,{single:!0,override:L.override})}external(P,L){return"object"==typeof P&&(c(!L,"Cannot combine options with description"),L=P.description,P=P.method),c("function"==typeof P,"Method must be a function"),c(void 0===L||L&&"string"==typeof L,"Description must be a non-empty string"),this._inner("externals",{method:P,description:L},{single:!0})}failover(P,L){return this._default("failover",P,L)}forbidden(){return this.presence("forbidden")}id(P){return P?(c("string"==typeof P,"id must be a non-empty string"),c(/^[^\.]+$/.test(P),"id cannot contain period character"),this.$_setFlag("id",P)):this.$_setFlag("id",void 0)}invalid(...P){return this._values(P,"_invalids")}label(P){return c(P&&"string"==typeof P,"Label name must be a non-empty string"),this.$_setFlag("label",P)}meta(P){return c(void 0!==P,"Meta cannot be undefined"),this._inner("metas",P,{single:!0})}note(...P){c(P.length,"Missing notes");for(const L of P)c(L&&"string"==typeof L,"Notes must be non-empty strings");return this._inner("notes",P)}only(P=!0){return c("boolean"==typeof P,"Invalid mode:",P),this.$_setFlag("only",P)}optional(){return this.presence("optional")}prefs(P){c(P,"Missing preferences"),c(void 0===P.context,"Cannot override context"),c(void 0===P.externals,"Cannot override externals"),c(void 0===P.warnings,"Cannot override warnings"),c(void 0===P.debug,"Cannot override debug"),S.checkPreferences(P);const L=this.clone();return L._preferences=S.preferences(L._preferences,P),L}presence(P){return c(["optional","required","forbidden"].includes(P),"Unknown presence mode",P),this.$_setFlag("presence",P)}raw(P=!0){return this.$_setFlag("result",P?"raw":void 0)}result(P){return c(["raw","strip"].includes(P),"Unknown result mode",P),this.$_setFlag("result",P)}required(){return this.presence("required")}strict(P){const L=this.clone();return L._preferences=S.preferences(L._preferences,{convert:void 0!==P&&!P}),L}strip(P=!0){return this.$_setFlag("result",P?"strip":void 0)}tag(...P){c(P.length,"Missing tags");for(const L of P)c(L&&"string"==typeof L,"Tags must be non-empty strings");return this._inner("tags",P)}unit(P){return c(P&&"string"==typeof P,"Unit name must be a non-empty string"),this.$_setFlag("unit",P)}valid(...P){S.verifyFlat(P,"valid");const L=this.allow(...P);return L.$_setFlag("only",!!L._valids,{clone:!1}),L}when(P,L){const x=this.clone();x.$_terms.whens||(x.$_terms.whens=[]);const V=y.when(x,P,L);if(!["any","link"].includes(x.type)){const F=V.is?[V]:V.switch;for(const ee of F)c(!ee.then||"any"===ee.then.type||ee.then.type===x.type,"Cannot combine",x.type,"with",ee.then&&ee.then.type),c(!ee.otherwise||"any"===ee.otherwise.type||ee.otherwise.type===x.type,"Cannot combine",x.type,"with",ee.otherwise&&ee.otherwise.type)}return x.$_terms.whens.push(V),x.$_mutateRebuild()}cache(P){c(!this._inRuleset(),"Cannot set caching inside a ruleset"),c(!this._cache,"Cannot override schema cache"),c(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const L=this.clone();return L._cache=P||p.provider.provision(),L.$_temp.ruleset=!1,L}clone(){const P=Object.create(Object.getPrototypeOf(this));return this._assign(P)}concat(P){c(S.isSchema(P),"Invalid schema object"),c("any"===this.type||"any"===P.type||P.type===this.type,"Cannot merge type",this.type,"with another type:",P.type),c(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),c(!P._inRuleset(),"Cannot concatenate a schema with open ruleset");let L=this.clone();if("any"===this.type&&"any"!==P.type){const x=P.clone();for(const V of Object.keys(L))"type"!==V&&(x[V]=L[V]);L=x}L._ids.concat(P._ids),L._refs.register(P,E.toSibling),L._preferences=L._preferences?S.preferences(L._preferences,P._preferences):P._preferences,L._valids=R.merge(L._valids,P._valids,P._invalids),L._invalids=R.merge(L._invalids,P._invalids,P._valids);for(const x of P._singleRules.keys())L._singleRules.has(x)&&(L._rules=L._rules.filter(V=>V.keep||V.name!==x),L._singleRules.delete(x));for(const x of P._rules)P._definition.rules[x.method].multi||L._singleRules.set(x.name,x),L._rules.push(x);if(L._flags.empty&&P._flags.empty){L._flags.empty=L._flags.empty.concat(P._flags.empty);const x=Object.assign({},P._flags);delete x.empty,b(L._flags,x)}else if(P._flags.empty){L._flags.empty=P._flags.empty;const x=Object.assign({},P._flags);delete x.empty,b(L._flags,x)}else b(L._flags,P._flags);for(const x in P.$_terms){const V=P.$_terms[x];V?L.$_terms[x]=L.$_terms[x]?L.$_terms[x].concat(V):V.slice():L.$_terms[x]||(L.$_terms[x]=V)}return this.$_root._tracer&&this.$_root._tracer._combine(L,[this,P]),L.$_mutateRebuild()}extend(P){return c(!P.base,"Cannot extend type with another base"),h.type(this,P)}extract(P){return P=Array.isArray(P)?P:P.split("."),this._ids.reach(P)}fork(P,L){c(!this._inRuleset(),"Cannot fork inside a ruleset");let x=this;for(let V of[].concat(P))V=Array.isArray(V)?V:V.split("."),x=x._ids.fork(V,L,x);return x.$_temp.ruleset=!1,x}rule(P){const L=this._definition;S.assertOptions(P,Object.keys(L.modifiers)),c(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const x=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;c(x>=0&&xx.tailor(P),ref:!1}),L.$_temp.ruleset=!1,L.$_mutateRebuild()}tracer(){return A.location?A.location(this):this}validate(P,L){return T.entry(P,this,L)}validateAsync(P,L){return T.entryAsync(P,this,L)}$_addRule(P){"string"==typeof P&&(P={name:P}),c(P&&"object"==typeof P,"Invalid options"),c(P.name&&"string"==typeof P.name,"Invalid rule name");for(const ee in P)c("_"!==ee[0],"Cannot set private rule properties");const L=Object.assign({},P);L._resolve=[],L.method=L.method||L.name;const x=this._definition.rules[L.method],V=L.args;c(x,"Unknown rule",L.method);const F=this.clone();if(V){c(1===Object.keys(V).length||Object.keys(V).length===this._definition.rules[L.name].args.length,"Invalid rule definition for",this.type,L.name);for(const ee in V){let X=V[ee];if(x.argsByName){const ce=x.argsByName.get(ee);if(ce.ref&&S.isResolvable(X))L._resolve.push(ee),F.$_mutateRegister(X);else if(ce.normalize&&(X=ce.normalize(X),V[ee]=X),ce.assert){const Q=S.validateArg(X,ee,ce);c(!Q,Q,"or reference")}}void 0!==X?V[ee]=X:delete V[ee]}}return x.multi||(F._ruleRemove(L.name,{clone:!1}),F._singleRules.set(L.name,L)),!1===F.$_temp.ruleset&&(F.$_temp.ruleset=null),x.priority?F._rules.unshift(L):F._rules.push(L),F}$_compile(P,L){return y.schema(this.$_root,P,L)}$_createError(P,L,x,V,F,ee={}){const X=!1!==ee.flags?this._flags:{},ce=ee.messages?v.merge(this._definition.messages,ee.messages):this._definition.messages;return new m.Report(P,L,x,X,ce,V,F)}$_getFlag(P){return this._flags[P]}$_getRule(P){return this._singleRules.get(P)}$_mapLabels(P){return P=Array.isArray(P)?P:P.split("."),this._ids.labels(P)}$_match(P,L,x,V){(x=Object.assign({},x)).abortEarly=!0,x._externals=!1,L.snapshot();const F=!T.validate(P,this,L,x,V).errors;return L.restore(),F}$_modify(P){return S.assertOptions(P,["each","once","ref","schema"]),M.schema(this,P)||this}$_mutateRebuild(){return c(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(P,{source:L,name:x,key:F})=>{const ee=this._definition[L][x]&&this._definition[L][x].register;!1!==ee&&this.$_mutateRegister(P,{family:ee,key:F})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(P,{family:L,key:x}={}){this._refs.register(P,L),this._ids.register(P,{key:x})}$_property(P){return this._definition.properties[P]}$_reach(P){return this._ids.reach(P)}$_rootReferences(){return this._refs.roots()}$_setFlag(P,L,x={}){if(c("_"===P[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),g(L,(this._definition.flags[P]||{}).default)&&(L=void 0),g(L,this._flags[P]))return this;const F=!1!==x.clone?this.clone():this;return void 0!==L?(F._flags[P]=L,F.$_mutateRegister(L)):delete F._flags[P],"_"!==P[0]&&(F.$_temp.ruleset=!1),F}$_parent(P,...L){return this[P][S.symbols.parent].call(this,...L)}$_validate(P,L,x){return T.validate(P,this,L,x)}_assign(P){P.type=this.type,P.$_root=this.$_root,P.$_temp=Object.assign({},this.$_temp),P.$_temp.whens={},P._ids=this._ids.clone(),P._preferences=this._preferences,P._valids=this._valids&&this._valids.clone(),P._invalids=this._invalids&&this._invalids.clone(),P._rules=this._rules.slice(),P._singleRules=l(this._singleRules,{shallow:!0}),P._refs=this._refs.clone(),P._flags=Object.assign({},this._flags),P._cache=null,P.$_terms={};for(const L in this.$_terms)P.$_terms[L]=this.$_terms[L]?this.$_terms[L].slice():null;P.$_super={};for(const L in this.$_super)P.$_super[L]=this._super[L].bind(P);return P}_bare(){const P=this.clone();P._reset();const L=P._definition.terms;for(const x in L)P.$_terms[x]=L[x].init;return P.$_mutateRebuild()}_default(P,L,x={}){return S.assertOptions(x,"literal"),c(void 0!==L,"Missing",P,"value"),c("function"==typeof L||!x.literal,"Only function value supports literal option"),"function"==typeof L&&x.literal&&(L={[S.symbols.literal]:!0,literal:L}),this.$_setFlag(P,L)}_generate(P,L,x){if(!this.$_terms.whens)return{schema:this};const V=[],F=[];for(let ce=0;ceH)break}const ee=F.join(", ");if(L.mainstay.tracer.debug(L,"rule","when",ee),!ee)return{schema:this};if(!L.mainstay.tracer.active&&this.$_temp.whens[ee])return{schema:this.$_temp.whens[ee],id:ee};let X=this;this._definition.generate&&(X=this._definition.generate(this,P,L,x));for(const ce of V)X=X.concat(ce);return this.$_root._tracer&&this.$_root._tracer._combine(X,[this,...V]),this.$_temp.whens[ee]=X,{schema:X,id:ee}}_inner(P,L,x={}){c(!this._inRuleset(),`Cannot set ${P} inside a ruleset`);const V=this.clone();return V.$_terms[P]&&!x.override||(V.$_terms[P]=[]),x.single?V.$_terms[P].push(L):V.$_terms[P].push(...L),V.$_temp.ruleset=!1,V}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(P,L={}){if(!this._singleRules.has(P))return this;const x=!1!==L.clone?this.clone():this;x._singleRules.delete(P);const V=[];for(let F=0;F{"use strict";const c=e(375),l=e(8571),g=e(8160),b={max:1e3,supported:new Set(["undefined","boolean","number","string"])};a.provider={provision:p=>new b.Cache(p)},b.Cache=class{constructor(p={}){g.assertOptions(p,["max"]),c(void 0===p.max||p.max&&p.max>0&&isFinite(p.max),"Invalid max cache size"),this._max=p.max||b.max,this._map=new Map,this._list=new b.List}get length(){return this._map.size}set(p,S){if(null!==p&&!b.supported.has(typeof p))return;let y=this._map.get(p);if(y)return y.value=S,void this._list.first(y);y=this._list.unshift({key:p,value:S}),this._map.set(p,y),this._compact()}get(p){const S=this._map.get(p);if(S)return this._list.first(S),l(S.value)}_compact(){if(this._map.size>this._max){const p=this._list.pop();this._map.delete(p.key)}}},b.List=class{constructor(){this.tail=null,this.head=null}unshift(p){return p.next=null,p.prev=this.head,this.head&&(this.head.next=p),this.head=p,this.tail||(this.tail=p),p}first(p){p!==this.head&&(this._remove(p),this.unshift(p))}pop(){return this._remove(this.tail)}_remove(p){const{next:S,prev:y}=p;return S.prev=y,y&&(y.next=S),p===this.tail&&(this.tail=S),p.prev=null,p.next=null,p}}},8160:(u,a,e)=>{"use strict";const c=e(375),l=e(7916),g=e(5934);let b,p;const S={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};a.version=g.version,a.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},a.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},a.assertOptions=function(y,m,h="Options"){c(y&&"object"==typeof y&&!Array.isArray(y),"Options must be of type object");const C=Object.keys(y).filter(v=>!m.includes(v));c(0===C.length,`${h} contain unknown keys: ${C}`)},a.checkPreferences=function(y){p=p||e(3378);const m=p.preferences.validate(y);if(m.error)throw new l([m.error.details[0].message])},a.compare=function(y,m,h){switch(h){case"=":return y===m;case">":return y>m;case"<":return y=":return y>=m;case"<=":return y<=m}},a.default=function(y,m){return void 0===y?m:y},a.isIsoDate=function(y){return S.isoDate.test(y)},a.isNumber=function(y){return"number"==typeof y&&!isNaN(y)},a.isResolvable=function(y){return!!y&&(y[a.symbols.ref]||y[a.symbols.template])},a.isSchema=function(y,m={}){const h=y&&y[a.symbols.any];return!!h&&(c(m.legacy||h.version===a.version,"Cannot mix different versions of joi schemas"),!0)},a.isValues=function(y){return y[a.symbols.values]},a.limit=function(y){return Number.isSafeInteger(y)&&y>=0},a.preferences=function(y,m){b=b||e(6914),y=y||{},m=m||{};const h=Object.assign({},y,m);return m.errors&&y.errors&&(h.errors=Object.assign({},y.errors,m.errors),h.errors.wrap=Object.assign({},y.errors.wrap,m.errors.wrap)),m.messages&&(h.messages=b.compile(m.messages,y.messages)),delete h[a.symbols.prefs],h},a.tryWithPath=function(y,m,h={}){try{return y()}catch(C){throw C.path=void 0!==C.path?m+"."+C.path:m,h.append&&(C.message=`${C.message} (${C.path})`),C}},a.validateArg=function(y,m,{assert:h,message:C}){if(a.isSchema(h)){const v=h.validate(y);return v.error?v.error.message:void 0}if(!h(y))return m?`${m} ${C}`:C},a.verifyFlat=function(y,m){for(const h of y)c(!Array.isArray(h),"Method no longer accepts array arguments:",m)}},3292:(u,a,e)=>{"use strict";const c=e(375),l=e(8160),g=e(6133),b={};a.schema=function(p,S,y={}){l.assertOptions(y,["appendPath","override"]);try{return b.schema(p,S,y)}catch(m){throw y.appendPath&&void 0!==m.path&&(m.message=`${m.message} (${m.path})`),m}},b.schema=function(p,S,y){c(void 0!==S,"Invalid undefined schema"),Array.isArray(S)&&(c(S.length,"Invalid empty array schema"),1===S.length&&(S=S[0]));const m=(h,...C)=>!1!==y.override?h.valid(p.override,...C):h.valid(...C);if(b.simple(S))return m(p,S);if("function"==typeof S)return p.custom(S);if(c("object"==typeof S,"Invalid schema content:",typeof S),l.isResolvable(S))return m(p,S);if(l.isSchema(S))return S;if(Array.isArray(S)){for(const h of S)if(!b.simple(h))return p.alternatives().try(...S);return m(p,...S)}return S instanceof RegExp?p.string().regex(S):S instanceof Date?m(p.date(),S):(c(Object.getPrototypeOf(S)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),p.object().keys(S))},a.ref=function(p,S){return g.isRef(p)?p:g.create(p,S)},a.compile=function(p,S,y={}){l.assertOptions(y,["legacy"]);const m=S&&S[l.symbols.any];if(m)return c(y.legacy||m.version===l.version,"Cannot mix different versions of joi schemas:",m.version,l.version),S;if("object"!=typeof S||!y.legacy)return a.schema(p,S,{appendPath:!0});const h=b.walk(S);return h?h.compile(h.root,S):a.schema(p,S,{appendPath:!0})},b.walk=function(p){if("object"!=typeof p)return null;if(Array.isArray(p)){for(const y of p){const m=b.walk(y);if(m)return m}return null}const S=p[l.symbols.any];if(S)return{root:p[S.root],compile:S.compile};c(Object.getPrototypeOf(p)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const y in p){const m=b.walk(p[y]);if(m)return m}return null},b.simple=function(p){return null===p||["boolean","string","number"].includes(typeof p)},a.when=function(p,S,y){if(void 0===y&&(c(S&&"object"==typeof S,"Missing options"),y=S,S=g.create(".")),Array.isArray(y)&&(y={switch:y}),l.assertOptions(y,["is","not","then","otherwise","switch","break"]),l.isSchema(S))return c(void 0===y.is,'"is" can not be used with a schema condition'),c(void 0===y.not,'"not" can not be used with a schema condition'),c(void 0===y.switch,'"switch" can not be used with a schema condition'),b.condition(p,{is:S,then:y.then,otherwise:y.otherwise,break:y.break});if(c(g.isRef(S)||"string"==typeof S,"Invalid condition:",S),c(void 0===y.not||void 0===y.is,'Cannot combine "is" with "not"'),void 0===y.switch){let h=y;void 0!==y.not&&(h={is:y.not,then:y.otherwise,otherwise:y.then,break:y.break});let C=void 0!==h.is?p.$_compile(h.is):p.$_root.invalid(null,!1,0,"").required();return c(void 0!==h.then||void 0!==h.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),c(void 0===h.break||void 0===h.then||void 0===h.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===y.is||g.isRef(y.is)||l.isSchema(y.is)||(C=C.required()),b.condition(p,{ref:a.ref(S),is:C,then:h.then,otherwise:h.otherwise,break:h.break})}c(Array.isArray(y.switch),'"switch" must be an array'),c(void 0===y.is,'Cannot combine "switch" with "is"'),c(void 0===y.not,'Cannot combine "switch" with "not"'),c(void 0===y.then,'Cannot combine "switch" with "then"');const m={ref:a.ref(S),switch:[],break:y.break};for(let h=0;h{"use strict";const c=e(5688),l=e(8160),g=e(3328);a.Report=class{constructor(b,p,S,y,m,h,C){if(this.code=b,this.flags=y,this.messages=m,this.path=h.path,this.prefs=C,this.state=h,this.value=p,this.message=null,this.template=null,this.local=S||{},this.local.label=a.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const v=this.path[this.path.length-1];"object"!=typeof v&&(this.local.key=v)}}_setTemplate(b){if(this.template=b,!this.flags.label&&0===this.path.length){const p=this._template(this.template,"root");p&&(this.local.label=p)}}toString(){if(this.message)return this.message;const b=this.code;if(!this.prefs.errors.render)return this.code;const p=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===p?`Error code "${b}" is not defined, your custom type is missing the correct messages definition`:(this.message=p.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(b,p){return a.template(this.value,b,p||this.code,this.state,this.prefs)}},a.path=function(b){let p="";for(const S of b)"object"!=typeof S&&("string"==typeof S?(p&&(p+="."),p+=S):p+=`[${S}]`);return p},a.template=function(b,p,S,y,m){if(!p)return;if(g.isTemplate(p))return"root"!==S?p:null;let h=m.errors.language;if(l.isResolvable(h)&&(h=h.resolve(b,y,m)),h&&p[h]){if(void 0!==p[h][S])return p[h][S];if(void 0!==p[h]["*"])return p[h]["*"]}return p[S]?p[S]:p["*"]},a.label=function(b,p,S,y){if(b.label)return b.label;if(!S.errors.label)return"";let m=p.path;return"key"===S.errors.label&&p.path.length>1&&(m=p.path.slice(-1)),a.path(m)||a.template(null,S.messages,"root",p,S)||y&&a.template(null,y,"root",p,S)||"value"},a.process=function(b,p,S){if(!b)return null;const{override:y,message:m,details:h}=a.details(b);if(y)return y;if(S.errors.stack)return new a.ValidationError(m,h,p);const C=Error.stackTraceLimit;Error.stackTraceLimit=0;const v=new a.ValidationError(m,h,p);return Error.stackTraceLimit=C,v},a.details=function(b,p={}){let S=[];const y=[];for(const m of b){if(m instanceof Error){if(!1!==p.override)return{override:m};const C=m.toString();S.push(C),y.push({message:C,type:"override",context:{error:m}});continue}const h=m.toString();S.push(h),y.push({message:h,path:m.path.filter(C=>"object"!=typeof C),type:m.code,context:m.local})}return S.length>1&&(S=[...new Set(S)]),{message:S.join(". "),details:y}},a.ValidationError=class extends Error{constructor(b,p,S){super(b),this._original=S,this.details=p}static isError(b){return b instanceof a.ValidationError}},a.ValidationError.prototype.isJoi=!0,a.ValidationError.prototype.name="ValidationError",a.ValidationError.prototype.annotate=c.error},8901:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(8160),b=e(6914),p={};a.type=function(S,y){const m=Object.getPrototypeOf(S),h=l(m),C=S._assign(Object.create(h)),v=Object.assign({},y);delete v.base,h._definition=v;const M=m._definition||{};v.messages=b.merge(M.messages,v.messages),v.properties=Object.assign({},M.properties,v.properties),C.type=v.type,v.flags=Object.assign({},M.flags,v.flags);const E=Object.assign({},M.terms);if(v.terms)for(const N in v.terms){const P=v.terms[N];c(void 0===C.$_terms[N],"Invalid term override for",v.type,N),C.$_terms[N]=P.init,E[N]=P}v.terms=E,v.args||(v.args=M.args),v.prepare=p.prepare(v.prepare,M.prepare),v.coerce&&("function"==typeof v.coerce&&(v.coerce={method:v.coerce}),v.coerce.from&&!Array.isArray(v.coerce.from)&&(v.coerce={method:v.coerce.method,from:[].concat(v.coerce.from)})),v.coerce=p.coerce(v.coerce,M.coerce),v.validate=p.validate(v.validate,M.validate);const A=Object.assign({},M.rules);if(v.rules)for(const N in v.rules){const P=v.rules[N];c("object"==typeof P,"Invalid rule definition for",v.type,N);let L=P.method;if(void 0===L&&(L=function(){return this.$_addRule(N)}),L&&(c(!h[N],"Rule conflict in",v.type,N),h[N]=L),c(!A[N],"Rule conflict in",v.type,N),A[N]=P,P.alias){const x=[].concat(P.alias);for(const V of x)h[V]=P.method}P.args&&(P.argsByName=new Map,P.args=P.args.map(x=>("string"==typeof x&&(x={name:x}),c(!P.argsByName.has(x.name),"Duplicated argument name",x.name),g.isSchema(x.assert)&&(x.assert=x.assert.strict().label(x.name)),P.argsByName.set(x.name,x),x)))}v.rules=A;const T=Object.assign({},M.modifiers);if(v.modifiers)for(const N in v.modifiers){c(!h[N],"Rule conflict in",v.type,N);const P=v.modifiers[N];c("function"==typeof P,"Invalid modifier definition for",v.type,N),h[N]=function(x){return this.rule({[N]:x})},T[N]=P}if(v.modifiers=T,v.overrides){h._super=m,C.$_super={};for(const N in v.overrides)c(m[N],"Cannot override missing",N),v.overrides[N][g.symbols.parent]=m[N],C.$_super[N]=m[N].bind(C);Object.assign(h,v.overrides)}v.cast=Object.assign({},M.cast,v.cast);const R=Object.assign({},M.manifest,v.manifest);return R.build=p.build(v.manifest&&v.manifest.build,M.manifest&&M.manifest.build),v.manifest=R,v.rebuild=p.rebuild(v.rebuild,M.rebuild),C},p.build=function(S,y){return S&&y?function(m,h){return y(S(m,h),h)}:S||y},p.coerce=function(S,y){return S&&y?{from:S.from&&y.from?[...new Set([...S.from,...y.from])]:null,method(m,h){let C;if((!y.from||y.from.includes(typeof m))&&(C=y.method(m,h),C)){if(C.errors||void 0===C.value)return C;m=C.value}if(!S.from||S.from.includes(typeof m)){const v=S.method(m,h);if(v)return v}return C}}:S||y},p.prepare=function(S,y){return S&&y?function(m,h){const C=S(m,h);if(C){if(C.errors||void 0===C.value)return C;m=C.value}return y(m,h)||C}:S||y},p.rebuild=function(S,y){return S&&y?function(m){y(m),S(m)}:S||y},p.validate=function(S,y){return S&&y?function(m,h){const C=y(m,h);if(C){if(C.errors&&(!Array.isArray(C.errors)||C.errors.length))return C;m=C.value}return S(m,h)||C}:S||y}},5107:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(8652),b=e(8160),p=e(3292),S=e(6354),y=e(8901),m=e(9708),h=e(6133),C=e(3328),v=e(1152);let M;const E={types:{alternatives:e(4946),any:e(8068),array:e(546),boolean:e(4937),date:e(7500),function:e(390),link:e(8785),number:e(3832),object:e(8966),string:e(7417),symbol:e(8826)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const A={_types:new Set(Object.keys(E.types))};for(const T of A._types)A[T]=function(...R){return c(!R.length||["alternatives","link","object"].includes(T),"The",T,"type does not allow arguments"),E.generate(this,E.types[T],R)};for(const T of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])A[T]=function(...R){return this.any()[T](...R)};Object.assign(A,E.methods);for(const T in E.aliases)A[T]=A[E.aliases[T]];return A.x=A.expression,v.setup&&v.setup(A),A}};E.methods={ValidationError:S.ValidationError,version:b.version,cache:g.provider,assert(A,T,...R){E.assert(A,T,!0,R)},attempt:(A,T,...R)=>E.assert(A,T,!1,R),build(A){return c("function"==typeof m.build,"Manifest functionality disabled"),m.build(this,A)},checkPreferences(A){b.checkPreferences(A)},compile(A,T){return p.compile(this,A,T)},defaults(A){c("function"==typeof A,"modifier must be a function");const T=Object.assign({},this);for(const R of T._types){const N=A(T[R]());c(b.isSchema(N),"modifier must return a valid schema object"),T[R]=function(...P){return E.generate(this,N,P)}}return T},expression:(...A)=>new C(...A),extend(...A){b.verifyFlat(A,"extend"),M=M||e(3378),c(A.length,"You need to provide at least one extension"),this.assert(A,M.extensions);const T=Object.assign({},this);T._types=new Set(T._types);for(let R of A){"function"==typeof R&&(R=R(T)),this.assert(R,M.extension);const N=E.expandExtension(R,T);for(const P of N){c(void 0===T[P.type]||T._types.has(P.type),"Cannot override name",P.type);const L=P.base||this.any(),x=y.type(L,P);T._types.add(P.type),T[P.type]=function(...V){return E.generate(this,x,V)}}}return T},isError:S.ValidationError.isError,isExpression:C.isTemplate,isRef:h.isRef,isSchema:b.isSchema,in:(...A)=>h.in(...A),override:b.symbols.override,ref:(...A)=>h.create(...A),types(){const A={};for(const T of this._types)A[T]=this[T]();for(const T in E.aliases)A[T]=this[T]();return A}},E.assert=function(A,T,R,N){const P=N[0]instanceof Error||"string"==typeof N[0]?N[0]:null,x=T.validate(A,b.preferences({errors:{stack:!0}},(null!==P?N[1]:N[0])||{}));let V=x.error;if(!V)return x.value;if(P instanceof Error)throw P;const F=R&&"function"==typeof V.annotate?V.annotate():V.message;throw V instanceof S.ValidationError==0&&(V=l(V)),V.message=P?`${P} ${F}`:F,V},E.generate=function(A,T,R){return c(A,"Must be invoked on a Joi instance."),T.$_root=A,T._definition.args&&R.length?T._definition.args(T,...R):T},E.expandExtension=function(A,T){if("string"==typeof A.type)return[A];const R=[];for(const N of T._types)if(A.type.test(N)){const P=Object.assign({},A);P.type=N,P.base=T[N](),R.push(P)}return R},u.exports=E.root()},6914:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(3328);a.compile=function(b,p){if("string"==typeof b)return c(!p,"Cannot set single message string"),new g(b);if(g.isTemplate(b))return c(!p,"Cannot set single message template"),b;c("object"==typeof b&&!Array.isArray(b),"Invalid message options"),p=p?l(p):{};for(let S in b){const y=b[S];if("root"===S||g.isTemplate(y)){p[S]=y;continue}if("string"==typeof y){p[S]=new g(y);continue}c("object"==typeof y&&!Array.isArray(y),"Invalid message for",S);const m=S;for(S in p[m]=p[m]||{},y){const h=y[S];"root"===S||g.isTemplate(h)?p[m][S]=h:(c("string"==typeof h,"Invalid message for",S,"in",m),p[m][S]=new g(h))}}return p},a.decompile=function(b){const p={};for(let S in b){const y=b[S];if("root"===S){p.root=y;continue}if(g.isTemplate(y)){p[S]=y.describe({compact:!0});continue}const m=S;for(S in p[m]={},y){const h=y[S];"root"!==S?p[m][S]=h.describe({compact:!0}):p[m].root=h}}return p},a.merge=function(b,p){if(!b)return a.compile(p);if(!p)return b;if("string"==typeof p)return new g(p);if(g.isTemplate(p))return p;const S=l(b);for(let y in p){const m=p[y];if("root"===y||g.isTemplate(m)){S[y]=m;continue}if("string"==typeof m){S[y]=new g(m);continue}c("object"==typeof m&&!Array.isArray(m),"Invalid message for",y);const h=y;for(y in S[h]=S[h]||{},m){const C=m[y];"root"===y||g.isTemplate(C)?S[h][y]=C:(c("string"==typeof C,"Invalid message for",y,"in",h),S[h][y]=new g(C))}}return S}},2294:(u,a,e)=>{"use strict";const c=e(375),l=e(8160),g=e(6133),b={};a.Ids=b.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const p=new b.Ids;return p._byId=new Map(this._byId),p._byKey=new Map(this._byKey),p._schemaChain=this._schemaChain,p}concat(p){p._schemaChain&&(this._schemaChain=!0);for(const[S,y]of p._byId.entries())c(!this._byKey.has(S),"Schema id conflicts with existing key:",S),this._byId.set(S,y);for(const[S,y]of p._byKey.entries())c(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,y)}fork(p,S,y){const m=this._collect(p);m.push({schema:y});const h=m.shift();let C={id:h.id,schema:S(h.schema)};c(l.isSchema(C.schema),"adjuster function failed to return a joi schema type");for(const v of m)C={id:v.id,schema:b.fork(v.schema,C.id,C.schema)};return C.schema}labels(p,S=[]){const y=p[0],m=this._get(y);if(!m)return[...S,...p].join(".");const h=p.slice(1);return S=[...S,m.schema._flags.label||y],h.length?m.schema._ids.labels(h,S):S.join(".")}reach(p,S=[]){const y=p[0],m=this._get(y);c(m,"Schema does not contain path",[...S,...p].join("."));const h=p.slice(1);return h.length?m.schema._ids.reach(h,[...S,y]):m.schema}register(p,{key:S}={}){if(!p||!l.isSchema(p))return;(p.$_property("schemaChain")||p._ids._schemaChain)&&(this._schemaChain=!0);const y=p._flags.id;if(y){const m=this._byId.get(y);c(!m||m.schema===p,"Cannot add different schemas with the same id:",y),c(!this._byKey.has(y),"Schema id conflicts with existing key:",y),this._byId.set(y,{schema:p,id:y})}S&&(c(!this._byKey.has(S),"Schema already contains key:",S),c(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,{schema:p,id:S}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(p,S=[],y=[]){const m=p[0],h=this._get(m);c(h,"Schema does not contain path",[...S,...p].join(".")),y=[h,...y];const C=p.slice(1);return C.length?h.schema._ids._collect(C,[...S,m],y):y}_get(p){return this._byId.get(p)||this._byKey.get(p)}},b.fork=function(p,S,y){const m=a.schema(p,{each:(h,{key:C})=>{if(S===(h._flags.id||C))return y},ref:!1});return m?m.$_mutateRebuild():p},a.schema=function(p,S){let y;for(const m in p._flags){if("_"===m[0])continue;const h=b.scan(p._flags[m],{source:"flags",name:m},S);void 0!==h&&(y=y||p.clone(),y._flags[m]=h)}for(let m=0;m{"use strict";const c=e(375),l=e(8571),g=e(9621),b=e(8160);let p;const S={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};a.create=function(y,m={}){c("string"==typeof y,"Invalid reference key:",y),b.assertOptions(m,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),c(!m.prefix||"object"==typeof m.prefix,"options.prefix must be of type object");const h=Object.assign({},S.defaults,m);delete h.prefix;const C=h.separator,v=S.context(y,C,m.prefix);if(h.type=v.type,y=v.key,"value"===h.type)if(v.root&&(c(!C||y[0]!==C,"Cannot specify relative path with root prefix"),h.ancestor="root",y||(y=null)),C&&C===y)y=null,h.ancestor=0;else if(void 0!==h.ancestor)c(!C||!y||y[0]!==C,"Cannot combine prefix with ancestor option");else{const[M,E]=S.ancestor(y,C);E&&""===(y=y.slice(E))&&(y=null),h.ancestor=M}return h.path=C?null===y?[]:y.split(C):[y],new S.Ref(h)},a.in=function(y,m={}){return a.create(y,{...m,in:!0})},a.isRef=function(y){return!!y&&!!y[b.symbols.ref]},S.Ref=class{constructor(y){c("object"==typeof y,"Invalid reference construction"),b.assertOptions(y,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),c([!1,void 0].includes(y.separator)||"string"==typeof y.separator&&1===y.separator.length,"Invalid separator"),c(!y.adjust||"function"==typeof y.adjust,"options.adjust must be a function"),c(!y.map||Array.isArray(y.map),"options.map must be an array"),c(!y.map||!y.adjust,"Cannot set both map and adjust options"),Object.assign(this,S.defaults,y),c("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(y,m,h,C,v={}){return c(!this.in||v.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(h.context,m,v):"local"===this.type?this._resolve(C,m,v):this.ancestor?"root"===this.ancestor?this._resolve(m.ancestors[m.ancestors.length-1],m,v):(c(this.ancestor<=m.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(m.ancestors[this.ancestor-1],m,v)):this._resolve(y,m,v)}_resolve(y,m,h){let C;if("value"===this.type&&m.mainstay.shadow&&!1!==h.shadow&&(C=m.mainstay.shadow.get(this.absolute(m))),void 0===C&&(C=g(y,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(C=this.adjust(C)),this.map){const v=this.map.get(C);void 0!==v&&(C=v)}return m.mainstay&&m.mainstay.tracer.resolve(m,this,C),C}toString(){return this.display}absolute(y){return[...y.path.slice(0,-this.ancestor),...this.path]}clone(){return new S.Ref(this)}describe(){const y={path:this.path};"value"!==this.type&&(y.type=this.type),"."!==this.separator&&(y.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(y.ancestor=this.ancestor),this.map&&(y.map=[...this.map]);for(const m of["adjust","iterables","render"])null!=this[m]&&(y[m]=this[m]);return!1!==this.in&&(y.in=!0),{ref:y}}updateDisplay(){const y=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${y}`);if(!this.separator)return void(this.display=`ref:${y}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${y}`);if("root"===this.ancestor)return void(this.display=`ref:root:${y}`);if(1===this.ancestor)return void(this.display=`ref:${y||".."}`);const m=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${m}${y||""}`}},S.Ref.prototype[b.symbols.ref]=!0,a.build=function(y){return"value"===(y=Object.assign({},S.defaults,y)).type&&void 0===y.ancestor&&(y.ancestor=1),new S.Ref(y)},S.context=function(y,m,h={}){if(y=y.trim(),h){const C=void 0===h.global?"$":h.global;if(C!==m&&y.startsWith(C))return{key:y.slice(C.length),type:"global"};const v=void 0===h.local?"#":h.local;if(v!==m&&y.startsWith(v))return{key:y.slice(v.length),type:"local"};const M=void 0===h.root?"/":h.root;if(M!==m&&y.startsWith(M))return{key:y.slice(M.length),type:"value",root:!0}}return{key:y,type:"value"}},S.ancestor=function(y,m){if(!m)return[1,0];if(y[0]!==m)return[1,0];if(y[1]!==m)return[0,1];let h=2;for(;y[h]===m;)++h;return[h-1,h]},a.toSibling=0,a.toParent=1,a.Manager=class{constructor(){this.refs=[]}register(y,m){if(y)if(m=void 0===m?a.toParent:m,Array.isArray(y))for(const h of y)this.register(h,m);else if(b.isSchema(y))for(const h of y._refs.refs)h.ancestor-m>=0&&this.refs.push({ancestor:h.ancestor-m,root:h.root});else a.isRef(y)&&"value"===y.type&&y.ancestor-m>=0&&this.refs.push({ancestor:y.ancestor-m,root:y.root}),p=p||e(3328),p.isTemplate(y)&&this.register(y.refs(),m)}get length(){return this.refs.length}clone(){const y=new a.Manager;return y.refs=l(this.refs),y}reset(){this.refs=[]}roots(){return this.refs.filter(y=>!y.ancestor).map(y=>y.root)}}},3378:(u,a,e)=>{"use strict";const c=e(5107),l={};l.wrap=c.string().min(1).max(2).allow(!1),a.preferences=c.object({allowUnknown:c.boolean(),abortEarly:c.boolean(),artifacts:c.boolean(),cache:c.boolean(),context:c.object(),convert:c.boolean(),dateFormat:c.valid("date","iso","string","time","utc"),debug:c.boolean(),errors:{escapeHtml:c.boolean(),label:c.valid("path","key",!1),language:[c.string(),c.object().ref()],render:c.boolean(),stack:c.boolean(),wrap:{label:l.wrap,array:l.wrap,string:l.wrap}},externals:c.boolean(),messages:c.object(),noDefaults:c.boolean(),nonEnumerables:c.boolean(),presence:c.valid("required","optional","forbidden"),skipFunctions:c.boolean(),stripUnknown:c.object({arrays:c.boolean(),objects:c.boolean()}).or("arrays","objects").allow(!0,!1),warnings:c.boolean()}).strict(),l.nameRx=/^[a-zA-Z0-9]\w*$/,l.rule=c.object({alias:c.array().items(c.string().pattern(l.nameRx)).single(),args:c.array().items(c.string(),c.object({name:c.string().pattern(l.nameRx).required(),ref:c.boolean(),assert:c.alternatives([c.function(),c.object().schema()]).conditional("ref",{is:!0,then:c.required()}),normalize:c.function(),message:c.string().when("assert",{is:c.function(),then:c.required()})})),convert:c.boolean(),manifest:c.boolean(),method:c.function().allow(!1),multi:c.boolean(),validate:c.function()}),a.extension=c.object({type:c.alternatives([c.string(),c.object().regex()]).required(),args:c.function(),cast:c.object().pattern(l.nameRx,c.object({from:c.function().maxArity(1).required(),to:c.function().minArity(1).maxArity(2).required()})),base:c.object().schema().when("type",{is:c.object().regex(),then:c.forbidden()}),coerce:[c.function().maxArity(3),c.object({method:c.function().maxArity(3).required(),from:c.array().items(c.string()).single()})],flags:c.object().pattern(l.nameRx,c.object({setter:c.string(),default:c.any()})),manifest:{build:c.function().arity(2)},messages:[c.object(),c.string()],modifiers:c.object().pattern(l.nameRx,c.function().minArity(1).maxArity(2)),overrides:c.object().pattern(l.nameRx,c.function()),prepare:c.function().maxArity(3),rebuild:c.function().arity(1),rules:c.object().pattern(l.nameRx,l.rule),terms:c.object().pattern(l.nameRx,c.object({init:c.array().allow(null).required(),manifest:c.object().pattern(/.+/,[c.valid("schema","single"),c.object({mapped:c.object({from:c.string().required(),to:c.string().required()}).required()})])})),validate:c.function().maxArity(3)}).strict(),a.extensions=c.array().items(c.object(),c.function().arity(1)).strict(),l.desc={buffer:c.object({buffer:c.string()}),func:c.object({function:c.function().required(),options:{literal:!0}}),override:c.object({override:!0}),ref:c.object({ref:c.object({type:c.valid("value","global","local"),path:c.array().required(),separator:c.string().length(1).allow(!1),ancestor:c.number().min(0).integer().allow("root"),map:c.array().items(c.array().length(2)).min(1),adjust:c.function(),iterables:c.boolean(),in:c.boolean(),render:c.boolean()}).required()}),regex:c.object({regex:c.string().min(3)}),special:c.object({special:c.valid("deep").required()}),template:c.object({template:c.string().required(),options:c.object()}),value:c.object({value:c.alternatives([c.object(),c.array()]).required()})},l.desc.entity=c.alternatives([c.array().items(c.link("...")),c.boolean(),c.function(),c.number(),c.string(),l.desc.buffer,l.desc.func,l.desc.ref,l.desc.regex,l.desc.special,l.desc.template,l.desc.value,c.link("/")]),l.desc.values=c.array().items(null,c.boolean(),c.function(),c.number().allow(1/0,-1/0),c.string().allow(""),c.symbol(),l.desc.buffer,l.desc.func,l.desc.override,l.desc.ref,l.desc.regex,l.desc.template,l.desc.value),l.desc.messages=c.object().pattern(/.+/,[c.string(),l.desc.template,c.object().pattern(/.+/,[c.string(),l.desc.template])]),a.description=c.object({type:c.string().required(),flags:c.object({cast:c.string(),default:c.any(),description:c.string(),empty:c.link("/"),failover:l.desc.entity,id:c.string(),label:c.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:c.boolean(),unit:c.string()}).unknown(),preferences:{allowUnknown:c.boolean(),abortEarly:c.boolean(),artifacts:c.boolean(),cache:c.boolean(),convert:c.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:c.boolean(),label:["path","key"],language:[c.string(),l.desc.ref],wrap:{label:l.wrap,array:l.wrap}},externals:c.boolean(),messages:l.desc.messages,noDefaults:c.boolean(),nonEnumerables:c.boolean(),presence:["required","optional","forbidden"],skipFunctions:c.boolean(),stripUnknown:c.object({arrays:c.boolean(),objects:c.boolean()}).or("arrays","objects").allow(!0,!1),warnings:c.boolean()},allow:l.desc.values,invalid:l.desc.values,rules:c.array().min(1).items({name:c.string().required(),args:c.object().min(1),keep:c.boolean(),message:[c.string(),l.desc.messages],warn:c.boolean()}),keys:c.object().pattern(/.*/,c.link("/")),link:l.desc.ref}).pattern(/^[a-z]\w*$/,c.any())},493:(u,a,e)=>{"use strict";const c=e(8571),l=e(9621),g=e(8160),b={value:Symbol("value")};u.exports=b.State=class{constructor(p,S,y){this.path=p,this.ancestors=S,this.mainstay=y.mainstay,this.schemas=y.schemas,this.debug=null}localize(p,S=null,y=null){const m=new b.State(p,S,this);return y&&m.schemas&&(m.schemas=[b.schemas(y),...m.schemas]),m}nest(p,S){const y=new b.State(this.path,this.ancestors,this);return y.schemas=y.schemas&&[b.schemas(p),...y.schemas],y.debug=S,y}shadow(p,S){this.mainstay.shadow=this.mainstay.shadow||new b.Shadow,this.mainstay.shadow.set(this.path,p,S)}snapshot(){this.mainstay.shadow&&(this._snapshot=c(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},b.schemas=function(p){return g.isSchema(p)?{schema:p}:p},b.Shadow=class{constructor(){this._values=null}set(p,S,y){if(!p.length||"strip"===y&&"number"==typeof p[p.length-1])return;this._values=this._values||new Map;let m=this._values;for(let h=0;h{"use strict";const c=e(375),l=e(8571),g=e(5277),b=e(1447),p=e(8160),S=e(6354),y=e(6133),m={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};u.exports=m.Template=class{constructor(h,C){if(c("string"==typeof h,"Template source must be a string"),c(!h.includes("\0")&&!h.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=h,this.rendered=h,this._template=null,C){const{functions:v,...M}=C;this._settings=Object.keys(M).length?l(M):void 0,this._functions=v,this._functions&&(c(Object.keys(this._functions).every(E=>"string"==typeof E),"Functions keys must be strings"),c(Object.values(this._functions).every(E=>"function"==typeof E),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const h=m.encode(this.source),C=m.split(h);let v=!1;const M=[],E=C.shift();E&&M.push(E);for(const A of C){const T="{"!==A[0],R=T?"}":"}}",N=A.indexOf(R);if(-1===N||"{"===A[1]){M.push(`{${m.decode(A)}`);continue}let P=A.slice(T?0:1,N);const L=":"===P[0];L&&(P=P.slice(1));const x=this._ref(m.decode(P),{raw:T,wrapped:L});M.push(x),"string"!=typeof x&&(v=!0);const V=A.slice(N+R.length);V&&M.push(m.decode(V))}v?this._template=M:this.rendered=M.join("")}static date(h,C){return m.dateFormat[C.dateFormat].call(h)}describe(h={}){if(!this._settings&&h.compact)return this.source;const C={template:this.source};return this._settings&&(C.options=this._settings),this._functions&&(C.functions=this._functions),C}static build(h){return new m.Template(h.template,h.options||h.functions?{...h.options,functions:h.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(h){return!!h&&!!h[p.symbols.template]}refs(){if(!this._template)return;const h=[];for(const C of this._template)"string"!=typeof C&&h.push(...C.refs);return h}resolve(h,C,v,M){return this._template&&1===this._template.length?this._part(this._template[0],h,C,v,M,{}):this.render(h,C,v,M)}_part(h,...C){return h.ref?h.ref.resolve(...C):h.formula.evaluate(C)}render(h,C,v,M,E={}){if(!this.isDynamic())return this.rendered;const A=[];for(const T of this._template)if("string"==typeof T)A.push(T);else{const R=this._part(T,h,C,v,M,E),N=m.stringify(R,h,C,v,M,E);if(void 0!==N){const P=T.raw||!1===(E.errors&&E.errors.escapeHtml)?N:g(N);A.push(m.wrap(P,T.wrapped&&v.errors.wrap.label))}}return A.join("")}_ref(h,{raw:C,wrapped:v}){const M=[],E=T=>{const R=y.create(T,this._settings);return M.push(R),N=>{const P=R.resolve(...N);return void 0!==P?P:null}};try{const T=this._functions?{...m.functions,...this._functions}:m.functions;var A=new b.Parser(h,{reference:E,functions:T,constants:m.constants})}catch(T){throw T.message=`Invalid template variable "${h}" fails due to: ${T.message}`,T}if(A.single){if("reference"===A.single.type){const T=M[0];return{ref:T,raw:C,refs:M,wrapped:v||"local"===T.type&&"label"===T.key}}return m.stringify(A.single.value)}return{formula:A,raw:C,refs:M}}toString(){return this.source}},m.Template.prototype[p.symbols.template]=!0,m.Template.prototype.isImmutable=!0,m.encode=function(h){return h.replace(/\\(\{+)/g,(C,v)=>m.opens.slice(0,v.length)).replace(/\\(\}+)/g,(C,v)=>m.closes.slice(0,v.length))},m.decode=function(h){return h.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},m.split=function(h){const C=[];let v="";for(let M=0;M ${V.toString()}`);h=L}if(!Array.isArray(h))return h.toString();const P=[];for(const L of h)P.push(m.stringify(L,C,v,M,E,{arrayItems:!0,...A}));return m.wrap(P.join(", "),!N&&R.array)},m.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},m.functions={if:(h,C,v)=>h?C:v,length:h=>"string"==typeof h?h.length:h&&"object"==typeof h?Array.isArray(h)?h.length:Object.keys(h).length:null,msg(h){const[C,v,M,E,A]=this,T=A.messages;if(!T)return"";const R=S.template(C,T[0],h,v,M)||S.template(C,T[1],h,v,M);return R?R.render(C,v,M,E,A):""},number:h=>"number"==typeof h?h:"string"==typeof h?parseFloat(h):"boolean"==typeof h?h?1:0:h instanceof Date?h.getTime():null}},4946:(u,a,e)=>{"use strict";const c=e(375),l=e(1687),g=e(8068),b=e(8160),p=e(3292),S=e(6354),y=e(6133),m={};u.exports=g.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:y.toSibling}},args:(h,...C)=>1===C.length&&Array.isArray(C[0])?h.try(...C[0]):h.try(...C),validate(h,C){const{schema:v,error:M,state:E,prefs:A}=C;if(v._flags.match){const R=[],N=[];for(let L=0;LS.details(L,{override:!1}))})};if("one"===v._flags.match)return 1===R.length?{value:R[0]}:{errors:M("alternatives.one")};if(R.length!==v.$_terms.matches.length)return{errors:M("alternatives.all",{details:N.map(L=>S.details(L,{override:!1}))})};const P=L=>L.$_terms.matches.some(x=>"object"===x.schema.type||"alternatives"===x.schema.type&&P(x.schema));return P(v)?{value:R.reduce((L,x)=>l(L,x,{mergeArrays:!1}))}:{value:R[R.length-1]}}const T=[];for(let R=0;R"is"!==v.path[0]&&"string"!=typeof C._flags.label?C.label(h):void 0,ref:!1})}},rebuild(h){h.$_modify({each:C=>{b.isSchema(C)&&"array"===C.type&&h.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(h,C){if(C.matches)for(const v of C.matches){const{schema:M,ref:E,is:A,not:T,then:R,otherwise:N}=v;h=M?h.try(M):E?h.conditional(E,{is:A,then:R,not:T,otherwise:N,switch:v.switch}):h.conditional(A,{then:R,otherwise:N})}return h}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),m.errors=function(h,{error:C,state:v}){if(!h.length)return{errors:C("alternatives.any")};if(1===h.length)return{errors:h[0].reports};const M=new Set,E=[];for(const{reports:A,schema:T}of h){if(A.length>1)return m.unmatched(h,C);const R=A[0];if(R instanceof S.Report==0)return m.unmatched(h,C);if(R.state.path.length!==v.path.length){E.push({type:T.type,report:R});continue}if("any.only"===R.code){for(const L of R.local.valids)M.add(L);continue}const[N,P]=R.code.split(".");"base"===P?M.add(N):E.push({type:T.type,report:R})}return E.length?1===E.length?{errors:E[0].report}:m.unmatched(h,C):{errors:C("alternatives.types",{types:[...M]})}},m.unmatched=function(h,C){const v=[];for(const M of h)v.push(...M.reports);return{errors:C("alternatives.match",S.details(v,{override:!1}))}}},8068:(u,a,e)=>{"use strict";const c=e(375),l=e(7629),g=e(8160),b=e(6914);u.exports=l.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(p,S){return c("function"==typeof p,"Method must be a function"),c(void 0===S||S&&"string"==typeof S,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:p,description:S}})},validate(p,S,{method:y}){try{return y(p,S)}catch(m){return S.error("any.custom",{error:m})}},args:["method","description"],multi:!0},messages:{method(p){return this.prefs({messages:p})}},shared:{method(p){c(g.isSchema(p)&&p._flags.id,"Schema must be a schema with an id");const S=this.clone();return S.$_terms.shared=S.$_terms.shared||[],S.$_terms.shared.push(p),S.$_mutateRegister(p),S}},warning:{method(p,S){return c(p&&"string"==typeof p,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:p,local:S},warn:!0})},validate:(p,S,{code:y,local:m})=>S.error(y,m),args:["code","local"],multi:!0}},modifiers:{keep(p,S=!0){p.keep=S},message(p,S){p.message=b.compile(S)},warn(p,S=!0){p.warn=S}},manifest:{build(p,S){for(const y in S){const m=S[y];if(["examples","externals","metas","notes","tags"].includes(y))for(const h of m)p=p[y.slice(0,-1)](h);else if("alterations"!==y)if("whens"!==y){if("shared"===y)for(const h of m)p=p.shared(h)}else for(const h of m){const{ref:C,is:v,not:M,then:E,otherwise:A,concat:T}=h;p=T?p.concat(T):C?p.when(C,{is:v,not:M,then:E,otherwise:A,switch:h.switch,break:h.break}):p.when(v,{then:E,otherwise:A,break:h.break})}else{const h={};for(const{target:C,adjuster:v}of m)h[C]=v;p=p.alter(h)}}return p}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},546:(u,a,e)=>{"use strict";const c=e(375),l=e(9474),g=e(9621),b=e(8068),p=e(8160),S=e(3292),y={};u.exports=b.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(m,{schema:h,state:C,prefs:v}){if(!Array.isArray(m))return;const M=h.$_getRule("sort");return M?y.sort(h,m,M.args.options,C,v):void 0}},validate(m,{schema:h,error:C}){if(!Array.isArray(m)){if(h._flags.single){const v=[m];return v[p.symbols.arraySingle]=!0,{value:v}}return{errors:C("array.base")}}if(h.$_getRule("items")||h.$_terms.externals)return{value:m.slice()}},rules:{has:{method(m){m=this.$_compile(m,{appendPath:!0});const h=this.$_addRule({name:"has",args:{schema:m}});return h.$_mutateRegister(m),h},validate(m,{state:h,prefs:C,error:v},{schema:M}){const E=[m,...h.ancestors];for(let T=0;Tthis.$_compile(m[C]),C,{append:!0});h.$_terms.items.push(v)}return h.$_mutateRebuild()},validate(m,{schema:h,error:C,state:v,prefs:M,errorsArray:E}){const A=h.$_terms._requireds.slice(),T=h.$_terms.ordered.slice(),R=[...h.$_terms._inclusions,...A],N=!m[p.symbols.arraySingle];delete m[p.symbols.arraySingle];const P=E();let L=m.length;for(let x=0;x="})}},ordered:{method(...m){p.verifyFlat(m,"ordered");const h=this.$_addRule("items");for(let C=0;Cthis.$_compile(m[C]),C,{append:!0});y.validateSingle(v,h),h.$_mutateRegister(v),h.$_terms.ordered.push(v)}return h.$_mutateRebuild()}},single:{method(m){const h=void 0===m||!!m;return c(!h||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",h)}},sort:{method(m={}){p.assertOptions(m,["by","order"]);const h={order:m.order||"ascending"};return m.by&&(h.by=S.ref(m.by,{ancestor:0}),c(!h.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:h}})},validate(m,{error:h,state:C,prefs:v,schema:M},{options:E}){const{value:A,errors:T}=y.sort(M,m,E,C,v);if(T)return T;for(let R=0;Rnew Set(m)}},rebuild(m){m.$_terms._inclusions=[],m.$_terms._exclusions=[],m.$_terms._requireds=[];for(const h of m.$_terms.items)y.validateSingle(h,m),"required"===h._flags.presence?m.$_terms._requireds.push(h):"forbidden"===h._flags.presence?m.$_terms._exclusions.push(h):m.$_terms._inclusions.push(h);for(const h of m.$_terms.ordered)y.validateSingle(h,m)},manifest:{build:(m,h)=>(h.items&&(m=m.items(...h.items)),h.ordered&&(m=m.ordered(...h.ordered)),m)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),y.fillMissedErrors=function(m,h,C,v,M,E){const A=[];let T=0;for(const R of C){const N=R._flags.label;N?A.push(N):++T}h.push(A.length?T?m.$_createError("array.includesRequiredBoth",v,{knownMisses:A,unknownMisses:T},M,E):m.$_createError("array.includesRequiredKnowns",v,{knownMisses:A},M,E):m.$_createError("array.includesRequiredUnknowns",v,{unknownMisses:T},M,E))},y.fillOrderedErrors=function(m,h,C,v,M,E){const A=[];for(const T of C)"required"===T._flags.presence&&A.push(T);A.length&&y.fillMissedErrors(m,h,A,v,M,E)},y.fillDefault=function(m,h,C,v){const M=[];let E=!0;for(let A=m.length-1;A>=0;--A){const T=m[A],R=[h,...C.ancestors],N=T.$_validate(void 0,C.localize(C.path,R,T),v).value;if(E){if(void 0===N)continue;E=!1}M.unshift(N)}M.length&&h.push(...M)},y.fastSplice=function(m,h){let C=h;for(;C{let L=y.compare(N,P,A,T);if(null!==L||(C.by&&(N=C.by.resolve(N,v,M),P=C.by.resolve(P,v,M)),L=y.compare(N,P,A,T),null!==L))return L;const x=typeof N;if(x!==typeof P)throw m.$_createError("array.sort.mismatching",h,null,v,M);if("number"!==x&&"string"!==x)throw m.$_createError("array.sort.unsupported",h,{type:x},v,M);return"number"===x?(N-P)*E:N{"use strict";const c=e(375),l=e(8068),g=e(8160),b=e(2036),p={isBool:function(S){return"boolean"==typeof S}};u.exports=l.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(S,{schema:y}){if("boolean"!=typeof S){if("string"==typeof S){const m=y._flags.sensitive?S:S.toLowerCase();S="true"===m||"false"!==m&&S}return"boolean"!=typeof S&&(S=y.$_terms.truthy&&y.$_terms.truthy.has(S,null,null,!y._flags.sensitive)||(!y.$_terms.falsy||!y.$_terms.falsy.has(S,null,null,!y._flags.sensitive))&&S),{value:S}}},validate(S,{error:y}){if("boolean"!=typeof S)return{value:S,errors:y("boolean.base")}},rules:{truthy:{method(...S){g.verifyFlat(S,"truthy");const y=this.clone();y.$_terms.truthy=y.$_terms.truthy||new b;for(let m=0;mS?1:0},string:{from:p.isBool,to:(S,y)=>S?"true":"false"}},manifest:{build:(S,y)=>(y.truthy&&(S=S.truthy(...y.truthy)),y.falsy&&(S=S.falsy(...y.falsy)),S)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(u,a,e)=>{"use strict";const c=e(375),l=e(8068),g=e(8160),b=e(3328),p={isDate:function(S){return S instanceof Date}};u.exports=l.extend({type:"date",coerce:{from:["number","string"],method:(S,{schema:y})=>({value:p.parse(S,y._flags.format)||S})},validate(S,{schema:y,error:m,prefs:h}){if(S instanceof Date&&!isNaN(S.getTime()))return;const C=y._flags.format;return h.convert&&C&&"string"==typeof S?{value:S,errors:m("date.format",{format:C})}:{value:S,errors:m("date.base")}},rules:{compare:{method:!1,validate(S,y,{date:m},{name:h,operator:C,args:v}){const M="now"===m?Date.now():m.getTime();return g.compare(S.getTime(),M,C)?S:y.error("date."+h,{limit:v.date,value:S})},args:[{name:"date",ref:!0,normalize:S=>"now"===S?S:p.parse(S),assert:S=>null!==S,message:"must have a valid date format"}]},format:{method(S){return c(["iso","javascript","unix"].includes(S),"Unknown date format",S),this.$_setFlag("format",S)}},greater:{method(S){return this.$_addRule({name:"greater",method:"compare",args:{date:S},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(S){return this.$_addRule({name:"less",method:"compare",args:{date:S},operator:"<"})}},max:{method(S){return this.$_addRule({name:"max",method:"compare",args:{date:S},operator:"<="})}},min:{method(S){return this.$_addRule({name:"min",method:"compare",args:{date:S},operator:">="})}},timestamp:{method(S="javascript"){return c(["javascript","unix"].includes(S),'"type" must be one of "javascript, unix"'),this.format(S)}}},cast:{number:{from:p.isDate,to:(S,y)=>S.getTime()},string:{from:p.isDate,to:(S,{prefs:y})=>b.date(S,y)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),p.parse=function(S,y){if(S instanceof Date)return S;if("string"!=typeof S&&(isNaN(S)||!isFinite(S))||/^\s*$/.test(S))return null;if("iso"===y)return g.isIsoDate(S)?p.date(S.toString()):null;const m=S;if("string"==typeof S&&/^[+-]?\d+(\.\d+)?$/.test(S)&&(S=parseFloat(S)),y){if("javascript"===y)return p.date(1*S);if("unix"===y)return p.date(1e3*S);if("string"==typeof m)return null}return p.date(S)},p.date=function(S){const y=new Date(S);return isNaN(y.getTime())?null:y}},390:(u,a,e)=>{"use strict";const c=e(375),l=e(7824);u.exports=l.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(g){return c(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:g}})},validate:(g,b,{n:p})=>g.length===p?g:b.error("function.arity",{n:p})},class:{method(){return this.$_addRule("class")},validate:(g,b)=>/^\s*class\s/.test(g.toString())?g:b.error("function.class",{value:g})},minArity:{method(g){return c(Number.isSafeInteger(g)&&g>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:g}})},validate:(g,b,{n:p})=>g.length>=p?g:b.error("function.minArity",{n:p})},maxArity:{method(g){return c(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:g}})},validate:(g,b,{n:p})=>g.length<=p?g:b.error("function.maxArity",{n:p})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},7824:(u,a,e)=>{"use strict";const c=e(978),l=e(375),g=e(8571),b=e(3652),p=e(8068),S=e(8160),y=e(3292),m=e(6354),h=e(6133),C=e(3328),v={renameDefaults:{alias:!1,multiple:!1,override:!1}};u.exports=p.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(M,E)=>M.keys(E),validate(M,{schema:E,error:A,state:T,prefs:R}){if(!M||typeof M!==E.$_property("typeof")||Array.isArray(M))return{value:M,errors:A("object.base",{type:E.$_property("typeof")})};if(!(E.$_terms.renames||E.$_terms.dependencies||E.$_terms.keys||E.$_terms.patterns||E.$_terms.externals))return;M=v.clone(M,R);const N=[];if(E.$_terms.renames&&!v.rename(E,M,T,R,N))return{value:M,errors:N};if(!E.$_terms.keys&&!E.$_terms.patterns&&!E.$_terms.dependencies)return{value:M,errors:N};const P=new Set(Object.keys(M));if(E.$_terms.keys){const L=[M,...T.ancestors];for(const x of E.$_terms.keys){const V=x.key,F=M[V];P.delete(V);const ee=T.localize([...T.path,V],L,x),X=x.schema.$_validate(F,ee,R);if(X.errors){if(R.abortEarly)return{value:M,errors:X.errors};void 0!==X.value&&(M[V]=X.value),N.push(...X.errors)}else"strip"===x.schema._flags.result||void 0===X.value&&void 0!==F?delete M[V]:void 0!==X.value&&(M[V]=X.value)}}if(P.size||E._flags._hasPatternMatch){const L=v.unknown(E,M,P,N,T,R);if(L)return L}if(E.$_terms.dependencies)for(const L of E.$_terms.dependencies){if(null!==L.key&&!1===v.isPresent(L.options)(L.key.resolve(M,T,R,null,{shadow:!1})))continue;const x=v.dependencies[L.rel](E,L,M,T,R);if(x){const V=E.$_createError(x.code,M,x.context,T,R);if(R.abortEarly)return{value:M,errors:V};N.push(V)}}return{value:M,errors:N}},rules:{and:{method(...M){return S.verifyFlat(M,"and"),v.dependency(this,"and",null,M)}},append:{method(M){return null==M||0===Object.keys(M).length?this:this.keys(M)}},assert:{method(M,E,A){C.isTemplate(M)||(M=y.ref(M)),l(void 0===A||"string"==typeof A,"Message must be a string"),E=this.$_compile(E,{appendPath:!0});const T=this.$_addRule({name:"assert",args:{subject:M,schema:E,message:A}});return T.$_mutateRegister(M),T.$_mutateRegister(E),T},validate(M,{error:E,prefs:A,state:T},{subject:R,schema:N,message:P}){const L=R.resolve(M,T,A),x=h.isRef(R)?R.absolute(T):[];return N.$_match(L,T.localize(x,[M,...T.ancestors],N),A)?M:E("object.assert",{subject:R,message:P})},args:["subject","schema","message"],multi:!0},instance:{method(M,E){return l("function"==typeof M,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:M,name:E=E||M.name}})},validate:(M,E,{constructor:A,name:T})=>M instanceof A?M:E.error("object.instance",{type:T,value:M}),args:["constructor","name"]},keys:{method(M){l(void 0===M||"object"==typeof M,"Object schema must be a valid object"),l(!S.isSchema(M),"Object schema cannot be a joi schema");const E=this.clone();if(M)if(Object.keys(M).length){E.$_terms.keys=E.$_terms.keys?E.$_terms.keys.filter(A=>!M.hasOwnProperty(A.key)):new v.Keys;for(const A in M)S.tryWithPath(()=>E.$_terms.keys.push({key:A,schema:this.$_compile(M[A])}),A)}else E.$_terms.keys=new v.Keys;else E.$_terms.keys=null;return E.$_mutateRebuild()}},length:{method(M){return this.$_addRule({name:"length",args:{limit:M},operator:"="})},validate:(M,E,{limit:A},{name:T,operator:R,args:N})=>S.compare(Object.keys(M).length,A,R)?M:E.error("object."+T,{limit:N.limit,value:M}),args:[{name:"limit",ref:!0,assert:S.limit,message:"must be a positive integer"}]},max:{method(M){return this.$_addRule({name:"max",method:"length",args:{limit:M},operator:"<="})}},min:{method(M){return this.$_addRule({name:"min",method:"length",args:{limit:M},operator:">="})}},nand:{method(...M){return S.verifyFlat(M,"nand"),v.dependency(this,"nand",null,M)}},or:{method(...M){return S.verifyFlat(M,"or"),v.dependency(this,"or",null,M)}},oxor:{method(...M){return v.dependency(this,"oxor",null,M)}},pattern:{method(M,E,A={}){const T=M instanceof RegExp;T||(M=this.$_compile(M,{appendPath:!0})),l(void 0!==E,"Invalid rule"),S.assertOptions(A,["fallthrough","matches"]),T&&l(!M.flags.includes("g")&&!M.flags.includes("y"),"pattern should not use global or sticky mode"),E=this.$_compile(E,{appendPath:!0});const R=this.clone();R.$_terms.patterns=R.$_terms.patterns||[];const N={[T?"regex":"schema"]:M,rule:E};return A.matches&&(N.matches=this.$_compile(A.matches),"array"!==N.matches.type&&(N.matches=N.matches.$_root.array().items(N.matches)),R.$_mutateRegister(N.matches),R.$_setFlag("_hasPatternMatch",!0,{clone:!1})),A.fallthrough&&(N.fallthrough=!0),R.$_terms.patterns.push(N),R.$_mutateRegister(E),R}},ref:{method(){return this.$_addRule("ref")},validate:(M,E)=>h.isRef(M)?M:E.error("object.refType",{value:M})},regex:{method(){return this.$_addRule("regex")},validate:(M,E)=>M instanceof RegExp?M:E.error("object.regex",{value:M})},rename:{method(M,E,A={}){l("string"==typeof M||M instanceof RegExp,"Rename missing the from argument"),l("string"==typeof E||E instanceof C,"Invalid rename to argument"),l(E!==M,"Cannot rename key to same name:",M),S.assertOptions(A,["alias","ignoreUndefined","override","multiple"]);const T=this.clone();T.$_terms.renames=T.$_terms.renames||[];for(const R of T.$_terms.renames)l(R.from!==M,"Cannot rename the same key multiple times");return E instanceof C&&T.$_mutateRegister(E),T.$_terms.renames.push({from:M,to:E,options:c(v.renameDefaults,A)}),T}},schema:{method(M="any"){return this.$_addRule({name:"schema",args:{type:M}})},validate:(M,E,{type:A})=>!S.isSchema(M)||"any"!==A&&M.type!==A?E.error("object.schema",{type:A}):M},unknown:{method(M){return this.$_setFlag("unknown",!1!==M)}},with:{method(M,E,A={}){return v.dependency(this,"with",M,E,A)}},without:{method(M,E,A={}){return v.dependency(this,"without",M,E,A)}},xor:{method(...M){return S.verifyFlat(M,"xor"),v.dependency(this,"xor",null,M)}}},overrides:{default(M,E){return void 0===M&&(M=S.symbols.deepDefault),this.$_parent("default",M,E)}},rebuild(M){if(M.$_terms.keys){const E=new b.Sorter;for(const A of M.$_terms.keys)S.tryWithPath(()=>E.add(A,{after:A.schema.$_rootReferences(),group:A.key}),A.key);M.$_terms.keys=new v.Keys(...E.nodes)}},manifest:{build(M,E){if(E.keys&&(M=M.keys(E.keys)),E.dependencies)for(const{rel:A,key:T=null,peers:R,options:N}of E.dependencies)M=v.dependency(M,A,T,R,N);if(E.patterns)for(const{regex:A,schema:T,rule:R,fallthrough:N,matches:P}of E.patterns)M=M.pattern(A||T,R,{fallthrough:N,matches:P});if(E.renames)for(const{from:A,to:T,options:R}of E.renames)M=M.rename(A,T,R);return M}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),v.clone=function(M,E){if("object"==typeof M){if(E.nonEnumerables)return g(M,{shallow:!0});const T=Object.create(Object.getPrototypeOf(M));return Object.assign(T,M),T}const A=function(...T){return M.apply(this,T)};return A.prototype=g(M.prototype),Object.defineProperty(A,"name",{value:M.name,writable:!1}),Object.defineProperty(A,"length",{value:M.length,writable:!1}),Object.assign(A,M),A},v.dependency=function(M,E,A,T,R){l(null===A||"string"==typeof A,E,"key must be a strings"),R||(R=T.length>1&&"object"==typeof T[T.length-1]?T.pop():{}),S.assertOptions(R,["separator","isPresent"]),T=[].concat(T);const N=S.default(R.separator,"."),P=[];for(const x of T)l("string"==typeof x,E,"peers must be strings"),P.push(y.ref(x,{separator:N,ancestor:0,prefix:!1}));null!==A&&(A=y.ref(A,{separator:N,ancestor:0,prefix:!1}));const L=M.clone();return L.$_terms.dependencies=L.$_terms.dependencies||[],L.$_terms.dependencies.push(new v.Dependency(E,A,P,T,R)),L},v.dependencies={and(M,E,A,T,R){const N=[],P=[],L=E.peers.length,x=v.isPresent(E.options);for(const V of E.peers)!1===x(V.resolve(A,T,R,null,{shadow:!1}))?N.push(V.key):P.push(V.key);if(N.length!==L&&P.length!==L)return{code:"object.and",context:{present:P,presentWithLabels:v.keysToLabels(M,P),missing:N,missingWithLabels:v.keysToLabels(M,N)}}},nand(M,E,A,T,R){const N=[],P=v.isPresent(E.options);for(const V of E.peers)P(V.resolve(A,T,R,null,{shadow:!1}))&&N.push(V.key);if(N.length!==E.peers.length)return;const L=E.paths[0],x=E.paths.slice(1);return{code:"object.nand",context:{main:L,mainWithLabel:v.keysToLabels(M,L),peers:x,peersWithLabels:v.keysToLabels(M,x)}}},or(M,E,A,T,R){const N=v.isPresent(E.options);for(const P of E.peers)if(N(P.resolve(A,T,R,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)}}},oxor(M,E,A,T,R){const N=[],P=v.isPresent(E.options);for(const x of E.peers)P(x.resolve(A,T,R,null,{shadow:!1}))&&N.push(x.key);if(!N.length||1===N.length)return;const L={peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)};return L.present=N,L.presentWithLabels=v.keysToLabels(M,N),{code:"object.oxor",context:L}},with(M,E,A,T,R){const N=v.isPresent(E.options);for(const P of E.peers)if(!1===N(P.resolve(A,T,R,null,{shadow:!1})))return{code:"object.with",context:{main:E.key.key,mainWithLabel:v.keysToLabels(M,E.key.key),peer:P.key,peerWithLabel:v.keysToLabels(M,P.key)}}},without(M,E,A,T,R){const N=v.isPresent(E.options);for(const P of E.peers)if(N(P.resolve(A,T,R,null,{shadow:!1})))return{code:"object.without",context:{main:E.key.key,mainWithLabel:v.keysToLabels(M,E.key.key),peer:P.key,peerWithLabel:v.keysToLabels(M,P.key)}}},xor(M,E,A,T,R){const N=[],P=v.isPresent(E.options);for(const x of E.peers)P(x.resolve(A,T,R,null,{shadow:!1}))&&N.push(x.key);if(1===N.length)return;const L={peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)};return 0===N.length?{code:"object.missing",context:L}:(L.present=N,L.presentWithLabels=v.keysToLabels(M,N),{code:"object.xor",context:L})}},v.keysToLabels=function(M,E){return Array.isArray(E)?E.map(A=>M.$_mapLabels(A)):M.$_mapLabels(E)},v.isPresent=function(M){return"function"==typeof M.isPresent?M.isPresent:E=>void 0!==E},v.rename=function(M,E,A,T,R){const N={};for(const P of M.$_terms.renames){const L=[],x="string"!=typeof P.from;if(x)for(const V in E){if(void 0===E[V]&&P.options.ignoreUndefined||V===P.to)continue;const F=P.from.exec(V);F&&L.push({from:V,to:P.to,match:F})}else!Object.prototype.hasOwnProperty.call(E,P.from)||void 0===E[P.from]&&P.options.ignoreUndefined||L.push(P);for(const V of L){const F=V.from;let ee=V.to;if(ee instanceof C&&(ee=ee.render(E,A,T,V.match)),F!==ee){if(!P.options.multiple&&N[ee]&&(R.push(M.$_createError("object.rename.multiple",E,{from:F,to:ee,pattern:x},A,T)),T.abortEarly)||Object.prototype.hasOwnProperty.call(E,ee)&&!P.options.override&&!N[ee]&&(R.push(M.$_createError("object.rename.override",E,{from:F,to:ee,pattern:x},A,T)),T.abortEarly))return!1;void 0===E[F]?delete E[ee]:E[ee]=E[F],N[ee]=!0,P.options.alias||delete E[F]}}}return!0},v.unknown=function(M,E,A,T,R,N){if(M.$_terms.patterns){let P=!1;const L=M.$_terms.patterns.map(V=>{if(V.matches)return P=!0,[]}),x=[E,...R.ancestors];for(const V of A){const F=E[V],ee=[...R.path,V];for(let X=0;X{"use strict";const c=e(375),l=e(8068),g=e(8160),b=e(3292),p=e(6354),S={};u.exports=l.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(y,m)=>y.ref(m),validate(y,{schema:m,state:h,prefs:C}){c(m.$_terms.link,"Uninitialized link schema");const v=S.generate(m,y,h,C);return v.$_validate(y,h.nest(v,`link:${m.$_terms.link[0].ref.display}:${v.type}`),C)},generate:(y,m,h,C)=>S.generate(y,m,h,C),rules:{ref:{method(y){c(!this.$_terms.link,"Cannot reinitialize schema"),y=b.ref(y),c("value"===y.type||"local"===y.type,"Invalid reference type:",y.type),c("local"===y.type||"root"===y.ancestor||y.ancestor>0,"Link cannot reference itself");const m=this.clone();return m.$_terms.link=[{ref:y}],m}},relative:{method(y=!0){return this.$_setFlag("relative",y)}}},overrides:{concat(y){c(this.$_terms.link,"Uninitialized link schema"),c(g.isSchema(y),"Invalid schema object"),c("link"!==y.type,"Cannot merge type link with another link");const m=this.clone();return m.$_terms.whens||(m.$_terms.whens=[]),m.$_terms.whens.push({concat:y}),m.$_mutateRebuild()}},manifest:{build:(y,m)=>(c(m.link,"Invalid link description missing link"),y.ref(m.link))}}),S.generate=function(y,m,h,C){let v=h.mainstay.links.get(y);if(v)return v._generate(m,h,C).schema;const M=y.$_terms.link[0].ref,{perspective:E,path:A}=S.perspective(M,h);S.assert(E,"which is outside of schema boundaries",M,y,h,C);try{v=A.length?E.$_reach(A):E}catch{S.assert(!1,"to non-existing schema",M,y,h,C)}return S.assert("link"!==v.type,"which is another link",M,y,h,C),y._flags.relative||h.mainstay.links.set(y,v),v._generate(m,h,C).schema},S.perspective=function(y,m){if("local"===y.type){for(const{schema:h,key:C}of m.schemas){if((h._flags.id||C)===y.path[0])return{perspective:h,path:y.path.slice(1)};if(h.$_terms.shared)for(const v of h.$_terms.shared)if(v._flags.id===y.path[0])return{perspective:v,path:y.path.slice(1)}}return{perspective:null,path:null}}return"root"===y.ancestor?{perspective:m.schemas[m.schemas.length-1].schema,path:y.path}:{perspective:m.schemas[y.ancestor]&&m.schemas[y.ancestor].schema,path:y.path}},S.assert=function(y,m,h,C,v,M){y||c(!1,`"${p.label(C._flags,v,M)}" contains link reference "${h.display}" ${m}`)}},3832:(u,a,e)=>{"use strict";const c=e(375),l=e(8068),g=e(8160),b={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(p){const S=p.toString(),y=S.indexOf("."),m=S.indexOf("e");return(y<0?0:(m<0?S.length:m)-y-1)+(m<0?0:Math.max(0,-parseInt(S.slice(m+1))))}};u.exports=l.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(p,{schema:S,error:y}){if(!p.match(b.numberRx))return;p=p.trim();const m={value:parseFloat(p)};if(0===m.value&&(m.value=0),!S._flags.unsafe)if(p.match(/e/i)){if(b.extractSignificantDigits(p)!==b.extractSignificantDigits(String(m.value)))return m.errors=y("number.unsafe"),m}else{const h=m.value.toString();if(h.match(/e/i))return m;if(h!==b.normalizeDecimal(p))return m.errors=y("number.unsafe"),m}return m}},validate(p,{schema:S,error:y,prefs:m}){if(p===1/0||p===-1/0)return{value:p,errors:y("number.infinity")};if(!g.isNumber(p))return{value:p,errors:y("number.base")};const h={value:p};if(m.convert){const C=S.$_getRule("precision");if(C){const v=Math.pow(10,C.args.limit);h.value=Math.round(h.value*v)/v}}return 0===h.value&&(h.value=0),!S._flags.unsafe&&(p>Number.MAX_SAFE_INTEGER||pg.compare(p,y,h)?p:S.error("number."+m,{limit:C.limit,value:p}),args:[{name:"limit",ref:!0,assert:g.isNumber,message:"must be a number"}]},greater:{method(p){return this.$_addRule({name:"greater",method:"compare",args:{limit:p},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(p,S)=>Math.trunc(p)-p==0?p:S.error("number.integer")},less:{method(p){return this.$_addRule({name:"less",method:"compare",args:{limit:p},operator:"<"})}},max:{method(p){return this.$_addRule({name:"max",method:"compare",args:{limit:p},operator:"<="})}},min:{method(p){return this.$_addRule({name:"min",method:"compare",args:{limit:p},operator:">="})}},multiple:{method(p){const S="number"==typeof p?b.decimalPlaces(p):null,y=Math.pow(10,S);return this.$_addRule({name:"multiple",args:{base:p,baseDecimalPlace:S,pfactor:y}})},validate:(p,S,{base:y,baseDecimalPlace:m,pfactor:h},C)=>b.decimalPlaces(p)>m?S.error("number.multiple",{multiple:C.args.base,value:p}):Math.round(h*p)%Math.round(h*y)==0?p:S.error("number.multiple",{multiple:C.args.base,value:p}),args:[{name:"base",ref:!0,assert:p=>"number"==typeof p&&isFinite(p)&&p>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(p,S)=>Number.isSafeInteger(p)&&p>=0&&p<=65535?p:S.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(p){return c(Number.isSafeInteger(p),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:p}})},validate(p,S,{limit:y}){const m=p.toString().match(b.precisionRx);return Math.max((m[1]?m[1].length:0)-(m[2]?parseInt(m[2],10):0),0)<=y?p:S.error("number.precision",{limit:y,value:p})},convert:!0},sign:{method(p){return c(["negative","positive"].includes(p),"Invalid sign",p),this.$_addRule({name:"sign",args:{sign:p}})},validate:(p,S,{sign:y})=>"negative"===y&&p<0||"positive"===y&&p>0?p:S.error(`number.${y}`)},unsafe:{method(p=!0){return c("boolean"==typeof p,"enabled must be a boolean"),this.$_setFlag("unsafe",p)}}},cast:{string:{from:p=>"number"==typeof p,to:(p,S)=>p.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),b.extractSignificantDigits=function(p){return p.replace(b.exponentialPartRegex,"").replace(b.dotRegex,"").replace(b.trailingZerosRegex,"").replace(b.leadingSignAndZerosRegex,"")},b.normalizeDecimal=function(p){return(p=p.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&p.endsWith("0")&&(p=p.replace(/0+$/,"")),"-0"===p?"0":p}},8966:(u,a,e)=>{"use strict";const c=e(7824);u.exports=c.extend({type:"object",cast:{map:{from:l=>l&&"object"==typeof l,to:(l,g)=>new Map(Object.entries(l))}}})},7417:(u,a,e)=>{"use strict";const c=e(375),l=e(5380),g=e(1745),b=e(9959),p=e(6064),S=e(9926),y=e(5752),m=e(8068),h=e(8160),C={tlds:S instanceof Set&&{tlds:{allow:S,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:b.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};u.exports=m.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(v,{schema:M,state:E,prefs:A}){const T=M.$_getRule("normalize");T&&(v=v.normalize(T.args.form));const R=M.$_getRule("case");R&&(v="upper"===R.args.direction?v.toLocaleUpperCase():v.toLocaleLowerCase());const N=M.$_getRule("trim");if(N&&N.args.enabled&&(v=v.trim()),M.$_terms.replacements)for(const L of M.$_terms.replacements)v=v.replace(L.pattern,L.replacement);const P=M.$_getRule("hex");if(P&&P.args.options.byteAligned&&v.length%2!=0&&(v=`0${v}`),M.$_getRule("isoDate")){const L=C.isoDate(v);L&&(v=L)}if(M._flags.truncate){const L=M.$_getRule("max");if(L){let x=L.args.limit;if(h.isResolvable(x)&&(x=x.resolve(v,E,A),!h.limit(x)))return{value:v,errors:M.$_createError("any.ref",x,{ref:L.args.limit,arg:"limit",reason:"must be a positive integer"},E,A)};v=v.slice(0,x)}}return{value:v}}},validate(v,{schema:M,error:E}){if("string"!=typeof v)return{value:v,errors:E("string.base")};if(""===v){const A=M.$_getRule("min");return A&&0===A.args.limit?void 0:{value:v,errors:E("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(v,M)=>/^[a-zA-Z0-9]+$/.test(v)?v:M.error("string.alphanum")},base64:{method(v={}){return h.assertOptions(v,["paddingRequired","urlSafe"]),v={urlSafe:!1,paddingRequired:!0,...v},c("boolean"==typeof v.paddingRequired,"paddingRequired must be boolean"),c("boolean"==typeof v.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:v}})},validate:(v,M,{options:E})=>C.base64Regex[E.paddingRequired][E.urlSafe].test(v)?v:M.error("string.base64")},case:{method(v){return c(["lower","upper"].includes(v),"Invalid case:",v),this.$_addRule({name:"case",args:{direction:v}})},validate:(v,M,{direction:E})=>"lower"===E&&v===v.toLocaleLowerCase()||"upper"===E&&v===v.toLocaleUpperCase()?v:M.error(`string.${E}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(v,M){let E=v.length,A=0,T=1;for(;E--;){const R=v.charAt(E)*T;A+=R-9*(R>9),T^=3}return A>0&&A%10==0?v:M.error("string.creditCard")}},dataUri:{method(v={}){return h.assertOptions(v,["paddingRequired"]),v={paddingRequired:!0,...v},c("boolean"==typeof v.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:v}})},validate(v,M,{options:E}){const A=v.match(C.dataUriRegex);return!A||A[2]&&"base64"===A[2]&&!C.base64Regex[E.paddingRequired].false.test(A[3])?M.error("string.dataUri"):v}},domain:{method(v){v&&h.assertOptions(v,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const M=C.addressOptions(v);return this.$_addRule({name:"domain",args:{options:v},address:M})},validate:(v,M,E,{address:A})=>l.isValid(v,A)?v:M.error("string.domain")},email:{method(v={}){h.assertOptions(v,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),c(void 0===v.multiple||"boolean"==typeof v.multiple,"multiple option must be an boolean");const M=C.addressOptions(v),E=new RegExp(`\\s*[${v.separator?p(v.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:v},regex:E,address:M})},validate(v,M,{options:E},{regex:A,address:T}){const R=E.multiple?v.split(A):[v],N=[];for(const P of R)g.isValid(P,T)||N.push(P);return N.length?M.error("string.email",{value:v,invalids:N}):v}},guid:{alias:"uuid",method(v={}){h.assertOptions(v,["version","separator"]);let M="";if(v.version){const T=[].concat(v.version);c(T.length>=1,"version must have at least 1 valid version specified");const R=new Set;for(let N=0;N("optional"===E.prefix?C.hexRegex.withOptionalPrefix:!0===E.prefix?C.hexRegex.withPrefix:C.hexRegex.withoutPrefix).test(v)?E.byteAligned&&v.length%2!=0?M.error("string.hexAlign"):v:M.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(v,M)=>l.isValid(v,{minDomainSegments:1})||C.ipRegex.test(v)?v:M.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(v={}){h.assertOptions(v,["cidr","version"]);const{cidr:M,versions:E,regex:A}=b.regex(v);return this.$_addRule({name:"ip",args:{options:{cidr:M,version:v.version?E:void 0}},regex:A})},validate:(v,M,{options:E},{regex:A})=>A.test(v)?v:E.version?M.error("string.ipVersion",{value:v,cidr:E.cidr,version:E.version}):M.error("string.ip",{value:v,cidr:E.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(v,{error:M})=>C.isoDate(v)?v:M("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(v,M)=>C.isoDurationRegex.test(v)?v:M.error("string.isoDuration")},length:{method(v,M){return C.length(this,"length",v,"=",M)},validate:(v,M,{limit:E,encoding:A},{name:T,operator:R,args:N})=>h.compare(!A&&v.length,E,R)?v:M.error("string."+T,{limit:N.limit,value:v,encoding:A}),args:[{name:"limit",ref:!0,assert:h.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(v,M){return C.length(this,"max",v,"<=",M)},args:["limit","encoding"]},min:{method(v,M){return C.length(this,"min",v,">=",M)},args:["limit","encoding"]},normalize:{method(v="NFC"){return c(C.normalizationForms.includes(v),"normalization form must be one of "+C.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:v}})},validate:(v,{error:M},{form:E})=>v===v.normalize(E)?v:M("string.normalize",{value:v,form:E}),convert:!0},pattern:{alias:"regex",method(v,M={}){c(v instanceof RegExp,"regex must be a RegExp"),c(!v.flags.includes("g")&&!v.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof M&&(M={name:M}),h.assertOptions(M,["invert","name"]);const E=["string.pattern",M.invert?".invert":"",M.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:v,options:M},errorCode:E})},validate:(v,M,{regex:E,options:A},{errorCode:T})=>E.test(v)^A.invert?v:M.error(T,{name:A.name,regex:E,value:v}),args:["regex","options"],multi:!0},replace:{method(v,M){"string"==typeof v&&(v=new RegExp(p(v),"g")),c(v instanceof RegExp,"pattern must be a RegExp"),c("string"==typeof M,"replacement must be a String");const E=this.clone();return E.$_terms.replacements||(E.$_terms.replacements=[]),E.$_terms.replacements.push({pattern:v,replacement:M}),E}},token:{method(){return this.$_addRule("token")},validate:(v,M)=>/^\w+$/.test(v)?v:M.error("string.token")},trim:{method(v=!0){return c("boolean"==typeof v,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:v}})},validate:(v,M,{enabled:E})=>E&&v!==v.trim()?M.error("string.trim"):v,convert:!0},truncate:{method(v=!0){return c("boolean"==typeof v,"enabled must be a boolean"),this.$_setFlag("truncate",v)}},uppercase:{method(){return this.case("upper")}},uri:{method(v={}){h.assertOptions(v,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),v.domain&&h.assertOptions(v.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:M,scheme:E}=y.regex(v),A=v.domain?C.addressOptions(v.domain):null;return this.$_addRule({name:"uri",args:{options:v},regex:M,domain:A,scheme:E})},validate(v,M,{options:E},{regex:A,domain:T,scheme:R}){if(["http:/","https:/"].includes(v))return M.error("string.uri");const N=A.exec(v);if(N){const P=N[1]||N[2];return!T||E.allowRelative&&!P||l.isValid(P,T)?v:M.error("string.domain",{value:P})}return E.relativeOnly?M.error("string.uriRelativeOnly"):E.scheme?M.error("string.uriCustomScheme",{scheme:R,value:v}):M.error("string.uri")}}},manifest:{build(v,M){if(M.replacements)for(const{pattern:E,replacement:A}of M.replacements)v=v.replace(E,A);return v}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),C.addressOptions=function(v){if(!v)return C.tlds||v;if(c(void 0===v.minDomainSegments||Number.isSafeInteger(v.minDomainSegments)&&v.minDomainSegments>0,"minDomainSegments must be a positive integer"),c(void 0===v.maxDomainSegments||Number.isSafeInteger(v.maxDomainSegments)&&v.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===v.tlds)return v;if(!0===v.tlds||void 0===v.tlds)return c(C.tlds,"Built-in TLD list disabled"),Object.assign({},v,C.tlds);c("object"==typeof v.tlds,"tlds must be true, false, or an object");const M=v.tlds.deny;if(M)return Array.isArray(M)&&(v=Object.assign({},v,{tlds:{deny:new Set(M)}})),c(v.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),c(!v.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),C.validateTlds(v.tlds.deny,"tlds.deny"),v;const E=v.tlds.allow;return E?!0===E?(c(C.tlds,"Built-in TLD list disabled"),Object.assign({},v,C.tlds)):(Array.isArray(E)&&(v=Object.assign({},v,{tlds:{allow:new Set(E)}})),c(v.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),C.validateTlds(v.tlds.allow,"tlds.allow"),v):v},C.validateTlds=function(v,M){for(const E of v)c(l.isValid(E,{minDomainSegments:1,maxDomainSegments:1}),`${M} must contain valid top level domain names`)},C.isoDate=function(v){if(!h.isIsoDate(v))return null;/.*T.*[+-]\d\d$/.test(v)&&(v+="00");const M=new Date(v);return isNaN(M.getTime())?null:M.toISOString()},C.length=function(v,M,E,A,T){return c(!T||!1,"Invalid encoding:",T),v.$_addRule({name:M,method:"length",args:{limit:E,encoding:T},operator:A})}},8826:(u,a,e)=>{"use strict";const c=e(375),l=e(8068),g={};g.Map=class extends Map{slice(){return new g.Map(this)}},u.exports=l.extend({type:"symbol",terms:{map:{init:new g.Map}},coerce:{method(b,{schema:p,error:S}){const y=p.$_terms.map.get(b);return y&&(b=y),p._flags.only&&"symbol"!=typeof b?{value:b,errors:S("symbol.map",{map:p.$_terms.map})}:{value:b}}},validate(b,{error:p}){if("symbol"!=typeof b)return{value:b,errors:p("symbol.base")}},rules:{map:{method(b){b&&!b[Symbol.iterator]&&"object"==typeof b&&(b=Object.entries(b)),c(b&&b[Symbol.iterator],"Iterable must be an iterable or object");const p=this.clone(),S=[];for(const y of b){c(y&&y[Symbol.iterator],"Entry must be an iterable");const[m,h]=y;c("object"!=typeof m&&"function"!=typeof m&&"symbol"!=typeof m,"Key must not be of type object, function, or Symbol"),c("symbol"==typeof h,"Value must be a Symbol"),p.$_terms.map.set(m,h),S.push(h)}return p.valid(...S)}}},manifest:{build:(b,p)=>(p.map&&(b=b.map(p.map)),b)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(738),b=e(9621),p=e(8160),S=e(6354),y=e(493),m={result:Symbol("result")};a.entry=function(h,C,v){let M=p.defaults;v&&(c(void 0===v.warnings,"Cannot override warnings preference in synchronous validation"),c(void 0===v.artifacts,"Cannot override artifacts preference in synchronous validation"),M=p.preferences(p.defaults,v));const E=m.entry(h,C,M);c(!E.mainstay.externals.length,"Schema with external rules must use validateAsync()");const A={value:E.value};return E.error&&(A.error=E.error),E.mainstay.warnings.length&&(A.warning=S.details(E.mainstay.warnings)),E.mainstay.debug&&(A.debug=E.mainstay.debug),E.mainstay.artifacts&&(A.artifacts=E.mainstay.artifacts),A},a.entryAsync=function(){var h=n(function*(C,v,M){let E=p.defaults;M&&(E=p.preferences(p.defaults,M));const A=m.entry(C,v,E),T=A.mainstay;if(A.error)throw T.debug&&(A.error.debug=T.debug),A.error;if(T.externals.length){let N=A.value;const P=[];for(const L of T.externals){const x=L.state.path,V="link"===L.schema.type?T.links.get(L.schema):null;let F,ee,X=N;const ce=x.length?[N]:[],Q=x.length?b(C,x):C;if(x.length){F=x[x.length-1];let ne=N;for(const Y of x.slice(0,-1))ne=ne[Y],ce.unshift(ne);ee=ce[0],X=ee[F]}try{const ne=(H,ae)=>(V||L.schema).$_createError(H,X,ae,L.state,E),Y=yield L.method(X,{schema:L.schema,linked:V,state:L.state,prefs:M,original:Q,error:ne,errorsArray:m.errorsArray,warn:(H,ae)=>T.warnings.push((V||L.schema).$_createError(H,X,ae,L.state,E)),message:(H,ae)=>(V||L.schema).$_createError("external",X,ae,L.state,E,{messages:H})});if(void 0===Y||Y===X)continue;if(Y instanceof S.Report){if(T.tracer.log(L.schema,L.state,"rule","external","error"),P.push(Y),E.abortEarly)break;continue}if(Array.isArray(Y)&&Y[p.symbols.errors]){if(T.tracer.log(L.schema,L.state,"rule","external","error"),P.push(...Y),E.abortEarly)break;continue}ee?(T.tracer.value(L.state,"rule",X,Y,"external"),ee[F]=Y):(T.tracer.value(L.state,"rule",N,Y,"external"),N=Y)}catch(ne){throw E.errors.label&&(ne.message+=` (${L.label})`),ne}}if(A.value=N,P.length)throw A.error=S.process(P,C,E),T.debug&&(A.error.debug=T.debug),A.error}if(!E.warnings&&!E.debug&&!E.artifacts)return A.value;const R={value:A.value};return T.warnings.length&&(R.warning=S.details(T.warnings)),T.debug&&(R.debug=T.debug),T.artifacts&&(R.artifacts=T.artifacts),R});return function(C,v,M){return h.apply(this,arguments)}}(),m.Mainstay=class{constructor(h,C,v){this.externals=[],this.warnings=[],this.tracer=h,this.debug=C,this.links=v,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const h=this._snapshots.pop();this.externals=h.externals,this.warnings=h.warnings}commit(){this._snapshots.pop()}},m.entry=function(h,C,v){const{tracer:M,cleanup:E}=m.tracer(C,v),R=new m.Mainstay(M,v.debug?[]:null,C._ids._schemaChain?new Map:null),P=new y([],[],{mainstay:R,schemas:C._ids._schemaChain?[{schema:C}]:null}),L=a.validate(h,C,P,v);E&&C.$_root.untrace();const x=S.process(L.errors,h,v);return{value:L.value,error:x,mainstay:R}},m.tracer=function(h,C){return h.$_root._tracer?{tracer:h.$_root._tracer._register(h)}:C.debug?(c(h.$_root.trace,"Debug mode not supported"),{tracer:h.$_root.trace()._register(h),cleanup:!0}):{tracer:m.ignore}},a.validate=function(h,C,v,M,E={}){if(C.$_terms.whens&&(C=C._generate(h,v,M).schema),C._preferences&&(M=m.prefs(C,M)),C._cache&&M.cache){const x=C._cache.get(h);if(v.mainstay.tracer.debug(v,"validate","cached",!!x),x)return x}const A=(x,V,F)=>C.$_createError(x,h,V,F||v,M),T={original:h,prefs:M,schema:C,state:v,error:A,errorsArray:m.errorsArray,warn:(x,V,F)=>v.mainstay.warnings.push(A(x,V,F)),message:(x,V)=>C.$_createError("custom",h,V,v,M,{messages:x})};v.mainstay.tracer.entry(C,v);const R=C._definition;if(R.prepare&&void 0!==h&&M.convert){const x=R.prepare(h,T);if(x){if(v.mainstay.tracer.value(v,"prepare",h,x.value),x.errors)return m.finalize(x.value,[].concat(x.errors),T);h=x.value}}if(R.coerce&&void 0!==h&&M.convert&&(!R.coerce.from||R.coerce.from.includes(typeof h))){const x=R.coerce.method(h,T);if(x){if(v.mainstay.tracer.value(v,"coerced",h,x.value),x.errors)return m.finalize(x.value,[].concat(x.errors),T);h=x.value}}const N=C._flags.empty;N&&N.$_match(m.trim(h,C),v.nest(N),p.defaults)&&(v.mainstay.tracer.value(v,"empty",h,void 0),h=void 0);const P=E.presence||C._flags.presence||(C._flags._endedSwitch?null:M.presence);if(void 0===h){if("forbidden"===P)return m.finalize(h,null,T);if("required"===P)return m.finalize(h,[C.$_createError("any.required",h,null,v,M)],T);if("optional"===P){if(C._flags.default!==p.symbols.deepDefault)return m.finalize(h,null,T);v.mainstay.tracer.value(v,"default",h,{}),h={}}}else if("forbidden"===P)return m.finalize(h,[C.$_createError("any.unknown",h,null,v,M)],T);const L=[];if(C._valids){const x=C._valids.get(h,v,M,C._flags.insensitive);if(x)return M.convert&&(v.mainstay.tracer.value(v,"valids",h,x.value),h=x.value),v.mainstay.tracer.filter(C,v,"valid",x),m.finalize(h,null,T);if(C._flags.only){const V=C.$_createError("any.only",h,{valids:C._valids.values({display:!0})},v,M);if(M.abortEarly)return m.finalize(h,[V],T);L.push(V)}}if(C._invalids){const x=C._invalids.get(h,v,M,C._flags.insensitive);if(x){v.mainstay.tracer.filter(C,v,"invalid",x);const V=C.$_createError("any.invalid",h,{invalids:C._invalids.values({display:!0})},v,M);if(M.abortEarly)return m.finalize(h,[V],T);L.push(V)}}if(R.validate){const x=R.validate(h,T);if(x&&(v.mainstay.tracer.value(v,"base",h,x.value),h=x.value,x.errors)){if(!Array.isArray(x.errors))return L.push(x.errors),m.finalize(h,L,T);if(x.errors.length)return L.push(...x.errors),m.finalize(h,L,T)}}return C._rules.length?m.rules(h,L,T):m.finalize(h,L,T)},m.rules=function(h,C,v){const{schema:M,state:E,prefs:A}=v;for(const T of M._rules){const R=M._definition.rules[T.method];if(R.convert&&A.convert){E.mainstay.tracer.log(M,E,"rule",T.name,"full");continue}let N,P=T.args;if(T._resolve.length){P=Object.assign({},P);for(const x of T._resolve){const V=R.argsByName.get(x),F=P[x].resolve(h,E,A),ee=V.normalize?V.normalize(F):F,X=p.validateArg(ee,null,V);if(X){N=M.$_createError("any.ref",F,{arg:x,ref:P[x],reason:X},E,A);break}P[x]=ee}}N=N||R.validate(h,v,P,T);const L=m.rule(N,T);if(L.errors){if(E.mainstay.tracer.log(M,E,"rule",T.name,"error"),T.warn){E.mainstay.warnings.push(...L.errors);continue}if(A.abortEarly)return m.finalize(h,L.errors,v);C.push(...L.errors)}else E.mainstay.tracer.log(M,E,"rule",T.name,"pass"),E.mainstay.tracer.value(E,"rule",h,L.value,T.name),h=L.value}return m.finalize(h,C,v)},m.rule=function(h,C){return h instanceof S.Report?(m.error(h,C),{errors:[h],value:null}):Array.isArray(h)&&h[p.symbols.errors]?(h.forEach(v=>m.error(v,C)),{errors:h,value:null}):{errors:null,value:h}},m.error=function(h,C){return C.message&&h._setTemplate(C.message),h},m.finalize=function(h,C,v){C=C||[];const{schema:M,state:E,prefs:A}=v;if(C.length){const R=m.default("failover",void 0,C,v);void 0!==R&&(E.mainstay.tracer.value(E,"failover",h,R),h=R,C=[])}if(C.length&&M._flags.error)if("function"==typeof M._flags.error){C=M._flags.error(C),Array.isArray(C)||(C=[C]);for(const R of C)c(R instanceof Error||R instanceof S.Report,"error() must return an Error object")}else C=[M._flags.error];if(void 0===h){const R=m.default("default",h,C,v);E.mainstay.tracer.value(E,"default",h,R),h=R}if(M._flags.cast&&void 0!==h){const R=M._definition.cast[M._flags.cast];if(R.from(h)){const N=R.to(h,v);E.mainstay.tracer.value(E,"cast",h,N,M._flags.cast),h=N}}if(M.$_terms.externals&&A.externals&&!1!==A._externals)for(const{method:R}of M.$_terms.externals)E.mainstay.externals.push({method:R,schema:M,state:E,label:S.label(M._flags,E,A)});const T={value:h,errors:C.length?C:null};return M._flags.result&&(T.value="strip"===M._flags.result?void 0:v.original,E.mainstay.tracer.value(E,M._flags.result,h,T.value),E.shadow(h,M._flags.result)),M._cache&&!1!==A.cache&&!M._refs.length&&M._cache.set(v.original,T),void 0===h||T.errors||void 0===M._flags.artifact||(E.mainstay.artifacts=E.mainstay.artifacts||new Map,E.mainstay.artifacts.has(M._flags.artifact)||E.mainstay.artifacts.set(M._flags.artifact,[]),E.mainstay.artifacts.get(M._flags.artifact).push(E.path)),T},m.prefs=function(h,C){const v=C===p.defaults;return v&&h._preferences[p.symbols.prefs]?h._preferences[p.symbols.prefs]:(C=p.preferences(C,h._preferences),v&&(h._preferences[p.symbols.prefs]=C),C)},m.default=function(h,C,v,M){const{schema:E,state:A,prefs:T}=M,R=E._flags[h];if(T.noDefaults||void 0===R)return C;if(A.mainstay.tracer.log(E,A,"rule",h,"full"),!R)return R;if("function"==typeof R){const N=R.length?[l(A.ancestors[0]),M]:[];try{return R(...N)}catch(P){return void v.push(E.$_createError(`any.${h}`,null,{error:P},A,T))}}return"object"!=typeof R?R:R[p.symbols.literal]?R.literal:p.isResolvable(R)?R.resolve(C,A,T):l(R)},m.trim=function(h,C){if("string"!=typeof h)return h;const v=C.$_getRule("trim");return v&&v.args.enabled?h.trim():h},m.ignore={active:!1,debug:g,entry:g,filter:g,log:g,resolve:g,value:g},m.errorsArray=function(){const h=[];return h[p.symbols.errors]=!0,h}},2036:(u,a,e)=>{"use strict";const c=e(375),l=e(9474),g=e(8160),b={};u.exports=b.Values=class{constructor(p,S){this._values=new Set(p),this._refs=new Set(S),this._lowercase=b.lowercases(p),this._override=!1}get length(){return this._values.size+this._refs.size}add(p,S){g.isResolvable(p)?this._refs.has(p)||(this._refs.add(p),S&&S.register(p)):this.has(p,null,null,!1)||(this._values.add(p),"string"==typeof p&&this._lowercase.set(p.toLowerCase(),p))}static merge(p,S,y){if(p=p||new b.Values,S){if(S._override)return S.clone();for(const m of[...S._values,...S._refs])p.add(m)}if(y)for(const m of[...y._values,...y._refs])p.remove(m);return p.length?p:null}remove(p){g.isResolvable(p)?this._refs.delete(p):(this._values.delete(p),"string"==typeof p&&this._lowercase.delete(p.toLowerCase()))}has(p,S,y,m){return!!this.get(p,S,y,m)}get(p,S,y,m){if(!this.length)return!1;if(this._values.has(p))return{value:p};if("string"==typeof p&&p&&m){const h=this._lowercase.get(p.toLowerCase());if(h)return{value:h}}if(!this._refs.size&&"object"!=typeof p)return!1;if("object"==typeof p)for(const h of this._values)if(l(h,p))return{value:h};if(S)for(const h of this._refs){const C=h.resolve(p,S,y,null,{in:!0});if(void 0===C)continue;const v=h.in&&"object"==typeof C?Array.isArray(C)?C:Object.keys(C):[C];for(const M of v)if(typeof M==typeof p)if(m&&p&&"string"==typeof p){if(M.toLowerCase()===p.toLowerCase())return{value:M,ref:h}}else if(l(M,p))return{value:M,ref:h}}return!1}override(){this._override=!0}values(p){if(p&&p.display){const S=[];for(const y of[...this._values,...this._refs])void 0!==y&&S.push(y);return S}return Array.from([...this._values,...this._refs])}clone(){const p=new b.Values(this._values,this._refs);return p._override=this._override,p}concat(p){c(!p._override,"Cannot concat override set of values");const S=new b.Values([...this._values,...p._values],[...this._refs,...p._refs]);return S._override=this._override,S}describe(){const p=[];this._override&&p.push({override:!0});for(const S of this._values.values())p.push(S&&"object"==typeof S?{value:S}:S);for(const S of this._refs.values())p.push(S.describe());return p}},b.Values.prototype[g.symbols.values]=!0,b.Values.prototype.slice=b.Values.prototype.clone,b.lowercases=function(p){const S=new Map;if(p)for(const y of p)"string"==typeof y&&S.set(y.toLowerCase(),y);return S}},978:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(1687),b=e(9621),p={};u.exports=function(S,y,m={}){if(c(S&&"object"==typeof S,"Invalid defaults value: must be an object"),c(!y||!0===y||"object"==typeof y,"Invalid source value: must be true, falsy or an object"),c("object"==typeof m,"Invalid options: must be an object"),!y)return null;if(m.shallow)return p.applyToDefaultsWithShallow(S,y,m);const h=l(S);return!0===y?h:g(h,y,{nullOverride:void 0!==m.nullOverride&&m.nullOverride,mergeArrays:!1})},p.applyToDefaultsWithShallow=function(S,y,m){const h=m.shallow;c(Array.isArray(h),"Invalid keys");const C=new Map,v=!0===y?null:new Set;for(let A of h){A=Array.isArray(A)?A:A.split(".");const T=b(S,A);T&&"object"==typeof T?C.set(T,v&&b(y,A)||T):v&&v.add(A)}const M=l(S,{},C);if(!v)return M;for(const A of v)p.reachCopy(M,y,A);return g(M,y,{nullOverride:void 0!==m.nullOverride&&m.nullOverride,mergeArrays:!1})},p.reachCopy=function(S,y,m){for(const v of m){if(!(v in y))return;const M=y[v];if("object"!=typeof M||null===M)return;y=M}const h=y;let C=S;for(let v=0;v{"use strict";const c=e(7916);u.exports=function(l,...g){if(!l)throw 1===g.length&&g[0]instanceof Error?g[0]:new c(g)}},8571:(u,a,e)=>{"use strict";const c=e(9621),l=e(4277),g=e(7043),b={needsProtoHack:new Set([l.set,l.map,l.weakSet,l.weakMap])};u.exports=b.clone=function(p,S={},y=null){if("object"!=typeof p||null===p)return p;let m=b.clone,h=y;if(S.shallow){if(!0!==S.shallow)return b.cloneWithShallow(p,S);m=E=>E}else if(h){const E=h.get(p);if(E)return E}else h=new Map;const C=l.getInternalProto(p);if(C===l.buffer)return!1;if(C===l.date)return new Date(p.getTime());if(C===l.regex)return new RegExp(p);const v=b.base(p,C,S);if(v===p)return p;if(h&&h.set(p,v),C===l.set)for(const E of p)v.add(m(E,S,h));else if(C===l.map)for(const[E,A]of p)v.set(E,m(A,S,h));const M=g.keys(p,S);for(const E of M){if("__proto__"===E)continue;if(C===l.array&&"length"===E){v.length=p.length;continue}const A=Object.getOwnPropertyDescriptor(p,E);A?A.get||A.set?Object.defineProperty(v,E,A):A.enumerable?v[E]=m(p[E],S,h):Object.defineProperty(v,E,{enumerable:!1,writable:!0,configurable:!0,value:m(p[E],S,h)}):Object.defineProperty(v,E,{enumerable:!0,writable:!0,configurable:!0,value:m(p[E],S,h)})}return v},b.cloneWithShallow=function(p,S){const y=S.shallow;(S=Object.assign({},S)).shallow=!1;const m=new Map;for(const h of y){const C=c(p,h);"object"!=typeof C&&"function"!=typeof C||m.set(C,C)}return b.clone(p,S,m)},b.base=function(p,S,y){if(!1===y.prototype)return b.needsProtoHack.has(S)?new S.constructor:S===l.array?[]:{};const m=Object.getPrototypeOf(p);if(m&&m.isImmutable)return p;if(S===l.array){const h=[];return m!==S&&Object.setPrototypeOf(h,m),h}if(b.needsProtoHack.has(S)){const h=new m.constructor;return m!==S&&Object.setPrototypeOf(h,m),h}return Object.create(m)}},9474:(u,a,e)=>{"use strict";const c=e(4277),l={mismatched:null};u.exports=function(g,b,p){return p=Object.assign({prototype:!0},p),!!l.isDeepEqual(g,b,p,[])},l.isDeepEqual=function(g,b,p,S){if(g===b)return 0!==g||1/g==1/b;const y=typeof g;if(y!==typeof b||null===g||null===b)return!1;if("function"===y){if(!p.deepFunction||g.toString()!==b.toString())return!1}else if("object"!==y)return g!=g&&b!=b;const m=l.getSharedType(g,b,!!p.prototype);switch(m){case c.buffer:return!1;case c.promise:return g===b;case c.regex:return g.toString()===b.toString();case l.mismatched:return!1}for(let h=S.length-1;h>=0;--h)if(S[h].isSame(g,b))return!0;S.push(new l.SeenEntry(g,b));try{return!!l.isDeepEqualObj(m,g,b,p,S)}finally{S.pop()}},l.getSharedType=function(g,b,p){if(p)return Object.getPrototypeOf(g)!==Object.getPrototypeOf(b)?l.mismatched:c.getInternalProto(g);const S=c.getInternalProto(g);return S!==c.getInternalProto(b)?l.mismatched:S},l.valueOf=function(g){const b=g.valueOf;if(void 0===b)return g;try{return b.call(g)}catch(p){return p}},l.hasOwnEnumerableProperty=function(g,b){return Object.prototype.propertyIsEnumerable.call(g,b)},l.isSetSimpleEqual=function(g,b){for(const p of Set.prototype.values.call(g))if(!Set.prototype.has.call(b,p))return!1;return!0},l.isDeepEqualObj=function(g,b,p,S,y){const{isDeepEqual:m,valueOf:h,hasOwnEnumerableProperty:C}=l,{keys:v,getOwnPropertySymbols:M}=Object;if(g===c.array){if(!S.part){if(b.length!==p.length)return!1;for(let N=0;N{"use strict";const c=e(8761);u.exports=class extends Error{constructor(l){super(l.filter(g=>""!==g).map(g=>"string"==typeof g?g:g instanceof Error?g.message:c(g)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,a.assert)}}},5277:u=>{"use strict";const a={};u.exports=function(e){if(!e)return"";let c="";for(let l=0;l=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},a.isSafe=function(e){return a.safeCharCodes.has(e)},a.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),a.safeCharCodes=function(){const e=new Set;for(let c=32;c<123;++c)(c>=97||c>=65&&c<=90||c>=48&&c<=57||32===c||46===c||44===c||45===c||58===c||95===c)&&e.add(c);return e}()},6064:u=>{"use strict";u.exports=function(a){return a.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:u=>{"use strict";u.exports=function(){}},1687:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(7043),b={};u.exports=b.merge=function(p,S,y){if(c(p&&"object"==typeof p,"Invalid target value: must be an object"),c(null==S||"object"==typeof S,"Invalid source value: must be null, undefined, or an object"),!S)return p;if(y=Object.assign({nullOverride:!0,mergeArrays:!0},y),Array.isArray(S)){c(Array.isArray(p),"Cannot merge array onto an object"),y.mergeArrays||(p.length=0);for(let h=0;h{"use strict";const c=e(375),l={};u.exports=function(g,b,p){if(!1===b||null==b)return g;"string"==typeof(p=p||{})&&(p={separator:p});const S=Array.isArray(b);c(!S||!p.separator,"Separator option is not valid for array-based chain");const y=S?b:b.split(p.separator||".");let m=g;for(let h=0;h{"use strict";u.exports=function(...a){try{return JSON.stringify(...a)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(u,a)=>{"use strict";const e={};a=u.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},e.typeMap=new Map([["[object Error]",a.error],["[object Map]",a.map],["[object Promise]",a.promise],["[object Set]",a.set],["[object WeakMap]",a.weakMap],["[object WeakSet]",a.weakSet]]),a.getInternalProto=function(c){if(Array.isArray(c))return a.array;if(c instanceof Date)return a.date;if(c instanceof RegExp)return a.regex;if(c instanceof Error)return a.error;const l=Object.prototype.toString.call(c);return e.typeMap.get(l)||a.generic}},7043:(u,a)=>{"use strict";a.keys=function(e,c={}){return!1!==c.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(u,a,e)=>{"use strict";const c=e(375),l={};a.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(g,b){const p=[].concat((b=b||{}).before||[]),S=[].concat(b.after||[]),y=b.group||"?",m=b.sort||0;c(!p.includes(y),`Item cannot come before itself: ${y}`),c(!p.includes("?"),"Item cannot come before unassociated items"),c(!S.includes(y),`Item cannot come after itself: ${y}`),c(!S.includes("?"),"Item cannot come after unassociated items"),Array.isArray(g)||(g=[g]);for(const h of g)this._items.push({seq:this._items.length,sort:m,before:p,after:S,group:y,node:h});if(!b.manual){const h=this._sort();c(h,"item","?"!==y?`added into group ${y}`:"","created a dependencies error")}return this.nodes}merge(g){Array.isArray(g)||(g=[g]);for(const p of g)if(p)for(const S of p._items)this._items.push(Object.assign({},S));this._items.sort(l.mergeSort);for(let p=0;pg.sort===b.sort?0:g.sort{"use strict";const c=e(443),l=e(2178),g={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:c.URL||URL};a.analyze=function(b,p={}){if(!b)return l.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof b)throw new Error("Invalid input: domain must be a string");if(b.length>256)return l.code("DOMAIN_TOO_LONG");if(g.nonAsciiRx.test(b)){if(!1===p.allowUnicode)return l.code("DOMAIN_INVALID_UNICODE_CHARS");b=b.normalize("NFC")}if(g.domainControlRx.test(b))return l.code("DOMAIN_INVALID_CHARS");b=g.punycode(b),p.allowFullyQualified&&"."===b[b.length-1]&&(b=b.slice(0,-1));const S=p.minDomainSegments||g.minDomainSegments,y=b.split(".");if(y.lengthp.maxDomainSegments)return l.code("DOMAIN_SEGMENTS_COUNT_MAX");const m=p.tlds;if(m){const h=y[y.length-1].toLowerCase();if(m.deny&&m.deny.has(h)||m.allow&&!m.allow.has(h))return l.code("DOMAIN_FORBIDDEN_TLDS")}for(let h=0;h63)return l.code("DOMAIN_LONG_SEGMENT");if(h{"use strict";const c=e(9848),l=e(5380),g=e(2178),b={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(c.TextEncoder||TextEncoder)};a.analyze=function(p,S){return b.email(p,S)},a.isValid=function(p,S){return!b.email(p,S)},b.email=function(p,S={}){if("string"!=typeof p)throw new Error("Invalid input: email must be a string");if(!p)return g.code("EMPTY_STRING");const y=!b.nonAsciiRx.test(p);if(!y){if(!1===S.allowUnicode)return g.code("FORBIDDEN_UNICODE");p=p.normalize("NFC")}const m=p.split("@");if(2!==m.length)return g.code(m.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[h,C]=m;if(!h)return g.code("EMPTY_LOCAL");if(!S.ignoreLength){if(p.length>254)return g.code("ADDRESS_TOO_LONG");if(b.encoder.encode(h).length>64)return g.code("LOCAL_TOO_LONG")}return b.local(h,y)||l.analyze(C,S)},b.local=function(p,S){const y=p.split(".");for(const m of y){if(!m.length)return g.code("EMPTY_LOCAL_SEGMENT");if(S){if(!b.atextRx.test(m))return g.code("INVALID_LOCAL_CHARS")}else for(const h of m){if(b.atextRx.test(h))continue;const C=b.binary(h);if(!b.atomRx.test(C))return g.code("INVALID_LOCAL_CHARS")}}},b.binary=function(p){return Array.from(b.encoder.encode(p)).map(S=>String.fromCharCode(S)).join("")},b.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,b.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},2178:(u,a)=>{"use strict";a.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},a.code=function(e){return{code:e,error:a.codes[e]}}},9959:(u,a,e)=>{"use strict";const c=e(375),l=e(5752);a.regex=function(g={}){c(void 0===g.cidr||"string"==typeof g.cidr,"options.cidr must be a string");const b=g.cidr?g.cidr.toLowerCase():"optional";c(["required","optional","forbidden"].includes(b),"options.cidr must be one of required, optional, forbidden"),c(void 0===g.version||"string"==typeof g.version||Array.isArray(g.version),"options.version must be a string or an array of string");let p=g.version||["ipv4","ipv6","ipvfuture"];Array.isArray(p)||(p=[p]),c(p.length>=1,"options.version must have at least 1 version specified");for(let m=0;m{if("forbidden"===b)return l.ip[m];const h=`\\/${"ipv4"===m?l.ip.v4Cidr:l.ip.v6Cidr}`;return"required"===b?`${l.ip[m]}${h}`:`${l.ip[m]}(?:${h})?`}).join("|")})`,y=new RegExp(`^${S}$`);return{cidr:b,versions:p,regex:y,raw:S}}},5752:(u,a,e)=>{"use strict";const c=e(375),l=e(6064),g={generate:function(){const b={},p="\\dA-Fa-f",S="["+p+"]",y="\\w-\\.~",m="!\\$&'\\(\\)\\*\\+,;=",h="%"+p,C=y+h+m+":@",v="["+C+"]",M="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";b.ipv4address="(?:"+M+"\\.){3}"+M;const E=S+"{1,4}",A="(?:"+E+":"+E+"|"+b.ipv4address+")",T="(?:"+E+":){6}"+A,R="::(?:"+E+":){5}"+A,N="(?:"+E+")?::(?:"+E+":){4}"+A,P="(?:(?:"+E+":){0,1}"+E+")?::(?:"+E+":){3}"+A,L="(?:(?:"+E+":){0,2}"+E+")?::(?:"+E+":){2}"+A,x="(?:(?:"+E+":){0,3}"+E+")?::"+E+":"+A,V="(?:(?:"+E+":){0,4}"+E+")?::"+A,F="(?:(?:"+E+":){0,5}"+E+")?::"+E,ee="(?:(?:"+E+":){0,6}"+E+")?::";b.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",b.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",b.ipv6address="(?:"+T+"|"+R+"|"+N+"|"+P+"|"+L+"|"+x+"|"+V+"|"+F+"|"+ee+")",b.ipvFuture="v"+S+"+\\.["+y+m+":]+",b.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",b.schemeRegex=new RegExp(b.scheme);const X="["+y+h+m+":]*",Q="(?:\\[(?:"+b.ipv6address+"|"+b.ipvFuture+")\\]|"+b.ipv4address+"|["+y+h+m+"]{1,255})",ne="(?:"+X+"@)?"+Q+"(?::\\d*)?",Y="(?:"+X+"@)?("+Q+")(?::\\d*)?",H=v+"*",ae=v+"+",J="(?:\\/"+H+")*",K="\\/(?:"+ae+J+")?",W=ae+J,re="["+y+h+m+"@]+"+J;return b.hierPart="(?:(?:\\/\\/"+ne+J+")|"+K+"|"+W+"|(?:\\/\\/\\/"+H+J+"))",b.hierPartCapture="(?:(?:\\/\\/"+Y+J+")|"+K+"|"+W+")",b.relativeRef="(?:(?:\\/\\/"+ne+J+")|"+K+"|"+re+"|)",b.relativeRefCapture="(?:(?:\\/\\/"+Y+J+")|"+K+"|"+re+"|)",b.query="["+C+"\\/\\?]*(?=#|$)",b.queryWithSquareBrackets="["+C+"\\[\\]\\/\\?]*(?=#|$)",b.fragment="["+C+"\\/\\?]*",b}};g.rfc3986=g.generate(),a.ip={v4Cidr:g.rfc3986.ipv4Cidr,v6Cidr:g.rfc3986.ipv6Cidr,ipv4:g.rfc3986.ipv4address,ipv6:g.rfc3986.ipv6address,ipvfuture:g.rfc3986.ipvFuture},g.createRegex=function(b){const p=g.rfc3986,S="(?:\\?"+(b.allowQuerySquareBrackets?p.queryWithSquareBrackets:p.query)+")?(?:#"+p.fragment+")?",y=b.domain?p.relativeRefCapture:p.relativeRef;if(b.relativeOnly)return g.wrap(y+S);let m="";if(b.scheme){c(b.scheme instanceof RegExp||"string"==typeof b.scheme||Array.isArray(b.scheme),"scheme must be a RegExp, String, or Array");const v=[].concat(b.scheme);c(v.length>=1,"scheme must have at least 1 scheme specified");const M=[];for(let E=0;E{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};a.Parser=class{constructor(c,l={}){if(!l[e.settings]&&l.constants)for(const g in l.constants){const b=l.constants[g];if(null!==b&&!["boolean","number","string"].includes(typeof b))throw new Error(`Formula constant ${g} contains invalid ${typeof b} value type`)}this.settings=l[e.settings]?l:Object.assign({[e.settings]:!0,constants:{},functions:{}},l),this.single=null,this._parts=null,this._parse(c)}_parse(c){let l=[],g="",b=0,p=!1;const S=m=>{if(b)throw new Error("Formula missing closing parenthesis");const h=l.length?l[l.length-1]:null;if(p||g||m){if(h&&"reference"===h.type&&")"===m)return h.type="function",h.value=this._subFormula(g,h.value),void(g="");if(")"===m){const C=new a.Parser(g,this.settings);l.push({type:"segment",value:C})}else if(p){if("]"===p)return l.push({type:"reference",value:g}),void(g="");l.push({type:"literal",value:g})}else if(e.operatorCharacters.includes(g))h&&"operator"===h.type&&e.operators.includes(h.value+g)?h.value+=g:l.push({type:"operator",value:g});else if(g.match(e.numberRx))l.push({type:"constant",value:parseFloat(g)});else if(void 0!==this.settings.constants[g])l.push({type:"constant",value:this.settings.constants[g]});else{if(!g.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${g}`);l.push({type:"reference",value:g})}g=""}};for(const m of c)p?m===p?(S(),p=!1):g+=m:b?"("===m?(g+=m,++b):")"===m?(--b,b?g+=m:S(m)):g+=m:m in e.literals?p=e.literals[m]:"("===m?(S(),++b):e.operatorCharacters.includes(m)?(S(),g=m,S()):" "!==m?g+=m:S();S(),l=l.map((m,h)=>"operator"!==m.type||"-"!==m.value||h&&"operator"!==l[h-1].type?m:{type:"operator",value:"n"});let y=!1;for(const m of l){if("operator"===m.type){if(e.operatorsPrefix.includes(m.value))continue;if(!y)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(m.value))throw new Error(`Formula contains an unknown operator ${m.value}`)}else if(y)throw new Error("Formula missing expected operator");y=!y}if(!y)throw new Error("Formula contains invalid trailing operator");1===l.length&&["reference","literal","constant"].includes(l[0].type)&&(this.single={type:"reference"===l[0].type?"reference":"value",value:l[0].value}),this._parts=l.map(m=>{if("operator"===m.type)return e.operatorsPrefix.includes(m.value)?m:m.value;if("reference"!==m.type)return m.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(m.value))throw new Error(`Formula contains invalid reference ${m.value}`);return this.settings.reference?this.settings.reference(m.value):e.reference(m.value)})}_subFormula(c,l){const g=this.settings.functions[l];if("function"!=typeof g)throw new Error(`Formula contains unknown function ${l}`);let b=[];if(c){let p="",S=0,y=!1;const m=()=>{if(!p)throw new Error(`Formula contains function ${l} with invalid arguments ${c}`);b.push(p),p=""};for(let h=0;hnew a.Parser(p,this.settings)),function(p){const S=[];for(const y of b)S.push(y.evaluate(p));return g.call(p,...S)}}evaluate(c){const l=this._parts.slice();for(let g=l.length-2;g>=0;--g){const b=l[g];if(b&&"operator"===b.type){const p=l[g+1];l.splice(g+1,1);const S=e.evaluate(p,c);l[g]=e.single(b.value,S)}}return e.operatorsOrder.forEach(g=>{for(let b=1;b":return l>g;case">=":return l>=g;case"==":return l===g;case"!=":return l!==g;case"&&":return l&&g;case"||":return l||g}return null},e.exists=function(c){return null!=c}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:u=>{"use strict";u.exports=JSON.parse('{"version":"17.12.2"}')}},d={},function u(a){var e=d[a];if(void 0!==e)return e.exports;var c=d[a]={exports:{}};return i[a](c,c.exports,u),c.exports}(5107))},94091:function(ve,f,o){var n,i,d,u,a;u=this,a=function(u){var a=!1,e=!1,c=!1,l=!1,g="escape years months weeks days hours minutes seconds milliseconds general".split(" "),b=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function p(be,ie){return!(ie.length>be.length)&&-1!==be.indexOf(ie)}function S(be){for(var ie="";be;)ie+="0",be-=1;return ie}function m(be,ie){var ze=be+"+"+L(ne(ie).sort(),function(qe){return qe+":"+ie[qe]}).join(",");return m.cache[ze]||(m.cache[ze]=Intl.NumberFormat(be,ie)),m.cache[ze]}function h(be,ie,De){var ze=ie.useToLocaleString,qe=ie.useGrouping,nt=qe&&ie.grouping.slice(),ft=ie.maximumSignificantDigits,rt=ie.minimumIntegerDigits||1,mt=ie.fractionDigits||0,Wt=ie.groupingSeparator,bt=ie.decimalSeparator;if(ze&&De){var an,Bt={minimumIntegerDigits:rt,useGrouping:qe};return mt&&(Bt.maximumFractionDigits=mt,Bt.minimumFractionDigits=mt),ft&&be>0&&(Bt.maximumSignificantDigits=ft),c?(l||((an=Q({},ie)).useGrouping=!1,an.decimalSeparator=".",be=parseFloat(h(be,an),10)),m(De,Bt).format(be)):(e||((an=Q({},ie)).useGrouping=!1,an.decimalSeparator=".",be=parseFloat(h(be,an),10)),be.toLocaleString(De,Bt))}var wn,An,vn,en=(ft?be.toPrecision(ft+1):be.toFixed(mt+1)).split("e");vn=en[1]||"";var dt=(wn=(en=en[0].split("."))[0]||"").length,Ue=(An=en[1]||"").length,we=dt+Ue,Pe=wn+An;(ft&&we===ft+1||!ft&&Ue===mt+1)&&(Pe=function y(be){for(var ie=be.split("").reverse(),De=0,ze=!0;ze&&De0?An.length<=Ge?(wn+=An+=S(Ge-An.length),An=""):(wn+=An.slice(0,Ge),An=An.slice(Ge)):Ge<0&&(An=S(Math.abs(Ge)-wn.length)+wn+An,wn="0"),ft||((An=An.slice(0,mt)).lengthie.label.length?-1:be.label.length0,He=ht?ie.precision:0,_t=He,lt=ie.minValue,Et=!1,it=ie.maxValue,Yt=!1,gt=ie.useToLocaleString,Tt=ie.groupingSeparator,Ht=ie.decimalSeparator,Zt=ie.grouping;gt=gt&&(a||c);var wt=ie.trim;A(wt)&&(wt=wt.join(" ")),null===wt&&(wn||it||ht)&&(wt="all"),(null===wt||!0===wt||"left"===wt||"right"===wt)&&(wt="large"),!1===wt&&(wt="");var $t=function(qt){return qt.test(wt)},tn=/both/,Tn=/^all|[^sm]all/,nr=wn>0||Y([/large/,tn,Tn],$t),kr=Y([/small/,tn,Tn],$t),Br=Y([/mid/,Tn],$t),sr=Y([/final/,Tn],$t),Mr=L(Bt.match(bt),function(qt,jn){var Qn=Wt(qt);return"*"===qt.slice(0,1)&&(qt=qt.slice(1),"escape"!==Qn&&"general"!==Qn&&An.push(Qn)),{index:jn,length:qt.length,text:"",token:"escape"===Qn?qt.replace(mt.escape,"$1"):qt,type:"escape"===Qn||"general"===Qn?null:Qn}}),yr={index:0,length:0,token:"",text:"",type:null},qn=[];dt&&Mr.reverse(),P(Mr,function(qt){if(qt.type)return(yr.type||yr.text)&&qn.push(yr),void(yr=qt);dt?yr.text=qt.token+yr.text:yr.text+=qt.token}),(yr.type||yr.text)&&qn.push(yr),dt&&qn.reverse();var Rn=ee(g,F(V(x(qn,"type"))));if(!Rn.length)return x(qn,"text").join("");Rn=L(Rn,function(qt,jn){var ui,Qn=jn+1===Rn.length,or=!jn;ui="years"===qt||"months"===qt?ft.as(qt):nt.as(qt);var Ir=Math.floor(ui),at=ui-Ir,Ot=N(qn,function(Pt){return qt===Pt.type});return or&&it&&ui>it&&(Yt=!0),Qn&<&&Math.abs(ie.duration.as(qt))1&&(Pe=!0),nt.subtract(Ir,qt),ft.subtract(Ir,qt),{rawValue:ui,wholeValue:Ir,decimalValue:Qn?at:0,isSmallest:Qn,isLargest:or,type:qt,tokenLength:Ot.length}});var oi=je?Math.floor:Math.round,Sr=function(qt,jn){var Qn=Math.pow(10,jn);return oi(qt*Qn)/Qn},pr=!1,Jn=!1,er=function(qt,jn){var Qn={useGrouping:Ge,groupingSeparator:Tt,decimalSeparator:Ht,grouping:Zt,useToLocaleString:gt};return ht&&(He<=0?(qt.rawValue=0,qt.wholeValue=0,qt.decimalValue=0):(Qn.maximumSignificantDigits=He,qt.significantDigits=He)),Yt&&!Jn&&(qt.isLargest?(qt.wholeValue=it,qt.decimalValue=0):(qt.wholeValue=0,qt.decimalValue=0)),Et&&!Jn&&(qt.isSmallest?(qt.wholeValue=lt,qt.decimalValue=0):(qt.wholeValue=0,qt.decimalValue=0)),qt.isSmallest||qt.significantDigits&&qt.significantDigits-qt.wholeValue.toString().length<=0?we<0?qt.value=Sr(qt.wholeValue,we):0===we?qt.value=oi(qt.wholeValue+qt.decimalValue):ht?(qt.value=je?Sr(qt.rawValue,He-qt.wholeValue.toString().length):qt.rawValue,qt.wholeValue&&(He-=qt.wholeValue.toString().length)):(Qn.fractionDigits=we,qt.value=je?qt.wholeValue+Sr(qt.decimalValue,we):qt.wholeValue+qt.decimalValue):ht&&qt.wholeValue?(qt.value=Math.round(Sr(qt.wholeValue,qt.significantDigits-qt.wholeValue.toString().length)),He-=qt.wholeValue.toString().length):qt.value=qt.wholeValue,qt.tokenLength>1&&(Pe||pr)&&(Qn.minimumIntegerDigits=qt.tokenLength,Jn&&Qn.maximumSignificantDigits0||""===wt||N(An,qt.type)||N(an,qt.type))&&(pr=!0),qt.formattedValue=h(qt.value,Qn,en),Qn.useGrouping=!1,Qn.decimalSeparator=".",qt.formattedValueEn=h(qt.value,Qn,"en"),2===qt.tokenLength&&"milliseconds"===qt.type&&(qt.formattedValueMS=h(qt.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),qt};if((Rn=V(Rn=L(Rn,er))).length>1){var Or=function(qt){return N(Rn,function(jn){return jn.type===qt})};P(b,function(qt){var jn=Or(qt.type);jn&&P(qt.targets,function(Qn){var or=Or(Qn.type);or&&parseInt(jn.formattedValueEn,10)===Qn.value&&(jn.rawValue=0,jn.wholeValue=0,jn.decimalValue=0,or.rawValue+=1,or.wholeValue+=1,or.decimalValue=0,or.formattedValueEn=or.wholeValue.toString(),Jn=!0)})})}return Jn&&(pr=!1,He=_t,Rn=V(Rn=L(Rn,er))),!an||Yt&&!ie.trim?(nr&&(Rn=X(Rn,function(qt){return!qt.isSmallest&&!qt.wholeValue&&!N(An,qt.type)})),wn&&Rn.length&&(Rn=Rn.slice(0,wn)),kr&&Rn.length>1&&(Rn=function ce(be,ie){return X(be.slice().reverse(),ie).reverse()}(Rn,function(qt){return!qt.wholeValue&&!N(An,qt.type)&&!qt.isLargest})),Br&&(Rn=V(Rn=L(Rn,function(qt,jn){return jn>0&&jn ",Yt=!1,Et=!1),qe&&(jn.value>0||""===wt||N(An,jn.type)||N(an,jn.type))&&(Qn+="-",qe=!1),Qn+="milliseconds"===qt.type&&jn.formattedValueMS?jn.formattedValueMS:jn.formattedValue,dt||(Qn+=qt.text),Qn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function G(){var be=this.duration,ie=function(nt){return be._data[nt]},De=N(this.types,ie),ze=function R(be,ie){for(var De=be.length;De-=1;)if(ie(be[De]))return be[De]}(this.types,ie);switch(De){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(De===ze)return"d __";case"weeks":return De===ze?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(De===ze)return"M __";case"years":return De===ze?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function ue(be){if(!be)throw"Moment Duration Format init cannot find moment instance.";be.duration.format=W,be.duration.fn.format=re,be.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:G,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},be.updateLocale("en",E)}var ye=function(be,ie,De){return be.toLocaleString(ie,De)};a=function ae(){try{(0).toLocaleString("i")}catch(ie){return"RangeError"===ie.name}return!1}()&&K(ye),e=a&&J(ye);var Ie=function(be,ie,De){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(ie,De).format(be)};return c=K(Ie),l=c&&J(Ie),ue(u),ue},i=[o(35908)],void 0!==(d="function"==typeof(n=a)?n.apply(f,i):n)&&(ve.exports=d),u&&(u.momentDurationFormatSetup=u.moment?a(u.moment):a)},25140:function(ve,f,o){!function(n){"use strict";n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(d){return/^nm$/i.test(d)},meridiem:function(d,u,a){return d<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(1===d||8===d||d>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},17096:function(ve,f,o){!function(n){"use strict";var i=function(c){return 0===c?0:1===c?1:2===c?2:c%100>=3&&c%100<=10?3:c%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(c){return function(l,g,b,p){var S=i(l),y=d[c][i(l)];return 2===S&&(y=y[g?0:1]),y.replace(/%d/i,l)}},a=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,l,g){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(o(35908))},32200:function(ve,f,o){!function(n){"use strict";n.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(o(35908))},97252:function(ve,f,o){!function(n){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(l){return 0===l?0:1===l?1:2===l?2:l%100>=3&&l%100<=10?3:l%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(l){return function(g,b,p,S){var y=d(g),m=u[l][d(g)];return 2===y&&(m=m[b?0:1]),m.replace(/%d/i,g)}},e=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-ly",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,g,b){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(g){return i[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},39568:function(ve,f,o){!function(n){"use strict";n.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},13068:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(a){return"\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(a){return a.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return d[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},89052:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(a){return"\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(a){return a.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},93956:function(ve,f,o){!function(n){"use strict";n.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},17276:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(g){return function(b,p,S,y){var m=u(b),h=a[g][u(b)];return 2===m&&(h=h[p?0:1]),h.replace(/%d/i,b)}},c=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,b,p){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(b){return d[b]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(b){return i[b]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},88240:function(ve,f,o){!function(n){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(u){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(u)},meridiem:function(u,a,e){return u<4?"gec\u0259":u<12?"s\u0259h\u0259r":u<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(u){if(0===u)return u+"-\u0131nc\u0131";var a=u%10;return u+(i[a]||i[u%100-a]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},77796:function(ve,f,o){!function(n){"use strict";function d(a,e,c){return"m"===c?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===c?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":a+" "+function i(a,e){var c=a.split("_");return e%10==1&&e%100!=11?c[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?c[1]:c[2]}({ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[c],+a)}n.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(a){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(a)},meridiem:function(a,e,c){return a<4?"\u043d\u043e\u0447\u044b":a<12?"\u0440\u0430\u043d\u0456\u0446\u044b":a<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(a,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return a%10!=2&&a%10!=3||a%100==12||a%100==13?a+"-\u044b":a+"-\u0456";case"D":return a+"-\u0433\u0430";default:return a}},week:{dow:1,doy:7}})}(o(35908))},89880:function(ve,f,o){!function(n){"use strict";n.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,a=d%100;return 0===d?d+"-\u0435\u0432":0===a?d+"-\u0435\u043d":a>10&&a<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},84328:function(ve,f,o){!function(n){"use strict";n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(35908))},45104:function(ve,f,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(a){return a.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u09b0\u09be\u09a4"===e?a<4?a:a+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?a:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?a>=3?a:a+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u09b0\u09be\u09a4":a<6?"\u09ad\u09cb\u09b0":a<12?"\u09b8\u0995\u09be\u09b2":a<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":a<18?"\u09ac\u09bf\u0995\u09be\u09b2":a<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},60536:function(ve,f,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(a){return a.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u09b0\u09be\u09a4"===e&&a>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&a<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?a+12:a},meridiem:function(a,e,c){return a<4?"\u09b0\u09be\u09a4":a<10?"\u09b8\u0995\u09be\u09b2":a<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":a<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},51108:function(ve,f,o){!function(n){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(a){return a.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&a>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&a<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?a+12:a},meridiem:function(a,e,c){return a<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":a<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":a<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":a<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(o(35908))},51296:function(ve,f,o){!function(n){"use strict";function i(h,C,v){return h+" "+function a(h,C){return 2===C?function e(h){var C={m:"v",b:"v",d:"z"};return void 0===C[h.charAt(0)]?h:C[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[v],h)}function u(h){return h>9?u(h%10):h}var c=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,y=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:y,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:y,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function d(h){switch(u(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(h){return h+(1===h?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(h){return"g.m."===h},meridiem:function(h,C,v){return h<12?"a.m.":"g.m."}})}(o(35908))},2032:function(ve,f,o){!function(n){"use strict";function d(a,e,c){var l=a+" ";switch(c){case"ss":return l+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"mm":return l+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return"jedan sat";case"hh":return l+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return l+(1===a?"dan":"dana");case"MM":return l+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return l+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function i(a,e,c,l){if("m"===c)return e?"jedna minuta":l?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},20096:function(ve,f,o){!function(n){"use strict";n.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var a=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(a="a"),d+a},week:{dow:1,doy:4}})}(o(35908))},41152:function(ve,f,o){!function(n){"use strict";var i={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),u=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],a=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function e(g){return g>1&&g<5&&1!=~~(g/10)}function c(g,b,p,S){var y=g+" ";switch(p){case"s":return b||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return b||S?y+(e(g)?"sekundy":"sekund"):y+"sekundami";case"m":return b?"minuta":S?"minutu":"minutou";case"mm":return b||S?y+(e(g)?"minuty":"minut"):y+"minutami";case"h":return b?"hodina":S?"hodinu":"hodinou";case"hh":return b||S?y+(e(g)?"hodiny":"hodin"):y+"hodinami";case"d":return b||S?"den":"dnem";case"dd":return b||S?y+(e(g)?"dny":"dn\xed"):y+"dny";case"M":return b||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return b||S?y+(e(g)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):y+"m\u011bs\xedci";case"y":return b||S?"rok":"rokem";case"yy":return b||S?y+(e(g)?"roky":"let"):y+"lety"}}n.defineLocale("cs",{months:i,monthsShort:d,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},69568:function(ve,f,o){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(o(35908))},78875:function(ve,f,o){!function(n){"use strict";n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var a="";return d>20?a=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(a=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+a},week:{dow:1,doy:4}})}(o(35908))},45424:function(ve,f,o){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},72604:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return a?l[e][0]:l[e][1]}n.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},79168:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return a?l[e][0]:l[e][1]}n.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},20992:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return a?l[e][0]:l[e][1]}n.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},67300:function(ve,f,o){!function(n){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];n.defineLocale("dv",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(a){return"\u0789\u078a"===a},meridiem:function(a,e,c){return a<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(a){return a.replace(/\u060c/g,",")},postformat:function(a){return a.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(o(35908))},84400:function(ve,f,o){!function(n){"use strict";n.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(u,a){return u?"string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl[u.month()]:this._monthsNominativeEl[u.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(u,a,e){return u>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(u){return"\u03bc"===(u+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(u,a){var e=this._calendarEl[u],c=a&&a.hours();return function i(u){return typeof Function<"u"&&u instanceof Function||"[object Function]"===Object.prototype.toString.call(u)}(e)&&(e=e.apply(a)),e.replace("{}",c%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(o(35908))},83536:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:4}})}(o(35908))},39379:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(o(35908))},47032:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},71832:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},404:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(o(35908))},25716:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:6}})}(o(35908))},15312:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},53320:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},96392:function(ve,f,o){!function(n){"use strict";n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,u,a){return d>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(35908))},38540:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},93504:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},69224:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(o(35908))},41964:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},90596:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[u+"sekundi",u+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[u+" minuti",u+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[u+" tunni",u+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[u+" kuu",u+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[u+" aasta",u+" aastat"]};return a?l[e][2]?l[e][2]:l[e][1]:c?l[e][0]:l[e][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},8060:function(ve,f,o){!function(n){"use strict";n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},68184:function(ve,f,o){!function(n){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(a){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(a)},meridiem:function(a,e,c){return a<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(a){return a.replace(/[\u06f0-\u06f9]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(o(35908))},36736:function(ve,f,o){!function(n){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function u(c,l,g,b){var p="";switch(g){case"s":return b?"muutaman sekunnin":"muutama sekunti";case"ss":p=b?"sekunnin":"sekuntia";break;case"m":return b?"minuutin":"minuutti";case"mm":p=b?"minuutin":"minuuttia";break;case"h":return b?"tunnin":"tunti";case"hh":p=b?"tunnin":"tuntia";break;case"d":return b?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":p=b?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return b?"kuukauden":"kuukausi";case"MM":p=b?"kuukauden":"kuukautta";break;case"y":return b?"vuoden":"vuosi";case"yy":p=b?"vuoden":"vuotta"}return function a(c,l){return c<10?l?d[c]:i[c]:c}(c,b)+" "+p}n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},49264:function(ve,f,o){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},48299:function(ve,f,o){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},84584:function(ve,f,o){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(o(35908))},8024:function(ve,f,o){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},51964:function(ve,f,o){!function(n){"use strict";var u=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,a=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];n.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(c,l){switch(l){case"D":return c+(1===c?"er":"");default:case"M":case"Q":case"DDD":case"d":return c+(1===c?"er":"e");case"w":case"W":return c+(1===c?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},22672:function(ve,f,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,e){return a?/-MMM-/.test(e)?d[a.month()]:i[a.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},26476:function(ve,f,o){!function(n){"use strict";n.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(l){return l+(1===l?"d":l%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},35148:function(ve,f,o){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(l){return l+(1===l?"d":l%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},32176:function(ve,f,o){!function(n){"use strict";n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},27260:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[u+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",u+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[u+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",u+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[u+" \u0935\u0930\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[u+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",u+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[u+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",u+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[u+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return c?l[e][0]:l[e][1]}n.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(u,a){return"D"===a?u+"\u0935\u0947\u0930":u},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(u,a){return 12===u&&(u=0),"\u0930\u093e\u0924\u0940"===a?u<4?u:u+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===a?u:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===a?u>12?u:u+12:"\u0938\u093e\u0902\u091c\u0947"===a?u+12:void 0},meridiem:function(u,a,e){return u<4?"\u0930\u093e\u0924\u0940":u<12?"\u0938\u0915\u093e\u0933\u0940\u0902":u<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":u<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(o(35908))},3772:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={s:["thoddea sekondamni","thodde sekond"],ss:[u+" sekondamni",u+" sekond"],m:["eka mintan","ek minut"],mm:[u+" mintamni",u+" mintam"],h:["eka voran","ek vor"],hh:[u+" voramni",u+" voram"],d:["eka disan","ek dis"],dd:[u+" disamni",u+" dis"],M:["eka mhoinean","ek mhoino"],MM:[u+" mhoineamni",u+" mhoine"],y:["eka vorsan","ek voros"],yy:[u+" vorsamni",u+" vorsam"]};return c?l[e][0]:l[e][1]}n.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(u,a){return"D"===a?u+"er":u},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(u,a){return 12===u&&(u=0),"rati"===a?u<4?u:u+12:"sokallim"===a?u:"donparam"===a?u>12?u:u+12:"sanje"===a?u+12:void 0},meridiem:function(u,a,e){return u<4?"rati":u<12?"sokallim":u<16?"donparam":u<20?"sanje":"rati"}})}(o(35908))},39528:function(ve,f,o){!function(n){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(a){return a.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0ab0\u0abe\u0aa4"===e?a<4?a:a+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?a:"\u0aac\u0aaa\u0acb\u0ab0"===e?a>=10?a:a+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u0ab0\u0abe\u0aa4":a<10?"\u0ab8\u0ab5\u0abe\u0ab0":a<17?"\u0aac\u0aaa\u0acb\u0ab0":a<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(o(35908))},86832:function(ve,f,o){!function(n){"use strict";n.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,u,a){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?a?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?a?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(o(35908))},95592:function(ve,f,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},u=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:u,longMonthsParse:u,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(l){return d[l]})},postformat:function(c){return c.replace(/\d/g,function(l){return i[l]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,l){return 12===c&&(c=0),"\u0930\u093e\u0924"===l?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===l?c:"\u0926\u094b\u092a\u0939\u0930"===l?c>=10?c:c+12:"\u0936\u093e\u092e"===l?c+12:void 0},meridiem:function(c,l,g){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(o(35908))},56208:function(ve,f,o){!function(n){"use strict";function i(u,a,e){var c=u+" ";switch(e){case"ss":return c+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return a?"jedna minuta":"jedne minute";case"mm":return c+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return a?"jedan sat":"jednog sata";case"hh":return c+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return c+(1===u?"dan":"dana");case"MM":return c+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return c+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}n.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},33697:function(ve,f,o){!function(n){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(e,c,l,g){var b=e;switch(l){case"s":return g||c?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return b+(g||c)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(g||c?" perc":" perce");case"mm":return b+(g||c?" perc":" perce");case"h":return"egy"+(g||c?" \xf3ra":" \xf3r\xe1ja");case"hh":return b+(g||c?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(g||c?" nap":" napja");case"dd":return b+(g||c?" nap":" napja");case"M":return"egy"+(g||c?" h\xf3nap":" h\xf3napja");case"MM":return b+(g||c?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(g||c?" \xe9v":" \xe9ve");case"yy":return b+(g||c?" \xe9v":" \xe9ve")}return""}function u(e){return(e?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}n.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,c,l){return e<12?!0===l?"de":"DE":!0===l?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return u.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return u.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},2e4:function(ve,f,o){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,u){switch(u){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(o(35908))},57840:function(ve,f,o){!function(n){"use strict";n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"siang"===u?d>=11?d:d+12:"sore"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(o(35908))},31496:function(ve,f,o){!function(n){"use strict";function i(a){return a%100==11||a%10!=1}function d(a,e,c,l){var g=a+" ";switch(c){case"s":return e||l?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(a)?g+(e||l?"sek\xfandur":"sek\xfandum"):g+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(a)?g+(e||l?"m\xedn\xfatur":"m\xedn\xfatum"):e?g+"m\xedn\xfata":g+"m\xedn\xfatu";case"hh":return i(a)?g+(e||l?"klukkustundir":"klukkustundum"):g+"klukkustund";case"d":return e?"dagur":l?"dag":"degi";case"dd":return i(a)?e?g+"dagar":g+(l?"daga":"d\xf6gum"):e?g+"dagur":g+(l?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":l?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(a)?e?g+"m\xe1nu\xf0ir":g+(l?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?g+"m\xe1nu\xf0ur":g+(l?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||l?"\xe1r":"\xe1ri";case"yy":return i(a)?g+(e||l?"\xe1r":"\xe1rum"):g+(e||l?"\xe1r":"\xe1ri")}}n.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},45736:function(ve,f,o){!function(n){"use strict";n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},6336:function(ve,f,o){!function(n){"use strict";n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},58008:function(ve,f,o){!function(n){"use strict";n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,u){return"\u5143"===u[1]?1:parseInt(u[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,u,a){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,u){switch(u){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(o(35908))},30108:function(ve,f,o){!function(n){"use strict";n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,u){return 12===d&&(d=0),"enjing"===u?d:"siyang"===u?d>=11?d:d+12:"sonten"===u||"ndalu"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(35908))},61844:function(ve,f,o){!function(n){"use strict";n.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(u,a,e){return"\u10d8"===e?a+"\u10e8\u10d8":a+e+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(o(35908))},78980:function(ve,f,o){!function(n){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};n.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(u){return u+(i[u]||i[u%10]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},48544:function(ve,f,o){!function(n){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(a){return"\u179b\u17d2\u1784\u17b6\u1785"===a},meridiem:function(a,e,c){return a<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(a){return a.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},70096:function(ve,f,o){!function(n){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(a){return a.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?a<4?a:a+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?a:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?a>=10?a:a+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":a<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":a<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":a<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(a){return a+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(o(35908))},87420:function(ve,f,o){!function(n){"use strict";n.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,u,a){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(o(35908))},4740:function(ve,f,o){!function(n){"use strict";function i(a,e,c,l){var g={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[a+" san\xeeye",a+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[a+" deq\xeeqe",a+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[a+" saet",a+" saetan"],d:["rojek","rojek\xea"],dd:[a+" roj",a+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[a+" hefte",a+" hefteyan"],M:["mehek","mehek\xea"],MM:[a+" meh",a+" mehan"],y:["salek","salek\xea"],yy:[a+" sal",a+" salan"]};return e?g[c][0]:g[c][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(a,e,c){return a<12?c?"bn":"BN":c?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,w:i,ww:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(a,e){var c=e.toLowerCase();return c.includes("w")||c.includes("m")?a+".":a+function d(a){var e=(a=""+a).substring(a.length-1),c=a.length>1?a.substring(a.length-2):"";return 12==c||13==c||"2"!=e&&"3"!=e&&"50"!=c&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(a)},week:{dow:1,doy:4}})}(o(35908))},60200:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];n.defineLocale("ku",{months:u,monthsShort:u,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,c,l){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(c){return d[c]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(c){return i[c]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},44976:function(ve,f,o){!function(n){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};n.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(u){return u+(i[u]||i[u%10]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},4652:function(ve,f,o){!function(n){"use strict";function i(c,l,g,b){var p={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return l?p[g][0]:p[g][1]}function a(c){if(c=parseInt(c,10),isNaN(c))return!1;if(c<0)return!0;if(c<10)return 4<=c&&c<=7;if(c<100){var l=c%10;return a(0===l?c/10:l)}if(c<1e4){for(;c>=10;)c/=10;return a(c)}return a(c/=1e3)}n.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(c){return a(c.substr(0,c.indexOf(" ")))?"a "+c:"an "+c},past:function u(c){return a(c.substr(0,c.indexOf(" ")))?"viru "+c:"virun "+c},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53984:function(ve,f,o){!function(n){"use strict";n.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,u,a){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(o(35908))},8792:function(ve,f,o){!function(n){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function u(g,b,p,S){return b?e(p)[0]:S?e(p)[1]:e(p)[2]}function a(g){return g%10==0||g>10&&g<20}function e(g){return i[g].split("_")}function c(g,b,p,S){var y=g+" ";return 1===g?y+u(0,b,p[0],S):b?y+(a(g)?e(p)[1]:e(p)[0]):S?y+e(p)[1]:y+(a(g)?e(p)[1]:e(p)[2])}n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(g,b,p,S){return b?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:c,m:u,mm:c,h:u,hh:c,d:u,dd:c,M:u,MM:c,y:u,yy:c},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(g){return g+"-oji"},week:{dow:1,doy:4}})}(o(35908))},6296:function(ve,f,o){!function(n){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(l,g,b){return b?g%10==1&&g%100!=11?l[2]:l[3]:g%10==1&&g%100!=11?l[0]:l[1]}function u(l,g,b){return l+" "+d(i[b],l,g)}function a(l,g,b){return d(i[b],l,g)}n.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function e(l,g){return g?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:u,m:a,mm:u,h:a,hh:u,d:a,dd:u,M:a,MM:u,y:a,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},58256:function(ve,f,o){!function(n){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(u,a){return 1===u?a[0]:u>=2&&u<=4?a[1]:a[2]},translate:function(u,a,e){var c=i.words[e];return 1===e.length?a?c[0]:c[1]:u+" "+i.correctGrammaticalCase(u,c)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},29284:function(ve,f,o){!function(n){"use strict";n.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},33196:function(ve,f,o){!function(n){"use strict";n.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,a=d%100;return 0===d?d+"-\u0435\u0432":0===a?d+"-\u0435\u043d":a>10&&a<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},45896:function(ve,f,o){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===u&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===u||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===u?d+12:d},meridiem:function(d,u,a){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(o(35908))},32460:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){switch(e){case"s":return a?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return u+(a?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return u+(a?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return u+(a?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return u+(a?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return u+(a?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return u+(a?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return u}}n.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(u){return"\u04ae\u0425"===u},meridiem:function(u,a,e){return u<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(u,a){switch(a){case"d":case"D":case"DDD":return u+" \u04e9\u0434\u04e9\u0440";default:return u}}})}(o(35908))},80132:function(ve,f,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function u(e,c,l,g){var b="";if(c)switch(l){case"s":b="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":b="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":b="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":b="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":b="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":b="%d \u0924\u093e\u0938";break;case"d":b="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":b="%d \u0926\u093f\u0935\u0938";break;case"M":b="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":b="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":b="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":b="%d \u0935\u0930\u094d\u0937\u0947"}else switch(l){case"s":b="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":b="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":b="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":b="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":b="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":b="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":b="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":b="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":b="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":b="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":b="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":b="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return b.replace(/%d/i,e)}n.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(c){return d[c]})},postformat:function(e){return e.replace(/\d/g,function(c){return i[c]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,c){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===c||"\u0938\u0915\u093e\u0933\u0940"===c?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===c||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===c||"\u0930\u093e\u0924\u094d\u0930\u0940"===c?e>=12?e:e+12:void 0},meridiem:function(e,c,l){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(o(35908))},88060:function(ve,f,o){!function(n){"use strict";n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},73136:function(ve,f,o){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},46227:function(ve,f,o){!function(n){"use strict";n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},88300:function(ve,f,o){!function(n){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(a){return a.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},14784:function(ve,f,o){!function(n){"use strict";n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},75060:function(ve,f,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(a){return a.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0930\u093e\u0924\u093f"===e?a<4?a:a+12:"\u092c\u093f\u0939\u093e\u0928"===e?a:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?a>=10?a:a+12:"\u0938\u093e\u0901\u091d"===e?a+12:void 0},meridiem:function(a,e,c){return a<3?"\u0930\u093e\u0924\u093f":a<12?"\u092c\u093f\u0939\u093e\u0928":a<16?"\u0926\u093f\u0909\u0901\u0938\u094b":a<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(o(35908))},94796:function(ve,f,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},4971:function(ve,f,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},18984:function(ve,f,o){!function(n){"use strict";n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},59928:function(ve,f,o){!function(n){"use strict";n.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var a=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(a="a"),d+a},week:{dow:1,doy:4}})}(o(35908))},76440:function(ve,f,o){!function(n){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(a){return a.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0a30\u0a3e\u0a24"===e?a<4?a:a+12:"\u0a38\u0a35\u0a47\u0a30"===e?a:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?a>=10?a:a+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u0a30\u0a3e\u0a24":a<10?"\u0a38\u0a35\u0a47\u0a30":a<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":a<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(o(35908))},96768:function(ve,f,o){!function(n){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),u=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function a(l){return l%10<5&&l%10>1&&~~(l/10)%10!=1}function e(l,g,b){var p=l+" ";switch(b){case"ss":return p+(a(l)?"sekundy":"sekund");case"m":return g?"minuta":"minut\u0119";case"mm":return p+(a(l)?"minuty":"minut");case"h":return g?"godzina":"godzin\u0119";case"hh":return p+(a(l)?"godziny":"godzin");case"ww":return p+(a(l)?"tygodnie":"tygodni");case"MM":return p+(a(l)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return p+(a(l)?"lata":"lat")}}n.defineLocale("pl",{months:function(l,g){return l?/D MMMM/.test(g)?d[l.month()]:i[l.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:e,M:"miesi\u0105c",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},51528:function(ve,f,o){!function(n){"use strict";n.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(o(35908))},18968:function(ve,f,o){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},5760:function(ve,f,o){!function(n){"use strict";function i(u,a,e){var l=" ";return(u%100>=20||u>=100&&u%100==0)&&(l=" de "),u+l+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[e]}n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(o(35908))},19760:function(ve,f,o){!function(n){"use strict";function d(e,c,l){return"m"===l?c?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function i(e,c){var l=e.split("_");return c%10==1&&c%100!=11?l[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?l[1]:l[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[l],+e)}var u=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];n.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,c,l){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,c){switch(c){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(o(35908))},53804:function(ve,f,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];n.defineLocale("sd",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(a){return"\u0634\u0627\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(a){return a.replace(/\u060c/g,",")},postformat:function(a){return a.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},44100:function(ve,f,o){!function(n){"use strict";n.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},95301:function(ve,f,o){!function(n){"use strict";n.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,u,a){return d>11?a?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":a?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(o(35908))},79992:function(ve,f,o){!function(n){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function u(c){return c>1&&c<5}function a(c,l,g,b){var p=c+" ";switch(g){case"s":return l||b?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return l||b?p+(u(c)?"sekundy":"sek\xfand"):p+"sekundami";case"m":return l?"min\xfata":b?"min\xfatu":"min\xfatou";case"mm":return l||b?p+(u(c)?"min\xfaty":"min\xfat"):p+"min\xfatami";case"h":return l?"hodina":b?"hodinu":"hodinou";case"hh":return l||b?p+(u(c)?"hodiny":"hod\xedn"):p+"hodinami";case"d":return l||b?"de\u0148":"d\u0148om";case"dd":return l||b?p+(u(c)?"dni":"dn\xed"):p+"d\u0148ami";case"M":return l||b?"mesiac":"mesiacom";case"MM":return l||b?p+(u(c)?"mesiace":"mesiacov"):p+"mesiacmi";case"y":return l||b?"rok":"rokom";case"yy":return l||b?p+(u(c)?"roky":"rokov"):p+"rokmi"}}n.defineLocale("sk",{months:i,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},35208:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l=u+" ";switch(e){case"s":return a||c?"nekaj sekund":"nekaj sekundami";case"ss":return l+(1===u?a?"sekundo":"sekundi":2===u?a||c?"sekundi":"sekundah":u<5?a||c?"sekunde":"sekundah":"sekund");case"m":return a?"ena minuta":"eno minuto";case"mm":return l+(1===u?a?"minuta":"minuto":2===u?a||c?"minuti":"minutama":u<5?a||c?"minute":"minutami":a||c?"minut":"minutami");case"h":return a?"ena ura":"eno uro";case"hh":return l+(1===u?a?"ura":"uro":2===u?a||c?"uri":"urama":u<5?a||c?"ure":"urami":a||c?"ur":"urami");case"d":return a||c?"en dan":"enim dnem";case"dd":return l+(1===u?a||c?"dan":"dnem":2===u?a||c?"dni":"dnevoma":a||c?"dni":"dnevi");case"M":return a||c?"en mesec":"enim mesecem";case"MM":return l+(1===u?a||c?"mesec":"mesecem":2===u?a||c?"meseca":"mesecema":u<5?a||c?"mesece":"meseci":a||c?"mesecev":"meseci");case"y":return a||c?"eno leto":"enim letom";case"yy":return l+(1===u?a||c?"leto":"letom":2===u?a||c?"leti":"letoma":u<5?a||c?"leta":"leti":a||c?"let":"leti")}}n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},27408:function(ve,f,o){!function(n){"use strict";n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,u,a){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},1128:function(ve,f,o){!function(n){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(u,a){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?a[0]:a[1]:a[2]},translate:function(u,a,e,c){var g,l=i.words[e];return 1===e.length?"y"===e&&a?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":c||a?l[0]:l[1]:(g=i.correctGrammaticalCase(u,l),"yy"===e&&a&&"\u0433\u043e\u0434\u0438\u043d\u0443"===g?u+" \u0433\u043e\u0434\u0438\u043d\u0430":u+" "+g)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10656:function(ve,f,o){!function(n){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(u,a){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?a[0]:a[1]:a[2]},translate:function(u,a,e,c){var g,l=i.words[e];return 1===e.length?"y"===e&&a?"jedna godina":c||a?l[0]:l[1]:(g=i.correctGrammaticalCase(u,l),"yy"===e&&a&&"godinu"===g?u+" godina":u+" "+g)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10864:function(ve,f,o){!function(n){"use strict";n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,u,a){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,u){return 12===d&&(d=0),"ekuseni"===u?d:"emini"===u?d>=11?d:d+12:"entsambama"===u||"ebusuku"===u?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(35908))},16900:function(ve,f,o){!function(n){"use strict";n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?":e":1===u||2===u?":a":":e")},week:{dow:1,doy:4}})}(o(35908))},81636:function(ve,f,o){!function(n){"use strict";n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(35908))},24180:function(ve,f,o){!function(n){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(a){return a+"\u0bb5\u0ba4\u0bc1"},preparse:function(a){return a.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(a,e,c){return a<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":a<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":a<10?" \u0b95\u0bbe\u0bb2\u0bc8":a<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":a<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":a<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(a,e){return 12===a&&(a=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?a<2?a:a+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&a>=10?a:a+12},week:{dow:0,doy:6}})}(o(35908))},97008:function(ve,f,o){!function(n){"use strict";n.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===u?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===u?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===u?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===u?d+12:void 0},meridiem:function(d,u,a){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(o(35908))},50744:function(ve,f,o){!function(n){"use strict";n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},58084:function(ve,f,o){!function(n){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};n.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(u,a){return 12===u&&(u=0),"\u0448\u0430\u0431"===a?u<4?u:u+12:"\u0441\u0443\u0431\u04b3"===a?u:"\u0440\u04ef\u0437"===a?u>=11?u:u+12:"\u0431\u0435\u0433\u043e\u04b3"===a?u+12:void 0},meridiem:function(u,a,e){return u<4?"\u0448\u0430\u0431":u<11?"\u0441\u0443\u0431\u04b3":u<16?"\u0440\u04ef\u0437":u<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(u){return u+(i[u]||i[u%10]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},81672:function(ve,f,o){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,u,a){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(o(35908))},57232:function(ve,f,o){!function(n){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};n.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(u,a){switch(a){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'unjy";var e=u%10;return u+(i[e]||i[u%100-e]||i[u>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},89480:function(ve,f,o){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},58512:function(ve,f,o){!function(n){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(l,g,b,p){var S=function e(l){var g=Math.floor(l%1e3/100),b=Math.floor(l%100/10),p=l%10,S="";return g>0&&(S+=i[g]+"vatlh"),b>0&&(S+=(""!==S?" ":"")+i[b]+"maH"),p>0&&(S+=(""!==S?" ":"")+i[p]),""===S?"pagh":S}(l);switch(b){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}n.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(l){var g=l;return-1!==l.indexOf("jaj")?g.slice(0,-3)+"leS":-1!==l.indexOf("jar")?g.slice(0,-3)+"waQ":-1!==l.indexOf("DIS")?g.slice(0,-3)+"nem":g+" pIq"},past:function u(l){var g=l;return-1!==l.indexOf("jaj")?g.slice(0,-3)+"Hu\u2019":-1!==l.indexOf("jar")?g.slice(0,-3)+"wen":-1!==l.indexOf("DIS")?g.slice(0,-3)+"ben":g+" ret"},s:"puS lup",ss:a,m:"wa\u2019 tup",mm:a,h:"wa\u2019 rep",hh:a,d:"wa\u2019 jaj",dd:a,M:"wa\u2019 jar",MM:a,y:"wa\u2019 DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},56020:function(ve,f,o){!function(n){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(u,a,e){return u<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(u){return"\xf6s"===u||"\xd6S"===u},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(u,a){switch(a){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'\u0131nc\u0131";var e=u%10;return u+(i[e]||i[u%100-e]||i[u>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},36240:function(ve,f,o){!function(n){"use strict";function d(u,a,e,c){var l={s:["viensas secunds","'iensas secunds"],ss:[u+" secunds",u+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[u+" m\xeduts",u+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[u+" \xfeoras",u+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[u+" ziuas",u+" ziuas"],M:["'n mes","'iens mes"],MM:[u+" mesen",u+" mesen"],y:["'n ar","'iens ar"],yy:[u+" ars",u+" ars"]};return c||a?l[e][0]:l[e][1]}n.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(u){return"d'o"===u.toLowerCase()},meridiem:function(u,a,e){return u>11?e?"d'o":"D'O":e?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53384:function(ve,f,o){!function(n){"use strict";n.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(35908))},33064:function(ve,f,o){!function(n){"use strict";n.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(o(35908))},45852:function(ve,f,o){!function(n){"use strict";n.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===u||"\u0633\u06d5\u06be\u06d5\u0631"===u||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===u?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===u||"\u0643\u06d5\u0686"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(o(35908))},12480:function(ve,f,o){!function(n){"use strict";function d(c,l,g){return"m"===g?l?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===g?l?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":c+" "+function i(c,l){var g=c.split("_");return l%10==1&&l%100!=11?g[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?g[1]:g[2]}({ss:l?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:l?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:l?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[g],+c)}function a(c){return function(){return c+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function u(c,l){var g={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===c?g.nominative.slice(1,7).concat(g.nominative.slice(0,1)):c?g[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(l)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(l)?"genitive":"nominative"][c.day()]:g.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:a("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:a("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:a("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:a("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return a("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(c)},meridiem:function(c,l,g){return c<4?"\u043d\u043e\u0447\u0456":c<12?"\u0440\u0430\u043d\u043a\u0443":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(c,l){switch(l){case"M":case"d":case"DDD":case"w":case"W":return c+"-\u0439";case"D":return c+"-\u0433\u043e";default:return c}},week:{dow:1,doy:7}})}(o(35908))},63877:function(ve,f,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];n.defineLocale("ur",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(a){return"\u0634\u0627\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(a){return a.replace(/\u060c/g,",")},postformat:function(a){return a.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},20108:function(ve,f,o){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(35908))},91712:function(ve,f,o){!function(n){"use strict";n.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(o(35908))},9984:function(ve,f,o){!function(n){"use strict";n.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,u,a){return d<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},45708:function(ve,f,o){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},78476:function(ve,f,o){!function(n){"use strict";n.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(o(35908))},3676:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(o(35908))},49880:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},41968:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},33632:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},35908:function(ve,f,o){(ve=o.nmd(ve)).exports=function(){"use strict";var n,C;function i(){return n.apply(null,arguments)}function u(U){return U instanceof Array||"[object Array]"===Object.prototype.toString.call(U)}function a(U){return null!=U&&"[object Object]"===Object.prototype.toString.call(U)}function e(U,ge){return Object.prototype.hasOwnProperty.call(U,ge)}function c(U){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(U).length;var ge;for(ge in U)if(e(U,ge))return!1;return!0}function l(U){return void 0===U}function g(U){return"number"==typeof U||"[object Number]"===Object.prototype.toString.call(U)}function b(U){return U instanceof Date||"[object Date]"===Object.prototype.toString.call(U)}function p(U,ge){var $e,xe=[],st=U.length;for($e=0;$e>>0;for($e=0;$e0)for(xe=0;xe=0?xe?"+":"":"-")+Math.pow(10,Math.max(0,ge-$e.length)).toString().substr(1)+$e}var ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,K={},W={};function re(U,ge,xe,$e){var st=$e;"string"==typeof $e&&(st=function(){return this[$e]()}),U&&(W[U]=st),ge&&(W[ge[0]]=function(){return H(st.apply(this,arguments),ge[1],ge[2])}),xe&&(W[xe]=function(){return this.localeData().ordinal(st.apply(this,arguments),U)})}function G(U){return U.match(/\[[\s\S]/)?U.replace(/^\[|\]$/g,""):U.replace(/\\/g,"")}function ye(U,ge){return U.isValid()?(ge=Ie(ge,U.localeData()),K[ge]=K[ge]||function ue(U){var xe,$e,ge=U.match(ae);for(xe=0,$e=ge.length;xe<$e;xe++)ge[xe]=W[ge[xe]]?W[ge[xe]]:G(ge[xe]);return function(st){var Dn,Vt="";for(Dn=0;Dn<$e;Dn++)Vt+=F(ge[Dn])?ge[Dn].call(st,U):ge[Dn];return Vt}}(ge),K[ge](U)):U.localeData().invalidDate()}function Ie(U,ge){var xe=5;function $e(st){return ge.longDateFormat(st)||st}for(J.lastIndex=0;xe>=0&&J.test(U);)U=U.replace(J,$e),J.lastIndex=0,xe-=1;return U}var bt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Bt(U){return"string"==typeof U?bt[U]||bt[U.toLowerCase()]:void 0}function an(U){var xe,$e,ge={};for($e in U)e(U,$e)&&(xe=Bt($e))&&(ge[xe]=U[$e]);return ge}var hn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var Zt,An=/\d/,vn=/\d\d/,en=/\d{3}/,dt=/\d{4}/,Ue=/[+-]?\d{6}/,we=/\d\d?/,Pe=/\d\d\d\d?/,Ge=/\d\d\d\d\d\d?/,je=/\d{1,3}/,ht=/\d{1,4}/,He=/[+-]?\d{1,6}/,_t=/\d+/,lt=/[+-]?\d+/,Et=/Z|[+-]\d\d:?\d\d/gi,it=/Z|[+-]\d\d(?::?\d\d)?/gi,gt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Tt=/^[1-9]\d?/,Ht=/^([1-9]\d|\d)/;function wt(U,ge,xe){Zt[U]=F(ge)?ge:function($e,st){return $e&&xe?xe:ge}}function $t(U,ge){return e(Zt,U)?Zt[U](ge._strict,ge._locale):new RegExp(function Ct(U){return It(U.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(ge,xe,$e,st,Vt){return xe||$e||st||Vt}))}(U))}function It(U){return U.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function tn(U){return U<0?Math.ceil(U)||0:Math.floor(U)}function yn(U){var ge=+U,xe=0;return 0!==ge&&isFinite(ge)&&(xe=tn(ge)),xe}Zt={};var Tn={};function nn(U,ge){var xe,st,$e=ge;for("string"==typeof U&&(U=[U]),g(ge)&&($e=function(Vt,Dn){Dn[ge]=yn(Vt)}),st=U.length,xe=0;xe68?1900:2e3)};var at,Or=qt("FullYear",!0);function qt(U,ge){return function(xe){return null!=xe?(Qn(this,U,xe),i.updateOffset(this,ge),this):jn(this,U)}}function jn(U,ge){if(!U.isValid())return NaN;var xe=U._d,$e=U._isUTC;switch(ge){case"Milliseconds":return $e?xe.getUTCMilliseconds():xe.getMilliseconds();case"Seconds":return $e?xe.getUTCSeconds():xe.getSeconds();case"Minutes":return $e?xe.getUTCMinutes():xe.getMinutes();case"Hours":return $e?xe.getUTCHours():xe.getHours();case"Date":return $e?xe.getUTCDate():xe.getDate();case"Day":return $e?xe.getUTCDay():xe.getDay();case"Month":return $e?xe.getUTCMonth():xe.getMonth();case"FullYear":return $e?xe.getUTCFullYear():xe.getFullYear();default:return NaN}}function Qn(U,ge,xe){var $e,st,Vt,Dn,rr;if(U.isValid()&&!isNaN(xe)){switch($e=U._d,st=U._isUTC,ge){case"Milliseconds":return void(st?$e.setUTCMilliseconds(xe):$e.setMilliseconds(xe));case"Seconds":return void(st?$e.setUTCSeconds(xe):$e.setSeconds(xe));case"Minutes":return void(st?$e.setUTCMinutes(xe):$e.setMinutes(xe));case"Hours":return void(st?$e.setUTCHours(xe):$e.setHours(xe));case"Date":return void(st?$e.setUTCDate(xe):$e.setDate(xe));case"FullYear":break;default:return}Vt=xe,Dn=U.month(),rr=29!==(rr=U.date())||1!==Dn||Br(Vt)?rr:28,st?$e.setUTCFullYear(Vt,Dn,rr):$e.setFullYear(Vt,Dn,rr)}}function Ot(U,ge){if(isNaN(U)||isNaN(ge))return NaN;var xe=function Ir(U,ge){return(U%ge+ge)%ge}(ge,12);return U+=(ge-xe)/12,1===xe?Br(U)?29:28:31-xe%7%2}at=Array.prototype.indexOf?Array.prototype.indexOf:function(U){var ge;for(ge=0;ge=0?(rr=new Date(U+400,ge,xe,$e,st,Vt,Dn),isFinite(rr.getFullYear())&&rr.setFullYear(U)):rr=new Date(U,ge,xe,$e,st,Vt,Dn),rr}function Fe(U){var ge,xe;return U<100&&U>=0?((xe=Array.prototype.slice.call(arguments))[0]=U+400,ge=new Date(Date.UTC.apply(null,xe)),isFinite(ge.getUTCFullYear())&&ge.setUTCFullYear(U)):ge=new Date(Date.UTC.apply(null,arguments)),ge}function Te(U,ge,xe){var $e=7+ge-xe;return-(7+Fe(U,0,$e).getUTCDay()-ge)%7+$e-1}function me(U,ge,xe,$e,st){var Kr,fi,rr=1+7*(ge-1)+(7+xe-$e)%7+Te(U,$e,st);return rr<=0?fi=er(Kr=U-1)+rr:rr>er(U)?(Kr=U+1,fi=rr-er(U)):(Kr=U,fi=rr),{year:Kr,dayOfYear:fi}}function Ae(U,ge,xe){var Vt,Dn,$e=Te(U.year(),ge,xe),st=Math.floor((U.dayOfYear()-$e-1)/7)+1;return st<1?Vt=st+et(Dn=U.year()-1,ge,xe):st>et(U.year(),ge,xe)?(Vt=st-et(U.year(),ge,xe),Dn=U.year()+1):(Dn=U.year(),Vt=st),{week:Vt,year:Dn}}function et(U,ge,xe){var $e=Te(U,ge,xe),st=Te(U+1,ge,xe);return(er(U)-$e+st)/7}re("w",["ww",2],"wo","week"),re("W",["WW",2],"Wo","isoWeek"),wt("w",we,Tt),wt("ww",we,vn),wt("W",we,Tt),wt("WW",we,vn),nr(["w","ww","W","WW"],function(U,ge,xe,$e){ge[$e.substr(0,1)]=yn(U)});function Gt(U,ge){return U.slice(ge,7).concat(U.slice(0,ge))}re("d",0,"do","day"),re("dd",0,0,function(U){return this.localeData().weekdaysMin(this,U)}),re("ddd",0,0,function(U){return this.localeData().weekdaysShort(this,U)}),re("dddd",0,0,function(U){return this.localeData().weekdays(this,U)}),re("e",0,0,"weekday"),re("E",0,0,"isoWeekday"),wt("d",we),wt("e",we),wt("E",we),wt("dd",function(U,ge){return ge.weekdaysMinRegex(U)}),wt("ddd",function(U,ge){return ge.weekdaysShortRegex(U)}),wt("dddd",function(U,ge){return ge.weekdaysRegex(U)}),nr(["dd","ddd","dddd"],function(U,ge,xe,$e){var st=xe._locale.weekdaysParse(U,$e,xe._strict);null!=st?ge.d=st:h(xe).invalidWeekday=U}),nr(["d","e","E"],function(U,ge,xe,$e){ge[$e]=yn(U)});var Nn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nr=gt,Lr=gt,ct=gt;function Pn(U,ge,xe){var $e,st,Vt,Dn=U.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$e=0;$e<7;++$e)Vt=y([2e3,1]).day($e),this._minWeekdaysParse[$e]=this.weekdaysMin(Vt,"").toLocaleLowerCase(),this._shortWeekdaysParse[$e]=this.weekdaysShort(Vt,"").toLocaleLowerCase(),this._weekdaysParse[$e]=this.weekdays(Vt,"").toLocaleLowerCase();return xe?"dddd"===ge?-1!==(st=at.call(this._weekdaysParse,Dn))?st:null:"ddd"===ge?-1!==(st=at.call(this._shortWeekdaysParse,Dn))?st:null:-1!==(st=at.call(this._minWeekdaysParse,Dn))?st:null:"dddd"===ge?-1!==(st=at.call(this._weekdaysParse,Dn))||-1!==(st=at.call(this._shortWeekdaysParse,Dn))||-1!==(st=at.call(this._minWeekdaysParse,Dn))?st:null:"ddd"===ge?-1!==(st=at.call(this._shortWeekdaysParse,Dn))||-1!==(st=at.call(this._weekdaysParse,Dn))||-1!==(st=at.call(this._minWeekdaysParse,Dn))?st:null:-1!==(st=at.call(this._minWeekdaysParse,Dn))||-1!==(st=at.call(this._weekdaysParse,Dn))||-1!==(st=at.call(this._shortWeekdaysParse,Dn))?st:null}function Zr(){function U(us,Zs){return Zs.length-us.length}var Vt,Dn,rr,Kr,fi,ge=[],xe=[],$e=[],st=[];for(Vt=0;Vt<7;Vt++)Dn=y([2e3,1]).day(Vt),rr=It(this.weekdaysMin(Dn,"")),Kr=It(this.weekdaysShort(Dn,"")),fi=It(this.weekdays(Dn,"")),ge.push(rr),xe.push(Kr),$e.push(fi),st.push(rr),st.push(Kr),st.push(fi);ge.sort(U),xe.sort(U),$e.sort(U),st.sort(U),this._weekdaysRegex=new RegExp("^("+st.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$e.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+xe.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+ge.join("|")+")","i")}function Vi(){return this.hours()%12||12}function Yi(U,ge){re(U,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),ge)})}function ko(U,ge){return ge._meridiemParse}re("H",["HH",2],0,"hour"),re("h",["hh",2],0,Vi),re("k",["kk",2],0,function hr(){return this.hours()||24}),re("hmm",0,0,function(){return""+Vi.apply(this)+H(this.minutes(),2)}),re("hmmss",0,0,function(){return""+Vi.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),re("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),re("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),Yi("a",!0),Yi("A",!1),wt("a",ko),wt("A",ko),wt("H",we,Ht),wt("h",we,Tt),wt("k",we,Tt),wt("HH",we,vn),wt("hh",we,vn),wt("kk",we,vn),wt("hmm",Pe),wt("hmmss",Ge),wt("Hmm",Pe),wt("Hmmss",Ge),nn(["H","HH"],qn),nn(["k","kk"],function(U,ge,xe){var $e=yn(U);ge[qn]=24===$e?0:$e}),nn(["a","A"],function(U,ge,xe){xe._isPm=xe._locale.isPM(U),xe._meridiem=U}),nn(["h","hh"],function(U,ge,xe){ge[qn]=yn(U),h(xe).bigHour=!0}),nn("hmm",function(U,ge,xe){var $e=U.length-2;ge[qn]=yn(U.substr(0,$e)),ge[Rn]=yn(U.substr($e)),h(xe).bigHour=!0}),nn("hmmss",function(U,ge,xe){var $e=U.length-4,st=U.length-2;ge[qn]=yn(U.substr(0,$e)),ge[Rn]=yn(U.substr($e,2)),ge[oi]=yn(U.substr(st)),h(xe).bigHour=!0}),nn("Hmm",function(U,ge,xe){var $e=U.length-2;ge[qn]=yn(U.substr(0,$e)),ge[Rn]=yn(U.substr($e))}),nn("Hmmss",function(U,ge,xe){var $e=U.length-4,st=U.length-2;ge[qn]=yn(U.substr(0,$e)),ge[Rn]=yn(U.substr($e,2)),ge[oi]=yn(U.substr(st))});var zi=qt("Hours",!0);var _i,ro={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pt,monthsShort:rn,week:{dow:0,doy:6},weekdays:Nn,weekdaysMin:cr,weekdaysShort:lr,meridiemParse:/[ap]\.?m?\.?/i},Rr={},mo={};function xi(U,ge){var xe,$e=Math.min(U.length,ge.length);for(xe=0;xe<$e;xe+=1)if(U[xe]!==ge[xe])return xe;return $e}function qr(U){return U&&U.toLowerCase().replace("_","-")}function wi(U){var ge=null;if(void 0===Rr[U]&&ve&&ve.exports&&function bo(U){return!(!U||!U.match("^[^/\\\\]*$"))}(U))try{ge=_i._abbr,o(92348)("./"+U),bi(ge)}catch{Rr[U]=null}return Rr[U]}function bi(U,ge){var xe;return U&&((xe=l(ge)?zr(U):Eo(U,ge))?_i=xe:typeof console<"u"&&console.warn&&console.warn("Locale "+U+" not found. Did you forget to load it?")),_i._abbr}function Eo(U,ge){if(null!==ge){var xe,$e=ro;if(ge.abbr=U,null!=Rr[U])V("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),$e=Rr[U]._config;else if(null!=ge.parentLocale)if(null!=Rr[ge.parentLocale])$e=Rr[ge.parentLocale]._config;else{if(null==(xe=wi(ge.parentLocale)))return mo[ge.parentLocale]||(mo[ge.parentLocale]=[]),mo[ge.parentLocale].push({name:U,config:ge}),null;$e=xe._config}return Rr[U]=new ce(X($e,ge)),mo[U]&&mo[U].forEach(function(st){Eo(st.name,st.config)}),bi(U),Rr[U]}return delete Rr[U],null}function zr(U){var ge;if(U&&U._locale&&U._locale._abbr&&(U=U._locale._abbr),!U)return _i;if(!u(U)){if(ge=wi(U))return ge;U=[U]}return function ar(U){for(var xe,$e,st,Vt,ge=0;ge0;){if(st=wi(Vt.slice(0,xe).join("-")))return st;if($e&&$e.length>=xe&&xi(Vt,$e)>=xe-1)break;xe--}ge++}return _i}(U)}function Ni(U){var ge,xe=U._a;return xe&&-2===h(U).overflow&&(ge=xe[Mr]<0||xe[Mr]>11?Mr:xe[yr]<1||xe[yr]>Ot(xe[sr],xe[Mr])?yr:xe[qn]<0||xe[qn]>24||24===xe[qn]&&(0!==xe[Rn]||0!==xe[oi]||0!==xe[Sr])?qn:xe[Rn]<0||xe[Rn]>59?Rn:xe[oi]<0||xe[oi]>59?oi:xe[Sr]<0||xe[Sr]>999?Sr:-1,h(U)._overflowDayOfYear&&(geyr)&&(ge=yr),h(U)._overflowWeeks&&-1===ge&&(ge=pr),h(U)._overflowWeekday&&-1===ge&&(ge=Jn),h(U).overflow=ge),U}var Gr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/Z|[+-]\d\d(?::?\d\d)?/,Xi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Li=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gi=/^\/?Date\((-?\d+)/i,Wo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Co={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ro(U){var ge,xe,Vt,Dn,rr,Kr,$e=U._i,st=Gr.exec($e)||Lo.exec($e),fi=Xi.length,us=Li.length;if(st){for(h(U).iso=!0,ge=0,xe=fi;ge7)&&(Kr=!0)):(Vt=U._locale._week.dow,Dn=U._locale._week.doy,fi=Ae(kt(),Vt,Dn),xe=So(ge.gg,U._a[sr],fi.year),$e=So(ge.w,fi.week),null!=ge.d?((st=ge.d)<0||st>6)&&(Kr=!0):null!=ge.e?(st=ge.e+Vt,(ge.e<0||ge.e>6)&&(Kr=!0)):st=Vt),$e<1||$e>et(xe,Vt,Dn)?h(U)._overflowWeeks=!0:null!=Kr?h(U)._overflowWeekday=!0:(rr=me(xe,$e,st,Vt,Dn),U._a[sr]=rr.year,U._dayOfYear=rr.dayOfYear)}(U),null!=U._dayOfYear&&(Dn=So(U._a[sr],st[sr]),(U._dayOfYear>er(Dn)||0===U._dayOfYear)&&(h(U)._overflowDayOfYear=!0),xe=Fe(Dn,0,U._dayOfYear),U._a[Mr]=xe.getUTCMonth(),U._a[yr]=xe.getUTCDate()),ge=0;ge<3&&null==U._a[ge];++ge)U._a[ge]=$e[ge]=st[ge];for(;ge<7;ge++)U._a[ge]=$e[ge]=null==U._a[ge]?2===ge?1:0:U._a[ge];24===U._a[qn]&&0===U._a[Rn]&&0===U._a[oi]&&0===U._a[Sr]&&(U._nextDay=!0,U._a[qn]=0),U._d=(U._useUTC?Fe:de).apply(null,$e),Vt=U._useUTC?U._d.getUTCDay():U._d.getDay(),null!=U._tzm&&U._d.setUTCMinutes(U._d.getUTCMinutes()-U._tzm),U._nextDay&&(U._a[qn]=24),U._w&&typeof U._w.d<"u"&&U._w.d!==Vt&&(h(U).weekdayMismatch=!0)}}function Do(U){if(U._f!==i.ISO_8601)if(U._f!==i.RFC_2822){U._a=[],h(U).empty=!0;var xe,$e,st,Vt,Dn,fi,us,ge=""+U._i,rr=ge.length,Kr=0;for(us=(st=Ie(U._f,U._locale).match(ae)||[]).length,xe=0;xe0&&h(U).unusedInput.push(Dn),ge=ge.slice(ge.indexOf($e)+$e.length),Kr+=$e.length),W[Vt]?($e?h(U).empty=!1:h(U).unusedTokens.push(Vt),kr(Vt,$e,U)):U._strict&&!$e&&h(U).unusedTokens.push(Vt);h(U).charsLeftOver=rr-Kr,ge.length>0&&h(U).unusedInput.push(ge),U._a[qn]<=12&&!0===h(U).bigHour&&U._a[qn]>0&&(h(U).bigHour=void 0),h(U).parsedDateParts=U._a.slice(0),h(U).meridiem=U._meridiem,U._a[qn]=function Ko(U,ge,xe){var $e;return null==xe?ge:null!=U.meridiemHour?U.meridiemHour(ge,xe):(null!=U.isPM&&(($e=U.isPM(xe))&&ge<12&&(ge+=12),!$e&&12===ge&&(ge=0)),ge)}(U._locale,U._a[qn],U._meridiem),null!==(fi=h(U).era)&&(U._a[sr]=U._locale.erasConvertYear(fi,U._a[sr])),co(U),Ni(U)}else Ki(U);else Ro(U)}function Qe(U){var ge=U._i,xe=U._f;return U._locale=U._locale||zr(U._l),null===ge||void 0===xe&&""===ge?M({nullInput:!0}):("string"==typeof ge&&(U._i=ge=U._locale.preparse(ge)),N(ge)?new R(Ni(ge)):(b(ge)?U._d=ge:u(xe)?function hs(U){var ge,xe,$e,st,Vt,Dn,rr=!1,Kr=U._f.length;if(0===Kr)return h(U).invalidFormat=!0,void(U._d=new Date(NaN));for(st=0;stthis?this:U:M()});function $i(U,ge){var xe,$e;if(1===ge.length&&u(ge[0])&&(ge=ge[0]),!ge.length)return kt();for(xe=ge[0],$e=1;$e=0?new Date(U+400,ge,xe)-Ri:new Date(U,ge,xe).valueOf()}function gs(U,ge,xe){return U<100&&U>=0?Date.UTC(U+400,ge,xe)-Ri:Date.UTC(U,ge,xe)}function aa(U,ge){return ge.erasAbbrRegex(U)}function zo(){var st,Vt,Dn,rr,Kr,U=[],ge=[],xe=[],$e=[],fi=this.eras();for(st=0,Vt=fi.length;st(Vt=et(U,$e,st))&&(ge=Vt),Zl.call(this,U,ge,xe,$e,st))}function Zl(U,ge,xe,$e,st){var Vt=me(U,ge,xe,$e,st),Dn=Fe(Vt.year,0,Vt.dayOfYear);return this.year(Dn.getUTCFullYear()),this.month(Dn.getUTCMonth()),this.date(Dn.getUTCDate()),this}re("N",0,0,"eraAbbr"),re("NN",0,0,"eraAbbr"),re("NNN",0,0,"eraAbbr"),re("NNNN",0,0,"eraName"),re("NNNNN",0,0,"eraNarrow"),re("y",["y",1],"yo","eraYear"),re("y",["yy",2],0,"eraYear"),re("y",["yyy",3],0,"eraYear"),re("y",["yyyy",4],0,"eraYear"),wt("N",aa),wt("NN",aa),wt("NNN",aa),wt("NNNN",function gu(U,ge){return ge.erasNameRegex(U)}),wt("NNNNN",function Ql(U,ge){return ge.erasNarrowRegex(U)}),nn(["N","NN","NNN","NNNN","NNNNN"],function(U,ge,xe,$e){var st=xe._locale.erasParse(U,$e,xe._strict);st?h(xe).era=st:h(xe).invalidEra=U}),wt("y",_t),wt("yy",_t),wt("yyy",_t),wt("yyyy",_t),wt("yo",function mu(U,ge){return ge._eraYearOrdinalRegex||_t}),nn(["y","yy","yyy","yyyy"],sr),nn(["yo"],function(U,ge,xe,$e){var st;xe._locale._eraYearOrdinalRegex&&(st=U.match(xe._locale._eraYearOrdinalRegex)),ge[sr]=xe._locale.eraYearOrdinalParse?xe._locale.eraYearOrdinalParse(U,st):parseInt(U,10)}),re(0,["gg",2],0,function(){return this.weekYear()%100}),re(0,["GG",2],0,function(){return this.isoWeekYear()%100}),la("gggg","weekYear"),la("ggggg","weekYear"),la("GGGG","isoWeekYear"),la("GGGGG","isoWeekYear"),wt("G",lt),wt("g",lt),wt("GG",we,vn),wt("gg",we,vn),wt("GGGG",ht,dt),wt("gggg",ht,dt),wt("GGGGG",He,Ue),wt("ggggg",He,Ue),nr(["gggg","ggggg","GGGG","GGGGG"],function(U,ge,xe,$e){ge[$e.substr(0,2)]=yn(U)}),nr(["gg","GG"],function(U,ge,xe,$e){ge[$e]=i.parseTwoDigitYear(U)}),re("Q",0,"Qo","quarter"),wt("Q",An),nn("Q",function(U,ge){ge[Mr]=3*(yn(U)-1)}),re("D",["DD",2],"Do","date"),wt("D",we,Tt),wt("DD",we,vn),wt("Do",function(U,ge){return U?ge._dayOfMonthOrdinalParse||ge._ordinalParse:ge._dayOfMonthOrdinalParseLenient}),nn(["D","DD"],yr),nn("Do",function(U,ge){ge[yr]=yn(U.match(we)[0])});var Ma=qt("Date",!0);re("DDD",["DDDD",3],"DDDo","dayOfYear"),wt("DDD",je),wt("DDDD",en),nn(["DDD","DDDD"],function(U,ge,xe){xe._dayOfYear=yn(U)}),re("m",["mm",2],0,"minute"),wt("m",we,Ht),wt("mm",we,vn),nn(["m","mm"],Rn);var sl=qt("Minutes",!1);re("s",["ss",2],0,"second"),wt("s",we,Ht),wt("ss",we,vn),nn(["s","ss"],oi);var No,ni,pu=qt("Seconds",!1);for(re("S",0,0,function(){return~~(this.millisecond()/100)}),re(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),re(0,["SSS",3],0,"millisecond"),re(0,["SSSS",4],0,function(){return 10*this.millisecond()}),re(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),re(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),re(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),re(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),re(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),wt("S",je,An),wt("SS",je,vn),wt("SSS",je,en),No="SSSS";No.length<=9;No+="S")wt(No,_t);function ql(U,ge){ge[Sr]=yn(1e3*("0."+U))}for(No="S";No.length<=9;No+="S")nn(No,ql);ni=qt("Milliseconds",!1),re("z",0,0,"zoneAbbr"),re("zz",0,0,"zoneName");var Un=R.prototype;function le(U){return U}Un.add=Ti,Un.calendar=function Be(U,ge){1===arguments.length&&(arguments[0]?wr(arguments[0])?(U=arguments[0],ge=void 0):function ei(U){var st,ge=a(U)&&!c(U),xe=!1,$e=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(st=0;st<$e.length;st+=1)xe=xe||e(U,$e[st]);return ge&&xe}(arguments[0])&&(ge=arguments[0],U=void 0):(U=void 0,ge=void 0));var xe=U||kt(),$e=io(xe,this).startOf("day"),st=i.calendarFormat(this,$e)||"sameElse",Vt=ge&&(F(ge[st])?ge[st].call(this,xe):ge[st]);return this.format(Vt||this.localeData().calendar(st,this,kt(xe)))},Un.clone=function ot(){return new R(this)},Un.diff=function Ft(U,ge,xe){var $e,st,Vt;if(!this.isValid())return NaN;if(!($e=io(U,this)).isValid())return NaN;switch(st=6e4*($e.utcOffset()-this.utcOffset()),ge=Bt(ge)){case"year":Vt=cn(this,$e)/12;break;case"month":Vt=cn(this,$e);break;case"quarter":Vt=cn(this,$e)/3;break;case"second":Vt=(this-$e)/1e3;break;case"minute":Vt=(this-$e)/6e4;break;case"hour":Vt=(this-$e)/36e5;break;case"day":Vt=(this-$e-st)/864e5;break;case"week":Vt=(this-$e-st)/6048e5;break;default:Vt=this-$e}return xe?Vt:tn(Vt)},Un.endOf=function so(U){var ge,xe;if(void 0===(U=Bt(U))||"millisecond"===U||!this.isValid())return this;switch(xe=this._isUTC?gs:Vo,U){case"year":ge=xe(this.year()+1,0,1)-1;break;case"quarter":ge=xe(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":ge=xe(this.year(),this.month()+1,1)-1;break;case"week":ge=xe(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":ge=xe(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":ge=xe(this.year(),this.month(),this.date()+1)-1;break;case"hour":ge=this._d.valueOf(),ge+=Hr-eo(ge+(this._isUTC?0:this.utcOffset()*Qr),Hr)-1;break;case"minute":ge=this._d.valueOf(),ge+=Qr-eo(ge,Qr)-1;break;case"second":ge=this._d.valueOf(),ge+=1e3-eo(ge,1e3)-1}return this._d.setTime(ge),i.updateOffset(this,!0),this},Un.format=function Re(U){U||(U=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var ge=ye(this,U);return this.localeData().postformat(ge)},Un.from=function Mt(U,ge){return this.isValid()&&(N(U)&&U.isValid()||kt(U).isValid())?fr({to:this,from:U}).locale(this.locale()).humanize(!ge):this.localeData().invalidDate()},Un.fromNow=function Xt(U){return this.from(kt(),U)},Un.to=function sn(U,ge){return this.isValid()&&(N(U)&&U.isValid()||kt(U).isValid())?fr({from:this,to:U}).locale(this.locale()).humanize(!ge):this.localeData().invalidDate()},Un.toNow=function In(U){return this.to(kt(),U)},Un.get=function or(U){return F(this[U=Bt(U)])?this[U]():this},Un.invalidAt=function Qs(){return h(this).overflow},Un.isAfter=function O(U,ge){var xe=N(U)?U:kt(U);return!(!this.isValid()||!xe.isValid())&&("millisecond"===(ge=Bt(ge)||"millisecond")?this.valueOf()>xe.valueOf():xe.valueOf()9999?ye(xe,ge?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):F(Date.prototype.toISOString)?ge?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ye(xe,"Z")):ye(xe,ge?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Un.inspect=function Se(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var xe,$e,U="moment",ge="";return this.isLocal()||(U=0===this.utcOffset()?"moment.utc":"moment.parseZone",ge="Z"),xe="["+U+'("]',$e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(xe+$e+"-MM-DD[T]HH:mm:ss.SSS"+ge+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Un[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Un.toJSON=function Gl(){return this.isValid()?this.toISOString():null},Un.toString=function q(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Un.unix=function hi(){return Math.floor(this.valueOf()/1e3)},Un.valueOf=function Yo(){return this._d.valueOf()-6e4*(this._offset||0)},Un.creationData=function Os(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Un.eraName=function Kl(){var U,ge,xe,$e=this.localeData().eras();for(U=0,ge=$e.length;Uthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Un.isLocal=function zt(){return!!this.isValid()&&!this._isUTC},Un.isUtcOffset=function bn(){return!!this.isValid()&&this._isUTC},Un.isUtc=Wn,Un.isUTC=Wn,Un.zoneAbbr=function Us(){return this._isUTC?"UTC":""},Un.zoneName=function Ea(){return this._isUTC?"Coordinated Universal Time":""},Un.dates=L("dates accessor is deprecated. Use date instead.",Ma),Un.months=L("months accessor is deprecated. Use month instead",ur),Un.years=L("years accessor is deprecated. Use year instead",Or),Un.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function oe(U,ge){return null!=U?("string"!=typeof U&&(U=-U),this.utcOffset(U,ge),this):-this.utcOffset()}),Un.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ut(){if(!l(this._isDSTShifted))return this._isDSTShifted;var ge,U={};return T(U,this),(U=Qe(U))._a?(ge=U._isUTC?y(U._a):kt(U._a),this._isDSTShifted=this.isValid()&&function Di(U,ge,xe){var Dn,$e=Math.min(U.length,ge.length),st=Math.abs(U.length-ge.length),Vt=0;for(Dn=0;Dn<$e;Dn++)(xe&&U[Dn]!==ge[Dn]||!xe&&yn(U[Dn])!==yn(ge[Dn]))&&Vt++;return Vt+st}(U._a,ge.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Ce=ce.prototype;function fe(U,ge,xe,$e){var st=zr(),Vt=y().set($e,ge);return st[xe](Vt,U)}function Me(U,ge,xe){if(g(U)&&(ge=U,U=void 0),U=U||"",null!=ge)return fe(U,ge,xe,"month");var $e,st=[];for($e=0;$e<12;$e++)st[$e]=fe(U,$e,xe,"month");return st}function We(U,ge,xe,$e){"boolean"==typeof U?(g(ge)&&(xe=ge,ge=void 0),ge=ge||""):(xe=ge=U,U=!1,g(ge)&&(xe=ge,ge=void 0),ge=ge||"");var Dn,st=zr(),Vt=U?st._week.dow:0,rr=[];if(null!=xe)return fe(ge,(xe+Vt)%7,$e,"day");for(Dn=0;Dn<7;Dn++)rr[Dn]=fe(ge,(Dn+Vt)%7,$e,"day");return rr}Ce.calendar=function Y(U,ge,xe){var $e=this._calendar[U]||this._calendar.sameElse;return F($e)?$e.call(ge,xe):$e},Ce.longDateFormat=function ie(U){var ge=this._longDateFormat[U],xe=this._longDateFormat[U.toUpperCase()];return ge||!xe?ge:(this._longDateFormat[U]=xe.match(ae).map(function($e){return"MMMM"===$e||"MM"===$e||"DD"===$e||"dddd"===$e?$e.slice(1):$e}).join(""),this._longDateFormat[U])},Ce.invalidDate=function ze(){return this._invalidDate},Ce.ordinal=function ft(U){return this._ordinal.replace("%d",U)},Ce.preparse=le,Ce.postformat=le,Ce.relativeTime=function mt(U,ge,xe,$e){var st=this._relativeTime[xe];return F(st)?st(U,ge,xe,$e):st.replace(/%d/i,U)},Ce.pastFuture=function Wt(U,ge){var xe=this._relativeTime[U>0?"future":"past"];return F(xe)?xe(ge):xe.replace(/%s/i,ge)},Ce.set=function ee(U){var ge,xe;for(xe in U)e(U,xe)&&(F(ge=U[xe])?this[xe]=ge:this["_"+xe]=ge);this._config=U,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ce.eras=function fu(U,ge){var xe,$e,st,Vt=this._eras||zr("en")._eras;for(xe=0,$e=Vt.length;xe<$e;++xe)switch("string"==typeof Vt[xe].since&&(st=i(Vt[xe].since).startOf("day"),Vt[xe].since=st.valueOf()),typeof Vt[xe].until){case"undefined":Vt[xe].until=1/0;break;case"string":st=i(Vt[xe].until).startOf("day").valueOf(),Vt[xe].until=st.valueOf()}return Vt},Ce.erasParse=function Jo(U,ge,xe){var $e,st,Dn,rr,Kr,Vt=this.eras();for(U=U.toUpperCase(),$e=0,st=Vt.length;$e=0)return Vt[$e]},Ce.erasConvertYear=function as(U,ge){var xe=U.since<=U.until?1:-1;return void 0===ge?i(U.since).year():i(U.since).year()+(ge-U.offset)*xe},Ce.erasAbbrRegex=function Sa(U){return e(this,"_erasAbbrRegex")||zo.call(this),U?this._erasAbbrRegex:this._erasRegex},Ce.erasNameRegex=function nl(U){return e(this,"_erasNameRegex")||zo.call(this),U?this._erasNameRegex:this._erasRegex},Ce.erasNarrowRegex=function sa(U){return e(this,"_erasNarrowRegex")||zo.call(this),U?this._erasNarrowRegex:this._erasRegex},Ce.months=function Xn(U,ge){return U?u(this._months)?this._months[U.month()]:this._months[(this._months.isFormat||dn).test(ge)?"format":"standalone"][U.month()]:u(this._months)?this._months:this._months.standalone},Ce.monthsShort=function Yn(U,ge){return U?u(this._monthsShort)?this._monthsShort[U.month()]:this._monthsShort[dn.test(ge)?"format":"standalone"][U.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ce.monthsParse=function Er(U,ge,xe){var $e,st,Vt;if(this._monthsParseExact)return Tr.call(this,U,ge,xe);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$e=0;$e<12;$e++){if(st=y([2e3,$e]),xe&&!this._longMonthsParse[$e]&&(this._longMonthsParse[$e]=new RegExp("^"+this.months(st,"").replace(".","")+"$","i"),this._shortMonthsParse[$e]=new RegExp("^"+this.monthsShort(st,"").replace(".","")+"$","i")),!xe&&!this._monthsParse[$e]&&(Vt="^"+this.months(st,"")+"|^"+this.monthsShort(st,""),this._monthsParse[$e]=new RegExp(Vt.replace(".",""),"i")),xe&&"MMMM"===ge&&this._longMonthsParse[$e].test(U))return $e;if(xe&&"MMM"===ge&&this._shortMonthsParse[$e].test(U))return $e;if(!xe&&this._monthsParse[$e].test(U))return $e}},Ce.monthsRegex=function B(U){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),U?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=Mn),this._monthsStrictRegex&&U?this._monthsStrictRegex:this._monthsRegex)},Ce.monthsShortRegex=function un(U){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),U?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=En),this._monthsShortStrictRegex&&U?this._monthsShortStrictRegex:this._monthsShortRegex)},Ce.week=function pt(U){return Ae(U,this._week.dow,this._week.doy).week},Ce.firstDayOfYear=function Jt(){return this._week.doy},Ce.firstDayOfWeek=function Nt(){return this._week.dow},Ce.weekdays=function lo(U,ge){var xe=u(this._weekdays)?this._weekdays:this._weekdays[U&&!0!==U&&this._weekdays.isFormat.test(ge)?"format":"standalone"];return!0===U?Gt(xe,this._week.dow):U?xe[U.day()]:xe},Ce.weekdaysMin=function _r(U){return!0===U?Gt(this._weekdaysMin,this._week.dow):U?this._weekdaysMin[U.day()]:this._weekdaysMin},Ce.weekdaysShort=function vi(U){return!0===U?Gt(this._weekdaysShort,this._week.dow):U?this._weekdaysShort[U.day()]:this._weekdaysShort},Ce.weekdaysParse=function Gn(U,ge,xe){var $e,st,Vt;if(this._weekdaysParseExact)return Pn.call(this,U,ge,xe);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$e=0;$e<7;$e++){if(st=y([2e3,1]).day($e),xe&&!this._fullWeekdaysParse[$e]&&(this._fullWeekdaysParse[$e]=new RegExp("^"+this.weekdays(st,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$e]=new RegExp("^"+this.weekdaysShort(st,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$e]=new RegExp("^"+this.weekdaysMin(st,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$e]||(Vt="^"+this.weekdays(st,"")+"|^"+this.weekdaysShort(st,"")+"|^"+this.weekdaysMin(st,""),this._weekdaysParse[$e]=new RegExp(Vt.replace(".",""),"i")),xe&&"dddd"===ge&&this._fullWeekdaysParse[$e].test(U))return $e;if(xe&&"ddd"===ge&&this._shortWeekdaysParse[$e].test(U))return $e;if(xe&&"dd"===ge&&this._minWeekdaysParse[$e].test(U))return $e;if(!xe&&this._weekdaysParse[$e].test(U))return $e}},Ce.weekdaysRegex=function Fn(U){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Zr.call(this),U?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Nr),this._weekdaysStrictRegex&&U?this._weekdaysStrictRegex:this._weekdaysRegex)},Ce.weekdaysShortRegex=function ti(U){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Zr.call(this),U?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lr),this._weekdaysShortStrictRegex&&U?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ce.weekdaysMinRegex=function Xr(U){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Zr.call(this),U?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ct),this._weekdaysMinStrictRegex&&U?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ce.isPM=function go(U){return"p"===(U+"").toLowerCase().charAt(0)},Ce.meridiem=function qi(U,ge,xe){return U>11?xe?"pm":"PM":xe?"am":"AM"},bi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(U){var ge=U%10;return U+(1===yn(U%100/10)?"th":1===ge?"st":2===ge?"nd":3===ge?"rd":"th")}}),i.lang=L("moment.lang is deprecated. Use moment.locale instead.",bi),i.langData=L("moment.langData is deprecated. Use moment.localeData instead.",zr);var xr=Math.abs;function vo(U,ge,xe,$e){var st=fr(ge,xe);return U._milliseconds+=$e*st._milliseconds,U._days+=$e*st._days,U._months+=$e*st._months,U._bubble()}function ha(U){return U<0?Math.floor(U):Math.ceil(U)}function Dr(U){return 4800*U/146097}function Ha(U){return 146097*U/4800}function Ps(U){return function(){return this.as(U)}}var tc=Ps("ms"),vu=Ps("s"),Pg=Ps("m"),bu=Ps("h"),Ab=Ps("d"),Tb=Ps("w"),Pb=Ps("M"),ps=Ps("Q"),nc=Ps("y"),Vr=tc;function wa(U){return function(){return this.isValid()?this._data[U]:NaN}}var Bd=wa("milliseconds"),Ib=wa("seconds"),Ig=wa("minutes"),yu=wa("hours"),ll=wa("days"),Ud=wa("months"),$o=wa("years");var fa=Math.round,cl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ul(U,ge,xe,$e,st){return st.relativeTime(ge||1,!!xe,U,$e)}var Su=Math.abs;function Da(U){return(U>0)-(U<0)||+U}function Xs(){if(!this.isValid())return this.localeData().invalidDate();var $e,st,Vt,Dn,Kr,fi,us,Zs,U=Su(this._milliseconds)/1e3,ge=Su(this._days),xe=Su(this._months),rr=this.asSeconds();return rr?($e=tn(U/60),st=tn($e/60),U%=60,$e%=60,Vt=tn(xe/12),xe%=12,Dn=U?U.toFixed(3).replace(/\.?0+$/,""):"",Kr=rr<0?"-":"",fi=Da(this._months)!==Da(rr)?"-":"",us=Da(this._days)!==Da(rr)?"-":"",Zs=Da(this._milliseconds)!==Da(rr)?"-":"",Kr+"P"+(Vt?fi+Vt+"Y":"")+(xe?fi+xe+"M":"")+(ge?us+ge+"D":"")+(st||$e||U?"T":"")+(st?Zs+st+"H":"")+($e?Zs+$e+"M":"")+(U?Zs+Dn+"S":"")):"P0D"}var Ci=Zo.prototype;return Ci.isValid=function is(){return this._isValid},Ci.abs=function di(){var U=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),U.milliseconds=xr(U.milliseconds),U.seconds=xr(U.seconds),U.minutes=xr(U.minutes),U.hours=xr(U.hours),U.months=xr(U.months),U.years=xr(U.years),this},Ci.add=function da(U,ge){return vo(this,U,ge,1)},Ci.subtract=function Hs(U,ge){return vo(this,U,ge,-1)},Ci.as=function _u(U){if(!this.isValid())return NaN;var ge,xe,$e=this._milliseconds;if("month"===(U=Bt(U))||"quarter"===U||"year"===U)switch(ge=this._days+$e/864e5,xe=this._months+Dr(ge),U){case"month":return xe;case"quarter":return xe/3;case"year":return xe/12}else switch(ge=this._days+Math.round(Ha(this._months)),U){case"week":return ge/7+$e/6048e5;case"day":return ge+$e/864e5;case"hour":return 24*ge+$e/36e5;case"minute":return 1440*ge+$e/6e4;case"second":return 86400*ge+$e/1e3;case"millisecond":return Math.floor(864e5*ge)+$e;default:throw new Error("Unknown unit "+U)}},Ci.asMilliseconds=tc,Ci.asSeconds=vu,Ci.asMinutes=Pg,Ci.asHours=bu,Ci.asDays=Ab,Ci.asWeeks=Tb,Ci.asMonths=Pb,Ci.asQuarters=ps,Ci.asYears=nc,Ci.valueOf=Vr,Ci._bubble=function to(){var st,Vt,Dn,rr,Kr,U=this._milliseconds,ge=this._days,xe=this._months,$e=this._data;return U>=0&&ge>=0&&xe>=0||U<=0&&ge<=0&&xe<=0||(U+=864e5*ha(Ha(xe)+ge),ge=0,xe=0),$e.milliseconds=U%1e3,st=tn(U/1e3),$e.seconds=st%60,Vt=tn(st/60),$e.minutes=Vt%60,Dn=tn(Vt/60),$e.hours=Dn%24,ge+=tn(Dn/24),xe+=Kr=tn(Dr(ge)),ge-=ha(Ha(Kr)),rr=tn(xe/12),xe%=12,$e.days=ge,$e.months=xe,$e.years=rr,this},Ci.clone=function Bi(){return fr(this)},Ci.get=function al(U){return U=Bt(U),this.isValid()?this[U+"s"]():NaN},Ci.milliseconds=Bd,Ci.seconds=Ib,Ci.minutes=Ig,Ci.hours=yu,Ci.days=ll,Ci.weeks=function Hd(){return tn(this.days()/7)},Ci.months=Ud,Ci.years=$o,Ci.humanize=function xg(U,ge){if(!this.isValid())return this.localeData().invalidDate();var st,Vt,xe=!1,$e=cl;return"object"==typeof U&&(ge=U,U=!1),"boolean"==typeof U&&(xe=U),"object"==typeof ge&&($e=Object.assign({},cl,ge),null!=ge.s&&null==ge.ss&&($e.ss=ge.s-1)),Vt=function Cu(U,ge,xe,$e){var st=fr(U).abs(),Vt=fa(st.as("s")),Dn=fa(st.as("m")),rr=fa(st.as("h")),Kr=fa(st.as("d")),fi=fa(st.as("M")),us=fa(st.as("w")),Zs=fa(st.as("y")),ga=Vt<=xe.ss&&["s",Vt]||Vt0,ga[4]=$e,ul.apply(null,ga)}(this,!xe,$e,st=this.localeData()),xe&&(Vt=st.pastFuture(+this,Vt)),st.postformat(Vt)},Ci.toISOString=Xs,Ci.toString=Xs,Ci.toJSON=Xs,Ci.locale=gr,Ci.localeData=Wr,Ci.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xs),Ci.lang=br,re("X",0,0,"unix"),re("x",0,0,"valueOf"),wt("x",lt),wt("X",/[+-]?\d+(\.\d{1,3})?/),nn("X",function(U,ge,xe){xe._d=new Date(1e3*parseFloat(U))}),nn("x",function(U,ge,xe){xe._d=new Date(yn(U))}),i.version="2.30.1",function d(U){n=U}(kt),i.fn=Un,i.min=function Mo(){return $i("isBefore",[].slice.call(arguments,0))},i.max=function Ao(){return $i("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=y,i.unix=function ec(U){return kt(1e3*U)},i.months=function tt(U,ge){return Me(U,ge,"months")},i.isDate=b,i.locale=bi,i.invalid=M,i.duration=fr,i.isMoment=N,i.weekdays=function gn(U,ge,xe){return We(U,ge,xe,"weekdays")},i.parseZone=function ms(){return kt.apply(null,arguments).parseZone()},i.localeData=zr,i.isDuration=xo,i.monthsShort=function xt(U,ge){return Me(U,ge,"monthsShort")},i.weekdaysMin=function Zn(U,ge,xe){return We(U,ge,xe,"weekdaysMin")},i.defineLocale=Eo,i.updateLocale=function po(U,ge){if(null!=ge){var xe,$e,st=ro;null!=Rr[U]&&null!=Rr[U].parentLocale?Rr[U].set(X(Rr[U]._config,ge)):(null!=($e=wi(U))&&(st=$e._config),ge=X(st,ge),null==$e&&(ge.abbr=U),(xe=new ce(ge)).parentLocale=Rr[U],Rr[U]=xe),bi(U)}else null!=Rr[U]&&(null!=Rr[U].parentLocale?(Rr[U]=Rr[U].parentLocale,U===bi()&&bi(U)):null!=Rr[U]&&delete Rr[U]);return Rr[U]},i.locales=function yo(){return Q(Rr)},i.weekdaysShort=function ln(U,ge,xe){return We(U,ge,xe,"weekdaysShort")},i.normalizeUnits=Bt,i.relativeTimeRounding=function rc(U){return void 0===U?fa:"function"==typeof U&&(fa=U,!0)},i.relativeTimeThreshold=function kg(U,ge){return void 0!==cl[U]&&(void 0===ge?cl[U]:(cl[U]=ge,"s"===U&&(cl.ss=ge-1),!0))},i.calendarFormat=function oo(U,ge){var xe=U.diff(ge,"days",!0);return xe<-6?"sameElse":xe<-1?"lastWeek":xe<0?"lastDay":xe<1?"sameDay":xe<2?"nextDay":xe<7?"nextWeek":"sameElse"},i.prototype=Un,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},35584:(module,__unused_webpack_exports,__webpack_require__)=>{var _asyncToGenerator=__webpack_require__(1196).default,o;globalThis,o=()=>(()=>{"use strict";var __webpack_modules__=[,(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.VerbosityLevel=f.Util=f.UnknownErrorException=f.UnexpectedResponseException=f.UNSUPPORTED_FEATURES=f.TextRenderingMode=f.StreamType=f.RenderingIntentFlag=f.PermissionFlag=f.PasswordResponses=f.PasswordException=f.PageActionEventType=f.OPS=f.MissingPDFException=f.LINE_FACTOR=f.LINE_DESCENT_FACTOR=f.InvalidPDFException=f.ImageKind=f.IDENTITY_MATRIX=f.FormatError=f.FontType=f.FeatureTest=f.FONT_IDENTITY_MATRIX=f.DocumentActionEventType=f.CMapCompressionType=f.BaseException=f.AnnotationType=f.AnnotationStateModelType=f.AnnotationReviewState=f.AnnotationReplyType=f.AnnotationMode=f.AnnotationMarkedState=f.AnnotationFlag=f.AnnotationFieldFlag=f.AnnotationEditorType=f.AnnotationEditorPrefix=f.AnnotationEditorParamsType=f.AnnotationBorderStyleType=f.AnnotationActionEventType=f.AbortException=void 0,f.arrayByteLength=ft,f.arraysToBytes=function rt(lt){const Et=lt.length;if(1===Et&<[0]instanceof Uint8Array)return lt[0];let it=0;for(let Tt=0;TtEt}),lt.promise=new Promise(function(it,Yt){lt.resolve=function(gt){Et=!0,it(gt)},lt.reject=function(gt){Et=!0,Yt(gt)}}),lt},f.createValidAbsoluteUrl=function W(lt,Et=null,it=null){if(!lt)return null;try{if(it&&"string"==typeof lt){if(it.addDefaultProtocol&<.startsWith("www.")){const gt=lt.match(/\./g);gt&>.length>=2&&(lt=`http://${lt}`)}if(it.tryConvertEncoding)try{lt=Pe(lt)}catch{}}const Yt=Et?new URL(lt,Et):new URL(lt);if(function K(lt){if(!lt)return!1;switch(lt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(Yt))return Yt}catch{}return null},f.escapeString=function dt(lt){return lt.replace(/([()\\\n\r])/g,Et=>"\n"===Et?"\\n":"\r"===Et?"\\r":`\\${Et}`)},f.getModificationDate=function He(lt=new Date){return[lt.getUTCFullYear().toString(),(lt.getUTCMonth()+1).toString().padStart(2,"0"),lt.getUTCDate().toString().padStart(2,"0"),lt.getUTCHours().toString().padStart(2,"0"),lt.getUTCMinutes().toString().padStart(2,"0"),lt.getUTCSeconds().toString().padStart(2,"0")].join("")},f.getVerbosityLevel=function ne(){return ce},f.info=function Y(lt){ce>=x.INFOS&&console.log(`Info: ${lt}`)},f.isArrayBuffer=function je(lt){return"object"==typeof lt&&null!==lt&&void 0!==lt.byteLength},f.isArrayEqual=function ht(lt,Et){if(lt.length!==Et.length)return!1;for(let it=0,Yt=lt.length;it>24&255,lt>>16&255,lt>>8&255,255<)},f.stringToBytes=nt,f.stringToPDFString=function en(lt){if(lt[0]>="\xef"){let it;if("\xfe"===lt[0]&&"\xff"===lt[1]?it="utf-16be":"\xff"===lt[0]&&"\xfe"===lt[1]?it="utf-16le":"\xef"===lt[0]&&"\xbb"===lt[1]&&"\xbf"===lt[2]&&(it="utf-8"),it)try{const Yt=new TextDecoder(it,{fatal:!0}),gt=nt(lt);return Yt.decode(gt)}catch(Yt){H(`stringToPDFString: "${Yt}".`)}}const Et=[];for(let it=0,Yt=lt.length;it>8&255),String.fromCharCode(255>))}return Et.join("")},f.stringToUTF8String=Pe,f.unreachable=ae,f.utf8StringToString=function Ge(lt){return unescape(encodeURIComponent(lt))},f.warn=H,o(2),f.IDENTITY_MATRIX=[1,0,0,1,0,0],f.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],f.LINE_FACTOR=1.35,f.LINE_DESCENT_FACTOR=.35,f.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},f.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},f.AnnotationEditorPrefix="pdfjs_internal_editor_",f.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},f.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},f.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},f.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},f.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},f.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},f.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},f.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},f.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},f.AnnotationReplyType={GROUP:"Group",REPLY:"R"},f.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},f.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},f.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},f.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},f.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},f.PageActionEventType={O:"PageOpen",C:"PageClose"},f.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},f.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const x={ERRORS:0,WARNINGS:1,INFOS:5};f.VerbosityLevel=x,f.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},f.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},f.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},f.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let ce=x.WARNINGS;function H(lt){ce>=x.WARNINGS&&console.log(`Warning: ${lt}`)}function ae(lt){throw new Error(lt)}function re(lt,Et,it){return Object.defineProperty(lt,Et,{value:it,enumerable:!0,configurable:!0,writable:!1}),it}const G=function(){function Et(it,Yt){this.constructor===Et&&ae("Cannot initialize BaseException."),this.message=it,this.name=Yt}return Et.prototype=new Error,Et.constructor=Et,Et}();function nt(lt){"string"!=typeof lt&&ae("Invalid argument for stringToBytes");const Et=lt.length,it=new Uint8Array(Et);for(let Yt=0;Ytlt.toString(16).padStart(2,"0"));class An{static makeHexColor(Et,it,Yt){return`#${wn[Et]}${wn[it]}${wn[Yt]}`}static scaleMinMax(Et,it){let Yt;Et[0]?(Et[0]<0&&(Yt=it[0],it[0]=it[1],it[1]=Yt),it[0]*=Et[0],it[1]*=Et[0],Et[3]<0&&(Yt=it[2],it[2]=it[3],it[3]=Yt),it[2]*=Et[3],it[3]*=Et[3]):(Yt=it[0],it[0]=it[2],it[2]=Yt,Yt=it[1],it[1]=it[3],it[3]=Yt,Et[1]<0&&(Yt=it[2],it[2]=it[3],it[3]=Yt),it[2]*=Et[1],it[3]*=Et[1],Et[2]<0&&(Yt=it[0],it[0]=it[1],it[1]=Yt),it[0]*=Et[2],it[1]*=Et[2]),it[0]+=Et[4],it[1]+=Et[4],it[2]+=Et[5],it[3]+=Et[5]}static transform(Et,it){return[Et[0]*it[0]+Et[2]*it[1],Et[1]*it[0]+Et[3]*it[1],Et[0]*it[2]+Et[2]*it[3],Et[1]*it[2]+Et[3]*it[3],Et[0]*it[4]+Et[2]*it[5]+Et[4],Et[1]*it[4]+Et[3]*it[5]+Et[5]]}static applyTransform(Et,it){return[Et[0]*it[0]+Et[1]*it[2]+it[4],Et[0]*it[1]+Et[1]*it[3]+it[5]]}static applyInverseTransform(Et,it){const Yt=it[0]*it[3]-it[1]*it[2];return[(Et[0]*it[3]-Et[1]*it[2]+it[2]*it[5]-it[4]*it[3])/Yt,(-Et[0]*it[1]+Et[1]*it[0]+it[4]*it[1]-it[5]*it[0])/Yt]}static getAxialAlignedBoundingBox(Et,it){const Yt=An.applyTransform(Et,it),gt=An.applyTransform(Et.slice(2,4),it),Tt=An.applyTransform([Et[0],Et[3]],it),Ht=An.applyTransform([Et[2],Et[1]],it);return[Math.min(Yt[0],gt[0],Tt[0],Ht[0]),Math.min(Yt[1],gt[1],Tt[1],Ht[1]),Math.max(Yt[0],gt[0],Tt[0],Ht[0]),Math.max(Yt[1],gt[1],Tt[1],Ht[1])]}static inverseTransform(Et){const it=Et[0]*Et[3]-Et[1]*Et[2];return[Et[3]/it,-Et[1]/it,-Et[2]/it,Et[0]/it,(Et[2]*Et[5]-Et[4]*Et[3])/it,(Et[4]*Et[1]-Et[5]*Et[0])/it]}static apply3dTransform(Et,it){return[Et[0]*it[0]+Et[1]*it[1]+Et[2]*it[2],Et[3]*it[0]+Et[4]*it[1]+Et[5]*it[2],Et[6]*it[0]+Et[7]*it[1]+Et[8]*it[2]]}static singularValueDecompose2dScale(Et){const it=[Et[0],Et[2],Et[1],Et[3]],Yt=Et[0]*it[0]+Et[1]*it[2],Ht=Et[2]*it[1]+Et[3]*it[3],Zt=(Yt+Ht)/2,wt=Math.sqrt((Yt+Ht)**2-4*(Yt*Ht-(Et[2]*it[0]+Et[3]*it[2])*(Et[0]*it[1]+Et[1]*it[3])))/2,Ct=Zt-wt||1;return[Math.sqrt(Zt+wt||1),Math.sqrt(Ct)]}static normalizeRect(Et){const it=Et.slice(0);return Et[0]>Et[2]&&(it[0]=Et[2],it[2]=Et[0]),Et[1]>Et[3]&&(it[1]=Et[3],it[3]=Et[1]),it}static intersect(Et,it){const Yt=Math.max(Math.min(Et[0],Et[2]),Math.min(it[0],it[2])),gt=Math.min(Math.max(Et[0],Et[2]),Math.max(it[0],it[2]));if(Yt>gt)return null;const Tt=Math.max(Math.min(Et[1],Et[3]),Math.min(it[1],it[3])),Ht=Math.min(Math.max(Et[1],Et[3]),Math.max(it[1],it[3]));return Tt>Ht?null:[Yt,Tt,gt,Ht]}static bezierBoundingBox(Et,it,Yt,gt,Tt,Ht,Zt,wt){const $t=[],Ct=[[],[]];let It,tn,yn,Tn,nn,nr,kr,Br;for(let qn=0;qn<2;++qn)if(0===qn?(tn=6*Et-12*Yt+6*Tt,It=-3*Et+9*Yt-9*Tt+3*Zt,yn=3*Yt-3*Et):(tn=6*it-12*gt+6*Ht,It=-3*it+9*gt-9*Ht+3*wt,yn=3*gt-3*it),Math.abs(It)<1e-12){if(Math.abs(tn)<1e-12)continue;Tn=-yn/tn,0{o(3)},(ve,f)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.isNodeJS=void 0;const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);f.isNodeJS=o},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:ve,NodeCMapReaderFactory:f,NodeStandardFontDataFactory:o}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=ve,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=f,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=o}function setPDFNetworkStreamFactory(ve){createPDFNetworkStream=ve}function getDocument(ve){const f=new PDFDocumentLoadingTask;let o;if("string"==typeof ve||ve instanceof URL)o={url:ve};else if((0,_util.isArrayBuffer)(ve))o={data:ve};else if(ve instanceof PDFDataRangeTransport)o={range:ve};else{if("object"!=typeof ve)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!ve.url&&!ve.data&&!ve.range)throw new Error("Invalid parameter object: need either .data, .range or .url");o=ve}const n=Object.create(null);let i=null,d=null;for(const a in o){const e=o[a];switch(a){case"url":if(typeof window<"u")try{n[a]=new URL(e,window.location).href;continue}catch(c){(0,_util.warn)(`Cannot create valid URL: "${c}".`)}else if("string"==typeof e||e instanceof URL){n[a]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":i=e;continue;case"worker":d=e;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&e instanceof Buffer)n[a]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"==typeof e)n[a]=(0,_util.stringToBytes)(e);else if("object"!=typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");n[a]=new Uint8Array(e)}else n[a]=new Uint8Array(e)}continue}n[a]=e}if(n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,(!Number.isInteger(n.rangeChunkSize)||n.rangeChunkSize<1)&&(n.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),(!Number.isInteger(n.maxImageSize)||n.maxImageSize<-1)&&(n.maxImageSize=-1),"string"!=typeof n.cMapUrl&&(n.cMapUrl=null),"string"!=typeof n.standardFontDataUrl&&(n.standardFontDataUrl=null),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),("object"!=typeof n.ownerDocument||null===n.ownerDocument)&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!d){const a={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};d=a.port?PDFWorker.fromPort(a):new PDFWorker(a),f._worker=d}const u=f.docId;return d.promise.then(function(){if(f.destroyed)throw new Error("Loading aborted");const a=_fetchDocument(d,n,i,u),e=new Promise(function(c){let l;i?l=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(l=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),c(l)});return Promise.all([a,e]).then(function([c,l]){if(f.destroyed)throw new Error("Loading aborted");const g=new _message_handler.MessageHandler(u,c,d.port),b=new WorkerTransport(g,f,l,n);f._transport=b,g.send("Ready",null)})}).catch(f._capability.reject),f}function _fetchDocument(ve,f,o,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(function*(ve,f,o,n){if(ve.destroyed)throw new Error("Worker was destroyed");o&&(f.length=o.length,f.initialData=o.initialData,f.progressiveDone=o.progressiveDone,f.contentDispositionFilename=o.contentDispositionFilename);const i=yield ve.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.16.105",source:{data:f.data,url:f.url,password:f.password,disableAutoFetch:f.disableAutoFetch,rangeChunkSize:f.rangeChunkSize,length:f.length},maxImageSize:f.maxImageSize,disableFontFace:f.disableFontFace,docBaseUrl:f.docBaseUrl,ignoreErrors:f.ignoreErrors,isEvalSupported:f.isEvalSupported,fontExtraProperties:f.fontExtraProperties,enableXfa:f.enableXfa,useSystemFonts:f.useSystemFonts,cMapUrl:f.useWorkerFetch?f.cMapUrl:null,standardFontDataUrl:f.useWorkerFetch?f.standardFontDataUrl:null});if(f.data&&(f.data=null),ve.destroyed)throw new Error("Worker was destroyed");return i})).apply(this,arguments)}class PDFDocumentLoadingTask{static#e=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){var f=this;return _asyncToGenerator(function*(){f.destroyed=!0,yield f._transport?.destroy(),f._transport=null,f._worker&&(f._worker.destroy(),f._worker=null)})()}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(f,o,n=!1,i=null){this.length=f,this.initialData=o,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(f){this._rangeListeners.push(f)}addProgressListener(f){this._progressListeners.push(f)}addProgressiveReadListener(f){this._progressiveReadListeners.push(f)}addProgressiveDoneListener(f){this._progressiveDoneListeners.push(f)}onDataRange(f,o){for(const n of this._rangeListeners)n(f,o)}onDataProgress(f,o){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(f,o)})}onDataProgressiveRead(f){this._readyCapability.promise.then(()=>{for(const o of this._progressiveReadListeners)o(f)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const f of this._progressiveDoneListeners)f()})}transportReady(){this._readyCapability.resolve()}requestDataRange(f,o){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(f,o){var i,n=this;this._pdfInfo=f,this._transport=o,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(i=_asyncToGenerator(function*(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),n.stats||{streamTypes:{},fontTypes:{}}}),function(){return i.apply(this,arguments)})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(f){return this._transport.getPage(f)}getPageIndex(f){return this._transport.getPageIndex(f)}getDestinations(){return this._transport.getDestinations()}getDestination(f){return this._transport.getDestination(f)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(f=!1){return this._transport.startCleanup(f||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(f,o,n,i,d=!1){this._pageIndex=f,this._pageInfo=o,this._ownerDocument=i,this._transport=n,this._stats=d?new _display_utils.StatTimer:null,this._pdfBug=d,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:f,rotation:o=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:d=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:f,rotation:o,offsetX:n,offsetY:i,dontFlip:d})}getAnnotations({intent:f="display"}={}){const o=this._transport.getRenderingIntent(f);let n=this._annotationPromises.get(o.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,o.renderingIntent),this._annotationPromises.set(o.cacheKey,n),n=n.then(i=>{for(const d of i)void 0!==d.titleObj&&Object.defineProperty(d,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),d.titleObj.str)}),void 0!==d.contentsObj&&Object.defineProperty(d,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),d.contentsObj.str)});return i})),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}getXfa(){var f=this;return _asyncToGenerator(function*(){return f._transport._htmlForXfa?.children[f._pageIndex]||null})()}render({canvasContext:f,viewport:o,intent:n="display",annotationMode:i=_util.AnnotationMode.ENABLE,transform:d=null,imageLayer:u=null,canvasFactory:a=null,background:e=null,optionalContentConfigPromise:c=null,annotationCanvasMap:l=null,pageColors:g=null,printAnnotationStorage:b=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const p=this._transport.getRenderingIntent(n,i,b);this.pendingCleanup=!1,c||(c=this._transport.getOptionalContentConfig());let S=this._intentStates.get(p.cacheKey);S||(S=Object.create(null),this._intentStates.set(p.cacheKey,S)),S.streamReaderCancelTimeout&&(clearTimeout(S.streamReaderCancelTimeout),S.streamReaderCancelTimeout=null);const y=a||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),m=!!(p.renderingIntent&_util.RenderingIntentFlag.PRINT);S.displayReadyCapability||(S.displayReadyCapability=(0,_util.createPromiseCapability)(),S.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(p));const h=M=>{S.renderTasks.delete(C),(this.cleanupAfterRender||m)&&(this.pendingCleanup=!0),this._tryCleanup(),M?(C.capability.reject(M),this._abortOperatorList({intentState:S,reason:M instanceof Error?M:new Error(M)})):C.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},C=new InternalRenderTask({callback:h,params:{canvasContext:f,viewport:o,transform:d,imageLayer:u,background:e},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:l,operatorList:S.operatorList,pageIndex:this._pageIndex,canvasFactory:y,useRequestAnimationFrame:!m,pdfBug:this._pdfBug,pageColors:g});(S.renderTasks||=new Set).add(C);const v=C.task;return Promise.all([S.displayReadyCapability.promise,c]).then(([M,E])=>{this.pendingCleanup?h():(this._stats&&this._stats.time("Rendering"),C.initializeGraphics({transparency:M,optionalContentConfig:E}),C.operatorListChanged())}).catch(h),v}getOperatorList({intent:f="display",annotationMode:o=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}={}){const d=this._transport.getRenderingIntent(f,o,n,!0);let a,u=this._intentStates.get(d.cacheKey);return u||(u=Object.create(null),this._intentStates.set(d.cacheKey,u)),u.opListReadCapability||(a=Object.create(null),a.operatorListChanged=function i(){u.operatorList.lastChunk&&(u.opListReadCapability.resolve(u.operatorList),u.renderTasks.delete(a))},u.opListReadCapability=(0,_util.createPromiseCapability)(),(u.renderTasks||=new Set).add(a),u.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(d)),u.opListReadCapability.promise}streamTextContent({disableCombineTextItems:f=!1,includeMarkedContent:o=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==f,includeMarkedContent:!0===o},{highWaterMark:100,size:i=>i.items.length})}getTextContent(f={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>_xfa_text.XfaText.textContent(n));const o=this.streamTextContent(f);return new Promise(function(n,i){const u=o.getReader(),a={items:[],styles:Object.create(null)};!function d(){u.read().then(function({value:e,done:c}){c?n(a):(Object.assign(a.styles,e.styles),a.items.push(...e.items),d())},i)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const f=[];for(const o of this._intentStates.values())if(this._abortOperatorList({intentState:o,reason:new Error("Page was destroyed."),force:!0}),!o.opListReadCapability)for(const n of o.renderTasks)f.push(n.completed),n.cancel();this.objs.clear();for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(f)}cleanup(f=!1){return this.pendingCleanup=!0,this._tryCleanup(f)}_tryCleanup(f=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:o,operatorList:n}of this._intentStates.values())if(o.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,f&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(f,o){const n=this._intentStates.get(o);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(f))}_renderPageChunk(f,o){for(let n=0,i=f.length;n{d.read().then(({value:e,done:c})=>{c?u.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,u),a())},e=>{if(u.streamReader=null,!this._transport.destroyed){if(u.operatorList){u.operatorList.lastChunk=!0;for(const c of u.renderTasks)c.operatorListChanged();this._tryCleanup()}if(u.displayReadyCapability)u.displayReadyCapability.reject(e);else{if(!u.opListReadCapability)throw e;u.opListReadCapability.reject(e)}}})};a()}_abortOperatorList({intentState:f,reason:o,force:n=!1}){if(f.streamReader){if(!n){if(f.renderTasks.size>0)return;if(o instanceof _display_utils.RenderingCancelledException)return void(f.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:f,reason:o,force:!0}),f.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(f.streamReader.cancel(new _util.AbortException(o.message)).catch(()=>{}),f.streamReader=null,!this._transport.destroyed){for(const[i,d]of this._intentStates)if(d===f){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(f,o){const n={data:structuredClone(f,o)};this._deferred.then(()=>{for(const i of this._listeners)i.call(this,n)})}addEventListener(f,o){this._listeners.push(o)}removeEventListener(f,o){const n=this._listeners.indexOf(o);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const ve=document?.currentScript?.src;ve&&(PDFWorkerUtil.fallbackWorkerSrc=ve.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(ve,f){let o;try{if(o=new URL(ve),!o.origin||"null"===o.origin)return!1}catch{return!1}const n=new URL(f,o);return o.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(ve){return URL.createObjectURL(new Blob([`importScripts("${ve}");`]))};class PDFWorker{static#workerPorts=new WeakMap;constructor({name:ve=null,port:f=null,verbosity:o=(0,_util.getVerbosityLevel)()}={}){if(f&&PDFWorker.#workerPorts.has(f))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=ve,this.destroyed=!1,this.verbosity=o,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,f)return PDFWorker.#workerPorts.set(f,this),void this._initializeFromPort(f);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(ve){this._port=ve,this._messageHandler=new _message_handler.MessageHandler("main","worker",ve),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:ve}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,ve)||(ve=PDFWorkerUtil.createCDNWrapper(new URL(ve,window.location).href));const f=new Worker(ve),o=new _message_handler.MessageHandler("main","worker",f),n=()=>{f.removeEventListener("error",i),o.destroy(),f.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||n()};f.addEventListener("error",i),o.on("test",u=>{f.removeEventListener("error",i),this.destroyed?n():u?(this._messageHandler=o,this._port=f,this._webWorker=f,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),o.destroy(),f.terminate())}),o.on("ready",u=>{if(f.removeEventListener("error",i),this.destroyed)n();else try{d()}catch{this._setupFakeWorker()}});const d=()=>{const u=new Uint8Array;o.send("test",u,[u.buffer])};return void d()}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(ve=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const f=new LoopbackPort;this._port=f;const o="fake"+PDFWorkerUtil.fakeWorkerId++,n=new _message_handler.MessageHandler(o+"_worker",o,f);ve.setup(n,f);const i=new _message_handler.MessageHandler(o,o+"_worker",f);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})}).catch(ve=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${ve.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(ve){if(!ve?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#workerPorts.has(ve.port)?this.#workerPorts.get(ve.port):new PDFWorker(ve)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var _this4=this;const loader=function(){var _ref2=_asyncToGenerator(function*(){const mainWorkerMessageHandler=_this4._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(_this4.workerSrc);return worker.WorkerMessageHandler}return yield(0,_display_utils.loadScript)(_this4.workerSrc),window.pdfjsWorker.WorkerMessageHandler});return function ve(){return _ref2.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(f,o,n,i){this.messageHandler=f,this.loadingTask=o,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:o.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this._params=i,i.useWorkerFetch||(this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.StandardFontDataFactory=new i.StandardFontDataFactory({baseUrl:i.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(f,o=_util.AnnotationMode.ENABLE,n=null,i=!1){let d=_util.RenderingIntentFlag.DISPLAY,u=null;switch(f){case"any":d=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":d=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${f}`)}switch(o){case _util.AnnotationMode.DISABLE:d+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:d+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:d+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,u=(d&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${o}`)}return i&&(d+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:d,cacheKey:`${d}_${_annotation_storage.AnnotationStorage.getHash(u)}`,annotationStorageMap:u}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const f=[];for(const n of this.#t.values())f.push(n._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const o=this.messageHandler.sendWithPromise("Terminate",null);return f.push(o),Promise.all(f).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:f,loadingTask:o}=this;f.on("GetReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=d=>{this._lastProgress={loaded:d.loaded,total:d.total}},i.onPull=()=>{this._fullReader.read().then(function({value:d,done:u}){u?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(d),"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(d),1,[d]))}).catch(d=>{i.error(d)})},i.onCancel=d=>{this._fullReader.cancel(d),i.ready.catch(u=>{if(!this.destroyed)throw u})}}),f.on("ReaderHeadersReady",n=>{const i=(0,_util.createPromiseCapability)(),d=this._fullReader;return d.headersReady.then(()=>{(!d.isStreamingSupported||!d.isRangeSupported)&&(this._lastProgress&&o.onProgress?.(this._lastProgress),d.onProgress=u=>{o.onProgress?.({loaded:u.loaded,total:u.total})}),i.resolve({isStreamingSupported:d.isStreamingSupported,isRangeSupported:d.isRangeSupported,contentLength:d.contentLength})},i.reject),i.promise}),f.on("GetRangeReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const d=this._networkStream.getRangeReader(n.begin,n.end);d?(i.onPull=()=>{d.read().then(function({value:u,done:a}){a?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(u),"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(u),1,[u]))}).catch(u=>{i.error(u)})},i.onCancel=u=>{d.cancel(u),i.ready.catch(a=>{if(!this.destroyed)throw a})}):i.close()}),f.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,o._capability.resolve(new PDFDocumentProxy(n,this))}),f.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new _util.PasswordException(n.message,n.code);break;case"InvalidPDFException":i=new _util.InvalidPDFException(n.message);break;case"MissingPDFException":i=new _util.MissingPDFException(n.message);break;case"UnexpectedResponseException":i=new _util.UnexpectedResponseException(n.message,n.status);break;case"UnknownErrorException":i=new _util.UnknownErrorException(n.message,n.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}o._capability.reject(i)}),f.on("PasswordRequest",n=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),o.onPassword){const i=d=>{d instanceof Error?this._passwordCapability.reject(d):this._passwordCapability.resolve({password:d})};try{o.onPassword(i,n.code)}catch(d){this._passwordCapability.reject(d)}}else this._passwordCapability.reject(new _util.PasswordException(n.message,n.code));return this._passwordCapability.promise}),f.on("DataLoaded",n=>{o.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),f.on("StartRenderPage",n=>{this.destroyed||this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),f.on("commonobj",([n,i,d])=>{if(!this.destroyed&&!this.commonObjs.has(n))switch(i){case"Font":const u=this._params;if("error"in d){const c=d.error;(0,_util.warn)(`Error during font loading: ${c}`),this.commonObjs.resolve(n,c);break}let a=null;u.pdfBug&&globalThis.FontInspector?.enabled&&(a={registerFont(c,l){globalThis.FontInspector.fontAdded(c,l)}});const e=new _font_loader.FontFaceObject(d,{isEvalSupported:u.isEvalSupported,disableFontFace:u.disableFontFace,ignoreErrors:u.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:a});this.fontLoader.bind(e).catch(c=>f.sendWithPromise("FontFallback",{id:n})).finally(()=>{!u.fontExtraProperties&&e.data&&(e.data=null),this.commonObjs.resolve(n,e)});break;case"FontPath":case"Image":this.commonObjs.resolve(n,d);break;default:throw new Error(`Got unknown common object type ${i}`)}}),f.on("obj",([n,i,d,u])=>{if(this.destroyed)return;const a=this.#t.get(i);if(!a.objs.has(n))switch(d){case"Image":a.objs.resolve(n,u);const e=8e6;if(u){let c;if(u.bitmap){const{bitmap:l,width:g,height:b}=u;c=g*b*4,a._bitmaps.add(l)}else c=u.data?.length||0;c>e&&(a.cleanupAfterRender=!0)}break;case"Pattern":a.objs.resolve(n,u);break;default:throw new Error(`Got unknown object type ${d}`)}}),f.on("DocProgress",n=>{this.destroyed||o.onProgress?.({loaded:n.loaded,total:n.total})}),f.on("DocStats",n=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(n.streamTypes),fontTypes:Object.freeze(n.fontTypes)}))}),f.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),f.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),f.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:f}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(f)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(f){if(!Number.isInteger(f)||f<=0||f>this._numPages)return Promise.reject(new Error("Invalid page request."));const o=f-1,n=this.#n.get(o);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:o}).then(d=>{if(this.destroyed)throw new Error("Transport destroyed");const u=new PDFPageProxy(o,d,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(o,u),u});return this.#n.set(o,i),i}getPageIndex(f){return"object"!=typeof f||null===f||!Number.isInteger(f.num)||f.num<0||!Number.isInteger(f.gen)||f.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:f.num,gen:f.gen})}getAnnotations(f,o){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:f,intent:o})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(f){return"string"!=typeof f?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:f})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(f){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:f})}getStructTree(f){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:f})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(f=>new _optional_content_config.OptionalContentConfig(f))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(f=>({info:f[0],metadata:f[1]?new _metadata.Metadata(f[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(f=!1){var o=this;return _asyncToGenerator(function*(){if(yield o.messageHandler.sendWithPromise("Cleanup",null),!o.destroyed){for(const n of o.#t.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);o.commonObjs.clear(),f||o.fontLoader.clear(),o.#r=null,o._getFieldObjectsPromise=null,o._hasJSActionsPromise=null}})()}get loadingParams(){const f=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:f.disableAutoFetch,enableXfa:f.enableXfa})}}class PDFObjects{#e=Object.create(null);#t(f){return this.#e[f]||(this.#e[f]={capability:(0,_util.createPromiseCapability)(),data:null})}get(f,o=null){if(o){const i=this.#t(f);return i.capability.promise.then(()=>o(i.data)),null}const n=this.#e[f];if(!n?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${f}.`);return n.data}has(f){return this.#e[f]?.capability.settled||!1}resolve(f,o=null){const n=this.#t(f);n.data=o,n.capability.resolve()}clear(){this.#e=Object.create(null)}}class RenderTask{#e=null;constructor(f){this.#e=f,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(){this.#e.cancel()}get separateAnnots(){const{separateAnnots:f}=this.#e.operatorList;if(!f)return!1;const{annotationCanvasMap:o}=this.#e;return f.form||f.canvas&&o?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static#e=new WeakSet;constructor({callback:f,params:o,objs:n,commonObjs:i,annotationCanvasMap:d,operatorList:u,pageIndex:a,canvasFactory:e,useRequestAnimationFrame:c=!1,pdfBug:l=!1,pageColors:g=null}){this.callback=f,this.params=o,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=d,this.operatorListIdx=null,this.operatorList=u,this._pageIndex=a,this.canvasFactory=e,this._pdfBug=l,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===c&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=o.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:f=!1,optionalContentConfig:o}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:d,imageLayer:u,background:a}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,u,o,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:d,viewport:i,transparency:f,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(f=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#e.delete(this._canvas),this.callback(f||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var f=this;return _asyncToGenerator(function*(){f.cancelled||(f.operatorListIdx=f.gfx.executeOperatorList(f.operatorList,f.operatorListIdx,f._continueBound,f.stepper),f.operatorListIdx===f.operatorList.argsArray.length&&(f.running=!1,f.operatorList.lastChunk&&(f.gfx.endDrawing(),f._canvas&&InternalRenderTask.#e.delete(f._canvas),f.callback())))})()}}const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PrintAnnotationStorage=f.AnnotationStorage=void 0;var n=o(1),i=o(6),d=o(10);class u{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(c,l){const g=this._storage.get(c);return void 0===g?l:Object.assign(l,g)}getRawValue(c){return this._storage.get(c)}remove(c){if(this._storage.delete(c),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const l of this._storage.values())if(l instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(c,l){const g=this._storage.get(c);let b=!1;if(void 0!==g)for(const[p,S]of Object.entries(l))g[p]!==S&&(b=!0,g[p]=S);else b=!0,this._storage.set(c,l);b&&this.#e(),l instanceof i.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(l.constructor._type)}has(c){return this._storage.has(c)}getAll(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}get size(){return this._storage.size}#e(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new a(this)}get serializable(){if(0===this._storage.size)return null;const c=new Map;for(const[l,g]of this._storage){const b=g instanceof i.AnnotationEditor?g.serialize():g;b&&c.set(l,b)}return c}static getHash(c){if(!c)return"";const l=new d.MurmurHash3_64;for(const[g,b]of c)l.update(`${g}:${JSON.stringify(b)}`);return l.hexdigest()}}f.AnnotationStorage=u;class a extends u{#e=null;constructor(c){super(),this.#e=structuredClone(c.serializable)}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}f.PrintAnnotationStorage=a},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.AnnotationEditor=void 0;var n=o(7),i=o(1);class d{#e=this.focusin.bind(this);#t=this.focusout.bind(this);#n=!1;#r=!1;#o=!1;#c=d._zIndex++;static _colorManager=new n.ColorManager;static _zIndex=1;constructor(a){this.constructor===d&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=a.parent,this.id=a.id,this.width=this.height=null,this.pageIndex=a.parent.pageIndex,this.name=a.name,this.div=null;const[e,c]=this.parent.viewportBaseDimensions;this.x=a.x/e,this.y=a.y/c,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#c}focusin(a){this.#n?this.#n=!1:this.parent.setSelected(this)}focusout(a){!this.isAttachedToDOM||a.relatedTarget?.closest(`#${this.id}`)||(a.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(a){const e=this.parent.div.getBoundingClientRect();this.startX=a.clientX-e.x,this.startY=a.clientY-e.y,a.dataTransfer.setData("text/plain",this.id),a.dataTransfer.effectAllowed="move"}setAt(a,e,c,l){const[g,b]=this.parent.viewportBaseDimensions;[c,l]=this.screenToPageTranslation(c,l),this.x=(a+c)/g,this.y=(e+l)/b,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(a,e){const[c,l]=this.parent.viewportBaseDimensions;[a,e]=this.screenToPageTranslation(a,e),this.x+=a/c,this.y+=e/l,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(a,e){const{rotation:c}=this.parent.viewport;switch(c){case 90:return[e,-a];case 180:return[-a,-e];case 270:return[-e,a];default:return[a,e]}}setDims(a,e){const[c,l]=this.parent.viewportBaseDimensions;this.div.style.width=100*a/c+"%",this.div.style.height=100*e/l+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#e),this.div.addEventListener("focusout",this.#t);const[a,e]=this.getInitialTranslation();return this.translate(a,e),(0,n.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(a){const e=n.KeyboardManager.platform.isMac;0!==a.button||a.ctrlKey&&e?a.preventDefault():(a.ctrlKey&&!e||a.shiftKey||a.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#n=!0)}getRect(a,e){const[c,l]=this.parent.viewportBaseDimensions,[g,b]=this.parent.pageDimensions,p=g*a/c,S=b*e/l,y=this.x*g,m=this.y*b,h=this.width*g,C=this.height*b;switch(this.rotation){case 0:return[y+p,b-m-S-C,y+p+h,b-m-S];case 90:return[y+S,b-m+p,y+S+C,b-m+p+h];case 180:return[y-p-h,b-m+S,y-p,b-m+S+C];case 270:return[y-S-C,b-m-p-h,y-S,b-m-p];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(a,e){const[c,l,g,b]=a,p=g-c,S=b-l;switch(this.rotation){case 0:return[c,e-b,p,S];case 90:return[c,e-l,S,p];case 180:return[g,e-l,p,S];case 270:return[g,e-b,S,p];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#o=!0}disableEditMode(){this.#o=!1}isInEditMode(){return this.#o}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#e)}serialize(){(0,i.unreachable)("An editor must be serializable")}static deserialize(a,e){const c=new this.prototype.constructor({parent:e,id:e.getNextId()});c.rotation=a.rotation;const[l,g]=e.pageDimensions,[b,p,S,y]=c.getRectInCurrentCoords(a.rect,g);return c.x=b/l,c.y=p/g,c.width=S/l,c.height=y/g,c}remove(){this.div.removeEventListener("focusin",this.#e),this.div.removeEventListener("focusout",this.#t),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(a,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(a){this.#r=a,a?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}f.AnnotationEditor=d},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.KeyboardManager=f.CommandManager=f.ColorManager=f.AnnotationEditorUIManager=void 0,f.bindEvents=function d(p,S,y){for(const m of y)S.addEventListener(m,p[m].bind(p))},f.opacityToHex=function u(p){return Math.round(Math.min(255,Math.max(1,255*p))).toString(16).padStart(2,"0")};var n=o(1),i=o(8);class a{#e=0;getId(){return`${n.AnnotationEditorPrefix}${this.#e++}`}}class e{#e=[];#t=!1;#n;#r=-1;constructor(S=128){this.#n=S}add({cmd:S,undo:y,mustExec:m,type:h=NaN,overwriteIfSameType:C=!1,keepUndo:v=!1}){if(m&&S(),this.#t)return;const M={cmd:S,undo:y,type:h};if(-1===this.#r)return this.#e.length>0&&(this.#e.length=0),this.#r=0,void this.#e.push(M);if(C&&this.#e[this.#r].type===h)return v&&(M.undo=this.#e[this.#r].undo),void(this.#e[this.#r]=M);const E=this.#r+1;E===this.#n?this.#e.splice(0,1):(this.#r=E,Ey.serialize()):this.#e=[S.serialize()],this.#e=this.#e.filter(y=>!!y),0===this.#e.length&&(this.#e=null))}paste(){return this.#e}isEmpty(){return null===this.#e}destroy(){this.#e=null}}class g{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const S=new Map([["CanvasText",null],["Canvas",null]]);return(0,i.getColorValues)(S),(0,n.shadow)(this,"_colors",S)}convert(S){const y=(0,i.getRGB)(S);if(!window.matchMedia("(forced-colors: active)").matches)return y;for(const[m,h]of this._colors)if(h.every((C,v)=>C===y[v]))return g._colorsMapping.get(m);return y}getHexCode(S){const y=this._colors.get(S);return y?n.Util.makeHexColor(...y):S}}f.ColorManager=g;class b{#e=null;#t=new Map;#n=new Map;#r=new l;#o=new e;#c=0;#a=null;#i=null;#h=new a;#u=!1;#l=n.AnnotationEditorType.NONE;#s=new Set;#g=this.keydown.bind(this);#f=this.onEditingAction.bind(this);#v=this.onPageChanging.bind(this);#p={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#_=null;static _keyboardManager=new c([[["ctrl+a","mac+meta+a"],b.prototype.selectAll],[["ctrl+c","mac+meta+c"],b.prototype.copy],[["ctrl+v","mac+meta+v"],b.prototype.paste],[["ctrl+x","mac+meta+x"],b.prototype.cut],[["ctrl+z","mac+meta+z"],b.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],b.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],b.prototype.delete],[["Escape","mac+Escape"],b.prototype.unselectAll]]);constructor(S,y){this.#_=S,this.#i=y,this.#i._on("editingaction",this.#f),this.#i._on("pagechanging",this.#v)}destroy(){this.#y(),this.#i._off("editingaction",this.#f),this.#i._off("pagechanging",this.#v);for(const S of this.#n.values())S.destroy();this.#n.clear(),this.#t.clear(),this.#e=null,this.#s.clear(),this.#r.destroy(),this.#o.destroy()}onPageChanging({pageNumber:S}){this.#c=S-1}focusMainContainer(){this.#_.focus()}#S(){this.#_.addEventListener("keydown",this.#g)}#y(){this.#_.removeEventListener("keydown",this.#g)}keydown(S){this.getActive()?.shouldGetKeyboardEvents()||b._keyboardManager.exec(this,S)}onEditingAction(S){["undo","redo","cut","copy","paste","delete","selectAll"].includes(S.name)&&this[S.name]()}#d(S){Object.entries(S).some(([m,h])=>this.#p[m]!==h)&&this.#i.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#p,S)})}#M(S){this.#i.dispatch("annotationeditorparamschanged",{source:this,details:S})}setEditingState(S){S?(this.#S(),this.#d({isEditing:this.#l!==n.AnnotationEditorType.NONE,isEmpty:this.#b(),hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:this.#o.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#r.isEmpty()})):(this.#y(),this.#d({isEditing:!1}))}registerEditorTypes(S){this.#a=S;for(const y of this.#a)this.#M(y.defaultPropertiesToUpdate)}getId(){return this.#h.getId()}addLayer(S){this.#n.set(S.pageIndex,S),this.#u?S.enable():S.disable()}removeLayer(S){this.#n.delete(S.pageIndex)}updateMode(S){if(this.#l=S,S===n.AnnotationEditorType.NONE)this.setEditingState(!1),this.#m();else{this.setEditingState(!0),this.#A();for(const y of this.#n.values())y.updateMode(S)}}updateToolbar(S){S!==this.#l&&this.#i.dispatch("switchannotationeditormode",{source:this,mode:S})}updateParams(S,y){for(const m of this.#s)m.updateParams(S,y);for(const m of this.#a)m.updateDefaultParams(S,y)}#A(){if(!this.#u){this.#u=!0;for(const S of this.#n.values())S.enable()}}#m(){if(this.unselectAll(),this.#u){this.#u=!1;for(const S of this.#n.values())S.disable()}}getEditors(S){const y=[];for(const m of this.#t.values())m.pageIndex===S&&y.push(m);return y}getEditor(S){return this.#t.get(S)}addEditor(S){this.#t.set(S.id,S)}removeEditor(S){this.#t.delete(S.id),this.unselect(S)}#E(S){const y=this.#n.get(S.pageIndex);y?y.addOrRebuild(S):this.addEditor(S)}setActiveEditor(S){this.#e!==S&&(this.#e=S,S&&this.#M(S.propertiesToUpdate))}toggleSelected(S){if(this.#s.has(S))return this.#s.delete(S),S.unselect(),void this.#d({hasSelectedEditor:this.hasSelection});this.#s.add(S),S.select(),this.#M(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}setSelected(S){for(const y of this.#s)y!==S&&y.unselect();this.#s.clear(),this.#s.add(S),S.select(),this.#M(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}isSelected(S){return this.#s.has(S)}unselect(S){S.unselect(),this.#s.delete(S),this.#d({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#s.size}undo(){this.#o.undo(),this.#d({hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#b()})}redo(){this.#o.redo(),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:this.#o.hasSomethingToRedo(),isEmpty:this.#b()})}addCommands(S){this.#o.add(S),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#b()})}#b(){if(0===this.#t.size)return!0;if(1===this.#t.size)for(const S of this.#t.values())return S.isEmpty();return!1}delete(){if(this.#e&&this.#e.commitOrRemove(),!this.hasSelection)return;const S=[...this.#s];this.addCommands({cmd:()=>{for(const h of S)h.remove()},undo:()=>{for(const h of S)this.#E(h)},mustExec:!0})}copy(){if(this.#e&&this.#e.commitOrRemove(),this.hasSelection){const S=[];for(const y of this.#s)y.isEmpty()||S.push(y);if(0===S.length)return;this.#r.copy(S),this.#d({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#r.isEmpty())return;this.unselectAll();const S=this.#n.get(this.#c),y=this.#r.paste().map(C=>S.deserialize(C));this.addCommands({cmd:()=>{for(const C of y)this.#E(C);this.#C(y)},undo:()=>{for(const C of y)C.remove()},mustExec:!0})}#C(S){this.#s.clear();for(const y of S)y.isEmpty()||(this.#s.add(y),y.select());this.#d({hasSelectedEditor:!0})}selectAll(){for(const S of this.#s)S.commit();this.#C(this.#t.values())}unselectAll(){if(this.#e)this.#e.commitOrRemove();else if(0!==this.#C.size){for(const S of this.#s)S.unselect();this.#s.clear(),this.#d({hasSelectedEditor:!1})}}isActive(S){return this.#e===S}getActive(){return this.#e}getMode(){return this.#l}}f.AnnotationEditorUIManager=b},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.StatTimer=f.RenderingCancelledException=f.PixelsPerInch=f.PageViewport=f.PDFDateString=f.DOMStandardFontDataFactory=f.DOMSVGFactory=f.DOMCanvasFactory=f.DOMCMapReaderFactory=f.AnnotationPrefix=void 0,f.deprecated=function T(ee){console.log("Deprecated API usage: "+ee)},f.getColorValues=function x(ee){const X=document.createElement("span");X.style.visibility="hidden",document.body.append(X);for(const ce of ee.keys()){X.style.color=ce;const Q=window.getComputedStyle(X).color;ee.set(ce,L(Q))}X.remove()},f.getCurrentTransform=function V(ee){const{a:X,b:ce,c:Q,d:ne,e:Y,f:H}=ee.getTransform();return[X,ce,Q,ne,Y,H]},f.getCurrentTransformInverse=function F(ee){const{a:X,b:ce,c:Q,d:ne,e:Y,f:H}=ee.getTransform().invertSelf();return[X,ce,Q,ne,Y,H]},f.getFilenameFromUrl=function C(ee){const X=ee.indexOf("#"),ce=ee.indexOf("?"),Q=Math.min(X>0?X:ee.length,ce>0?ce:ee.length);return ee.substring(ee.lastIndexOf("/",Q)+1,Q)},f.getPdfFilenameFromUrl=function v(ee,X="document.pdf"){if("string"!=typeof ee)return X;if(m(ee))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),X;const Q=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,ne=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(ee);let Y=Q.exec(ne[1])||Q.exec(ne[2])||Q.exec(ne[3]);if(Y&&(Y=Y[0],Y.includes("%")))try{Y=Q.exec(decodeURIComponent(Y))[0]}catch{}return Y||X},f.getRGB=L,f.getXfaPageViewport=function P(ee,{scale:X=1,rotation:ce=0}){const{width:Q,height:ne}=ee.attributes.style,Y=[0,0,parseInt(Q),parseInt(ne)];return new S({viewBox:Y,scale:X,rotation:ce})},f.isDataScheme=m,f.isPdfFile=function h(ee){return"string"==typeof ee&&/\.pdf$/i.test(ee)},f.isValidFetchUrl=E,f.loadScript=function A(ee,X=!1){return new Promise((ce,Q)=>{const ne=document.createElement("script");ne.src=ee,ne.onload=function(Y){X&&ne.remove(),ce(Y)},ne.onerror=function(){Q(new Error(`Cannot load script at: ${ne.src}`))},(document.head||document.documentElement).append(ne)})};var n=o(9),i=o(1);function c(ee){return l.apply(this,arguments)}function l(){return(l=_asyncToGenerator(function*(ee,X=!1){if(E(ee,document.baseURI)){const ce=yield fetch(ee);if(!ce.ok)throw new Error(ce.statusText);return X?new Uint8Array(yield ce.arrayBuffer()):(0,i.stringToBytes)(yield ce.text())}return new Promise((ce,Q)=>{const ne=new XMLHttpRequest;ne.open("GET",ee,!0),X&&(ne.responseType="arraybuffer"),ne.onreadystatechange=()=>{if(ne.readyState===XMLHttpRequest.DONE){if(200===ne.status||0===ne.status){let Y;if(X&&ne.response?Y=new Uint8Array(ne.response):!X&&ne.responseText&&(Y=(0,i.stringToBytes)(ne.responseText)),Y)return void ce(Y)}Q(new Error(ne.statusText))}},ne.send(null)})})).apply(this,arguments)}f.AnnotationPrefix="pdfjs_internal_id_",f.PixelsPerInch=class a{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},f.DOMCanvasFactory=class e extends n.BaseCanvasFactory{constructor({ownerDocument:X=globalThis.document}={}){super(),this._document=X}_createCanvas(X,ce){const Q=this._document.createElement("canvas");return Q.width=X,Q.height=ce,Q}},f.DOMCMapReaderFactory=class g extends n.BaseCMapReaderFactory{_fetchData(X,ce){return c(X,this.isCompressed).then(Q=>({cMapData:Q,compressionType:ce}))}},f.DOMStandardFontDataFactory=class b extends n.BaseStandardFontDataFactory{_fetchData(X){return c(X,!0)}},f.DOMSVGFactory=class p extends n.BaseSVGFactory{_createSVG(X){return document.createElementNS("http://www.w3.org/2000/svg",X)}};class S{constructor({viewBox:X,scale:ce,rotation:Q,offsetX:ne=0,offsetY:Y=0,dontFlip:H=!1}){this.viewBox=X,this.scale=ce,this.rotation=Q,this.offsetX=ne,this.offsetY=Y;const ae=(X[2]+X[0])/2,J=(X[3]+X[1])/2;let K,W,re,G,ue,ye,Ie,be;switch((Q%=360)<0&&(Q+=360),Q){case 180:K=-1,W=0,re=0,G=1;break;case 90:K=0,W=1,re=1,G=0;break;case 270:K=0,W=-1,re=-1,G=0;break;case 0:K=1,W=0,re=0,G=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}H&&(re=-re,G=-G),0===K?(ue=Math.abs(J-X[1])*ce+ne,ye=Math.abs(ae-X[0])*ce+Y,Ie=Math.abs(X[3]-X[1])*ce,be=Math.abs(X[2]-X[0])*ce):(ue=Math.abs(ae-X[0])*ce+ne,ye=Math.abs(J-X[1])*ce+Y,Ie=Math.abs(X[2]-X[0])*ce,be=Math.abs(X[3]-X[1])*ce),this.transform=[K*ce,W*ce,re*ce,G*ce,ue-K*ce*ae-re*ce*J,ye-W*ce*ae-G*ce*J],this.width=Ie,this.height=be}clone({scale:X=this.scale,rotation:ce=this.rotation,offsetX:Q=this.offsetX,offsetY:ne=this.offsetY,dontFlip:Y=!1}={}){return new S({viewBox:this.viewBox.slice(),scale:X,rotation:ce,offsetX:Q,offsetY:ne,dontFlip:Y})}convertToViewportPoint(X,ce){return i.Util.applyTransform([X,ce],this.transform)}convertToViewportRectangle(X){const ce=i.Util.applyTransform([X[0],X[1]],this.transform),Q=i.Util.applyTransform([X[2],X[3]],this.transform);return[ce[0],ce[1],Q[0],Q[1]]}convertToPdfPoint(X,ce){return i.Util.applyInverseTransform([X,ce],this.transform)}}function m(ee){const X=ee.length;let ce=0;for(;ce>16,(65280&X)>>8,255&X]}return ee.startsWith("rgb(")?ee.slice(4,-1).split(",").map(X=>parseInt(X)):ee.startsWith("rgba(")?ee.slice(5,-1).split(",").map(X=>parseInt(X)).slice(0,3):((0,i.warn)(`Not a valid color format: "${ee}"`),[0,0,0])}f.PageViewport=S,f.RenderingCancelledException=class y extends i.BaseException{constructor(X,ce){super(X,"RenderingCancelledException"),this.type=ce}},f.StatTimer=class M{constructor(){this.started=Object.create(null),this.times=[]}time(X){X in this.started&&(0,i.warn)(`Timer is already running for ${X}`),this.started[X]=Date.now()}timeEnd(X){X in this.started||(0,i.warn)(`Timer has not been started for ${X}`),this.times.push({name:X,start:this.started[X],end:Date.now()}),delete this.started[X]}toString(){const X=[];let ce=0;for(const Q of this.times){const ne=Q.name;ne.length>ce&&(ce=ne.length)}for(const Q of this.times){const ne=Q.end-Q.start;X.push(`${Q.name.padEnd(ce)} ${ne}ms\n`)}return X.join("")}},f.PDFDateString=class N{static toDateObject(X){if(!X||"string"!=typeof X)return null;R||(R=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const ce=R.exec(X);if(!ce)return null;const Q=parseInt(ce[1],10);let ne=parseInt(ce[2],10);ne=ne>=1&&ne<=12?ne-1:0;let Y=parseInt(ce[3],10);Y=Y>=1&&Y<=31?Y:1;let H=parseInt(ce[4],10);H=H>=0&&H<=23?H:0;let ae=parseInt(ce[5],10);ae=ae>=0&&ae<=59?ae:0;let J=parseInt(ce[6],10);J=J>=0&&J<=59?J:0;const K=ce[7]||"Z";let W=parseInt(ce[8],10);W=W>=0&&W<=23?W:0;let re=parseInt(ce[9],10)||0;return re=re>=0&&re<=59?re:0,"-"===K?(H+=W,ae+=re):"+"===K&&(H-=W,ae-=re),new Date(Date.UTC(Q,ne,Y,H,ae,J))}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.BaseStandardFontDataFactory=f.BaseSVGFactory=f.BaseCanvasFactory=f.BaseCMapReaderFactory=void 0;var n=o(1);class i{constructor(){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(c,l){if(c<=0||l<=0)throw new Error("Invalid canvas size");const g=this._createCanvas(c,l);return{canvas:g,context:g.getContext("2d")}}reset(c,l,g){if(!c.canvas)throw new Error("Canvas is not specified");if(l<=0||g<=0)throw new Error("Invalid canvas size");c.canvas.width=l,c.canvas.height=g}destroy(c){if(!c.canvas)throw new Error("Canvas is not specified");c.canvas.width=0,c.canvas.height=0,c.canvas=null,c.context=null}_createCanvas(c,l){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}f.BaseCanvasFactory=i;class d{constructor({baseUrl:c=null,isCompressed:l=!1}){this.constructor===d&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=c,this.isCompressed=l}fetch({name:c}){var l=this;return _asyncToGenerator(function*(){if(!l.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!c)throw new Error("CMap name must be specified.");const g=l.baseUrl+c+(l.isCompressed?".bcmap":"");return l._fetchData(g,l.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE).catch(p=>{throw new Error(`Unable to load ${l.isCompressed?"binary ":""}CMap at: ${g}`)})})()}_fetchData(c,l){(0,n.unreachable)("Abstract method `_fetchData` called.")}}f.BaseCMapReaderFactory=d;class u{constructor({baseUrl:c=null}){this.constructor===u&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=c}fetch({filename:c}){var l=this;return _asyncToGenerator(function*(){if(!l.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!c)throw new Error("Font filename must be specified.");const g=`${l.baseUrl}${c}`;return l._fetchData(g).catch(b=>{throw new Error(`Unable to load font data at: ${g}`)})})()}_fetchData(c){(0,n.unreachable)("Abstract method `_fetchData` called.")}}f.BaseStandardFontDataFactory=u;class a{constructor(){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(c,l,g=!1){if(c<=0||l<=0)throw new Error("Invalid SVG dimensions");const b=this._createSVG("svg:svg");return b.setAttribute("version","1.1"),g||(b.setAttribute("width",`${c}px`),b.setAttribute("height",`${l}px`)),b.setAttribute("preserveAspectRatio","none"),b.setAttribute("viewBox",`0 0 ${c} ${l}`),b}createElement(c){if("string"!=typeof c)throw new Error("Invalid SVG element type");return this._createSVG(c)}_createSVG(c){(0,n.unreachable)("Abstract method `_createSVG` called.")}}f.BaseSVGFactory=a},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.MurmurHash3_64=void 0;var n=o(1);const i=3285377520,d=4294901760,u=65535;f.MurmurHash3_64=class a{constructor(c){this.h1=c?4294967295&c:i,this.h2=c?4294967295&c:i}update(c){let l,g;if("string"==typeof c){l=new Uint8Array(2*c.length),g=0;for(let T=0,R=c.length;T>>8,l[g++]=255&N)}}else{if(!(0,n.isArrayBuffer)(c))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");l=c.slice(),g=l.byteLength}const b=g>>2,p=g-4*b,S=new Uint32Array(l.buffer,0,b);let y=0,m=0,h=this.h1,C=this.h2;const v=3432918353,M=461845907,E=v&u,A=M&u;for(let T=0;T>>17,y=y*M&d|y*A&u,h^=y,h=h<<13|h>>>19,h=5*h+3864292196):(m=S[T],m=m*v&d|m*E&u,m=m<<15|m>>>17,m=m*M&d|m*A&u,C^=m,C=C<<13|C>>>19,C=5*C+3864292196);switch(y=0,p){case 3:y^=l[4*b+2]<<16;case 2:y^=l[4*b+1]<<8;case 1:y^=l[4*b],y=y*v&d|y*E&u,y=y<<15|y>>>17,y=y*M&d|y*A&u,1&b?h^=y:C^=y}this.h1=h,this.h2=C}hexdigest(){let c=this.h1,l=this.h2;c^=l>>>1,c=3981806797*c&d|36045*c&u,l=4283543511*l&d|(2950163797*(l<<16|c>>>16)&d)>>>16,c^=l>>>1,c=444984403*c&d|60499*c&u,l=3301882366*l&d|(3120437893*(l<<16|c>>>16)&d)>>>16,c^=l>>>1;const g=(c>>>0).toString(16),b=(l>>>0).toString(16);return g.padStart(8,"0")+b.padStart(8,"0")}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.FontLoader=f.FontFaceObject=void 0;var n=o(1);class i{constructor({docId:e,onUnsupportedFeature:c,ownerDocument:l=globalThis.document,styleElement:g=null}){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=c,this._document=l,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let c=this.styleElement;c||(c=this.styleElement=this._document.createElement("style"),c.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(c));const l=c.sheet;l.insertRule(e,l.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}bind(e){var c=this;return _asyncToGenerator(function*(){if(e.attached||e.missingFile)return;if(e.attached=!0,c.isFontLoadingAPISupported){const g=e.createNativeFontFace();if(g){c.addNativeFontFace(g);try{yield g.loaded}catch(b){throw c._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,n.warn)(`Failed to load font '${g.family}': '${b}'.`),e.disableFontFace=!0,b}}return}const l=e.createFontFaceRule();if(l){if(c.insertRule(l),c.isSyncFontLoadingSupported)return;yield new Promise(g=>{const b=c._queueLoadingCallback(g);c._prepareFontLoadEvent([l],[e],b)})}})()}_queueLoadingCallback(e){(0,n.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,n.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,n.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,n.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,c,l){(0,n.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let d;f.FontLoader=d,f.FontLoader=d=class extends i{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return(typeof navigator>"u"||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const l=this.loadingContext,g={id:"pdfjs-font-loading-"+l.nextRequestId++,done:!1,complete:function c(){for((0,n.assert)(!g.done,"completeRequest() cannot be called twice."),g.done=!0;l.requests.length>0&&l.requests[0].done;){const b=l.requests.shift();setTimeout(b.callback,0)}},callback:e};return l.requests.push(g),g}get _loadTestFont(){return(0,n.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,c,l){function g(V,F){return V.charCodeAt(F)<<24|V.charCodeAt(F+1)<<16|V.charCodeAt(F+2)<<8|255&V.charCodeAt(F+3)}function b(V,F,ee,X){return V.substring(0,F)+X+V.substring(F+ee)}let p,S;const y=this._document.createElement("canvas");y.width=1,y.height=1;const m=y.getContext("2d");let h=0;const v=`lt${Date.now()}${this.loadTestFontId++}`;let M=this._loadTestFont;M=b(M,976,v.length,v);const T=1482184792;let R=g(M,16);for(p=0,S=v.length-3;p30)return(0,n.warn)("Load test font never loaded."),void F();m.font="30px "+V,m.fillText(".",0,20),m.getImageData(0,0,1,1).data[3]>0?F():setTimeout(C.bind(null,V,F))}(v,()=>{x.remove(),l.complete()})}},f.FontFaceObject=class u{constructor(e,{isEvalSupported:c=!0,disableFontFace:l=!1,ignoreErrors:g=!1,onUnsupportedFeature:b,fontRegistry:p=null}){this.compiledGlyphs=Object.create(null);for(const S in e)this[S]=e[S];this.isEvalSupported=!1!==c,this.disableFontFace=!0===l,this.ignoreErrors=!0===g,this._onUnsupportedFeature=b,this.fontRegistry=p}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const c={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(c.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,c)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,n.bytesToString)(this.data),c=`url(data:${this.mimetype};base64,${btoa(e)});`;let l;if(this.cssFontInfo){let g=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(g+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),l=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${g}src:${c}}`}else l=`@font-face {font-family:"${this.loadedName}";src:${c}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,c),l}getPathGenerator(e,c){if(void 0!==this.compiledGlyphs[c])return this.compiledGlyphs[c];let l;try{l=e.get(this.loadedName+"_path_"+c)}catch(g){if(!this.ignoreErrors)throw g;return this._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,n.warn)(`getPathGenerator - ignoring character: "${g}".`),this.compiledGlyphs[c]=function(b,p){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){const g=[];for(const b of l){const p=void 0!==b.args?b.args.join(","):"";g.push("c.",b.cmd,"(",p,");\n")}return this.compiledGlyphs[c]=new Function("c","size",g.join(""))}return this.compiledGlyphs[c]=function(g,b){for(const p of l)"scale"===p.cmd&&(p.args=[b,-b]),g[p.cmd].apply(g,p.args)}}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.CanvasGraphics=void 0;var n=o(8),i=o(1),d=o(13),u=o(14),a=o(3);const l=4096,p=a.isNodeJS&&typeof Path2D>"u"?-1:1e3,S=16;class m{constructor(Y){this.canvasFactory=Y,this.cache=Object.create(null)}getCanvas(Y,H,ae){let J;return void 0!==this.cache[Y]?(J=this.cache[Y],this.canvasFactory.reset(J,H,ae)):(J=this.canvasFactory.create(H,ae),this.cache[Y]=J),J}delete(Y){delete this.cache[Y]}clear(){for(const Y in this.cache)this.canvasFactory.destroy(this.cache[Y]),delete this.cache[Y]}}function h(ne,Y,H,ae,J,K,W,re,G,ue){const[ye,Ie,be,ie,De,ze]=(0,n.getCurrentTransform)(ne);if(0===Ie&&0===be){const rt=Math.round(W*ye+De),Wt=Math.round(re*ie+ze),Bt=Math.abs(Math.round((W+G)*ye+De)-rt)||1,hn=Math.abs(Math.round((re+ue)*ie+ze)-Wt)||1;return ne.setTransform(Math.sign(ye),0,0,Math.sign(ie),rt,Wt),ne.drawImage(Y,H,ae,J,K,0,0,Bt,hn),ne.setTransform(ye,Ie,be,ie,De,ze),[Bt,hn]}if(0===ye&&0===ie){const rt=Math.round(re*be+De),Wt=Math.round(W*Ie+ze),Bt=Math.abs(Math.round((re+ue)*be+De)-rt)||1,hn=Math.abs(Math.round((W+G)*Ie+ze)-Wt)||1;return ne.setTransform(0,Math.sign(Ie),Math.sign(be),0,rt,Wt),ne.drawImage(Y,H,ae,J,K,0,0,hn,Bt),ne.setTransform(ye,Ie,be,ie,De,ze),[hn,Bt]}return ne.drawImage(Y,H,ae,J,K,W,re,G,ue),[Math.hypot(ye,Ie)*G,Math.hypot(be,ie)*ue]}class v{constructor(Y,H){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=i.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,Y,H])}clone(){const Y=Object.create(this);return Y.clipBox=this.clipBox.slice(),Y}setCurrentPoint(Y,H){this.x=Y,this.y=H}updatePathMinMax(Y,H,ae){[H,ae]=i.Util.applyTransform([H,ae],Y),this.minX=Math.min(this.minX,H),this.minY=Math.min(this.minY,ae),this.maxX=Math.max(this.maxX,H),this.maxY=Math.max(this.maxY,ae)}updateRectMinMax(Y,H){const ae=i.Util.applyTransform(H,Y),J=i.Util.applyTransform(H.slice(2),Y);this.minX=Math.min(this.minX,ae[0],J[0]),this.minY=Math.min(this.minY,ae[1],J[1]),this.maxX=Math.max(this.maxX,ae[0],J[0]),this.maxY=Math.max(this.maxY,ae[1],J[1])}updateScalingPathMinMax(Y,H){i.Util.scaleMinMax(Y,H),this.minX=Math.min(this.minX,H[0]),this.maxX=Math.max(this.maxX,H[1]),this.minY=Math.min(this.minY,H[2]),this.maxY=Math.max(this.maxY,H[3])}updateCurvePathMinMax(Y,H,ae,J,K,W,re,G,ue,ye){const Ie=i.Util.bezierBoundingBox(H,ae,J,K,W,re,G,ue);if(ye)return ye[0]=Math.min(ye[0],Ie[0],Ie[2]),ye[1]=Math.max(ye[1],Ie[0],Ie[2]),ye[2]=Math.min(ye[2],Ie[1],Ie[3]),void(ye[3]=Math.max(ye[3],Ie[1],Ie[3]));this.updateRectMinMax(Y,Ie)}getPathBoundingBox(Y=d.PathType.FILL,H=null){const ae=[this.minX,this.minY,this.maxX,this.maxY];if(Y===d.PathType.STROKE){H||(0,i.unreachable)("Stroke bounding box must include transform.");const J=i.Util.singularValueDecompose2dScale(H),K=J[0]*this.lineWidth/2,W=J[1]*this.lineWidth/2;ae[0]-=K,ae[1]-=W,ae[2]+=K,ae[3]+=W}return ae}updateClipFromPath(){const Y=i.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(Y||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(Y){this.clipBox=Y,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(Y=d.PathType.FILL,H=null){return i.Util.intersect(this.clipBox,this.getPathBoundingBox(Y,H))}}function M(ne,Y,H=null){if(typeof ImageData<"u"&&Y instanceof ImageData)return void ne.putImageData(Y,0,0);const ae=Y.height,J=Y.width,K=ae%S,W=(ae-K)/S,re=0===K?W:W+1,G=ne.createImageData(J,S);let ye,ue=0;const Ie=Y.data,be=G.data;let ie,De,ze,qe,nt,ft,rt,mt;if(H)switch(H.length){case 1:nt=H[0],ft=H[0],rt=H[0],mt=H[0];break;case 4:nt=H[0],ft=H[1],rt=H[2],mt=H[3]}if(Y.kind===i.ImageKind.GRAYSCALE_1BPP){const Wt=Ie.byteLength,bt=new Uint32Array(be.buffer,0,be.byteLength>>2),Bt=bt.length,an=J+7>>3;let hn=4294967295,wn=i.FeatureTest.isLittleEndian?4278190080:255;for(mt&&255===mt[0]&&0===mt[255]&&([hn,wn]=[wn,hn]),ie=0;iean?J:8*An-7,dt=-8&en;let Ue=0,we=0;for(;vn>=1}for(;ye=W&&(ze=K,qe=J*ze),ye=0,De=qe;De--;)be[ye++]=Ie[ue++],be[ye++]=Ie[ue++],be[ye++]=Ie[ue++],be[ye++]=255;if(Wt)for(let bt=0;bt>8,ne[K-2]=ne[K-2]*W+H*re>>8,ne[K-1]=ne[K-1]*W+ae*re>>8}}}function N(ne,Y,H){const ae=ne.length;for(let K=3;K>8]>>8:Y[J]*K>>16}}function V(ne,Y){const H=i.Util.singularValueDecompose2dScale(ne);H[0]=Math.fround(H[0]),H[1]=Math.fround(H[1]);const ae=Math.fround((globalThis.devicePixelRatio||1)*n.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==Y?Y:H[0]<=ae||H[1]<=ae}const F=["butt","round","square"],ee=["miter","round","bevel"],X={},ce={};class Q{constructor(Y,H,ae,J,K,W,re,G){this.ctx=Y,this.current=new v(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=H,this.objs=ae,this.canvasFactory=J,this.imageLayer=K,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=W,this.cachedCanvases=new m(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=re,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=G?.background||null,this.foregroundColor=G?.foreground||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(Y,H=null){return"string"==typeof Y?Y.startsWith("g_")?this.commonObjs.get(Y):this.objs.get(Y):H}beginDrawing({transform:Y,viewport:H,transparency:ae=!1,background:J=null}){const K=this.ctx.canvas.width,W=this.ctx.canvas.height,re=J||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const G=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const ue=this.backgroundColor=this.ctx.fillStyle;let ye=!0,Ie=re;if(this.ctx.fillStyle=re,Ie=this.ctx.fillStyle,ye="string"==typeof Ie&&/^#[0-9A-Fa-f]{6}$/.test(Ie),"#000000"===G&&"#ffffff"===ue||G===ue||!ye)this.foregroundColor=this.backgroundColor=null;else{const[be,ie,De]=(0,n.getRGB)(Ie),ze=nt=>(nt/=255)<=.03928?nt/12.92:((nt+.055)/1.055)**2.4,qe=Math.round(.2126*ze(be)+.7152*ze(ie)+.0722*ze(De));this.selectColor=(nt,ft,rt)=>{const mt=.2126*ze(nt)+.7152*ze(ft)+.0722*ze(rt);return Math.round(mt)===qe?ue:G}}}if(this.ctx.fillStyle=this.backgroundColor||re,this.ctx.fillRect(0,0,K,W),this.ctx.restore(),ae){const G=this.cachedCanvases.getCanvas("transparent",K,W);this.compositeCtx=this.ctx,this.transparentCanvas=G.canvas,this.ctx=G.context,this.ctx.save(),this.ctx.transform(...(0,n.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),T(this.ctx,this.foregroundColor),Y&&(this.ctx.transform(...Y),this.outputScaleX=Y[0],this.outputScaleY=Y[0]),this.ctx.transform(...H.transform),this.viewportScale=H.scale,this.baseTransform=(0,n.getCurrentTransform)(this.ctx),this.imageLayer&&((0,n.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(Y,H,ae,J){const K=Y.argsArray,W=Y.fnArray;let re=H||0;const G=K.length;if(G===re)return re;const ue=G-re>10&&"function"==typeof ae,ye=ue?Date.now()+15:0;let Ie=0;const be=this.commonObjs,ie=this.objs;let De;for(;;){if(void 0!==J&&re===J.nextBreakPoint)return J.breakIt(re,ae),re;if(De=W[re],De!==i.OPS.dependency)this[De].apply(this,K[re]);else for(const ze of K[re]){const qe=ze.startsWith("g_")?be:ie;if(!qe.has(ze))return qe.get(ze,ae),re}if(re++,re===G)return re;if(ue&&++Ie>10){if(Date.now()>ye)return ae(),re;Ie=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const Y of this._cachedBitmapsMap.values()){for(const H of Y.values())typeof HTMLCanvasElement<"u"&&H instanceof HTMLCanvasElement&&(H.width=H.height=0);Y.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(Y,H){const ae=Y.width,J=Y.height;let ye,Ie,K=Math.max(Math.hypot(H[0],H[1]),1),W=Math.max(Math.hypot(H[2],H[3]),1),re=ae,G=J,ue="prescale1";for(;K>2&&re>1||W>2&&G>1;){let be=re,ie=G;K>2&&re>1&&(be=Math.ceil(re/2),K/=re/be),W>2&&G>1&&(ie=Math.ceil(G/2),W/=G/ie),ye=this.cachedCanvases.getCanvas(ue,be,ie),Ie=ye.context,Ie.clearRect(0,0,be,ie),Ie.drawImage(Y,0,0,re,G,0,0,be,ie),Y=ye.canvas,re=be,G=ie,ue="prescale1"===ue?"prescale2":"prescale1"}return{img:Y,paintWidth:re,paintHeight:G}}_createMaskCanvas(Y){const H=this.ctx,{width:ae,height:J}=Y,K=this.current.fillColor,W=this.current.patternFill,re=(0,n.getCurrentTransform)(H);let G,ue,ye,Ie;if((Y.bitmap||Y.data)&&Y.count>1){const Bt=Y.bitmap||Y.data.buffer,an=re.slice(0,4);ue=JSON.stringify(W?an:[an,K]),G=this._cachedBitmapsMap.get(Bt),G||(G=new Map,this._cachedBitmapsMap.set(Bt,G));const hn=G.get(ue);if(hn&&!W)return{canvas:hn,offsetX:Math.round(Math.min(re[0],re[2])+re[4]),offsetY:Math.round(Math.min(re[1],re[3])+re[5])};ye=hn}ye||(Ie=this.cachedCanvases.getCanvas("maskCanvas",ae,J),E(Ie.context,Y));let be=i.Util.transform(re,[1/ae,0,0,-1/J,0,0]);be=i.Util.transform(be,[1,0,0,1,0,-J]);const ie=i.Util.applyTransform([0,0],be),De=i.Util.applyTransform([ae,J],be),ze=i.Util.normalizeRect([ie[0],ie[1],De[0],De[1]]),qe=Math.round(ze[2]-ze[0])||1,nt=Math.round(ze[3]-ze[1])||1,ft=this.cachedCanvases.getCanvas("fillCanvas",qe,nt),rt=ft.context,mt=Math.min(ie[0],De[0]),Wt=Math.min(ie[1],De[1]);rt.translate(-mt,-Wt),rt.transform(...be),ye||(ye=this._scaleImage(Ie.canvas,(0,n.getCurrentTransformInverse)(rt)),ye=ye.img,G&&W&&G.set(ue,ye)),rt.imageSmoothingEnabled=V((0,n.getCurrentTransform)(rt),Y.interpolate),h(rt,ye,0,0,ye.width,ye.height,0,0,ae,J),rt.globalCompositeOperation="source-in";const bt=i.Util.transform((0,n.getCurrentTransformInverse)(rt),[1,0,0,1,-mt,-Wt]);return rt.fillStyle=W?K.getPattern(H,this,bt,d.PathType.FILL):K,rt.fillRect(0,0,ae,J),G&&!W&&(this.cachedCanvases.delete("fillCanvas"),G.set(ue,ft.canvas)),{canvas:ft.canvas,offsetX:Math.round(mt),offsetY:Math.round(Wt)}}setLineWidth(Y){Y!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=Y,this.ctx.lineWidth=Y}setLineCap(Y){this.ctx.lineCap=F[Y]}setLineJoin(Y){this.ctx.lineJoin=ee[Y]}setMiterLimit(Y){this.ctx.miterLimit=Y}setDash(Y,H){const ae=this.ctx;void 0!==ae.setLineDash&&(ae.setLineDash(Y),ae.lineDashOffset=H)}setRenderingIntent(Y){}setFlatness(Y){}setGState(Y){for(let H=0,ae=Y.length;H{ne.save=ne.__originalSave,ne.restore=ne.__originalRestore,ne.rotate=ne.__originalRotate,ne.scale=ne.__originalScale,ne.translate=ne.__originalTranslate,ne.transform=ne.__originalTransform,ne.setTransform=ne.__originalSetTransform,ne.resetTransform=ne.__originalResetTransform,ne.clip=ne.__originalClip,ne.moveTo=ne.__originalMoveTo,ne.lineTo=ne.__originalLineTo,ne.bezierCurveTo=ne.__originalBezierCurveTo,ne.rect=ne.__originalRect,ne.closePath=ne.__originalClosePath,ne.beginPath=ne.__originalBeginPath,delete ne._removeMirroring},ne.save=function(){Y.save(),this.__originalSave()},ne.restore=function(){Y.restore(),this.__originalRestore()},ne.translate=function(ae,J){Y.translate(ae,J),this.__originalTranslate(ae,J)},ne.scale=function(ae,J){Y.scale(ae,J),this.__originalScale(ae,J)},ne.transform=function(ae,J,K,W,re,G){Y.transform(ae,J,K,W,re,G),this.__originalTransform(ae,J,K,W,re,G)},ne.setTransform=function(ae,J,K,W,re,G){Y.setTransform(ae,J,K,W,re,G),this.__originalSetTransform(ae,J,K,W,re,G)},ne.resetTransform=function(){Y.resetTransform(),this.__originalResetTransform()},ne.rotate=function(ae){Y.rotate(ae),this.__originalRotate(ae)},ne.clip=function(ae){Y.clip(ae),this.__originalClip(ae)},ne.moveTo=function(H,ae){Y.moveTo(H,ae),this.__originalMoveTo(H,ae)},ne.lineTo=function(H,ae){Y.lineTo(H,ae),this.__originalLineTo(H,ae)},ne.bezierCurveTo=function(H,ae,J,K,W,re){Y.bezierCurveTo(H,ae,J,K,W,re),this.__originalBezierCurveTo(H,ae,J,K,W,re)},ne.rect=function(H,ae,J,K){Y.rect(H,ae,J,K),this.__originalRect(H,ae,J,K)},ne.closePath=function(){Y.closePath(),this.__originalClosePath()},ne.beginPath=function(){Y.beginPath(),this.__originalBeginPath()}}(K,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),A(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(Y){this.current.activeSMask&&(Y?(Y[0]=Math.floor(Y[0]),Y[1]=Math.floor(Y[1]),Y[2]=Math.ceil(Y[2]),Y[3]=Math.ceil(Y[3])):Y=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],function x(ne,Y,H,ae){const J=ae[0],K=ae[1],W=ae[2]-J,re=ae[3]-K;0===W||0===re||(function L(ne,Y,H,ae,J,K,W,re,G,ue,ye){const Ie=!!K,be=Ie?K[0]:0,ie=Ie?K[1]:0,De=Ie?K[2]:0;let ze;ze="Luminosity"===J?P:N;const nt=Math.min(ae,Math.ceil(1048576/H));for(let ft=0;ft100&&(ue=100),this.current.fontSizeScale=H/ue,this.ctx.font=`${re} ${W} ${ue}px ${G}`}setTextRenderingMode(Y){this.current.textRenderingMode=Y}setTextRise(Y){this.current.textRise=Y}moveText(Y,H){this.current.x=this.current.lineX+=Y,this.current.y=this.current.lineY+=H}setLeadingMoveText(Y,H){this.setLeading(-H),this.moveText(Y,H)}setTextMatrix(Y,H,ae,J,K,W){this.current.textMatrix=[Y,H,ae,J,K,W],this.current.textMatrixScale=Math.hypot(Y,H),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(Y,H,ae,J){const K=this.ctx,W=this.current,re=W.font,G=W.textRenderingMode,ue=W.fontSize/W.fontSizeScale,ye=G&i.TextRenderingMode.FILL_STROKE_MASK,Ie=!!(G&i.TextRenderingMode.ADD_TO_PATH_FLAG),be=W.patternFill&&!re.missingFile;let ie;(re.disableFontFace||Ie||be)&&(ie=re.getPathGenerator(this.commonObjs,Y)),re.disableFontFace||be?(K.save(),K.translate(H,ae),K.beginPath(),ie(K,ue),J&&K.setTransform(...J),(ye===i.TextRenderingMode.FILL||ye===i.TextRenderingMode.FILL_STROKE)&&K.fill(),(ye===i.TextRenderingMode.STROKE||ye===i.TextRenderingMode.FILL_STROKE)&&K.stroke(),K.restore()):((ye===i.TextRenderingMode.FILL||ye===i.TextRenderingMode.FILL_STROKE)&&K.fillText(Y,H,ae),(ye===i.TextRenderingMode.STROKE||ye===i.TextRenderingMode.FILL_STROKE)&&K.strokeText(Y,H,ae)),Ie&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,n.getCurrentTransform)(K),x:H,y:ae,fontSize:ue,addToPath:ie})}get isFontSubpixelAAEnabled(){const{context:Y}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);Y.scale(1.5,1),Y.fillText("I",0,10);const H=Y.getImageData(0,0,10,10).data;let ae=!1;for(let J=3;J0&&H[J]<255){ae=!0;break}return(0,i.shadow)(this,"isFontSubpixelAAEnabled",ae)}showText(Y){const H=this.current,ae=H.font;if(ae.isType3Font)return this.showType3Text(Y);const J=H.fontSize;if(0===J)return;const K=this.ctx,W=H.fontSizeScale,re=H.charSpacing,G=H.wordSpacing,ue=H.fontDirection,ye=H.textHScale*ue,Ie=Y.length,be=ae.vertical,ie=be?1:-1,De=ae.defaultVMetrics,ze=J*H.fontMatrix[0],qe=H.textRenderingMode===i.TextRenderingMode.FILL&&!ae.disableFontFace&&!H.patternFill;let nt;if(K.save(),K.transform(...H.textMatrix),K.translate(H.x,H.y+H.textRise),K.scale(ye,ue>0?-1:1),H.patternFill){K.save();const bt=H.fillColor.getPattern(K,this,(0,n.getCurrentTransformInverse)(K),d.PathType.FILL);nt=(0,n.getCurrentTransform)(K),K.restore(),K.fillStyle=bt}let ft=H.lineWidth;const rt=H.textMatrixScale;if(0===rt||0===ft){const bt=H.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;(bt===i.TextRenderingMode.STROKE||bt===i.TextRenderingMode.FILL_STROKE)&&(ft=this.getSinglePixelWidth())}else ft/=rt;1!==W&&(K.scale(W,W),ft/=W),K.lineWidth=ft;let Wt,mt=0;for(Wt=0;Wt0){const Ue=1e3*K.measureText(hn).width/J*W;if(ennew Q(W,this.commonObjs,this.objs,this.canvasFactory)},J)}else H=this._getPattern(Y[1],Y[2]);return H}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(Y,H,ae){const J=this.selectColor?.(Y,H,ae)||i.Util.makeHexColor(Y,H,ae);this.ctx.strokeStyle=J,this.current.strokeColor=J}setFillRGBColor(Y,H,ae){const J=this.selectColor?.(Y,H,ae)||i.Util.makeHexColor(Y,H,ae);this.ctx.fillStyle=J,this.current.fillColor=J,this.current.patternFill=!1}_getPattern(Y,H=null){let ae;return this.cachedPatterns.has(Y)?ae=this.cachedPatterns.get(Y):(ae=(0,d.getShadingPattern)(this.objs.get(Y)),this.cachedPatterns.set(Y,ae)),H&&(ae.matrix=H),ae}shadingFill(Y){if(!this.contentVisible)return;const H=this.ctx;this.save();const ae=this._getPattern(Y);H.fillStyle=ae.getPattern(H,this,(0,n.getCurrentTransformInverse)(H),d.PathType.SHADING);const J=(0,n.getCurrentTransformInverse)(H);if(J){const K=H.canvas,W=K.width,re=K.height,G=i.Util.applyTransform([0,0],J),ue=i.Util.applyTransform([0,re],J),ye=i.Util.applyTransform([W,0],J),Ie=i.Util.applyTransform([W,re],J),be=Math.min(G[0],ue[0],ye[0],Ie[0]),ie=Math.min(G[1],ue[1],ye[1],Ie[1]),De=Math.max(G[0],ue[0],ye[0],Ie[0]),ze=Math.max(G[1],ue[1],ye[1],Ie[1]);this.ctx.fillRect(be,ie,De-be,ze-ie)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,i.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,i.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(Y,H){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(Y)&&6===Y.length&&this.transform(...Y),this.baseTransform=(0,n.getCurrentTransform)(this.ctx),H)&&(this.ctx.rect(H[0],H[1],H[2]-H[0],H[3]-H[1]),this.current.updateRectMinMax((0,n.getCurrentTransform)(this.ctx),H),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(Y){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const H=this.ctx;Y.isolated||(0,i.info)("TODO: Support non-isolated groups."),Y.knockout&&(0,i.warn)("Knockout groups not supported.");const ae=(0,n.getCurrentTransform)(H);if(Y.matrix&&H.transform(...Y.matrix),!Y.bbox)throw new Error("Bounding box is required.");let J=i.Util.getAxialAlignedBoundingBox(Y.bbox,(0,n.getCurrentTransform)(H));J=i.Util.intersect(J,[0,0,H.canvas.width,H.canvas.height])||[0,0,0,0];const W=Math.floor(J[0]),re=Math.floor(J[1]);let G=Math.max(Math.ceil(J[2])-W,1),ue=Math.max(Math.ceil(J[3])-re,1),ye=1,Ie=1;G>l&&(ye=G/l,G=l),ue>l&&(Ie=ue/l,ue=l),this.current.startNewPathAndClipBox([0,0,G,ue]);let be="groupAt"+this.groupLevel;Y.smask&&(be+="_smask_"+this.smaskCounter++%2);const ie=this.cachedCanvases.getCanvas(be,G,ue),De=ie.context;De.scale(1/ye,1/Ie),De.translate(-W,-re),De.transform(...ae),Y.smask?this.smaskStack.push({canvas:ie.canvas,context:De,offsetX:W,offsetY:re,scaleX:ye,scaleY:Ie,subtype:Y.smask.subtype,backdrop:Y.smask.backdrop,transferMap:Y.smask.transferMap||null,startTransformInverse:null}):(H.setTransform(1,0,0,1,0,0),H.translate(W,re),H.scale(ye,Ie),H.save()),A(H,De),this.ctx=De,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(H),this.groupLevel++}endGroup(Y){if(!this.contentVisible)return;this.groupLevel--;const H=this.ctx,ae=this.groupStack.pop();if(this.ctx=ae,this.ctx.imageSmoothingEnabled=!1,Y.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const J=(0,n.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...J);const K=i.Util.getAxialAlignedBoundingBox([0,0,H.canvas.width,H.canvas.height],J);this.ctx.drawImage(H.canvas,0,0),this.ctx.restore(),this.compose(K)}}beginAnnotation(Y,H,ae,J,K){if(this.#e(),T(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(H)&&4===H.length){const W=H[2]-H[0],re=H[3]-H[1];if(K&&this.annotationCanvasMap){(ae=ae.slice())[4]-=H[0],ae[5]-=H[1],(H=H.slice())[0]=H[1]=0,H[2]=W,H[3]=re;const[G,ue]=i.Util.singularValueDecompose2dScale((0,n.getCurrentTransform)(this.ctx)),{viewportScale:ye}=this,Ie=Math.ceil(W*this.outputScaleX*ye),be=Math.ceil(re*this.outputScaleY*ye);this.annotationCanvas=this.canvasFactory.create(Ie,be);const{canvas:ie,context:De}=this.annotationCanvas;this.annotationCanvasMap.set(Y,ie),this.annotationCanvas.savedCtx=this.ctx,this.ctx=De,this.ctx.setTransform(G,0,0,-ue,0,re*ue),T(this.ctx,this.foregroundColor)}else T(this.ctx,this.foregroundColor),this.ctx.rect(H[0],H[1],W,re),this.ctx.clip(),this.endPath()}this.current=new v(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...ae),this.transform(...J)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(Y){if(!this.contentVisible)return;const H=Y.count;(Y=this.getObject(Y.data,Y)).count=H;const ae=this.ctx,J=this.processingType3;if(J&&(void 0===J.compiled&&(J.compiled=function C(ne){const{width:Y,height:H}=ne;if(Y>p||H>p)return null;const J=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),K=Y+1;let re,G,ue,W=new Uint8Array(K*(H+1));const ye=Y+7&-8;let Ie=new Uint8Array(ye*H),be=0;for(const nt of ne.data){let ft=128;for(;ft>0;)Ie[be++]=nt&ft?0:255,ft>>=1}let ie=0;for(be=0,0!==Ie[be]&&(W[0]=1,++ie),G=1;G>2)+(Ie[be+1]?4:0)+(Ie[be-ye+1]?8:0),J[nt]&&(W[ue+G]=J[nt],++ie),be++;if(Ie[be-ye]!==Ie[be]&&(W[ue+G]=Ie[be]?2:4,++ie),ie>1e3)return null}for(be=ye*(H-1),ue=re*K,0!==Ie[be]&&(W[ue]=8,++ie),G=1;G1e3)return null;const De=new Int32Array([0,K,-1,0,-K,0,0,0,1]),ze=new Path2D;for(re=0;ie&&re<=H;re++){let nt=re*K;const ft=nt+Y;for(;nt>4,W[nt]&=mt>>2|mt<<2),ze.lineTo(nt%K,nt/K|0),W[nt]||--ie}while(rt!==nt);--re}return Ie=null,W=null,function(nt){nt.save(),nt.scale(1/Y,-1/H),nt.translate(0,-H),nt.fill(ze),nt.beginPath(),nt.restore()}}(Y)),J.compiled))return void J.compiled(ae);const K=this._createMaskCanvas(Y),W=K.canvas;ae.save(),ae.setTransform(1,0,0,1,0,0),ae.drawImage(W,K.offsetX,K.offsetY),ae.restore(),this.compose()}paintImageMaskXObjectRepeat(Y,H,ae=0,J=0,K,W){if(!this.contentVisible)return;Y=this.getObject(Y.data,Y);const re=this.ctx;re.save();const G=(0,n.getCurrentTransform)(re);re.transform(H,ae,J,K,0,0);const ue=this._createMaskCanvas(Y);re.setTransform(1,0,0,1,0,0);for(let ye=0,Ie=W.length;yeG?re/G:1,J=W>G?W/G:1}}this._cachedScaleForStroking=[ae,J]}return this._cachedScaleForStroking}rescaleAndStroke(Y){const{ctx:H}=this,{lineWidth:ae}=this.current,[J,K]=this.getScaleForStroking();if(H.lineWidth=ae||1,1===J&&1===K)return void H.stroke();let W,re,G;Y&&(W=(0,n.getCurrentTransform)(H),re=H.getLineDash().slice(),G=H.lineDashOffset),H.scale(J,K);const ue=Math.max(J,K);H.setLineDash(H.getLineDash().map(ye=>ye/ue)),H.lineDashOffset/=ue,H.stroke(),Y&&(H.setTransform(...W),H.setLineDash(re),H.lineDashOffset=G)}isContentVisible(){for(let Y=this.markedContentStack.length-1;Y>=0;Y--)if(!this.markedContentStack[Y].visible)return!1;return!0}}f.CanvasGraphics=Q;for(const ne in i.OPS)void 0!==Q.prototype[ne]&&(Q.prototype[i.OPS[ne]]=Q.prototype[ne])},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.TilingPattern=f.PathType=void 0,f.getShadingPattern=function S(h){switch(h[0]){case"RadialAxial":return new c(h);case"Mesh":return new b(h);case"Dummy":return new p}throw new Error(`Unknown IR type: ${h[0]}`)};var n=o(1),i=o(8),d=o(3);const u={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function a(h,C){if(!C||d.isNodeJS)return;const v=C[2]-C[0],M=C[3]-C[1],E=new Path2D;E.rect(C[0],C[1],v,M),h.clip(E)}f.PathType=u;class e{constructor(){this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class c extends e{constructor(C){super(),this._type=C[1],this._bbox=C[2],this._colorStops=C[3],this._p0=C[4],this._p1=C[5],this._r0=C[6],this._r1=C[7],this.matrix=null}_createGradient(C){let v;"axial"===this._type?v=C.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(v=C.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const M of this._colorStops)v.addColorStop(M[0],M[1]);return v}getPattern(C,v,M,E){let A;if(E===u.STROKE||E===u.FILL){const T=v.current.getClippedPathBoundingBox(E,(0,i.getCurrentTransform)(C))||[0,0,0,0],R=Math.ceil(T[2]-T[0])||1,N=Math.ceil(T[3]-T[1])||1,P=v.cachedCanvases.getCanvas("pattern",R,N,!0),L=P.context;L.clearRect(0,0,L.canvas.width,L.canvas.height),L.beginPath(),L.rect(0,0,L.canvas.width,L.canvas.height),L.translate(-T[0],-T[1]),M=n.Util.transform(M,[1,0,0,1,T[0],T[1]]),L.transform(...v.baseTransform),this.matrix&&L.transform(...this.matrix),a(L,this._bbox),L.fillStyle=this._createGradient(L),L.fill(),A=C.createPattern(P.canvas,"no-repeat");const x=new DOMMatrix(M);try{A.setTransform(x)}catch(V){(0,n.warn)(`RadialAxialShadingPattern.getPattern: "${V?.message}".`)}}else a(C,this._bbox),A=this._createGradient(C);return A}}function l(h,C,v,M,E,A,T,R){const N=C.coords,P=C.colors,L=h.data,x=4*h.width;let V;N[v+1]>N[M+1]&&(V=v,v=M,M=V,V=A,A=T,T=V),N[M+1]>N[E+1]&&(V=M,M=E,E=V,V=T,T=R,R=V),N[v+1]>N[M+1]&&(V=v,v=M,M=V,V=A,A=T,T=V);const F=(N[v]+C.offsetX)*C.scaleX,ee=(N[v+1]+C.offsetY)*C.scaleY,X=(N[M]+C.offsetX)*C.scaleX,ce=(N[M+1]+C.offsetY)*C.scaleY,Q=(N[E]+C.offsetX)*C.scaleX,ne=(N[E+1]+C.offsetY)*C.scaleY;if(ee>=ne)return;const Y=P[A],H=P[A+1],ae=P[A+2],J=P[T],K=P[T+1],W=P[T+2],re=P[R],G=P[R+1],ue=P[R+2],ye=Math.round(ee),Ie=Math.round(ne);let be,ie,De,ze,qe,nt,ft,rt;for(let mt=ye;mt<=Ie;mt++){if(mtne?1:ce===ne?0:(ce-mt)/(ce-ne),be=X-(X-Q)*hn,ie=J-(J-re)*hn,De=K-(K-G)*hn,ze=W-(W-ue)*hn}let Wt;Wt=mtne?1:(ee-mt)/(ee-ne),qe=F-(F-Q)*Wt,nt=Y-(Y-re)*Wt,ft=H-(H-G)*Wt,rt=ae-(ae-ue)*Wt;const bt=Math.round(Math.min(be,qe)),Bt=Math.round(Math.max(be,qe));let an=x*mt+4*bt;for(let hn=bt;hn<=Bt;hn++)Wt=(be-hn)/(be-qe),Wt<0?Wt=0:Wt>1&&(Wt=1),L[an++]=ie-(ie-nt)*Wt|0,L[an++]=De-(De-ft)*Wt|0,L[an++]=ze-(ze-rt)*Wt|0,L[an++]=255}}function g(h,C,v){const M=C.coords,E=C.colors;let A,T;switch(C.type){case"lattice":const R=C.verticesPerRow,N=Math.floor(M.length/R)-1,P=R-1;for(A=0;A=E?A=E:M=A/C,{scale:M,size:A}}clipBbox(C,v,M,E,A){C.ctx.rect(v,M,E-v,A-M),C.current.updateRectMinMax((0,i.getCurrentTransform)(C.ctx),[v,M,E,A]),C.clip(),C.endPath()}setFillAndStrokeStyleToContext(C,v,M){const E=C.ctx,A=C.current;switch(v){case 1:const T=this.ctx;E.fillStyle=T.fillStyle,E.strokeStyle=T.strokeStyle,A.fillColor=T.fillStyle,A.strokeColor=T.strokeStyle;break;case 2:const R=n.Util.makeHexColor(M[0],M[1],M[2]);E.fillStyle=R,E.strokeStyle=R,A.fillColor=R,A.strokeColor=R;break;default:throw new n.FormatError(`Unsupported paint type: ${v}`)}}getPattern(C,v,M,E){let A=M;E!==u.SHADING&&(A=n.Util.transform(A,v.baseTransform),this.matrix&&(A=n.Util.transform(A,this.matrix)));const T=this.createPatternCanvas(v);let R=new DOMMatrix(A);R=R.translate(T.offsetX,T.offsetY),R=R.scale(1/T.scaleX,1/T.scaleY);const N=C.createPattern(T.canvas,"repeat");try{N.setTransform(R)}catch(P){(0,n.warn)(`TilingPattern.getPattern: "${P?.message}".`)}return N}}f.TilingPattern=m},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.applyMaskImageData=function i({src:d,srcPos:u=0,dest:a,destPos:e=0,width:c,height:l,inverseDecode:g=!1}){const b=n.FeatureTest.isLittleEndian?4278190080:255,[p,S]=g?[0,b]:[b,0],y=c>>3,m=7&c,h=d.length;a=new Uint32Array(a.buffer);for(let C=0;C{Object.defineProperty(f,"__esModule",{value:!0}),f.GlobalWorkerOptions=void 0;const o=Object.create(null);f.GlobalWorkerOptions=o,o.workerPort=void 0===o.workerPort?null:o.workerPort,o.workerSrc=void 0===o.workerSrc?"":o.workerSrc},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.MessageHandler=void 0;var n=o(1);function u(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}f.MessageHandler=class a{constructor(c,l,g){this.sourceName=c,this.targetName=l,this.comObj=g,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=b=>{const p=b.data;if(p.targetName!==this.sourceName)return;if(p.stream)return void this._processStreamMessage(p);if(p.callback){const y=p.callbackId,m=this.callbackCapabilities[y];if(!m)throw new Error(`Cannot resolve callback ${y}`);if(delete this.callbackCapabilities[y],1===p.callback)m.resolve(p.data);else{if(2!==p.callback)throw new Error("Unexpected callback case");m.reject(u(p.reason))}return}const S=this.actionHandler[p.action];if(!S)throw new Error(`Unknown action from worker: ${p.action}`);if(p.callbackId){const y=this.sourceName,m=p.sourceName;new Promise(function(h){h(S(p.data))}).then(function(h){g.postMessage({sourceName:y,targetName:m,callback:1,callbackId:p.callbackId,data:h})},function(h){g.postMessage({sourceName:y,targetName:m,callback:2,callbackId:p.callbackId,reason:u(h)})})}else p.streamId?this._createStreamSink(p):S(p.data)},g.addEventListener("message",this._onComObjOnMessage)}on(c,l){const g=this.actionHandler;if(g[c])throw new Error(`There is already an actionName called "${c}"`);g[c]=l}send(c,l,g){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:c,data:l},g)}sendWithPromise(c,l,g){const b=this.callbackId++,p=(0,n.createPromiseCapability)();this.callbackCapabilities[b]=p;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:c,callbackId:b,data:l},g)}catch(S){p.reject(S)}return p.promise}sendWithStream(c,l,g,b){const p=this.streamId++,S=this.sourceName,y=this.targetName,m=this.comObj;return new ReadableStream({start:h=>{const C=(0,n.createPromiseCapability)();return this.streamControllers[p]={controller:h,startCall:C,pullCall:null,cancelCall:null,isClosed:!1},m.postMessage({sourceName:S,targetName:y,action:c,streamId:p,data:l,desiredSize:h.desiredSize},b),C.promise},pull:h=>{const C=(0,n.createPromiseCapability)();return this.streamControllers[p].pullCall=C,m.postMessage({sourceName:S,targetName:y,stream:6,streamId:p,desiredSize:h.desiredSize}),C.promise},cancel:h=>{(0,n.assert)(h instanceof Error,"cancel must have a valid reason");const C=(0,n.createPromiseCapability)();return this.streamControllers[p].cancelCall=C,this.streamControllers[p].isClosed=!0,m.postMessage({sourceName:S,targetName:y,stream:1,streamId:p,reason:u(h)}),C.promise}},g)}_createStreamSink(c){const l=c.streamId,g=this.sourceName,b=c.sourceName,p=this.comObj,S=this,y=this.actionHandler[c.action],m={enqueue(h,C=1,v){if(this.isCancelled)return;const M=this.desiredSize;this.desiredSize-=C,M>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),p.postMessage({sourceName:g,targetName:b,stream:4,streamId:l,chunk:h},v)},close(){this.isCancelled||(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:b,stream:3,streamId:l}),delete S.streamSinks[l])},error(h){(0,n.assert)(h instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:b,stream:5,streamId:l,reason:u(h)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:c.desiredSize,ready:null};m.sinkCapability.resolve(),m.ready=m.sinkCapability.promise,this.streamSinks[l]=m,new Promise(function(h){h(y(c.data,m))}).then(function(){p.postMessage({sourceName:g,targetName:b,stream:8,streamId:l,success:!0})},function(h){p.postMessage({sourceName:g,targetName:b,stream:8,streamId:l,reason:u(h)})})}_processStreamMessage(c){const l=c.streamId,g=this.sourceName,b=c.sourceName,p=this.comObj,S=this.streamControllers[l],y=this.streamSinks[l];switch(c.stream){case 8:c.success?S.startCall.resolve():S.startCall.reject(u(c.reason));break;case 7:c.success?S.pullCall.resolve():S.pullCall.reject(u(c.reason));break;case 6:if(!y){p.postMessage({sourceName:g,targetName:b,stream:7,streamId:l,success:!0});break}y.desiredSize<=0&&c.desiredSize>0&&y.sinkCapability.resolve(),y.desiredSize=c.desiredSize,new Promise(function(m){m(y.onPull&&y.onPull())}).then(function(){p.postMessage({sourceName:g,targetName:b,stream:7,streamId:l,success:!0})},function(m){p.postMessage({sourceName:g,targetName:b,stream:7,streamId:l,reason:u(m)})});break;case 4:if((0,n.assert)(S,"enqueue should have stream controller"),S.isClosed)break;S.controller.enqueue(c.chunk);break;case 3:if((0,n.assert)(S,"close should have stream controller"),S.isClosed)break;S.isClosed=!0,S.controller.close(),this._deleteStreamController(S,l);break;case 5:(0,n.assert)(S,"error should have stream controller"),S.controller.error(u(c.reason)),this._deleteStreamController(S,l);break;case 2:c.success?S.cancelCall.resolve():S.cancelCall.reject(u(c.reason)),this._deleteStreamController(S,l);break;case 1:if(!y)break;new Promise(function(m){m(y.onCancel&&y.onCancel(u(c.reason)))}).then(function(){p.postMessage({sourceName:g,targetName:b,stream:2,streamId:l,success:!0})},function(m){p.postMessage({sourceName:g,targetName:b,stream:2,streamId:l,reason:u(m)})}),y.sinkCapability.reject(u(c.reason)),y.isCancelled=!0,delete this.streamSinks[l];break;default:throw new Error("Unexpected stream case")}}_deleteStreamController(c,l){var g=this;return _asyncToGenerator(function*(){yield Promise.allSettled([c.startCall&&c.startCall.promise,c.pullCall&&c.pullCall.promise,c.cancelCall&&c.cancelCall.promise]),delete g.streamControllers[l]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.Metadata=void 0;var n=o(1);f.Metadata=class i{#e;#t;constructor({parsedData:u,rawData:a}){this.#e=u,this.#t=a}getRaw(){return this.#t}get(u){return this.#e.get(u)??null}getAll(){return(0,n.objectFromMap)(this.#e)}has(u){return this.#e.has(u)}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.OptionalContentConfig=void 0;var n=o(1);const i=Symbol("INTERNAL");class d{#e=!0;constructor(e,c){this.name=e,this.intent=c}get visible(){return this.#e}_setVisible(e,c){e!==i&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#e=c}}f.OptionalContentConfig=class u{#e=!0;#t=new Map;#n=null;#r=null;constructor(e){if(this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,this.#r=e.order;for(const c of e.groups)this.#t.set(c.id,new d(c.name,c.intent));if("OFF"===e.baseState)for(const c of this.#t.values())c._setVisible(i,!1);for(const c of e.on)this.#t.get(c)._setVisible(i,!0);for(const c of e.off)this.#t.get(c)._setVisible(i,!1);this.#n=new Map;for(const[c,l]of this.#t)this.#n.set(c,l.visible)}}#o(e){const c=e.length;if(c<2)return!0;const l=e[0];for(let g=1;g0?(0,n.objectFromMap)(this.#t):null}getGroup(e){return this.#t.get(e)||null}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFDataTransportStream=void 0;var n=o(1),i=o(8);f.PDFDataTransportStream=class d{constructor(c,l){(0,n.assert)(l,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=c.progressiveDone||!1,this._contentDispositionFilename=c.contentDispositionFilename||null;const g=c.initialData;if(g?.length>0){const b=new Uint8Array(g).buffer;this._queuedChunks.push(b)}this._pdfDataRangeTransport=l,this._isStreamingSupported=!c.disableStream,this._isRangeSupported=!c.disableRange,this._contentLength=c.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((b,p)=>{this._onReceiveData({begin:b,chunk:p})}),this._pdfDataRangeTransport.addProgressListener((b,p)=>{this._onProgress({loaded:b,total:p})}),this._pdfDataRangeTransport.addProgressiveReadListener(b=>{this._onReceiveData({chunk:b})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(c){const l=new Uint8Array(c.chunk).buffer;if(void 0===c.begin)this._fullRequestReader?this._fullRequestReader._enqueue(l):this._queuedChunks.push(l);else{const g=this._rangeReaders.some(function(b){return b._begin===c.begin&&(b._enqueue(l),!0)});(0,n.assert)(g,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(c){if(void 0===c.total){const l=this._rangeReaders[0];l?.onProgress&&l.onProgress({loaded:c.loaded})}else{const l=this._fullRequestReader;l?.onProgress&&l.onProgress({loaded:c.loaded,total:c.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(c){const l=this._rangeReaders.indexOf(c);l>=0&&this._rangeReaders.splice(l,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const c=this._queuedChunks;return this._queuedChunks=null,new u(this,c,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(c,l){if(l<=this._progressiveDataLength)return null;const g=new a(this,c,l);return this._pdfDataRangeTransport.requestDataRange(c,l),this._rangeReaders.push(g),g}cancelAllRequests(c){this._fullRequestReader&&this._fullRequestReader.cancel(c);for(const l of this._rangeReaders.slice(0))l.cancel(c);this._pdfDataRangeTransport.abort()}};class u{constructor(c,l,g=!1,b=null){this._stream=c,this._done=g||!1,this._filename=(0,i.isPdfFile)(b)?b:null,this._queuedChunks=l||[],this._loaded=0;for(const p of this._queuedChunks)this._loaded+=p.byteLength;this._requests=[],this._headersReady=Promise.resolve(),c._fullRequestReader=this,this.onProgress=null}_enqueue(c){this._done||(this._requests.length>0?this._requests.shift().resolve({value:c,done:!1}):this._queuedChunks.push(c),this._loaded+=c.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var c=this;return _asyncToGenerator(function*(){if(c._queuedChunks.length>0)return{value:c._queuedChunks.shift(),done:!1};if(c._done)return{value:void 0,done:!0};const l=(0,n.createPromiseCapability)();return c._requests.push(l),l.promise})()}cancel(c){this._done=!0;for(const l of this._requests)l.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class a{constructor(c,l,g){this._stream=c,this._begin=l,this._end=g,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(c){if(!this._done){if(0===this._requests.length)this._queuedChunk=c;else{this._requests.shift().resolve({value:c,done:!1});for(const g of this._requests)g.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var c=this;return _asyncToGenerator(function*(){if(c._queuedChunk){const g=c._queuedChunk;return c._queuedChunk=null,{value:g,done:!1}}if(c._done)return{value:void 0,done:!0};const l=(0,n.createPromiseCapability)();return c._requests.push(l),l.promise})()}cancel(c){this._done=!0;for(const l of this._requests)l.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(ve,f)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.XfaText=void 0;class o{static textContent(i){const d=[],u={items:d,styles:Object.create(null)};return function a(e){if(!e)return;let c=null;const l=e.name;if("#text"===l)c=e.value;else{if(!o.shouldBuildText(l))return;e?.attributes?.textContent?c=e.attributes.textContent:e.value&&(c=e.value)}if(null!==c&&d.push({str:c}),e.children)for(const g of e.children)a(g)}(i),u}static shouldBuildText(i){return!("textarea"===i||"input"===i||"option"===i||"select"===i)}}f.XfaText=o},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.NodeStandardFontDataFactory=f.NodeCanvasFactory=f.NodeCMapReaderFactory=void 0;var n=o(9);const i=function(e){return new Promise((c,l)=>{__webpack_require__(45344).readFile(e,(b,p)=>{!b&&p?c(new Uint8Array(p)):l(new Error(b))})})};f.NodeCanvasFactory=class d extends n.BaseCanvasFactory{_createCanvas(c,l){return __webpack_require__(22892).createCanvas(c,l)}},f.NodeCMapReaderFactory=class u extends n.BaseCMapReaderFactory{_fetchData(c,l){return i(c).then(g=>({cMapData:g,compressionType:l}))}},f.NodeStandardFontDataFactory=class a extends n.BaseStandardFontDataFactory{_fetchData(c){return i(c)}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.AnnotationEditorLayer=void 0;var n=o(7),i=o(1),d=o(23),u=o(24);f.AnnotationEditorLayer=(()=>{class e{#e;#t=!1;#n=this.pointerup.bind(this);#r=this.pointerdown.bind(this);#o=new Map;#c=!1;#a=!1;#i;static _initialized=!1;constructor(l){e._initialized||(e._initialized=!0,d.FreeTextEditor.initialize(l.l10n),u.InkEditor.initialize(l.l10n),l.uiManager.registerEditorTypes([d.FreeTextEditor,u.InkEditor])),this.#i=l.uiManager,this.annotationStorage=l.annotationStorage,this.pageIndex=l.pageIndex,this.div=l.div,this.#e=l.accessibilityManager,this.#i.addLayer(this)}updateToolbar(l){this.#i.updateToolbar(l)}updateMode(l=this.#i.getMode()){this.#s(),l===i.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#i.unselectAll()}addInkEditorIfNeeded(l){if(l||this.#i.getMode()===i.AnnotationEditorType.INK){if(!l)for(const b of this.#o.values())if(b.isEmpty())return void b.setInBackground();this.#l({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(l){this.#i.setEditingState(l)}addCommands(l){this.#i.addCommands(l)}enable(){this.div.style.pointerEvents="auto";for(const l of this.#o.values())l.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const l of this.#o.values())l.disableEditing()}setActiveEditor(l){this.#i.getActive()!==l&&this.#i.setActiveEditor(l)}enableClick(){this.div.addEventListener("pointerdown",this.#r),this.div.addEventListener("pointerup",this.#n)}disableClick(){this.div.removeEventListener("pointerdown",this.#r),this.div.removeEventListener("pointerup",this.#n)}attach(l){this.#o.set(l.id,l)}detach(l){this.#o.delete(l.id),this.#e?.removePointerInTextLayer(l.contentDiv)}remove(l){this.#i.removeEditor(l),this.detach(l),this.annotationStorage.remove(l.id),l.div.style.display="none",setTimeout(()=>{l.div.style.display="",l.div.remove(),l.isAttachedToDOM=!1,document.activeElement===document.body&&this.#i.focusMainContainer()},0),this.#a||this.addInkEditorIfNeeded(!1)}#h(l){l.parent!==this&&(this.attach(l),l.pageIndex=this.pageIndex,l.parent?.detach(l),l.parent=this,l.div&&l.isAttachedToDOM&&(l.div.remove(),this.div.append(l.div)))}add(l){if(this.#h(l),this.#i.addEditor(l),this.attach(l),!l.isAttachedToDOM){const g=l.render();this.div.append(g),l.isAttachedToDOM=!0}this.moveEditorInDOM(l),l.onceAdded(),this.addToAnnotationStorage(l)}moveEditorInDOM(l){this.#e?.moveElementInDOM(this.div,l.div,l.contentDiv,!0)}addToAnnotationStorage(l){!l.isEmpty()&&!this.annotationStorage.has(l.id)&&this.annotationStorage.setValue(l.id,l)}addOrRebuild(l){l.needsToBeRebuilt()?l.rebuild():this.add(l)}addANewEditor(l){this.addCommands({cmd:()=>{this.addOrRebuild(l)},undo:()=>{l.remove()},mustExec:!0})}addUndoableEditor(l){this.addCommands({cmd:()=>{this.addOrRebuild(l)},undo:()=>{l.remove()},mustExec:!1})}getNextId(){return this.#i.getId()}#u(l){switch(this.#i.getMode()){case i.AnnotationEditorType.FREETEXT:return new d.FreeTextEditor(l);case i.AnnotationEditorType.INK:return new u.InkEditor(l)}return null}deserialize(l){switch(l.annotationType){case i.AnnotationEditorType.FREETEXT:return d.FreeTextEditor.deserialize(l,this);case i.AnnotationEditorType.INK:return u.InkEditor.deserialize(l,this)}return null}#l(l){const g=this.getNextId(),b=this.#u({parent:this,id:g,x:l.offsetX,y:l.offsetY});return b&&this.add(b),b}setSelected(l){this.#i.setSelected(l)}toggleSelected(l){this.#i.toggleSelected(l)}isSelected(l){return this.#i.isSelected(l)}unselect(l){this.#i.unselect(l)}pointerup(l){if(!(0!==l.button||l.ctrlKey&&n.KeyboardManager.platform.isMac)&&l.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);this.#l(l)}}pointerdown(l){if(0!==l.button||l.ctrlKey&&n.KeyboardManager.platform.isMac||l.target!==this.div)return;this.#c=!0;const b=this.#i.getActive();this.#t=!b||b.isEmpty()}drop(l){const g=l.dataTransfer.getData("text/plain"),b=this.#i.getEditor(g);if(!b)return;l.preventDefault(),l.dataTransfer.dropEffect="move",this.#h(b);const p=this.div.getBoundingClientRect();b.translate(l.clientX-p.x-b.startX,l.clientY-p.y-b.startY),this.moveEditorInDOM(b),b.div.focus()}dragover(l){l.preventDefault()}destroy(){this.#i.getActive()?.parent===this&&this.#i.setActiveEditor(null);for(const l of this.#o.values())this.#e?.removePointerInTextLayer(l.contentDiv),l.isAttachedToDOM=!1,l.div.remove(),l.parent=null;this.div=null,this.#o.clear(),this.#i.removeLayer(this)}#s(){this.#a=!0;for(const l of this.#o.values())l.isEmpty()&&l.remove();this.#a=!1}render(l){this.viewport=l.viewport,(0,n.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const g of this.#i.getEditors(this.pageIndex))this.add(g);this.updateMode()}update(l){this.viewport=l.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[l,g,b,p]=this.viewport.viewBox;return[b-l,p-g]}get viewportBaseDimensions(){const{width:l,height:g,rotation:b}=this.viewport;return b%180==0?[l,g]:[g,l]}setDimensions(){const{width:l,height:g,rotation:b}=this.viewport,p=b%180!=0,S=Math.floor(l)+"px",y=Math.floor(g)+"px";this.div.style.width=p?y:S,this.div.style.height=p?S:y,this.div.setAttribute("data-main-rotation",b)}}return e})()},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.FreeTextEditor=void 0;var n=o(1),i=o(7),d=o(6);class u extends d.AnnotationEditor{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#n=this.editorDivKeydown.bind(this);#r;#o="";#c=!1;#a;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new i.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],u.prototype.commitOrRemove]]);static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#r=e.color||u._defaultColor||d.AnnotationEditor._defaultLineColor,this.#a=e.fontSize||u._defaultFontSize}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(l=>[l,e.get(l)]));const c=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(c.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,c){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:u._defaultFontSize=c;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:u._defaultColor=c}}updateParams(e,c){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#i(c);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#h(c)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,u._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,u._defaultColor||d.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#a],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#r]]}#i(e){const c=g=>{this.editorDiv.style.fontSize=`calc(${g}px * var(--scale-factor))`,this.translate(0,-(g-this.#a)*this.parent.scaleFactor),this.#a=g,this.#l()},l=this.#a;this.parent.addCommands({cmd:()=>{c(e)},undo:()=>{c(l)},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#h(e){const c=this.#r;this.parent.addCommands({cmd:()=>{this.#r=e,this.editorDiv.style.color=e},undo:()=>{this.#r=c,this.editorDiv.style.color=c},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-u._internalPadding*this.parent.scaleFactor,-(u._internalPadding+this.#a)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#n),this.editorDiv.addEventListener("focus",this.#t),this.editorDiv.addEventListener("blur",this.#e))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#n),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#u(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const c=[];for(let l=0,g=e.length;lthis.editorDiv?.setAttribute("aria-label",g)),u._l10nPromise.get("free_text_default_content").then(g=>this.editorDiv?.setAttribute("default-content",g)),this.editorDiv.contentEditable=!0;const{style:l}=this.editorDiv;if(l.fontSize=`calc(${this.#a}px * var(--scale-factor))`,l.color=this.#r,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,i.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[g,b]=this.parent.viewportBaseDimensions;this.setAt(e*g,c*b,this.width*g,this.height*b);for(const p of this.#o.split("\n")){const S=document.createElement("div");S.append(p?document.createTextNode(p):document.createElement("br")),this.editorDiv.append(S)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,c){const l=super.deserialize(e,c);return l.#a=e.fontSize,l.#r=n.Util.makeHexColor(...e.color),l.#o=e.value,l}serialize(){if(this.isEmpty())return null;const e=u._internalPadding*this.parent.scaleFactor,c=this.getRect(e,e),l=d.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:n.AnnotationEditorType.FREETEXT,color:l,fontSize:this.#a,value:this.#o,pageIndex:this.parent.pageIndex,rect:c,rotation:this.rotation}}}f.FreeTextEditor=u},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.InkEditor=void 0,Object.defineProperty(f,"fitCurve",{enumerable:!0,get:function(){return d.fitCurve}});var n=o(1),i=o(6),d=o(25),u=o(7);const a=16;f.InkEditor=(()=>{class c extends i.AnnotationEditor{#e=0;#t=0;#n=0;#r=this.canvasPointermove.bind(this);#o=this.canvasPointerleave.bind(this);#c=this.canvasPointerup.bind(this);#a=this.canvasPointerdown.bind(this);#i=!1;#h=!1;#u=null;#l=null;#s=0;#g=0;#f=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(g){super({...g,name:"inkEditor"}),this.color=g.color||null,this.thickness=g.thickness||null,this.opacity=g.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(g){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(b=>[b,g.get(b)]))}static updateDefaultParams(g,b){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:c._defaultThickness=b;break;case n.AnnotationEditorParamsType.INK_COLOR:c._defaultColor=b;break;case n.AnnotationEditorParamsType.INK_OPACITY:c._defaultOpacity=b/100}}updateParams(g,b){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#v(b);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#p(b);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#_(b)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,c._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,c._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*c._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||c._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||c._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??c._defaultOpacity))]]}#v(g){const b=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=g,this.#D()},undo:()=>{this.thickness=b,this.#D()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#p(g){const b=this.color;this.parent.addCommands({cmd:()=>{this.color=g,this.#m()},undo:()=>{this.color=b,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#_(g){g/=100;const b=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=g,this.#m()},undo:()=>{this.opacity=b,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#b(),this.#C()),this.isAttachedToDOM||(this.parent.add(this),this.#w()),this.#D())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#l.disconnect(),this.#l=null,super.remove())}enableEditMode(){this.#i||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#a),this.canvas.addEventListener("pointerup",this.#c))}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#a),this.canvas.removeEventListener("pointerup",this.#c))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#S(){const{width:g,height:b,rotation:p}=this.parent.viewport;switch(p){case 90:return[0,g,g,b];case 180:return[g,b,g,b];case 270:return[b,0,g,b];default:return[0,0,g,b]}}#y(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,u.opacityToHex)(this.opacity)}`}#d(g,b){this.isEditing=!0,this.#h||(this.#h=!0,this.#w(),this.thickness||=c._defaultThickness,this.color||=c._defaultColor||i.AnnotationEditor._defaultLineColor,this.opacity??=c._defaultOpacity),this.currentPath.push([g,b]),this.#u=null,this.#y(),this.ctx.beginPath(),this.ctx.moveTo(g,b),this.#f=()=>{this.#f&&(this.#u&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#m(),this.ctx.lineTo(...this.#u),this.#u=null,this.ctx.stroke()),window.requestAnimationFrame(this.#f))},window.requestAnimationFrame(this.#f)}#M(g,b){const[p,S]=this.currentPath.at(-1);g===p&&b===S||(this.currentPath.push([g,b]),this.#u=[g,b])}#A(g,b){this.ctx.closePath(),this.#f=null,g=Math.min(Math.max(g,0),this.canvas.width),b=Math.min(Math.max(b,0),this.canvas.height);const[p,S]=this.currentPath.at(-1);let y;if((g!==p||b!==S)&&this.currentPath.push([g,b]),1!==this.currentPath.length)y=(0,d.fitCurve)(this.currentPath,30,null);else{const v=[g,b];y=[[v,v.slice(),v.slice(),v]]}const m=c.#k(y);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(y),this.bezierPath2D.push(m),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#b(),this.#C()),this.#D())},mustExec:!0})}#m(){if(this.isEmpty())return void this.#T();this.#y();const{canvas:g,ctx:b}=this;b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,g.width,g.height),this.#T();for(const p of this.bezierPath2D)b.stroke(p)}commit(){this.#i||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#i=!0,this.div.classList.add("disabled"),this.#D(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(g){super.focusin(g),this.enableEditMode()}canvasPointerdown(g){0!==g.button||!this.isInEditMode()||this.#i||(this.setInForeground(),"mouse"!==g.type&&this.div.focus(),g.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#o),this.canvas.addEventListener("pointermove",this.#r),this.#d(g.offsetX,g.offsetY))}canvasPointermove(g){g.stopPropagation(),this.#M(g.offsetX,g.offsetY)}canvasPointerup(g){0===g.button&&this.isInEditMode()&&0!==this.currentPath.length&&(g.stopPropagation(),this.#E(g),this.setInBackground())}canvasPointerleave(g){this.#E(g),this.setInBackground()}#E(g){this.#A(g.offsetX,g.offsetY),this.canvas.removeEventListener("pointerleave",this.#o),this.canvas.removeEventListener("pointermove",this.#r),this.parent.addToAnnotationStorage(this)}#b(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",c._l10nPromise.get("editor_ink_canvas_aria_label").then(g=>this.canvas?.setAttribute("aria-label",g)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#C(){this.#l=new ResizeObserver(g=>{const b=g[0].contentRect;b.width&&b.height&&this.setDimensions(b.width,b.height)}),this.#l.observe(this.div)}render(){if(this.div)return this.div;let g,b;this.width&&(g=this.x,b=this.y),super.render(),c._l10nPromise.get("editor_ink_aria_label").then(h=>this.div?.setAttribute("aria-label",h));const[p,S,y,m]=this.#S();if(this.setAt(p,S,0,0),this.setDims(y,m),this.#b(),this.width){const[h,C]=this.parent.viewportBaseDimensions;this.setAt(g*h,b*C,this.width*h,this.height*C),this.#h=!0,this.#w(),this.setDims(this.width*h,this.height*C),this.#m(),this.#O(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#C(),this.div}#w(){if(!this.#h)return;const[g,b]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*g),this.canvas.height=Math.ceil(this.height*b),this.#T()}setDimensions(g,b){const p=Math.round(g),S=Math.round(b);if(this.#s===p&&this.#g===S)return;this.#s=p,this.#g=S,this.canvas.style.visibility="hidden",this.#e&&Math.abs(this.#e-g/b)>.01&&(b=Math.ceil(g/this.#e),this.setDims(g,b));const[y,m]=this.parent.viewportBaseDimensions;this.width=g/y,this.height=b/m,this.#i&&this.#I(g,b),this.#w(),this.#m(),this.canvas.style.visibility="visible"}#I(g,b){const p=this.#P(),S=(g-p)/this.#n,y=(b-p)/this.#t;this.scaleFactor=Math.min(S,y)}#T(){const g=this.#P()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+g,this.translationY*this.scaleFactor+g)}static#k(g){const b=new Path2D;for(let p=0,S=g.length;p=1?(g.minHeight="16px",g.minWidth=`${Math.round(this.#e*a)}px`):(g.minWidth="16px",g.minHeight=`${Math.round(a/this.#e)}px`)}static deserialize(g,b){const p=super.deserialize(g,b);p.thickness=g.thickness,p.color=n.Util.makeHexColor(...g.color),p.opacity=g.opacity;const[S,y]=b.pageDimensions,m=p.width*S,h=p.height*y,C=b.scaleFactor,v=g.thickness/2;p.#e=m/h,p.#i=!0,p.#s=Math.round(m),p.#g=Math.round(h);for(const{bezier:E}of g.paths){const A=[];p.paths.push(A);let T=C*(E[0]-v),R=C*(h-E[1]-v);for(let P=2,L=E.length;P{Object.defineProperty(f,"__esModule",{value:!0}),f.fitCurve=void 0;const n=o(26);f.fitCurve=n},ve=>{function o(S,y,m,h,C){var M,E,A,T,R,N,P,L,x,V,F,ee,X;if(2===S.length)return ee=b.vectorLen(b.subtract(S[0],S[1]))/3,[M=[S[0],b.addArrays(S[0],b.mulItems(y,ee)),b.addArrays(S[1],b.mulItems(m,ee)),S[1]]];if(E=function a(S){var m,h,C,y=[];return S.forEach((v,M)=>{m=M?h+b.vectorLen(b.subtract(v,C)):0,y.push(m),h=m,C=v}),y=y.map(v=>v/h)}(S),[M,T,N]=n(S,E,E,y,m,C),0===T||T.9999&&ce<1.0001)break}R=T,P=N}return F=[],(L=b.subtract(S[N-1],S[N+1])).every(ce=>0===ce)&&(L=b.subtract(S[N-1],S[N]),[L[0],L[1]]=[-L[1],L[0]]),x=b.normalize(L),V=b.mulItems(x,-1),(F=F.concat(o(S.slice(0,N+1),y,x,h,C))).concat(o(S.slice(N),V,m,h,C))}function n(S,y,m,h,C,v){var M,E,A;return M=function i(S,y,m,h){var C,v,M,E,A,T,P,L,x,V,F,ee,X,ce,Q,ne=S[0],Y=S[S.length-1];for(C=[ne,null,null,Y],v=b.zeros_Xx2x2(y.length),F=0,ee=y.length;FC&&(C=h,v=E);return[C,v]}(S,M,y),v&&v({bez:M,points:S,params:y,maxErr:E,maxPoint:A}),[M,E,A]}function d(S,y,m){return m.map((h,C)=>function u(S,y,m){var h=b.subtract(p.q(S,m),y),C=p.qprime(S,m),v=b.mulMatrix(h,C),M=b.sum(b.squareItems(C))+2*b.mulMatrix(h,p.qprimeprime(S,m));return 0===M?m:m-v/M}(S,y[C],h))}var c=function(S,y){for(var m,h=[0],C=S[0],v=0,M=1;M<=y;M++)m=p.q(S,M/y),v+=b.vectorLen(b.subtract(m,C)),h.push(v),C=m;return h.map(E=>E/v)};function l(S,y,m,h){if(y<0)return 0;if(y>1)return 1;for(var v,E,A,T=1;T<=h;T++)if(y<=m[T]){A=(y-(v=m[T-1]))/(m[T]-v)*(T/h-(E=(T-1)/h))+E;break}return A}function g(S,y){return b.normalize(b.subtract(S,y))}class b{static zeros_Xx2x2(y){for(var m=[];y--;)m.push([0,0]);return m}static mulItems(y,m){return y.map(h=>h*m)}static mulMatrix(y,m){return y.reduce((h,C,v)=>h+C*m[v],0)}static subtract(y,m){return y.map((h,C)=>h-m[C])}static addArrays(y,m){return y.map((h,C)=>h+m[C])}static addItems(y,m){return y.map(h=>h+m)}static sum(y){return y.reduce((m,h)=>m+h)}static dot(y,m){return b.mulMatrix(y,m)}static vectorLen(y){return Math.hypot(...y)}static divItems(y,m){return y.map(h=>h/m)}static squareItems(y){return y.map(m=>m*m)}static normalize(y){return this.divItems(y,this.vectorLen(y))}}class p{static q(y,m){var h=1-m,C=b.mulItems(y[0],h*h*h),v=b.mulItems(y[1],3*h*h*m),M=b.mulItems(y[2],3*h*m*m),E=b.mulItems(y[3],m*m*m);return b.addArrays(b.addArrays(C,v),b.addArrays(M,E))}static qprime(y,m){var h=1-m,C=b.mulItems(b.subtract(y[1],y[0]),3*h*h),v=b.mulItems(b.subtract(y[2],y[1]),6*h*m),M=b.mulItems(b.subtract(y[3],y[2]),3*m*m);return b.addArrays(b.addArrays(C,v),M)}static qprimeprime(y,m){return b.addArrays(b.mulItems(b.addArrays(b.subtract(y[2],b.mulItems(y[1],2)),y[0]),6*(1-m)),b.mulItems(b.addArrays(b.subtract(y[3],b.mulItems(y[2],2)),y[1]),6*m))}}ve.exports=function f(S,y,m){if(!Array.isArray(S))throw new TypeError("First argument should be an array");if(S.forEach(M=>{if(!Array.isArray(M)||M.some(E=>"number"!=typeof E)||M.length!==S[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(S=S.filter((M,E)=>0===E||!M.every((A,T)=>A===S[E-1][T]))).length<2)return[];const h=S.length,C=g(S[1],S[0]),v=g(S[h-2],S[h-1]);return o(S,C,v,y,m)},ve.exports.fitCubic=o,ve.exports.createTangent=g},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.AnnotationLayer=void 0;var n=o(1),i=o(8),d=o(5),u=o(28),a=o(29);const e=1e3,l=new WeakSet;function g(J){return{width:J[2]-J[0],height:J[3]-J[1]}}class b{static create(K){switch(K.data.annotationType){case n.AnnotationType.LINK:return new S(K);case n.AnnotationType.TEXT:return new y(K);case n.AnnotationType.WIDGET:switch(K.data.fieldType){case"Tx":return new h(K);case"Btn":return K.data.radioButton?new v(K):K.data.checkBox?new C(K):new M(K);case"Ch":return new E(K)}return new m(K);case n.AnnotationType.POPUP:return new A(K);case n.AnnotationType.FREETEXT:return new R(K);case n.AnnotationType.LINE:return new N(K);case n.AnnotationType.SQUARE:return new P(K);case n.AnnotationType.CIRCLE:return new L(K);case n.AnnotationType.POLYLINE:return new x(K);case n.AnnotationType.CARET:return new F(K);case n.AnnotationType.INK:return new ee(K);case n.AnnotationType.POLYGON:return new V(K);case n.AnnotationType.HIGHLIGHT:return new X(K);case n.AnnotationType.UNDERLINE:return new ce(K);case n.AnnotationType.SQUIGGLY:return new Q(K);case n.AnnotationType.STRIKEOUT:return new ne(K);case n.AnnotationType.STAMP:return new Y(K);case n.AnnotationType.FILEATTACHMENT:return new H(K);default:return new p(K)}}}class p{constructor(K,{isRenderable:W=!1,ignoreBorder:re=!1,createQuadrilaterals:G=!1}={}){this.isRenderable=W,this.data=K.data,this.layer=K.layer,this.page=K.page,this.viewport=K.viewport,this.linkService=K.linkService,this.downloadManager=K.downloadManager,this.imageResourcesPath=K.imageResourcesPath,this.renderForms=K.renderForms,this.svgFactory=K.svgFactory,this.annotationStorage=K.annotationStorage,this.enableScripting=K.enableScripting,this.hasJSActions=K.hasJSActions,this._fieldObjects=K.fieldObjects,this._mouseState=K.mouseState,W&&(this.container=this._createContainer(re)),G&&(this.quadrilaterals=this._createQuadrilaterals(re))}_createContainer(K=!1){const W=this.data,re=this.page,G=this.viewport,ue=document.createElement("section"),{width:ye,height:Ie}=g(W.rect),[be,ie,De,ze]=G.viewBox,qe=De-be,nt=ze-ie;ue.setAttribute("data-annotation-id",W.id);const ft=n.Util.normalizeRect([W.rect[0],re.view[3]-W.rect[1]+re.view[1],W.rect[2],re.view[3]-W.rect[3]+re.view[1]]);if(!K&&W.borderStyle.width>0){ue.style.borderWidth=`${W.borderStyle.width}px`;const mt=W.borderStyle.horizontalCornerRadius,Wt=W.borderStyle.verticalCornerRadius;switch(mt>0||Wt>0?ue.style.borderRadius=`calc(${mt}px * var(--scale-factor)) / calc(${Wt}px * var(--scale-factor))`:this instanceof v&&(ue.style.borderRadius=`calc(${ye}px * var(--scale-factor)) / calc(${Ie}px * var(--scale-factor))`),W.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:ue.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:ue.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:ue.style.borderBottomStyle="solid"}const bt=W.borderColor||null;bt?ue.style.borderColor=n.Util.makeHexColor(0|bt[0],0|bt[1],0|bt[2]):ue.style.borderWidth=0}ue.style.left=100*(ft[0]-be)/qe+"%",ue.style.top=100*(ft[1]-ie)/nt+"%";const{rotation:rt}=W;return W.hasOwnCanvas||0===rt?(ue.style.width=100*ye/qe+"%",ue.style.height=100*Ie/nt+"%"):this.setRotation(rt,ue),ue}setRotation(K,W=this.container){const[re,G,ue,ye]=this.viewport.viewBox,Ie=ue-re,be=ye-G,{width:ie,height:De}=g(this.data.rect);let ze,qe;K%180==0?(ze=100*ie/Ie,qe=100*De/be):(ze=100*De/Ie,qe=100*ie/be),W.style.width=`${ze}%`,W.style.height=`${qe}%`,W.setAttribute("data-main-rotation",(360-K)%360)}get _commonActions(){const K=(W,re,G)=>{const ue=G.detail[W];G.target.style[re]=u.ColorConverters[`${ue[0]}_HTML`](ue.slice(1))};return(0,n.shadow)(this,"_commonActions",{display:W=>{const re=W.detail.display%2==1;this.container.style.visibility=re?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:re,print:0===W.detail.display||3===W.detail.display})},print:W=>{this.annotationStorage.setValue(this.data.id,{print:W.detail.print})},hidden:W=>{this.container.style.visibility=W.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:W.detail.hidden})},focus:W=>{setTimeout(()=>W.target.focus({preventScroll:!1}),0)},userName:W=>{W.target.title=W.detail.userName},readonly:W=>{W.detail.readonly?W.target.setAttribute("readonly",""):W.target.removeAttribute("readonly")},required:W=>{this._setRequired(W.target,W.detail.required)},bgColor:W=>{K("bgColor","backgroundColor",W)},fillColor:W=>{K("fillColor","backgroundColor",W)},fgColor:W=>{K("fgColor","color",W)},textColor:W=>{K("textColor","color",W)},borderColor:W=>{K("borderColor","borderColor",W)},strokeColor:W=>{K("strokeColor","borderColor",W)},rotation:W=>{const re=W.detail.rotation;this.setRotation(re),this.annotationStorage.setValue(this.data.id,{rotation:re})}})}_dispatchEventFromSandbox(K,W){const re=this._commonActions;for(const G of Object.keys(W.detail)){const ue=K[G]||re[G];ue&&ue(W)}}_setDefaultPropertiesFromJS(K){if(!this.enableScripting)return;const W=this.annotationStorage.getRawValue(this.data.id);if(!W)return;const re=this._commonActions;for(const[G,ue]of Object.entries(W)){const ye=re[G];ye&&(ye({detail:{[G]:ue},target:K}),delete W[G])}}_createQuadrilaterals(K=!1){if(!this.data.quadPoints)return null;const W=[],re=this.data.rect;for(const G of this.data.quadPoints)this.data.rect=[G[2].x,G[2].y,G[1].x,G[1].y],W.push(this._createContainer(K));return this.data.rect=re,W}_createPopup(K,W){let re=this.container;this.quadrilaterals&&(K=K||this.quadrilaterals,re=this.quadrilaterals[0]),K||((K=document.createElement("div")).className="popupTriggerArea",re.append(K));const ue=new T({container:re,trigger:K,color:W.color,titleObj:W.titleObj,modificationDate:W.modificationDate,contentsObj:W.contentsObj,richText:W.richText,hideWrapper:!0}).render();ue.style.left="100%",re.append(ue)}_renderQuadrilaterals(K){for(const W of this.quadrilaterals)W.className=K;return this.quadrilaterals}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(K,W=null){const re=[];if(this._fieldObjects){const G=this._fieldObjects[K];if(G)for(const{page:ue,id:ye,exportValues:Ie}of G){if(-1===ue||ye===W)continue;const be="string"==typeof Ie?Ie:null,ie=document.querySelector(`[data-element-id="${ye}"]`);!ie||l.has(ie)?re.push({id:ye,exportValue:be,domElement:ie}):(0,n.warn)(`_getElementsByName - element not allowed: ${ye}`)}return re}for(const G of document.getElementsByName(K)){const{id:ue,exportValue:ye}=G;ue!==W&&l.has(G)&&re.push({id:ue,exportValue:ye,domElement:G})}return re}static get platform(){const K=typeof navigator<"u"?navigator.platform:"";return(0,n.shadow)(this,"platform",{isWin:K.includes("Win"),isMac:K.includes("Mac")})}}class S extends p{constructor(K,W=null){super(K,{isRenderable:!0,ignoreBorder:!!W?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=K.data.isTooltipOnly}render(){const{data:K,linkService:W}=this,re=document.createElement("a");re.setAttribute("data-element-id",K.id);let G=!1;return K.url?(W.addLinkAttributes(re,K.url,K.newWindow),G=!0):K.action?(this._bindNamedAction(re,K.action),G=!0):K.dest?(this._bindLink(re,K.dest),G=!0):(K.actions&&(K.actions.Action||K.actions["Mouse Up"]||K.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(re,K),G=!0),K.resetForm?(this._bindResetFormAction(re,K.resetForm),G=!0):this.isTooltipOnly&&!G&&(this._bindLink(re,""),G=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((ue,ye)=>{const Ie=0===ye?re:re.cloneNode();return ue.append(Ie),ue}):(this.container.className="linkAnnotation",G&&this.container.append(re),this.container)}_bindLink(K,W){K.href=this.linkService.getDestinationHash(W),K.onclick=()=>(W&&this.linkService.goToDestination(W),!1),(W||""===W)&&(K.className="internalLink")}_bindNamedAction(K,W){K.href=this.linkService.getAnchorUrl(""),K.onclick=()=>(this.linkService.executeNamedAction(W),!1),K.className="internalLink"}_bindJSAction(K,W){K.href=this.linkService.getAnchorUrl("");const re=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const G of Object.keys(W.actions)){const ue=re.get(G);ue&&(K[ue]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:W.id,name:G}}),!1))}K.onclick||(K.onclick=()=>!1),K.className="internalLink"}_bindResetFormAction(K,W){const re=K.onclick;if(re||(K.href=this.linkService.getAnchorUrl("")),K.className="internalLink",!this._fieldObjects)return(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(re||(K.onclick=()=>!1));K.onclick=()=>{re&&re();const{fields:G,refs:ue,include:ye}=W,Ie=[];if(0!==G.length||0!==ue.length){const De=new Set(ue);for(const ze of G){const qe=this._fieldObjects[ze]||[];for(const{id:nt}of qe)De.add(nt)}for(const ze of Object.values(this._fieldObjects))for(const qe of ze)De.has(qe.id)===ye&&Ie.push(qe)}else for(const De of Object.values(this._fieldObjects))Ie.push(...De);const be=this.annotationStorage,ie=[];for(const De of Ie){const{id:ze}=De;switch(ie.push(ze),De.type){case"text":case"combobox":case"listbox":be.setValue(ze,{value:De.defaultValue||""});break;case"checkbox":case"radiobutton":be.setValue(ze,{value:De.defaultValue===De.exportValues});break;default:continue}const qe=document.querySelector(`[data-element-id="${ze}"]`);qe&&(l.has(qe)?qe.dispatchEvent(new Event("resetform")):(0,n.warn)(`_bindResetFormAction - element not allowed: ${ze}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:ie,name:"ResetForm"}}),!1}}}class y extends p{constructor(K){super(K,{isRenderable:!!(K.data.hasPopup||K.data.titleObj?.str||K.data.contentsObj?.str||K.data.richText?.str)})}render(){this.container.className="textAnnotation";const K=document.createElement("img");return K.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",K.alt="[{{type}} Annotation]",K.dataset.l10nId="text_annotation_type",K.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(K,this.data),this.container.append(K),this.container}}class m extends p{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(K){const{isWin:W,isMac:re}=p.platform;return W&&K.ctrlKey||re&&K.metaKey}_setEventListener(K,W,re,G){W.includes("mouse")?K.addEventListener(W,ue=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:re,value:G(ue),shift:ue.shiftKey,modifier:this._getKeyModifier(ue)}})}):K.addEventListener(W,ue=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:re,value:G(ue)}})})}_setEventListeners(K,W,re){for(const[G,ue]of W)("Action"===ue||this.data.actions?.[ue])&&this._setEventListener(K,G,ue,re)}_setBackgroundColor(K){const W=this.data.backgroundColor||null;K.style.backgroundColor=null===W?"transparent":n.Util.makeHexColor(W[0],W[1],W[2])}_setTextStyle(K){const{fontColor:re}=this.data.defaultAppearanceData,G=this.data.defaultAppearanceData.fontSize||9,ue=K.style;let ye;if(this.data.multiLine){const Ie=Math.abs(this.data.rect[3]-this.data.rect[1]),be=Math.round(Ie/(n.LINE_FACTOR*G))||1;ye=Math.min(G,Math.round(Ie/be/n.LINE_FACTOR))}else{const Ie=Math.abs(this.data.rect[3]-this.data.rect[1]);ye=Math.min(G,Math.round(Ie/n.LINE_FACTOR))}ue.fontSize=`calc(${ye}px * var(--scale-factor))`,ue.color=n.Util.makeHexColor(re[0],re[1],re[2]),null!==this.data.textAlignment&&(ue.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(K,W){W?K.setAttribute("required",!0):K.removeAttribute("required"),K.setAttribute("aria-required",W)}}class h extends m{constructor(K){super(K,{isRenderable:K.renderForms||!K.data.hasAppearance&&!!K.data.fieldValue})}setPropertyOnSiblings(K,W,re,G){const ue=this.annotationStorage;for(const ye of this._getElementsByName(K.name,K.id))ye.domElement&&(ye.domElement[W]=re),ue.setValue(ye.id,{[G]:re})}render(){const K=this.annotationStorage,W=this.data.id;this.container.className="textWidgetAnnotation";let re=null;if(this.renderForms){const G=K.getValue(W,{value:this.data.fieldValue});let ue=G.formattedValue||G.value||"";const ye=K.getValue(W,{charLimit:this.data.maxLen}).charLimit;ye&&ue.length>ye&&(ue=ue.slice(0,ye));const Ie={userValue:ue,formattedValue:null,valueOnFocus:""};this.data.multiLine?(re=document.createElement("textarea"),re.textContent=ue,this.data.doNotScroll&&(re.style.overflowY="hidden")):(re=document.createElement("input"),re.type="text",re.setAttribute("value",ue),this.data.doNotScroll&&(re.style.overflowX="hidden")),l.add(re),re.setAttribute("data-element-id",W),re.disabled=this.data.readOnly,re.name=this.data.fieldName,re.tabIndex=e,this._setRequired(re,this.data.required),ye&&(re.maxLength=ye),re.addEventListener("input",ie=>{K.setValue(W,{value:ie.target.value}),this.setPropertyOnSiblings(re,"value",ie.target.value,"value")}),re.addEventListener("resetform",ie=>{re.value=Ie.userValue=this.data.defaultFieldValue??"",Ie.formattedValue=null});let be=ie=>{const{formattedValue:De}=Ie;null!=De&&(ie.target.value=De),ie.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){re.addEventListener("focus",De=>{Ie.userValue&&(De.target.value=Ie.userValue),Ie.valueOnFocus=De.target.value}),re.addEventListener("updatefromsandbox",De=>{this._dispatchEventFromSandbox({value(qe){Ie.userValue=qe.detail.value??"",K.setValue(W,{value:Ie.userValue.toString()}),qe.target.value=Ie.userValue},formattedValue(qe){const{formattedValue:nt}=qe.detail;Ie.formattedValue=nt,null!=nt&&qe.target!==document.activeElement&&(qe.target.value=nt),K.setValue(W,{formattedValue:nt})},selRange(qe){qe.target.setSelectionRange(...qe.detail.selRange)},charLimit:qe=>{const{charLimit:nt}=qe.detail,{target:ft}=qe;if(0===nt)return void ft.removeAttribute("maxLength");ft.setAttribute("maxLength",nt);let rt=Ie.userValue;!rt||rt.length<=nt||(rt=rt.slice(0,nt),ft.value=Ie.userValue=rt,K.setValue(W,{value:rt}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:W,name:"Keystroke",value:rt,willCommit:!0,commitKey:1,selStart:ft.selectionStart,selEnd:ft.selectionEnd}}))}},De)}),re.addEventListener("keydown",De=>{let ze=-1;if("Escape"===De.key?ze=0:"Enter"===De.key?ze=2:"Tab"===De.key&&(ze=3),-1===ze)return;const{value:qe}=De.target;Ie.valueOnFocus!==qe&&(Ie.userValue=qe,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:W,name:"Keystroke",value:qe,willCommit:!0,commitKey:ze,selStart:De.target.selectionStart,selEnd:De.target.selectionEnd}}))});const ie=be;be=null,re.addEventListener("blur",De=>{const{value:ze}=De.target;Ie.userValue=ze,this._mouseState.isDown&&Ie.valueOnFocus!==ze&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:W,name:"Keystroke",value:ze,willCommit:!0,commitKey:1,selStart:De.target.selectionStart,selEnd:De.target.selectionEnd}}),ie(De)}),this.data.actions?.Keystroke&&re.addEventListener("beforeinput",De=>{const{data:ze,target:qe}=De,{value:nt,selectionStart:ft,selectionEnd:rt}=qe;let mt=ft,Wt=rt;switch(De.inputType){case"deleteWordBackward":{const bt=nt.substring(0,ft).match(/\w*[^\w]*$/);bt&&(mt-=bt[0].length);break}case"deleteWordForward":{const bt=nt.substring(ft).match(/^[^\w]*\w*/);bt&&(Wt+=bt[0].length);break}case"deleteContentBackward":ft===rt&&(mt-=1);break;case"deleteContentForward":ft===rt&&(Wt+=1)}De.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:W,name:"Keystroke",value:nt,change:ze||"",willCommit:!1,selStart:mt,selEnd:Wt}})}),this._setEventListeners(re,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],De=>De.target.value)}if(be&&re.addEventListener("blur",be),this.data.comb){const De=(this.data.rect[2]-this.data.rect[0])/ye;re.classList.add("comb"),re.style.letterSpacing=`calc(${De}px * var(--scale-factor) - 1ch)`}}else re=document.createElement("div"),re.textContent=this.data.fieldValue,re.style.verticalAlign="middle",re.style.display="table-cell";return this._setTextStyle(re),this._setBackgroundColor(re),this._setDefaultPropertiesFromJS(re),this.container.append(re),this.container}}class C extends m{constructor(K){super(K,{isRenderable:K.renderForms})}render(){const K=this.annotationStorage,W=this.data,re=W.id;let G=K.getValue(re,{value:W.exportValue===W.fieldValue}).value;"string"==typeof G&&(G="Off"!==G,K.setValue(re,{value:G})),this.container.className="buttonWidgetAnnotation checkBox";const ue=document.createElement("input");return l.add(ue),ue.setAttribute("data-element-id",re),ue.disabled=W.readOnly,this._setRequired(ue,this.data.required),ue.type="checkbox",ue.name=W.fieldName,G&&ue.setAttribute("checked",!0),ue.setAttribute("exportValue",W.exportValue),ue.tabIndex=e,ue.addEventListener("change",ye=>{const{name:Ie,checked:be}=ye.target;for(const ie of this._getElementsByName(Ie,re)){const De=be&&ie.exportValue===W.exportValue;ie.domElement&&(ie.domElement.checked=De),K.setValue(ie.id,{value:De})}K.setValue(re,{value:be})}),ue.addEventListener("resetform",ye=>{ye.target.checked=(W.defaultFieldValue||"Off")===W.exportValue}),this.enableScripting&&this.hasJSActions&&(ue.addEventListener("updatefromsandbox",ye=>{this._dispatchEventFromSandbox({value(be){be.target.checked="Off"!==be.detail.value,K.setValue(re,{value:be.target.checked})}},ye)}),this._setEventListeners(ue,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],ye=>ye.target.checked)),this._setBackgroundColor(ue),this._setDefaultPropertiesFromJS(ue),this.container.append(ue),this.container}}class v extends m{constructor(K){super(K,{isRenderable:K.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const K=this.annotationStorage,W=this.data,re=W.id;let G=K.getValue(re,{value:W.fieldValue===W.buttonValue}).value;"string"==typeof G&&(G=G!==W.buttonValue,K.setValue(re,{value:G}));const ue=document.createElement("input");if(l.add(ue),ue.setAttribute("data-element-id",re),ue.disabled=W.readOnly,this._setRequired(ue,this.data.required),ue.type="radio",ue.name=W.fieldName,G&&ue.setAttribute("checked",!0),ue.tabIndex=e,ue.addEventListener("change",ye=>{const{name:Ie,checked:be}=ye.target;for(const ie of this._getElementsByName(Ie,re))K.setValue(ie.id,{value:!1});K.setValue(re,{value:be})}),ue.addEventListener("resetform",ye=>{const Ie=W.defaultFieldValue;ye.target.checked=null!=Ie&&Ie===W.buttonValue}),this.enableScripting&&this.hasJSActions){const ye=W.buttonValue;ue.addEventListener("updatefromsandbox",Ie=>{this._dispatchEventFromSandbox({value:ie=>{const De=ye===ie.detail.value;for(const ze of this._getElementsByName(ie.target.name)){const qe=De&&ze.id===re;ze.domElement&&(ze.domElement.checked=qe),K.setValue(ze.id,{value:qe})}}},Ie)}),this._setEventListeners(ue,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ie=>Ie.target.checked)}return this._setBackgroundColor(ue),this._setDefaultPropertiesFromJS(ue),this.container.append(ue),this.container}}class M extends S{constructor(K){super(K,{ignoreBorder:K.data.hasAppearance})}render(){const K=super.render();K.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(K.title=this.data.alternativeText);const W=K.lastChild;return this.enableScripting&&this.hasJSActions&&W&&(this._setDefaultPropertiesFromJS(W),W.addEventListener("updatefromsandbox",re=>{this._dispatchEventFromSandbox({},re)})),K}}class E extends m{constructor(K){super(K,{isRenderable:K.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const K=this.annotationStorage,W=this.data.id,re=K.getValue(W,{value:this.data.fieldValue}),G=document.createElement("select");l.add(G),G.setAttribute("data-element-id",W),G.disabled=this.data.readOnly,this._setRequired(G,this.data.required),G.name=this.data.fieldName,G.tabIndex=e;let ue=this.data.combo&&this.data.options.length>0;this.data.combo||(G.size=this.data.options.length,this.data.multiSelect&&(G.multiple=!0)),G.addEventListener("resetform",ie=>{const De=this.data.defaultFieldValue;for(const ze of G.options)ze.selected=ze.value===De});for(const ie of this.data.options){const De=document.createElement("option");De.textContent=ie.displayValue,De.value=ie.exportValue,re.value.includes(ie.exportValue)&&(De.setAttribute("selected",!0),ue=!1),G.append(De)}let ye=null;if(ue){const ie=document.createElement("option");ie.value=" ",ie.setAttribute("hidden",!0),ie.setAttribute("selected",!0),G.prepend(ie),ye=()=>{ie.remove(),G.removeEventListener("input",ye),ye=null},G.addEventListener("input",ye)}const Ie=(ie,De)=>{const ze=De?"value":"textContent",qe=ie.target.options;return ie.target.multiple?Array.prototype.filter.call(qe,nt=>nt.selected).map(nt=>nt[ze]):-1===qe.selectedIndex?null:qe[qe.selectedIndex][ze]},be=ie=>Array.prototype.map.call(ie.target.options,ze=>({displayValue:ze.textContent,exportValue:ze.value}));return this.enableScripting&&this.hasJSActions?(G.addEventListener("updatefromsandbox",ie=>{this._dispatchEventFromSandbox({value(ze){ye?.();const qe=ze.detail.value,nt=new Set(Array.isArray(qe)?qe:[qe]);for(const ft of G.options)ft.selected=nt.has(ft.value);K.setValue(W,{value:Ie(ze,!0)})},multipleSelection(ze){G.multiple=!0},remove(ze){const qe=G.options,nt=ze.detail.remove;qe[nt].selected=!1,G.remove(nt),qe.length>0&&-1===Array.prototype.findIndex.call(qe,rt=>rt.selected)&&(qe[0].selected=!0),K.setValue(W,{value:Ie(ze,!0),items:be(ze)})},clear(ze){for(;0!==G.length;)G.remove(0);K.setValue(W,{value:null,items:[]})},insert(ze){const{index:qe,displayValue:nt,exportValue:ft}=ze.detail.insert,rt=G.children[qe],mt=document.createElement("option");mt.textContent=nt,mt.value=ft,rt?rt.before(mt):G.append(mt),K.setValue(W,{value:Ie(ze,!0),items:be(ze)})},items(ze){const{items:qe}=ze.detail;for(;0!==G.length;)G.remove(0);for(const nt of qe){const{displayValue:ft,exportValue:rt}=nt,mt=document.createElement("option");mt.textContent=ft,mt.value=rt,G.append(mt)}G.options.length>0&&(G.options[0].selected=!0),K.setValue(W,{value:Ie(ze,!0),items:be(ze)})},indices(ze){const qe=new Set(ze.detail.indices);for(const nt of ze.target.options)nt.selected=qe.has(nt.index);K.setValue(W,{value:Ie(ze,!0)})},editable(ze){ze.target.disabled=!ze.detail.editable}},ie)}),G.addEventListener("input",ie=>{const De=Ie(ie,!0),ze=Ie(ie,!1);K.setValue(W,{value:De}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:W,name:"Keystroke",value:ze,changeEx:De,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(G,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],ie=>ie.target.checked)):G.addEventListener("input",function(ie){K.setValue(W,{value:Ie(ie,!0)})}),this.data.combo&&this._setTextStyle(G),this._setBackgroundColor(G),this._setDefaultPropertiesFromJS(G),this.container.append(G),this.container}}class A extends p{constructor(K){super(K,{isRenderable:!!(K.data.titleObj?.str||K.data.contentsObj?.str||K.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const re=this.layer.querySelectorAll(`[data-annotation-id="${this.data.parentId}"]`);if(0===re.length)return this.container;const G=new T({container:this.container,trigger:Array.from(re),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),ue=this.page,ye=n.Util.normalizeRect([this.data.parentRect[0],ue.view[3]-this.data.parentRect[1]+ue.view[1],this.data.parentRect[2],ue.view[3]-this.data.parentRect[3]+ue.view[1]]),Ie=ye[0]+this.data.parentRect[2]-this.data.parentRect[0],be=ye[1],[ie,De,ze,qe]=this.viewport.viewBox,ft=qe-De;return this.container.style.left=100*(Ie-ie)/(ze-ie)+"%",this.container.style.top=100*(be-De)/ft+"%",this.container.append(G.render()),this.container}}class T{constructor(K){this.container=K.container,this.trigger=K.trigger,this.color=K.color,this.titleObj=K.titleObj,this.modificationDate=K.modificationDate,this.contentsObj=K.contentsObj,this.richText=K.richText,this.hideWrapper=K.hideWrapper||!1,this.pinned=!1}render(){const W=document.createElement("div");W.className="popupWrapper",this.hideElement=this.hideWrapper?W:this.container,this.hideElement.hidden=!0;const re=document.createElement("div");re.className="popup";const G=this.color;G&&(re.style.backgroundColor=n.Util.makeHexColor(0|.7*(255-G[0])+G[0],0|.7*(255-G[1])+G[1],0|.7*(255-G[2])+G[2]));const ue=document.createElement("h1");ue.dir=this.titleObj.dir,ue.textContent=this.titleObj.str,re.append(ue);const ye=i.PDFDateString.toDateObject(this.modificationDate);if(ye){const Ie=document.createElement("span");Ie.className="popupDate",Ie.textContent="{{date}}, {{time}}",Ie.dataset.l10nId="annotation_date_string",Ie.dataset.l10nArgs=JSON.stringify({date:ye.toLocaleDateString(),time:ye.toLocaleTimeString()}),re.append(Ie)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const Ie=this._formatContents(this.contentsObj);re.append(Ie)}else a.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:re}),re.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Ie of this.trigger)Ie.addEventListener("click",this._toggle.bind(this)),Ie.addEventListener("mouseover",this._show.bind(this,!1)),Ie.addEventListener("mouseout",this._hide.bind(this,!1));return re.addEventListener("click",this._hide.bind(this,!0)),W.append(re),W}_formatContents({str:K,dir:W}){const re=document.createElement("p");re.className="popupContent",re.dir=W;const G=K.split(/(?:\r\n?|\n)/);for(let ue=0,ye=G.length;ue{function o(i){return Math.floor(255*Math.max(0,Math.min(1,i))).toString(16).padStart(2,"0")}Object.defineProperty(f,"__esModule",{value:!0}),f.ColorConverters=void 0,f.ColorConverters=class n{static CMYK_G([d,u,a,e]){return["G",1-Math.min(1,.3*d+.59*a+.11*u+e)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_HTML([d]){const u=o(d);return`#${u}${u}${u}`}static RGB_G([d,u,a]){return["G",.3*d+.59*u+.11*a]}static RGB_HTML([d,u,a]){return`#${o(d)}${o(u)}${o(a)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([d,u,a,e]){return["RGB",1-Math.min(1,d+e),1-Math.min(1,a+e),1-Math.min(1,u+e)]}static CMYK_HTML(d){const u=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(u)}static RGB_CMYK([d,u,a]){const e=1-d,c=1-u,l=1-a;return["CMYK",e,c,l,Math.min(e,c,l)]}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.XfaLayer=void 0;var n=o(20);f.XfaLayer=class i{static setupStorage(u,a,e,c,l){const g=c.getValue(a,{value:null});switch(e.name){case"textarea":if(null!==g.value&&(u.textContent=g.value),"print"===l)break;u.addEventListener("input",b=>{c.setValue(a,{value:b.target.value})});break;case"input":if("radio"===e.attributes.type||"checkbox"===e.attributes.type){if(g.value===e.attributes.xfaOn?u.setAttribute("checked",!0):g.value===e.attributes.xfaOff&&u.removeAttribute("checked"),"print"===l)break;u.addEventListener("change",b=>{c.setValue(a,{value:b.target.getAttribute(b.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==g.value&&u.setAttribute("value",g.value),"print"===l)break;u.addEventListener("input",b=>{c.setValue(a,{value:b.target.value})})}break;case"select":if(null!==g.value)for(const b of e.children)b.attributes.value===g.value&&(b.attributes.selected=!0);u.addEventListener("input",b=>{const p=b.target.options;c.setValue(a,{value:-1===p.selectedIndex?"":p[p.selectedIndex].value})})}}static setAttributes({html:u,element:a,storage:e=null,intent:c,linkService:l}){const{attributes:g}=a,b=u instanceof HTMLAnchorElement;"radio"===g.type&&(g.name=`${g.name}-${c}`);for(const[p,S]of Object.entries(g))if(null!=S)switch(p){case"class":S.length&&u.setAttribute(p,S.join(" "));break;case"dataId":break;case"id":u.setAttribute("data-element-id",S);break;case"style":Object.assign(u.style,S);break;case"textContent":u.textContent=S;break;default:(!b||"href"!==p&&"newWindow"!==p)&&u.setAttribute(p,S)}b&&l.addLinkAttributes(u,g.href,g.newWindow),e&&g.dataId&&this.setupStorage(u,g.dataId,a,e)}static render(u){const a=u.annotationStorage,e=u.linkService,c=u.xfaHtml,l=u.intent||"display",g=document.createElement(c.name);c.attributes&&this.setAttributes({html:g,element:c,intent:l,linkService:e});const b=[[c,-1,g]],p=u.div;if(p.append(g),u.viewport){const y=`matrix(${u.viewport.transform.join(",")})`;p.style.transform=y}"richText"!==l&&p.setAttribute("class","xfaLayer xfaFont");const S=[];for(;b.length>0;){const[y,m,h]=b.at(-1);if(m+1===y.children.length){b.pop();continue}const C=y.children[++b.at(-1)[1]];if(null===C)continue;const{name:v}=C;if("#text"===v){const E=document.createTextNode(C.value);S.push(E),h.append(E);continue}let M;if(M=C?.attributes?.xmlns?document.createElementNS(C.attributes.xmlns,v):document.createElement(v),h.append(M),C.attributes&&this.setAttributes({html:M,element:C,storage:a,intent:l,linkService:e}),C.children&&C.children.length>0)b.push([C,-1,M]);else if(C.value){const E=document.createTextNode(C.value);n.XfaText.shouldBuildText(v)&&S.push(E),M.append(E)}}for(const y of p.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))y.setAttribute("readOnly",!0);return{textDivs:S}}static update(u){const a=`matrix(${u.viewport.transform.join(",")})`;u.div.style.transform=a,u.div.hidden=!1}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.TextLayerRenderTask=void 0,f.renderTextLayer=function C(v){const M=new h({textContent:v.textContent,textContentStream:v.textContentStream,container:v.container,viewport:v.viewport,textDivs:v.textDivs,textContentItemsStr:v.textContentItemsStr,enhanceTextSelection:v.enhanceTextSelection});return M._render(v.timeout),M};var n=o(1),i=o(8);const u=30,e=new Map,c=/^\s+$/g;function g(v,M,E,A){const T=document.createElement("span"),R=v._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,fontSize:0};v._textDivs.push(T);const N=n.Util.transform(v._viewport.transform,M.transform);let P=Math.atan2(N[1],N[0]);const L=E[M.fontName];L.vertical&&(P+=Math.PI/2);const x=Math.hypot(N[2],N[3]),V=x*function l(v,M){const E=e.get(v);if(E)return E;M.save(),M.font=`30px ${v}`;const A=M.measureText("");let T=A.fontBoundingBoxAscent,R=Math.abs(A.fontBoundingBoxDescent);if(T){M.restore();const P=T/(T+R);return e.set(v,P),P}M.strokeStyle="red",M.clearRect(0,0,u,u),M.strokeText("g",0,0);let N=M.getImageData(0,0,u,u).data;R=0;for(let P=N.length-1-3;P>=0;P-=4)if(N[P]>0){R=Math.ceil(P/4/u);break}M.clearRect(0,0,u,u),M.strokeText("A",0,u),N=M.getImageData(0,0,u,u).data,T=0;for(let P=0,L=N.length;P0){T=u-Math.floor(P/4/u);break}if(M.restore(),T){const P=T/(T+R);return e.set(v,P),P}return e.set(v,.8),.8}(L.fontFamily,A);let F,ee;0===P?(F=N[4],ee=N[5]-V):(F=N[4]+V*Math.sin(P),ee=N[5]-V*Math.cos(P)),T.style.left=`${F}px`,T.style.top=`${ee}px`,T.style.fontSize=`${x}px`,T.style.fontFamily=L.fontFamily,R.fontSize=x,T.setAttribute("role","presentation"),T.textContent=M.str,T.dir=M.dir,v._fontInspectorEnabled&&(T.dataset.fontName=M.fontName),0!==P&&(R.angle=P*(180/Math.PI));let X=!1;if(M.str.length>1||v._enhanceTextSelection&&c.test(M.str))X=!0;else if(" "!==M.str&&M.transform[0]!==M.transform[3]){const ce=Math.abs(M.transform[0]),Q=Math.abs(M.transform[3]);ce!==Q&&Math.max(ce,Q)/Math.min(ce,Q)>1.5&&(X=!0)}if(X&&(R.canvasWidth=L.vertical?M.height*v._viewport.scale:M.width*v._viewport.scale),v._textDivProperties.set(T,R),v._textContentStream&&v._layoutText(T),v._enhanceTextSelection&&R.hasText){let ce=1,Q=0;0!==P&&(ce=Math.cos(P),Q=Math.sin(P));const ne=(L.vertical?M.height:M.width)*v._viewport.scale,Y=x;let H,ae;0!==P?(H=[ce,Q,-Q,ce,F,ee],ae=n.Util.getAxialAlignedBoundingBox([0,0,ne,Y],H)):ae=[F,ee,F+ne,ee+Y],v._bounds.push({left:ae[0],top:ae[1],right:ae[2],bottom:ae[3],div:T,size:[ne,Y],m:H})}}function b(v){if(v._canceled)return;const M=v._textDivs,E=v._capability,A=M.length;if(A>1e5)return v._renderingDone=!0,void E.resolve();if(!v._textContentStream)for(let T=0;T0&&(A=A?Math.min(R,A):R)}return A}function m(v,M){M.sort(function(T,R){return T.x1-R.x1||T.index-R.index});const A=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const T of M){let R=0;for(;R=0&&A[N].start>=T.y2;)N--;let P,L,x,V,F=-1/0;for(x=R;x<=N;x++){let ce;P=A[x],L=P.boundary,ce=L.x2>T.x1?L.index>T.index?L.x1New:T.x1:void 0===L.x2New?(L.x2+T.x1)/2:L.x2New,ce>F&&(F=ce)}for(T.x1New=F,x=R;x<=N;x++)P=A[x],L=P.boundary,void 0===L.x2New?L.x2>T.x1?L.index>T.index&&(L.x2New=L.x2):L.x2New=F:L.x2New>F&&(L.x2New=Math.max(F,L.x2));const ee=[];let X=null;for(x=R;x<=N;x++){P=A[x],L=P.boundary;const ce=L.x2>T.x2?L:T;X===ce?ee.at(-1).end=P.end:(ee.push({start:P.start,end:P.end,boundary:ce}),X=ce)}for(A[R].start=0&&A[V].start>=L.y1;V--)ce=A[V].boundary===L;for(V=N+1;!ce&&V{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(M,E){for(let A=0,T=M.length;A0){const P=this._devicePixelRatio*E.canvasWidth/N;this._enhanceTextSelection&&(E.scale=P),A=`scaleX(${P})`}}if(0!==E.angle&&(A=`rotate(${E.angle}deg) ${A}`),A.length>0&&(this._enhanceTextSelection&&(E.originalTransform=A),M.style.transform=A),E.hasText&&this._container.append(M),E.hasEOL){const T=document.createElement("br");T.setAttribute("role","presentation"),this._container.append(T)}}_render(M=0){const E=(0,n.createPromiseCapability)();let A=Object.create(null);const T=this._document.createElement("canvas");if(T.height=T.width=u,this._layoutTextCtx=T.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),E.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const R=()=>{this._reader.read().then(({value:N,done:P})=>{P?E.resolve():(Object.assign(A,N.styles),this._processItems(N.items,A),R())},E.reject)};this._reader=this._textContentStream.getReader(),R()}}E.promise.then(()=>{A=null,M?this._renderTimer=setTimeout(()=>{b(this),this._renderTimer=null},M):b(this)},this._capability.reject)}expandTextDivs(M=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function S(v){const M=v._bounds,E=v._viewport,A=function y(v,M,E){const A=E.map(function(R,N){return{x1:R.left,y1:R.top,x2:R.right,y2:R.bottom,index:N,x1New:void 0,x2New:void 0}});m(v,A);const T=new Array(E.length);for(const R of A)T[R.index]={left:R.x1New,top:0,right:R.x2New,bottom:0};E.map(function(R,N){const P=T[N],L=A[N];L.x1=R.top,L.y1=v-P.right,L.x2=R.bottom,L.y2=v-P.left,L.index=N,L.x1New=void 0,L.x2New=void 0}),m(M,A);for(const R of A){const N=R.index;T[N].top=R.x1New,T[N].bottom=R.x2New}return T}(E.width,E.height,M);for(let T=0;T0?(A.push(`${P.paddingTop}px`),E.push(`translateY(${-P.paddingTop}px)`)):A.push(0),A.push(P.paddingRight>0?P.paddingRight/P.scale+"px":0),A.push(P.paddingBottom>0?`${P.paddingBottom}px`:0),P.paddingLeft>0?(A.push(P.paddingLeft/P.scale+"px"),E.push(`translateX(${-P.paddingLeft/P.scale}px)`)):A.push(0),N.style.padding=A.join(" "),E.length&&(N.style.transform=E.join(" "))):(N.style.padding=null,N.style.transform=P.originalTransform))}}}f.TextLayerRenderTask=h},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.SVGGraphics=void 0;var n=o(8),i=o(1),d=o(3);let u=class{constructor(){(0,i.unreachable)("Not implemented: SVGGraphics")}};f.SVGGraphics=u;{let y=function(E){let A=[];const T=[];for(const R of E)"save"!==R.fn?"restore"===R.fn?A=T.pop():A.push(R):(A.push({fnId:92,fn:"group",items:[]}),T.push(A),A=A.at(-1).items);return A},m=function(E){if(Number.isInteger(E))return E.toString();const A=E.toFixed(10);let T=A.length-1;if("0"!==A[T])return A;do{T--}while("0"===A[T]);return A.substring(0,"."===A[T]?T:T+1)},h=function(E){if(0===E[4]&&0===E[5]){if(0===E[1]&&0===E[2])return 1===E[0]&&1===E[3]?"":`scale(${m(E[0])} ${m(E[3])})`;if(E[0]===E[3]&&E[1]===-E[2]){const A=180*Math.acos(E[0])/Math.PI;return`rotate(${m(A)})`}}else if(1===E[0]&&0===E[1]&&0===E[2]&&1===E[3])return`translate(${m(E[4])} ${m(E[5])})`;return`matrix(${m(E[0])} ${m(E[1])} ${m(E[2])} ${m(E[3])} ${m(E[4])} ${m(E[5])})`};const a={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},e="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/1999/xlink",l=["butt","round","square"],g=["miter","round","bevel"],b=function(E,A="",T=!1){if(URL.createObjectURL&&typeof Blob<"u"&&!T)return URL.createObjectURL(new Blob([E],{type:A}));const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let N=`data:${A};base64,`;for(let P=0,L=E.length;P>2]+R[(3&x)<<4|V>>4]+R[P+1>6:64]+R[P+2>1&2147483647:ee>>1&2147483647;T[F]=ee}function N(F,ee,X,ce){let Q=ce;const ne=ee.length;X[Q]=ne>>24&255,X[Q+1]=ne>>16&255,X[Q+2]=ne>>8&255,X[Q+3]=255&ne,Q+=4,X[Q]=255&F.charCodeAt(0),X[Q+1]=255&F.charCodeAt(1),X[Q+2]=255&F.charCodeAt(2),X[Q+3]=255&F.charCodeAt(3),Q+=4,X.set(ee,Q),Q+=ee.length;const Y=function R(F,ee,X){let ce=-1;for(let Q=ee;Q>>8^T[255&(ce^F[Q])];return-1^ce}(X,ce+4,Q);X[Q]=Y>>24&255,X[Q+1]=Y>>16&255,X[Q+2]=Y>>8&255,X[Q+3]=255&Y}function x(F){let ee=F.length;const X=65535,ce=Math.ceil(ee/X),Q=new Uint8Array(2+ee+5*ce+4);let ne=0;Q[ne++]=120,Q[ne++]=156;let Y=0;for(;ee>X;)Q[ne++]=0,Q[ne++]=255,Q[ne++]=255,Q[ne++]=0,Q[ne++]=0,Q.set(F.subarray(Y,Y+X),ne),ne+=X,Y+=X,ee-=X;Q[ne++]=1,Q[ne++]=255&ee,Q[ne++]=ee>>8&255,Q[ne++]=255&~ee,Q[ne++]=(65535&~ee)>>8&255,Q.set(F.subarray(Y),ne),ne+=F.length-Y;const H=function P(F,ee,X){let ce=1,Q=0;for(let ne=ee;ne>24&255,Q[ne++]=H>>16&255,Q[ne++]=H>>8&255,Q[ne++]=255&H,Q}return function(ee,X,ce){return function V(F,ee,X,ce){const Q=F.width,ne=F.height;let Y,H,ae;const J=F.data;switch(ee){case i.ImageKind.GRAYSCALE_1BPP:H=0,Y=1,ae=Q+7>>3;break;case i.ImageKind.RGB_24BPP:H=2,Y=8,ae=3*Q;break;case i.ImageKind.RGBA_32BPP:H=6,Y=8,ae=4*Q;break;default:throw new Error("invalid format")}const K=new Uint8Array((1+ae)*ne);let W=0,re=0;for(let ie=0;ie>24&255,Q>>16&255,Q>>8&255,255&Q,ne>>24&255,ne>>16&255,ne>>8&255,255&ne,Y,H,0,0,0]),ue=function L(F){if(!d.isNodeJS)return x(F);try{let ee;ee=parseInt(process.versions.node)>=8?F:Buffer.from(F);const X=__webpack_require__(8160).deflateSync(ee,{level:9});return X instanceof Uint8Array?X:new Uint8Array(X)}catch(ee){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+ee)}return x(F)}(K),Ie=new Uint8Array(E.length+36+G.length+ue.length);let be=0;return Ie.set(E,be),be+=E.length,N("IHDR",G,Ie,be),be+=12+G.length,N("IDATA",ue,Ie,be),be+=12+ue.length,N("IEND",new Uint8Array(0),Ie,be),b(Ie,"image/png",X)}(ee,void 0===ee.kind?i.ImageKind.GRAYSCALE_1BPP:ee.kind,X,ce)}}();class S{constructor(){this.fontSizeScale=1,this.fontWeight=a.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=a.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(A,T){this.x=A,this.y=T}}let C=0,v=0,M=0;f.SVGGraphics=u=class{constructor(E,A,T=!1){(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=new S,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=E,this.objs=A,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!T,this._operatorIdMapping=[];for(const R in i.OPS)this._operatorIdMapping[i.OPS[R]]=R}save(){this.transformStack.push(this.transformMatrix);const E=this.current;this.extraStack.push(E),this.current=E.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(E){this.save(),this.executeOpTree(E),this.restore()}loadDependencies(E){const A=E.fnArray,T=E.argsArray;for(let R=0,N=A.length;R{L.get(P,V)});this.current.dependencies.push(x)}return Promise.all(this.current.dependencies)}transform(E,A,T,R,N,P){this.transformMatrix=i.Util.transform(this.transformMatrix,[E,A,T,R,N,P]),this.tgrp=null}getSVG(E,A){this.viewport=A;const T=this._initialize(A);return this.loadDependencies(E).then(()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(E)),T))}convertOpList(E){const A=this._operatorIdMapping,T=E.argsArray,R=E.fnArray,N=[];for(let P=0,L=R.length;P0&&(this.current.lineWidth=E)}setLineCap(E){this.current.lineCap=l[E]}setLineJoin(E){this.current.lineJoin=g[E]}setMiterLimit(E){this.current.miterLimit=E}setStrokeAlpha(E){this.current.strokeAlpha=E}setStrokeRGBColor(E,A,T){this.current.strokeColor=i.Util.makeHexColor(E,A,T)}setFillAlpha(E){this.current.fillAlpha=E}setFillRGBColor(E,A,T){this.current.fillColor=i.Util.makeHexColor(E,A,T),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(E){this.current.strokeColor=this._makeColorN_Pattern(E)}setFillColorN(E){this.current.fillColor=this._makeColorN_Pattern(E)}shadingFill(E){const A=this.viewport.width,T=this.viewport.height,R=i.Util.inverseTransform(this.transformMatrix),N=i.Util.applyTransform([0,0],R),P=i.Util.applyTransform([0,T],R),L=i.Util.applyTransform([A,0],R),x=i.Util.applyTransform([A,T],R),V=Math.min(N[0],P[0],L[0],x[0]),F=Math.min(N[1],P[1],L[1],x[1]),ee=Math.max(N[0],P[0],L[0],x[0]),X=Math.max(N[1],P[1],L[1],x[1]),ce=this.svgFactory.createElement("svg:rect");ce.setAttributeNS(null,"x",V),ce.setAttributeNS(null,"y",F),ce.setAttributeNS(null,"width",ee-V),ce.setAttributeNS(null,"height",X-F),ce.setAttributeNS(null,"fill",this._makeShadingPattern(E)),this.current.fillAlpha<1&&ce.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(ce)}_makeColorN_Pattern(E){return"TilingPattern"===E[0]?this._makeTilingPattern(E):this._makeShadingPattern(E)}_makeTilingPattern(E){const A=E[1],T=E[2],R=E[3]||i.IDENTITY_MATRIX,[N,P,L,x]=E[4],V=E[5],F=E[6],ee=E[7],X="shading"+M++,[ce,Q,ne,Y]=i.Util.normalizeRect([...i.Util.applyTransform([N,P],R),...i.Util.applyTransform([L,x],R)]),[H,ae]=i.Util.singularValueDecompose2dScale(R),J=V*H,K=F*ae,W=this.svgFactory.createElement("svg:pattern");W.setAttributeNS(null,"id",X),W.setAttributeNS(null,"patternUnits","userSpaceOnUse"),W.setAttributeNS(null,"width",J),W.setAttributeNS(null,"height",K),W.setAttributeNS(null,"x",`${ce}`),W.setAttributeNS(null,"y",`${Q}`);const re=this.svg,G=this.transformMatrix,ue=this.current.fillColor,ye=this.current.strokeColor,Ie=this.svgFactory.create(ne-ce,Y-Q);if(this.svg=Ie,this.transformMatrix=R,2===ee){const be=i.Util.makeHexColor(...A);this.current.fillColor=be,this.current.strokeColor=be}return this.executeOpTree(this.convertOpList(T)),this.svg=re,this.transformMatrix=G,this.current.fillColor=ue,this.current.strokeColor=ye,W.append(Ie.childNodes[0]),this.defs.append(W),`url(#${X})`}_makeShadingPattern(E){switch("string"==typeof E&&(E=this.objs.get(E)),E[0]){case"RadialAxial":const A="shading"+M++,T=E[3];let R;switch(E[1]){case"axial":const N=E[4],P=E[5];R=this.svgFactory.createElement("svg:linearGradient"),R.setAttributeNS(null,"id",A),R.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),R.setAttributeNS(null,"x1",N[0]),R.setAttributeNS(null,"y1",N[1]),R.setAttributeNS(null,"x2",P[0]),R.setAttributeNS(null,"y2",P[1]);break;case"radial":const L=E[4],x=E[5],V=E[6],F=E[7];R=this.svgFactory.createElement("svg:radialGradient"),R.setAttributeNS(null,"id",A),R.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),R.setAttributeNS(null,"cx",x[0]),R.setAttributeNS(null,"cy",x[1]),R.setAttributeNS(null,"r",F),R.setAttributeNS(null,"fx",L[0]),R.setAttributeNS(null,"fy",L[1]),R.setAttributeNS(null,"fr",V);break;default:throw new Error(`Unknown RadialAxial type: ${E[1]}`)}for(const N of T){const P=this.svgFactory.createElement("svg:stop");P.setAttributeNS(null,"offset",N[0]),P.setAttributeNS(null,"stop-color",N[1]),R.append(P)}return this.defs.append(R),`url(#${A})`;case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${E[0]}`)}}setDash(E,A){this.current.dashArray=E,this.current.dashPhase=A}constructPath(E,A){const T=this.current;let R=T.x,N=T.y,P=[],L=0;for(const x of E)switch(0|x){case i.OPS.rectangle:R=A[L++],N=A[L++];const ee=R+A[L++],X=N+A[L++];P.push("M",m(R),m(N),"L",m(ee),m(N),"L",m(ee),m(X),"L",m(R),m(X),"Z");break;case i.OPS.moveTo:R=A[L++],N=A[L++],P.push("M",m(R),m(N));break;case i.OPS.lineTo:R=A[L++],N=A[L++],P.push("L",m(R),m(N));break;case i.OPS.curveTo:R=A[L+4],N=A[L+5],P.push("C",m(A[L]),m(A[L+1]),m(A[L+2]),m(A[L+3]),m(R),m(N)),L+=6;break;case i.OPS.curveTo2:P.push("C",m(R),m(N),m(A[L]),m(A[L+1]),m(A[L+2]),m(A[L+3])),R=A[L+2],N=A[L+3],L+=4;break;case i.OPS.curveTo3:R=A[L+2],N=A[L+3],P.push("C",m(A[L]),m(A[L+1]),m(R),m(N),m(R),m(N)),L+=4;break;case i.OPS.closePath:P.push("Z")}P=P.join(" "),T.path&&E.length>0&&E[0]!==i.OPS.rectangle&&E[0]!==i.OPS.moveTo?P=T.path.getAttributeNS(null,"d")+P:(T.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(T.path)),T.path.setAttributeNS(null,"d",P),T.path.setAttributeNS(null,"fill","none"),T.element=T.path,T.setCurrentPoint(R,N)}endPath(){const E=this.current;if(E.path=null,!this.pendingClip)return;if(!E.element)return void(this.pendingClip=null);const A="clippath"+C++,T=this.svgFactory.createElement("svg:clipPath");T.setAttributeNS(null,"id",A),T.setAttributeNS(null,"transform",h(this.transformMatrix));const R=E.element.cloneNode(!0);if(R.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,T.append(R),this.defs.append(T),E.activeClipUrl){E.clipGroup=null;for(const N of this.extraStack)N.clipGroup=null;T.setAttributeNS(null,"clip-path",E.activeClipUrl)}E.activeClipUrl=`url(#${A})`,this.tgrp=null}clip(E){this.pendingClip=E}closePath(){const E=this.current;if(E.path){const A=`${E.path.getAttributeNS(null,"d")}Z`;E.path.setAttributeNS(null,"d",A)}}setLeading(E){this.current.leading=-E}setTextRise(E){this.current.textRise=E}setTextRenderingMode(E){this.current.textRenderingMode=E}setHScale(E){this.current.textHScale=E/100}setRenderingIntent(E){}setFlatness(E){}setGState(E){for(const[A,T]of E)switch(A){case"LW":this.setLineWidth(T);break;case"LC":this.setLineCap(T);break;case"LJ":this.setLineJoin(T);break;case"ML":this.setMiterLimit(T);break;case"D":this.setDash(T[0],T[1]);break;case"RI":this.setRenderingIntent(T);break;case"FL":this.setFlatness(T);break;case"Font":this.setFont(T);break;case"CA":this.setStrokeAlpha(T);break;case"ca":this.setFillAlpha(T);break;default:(0,i.warn)(`Unimplemented graphic state operator ${A}`)}}fill(){const E=this.current;E.element&&(E.element.setAttributeNS(null,"fill",E.fillColor),E.element.setAttributeNS(null,"fill-opacity",E.fillAlpha),this.endPath())}stroke(){const E=this.current;E.element&&(this._setStrokeAttributes(E.element),E.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(E,A=1){const T=this.current;let R=T.dashArray;1!==A&&R.length>0&&(R=R.map(function(N){return A*N})),E.setAttributeNS(null,"stroke",T.strokeColor),E.setAttributeNS(null,"stroke-opacity",T.strokeAlpha),E.setAttributeNS(null,"stroke-miterlimit",m(T.miterLimit)),E.setAttributeNS(null,"stroke-linecap",T.lineCap),E.setAttributeNS(null,"stroke-linejoin",T.lineJoin),E.setAttributeNS(null,"stroke-width",m(A*T.lineWidth)+"px"),E.setAttributeNS(null,"stroke-dasharray",R.map(m).join(" ")),E.setAttributeNS(null,"stroke-dashoffset",m(A*T.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const E=this.svgFactory.createElement("svg:rect");E.setAttributeNS(null,"x","0"),E.setAttributeNS(null,"y","0"),E.setAttributeNS(null,"width","1px"),E.setAttributeNS(null,"height","1px"),E.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(E)}paintImageXObject(E){const A=E.startsWith("g_")?this.commonObjs.get(E):this.objs.get(E);A?this.paintInlineImageXObject(A):(0,i.warn)(`Dependent image with object ID ${E} is not ready yet`)}paintInlineImageXObject(E,A){const T=E.width,R=E.height,N=p(E,this.forceDataSchema,!!A),P=this.svgFactory.createElement("svg:rect");P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y","0"),P.setAttributeNS(null,"width",m(T)),P.setAttributeNS(null,"height",m(R)),this.current.element=P,this.clip("nonzero");const L=this.svgFactory.createElement("svg:image");L.setAttributeNS(c,"xlink:href",N),L.setAttributeNS(null,"x","0"),L.setAttributeNS(null,"y",m(-R)),L.setAttributeNS(null,"width",m(T)+"px"),L.setAttributeNS(null,"height",m(R)+"px"),L.setAttributeNS(null,"transform",`scale(${m(1/T)} ${m(-1/R)})`),A?A.append(L):this._ensureTransformGroup().append(L)}paintImageMaskXObject(E){const A=this.current,T=E.width,R=E.height,N=A.fillColor;A.maskId="mask"+v++;const P=this.svgFactory.createElement("svg:mask");P.setAttributeNS(null,"id",A.maskId);const L=this.svgFactory.createElement("svg:rect");L.setAttributeNS(null,"x","0"),L.setAttributeNS(null,"y","0"),L.setAttributeNS(null,"width",m(T)),L.setAttributeNS(null,"height",m(R)),L.setAttributeNS(null,"fill",N),L.setAttributeNS(null,"mask",`url(#${A.maskId})`),this.defs.append(P),this._ensureTransformGroup().append(L),this.paintInlineImageXObject(E,P)}paintFormXObjectBegin(E,A){if(Array.isArray(E)&&6===E.length&&this.transform(E[0],E[1],E[2],E[3],E[4],E[5]),A){const T=A[2]-A[0],R=A[3]-A[1],N=this.svgFactory.createElement("svg:rect");N.setAttributeNS(null,"x",A[0]),N.setAttributeNS(null,"y",A[1]),N.setAttributeNS(null,"width",m(T)),N.setAttributeNS(null,"height",m(R)),this.current.element=N,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(E){const A=this.svgFactory.create(E.width,E.height),T=this.svgFactory.createElement("svg:defs");A.append(T),this.defs=T;const R=this.svgFactory.createElement("svg:g");return R.setAttributeNS(null,"transform",h(E.transform)),A.append(R),this.svg=R,A}_ensureClipGroup(){if(!this.current.clipGroup){const E=this.svgFactory.createElement("svg:g");E.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(E),this.current.clipGroup=E}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",h(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFNodeStream=void 0;var n=o(1),i=o(33);const d=__webpack_require__(45344),u=__webpack_require__(10440),a=__webpack_require__(22224),e=__webpack_require__(65724),c=/^file:\/\/\/[a-zA-Z]:\//;f.PDFNodeStream=class g{constructor(M){this.source=M,this.url=function l(v){const M=e.parse(v);return"file:"===M.protocol||M.host?M:/^[a-z]:[/\\]/i.test(v)?e.parse(`file:///${v}`):(M.host||(M.protocol="file:"),M)}(M.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&M.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new h(this):new y(this),this._fullRequestReader}getRangeReader(M,E){if(E<=this._progressiveDataLength)return null;const A=this.isFsUrl?new C(this,M,E):new m(this,M,E);return this._rangeRequestReaders.push(A),A}cancelAllRequests(M){this._fullRequestReader&&this._fullRequestReader.cancel(M);for(const E of this._rangeRequestReaders.slice(0))E.cancel(M)}};class b{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null;const E=M.source;this._contentLength=E.length,this._loaded=0,this._filename=null,this._disableRange=E.disableRange||!1,this._rangeChunkSize=E.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!E.disableStream,this._isRangeSupported=!E.disableRange,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._headersCapability=(0,n.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const E=M._readableStream.read();return null===E?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=E.length,M.onProgress&&M.onProgress({loaded:M._loaded,total:M._contentLength}),{value:new Uint8Array(E).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",E=>{this._error(E)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class p{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!M.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const E=M._readableStream.read();return null===E?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=E.length,M.onProgress&&M.onProgress({loaded:M._loaded}),{value:new Uint8Array(E).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",E=>{this._error(E)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function S(v,M){return{protocol:v.protocol,auth:v.auth,host:v.hostname,port:v.port,path:v.path,method:"GET",headers:M}}class y extends b{constructor(M){super(M);const E=A=>{if(404===A.statusCode){const P=new n.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=P,void this._headersCapability.reject(P)}this._headersCapability.resolve(),this._setReadableStream(A);const T=P=>this._readableStream.headers[P.toLowerCase()],{allowRangeRequests:R,suggestedLength:N}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:T,isHttp:M.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=R,this._contentLength=N||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(T)};this._request=null,this._request="http:"===this._url.protocol?u.request(S(this._url,M.httpHeaders),E):a.request(S(this._url,M.httpHeaders),E),this._request.on("error",A=>{this._storedError=A,this._headersCapability.reject(A)}),this._request.end()}}class m extends p{constructor(M,E,A){super(M),this._httpHeaders={};for(const R in M.httpHeaders){const N=M.httpHeaders[R];typeof N>"u"||(this._httpHeaders[R]=N)}this._httpHeaders.Range=`bytes=${E}-${A-1}`;const T=R=>{if(404!==R.statusCode)this._setReadableStream(R);else{const N=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=N}};this._request=null,this._request="http:"===this._url.protocol?u.request(S(this._url,this._httpHeaders),T):a.request(S(this._url,this._httpHeaders),T),this._request.on("error",R=>{this._storedError=R}),this._request.end()}}class h extends b{constructor(M){super(M);let E=decodeURIComponent(this._url.path);c.test(this._url.href)&&(E=E.replace(/^\//,"")),d.lstat(E,(A,T)=>{if(A)return"ENOENT"===A.code&&(A=new n.MissingPDFException(`Missing PDF "${E}".`)),this._storedError=A,void this._headersCapability.reject(A);this._contentLength=T.size,this._setReadableStream(d.createReadStream(E)),this._headersCapability.resolve()})}}class C extends p{constructor(M,E,A){super(M);let T=decodeURIComponent(this._url.path);c.test(this._url.href)&&(T=T.replace(/^\//,"")),this._setReadableStream(d.createReadStream(T,{start:E,end:A-1}))}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.createResponseStatusError=function e(l,g){return 404===l||0===l&&g.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+g+'".'):new n.UnexpectedResponseException(`Unexpected server response (${l}) while retrieving PDF "${g}".`,l)},f.extractFilenameFromHeader=function a(l){const g=l("Content-Disposition");if(g){let b=(0,i.getFilenameFromContentDispositionHeader)(g);if(b.includes("%"))try{b=decodeURIComponent(b)}catch{}if((0,d.isPdfFile)(b))return b}return null},f.validateRangeRequestCapabilities=function u({getResponseHeader:l,isHttp:g,rangeChunkSize:b,disableRange:p}){const S={allowRangeRequests:!1,suggestedLength:void 0},y=parseInt(l("Content-Length"),10);return!Number.isInteger(y)||(S.suggestedLength=y,y<=2*b)||p||!g||"bytes"!==l("Accept-Ranges")||"identity"!==(l("Content-Encoding")||"identity")||(S.allowRangeRequests=!0),S},f.validateResponseStatus=function c(l){return 200===l||206===l};var n=o(1),i=o(34),d=o(8)},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.getFilenameFromContentDispositionHeader=function i(d){let u=!0,a=e("filename\\*","i").exec(d);if(a){a=a[1];let y=b(a);return y=unescape(y),y=p(y),y=S(y),l(y)}if(a=function g(y){const m=[];let h;const C=e("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(h=C.exec(y));){let[,M,E,A]=h;if(M=parseInt(M,10),M in m){if(0===M)break}else m[M]=[E,A]}const v=[];for(let M=0;M{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFNetworkStream=void 0;var n=o(1),i=o(33);class e{constructor(p,S={}){this.url=p,this.isHttp=/^https?:/i.test(p),this.httpHeaders=this.isHttp&&S.httpHeaders||Object.create(null),this.withCredentials=S.withCredentials||!1,this.getXhr=S.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(p,S,y){const m={begin:p,end:S};for(const h in y)m[h]=y[h];return this.request(m)}requestFull(p){return this.request(p)}request(p){const S=this.getXhr(),y=this.currXhrId++,m=this.pendingRequests[y]={xhr:S};S.open("GET",this.url),S.withCredentials=this.withCredentials;for(const h in this.httpHeaders){const C=this.httpHeaders[h];typeof C>"u"||S.setRequestHeader(h,C)}return this.isHttp&&"begin"in p&&"end"in p?(S.setRequestHeader("Range",`bytes=${p.begin}-${p.end-1}`),m.expectedStatus=206):m.expectedStatus=200,S.responseType="arraybuffer",p.onError&&(S.onerror=function(h){p.onError(S.status)}),S.onreadystatechange=this.onStateChange.bind(this,y),S.onprogress=this.onProgress.bind(this,y),m.onHeadersReceived=p.onHeadersReceived,m.onDone=p.onDone,m.onError=p.onError,m.onProgress=p.onProgress,S.send(null),y}onProgress(p,S){const y=this.pendingRequests[p];y&&y.onProgress?.(S)}onStateChange(p,S){const y=this.pendingRequests[p];if(!y)return;const m=y.xhr;if(m.readyState>=2&&y.onHeadersReceived&&(y.onHeadersReceived(),delete y.onHeadersReceived),4!==m.readyState||!(p in this.pendingRequests))return;if(delete this.pendingRequests[p],0===m.status&&this.isHttp)return void y.onError?.(m.status);const h=m.status||200;if((200!==h||206!==y.expectedStatus)&&h!==y.expectedStatus)return void y.onError?.(m.status);const v=function a(b){const p=b.response;return"string"!=typeof p?p:(0,n.stringToBytes)(p).buffer}(m);if(206===h){const M=m.getResponseHeader("Content-Range"),E=/bytes (\d+)-(\d+)\/(\d+)/.exec(M);y.onDone({begin:parseInt(E[1],10),chunk:v})}else v?y.onDone({begin:0,chunk:v}):y.onError?.(m.status)}getRequestXhr(p){return this.pendingRequests[p].xhr}isPendingRequest(p){return p in this.pendingRequests}abortRequest(p){const S=this.pendingRequests[p].xhr;delete this.pendingRequests[p],S.abort()}}f.PDFNetworkStream=class c{constructor(p){this._source=p,this._manager=new e(p.url,{httpHeaders:p.httpHeaders,withCredentials:p.withCredentials}),this._rangeChunkSize=p.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(p){const S=this._rangeRequestReaders.indexOf(p);S>=0&&this._rangeRequestReaders.splice(S,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new l(this._manager,this._source),this._fullRequestReader}getRangeReader(p,S){const y=new g(this._manager,p,S);return y.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(y),y}cancelAllRequests(p){this._fullRequestReader?.cancel(p);for(const S of this._rangeRequestReaders.slice(0))S.cancel(p)}};class l{constructor(p,S){this._manager=p;const y={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=S.url,this._fullRequestId=p.requestFull(y),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=S.disableRange||!1,this._contentLength=S.length,this._rangeChunkSize=S.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const p=this._fullRequestId,S=this._manager.getRequestXhr(p),y=C=>S.getResponseHeader(C),{allowRangeRequests:m,suggestedLength:h}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:y,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});m&&(this._isRangeSupported=!0),this._contentLength=h||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(y),this._isRangeSupported&&this._manager.abortRequest(p),this._headersReceivedCapability.resolve()}_onDone(p){if(p&&(this._requests.length>0?this._requests.shift().resolve({value:p.chunk,done:!1}):this._cachedChunks.push(p.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url),this._headersReceivedCapability.reject(this._storedError);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(p){this.onProgress?.({loaded:p.loaded,total:p.lengthComputable?p.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(p._cachedChunks.length>0)return{value:p._cachedChunks.shift(),done:!1};if(p._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return p._requests.push(S),S.promise})()}cancel(p){this._done=!0,this._headersReceivedCapability.reject(p);for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class g{constructor(p,S,y){this._manager=p;const m={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=p.url,this._requestId=p.requestRange(S,y,m),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(p){const S=p.chunk;this._requests.length>0?this._requests.shift().resolve({value:S,done:!1}):this._queuedChunk=S,this._done=!0;for(const y of this._requests)y.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(p){this.isStreamingSupported||this.onProgress?.({loaded:p.loaded})}get isStreamingSupported(){return!1}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(null!==p._queuedChunk){const y=p._queuedChunk;return p._queuedChunk=null,{value:y,done:!1}}if(p._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return p._requests.push(S),S.promise})()}cancel(p){this._done=!0;for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFFetchStream=void 0;var n=o(1),i=o(33);function d(l,g,b){return{method:"GET",headers:l,signal:b.signal,mode:"cors",credentials:g?"include":"same-origin",redirect:"follow"}}function u(l){const g=new Headers;for(const b in l){const p=l[b];typeof p>"u"||g.append(b,p)}return g}f.PDFFetchStream=class a{constructor(g){this.source=g,this.isHttp=/^https?:/i.test(g.url),this.httpHeaders=this.isHttp&&g.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new e(this),this._fullRequestReader}getRangeReader(g,b){if(b<=this._progressiveDataLength)return null;const p=new c(this,g,b);return this._rangeRequestReaders.push(p),p}cancelAllRequests(g){this._fullRequestReader&&this._fullRequestReader.cancel(g);for(const b of this._rangeRequestReaders.slice(0))b.cancel(g)}};class e{constructor(g){this._stream=g,this._reader=null,this._loaded=0,this._filename=null;const b=g.source;this._withCredentials=b.withCredentials||!1,this._contentLength=b.length,this._headersCapability=(0,n.createPromiseCapability)(),this._disableRange=b.disableRange||!1,this._rangeChunkSize=b.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!b.disableStream,this._isRangeSupported=!b.disableRange,this._headers=u(this._stream.httpHeaders);const p=b.url;fetch(p,d(this._headers,this._withCredentials,this._abortController)).then(S=>{if(!(0,i.validateResponseStatus)(S.status))throw(0,i.createResponseStatusError)(S.status,p);this._reader=S.body.getReader(),this._headersCapability.resolve();const y=C=>S.headers.get(C),{allowRangeRequests:m,suggestedLength:h}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:y,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=m,this._contentLength=h||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(y),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._headersCapability.promise;const{value:b,done:p}=yield g._reader.read();return p?{value:b,done:p}:(g._loaded+=b.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded,total:g._contentLength}),{value:new Uint8Array(b).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}class c{constructor(g,b,p){this._stream=g,this._reader=null,this._loaded=0;const S=g.source;this._withCredentials=S.withCredentials||!1,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!S.disableStream,this._abortController=new AbortController,this._headers=u(this._stream.httpHeaders),this._headers.append("Range",`bytes=${b}-${p-1}`);const y=S.url;fetch(y,d(this._headers,this._withCredentials,this._abortController)).then(m=>{if(!(0,i.validateResponseStatus)(m.status))throw(0,i.createResponseStatusError)(m.status,y);this._readCapability.resolve(),this._reader=m.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._readCapability.promise;const{value:b,done:p}=yield g._reader.read();return p?{value:b,done:p}:(g._loaded+=b.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded}),{value:new Uint8Array(b).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(ve){var f=__webpack_module_cache__[ve];if(void 0!==f)return f.exports;var o=__webpack_module_cache__[ve]={exports:{}};return __webpack_modules__[ve](o,o.exports,__w_pdfjs_require__),o.exports}var __nested_webpack_exports__={};return(()=>{var ve=__nested_webpack_exports__;Object.defineProperty(ve,"__esModule",{value:!0}),Object.defineProperty(ve,"AnnotationEditorLayer",{enumerable:!0,get:function(){return i.AnnotationEditorLayer}}),Object.defineProperty(ve,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return f.AnnotationEditorParamsType}}),Object.defineProperty(ve,"AnnotationEditorType",{enumerable:!0,get:function(){return f.AnnotationEditorType}}),Object.defineProperty(ve,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return d.AnnotationEditorUIManager}}),Object.defineProperty(ve,"AnnotationLayer",{enumerable:!0,get:function(){return u.AnnotationLayer}}),Object.defineProperty(ve,"AnnotationMode",{enumerable:!0,get:function(){return f.AnnotationMode}}),Object.defineProperty(ve,"CMapCompressionType",{enumerable:!0,get:function(){return f.CMapCompressionType}}),Object.defineProperty(ve,"GlobalWorkerOptions",{enumerable:!0,get:function(){return a.GlobalWorkerOptions}}),Object.defineProperty(ve,"InvalidPDFException",{enumerable:!0,get:function(){return f.InvalidPDFException}}),Object.defineProperty(ve,"LoopbackPort",{enumerable:!0,get:function(){return o.LoopbackPort}}),Object.defineProperty(ve,"MissingPDFException",{enumerable:!0,get:function(){return f.MissingPDFException}}),Object.defineProperty(ve,"OPS",{enumerable:!0,get:function(){return f.OPS}}),Object.defineProperty(ve,"PDFDataRangeTransport",{enumerable:!0,get:function(){return o.PDFDataRangeTransport}}),Object.defineProperty(ve,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(ve,"PDFWorker",{enumerable:!0,get:function(){return o.PDFWorker}}),Object.defineProperty(ve,"PasswordResponses",{enumerable:!0,get:function(){return f.PasswordResponses}}),Object.defineProperty(ve,"PermissionFlag",{enumerable:!0,get:function(){return f.PermissionFlag}}),Object.defineProperty(ve,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(ve,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(ve,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(ve,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return f.UNSUPPORTED_FEATURES}}),Object.defineProperty(ve,"UnexpectedResponseException",{enumerable:!0,get:function(){return f.UnexpectedResponseException}}),Object.defineProperty(ve,"Util",{enumerable:!0,get:function(){return f.Util}}),Object.defineProperty(ve,"VerbosityLevel",{enumerable:!0,get:function(){return f.VerbosityLevel}}),Object.defineProperty(ve,"XfaLayer",{enumerable:!0,get:function(){return g.XfaLayer}}),Object.defineProperty(ve,"build",{enumerable:!0,get:function(){return o.build}}),Object.defineProperty(ve,"createPromiseCapability",{enumerable:!0,get:function(){return f.createPromiseCapability}}),Object.defineProperty(ve,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return f.createValidAbsoluteUrl}}),Object.defineProperty(ve,"getDocument",{enumerable:!0,get:function(){return o.getDocument}}),Object.defineProperty(ve,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(ve,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(ve,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(ve,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(ve,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(ve,"renderTextLayer",{enumerable:!0,get:function(){return c.renderTextLayer}}),Object.defineProperty(ve,"shadow",{enumerable:!0,get:function(){return f.shadow}}),Object.defineProperty(ve,"version",{enumerable:!0,get:function(){return o.version}});var f=__w_pdfjs_require__(1),o=__w_pdfjs_require__(4),n=__w_pdfjs_require__(8),i=__w_pdfjs_require__(22),d=__w_pdfjs_require__(7),u=__w_pdfjs_require__(27),a=__w_pdfjs_require__(15),e=__w_pdfjs_require__(3),c=__w_pdfjs_require__(30),l=__w_pdfjs_require__(31),g=__w_pdfjs_require__(29);if(e.isNodeJS){const{PDFNodeStream:S}=__w_pdfjs_require__(32);(0,o.setPDFNetworkStreamFactory)(y=>new S(y))}else{const{PDFNetworkStream:S}=__w_pdfjs_require__(35),{PDFFetchStream:y}=__w_pdfjs_require__(36);(0,o.setPDFNetworkStreamFactory)(m=>(0,n.isValidFetchUrl)(m.url)?new y(m):new S(m))}})(),__nested_webpack_exports__})(),module.exports=o()},6472:(ve,f,o)=>{var n=o(1196).default;globalThis,ve.exports=(()=>{"use strict";var i=[,(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.DefaultXfaLayerFactory=c.DefaultTextLayerFactory=c.DefaultStructTreeLayerFactory=c.DefaultAnnotationLayerFactory=c.DefaultAnnotationEditorLayerFactory=void 0;var g=l(2),b=l(5),p=l(4),S=l(6),y=l(8),m=l(9),h=l(10);c.DefaultAnnotationLayerFactory=class C{createAnnotationLayerBuilder({pageDiv:R,pdfPage:N,annotationStorage:P=null,imageResourcesPath:L="",renderForms:x=!0,l10n:V=p.NullL10n,enableScripting:F=!1,hasJSActionsPromise:ee=null,mouseState:X=null,fieldObjectsPromise:ce=null,annotationCanvasMap:Q=null,accessibilityManager:ne=null}){return new b.AnnotationLayerBuilder({pageDiv:R,pdfPage:N,imageResourcesPath:L,renderForms:x,linkService:new S.SimpleLinkService,l10n:V,annotationStorage:P,enableScripting:F,hasJSActionsPromise:ee,fieldObjectsPromise:ce,mouseState:X,annotationCanvasMap:Q,accessibilityManager:ne})}},c.DefaultAnnotationEditorLayerFactory=class v{createAnnotationEditorLayerBuilder({uiManager:R=null,pageDiv:N,pdfPage:P,accessibilityManager:L=null,l10n:x,annotationStorage:V=null}){return new g.AnnotationEditorLayerBuilder({uiManager:R,pageDiv:N,pdfPage:P,accessibilityManager:L,l10n:x,annotationStorage:V})}},c.DefaultStructTreeLayerFactory=class M{createStructTreeLayerBuilder({pdfPage:R}){return new y.StructTreeLayerBuilder({pdfPage:R})}},c.DefaultTextLayerFactory=class E{createTextLayerBuilder({textLayerDiv:R,pageIndex:N,viewport:P,enhanceTextSelection:L=!1,eventBus:x,highlighter:V,accessibilityManager:F=null}){return new m.TextLayerBuilder({textLayerDiv:R,pageIndex:N,viewport:P,enhanceTextSelection:L,eventBus:x,highlighter:V,accessibilityManager:F})}},c.DefaultXfaLayerFactory=class A{createXfaLayerBuilder({pageDiv:R,pdfPage:N,annotationStorage:P=null}){return new h.XfaLayerBuilder({pageDiv:R,pdfPage:N,annotationStorage:P,linkService:new S.SimpleLinkService})}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.AnnotationEditorLayerBuilder=void 0;var g=l(3),b=l(4);c.AnnotationEditorLayerBuilder=class p{#e;constructor(y){this.pageDiv=y.pageDiv,this.pdfPage=y.pdfPage,this.annotationStorage=y.annotationStorage||null,this.accessibilityManager=y.accessibilityManager,this.l10n=y.l10n||b.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#e=y.uiManager}render(y,m="display"){var h=this;return n(function*(){if("display"!==m||h._cancelled)return;const C=y.clone({dontFlip:!0});if(h.div)return h.annotationEditorLayer.update({viewport:C}),void h.show();h.div=document.createElement("div"),h.div.className="annotationEditorLayer",h.div.tabIndex=0,h.pageDiv.append(h.div),h.annotationEditorLayer=new g.AnnotationEditorLayer({uiManager:h.#e,div:h.div,annotationStorage:h.annotationStorage,accessibilityManager:h.accessibilityManager,pageIndex:h.pdfPage._pageIndex,l10n:h.l10n,viewport:C}),h.annotationEditorLayer.render({viewport:C,div:h.div,annotations:null,intent:m})})()}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}},e=>{let c;c=typeof window<"u"&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:o(35584),e.exports=c},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.NullL10n=void 0,c.fixupLangCode=function p(m){return b[m?.toLowerCase()]||m},c.getL10nFallback=g;const l={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading\u2026",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text\u2026",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function g(m,h){switch(m){case"find_match_count":m=`find_match_count[${1===h.total?"one":"other"}]`;break;case"find_match_count_limit":m=`find_match_count_limit[${1===h.limit?"one":"other"}]`}return l[m]||""}const b={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};c.NullL10n={getLanguage:()=>n(function*(){return"en-us"})(),getDirection:()=>n(function*(){return"ltr"})(),get:(m,h=null,C=g(m,h))=>n(function*(){return function S(m,h){return h?m.replace(/\{\{\s*(\w+)\s*\}\}/g,(C,v)=>v in h?h[v]:"{{"+v+"}}"):m}(C,h)})(),translate:m=>n(function*(){})()}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.AnnotationLayerBuilder=void 0;var g=l(3),b=l(4);c.AnnotationLayerBuilder=class p{constructor({pageDiv:y,pdfPage:m,linkService:h,downloadManager:C,annotationStorage:v=null,imageResourcesPath:M="",renderForms:E=!0,l10n:A=b.NullL10n,enableScripting:T=!1,hasJSActionsPromise:R=null,fieldObjectsPromise:N=null,mouseState:P=null,annotationCanvasMap:L=null,accessibilityManager:x=null}){this.pageDiv=y,this.pdfPage=m,this.linkService=h,this.downloadManager=C,this.imageResourcesPath=M,this.renderForms=E,this.l10n=A,this.annotationStorage=v,this.enableScripting=T,this._hasJSActionsPromise=R,this._fieldObjectsPromise=N,this._mouseState=P,this._annotationCanvasMap=L,this._accessibilityManager=x,this.div=null,this._cancelled=!1}render(y,m="display"){var h=this;return n(function*(){const[C,v=!1,M=null]=yield Promise.all([h.pdfPage.getAnnotations({intent:m}),h._hasJSActionsPromise,h._fieldObjectsPromise]);if(h._cancelled||0===C.length)return;const E={viewport:y.clone({dontFlip:!0}),div:h.div,annotations:C,page:h.pdfPage,imageResourcesPath:h.imageResourcesPath,renderForms:h.renderForms,linkService:h.linkService,downloadManager:h.downloadManager,annotationStorage:h.annotationStorage,enableScripting:h.enableScripting,hasJSActions:v,fieldObjects:M,mouseState:h._mouseState,annotationCanvasMap:h._annotationCanvasMap,accessibilityManager:h._accessibilityManager};h.div?g.AnnotationLayer.update(E):(h.div=document.createElement("div"),h.div.className="annotationLayer",h.pageDiv.append(h.div),E.div=h.div,g.AnnotationLayer.render(E),h.l10n.translate(h.div))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.SimpleLinkService=c.PDFLinkService=c.LinkTarget=void 0;var g=l(7);const p={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function S(h,{url:C,target:v,rel:M,enabled:E=!0}={}){if(!C||"string"!=typeof C)throw new Error('A valid "url" parameter must provided.');const A=(0,g.removeNullCharacters)(C);E?h.href=h.title=A:(h.href="",h.title=`Disabled: ${A}`,h.onclick=()=>!1);let T="";switch(v){case p.NONE:break;case p.SELF:T="_self";break;case p.BLANK:T="_blank";break;case p.PARENT:T="_parent";break;case p.TOP:T="_top"}h.target=T,h.rel="string"==typeof M?M:"noopener noreferrer nofollow"}c.LinkTarget=p;class y{#e=new Map;constructor({eventBus:C,externalLinkTarget:v=null,externalLinkRel:M=null,ignoreDestinationZoom:E=!1}={}){this.eventBus=C,this.externalLinkTarget=v,this.externalLinkRel=M,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=E,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(C,v=null){this.baseUrl=v,this.pdfDocument=C,this.#e.clear()}setViewer(C){this.pdfViewer=C}setHistory(C){this.pdfHistory=C}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(C){this.pdfViewer.currentPageNumber=C}get rotation(){return this.pdfViewer.pagesRotation}set rotation(C){this.pdfViewer.pagesRotation=C}#t(C,v=null,M){const E=M[0];let A;if("object"==typeof E&&null!==E){if(A=this._cachedPageNumber(E),!A)return void this.pdfDocument.getPageIndex(E).then(T=>{this.cachePageRef(T+1,E),this.#t(C,v,M)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${E}" is not a valid page reference, for dest="${C}".`)})}else{if(!Number.isInteger(E))return void console.error(`PDFLinkService.#goToDestinationHelper: "${E}" is not a valid destination reference, for dest="${C}".`);A=E+1}!A||A<1||A>this.pagesCount?console.error(`PDFLinkService.#goToDestinationHelper: "${A}" is not a valid page number, for dest="${C}".`):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:v,explicitDest:M,pageNumber:A})),this.pdfViewer.scrollPageIntoView({pageNumber:A,destArray:M,ignoreDestinationZoom:this._ignoreDestinationZoom}))}goToDestination(C){var v=this;return n(function*(){if(!v.pdfDocument)return;let M,E;"string"==typeof C?(M=C,E=yield v.pdfDocument.getDestination(C)):(M=null,E=yield C),Array.isArray(E)?v.#t(C,M,E):console.error(`PDFLinkService.goToDestination: "${E}" is not a valid destination array, for dest="${C}".`)})()}goToPage(C){if(!this.pdfDocument)return;const v="string"==typeof C&&this.pdfViewer.pageLabelToPageNumber(C)||0|C;Number.isInteger(v)&&v>0&&v<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(v)),this.pdfViewer.scrollPageIntoView({pageNumber:v})):console.error(`PDFLinkService.goToPage: "${C}" is not a valid page.`)}addLinkAttributes(C,v,M=!1){S(C,{url:v,target:M?p.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(C){if("string"==typeof C){if(C.length>0)return this.getAnchorUrl("#"+escape(C))}else if(Array.isArray(C)){const v=JSON.stringify(C);if(v.length>0)return this.getAnchorUrl("#"+escape(v))}return this.getAnchorUrl("")}getAnchorUrl(C){return(this.baseUrl||"")+C}setHash(C){if(!this.pdfDocument)return;let v,M;if(C.includes("=")){const E=(0,g.parseQueryString)(C);if(E.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:E.get("search").replace(/"/g,""),phraseSearch:"true"===E.get("phrase")}),E.has("page")&&(v=0|E.get("page")||1),E.has("zoom")){const A=E.get("zoom").split(","),T=A[0],R=parseFloat(T);T.includes("Fit")?"Fit"===T||"FitB"===T?M=[null,{name:T}]:"FitH"===T||"FitBH"===T||"FitV"===T||"FitBV"===T?M=[null,{name:T},A.length>1?0|A[1]:null]:"FitR"===T?5!==A.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):M=[null,{name:T},0|A[1],0|A[2],0|A[3],0|A[4]]:console.error(`PDFLinkService.setHash: "${T}" is not a valid zoom value.`):M=[null,{name:"XYZ"},A.length>1?0|A[1]:null,A.length>2?0|A[2]:null,R?R/100:T]}M?this.pdfViewer.scrollPageIntoView({pageNumber:v||this.page,destArray:M,allowNegativeOffset:!0}):v&&(this.page=v),E.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:E.get("pagemode")}),E.has("nameddest")&&this.goToDestination(E.get("nameddest"))}else{M=unescape(C);try{M=JSON.parse(M),Array.isArray(M)||(M=M.toString())}catch{}if("string"==typeof M||y.#n(M))return void this.goToDestination(M);console.error(`PDFLinkService.setHash: "${unescape(C)}" is not a valid destination.`)}}executeNamedAction(C){switch(C){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:C})}cachePageRef(C,v){v&&this.#e.set(0===v.gen?`${v.num}R`:`${v.num}R${v.gen}`,C)}_cachedPageNumber(C){return C&&this.#e.get(0===C.gen?`${C.num}R`:`${C.num}R${C.gen}`)||null}isPageVisible(C){return this.pdfViewer.isPageVisible(C)}isPageCached(C){return this.pdfViewer.isPageCached(C)}static#n(C){if(!Array.isArray(C))return!1;const v=C.length;if(v<2)return!1;const M=C[0];if(!("object"==typeof M&&Number.isInteger(M.num)&&Number.isInteger(M.gen)||Number.isInteger(M)&&M>=0))return!1;const E=C[1];if("object"!=typeof E||"string"!=typeof E.name)return!1;let A=!0;switch(E.name){case"XYZ":if(5!==v)return!1;break;case"Fit":case"FitB":return 2===v;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==v)return!1;break;case"FitR":if(6!==v)return!1;A=!1;break;default:return!1}for(let T=2;T{Object.defineProperty(c,"__esModule",{value:!0}),c.animationStarted=c.VERTICAL_PADDING=c.UNKNOWN_SCALE=c.TextLayerMode=c.SpreadMode=c.SidebarView=c.ScrollMode=c.SCROLLBAR_PADDING=c.RenderingStates=c.RendererType=c.ProgressBar=c.PresentationModeState=c.OutputScale=c.MIN_SCALE=c.MAX_SCALE=c.MAX_AUTO_SCALE=c.DEFAULT_SCALE_VALUE=c.DEFAULT_SCALE_DELTA=c.DEFAULT_SCALE=c.AutoPrintRegExp=void 0,c.apiPageLayoutToViewerModes=function nt(rt){let mt=R.VERTICAL,Wt=N.NONE;switch(rt){case"SinglePage":mt=R.PAGE;break;case"OneColumn":break;case"TwoPageLeft":mt=R.PAGE;case"TwoColumnLeft":Wt=N.ODD;break;case"TwoPageRight":mt=R.PAGE;case"TwoColumnRight":Wt=N.EVEN}return{scrollMode:mt,spreadMode:Wt}},c.apiPageModeToSidebarView=function ft(rt){switch(rt){case"UseNone":return E.NONE;case"UseThumbs":return E.THUMBS;case"UseOutlines":return E.OUTLINE;case"UseAttachments":return E.ATTACHMENTS;case"UseOC":return E.LAYERS}return E.NONE},c.approximateFraction=function ne(rt){if(Math.floor(rt)===rt)return[rt,1];const mt=1/rt;if(mt>8)return[1,8];if(Math.floor(mt)===mt)return[1,mt];const bt=rt>1?mt:rt;let An,Bt=0,an=1,hn=1,wn=1;for(;;){const vn=Bt+hn,en=an+wn;if(en>8)break;bt<=vn/en?(hn=vn,wn=en):(Bt=vn,an=en)}return An=bt-Bt/anwn}:function vn(He){const _t=He.div;return _t.offsetTop+_t.clientTop+_t.clientHeight>an});Pe>0&&Pe=hn&&(Ge=Ht);else if((bt?Et:it)>Ge)break;if(Ht<=an||it>=hn||Tt<=wn||Et>=An)continue;const Zt=Math.max(0,an-it)+Math.max(0,Ht-hn),Ct=(Yt-(Math.max(0,wn-Et)+Math.max(0,Tt-An)))/Yt;dt.push({id:_t.id,x:Et,y:it,view:_t,percent:(gt-Zt)/gt*Ct*100|0,widthPercent:100*Ct|0}),Ue.add(_t.id)}const je=dt[0],ht=dt.at(-1);return Wt&&dt.sort(function(He,_t){const lt=He.percent-_t.percent;return Math.abs(lt)>.001?-lt:He.id-_t.id}),{first:je,last:ht,views:dt,ids:Ue}},c.isPortraitOrientation=function Ie(rt){return rt.width<=rt.height},c.isValidRotation=function G(rt){return Number.isInteger(rt)&&rt%90==0},c.isValidScrollMode=function ue(rt){return Number.isInteger(rt)&&Object.values(R).includes(rt)&&rt!==R.UNKNOWN},c.isValidSpreadMode=function ye(rt){return Number.isInteger(rt)&&Object.values(N).includes(rt)&&rt!==N.UNKNOWN},c.noContextMenuHandler=function K(rt){rt.preventDefault()},c.normalizeWheelEventDelta=function re(rt){let mt=W(rt);return 0===rt.deltaMode?mt/=900:1===rt.deltaMode&&(mt/=30),mt},c.normalizeWheelEventDirection=W,c.parseQueryString=function F(rt){const mt=new Map;for(const[Wt,bt]of new URLSearchParams(rt))mt.set(Wt.toLowerCase(),bt);return mt},c.removeNullCharacters=function ce(rt,mt=!1){return"string"!=typeof rt?(console.error("The argument must be a string."),rt):(mt&&(rt=rt.replace(X," ")),rt.replace(ee,""))},c.roundToDivide=function Y(rt,mt){const Wt=rt%mt;return 0===Wt?rt:Math.round(rt-Wt+mt)},c.scrollIntoView=function x(rt,mt,Wt=!1){let bt=rt.offsetParent;if(!bt)return void console.error("offsetParent is not set -- cannot scroll");let Bt=rt.offsetTop+rt.clientTop,an=rt.offsetLeft+rt.clientLeft;for(;bt.clientHeight===bt.scrollHeight&&bt.clientWidth===bt.scrollWidth||Wt&&(bt.classList.contains("markedContent")||"hidden"===getComputedStyle(bt).overflow);)if(Bt+=bt.offsetTop,an+=bt.offsetLeft,bt=bt.offsetParent,!bt)return;mt&&(void 0!==mt.top&&(Bt+=mt.top),void 0!==mt.left&&(an+=mt.left,bt.scrollLeft=an)),bt.scrollTop=Bt},c.watchScroll=function V(rt,mt){const Wt=function(an){Bt||(Bt=window.requestAnimationFrame(function(){Bt=null;const wn=rt.scrollLeft,An=bt.lastX;wn!==An&&(bt.right=wn>An),bt.lastX=wn;const vn=rt.scrollTop,en=bt.lastY;vn!==en&&(bt.down=vn>en),bt.lastY=vn,mt(bt)}))},bt={right:!0,down:!0,lastX:rt.scrollLeft,lastY:rt.scrollTop,_eventHandler:Wt};let Bt=null;return rt.addEventListener("scroll",Wt,!0),bt},c.DEFAULT_SCALE_VALUE="auto",c.DEFAULT_SCALE=1,c.DEFAULT_SCALE_DELTA=1.1,c.MIN_SCALE=.1,c.MAX_SCALE=10,c.UNKNOWN_SCALE=0,c.MAX_AUTO_SCALE=1.25,c.SCROLLBAR_PADDING=40,c.VERTICAL_PADDING=5,c.RenderingStates={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},c.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};const E={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};c.SidebarView=E,c.RendererType={CANVAS:"canvas",SVG:"svg"},c.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};const R={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};c.ScrollMode=R;const N={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};c.SpreadMode=N,c.AutoPrintRegExp=/\bprint\s*\(/,c.OutputScale=class L{constructor(){const mt=window.devicePixelRatio||1;this.sx=mt,this.sy=mt}get scaled(){return 1!==this.sx||1!==this.sy}};const ee=/\x00/g,X=/[\x01-\x1F]/g;function Q(rt,mt,Wt=0){let bt=Wt,Bt=rt.length-1;if(Bt<0||!mt(rt[Bt]))return rt.length;if(mt(rt[bt]))return bt;for(;bt>1;mt(rt[an])?Bt=an:bt=an+1}return bt}function ae(rt,mt,Wt){if(rt<2)return rt;let bt=mt[rt].div,Bt=bt.offsetTop+bt.clientTop;Bt>=Wt&&(bt=mt[rt-1].div,Bt=bt.offsetTop+bt.clientTop);for(let an=rt-2;an>=0&&(bt=mt[an].div,!(bt.offsetTop+bt.clientTop+bt.clientHeight<=Bt));--an)rt=an;return rt}function W(rt){let mt=Math.hypot(rt.deltaX,rt.deltaY);const Wt=Math.atan2(rt.deltaY,rt.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const Wt=document.getElementById(mt);this.#e=Wt.classList}get percent(){return this.#t}set percent(mt){this.#t=function De(rt,mt,Wt){return Math.min(Math.max(rt,mt),Wt)}(mt,0,100),isNaN(mt)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),ie.setProperty("--progressBar-percent",`${this.#t}%`))}setWidth(mt){if(!mt)return;const bt=mt.parentNode.offsetWidth-mt.offsetWidth;bt>0&&ie.setProperty("--progressBar-end-offset",`${bt}px`)}hide(){this.#n&&(this.#n=!1,this.#e.add("hidden"))}show(){this.#n||(this.#n=!0,this.#e.remove("hidden"))}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.StructTreeLayerBuilder=void 0;const l={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},g=/^H(\d+)$/;c.StructTreeLayerBuilder=class b{constructor({pdfPage:S}){this.pdfPage=S}render(S){return this._walk(S)}_setAttributes(S,y){void 0!==S.alt&&y.setAttribute("aria-label",S.alt),void 0!==S.id&&y.setAttribute("aria-owns",S.id),void 0!==S.lang&&y.setAttribute("lang",S.lang)}_walk(S){if(!S)return null;const y=document.createElement("span");if("role"in S){const{role:m}=S,h=m.match(g);h?(y.setAttribute("role","heading"),y.setAttribute("aria-level",h[1])):l[m]&&y.setAttribute("role",l[m])}if(this._setAttributes(S,y),S.children)if(1===S.children.length&&"id"in S.children[0])this._setAttributes(S.children[0],y);else for(const m of S.children)y.append(this._walk(m));return y}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.TextLayerBuilder=void 0;var g=l(3);c.TextLayerBuilder=class p{constructor({textLayerDiv:y,eventBus:m,pageIndex:h,viewport:C,highlighter:v=null,enhanceTextSelection:M=!1,accessibilityManager:E=null}){this.textLayerDiv=y,this.eventBus=m,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=h+1,this.viewport=C,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=v,this.enhanceTextSelection=M,this.accessibilityManager=E,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const y=document.createElement("div");y.className="endOfContent",this.textLayerDiv.append(y)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(y=0){if(!this.textContent&&!this.textContentStream||this.renderingDone)return;this.cancel(),this.textDivs.length=0,this.highlighter?.setTextMapping(this.textDivs,this.textContentItemsStr),this.accessibilityManager?.setTextMapping(this.textDivs);const m=document.createDocumentFragment();this.textLayerRenderTask=(0,g.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:m,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:y,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{this.textLayerDiv.append(m),this._finishRendering(),this.highlighter?.enable(),this.accessibilityManager?.enable()},function(h){})}cancel(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.highlighter?.disable(),this.accessibilityManager?.disable()}setTextContentStream(y){this.cancel(),this.textContentStream=y}setTextContent(y){this.cancel(),this.textContent=y}_bindMouse(){const y=this.textLayerDiv;let m=null;y.addEventListener("mousedown",h=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return this.textLayerRenderTask.expandTextDivs(!0),void(m&&(clearTimeout(m),m=null));const C=y.querySelector(".endOfContent");if(!C)return;let v=h.target!==y;if(v=v&&"none"!==window.getComputedStyle(C).getPropertyValue("-moz-user-select"),v){const M=y.getBoundingClientRect(),E=Math.max(0,(h.pageY-M.top)/M.height);C.style.top=(100*E).toFixed(2)+"%"}C.classList.add("active")}),y.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return void(m=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),m=null},300));const h=y.querySelector(".endOfContent");h&&(h.style.top="",h.classList.remove("active"))})}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.XfaLayerBuilder=void 0;var g=l(3);c.XfaLayerBuilder=class b{constructor({pageDiv:S,pdfPage:y,annotationStorage:m=null,linkService:h,xfaHtml:C=null}){this.pageDiv=S,this.pdfPage=y,this.annotationStorage=m,this.linkService=h,this.xfaHtml=C,this.div=null,this._cancelled=!1}render(S,y="display"){if("print"===y){const m={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:y},h=document.createElement("div");this.pageDiv.append(h),m.div=h;const C=g.XfaLayer.render(m);return Promise.resolve(C)}return this.pdfPage.getXfa().then(m=>{if(this._cancelled||!m)return{textDivs:[]};const h={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:m,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:y};return this.div?g.XfaLayer.update(h):(this.div=document.createElement("div"),this.pageDiv.append(this.div),h.div=this.div,g.XfaLayer.render(h))}).catch(m=>{console.error(m)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFViewer=c.PDFSinglePageViewer=void 0;var g=l(7),b=l(12);c.PDFViewer=class p extends b.BaseViewer{},c.PDFSinglePageViewer=class S extends b.BaseViewer{_resetView(){super._resetView(),this._scrollMode=g.ScrollMode.PAGE,this._spreadMode=g.SpreadMode.NONE}set scrollMode(m){}_updateScrollMode(){}set spreadMode(m){}_updateSpreadMode(){}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PagesCountLimit=c.PDFPageViewBuffer=c.BaseViewer=void 0;var g=l(3),b=l(7),p=l(2),S=l(5),y=l(4),m=l(13),h=l(16),C=l(6),v=l(8),M=l(17),E=l(9),A=l(10);const R="enablePermissions",N={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};function P(V){return Object.values(g.AnnotationEditorType).includes(V)&&V!==g.AnnotationEditorType.DISABLE}c.PagesCountLimit=N;class L{#e=new Set;#t=0;constructor(F){this.#t=F}push(F){const ee=this.#e;ee.has(F)&&ee.delete(F),ee.add(F),ee.size>this.#t&&this.#n()}resize(F,ee=null){this.#t=F;const X=this.#e;if(ee){const ce=X.size;let Q=1;for(const ne of X)if(ee.has(ne.id)&&(X.delete(ne),X.add(ne)),++Q>ce)break}for(;X.size>this.#t;)this.#n()}has(F){return this.#e.has(F)}[Symbol.iterator](){return this.#e.keys()}#n(){const F=this.#e.keys().next().value;F?.destroy(),this.#e.delete(F)}}c.PDFPageViewBuffer=L;class x{#e=null;#t=g.AnnotationEditorType.DISABLE;#n=null;#r=g.AnnotationMode.ENABLE_FORMS;#o=!1;#c=0;#a=null;#i=null;constructor(F){if(this.constructor===x)throw new Error("Cannot initialize BaseViewer.");const ee="2.16.105";if(g.version!==ee)throw new Error(`The API version "${g.version}" does not match the Viewer version "${ee}".`);if(this.container=F.container,this.viewer=F.viewer||F.container.firstElementChild,"DIV"!==this.container?.tagName.toUpperCase()||"DIV"!==this.viewer?.tagName.toUpperCase())throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=F.eventBus,this.linkService=F.linkService||new C.SimpleLinkService,this.downloadManager=F.downloadManager||null,this.findController=F.findController||null,this._scriptingManager=F.scriptingManager||null,this.removePageBorders=F.removePageBorders||!1,this.textLayerMode=F.textLayerMode??b.TextLayerMode.ENABLE,this.#r=F.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.#t=F.annotationEditorMode??g.AnnotationEditorType.DISABLE,this.imageResourcesPath=F.imageResourcesPath||"",this.enablePrintAutoRotate=F.enablePrintAutoRotate||!1,this.renderer=F.renderer||b.RendererType.CANVAS,this.useOnlyCssZoom=F.useOnlyCssZoom||!1,this.maxCanvasPixels=F.maxCanvasPixels,this.l10n=F.l10n||y.NullL10n,this.#o=F.enablePermissions||!1,this.pageColors=F.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!F.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new h.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=F.renderingQueue,this.scroll=(0,b.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=b.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(F){return this._pages[F]}get pageViewsReady(){return!!this._pagesCapability.settled&&this._pages.every(function(F){return F?.pdfPage})}get renderForms(){return this.#r===g.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(F){if(!Number.isInteger(F))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(F,!0)||console.error(`currentPageNumber: "${F}" is not a valid page.`))}_setCurrentPageNumber(F,ee=!1){if(this._currentPageNumber===F)return ee&&this.#f(),!0;if(!(0=0&&(ee=X+1)}this._setCurrentPageNumber(ee,!0)||console.error(`currentPageLabel: "${F}" is not a valid page.`)}get currentScale(){return this._currentScale!==b.UNKNOWN_SCALE?this._currentScale:b.DEFAULT_SCALE}set currentScale(F){if(isNaN(F))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(F,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(F){this.pdfDocument&&this._setScale(F,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(F){if(!(0,b.isValidRotation)(F))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((F%=360)<0&&(F+=360),this._pagesRotation===F))return;this._pagesRotation=F;const ee=this._currentPageNumber,X={rotation:F};for(const ce of this._pages)ce.update(X);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:F,pageNumber:ee}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}#h(F){const ee={annotationEditorMode:this.#t,annotationMode:this.#r,textLayerMode:this.textLayerMode};return F&&(F.includes(g.PermissionFlag.COPY)||this.viewer.classList.add(R),F.includes(g.PermissionFlag.MODIFY_CONTENTS)||(ee.annotationEditorMode=g.AnnotationEditorType.DISABLE),!F.includes(g.PermissionFlag.MODIFY_ANNOTATIONS)&&!F.includes(g.PermissionFlag.FILL_INTERACTIVE_FORMS)&&this.#r===g.AnnotationMode.ENABLE_FORMS&&(ee.annotationMode=g.AnnotationMode.ENABLE)),ee}#u(){if("hidden"===document.visibilityState||!this.container.offsetParent||0===this._getVisiblePages().views.length)return Promise.resolve();const F=new Promise(ee=>{this.#i=()=>{"hidden"===document.visibilityState&&(ee(),document.removeEventListener("visibilitychange",this.#i),this.#i=null)},document.addEventListener("visibilitychange",this.#i)});return Promise.race([this._onePageRenderedCapability.promise,F])}setDocument(F){var ee=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),this.#n&&(this.#n.destroy(),this.#n=null)),this.pdfDocument=F,!F)return;const X=F.isPureXfa,ce=F.numPages,Q=F.getPage(1),ne=F.getOptionalContentConfig(),Y=this.#o?F.getPermissions():Promise.resolve();if(ce>N.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const H=this._scrollMode=b.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:H})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:ce})},()=>{}),this._onBeforeDraw=H=>{const ae=this._pages[H.pageNumber-1];ae&&this.#e.push(ae)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=H=>{H.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:H.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([Q,Y]).then(([H,ae])=>{if(F!==this.pdfDocument)return;this._firstPageCapability.resolve(H),this._optionalContentConfigPromise=ne;const{annotationEditorMode:J,annotationMode:K,textLayerMode:W}=this.#h(ae);if(J!==g.AnnotationEditorType.DISABLE){const ze=J;X?console.warn("Warning: XFA-editing is not implemented."):P(ze)?(this.#n=new g.AnnotationEditorUIManager(this.container,this.eventBus),ze!==g.AnnotationEditorType.NONE&&this.#n.updateMode(ze)):console.error(`Invalid AnnotationEditor mode: ${ze}`)}const re=this._scrollMode===b.ScrollMode.PAGE?null:this.viewer,G=this.currentScale,ue=H.getViewport({scale:G*g.PixelsPerInch.PDF_TO_CSS_UNITS}),ye=W===b.TextLayerMode.DISABLE||X?null:this,Ie=K!==g.AnnotationMode.DISABLE?this:null,be=X?this:null,ie=this.#n?this:null;for(let ze=1;ze<=ce;++ze){const qe=new m.PDFPageView({container:re,eventBus:this.eventBus,id:ze,scale:G,defaultViewport:ue.clone(),optionalContentConfigPromise:ne,renderingQueue:this.renderingQueue,textLayerFactory:ye,textLayerMode:W,annotationLayerFactory:Ie,annotationMode:K,xfaLayerFactory:be,annotationEditorLayerFactory:ie,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(qe)}const De=this._pages[0];De&&(De.setPdfPage(H),this.linkService.cachePageRef(1,H.ref)),this._scrollMode===b.ScrollMode.PAGE?this.#l():this._spreadMode!==b.SpreadMode.NONE&&this._updateSpreadMode(),this.#u().then(n(function*(){if(ee.findController&&ee.findController.setDocument(F),ee._scriptingManager&&ee._scriptingManager.setDocument(F),ee.#n&&ee.eventBus.dispatch("annotationeditormodechanged",{source:ee,mode:ee.#t}),F.loadingParams.disableAutoFetch||ce>N.FORCE_LAZY_PAGE_INIT)return void ee._pagesCapability.resolve();let ze=ce-1;if(ze<=0)ee._pagesCapability.resolve();else for(let qe=2;qe<=ce;++qe){const nt=F.getPage(qe).then(ft=>{const rt=ee._pages[qe-1];rt.pdfPage||rt.setPdfPage(ft),ee.linkService.cachePageRef(qe,ft.ref),0==--ze&&ee._pagesCapability.resolve()},ft=>{console.error(`Unable to get page ${qe} to initialize viewer`,ft),0==--ze&&ee._pagesCapability.resolve()});qe%N.PAUSE_EAGER_PAGE_INIT==0&&(yield nt)}})),this.eventBus.dispatch("pagesinit",{source:this}),F.getMetadata().then(({info:ze})=>{F===this.pdfDocument&&ze.Language&&(this.viewer.lang=ze.Language)}),this.defaultRenderingQueue&&this.update()}).catch(H=>{console.error("Unable to initialize viewer",H),this._pagesCapability.reject(H)})}setPageLabels(F){if(this.pdfDocument){F?Array.isArray(F)&&this.pdfDocument.numPages===F.length?this._pageLabels=F:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let ee=0,X=this._pages.length;ee=ee.previousPageNumber,ee.previousPageNumber=F}_scrollUpdate(){0!==this.pagesCount&&this.update()}#s(F,ee=null){const{div:X,id:ce}=F;if(this._scrollMode===b.ScrollMode.PAGE&&(this._setCurrentPageNumber(ce),this.#l(),this.update()),!ee&&!this.isInPresentationMode){const Q=X.offsetLeft+X.clientLeft,ne=Q+X.clientWidth,{scrollLeft:Y,clientWidth:H}=this.container;(this._scrollMode===b.ScrollMode.HORIZONTAL||QY+H)&&(ee={left:0,top:0})}(0,b.scrollIntoView)(X,ee)}#g(F){return F===this._currentScale||Math.abs(F-this._currentScale)<1e-15}_setScaleUpdatePages(F,ee,X=!1,ce=!1){if(this._currentScaleValue=ee.toString(),this.#g(F))return void(ce&&this.eventBus.dispatch("scalechanging",{source:this,scale:F,presetValue:ee}));b.docStyle.setProperty("--scale-factor",F*g.PixelsPerInch.PDF_TO_CSS_UNITS);const Q={scale:F};for(const ne of this._pages)ne.update(Q);if(this._currentScale=F,!X){let Y,ne=this._currentPageNumber;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(ne=this._location.pageNumber,Y=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:ne,destArray:Y,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:F,presetValue:ce?ee:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==b.SpreadMode.NONE&&this._scrollMode!==b.ScrollMode.HORIZONTAL?2:1}_setScale(F,ee=!1){let X=parseFloat(F);if(X>0)this._setScaleUpdatePages(X,F,ee,!1);else{const ce=this._pages[this._currentPageNumber-1];if(!ce)return;let Q=b.SCROLLBAR_PADDING,ne=b.VERTICAL_PADDING;this.isInPresentationMode?Q=ne=4:this.removePageBorders?Q=ne=0:this._scrollMode===b.ScrollMode.HORIZONTAL&&([Q,ne]=[ne,Q]);const Y=(this.container.clientWidth-Q)/ce.width*ce.scale/this._pageWidthScaleFactor,H=(this.container.clientHeight-ne)/ce.height*ce.scale;switch(F){case"page-actual":X=1;break;case"page-width":X=Y;break;case"page-height":X=H;break;case"page-fit":X=Math.min(Y,H);break;case"auto":const ae=(0,b.isPortraitOrientation)(ce)?Y:Math.min(H,Y);X=Math.min(b.MAX_AUTO_SCALE,ae);break;default:return void console.error(`_setScale: "${F}" is an unknown zoom value.`)}this._setScaleUpdatePages(X,F,ee,!0)}}#f(){const F=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this.#s(F)}pageLabelToPageNumber(F){if(!this._pageLabels)return null;const ee=this._pageLabels.indexOf(F);return ee<0?null:ee+1}scrollPageIntoView({pageNumber:F,destArray:ee=null,allowNegativeOffset:X=!1,ignoreDestinationZoom:ce=!1}){if(!this.pdfDocument)return;const Q=Number.isInteger(F)&&this._pages[F-1];if(!Q)return void console.error(`scrollPageIntoView: "${F}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!ee)return void this._setCurrentPageNumber(F,!0);let J,K,ne=0,Y=0,H=0,ae=0;const W=Q.rotation%180!=0,re=(W?Q.height:Q.width)/Q.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS,G=(W?Q.width:Q.height)/Q.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS;let ue=0;switch(ee[1].name){case"XYZ":ne=ee[2],Y=ee[3],ue=ee[4],ne=null!==ne?ne:0,Y=null!==Y?Y:G;break;case"Fit":case"FitB":ue="page-fit";break;case"FitH":case"FitBH":Y=ee[2],ue="page-width",null===Y&&this._location?(ne=this._location.left,Y=this._location.top):("number"!=typeof Y||Y<0)&&(Y=G);break;case"FitV":case"FitBV":ne=ee[2],H=re,ae=G,ue="page-height";break;case"FitR":ne=ee[2],Y=ee[3],H=ee[4]-ne,ae=ee[5]-Y,J=(this.container.clientWidth-(this.removePageBorders?0:b.SCROLLBAR_PADDING))/H/g.PixelsPerInch.PDF_TO_CSS_UNITS,K=(this.container.clientHeight-(this.removePageBorders?0:b.VERTICAL_PADDING))/ae/g.PixelsPerInch.PDF_TO_CSS_UNITS,ue=Math.min(Math.abs(J),Math.abs(K));break;default:return void console.error(`scrollPageIntoView: "${ee[1].name}" is not a valid destination type.`)}if(ce||(ue&&ue!==this._currentScale?this.currentScaleValue=ue:this._currentScale===b.UNKNOWN_SCALE&&(this.currentScaleValue=b.DEFAULT_SCALE_VALUE)),"page-fit"===ue&&!ee[4])return void this.#s(Q);const ye=[Q.viewport.convertToViewportPoint(ne,Y),Q.viewport.convertToViewportPoint(ne+H,Y+ae)];let Ie=Math.min(ye[0][0],ye[1][0]),be=Math.min(ye[0][1],ye[1][1]);X||(Ie=Math.max(Ie,0),be=Math.max(be,0)),this.#s(Q,{left:Ie,top:be})}_updateLocation(F){const ee=this._currentScale,X=this._currentScaleValue,ce=parseFloat(X)===ee?Math.round(1e4*ee)/100:X,Q=F.id,Y=this.container,H=this._pages[Q-1].getPagePoint(Y.scrollLeft-F.x,Y.scrollTop-F.y),ae=Math.round(H[0]),J=Math.round(H[1]);let K=`#page=${Q}`;this.isInPresentationMode||(K+=`&zoom=${ce},${ae},${J}`),this._location={pageNumber:Q,scale:ce,top:J,left:ae,rotation:this._pagesRotation,pdfOpenParams:K}}update(){const F=this._getVisiblePages(),ee=F.views,X=ee.length;if(0===X)return;const ce=Math.max(10,2*X+1);this.#e.resize(ce,F.ids),this.renderingQueue.renderHighestPriority(F);const Q=this._spreadMode===b.SpreadMode.NONE&&(this._scrollMode===b.ScrollMode.PAGE||this._scrollMode===b.ScrollMode.VERTICAL),ne=this._currentPageNumber;let Y=!1;for(const H of ee){if(H.percent<100)break;if(H.id===ne&&Q){Y=!0;break}}this._setCurrentPageNumber(Y?ne:ee[0].id),this._updateLocation(F.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(F){return this.container.contains(F)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return this.presentationModeState===b.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===b.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const F=this._scrollMode===b.ScrollMode.PAGE?this.#a.pages:this._pages,ee=this._scrollMode===b.ScrollMode.HORIZONTAL;return(0,b.getVisibleElements)({scrollEl:this.container,views:F,sortByVisibility:!0,horizontal:ee,rtl:ee&&this._isContainerRtl})}isPageVisible(F){return!!this.pdfDocument&&(Number.isInteger(F)&&F>0&&F<=this.pagesCount?this._getVisiblePages().ids.has(F):(console.error(`isPageVisible: "${F}" is not a valid page.`),!1))}isPageCached(F){return!!this.pdfDocument&&(Number.isInteger(F)&&F>0&&F<=this.pagesCount?this.#e.has(this._pages[F-1]):(console.error(`isPageCached: "${F}" is not a valid page.`),!1))}cleanup(){for(const F of this._pages)F.renderingState!==b.RenderingStates.FINISHED&&F.reset()}_cancelRendering(){for(const F of this._pages)F.cancelRendering()}#v(F){var ee=this;return n(function*(){if(F.pdfPage)return F.pdfPage;try{const X=yield ee.pdfDocument.getPage(F.id);return F.pdfPage||F.setPdfPage(X),ee.linkService._cachedPageNumber?.(X.ref)||ee.linkService.cachePageRef(F.id,X.ref),X}catch(X){return console.error("Unable to get page for page view",X),null}})()}#p(F){if(1===F.first?.id)return!0;if(F.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case b.ScrollMode.PAGE:return this.#a.scrollDown;case b.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}#_(F){for(const ee of F)this._pages[ee-1]?.toggleLoadingIconSpinner(!0);for(const ee of this.#e)F.has(ee.id)||ee.toggleLoadingIconSpinner(!1)}forceRendering(F){const ee=F||this._getVisiblePages(),X=this.#p(ee),Q=this.renderingQueue.getHighestPriority(ee,this._pages,X,this._spreadMode!==b.SpreadMode.NONE&&this._scrollMode!==b.ScrollMode.HORIZONTAL);return this.#_(ee.ids),!!Q&&(this.#v(Q).then(()=>{this.renderingQueue.renderView(Q)}),!0)}createTextLayerBuilder({textLayerDiv:F,pageIndex:ee,viewport:X,enhanceTextSelection:ce=!1,eventBus:Q,highlighter:ne,accessibilityManager:Y=null}){return new E.TextLayerBuilder({textLayerDiv:F,eventBus:Q,pageIndex:ee,viewport:X,enhanceTextSelection:!this.isInPresentationMode&&ce,highlighter:ne,accessibilityManager:Y})}createTextHighlighter({pageIndex:F,eventBus:ee}){return new M.TextHighlighter({eventBus:ee,pageIndex:F,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder({pageDiv:F,pdfPage:ee,annotationStorage:X=this.pdfDocument?.annotationStorage,imageResourcesPath:ce="",renderForms:Q=!0,l10n:ne=y.NullL10n,enableScripting:Y=this.enableScripting,hasJSActionsPromise:H=this.pdfDocument?.hasJSActions(),mouseState:ae=this._scriptingManager?.mouseState,fieldObjectsPromise:J=this.pdfDocument?.getFieldObjects(),annotationCanvasMap:K=null,accessibilityManager:W=null}){return new S.AnnotationLayerBuilder({pageDiv:F,pdfPage:ee,annotationStorage:X,imageResourcesPath:ce,renderForms:Q,linkService:this.linkService,downloadManager:this.downloadManager,l10n:ne,enableScripting:Y,hasJSActionsPromise:H,mouseState:ae,fieldObjectsPromise:J,annotationCanvasMap:K,accessibilityManager:W})}createAnnotationEditorLayerBuilder({uiManager:F=this.#n,pageDiv:ee,pdfPage:X,accessibilityManager:ce=null,l10n:Q,annotationStorage:ne=this.pdfDocument?.annotationStorage}){return new p.AnnotationEditorLayerBuilder({uiManager:F,pageDiv:ee,pdfPage:X,annotationStorage:ne,accessibilityManager:ce,l10n:Q})}createXfaLayerBuilder({pageDiv:F,pdfPage:ee,annotationStorage:X=this.pdfDocument?.annotationStorage}){return new A.XfaLayerBuilder({pageDiv:F,pdfPage:ee,annotationStorage:X,linkService:this.linkService})}createStructTreeLayerBuilder({pdfPage:F}){return new v.StructTreeLayerBuilder({pdfPage:F})}get hasEqualPageSizes(){const F=this._pages[0];for(let ee=1,X=this._pages.length;ee{const ee=F.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,b.isPortraitOrientation)(ee)?{width:ee.width,height:ee.height,rotation:ee.rotation}:{width:ee.height,height:ee.width,rotation:(ee.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(F){if(!(F instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${F}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=F;const ee={optionalContentConfigPromise:F};for(const X of this._pages)X.update(ee);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:F})}get scrollMode(){return this._scrollMode}set scrollMode(F){if(this._scrollMode!==F){if(!(0,b.isValidScrollMode)(F))throw new Error(`Invalid scroll mode: ${F}`);this.pagesCount>N.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=F,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:F}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(F=null){const ee=this._scrollMode,X=this.viewer;X.classList.toggle("scrollHorizontal",ee===b.ScrollMode.HORIZONTAL),X.classList.toggle("scrollWrapped",ee===b.ScrollMode.WRAPPED),this.pdfDocument&&F&&(ee===b.ScrollMode.PAGE?this.#l():this._previousScrollMode===b.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(F,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(F){if(this._spreadMode!==F){if(!(0,b.isValidSpreadMode)(F))throw new Error(`Invalid spread mode: ${F}`);this._spreadMode=F,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:F}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(F=null){if(!this.pdfDocument)return;const ee=this.viewer,X=this._pages;if(this._scrollMode===b.ScrollMode.PAGE)this.#l();else if(ee.textContent="",this._spreadMode===b.SpreadMode.NONE)for(const ce of this._pages)ee.append(ce.div);else{const ce=this._spreadMode-1;let Q=null;for(let ne=0,Y=X.length;ne=ae;H--){const K=Q[H+1]-1;if(Q[H]K)return K-F}if(ee){const H=Q[0];if(HF)return H-F+1}break}break}case b.ScrollMode.HORIZONTAL:break;case b.ScrollMode.PAGE:case b.ScrollMode.VERTICAL:{if(this._spreadMode===b.SpreadMode.NONE)break;const X=this._spreadMode-1;if(ee&&F%2!==X)break;if(!ee&&F%2===X)break;const{views:ce}=this._getVisiblePages(),Q=ee?F-1:F+1;for(const{id:ne,percent:Y,widthPercent:H}of ce)if(ne===Q){if(Y>0&&100===H)return 2;break}break}}return 1}nextPage(){const F=this._currentPageNumber,ee=this.pagesCount;if(F>=ee)return!1;const X=this._getPageAdvance(F,!1)||1;return this.currentPageNumber=Math.min(F+X,ee),!0}previousPage(){const F=this._currentPageNumber;if(F<=1)return!1;const ee=this._getPageAdvance(F,!0)||1;return this.currentPageNumber=Math.max(F-ee,1),!0}increaseScale(F=1){let ee=this._currentScale;do{ee=(ee*b.DEFAULT_SCALE_DELTA).toFixed(2),ee=Math.ceil(10*ee)/10,ee=Math.min(b.MAX_SCALE,ee)}while(--F>0&&ee0&&ee>b.MIN_SCALE);this.currentScaleValue=ee}updateContainerHeightCss(){const F=this.container.clientHeight;F!==this.#c&&(this.#c=F,b.docStyle.setProperty("--viewer-container-height",`${F}px`))}get annotationEditorMode(){return this.#n?this.#t:g.AnnotationEditorType.DISABLE}set annotationEditorMode(F){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");if(this.#t!==F){if(!P(F))throw new Error(`Invalid AnnotationEditor mode: ${F}`);this.pdfDocument&&(this.#t=F,this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:F}),this.#n.updateMode(F))}}set annotationEditorParams({type:F,value:ee}){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");this.#n.updateParams(F,ee)}refresh(){if(!this.pdfDocument)return;const F={};for(const ee of this._pages)ee.update(F);this.update()}}c.BaseViewer=x},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFPageView=void 0;var g=l(3),b=l(7),p=l(14),S=l(4),y=l(15);const m=p.compatibilityParams.maxCanvasPixels||16777216;c.PDFPageView=class h{#e=g.AnnotationMode.ENABLE_FORMS;#t={initialOptionalContent:!0,regularAnnotations:!0};constructor(v){const M=v.container,E=v.defaultViewport;this.id=v.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=v.scale||b.DEFAULT_SCALE,this.viewport=E,this.pdfPageRotate=E.rotation,this._optionalContentConfigPromise=v.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=v.textLayerMode??b.TextLayerMode.ENABLE,this.#e=v.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.imageResourcesPath=v.imageResourcesPath||"",this.useOnlyCssZoom=v.useOnlyCssZoom||!1,this.maxCanvasPixels=v.maxCanvasPixels||m,this.pageColors=v.pageColors||null,this.eventBus=v.eventBus,this.renderingQueue=v.renderingQueue,this.textLayerFactory=v.textLayerFactory,this.annotationLayerFactory=v.annotationLayerFactory,this.annotationEditorLayerFactory=v.annotationEditorLayerFactory,this.xfaLayerFactory=v.xfaLayerFactory,this.textHighlighter=v.textHighlighterFactory?.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=v.structTreeLayerFactory,this.renderer=v.renderer||b.RendererType.CANVAS,this.l10n=v.l10n||S.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=b.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const A=document.createElement("div");if(A.className="page",A.style.width=Math.floor(this.viewport.width)+"px",A.style.height=Math.floor(this.viewport.height)+"px",A.setAttribute("data-page-number",this.id),A.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(T=>{A.setAttribute("aria-label",T)}),this.div=A,M?.append(A),this._isStandalone){const{optionalContentConfigPromise:T}=v;T&&T.then(R=>{T===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=R.hasInitialVisibility)})}}setPdfPage(v){this.pdfPage=v,this.pdfPageRotate=v.rotate,this.viewport=v.getViewport({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}_renderAnnotationLayer(){var v=this;return n(function*(){let M=null;try{yield v.annotationLayer.render(v.viewport,"display")}catch(E){console.error(`_renderAnnotationLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("annotationlayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_renderAnnotationEditorLayer(){var v=this;return n(function*(){let M=null;try{yield v.annotationEditorLayer.render(v.viewport,"display")}catch(E){console.error(`_renderAnnotationEditorLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("annotationeditorlayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_renderXfaLayer(){var v=this;return n(function*(){let M=null;try{const E=yield v.xfaLayer.render(v.viewport,"display");v.textHighlighter&&v._buildXfaTextContentItems(E.textDivs)}catch(E){console.error(`_renderXfaLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("xfalayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_buildXfaTextContentItems(v){var M=this;return n(function*(){const E=yield M.pdfPage.getTextContent(),A=[];for(const T of E.items)A.push(T.str);M.textHighlighter.setTextMapping(v,A),M.textHighlighter.enable()})()}_resetZoomLayer(v=!1){if(!this.zoomLayer)return;const M=this.zoomLayer.firstChild;this.paintedViewportMap.delete(M),M.width=0,M.height=0,v&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:v=!1,keepAnnotationLayer:M=!1,keepAnnotationEditorLayer:E=!1,keepXfaLayer:A=!1}={}){this.cancelRendering({keepAnnotationLayer:M,keepAnnotationEditorLayer:E,keepXfaLayer:A}),this.renderingState=b.RenderingStates.INITIAL;const T=this.div;T.style.width=Math.floor(this.viewport.width)+"px",T.style.height=Math.floor(this.viewport.height)+"px";const R=T.childNodes,N=v&&this.zoomLayer||null,P=M&&this.annotationLayer?.div||null,L=E&&this.annotationEditorLayer?.div||null,x=A&&this.xfaLayer?.div||null;for(let V=R.length-1;V>=0;V--){const F=R[V];switch(F){case N:case P:case L:case x:continue}F.remove()}T.removeAttribute("data-loaded"),P&&this.annotationLayer.hide(),L?this.annotationEditorLayer.hide():this.annotationEditorLayer?.destroy(),x&&this.xfaLayer.hide(),N||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(V=>{this.loadingIconDiv?.setAttribute("aria-label",V)}),T.append(this.loadingIconDiv)}update({scale:v=0,rotation:M=null,optionalContentConfigPromise:E=null}){if(this.scale=v||this.scale,"number"==typeof M&&(this.rotation=M),E instanceof Promise&&(this._optionalContentConfigPromise=E,E.then(R=>{E===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=R.hasInitialVisibility)})),this.viewport=this.viewport.clone({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this._isStandalone&&b.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg)return this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});let T=!1;if(this.canvas&&this.maxCanvasPixels>0){const R=this.outputScale;(Math.floor(this.viewport.width)*R.sx|0)*(Math.floor(this.viewport.height)*R.sy|0)>this.maxCanvasPixels&&(T=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&T)return this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering({keepAnnotationLayer:v=!1,keepAnnotationEditorLayer:M=!1,keepXfaLayer:E=!1}={}){this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!v||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!M||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!E||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this.textHighlighter?.disable()),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform({target:v,redrawAnnotationLayer:M=!1,redrawAnnotationEditorLayer:E=!1,redrawXfaLayer:A=!1}){const T=this.viewport.width,R=this.viewport.height,N=this.div;v.style.width=v.parentNode.style.width=N.style.width=Math.floor(T)+"px",v.style.height=v.parentNode.style.height=N.style.height=Math.floor(R)+"px";const P=this.viewport.rotation-this.paintedViewportMap.get(v).rotation,L=Math.abs(P);let x=1,V=1;if((90===L||270===L)&&(x=R/T,V=T/R),v.style.transform=`rotate(${P}deg) scale(${x}, ${V})`,this.textLayer){const F=this.textLayer.viewport,X=Math.abs(this.viewport.rotation-F.rotation);let ce=T/F.width;(90===X||270===X)&&(ce=T/F.height);const Q=this.textLayer.textLayerDiv;let ne,Y;switch(X){case 0:ne=Y=0;break;case 90:ne=0,Y="-"+Q.style.height;break;case 180:ne="-"+Q.style.width,Y="-"+Q.style.height;break;case 270:ne="-"+Q.style.width,Y=0;break;default:console.error("Bad rotation value.")}Q.style.transform=`rotate(${X}deg) scale(${ce}) translate(${ne}, ${Y})`,Q.style.transformOrigin="0% 0%"}M&&this.annotationLayer&&this._renderAnnotationLayer(),E&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),A&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(v,M){return this.viewport.convertToPdfPoint(v,M)}toggleLoadingIconSpinner(v=!1){this.loadingIconDiv?.classList.toggle("notVisible",!v)}draw(){var v=this;this.renderingState!==b.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:M,pdfPage:E}=this;if(!E)return this.renderingState=b.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=b.RenderingStates.RUNNING;const A=document.createElement("div");A.style.width=M.style.width,A.style.height=M.style.height,A.classList.add("canvasWrapper");const T=this.annotationLayer?.div||this.annotationEditorLayer?.div;T?T.before(A):M.append(A);let R=null;if(this.textLayerMode!==b.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||=new y.TextAccessibilityManager;const V=document.createElement("div");V.className="textLayer",V.style.width=A.style.width,V.style.height=A.style.height,T?T.before(V):M.append(V),R=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:V,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===b.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=R,this.#e!==g.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||=new Map,this.annotationLayer||=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:M,pdfPage:E,imageResourcesPath:this.imageResourcesPath,renderForms:this.#e===g.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager})),this.xfaLayer?.div&&M.append(this.xfaLayer.div);let N=null;this.renderingQueue&&(N=V=>{if(!this.renderingQueue.isHighestPriority(this))return this.renderingState=b.RenderingStates.PAUSED,void(this.resume=()=>{this.renderingState=b.RenderingStates.RUNNING,V()});V()});const P=function(){var V=n(function*(F=null){if(L===v.paintTask&&(v.paintTask=null),F instanceof g.RenderingCancelledException)v._renderError=null;else if(v._renderError=F,v.renderingState=b.RenderingStates.FINISHED,v.loadingIconDiv&&(v.loadingIconDiv.remove(),delete v.loadingIconDiv),v._resetZoomLayer(!0),v.#t.regularAnnotations=!L.separateAnnots,v.eventBus.dispatch("pagerendered",{source:v,pageNumber:v.id,cssTransform:!1,timestamp:performance.now(),error:v._renderError}),F)throw F});return function(){return V.apply(this,arguments)}}(),L=this.renderer===b.RendererType.SVG?this.paintOnSvg(A):this.paintOnCanvas(A);L.onRenderContinue=N,this.paintTask=L;const x=L.promise.then(()=>P(null).then(()=>{if(R){const V=E.streamTextContent({includeMarkedContent:!0});R.setTextContentStream(V),R.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:M,pdfPage:E,l10n:this.l10n,accessibilityManager:this._accessibilityManager}),this._renderAnnotationEditorLayer())})}),function(V){return P(V)});return this.xfaLayerFactory&&(this.xfaLayer||=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:M,pdfPage:E}),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=V=>{V.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(F=>{if(!F||!this.canvas)return;const ee=this.structTreeLayer.render(F);ee.classList.add("structTree"),this.canvas.append(ee)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:E})),M.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),x}paintOnCanvas(v){const M=(0,g.createPromiseCapability)(),E={promise:M.promise,onRenderContinue(ce){ce()},cancel(){X.cancel()},get separateAnnots(){return X.separateAnnots}},A=this.viewport,T=document.createElement("canvas");T.setAttribute("role","presentation"),T.hidden=!0;let R=!0;const N=function(){R&&(T.hidden=!1,R=!1)};v.append(T),this.canvas=T;const P=T.getContext("2d",{alpha:!1}),L=this.outputScale=new b.OutputScale;if(this.useOnlyCssZoom){const ce=A.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});L.sx*=ce.width/A.width,L.sy*=ce.height/A.height}if(this.maxCanvasPixels>0){const Q=Math.sqrt(this.maxCanvasPixels/(A.width*A.height));L.sx>Q||L.sy>Q?(L.sx=Q,L.sy=Q,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const x=(0,b.approximateFraction)(L.sx),V=(0,b.approximateFraction)(L.sy);T.width=(0,b.roundToDivide)(A.width*L.sx,x[0]),T.height=(0,b.roundToDivide)(A.height*L.sy,V[0]),T.style.width=(0,b.roundToDivide)(A.width,x[1])+"px",T.style.height=(0,b.roundToDivide)(A.height,V[1])+"px",this.paintedViewportMap.set(T,A);const ee={canvasContext:P,transform:L.scaled?[L.sx,0,0,L.sy,0,0]:null,viewport:this.viewport,annotationMode:this.#e,optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},X=this.pdfPage.render(ee);return X.onContinue=function(ce){N(),E.onRenderContinue?E.onRenderContinue(ce):ce()},X.promise.then(function(){N(),M.resolve()},function(ce){N(),M.reject(ce)}),E}paintOnSvg(v){let M=!1;const E=()=>{if(M)throw new g.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},A=this.pdfPage,T=this.viewport.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:A.getOperatorList({annotationMode:this.#e}).then(N=>(E(),new g.SVGGraphics(A.commonObjs,A.objs).getSVG(N,T).then(L=>{E(),this.svg=L,this.paintedViewportMap.set(L,T),L.style.width=v.style.width,L.style.height=v.style.height,this.renderingState=b.RenderingStates.FINISHED,v.append(L)}))),onRenderContinue(N){N()},cancel(){M=!0},get separateAnnots(){return!1}}}setPageLabel(v){this.pageLabel="string"==typeof v?v:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:v,regularAnnotations:M}=this.#t;return v&&M?this.canvas:null}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.compatibilityParams=c.OptionKind=c.AppOptions=void 0;const l=Object.create(null);c.compatibilityParams=l;{const y=navigator.userAgent||"",m=navigator.platform||"",h=navigator.maxTouchPoints||1,C=/Android/.test(y);(/\b(iPad|iPhone|iPod)(?=;)/.test(y)||"MacIntel"===m&&h>1||C)&&(l.maxCanvasPixels=5242880)}const g={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};c.OptionKind=g;const b={annotationEditorMode:{value:-1,kind:g.VIEWER+g.PREFERENCE},annotationMode:{value:2,kind:g.VIEWER+g.PREFERENCE},cursorToolOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},defaultZoomValue:{value:"",kind:g.VIEWER+g.PREFERENCE},disableHistory:{value:!1,kind:g.VIEWER},disablePageLabels:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePermissions:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:g.VIEWER+g.PREFERENCE},enableScripting:{value:!0,kind:g.VIEWER+g.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:g.VIEWER},externalLinkTarget:{value:0,kind:g.VIEWER+g.PREFERENCE},historyUpdateUrl:{value:!1,kind:g.VIEWER+g.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},imageResourcesPath:{value:"./images/",kind:g.VIEWER},maxCanvasPixels:{value:16777216,kind:g.VIEWER},forcePageColors:{value:!1,kind:g.VIEWER+g.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:g.VIEWER+g.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:g.VIEWER+g.PREFERENCE},pdfBugEnabled:{value:!1,kind:g.VIEWER+g.PREFERENCE},printResolution:{value:150,kind:g.VIEWER},sidebarViewOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},scrollModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},spreadModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},textLayerMode:{value:1,kind:g.VIEWER+g.PREFERENCE},useOnlyCssZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},viewerCssTheme:{value:0,kind:g.VIEWER+g.PREFERENCE},viewOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},cMapPacked:{value:!0,kind:g.API},cMapUrl:{value:"../web/cmaps/",kind:g.API},disableAutoFetch:{value:!1,kind:g.API+g.PREFERENCE},disableFontFace:{value:!1,kind:g.API+g.PREFERENCE},disableRange:{value:!1,kind:g.API+g.PREFERENCE},disableStream:{value:!1,kind:g.API+g.PREFERENCE},docBaseUrl:{value:"",kind:g.API},enableXfa:{value:!0,kind:g.API+g.PREFERENCE},fontExtraProperties:{value:!1,kind:g.API},isEvalSupported:{value:!0,kind:g.API},maxImageSize:{value:-1,kind:g.API},pdfBug:{value:!1,kind:g.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:g.API},verbosity:{value:1,kind:g.API},workerPort:{value:null,kind:g.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:g.WORKER}};b.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:g.VIEWER},b.disablePreferences={value:!1,kind:g.VIEWER},b.locale={value:navigator.language||"en-US",kind:g.VIEWER},b.renderer={value:"canvas",kind:g.VIEWER+g.PREFERENCE},b.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:g.VIEWER};const p=Object.create(null);c.AppOptions=class S{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(m){const h=p[m];if(void 0!==h)return h;const C=b[m];return void 0!==C?l[m]??C.value:void 0}static getAll(m=null){const h=Object.create(null);for(const C in b){const v=b[C];if(m){if(!(m&v.kind))continue;if(m===g.PREFERENCE){const E=v.value,A=typeof E;if("boolean"===A||"string"===A||"number"===A&&Number.isInteger(E)){h[C]=E;continue}throw new Error(`Invalid type for preference: ${C}`)}}const M=p[C];h[C]=void 0!==M?M:l[C]??v.value}return h}static set(m,h){p[m]=h}static setAll(m){for(const h in m)p[h]=m[h]}static remove(m){delete p[m]}static _hasUserOptions(){return Object.keys(p).length>0}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.TextAccessibilityManager=void 0;var g=l(7);class b{#e=!1;#t=null;#n=new Map;#r=new Map;setTextMapping(S){this.#t=S}static#o(S,y){const m=S.getBoundingClientRect(),h=y.getBoundingClientRect();if(0===m.width&&0===m.height)return 1;if(0===h.width&&0===h.height)return-1;const M=m.y+m.height/2,T=h.y+h.height/2;return M<=h.y&&T>=m.y+m.height?-1:T<=m.y&&M>=h.y+h.height?1:m.x+m.width/2-(h.x+h.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(b.#o),this.#n.size>0){const S=this.#t;for(const[y,m]of this.#n)document.getElementById(y)?this.#c(y,S[m]):this.#n.delete(y)}for(const[S,y]of this.#r)this.addPointerInTextLayer(S,y);this.#r.clear()}disable(){this.#e&&(this.#r.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(S){if(!this.#e)return void this.#r.delete(S);const y=this.#t;if(!y||0===y.length)return;const{id:m}=S,h=this.#n.get(m);if(void 0===h)return;const C=y[h];this.#n.delete(m);let v=C.getAttribute("aria-owns");v?.includes(m)&&(v=v.split(" ").filter(M=>M!==m).join(" "),v?C.setAttribute("aria-owns",v):(C.removeAttribute("aria-owns"),C.setAttribute("role","presentation")))}#c(S,y){const m=y.getAttribute("aria-owns");m?.includes(S)||y.setAttribute("aria-owns",m?`${m} ${S}`:S),y.removeAttribute("role")}addPointerInTextLayer(S,y){const{id:m}=S;if(!m)return;if(!this.#e)return void this.#r.set(S,y);y&&this.removePointerInTextLayer(S);const h=this.#t;if(!h||0===h.length)return;const C=(0,g.binarySearchFirstItem)(h,M=>b.#o(S,M)<0),v=Math.max(0,C-1);this.#c(m,h[v]),this.#n.set(m,v)}moveElementInDOM(S,y,m,h){if(this.addPointerInTextLayer(m,h),!S.hasChildNodes())return void S.append(y);const C=Array.from(S.childNodes).filter(E=>E!==y);if(0===C.length)return;const v=m||y,M=(0,g.binarySearchFirstItem)(C,E=>b.#o(v,E)<0);0===M?C[0].before(y):C[M-1].after(y)}}c.TextAccessibilityManager=b},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFRenderingQueue=void 0;var g=l(3),b=l(7);c.PDFRenderingQueue=class S{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(m){this.pdfViewer=m}setThumbnailViewer(m){this.pdfThumbnailViewer=m}isHighestPriority(m){return this.highestPriorityPage===m.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(m){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(m)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(m,h,C,v=!1){const M=m.views,E=M.length;if(0===E)return null;for(let P=0;PE){const P=m.ids;for(let L=1,x=T-A;L{this.renderHighestPriority()}).catch(h=>{h instanceof g.RenderingCancelledException||console.error(`renderView: "${h}"`)})}return!0}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.TextHighlighter=void 0,c.TextHighlighter=class l{constructor({findController:b,eventBus:p,pageIndex:S}){this.findController=b,this.matches=[],this.eventBus=p,this.pageIdx=S,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(b,p){this.textDivs=b,this.textContentItemsStr=p}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=b=>{(b.pageIndex===this.pageIdx||-1===b.pageIndex)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(b,p){if(!b)return[];const{textContentItemsStr:S}=this;let y=0,m=0;const h=S.length-1,C=[];for(let v=0,M=b.length;v=m+S[y].length;)m+=S[y].length,y++;y===S.length&&console.error("Could not find a matching mapping");const A={begin:{divIdx:y,offset:E-m}};for(E+=p[v];y!==h&&E>m+S[y].length;)m+=S[y].length,y++;A.end={divIdx:y,offset:E-m},C.push(A)}return C}_renderMatches(b){if(0===b.length)return;const{findController:p,pageIdx:S}=this,{textContentItemsStr:y,textDivs:m}=this,h=S===p.selected.pageIdx,C=p.selected.matchIdx;let M=null;function A(P,L){const x=P.divIdx;return m[x].textContent="",T(x,0,P.offset,L)}function T(P,L,x,V){let F=m[P];if(F.nodeType===Node.TEXT_NODE){const ce=document.createElement("span");F.before(ce),ce.append(F),m[P]=ce,F=ce}const ee=y[P].substring(L,x),X=document.createTextNode(ee);if(V){const ce=document.createElement("span");return ce.className=`${V} appended`,ce.append(X),F.append(ce),V.includes("selected")?ce.offsetLeft:0}return F.append(X),0}let R=C,N=R+1;if(p.state.highlightAll)R=0,N=b.length;else if(!h)return;for(let P=R;P{Object.defineProperty(c,"__esModule",{value:!0}),c.DownloadManager=void 0;var g=l(3);function b(S,y){const m=document.createElement("a");if(!m.click)throw new Error('DownloadManager: "a.click()" is not supported.');m.href=S,m.target="_parent","download"in m&&(m.download=y),(document.body||document.documentElement).append(m),m.click(),m.remove()}c.DownloadManager=class p{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(y,m){(0,g.createValidAbsoluteUrl)(y,"http://example.com")?b(y+"#pdfjs.action=download",m):console.error(`downloadUrl - not a valid URL: ${y}`)}downloadData(y,m,h){b(URL.createObjectURL(new Blob([y],{type:h})),m)}openOrDownloadData(y,m,h){const C=(0,g.isPdfFile)(h),v=C?"application/pdf":"";if(C){let E,M=this._openBlobUrls.get(y);M||(M=URL.createObjectURL(new Blob([m],{type:v})),this._openBlobUrls.set(y,M)),E="?file="+encodeURIComponent(M+"#"+h);try{return window.open(E),!0}catch(A){console.error(`openOrDownloadData: ${A}`),URL.revokeObjectURL(M),this._openBlobUrls.delete(y)}}return this.downloadData(m,h,v),!1}download(y,m,h){b(URL.createObjectURL(y),h)}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.WaitOnType=c.EventBus=c.AutomationEventBus=void 0,c.waitOnEventOrTimeout=function g({target:S,name:y,delay:m=0}){return new Promise(function(h,C){if("object"!=typeof S||!y||"string"!=typeof y||!(Number.isInteger(m)&&m>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function v(T){S instanceof b?S._off(y,M):S.removeEventListener(y,M),A&&clearTimeout(A),h(T)}const M=v.bind(null,l.EVENT);S instanceof b?S._on(y,M):S.addEventListener(y,M);const E=v.bind(null,l.TIMEOUT),A=setTimeout(E,m)})};const l={EVENT:"event",TIMEOUT:"timeout"};c.WaitOnType=l;class b{constructor(){this._listeners=Object.create(null)}on(y,m,h=null){this._on(y,m,{external:!0,once:h?.once})}off(y,m,h=null){this._off(y,m,{external:!0,once:h?.once})}dispatch(y,m){const h=this._listeners[y];if(!h||0===h.length)return;let C;for(const{listener:v,external:M,once:E}of h.slice(0))E&&this._off(y,v),M?(C||=[]).push(v):v(m);if(C){for(const v of C)v(m);C=null}}_on(y,m,h=null){(this._listeners[y]||=[]).push({listener:m,external:!0===h?.external,once:!0===h?.once})}_off(y,m,h=null){const C=this._listeners[y];if(C)for(let v=0,M=C.length;v{Object.defineProperty(c,"__esModule",{value:!0}),c.GenericL10n=void 0,l(21);var g=l(4);const b=document.webL10n;c.GenericL10n=class p{constructor(y){this._lang=y,this._ready=new Promise((m,h)=>{b.setLanguage((0,g.fixupLangCode)(y),()=>{m(b)})})}getLanguage(){var y=this;return n(function*(){return(yield y._ready).getLanguage()})()}getDirection(){var y=this;return n(function*(){return(yield y._ready).getDirection()})()}get(y,m=null,h=(0,g.getL10nFallback)(y,m)){var C=this;return n(function*(){return(yield C._ready).get(y,m,h)})()}translate(y){var m=this;return n(function*(){return(yield m._ready).translate(y)})()}}},()=>{document.webL10n=function(e,c,l){var g={},b="",p="textContent",S="",y={},m="loading",h=!0;function A(ce,Q,ne){Q=Q||function(ae){},ne=ne||function(){};var Y=new XMLHttpRequest;Y.open("GET",ce,h),Y.overrideMimeType&&Y.overrideMimeType("text/plain; charset=utf-8"),Y.onreadystatechange=function(){4==Y.readyState&&(200==Y.status||0===Y.status?Q(Y.responseText):ne())},Y.onerror=ne,Y.ontimeout=ne;try{Y.send(null)}catch{ne()}}function R(ce,Q){ce&&(ce=ce.toLowerCase()),Q=Q||function(){},function N(){g={},b="",S=""}(),S=ce;var ne=function C(){return c.querySelectorAll('link[type="application/l10n"]')}(),Y=ne.length;if(0!==Y){var K,W=0;K=function(){++W>=Y&&(Q(),m="complete")};for(var G=0;G0?(G=re.substring(0,ye),ue=re.substring(ye+1)):(G=re,ue=p),g[G]||(g[G]={}),g[G][ue]=W[re]}ne&&ne()})},Y)}(Ie,be,ie,function(){console.warn(Ie+" not found."),console.warn('"'+be+'" resource not found'),S="",ie()})}}}function L(ce,Q,ne){var Y=g[ce];if(!Y){if(console.warn("#"+ce+" is undefined."),!ne)return null;Y=ne}var H={};for(var ae in Y){var J=Y[ae];J=V(J=x(J,Q,ce,ae),Q,ce),H[ae]=J}return H}function x(ce,Q,ne,Y){var ae=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(ce);if(!ae||!ae.length)return ce;var W,J=ae[1],K=ae[2];return Q&&K in Q?W=Q[K]:K in g&&(W=g[K]),J in y&&(ce=(0,y[J])(ce,W,ne,Y)),ce}function V(ce,Q,ne){return ce.replace(/\{\{\s*(.+?)\s*\}\}/g,function(H,ae){return Q&&ae in Q?Q[ae]:ae in g?g[ae]:(console.log("argument {{"+ae+"}} for #"+ne+" is undefined."),H)})}function F(ce){var Q=function E(ce){if(!ce)return{};var Q=ce.getAttribute("data-l10n-id"),ne=ce.getAttribute("data-l10n-args"),Y={};if(ne)try{Y=JSON.parse(ne)}catch{console.warn("could not parse arguments for #"+Q)}return{id:Q,args:Y}}(ce);if(Q.id){var ne=L(Q.id,Q.args);if(!ne)return void console.warn("#"+Q.id+" is undefined.");if(ne[p]){if(0===function ee(ce){if(ce.children)return ce.children.length;if(typeof ce.childElementCount<"u")return ce.childElementCount;for(var Q=0,ne=0;ne0&&(H=ce.substring(Y+1),ce=ce.substring(0,Y)),ne&&((ae={})[H]=ne);var J=L(ce,Q,ae);return J&&H in J?J[H]:"{{"+ce+"}}"},getData:function(){return g},getText:function(){return b},getLanguage:function(){return S},setLanguage:function(ce,Q){R(ce,function(){Q&&Q()})},getDirection:function(){var Q=S.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(Q)>=0?"rtl":"ltr"},translate:function X(ce){for(var Q=function M(ce){return ce?ce.querySelectorAll("*[data-l10n-id]"):[]}(ce=ce||c.documentElement),ne=Q.length,Y=0;Y{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFFindController=c.FindState=void 0;var g=l(7),b=l(3),p=l(23);const S={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};c.FindState=S;const C={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},v=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),M=[...v.values()].map(ce=>String.fromCharCode(ce)).join(""),E=new RegExp("\\p{M}+","gu"),A=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),T=new RegExp("([^\\p{M}])\\p{M}*$","u"),R=new RegExp("^\\p{M}*([^\\p{M}])","u"),N=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,P=new Map;let x=null,V=null;function F(ce){const Q=[];let ne,Y;for(;null!==(ne=N.exec(ce));){let{index:Ie}=ne;for(const be of ne[0]){let ie=P.get(be);ie||(ie=be.normalize("NFD").length,P.set(be,ie)),Q.push([ie,Ie++])}}if(0===Q.length&&x)Y=x;else if(Q.length>0&&V)Y=V;else{const be=`([${Object.keys(C).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;Y=0===Q.length?x=new RegExp(be+"|(\\u0000)","gum"):V=new RegExp(be+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const H=[];for(;null!==(ne=E.exec(ce));)H.push([ne[0].length,ne.index]);let ae=ce.normalize("NFD");const J=[[0,0]];let K=0,W=0,re=0,G=0,ue=0,ye=!1;return ae=ae.replace(Y,(Ie,be,ie,De,ze,qe,nt)=>{if(nt-=G,be){const ft=C[Ie],rt=ft.length;for(let mt=1;mtK[0]>=Y);ce[ae][0]>Y&&--ae;let J=(0,g.binarySearchFirstItem)(ce,K=>K[0]>=H,ae);return ce[J][0]>H&&--J,[Y+ce[ae][1],ne+ce[J][1]-ce[ae][1]]}c.PDFFindController=class X{constructor({linkService:Q,eventBus:ne}){this._linkService=Q,this._eventBus=ne,this.#t(),ne._on("find",this.#e.bind(this)),ne._on("findbarclose",this.#_.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(Q){this._pdfDocument&&this.#t(),Q&&(this._pdfDocument=Q,this._firstPageCapability.resolve())}#e(Q){if(!Q)return;const ne=this._pdfDocument,{type:Y}=Q;(null===this._state||this.#r(Q))&&(this._dirtyMatch=!0),this._state=Q,"highlightallchange"!==Y&&this.#d(S.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||ne&&this._pdfDocument!==ne)return;this.#h();const H=!this._highlightMatches,ae=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),Y?this._dirtyMatch?this.#s():"again"===Y?(this.#s(),H&&this._state.highlightAll&&this.#l()):"highlightallchange"===Y?(ae?this.#s():this._highlightMatches=!0,this.#l()):this.#s():this._findTimeout=setTimeout(()=>{this.#s(),this._findTimeout=null},250)})}scrollMatchIntoView({element:Q=null,selectedLeft:ne=0,pageIndex:Y=-1,matchIndex:H=-1}){this._scrollMatches&&Q&&-1!==H&&H===this._selected.matchIdx&&-1!==Y&&Y===this._selected.pageIdx&&(this._scrollMatches=!1,(0,g.scrollIntoView)(Q,{top:-50,left:ne+-400},!0))}#t(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,b.createPromiseCapability)()}get#n(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=F(this._state.query)),this._normalizedQuery}#r(Q){if(Q.query!==this._state.query)return!0;switch(Q.type){case"again":const ne=this._selected.pageIdx+1,Y=this._linkService;return ne>=1&&ne<=Y.pagesCount&&ne!==Y.page&&!Y.isPageVisible(ne);case"highlightallchange":return!1}return!0}#o(Q,ne,Y){let H=Q.slice(0,ne).match(T);if(H){const ae=Q.charCodeAt(ne),J=H[1].charCodeAt(0);if((0,p.getCharacterType)(ae)===(0,p.getCharacterType)(J))return!1}if(H=Q.slice(ne+Y).match(R),H){const ae=Q.charCodeAt(ne+Y-1),J=H[1].charCodeAt(0);if((0,p.getCharacterType)(ae)===(0,p.getCharacterType)(J))return!1}return!0}#c(Q,ne,Y,H){const ae=[],J=[],K=this._pageDiffs[Y];let W;for(;null!==(W=Q.exec(H));){if(ne&&!this.#o(H,W.index,W[0].length))continue;const[re,G]=ee(K,W.index,W[0].length);G&&(ae.push(re),J.push(G))}this._pageMatches[Y]=ae,this._pageMatchesLength[Y]=J}#a(Q,ne){const{matchDiacritics:Y}=this._state;let H=!1;return(Q=Q.replace(A,(J,K,W,re,G,ue)=>K?`[ ]*\\${K}[ ]*`:W?`[ ]*${W}[ ]*`:re?"[ ]+":Y?G||ue:G?v.has(G.charCodeAt(0))?G:"":ne?(H=!0,`${ue}\\p{M}*`):ue)).endsWith("[ ]*")&&(Q=Q.slice(0,Q.length-4)),Y&&ne&&(H=!0,Q=`${Q}(?=[${M}]|[^\\p{M}]|$)`),[H,Q]}#i(Q){let ne=this.#n;if(0===ne.length)return;const{caseSensitive:Y,entireWord:H,phraseSearch:ae}=this._state,J=this._pageContents[Q],K=this._hasDiacritics[Q];let W=!1;if(ae)[W,ne]=this.#a(ne,K);else{const ue=ne.match(/\S+/g);ue&&(ne=ue.sort().reverse().map(ye=>{const[Ie,be]=this.#a(ye,K);return W||=Ie,`(${be})`}).join("|"))}ne=new RegExp(ne,`g${W?"u":""}${Y?"":"i"}`),this.#c(ne,H,Q,J),this._state.highlightAll&&this.#u(Q),this._resumePageIdx===Q&&(this._resumePageIdx=null,this.#f());const G=this._pageMatches[Q].length;G>0&&(this._matchesCountTotal+=G,this.#y())}#h(){if(this._extractTextPromises.length>0)return;let Q=Promise.resolve();for(let ne=0,Y=this._linkService.pagesCount;nethis._pdfDocument.getPage(ne+1).then(ae=>ae.getTextContent()).then(ae=>{const J=[];for(const K of ae.items)J.push(K.str),K.hasEOL&&J.push("\n");[this._pageContents[ne],this._pageDiffs[ne],this._hasDiacritics[ne]]=F(J.join("")),H.resolve()},ae=>{console.error(`Unable to get text content for page ${ne+1}`,ae),this._pageContents[ne]="",this._pageDiffs[ne]=null,this._hasDiacritics[ne]=!1,H.resolve()}))}}#u(Q){this._scrollMatches&&this._selected.pageIdx===Q&&(this._linkService.page=Q+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:Q})}#l(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#s(){const Q=this._state.findPrevious,ne=this._linkService.page-1,Y=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=ne,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this.#l();for(let ae=0;ae{this._pendingFindMatches.delete(ae),this.#i(ae)}))}if(""===this.#n)return void this.#d(S.FOUND);if(this._resumePageIdx)return;const H=this._offset;if(this._pagesToSearch=Y,null!==H.matchIdx){if(!Q&&H.matchIdx+10)return H.matchIdx=Q?H.matchIdx-1:H.matchIdx+1,void this.#p(!0);this.#v(Q)}this.#f()}#g(Q){const ne=this._offset,Y=Q.length,H=this._state.findPrevious;return Y?(ne.matchIdx=H?Y-1:0,this.#p(!0),!0):(this.#v(H),!!(ne.wrapped&&(ne.matchIdx=null,this._pagesToSearch<0))&&(this.#p(!1),!0))}#f(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let Q=null;do{const ne=this._offset.pageIdx;if(Q=this._pageMatches[ne],!Q){this._resumePageIdx=ne;break}}while(!this.#g(Q))}#v(Q){const ne=this._offset,Y=this._linkService.pagesCount;ne.pageIdx=Q?ne.pageIdx-1:ne.pageIdx+1,ne.matchIdx=null,this._pagesToSearch--,(ne.pageIdx>=Y||ne.pageIdx<0)&&(ne.pageIdx=Q?Y-1:0,ne.wrapped=!0)}#p(Q=!1){let ne=S.NOT_FOUND;const Y=this._offset.wrapped;if(this._offset.wrapped=!1,Q){const H=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,ne=Y?S.WRAPPED:S.FOUND,-1!==H&&H!==this._selected.pageIdx&&this.#u(H)}this.#d(ne,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#u(this._selected.pageIdx))}#_(Q){const ne=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||ne&&this._pdfDocument!==ne||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#d(S.FOUND),this._highlightMatches=!1,this.#l())})}#S(){const{pageIdx:Q,matchIdx:ne}=this._selected;let Y=0,H=this._matchesCountTotal;if(-1!==ne){for(let ae=0;aeH)&&(Y=H=0),{current:Y,total:H}}#y(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#S()})}#d(Q,ne=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:Q,previous:ne,matchesCount:this.#S(),rawQuery:this._state?.query??null})}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.CharacterType=void 0,c.getCharacterType=function E(A){return function g(A){return A<11904}(A)?function b(A){return 0==(65408&A)}(A)?function y(A){return 32===A||9===A||13===A||10===A}(A)?l.SPACE:function p(A){return A>=97&&A<=122||A>=65&&A<=90}(A)||function S(A){return A>=48&&A<=57}(A)||95===A?l.ALPHA_LETTER:l.PUNCT:function M(A){return 3584==(65408&A)}(A)?l.THAI_LETTER:160===A?l.SPACE:l.ALPHA_LETTER:function m(A){return A>=13312&&A<=40959||A>=63744&&A<=64255}(A)?l.HAN_LETTER:function h(A){return A>=12448&&A<=12543}(A)?l.KATAKANA_LETTER:function C(A){return A>=12352&&A<=12447}(A)?l.HIRAGANA_LETTER:function v(A){return A>=65376&&A<=65439}(A)?l.HALFWIDTH_KATAKANA_LETTER:l.ALPHA_LETTER};const l={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};c.CharacterType=l},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFHistory=void 0,c.isDestArraysEqual=v,c.isDestHashesEqual=C;var g=l(7),b=l(19);function m(){return document.location.hash}function C(M,E){return"string"==typeof M&&"string"==typeof E&&(M===E||(0,g.parseQueryString)(M).get("nameddest")===E)}function v(M,E){function A(T,R){if(typeof T!=typeof R||Array.isArray(T)||Array.isArray(R))return!1;if(null!==T&&"object"==typeof T&&null!==R){if(Object.keys(T).length!==Object.keys(R).length)return!1;for(const N in T)if(!A(T[N],R[N]))return!1;return!0}return T===R||Number.isNaN(T)&&Number.isNaN(R)}if(!Array.isArray(M)||!Array.isArray(E)||M.length!==E.length)return!1;for(let T=0,R=M.length;T{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",T=>{this._isPagesLoaded=!!T.pagesCount},{once:!0})})}initialize({fingerprint:E,resetHistory:A=!1,updateUrl:T=!1}){if(!E||"string"!=typeof E)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const R=""!==this._fingerprint&&this._fingerprint!==E;this._fingerprint=E,this._updateUrl=!0===T,this._initialized=!0,this._bindEvents();const N=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=m(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(N,!0)||A){const{hash:L,page:x,rotation:V}=this._parseCurrentHash(!0);return!L||R||A?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:L,page:x,rotation:V},!0)}const P=N.destination;this._updateInternalState(P,N.uid,!0),void 0!==P.rotation&&(this._initialRotation=P.rotation),P.dest?(this._initialBookmark=JSON.stringify(P.dest),this._destination.page=null):P.hash?this._initialBookmark=P.hash:P.page&&(this._initialBookmark=`page=${P.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:E=null,explicitDest:A,pageNumber:T}){if(!this._initialized)return;if(E&&"string"!=typeof E)return void console.error(`PDFHistory.push: "${E}" is not a valid namedDest parameter.`);if(!Array.isArray(A))return void console.error(`PDFHistory.push: "${A}" is not a valid explicitDest parameter.`);if(!this._isValidPage(T)&&(null!==T||this._destination))return void console.error(`PDFHistory.push: "${T}" is not a valid pageNumber parameter.`);const R=E||JSON.stringify(A);if(!R)return;let N=!1;if(this._destination&&(C(this._destination.hash,R)||v(this._destination.dest,A))){if(this._destination.page)return;N=!0}this._popStateInProgress&&!N||(this._pushOrReplaceState({dest:A,hash:R,page:T,rotation:this.linkService.rotation},N),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(E){if(this._initialized){if(!this._isValidPage(E))return void console.error(`PDFHistory.pushPage: "${E}" is not a valid page number.`);this._destination?.page!==E&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${E}`,page:E,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const E=window.history.state;this._isValidState(E)&&E.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const E=window.history.state;this._isValidState(E)&&E.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(E,A=!1){const T=A||!this._destination,R={fingerprint:this._fingerprint,uid:T?this._uid:this._uid+1,destination:E};let N;if(this._updateInternalState(E,R.uid),this._updateUrl&&E?.hash){const P=document.location.href.split("#")[0];P.startsWith("file://")||(N=`${P}#${E.hash}`)}T?window.history.replaceState(R,"",N):window.history.pushState(R,"",N)}_tryPushCurrentPosition(E=!1){if(!this._position)return;let A=this._position;if(E&&(A=Object.assign(Object.create(null),this._position),A.temporary=!0),!this._destination)return void this._pushOrReplaceState(A);if(this._destination.temporary)return void this._pushOrReplaceState(A,!0);if(this._destination.hash===A.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let T=!1;if(this._destination.page>=A.first&&this._destination.page<=A.page){if(void 0!==this._destination.dest||!this._destination.first)return;T=!0}this._pushOrReplaceState(A,T)}_isValidPage(E){return Number.isInteger(E)&&E>0&&E<=this.linkService.pagesCount}_isValidState(E,A=!1){if(!E)return!1;if(E.fingerprint!==this._fingerprint){if(!A)return!1;{if("string"!=typeof E.fingerprint||E.fingerprint.length!==this._fingerprint.length)return!1;const[T]=performance.getEntriesByType("navigation");if("reload"!==T?.type)return!1}}return!(!Number.isInteger(E.uid)||E.uid<0||null===E.destination||"object"!=typeof E.destination)}_updateInternalState(E,A,T=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),T&&E?.temporary&&delete E.temporary,this._destination=E,this._uid=A,this._maxUid=Math.max(this._maxUid,A),this._numPositionUpdates=0}_parseCurrentHash(E=!1){const A=unescape(m()).substring(1),T=(0,g.parseQueryString)(A),R=T.get("nameddest")||"";let N=0|T.get("page");return(!this._isValidPage(N)||E&&R.length>0)&&(N=null),{hash:A,page:N,rotation:this.linkService.rotation}}_updateViewarea({location:E}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:E.pdfOpenParams.substring(1),page:this.linkService.page,first:E.pageNumber,rotation:E.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},1e3))}_popState({state:E}){const A=m(),T=this._currentHash!==A;if(this._currentHash=A,!E){this._uid++;const{hash:N,page:P,rotation:L}=this._parseCurrentHash();return void this._pushOrReplaceState({hash:N,page:P,rotation:L},!0)}if(!this._isValidState(E))return;this._popStateInProgress=!0,T&&(this._blockHashChange++,(0,b.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const R=E.destination;this._updateInternalState(R,E.uid,!0),(0,g.isValidRotation)(R.rotation)&&(this.linkService.rotation=R.rotation),R.dest?this.linkService.goToDestination(R.dest):R.hash?this.linkService.setHash(R.hash):R.page&&(this.linkService.page=R.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFScriptingManager=void 0;var g=l(7),b=l(3);c.PDFScriptingManager=class p{constructor({eventBus:y,sandboxBundleSrc:m=null,scriptingFactory:h=null,docPropertiesLookup:C=null}){this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=y,this._sandboxBundleSrc=m,this._scriptingFactory=h,this._docPropertiesLookup=C,this._scriptingFactory||window.addEventListener("updatefromsandbox",v=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:v.detail})})}setViewer(y){this._pdfViewer=y}setDocument(y){var m=this;return n(function*(){if(m._pdfDocument&&(yield m._destroyScripting()),m._pdfDocument=y,!y)return;const[h,C,v]=yield Promise.all([y.getFieldObjects(),y.getCalculationOrderIds(),y.getJSActions()]);if(h||v){if(y===m._pdfDocument){try{m._scripting=m._createScripting()}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield m._destroyScripting())}m._internalEvents.set("updatefromsandbox",M=>{M?.source===window&&m._updateFromSandbox(M.detail)}),m._internalEvents.set("dispatcheventinsandbox",M=>{m._scripting?.dispatchEventInSandbox(M.detail)}),m._internalEvents.set("pagechanging",({pageNumber:M,previous:E})=>{M!==E&&(m._dispatchPageClose(E),m._dispatchPageOpen(M))}),m._internalEvents.set("pagerendered",({pageNumber:M})=>{m._pageOpenPending.has(M)&&M===m._pdfViewer.currentPageNumber&&m._dispatchPageOpen(M)}),m._internalEvents.set("pagesdestroy",function(){var M=n(function*(E){yield m._dispatchPageClose(m._pdfViewer.currentPageNumber),yield m._scripting?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),m._closeCapability?.resolve()});return function(E){return M.apply(this,arguments)}}()),m._domEvents.set("mousedown",M=>{m._mouseState.isDown=!0}),m._domEvents.set("mouseup",M=>{m._mouseState.isDown=!1});for(const[M,E]of m._internalEvents)m._eventBus._on(M,E);for(const[M,E]of m._domEvents)window.addEventListener(M,E,!0);try{const M=yield m._getDocProperties();if(y!==m._pdfDocument)return;yield m._scripting.createSandbox({objects:h,calculationOrder:C,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...M,actions:v}}),m._eventBus.dispatch("sandboxcreated",{source:m})}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield m._destroyScripting())}yield m._scripting?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield m._dispatchPageOpen(m._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{y===m._pdfDocument&&(m._ready=!0)})}}else yield m._destroyScripting()})()}dispatchWillSave(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"WillPrint"})})()}dispatchDidPrint(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get mouseState(){return this._mouseState}get destroyPromise(){return this._destroyCapability?.promise||null}get ready(){return this._ready}get _internalEvents(){return(0,b.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,b.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,b.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,b.shadow)(this,"_visitedPages",new Map)}_updateFromSandbox(y){var m=this;return n(function*(){const h=m._pdfViewer.isInPresentationMode||m._pdfViewer.isChangingPresentationMode,{id:C,siblings:v,command:M,value:E}=y;if(!C){switch(M){case"clear":console.clear();break;case"error":console.error(E);break;case"layout":if(h)return;const T=(0,g.apiPageLayoutToViewerModes)(E);m._pdfViewer.spreadMode=T.spreadMode;break;case"page-num":m._pdfViewer.currentPageNumber=E+1;break;case"print":yield m._pdfViewer.pagesPromise,m._eventBus.dispatch("print",{source:m});break;case"println":console.log(E);break;case"zoom":if(h)return;m._pdfViewer.currentScaleValue=E;break;case"SaveAs":m._eventBus.dispatch("download",{source:m});break;case"FirstPage":m._pdfViewer.currentPageNumber=1;break;case"LastPage":m._pdfViewer.currentPageNumber=m._pdfViewer.pagesCount;break;case"NextPage":m._pdfViewer.nextPage();break;case"PrevPage":m._pdfViewer.previousPage();break;case"ZoomViewIn":if(h)return;m._pdfViewer.increaseScale();break;case"ZoomViewOut":if(h)return;m._pdfViewer.decreaseScale()}return}if(h&&y.focus)return;delete y.id,delete y.siblings;const A=v?[C,...v]:[C];for(const T of A){const R=document.querySelector(`[data-element-id="${T}"]`);R?R.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:y})):m._pdfDocument?.annotationStorage.setValue(T,y)}})()}_dispatchPageOpen(y,m=!1){var h=this;return n(function*(){const C=h._pdfDocument,v=h._visitedPages;if(m&&(h._closeCapability=(0,b.createPromiseCapability)()),!h._closeCapability)return;const M=h._pdfViewer.getPageView(y-1);if(M?.renderingState!==g.RenderingStates.FINISHED)return void h._pageOpenPending.add(y);h._pageOpenPending.delete(y);const E=n(function*(){const A=yield v.has(y)?null:M.pdfPage?.getJSActions();C===h._pdfDocument&&(yield h._scripting?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:y,actions:A}))})();v.set(y,E)})()}_dispatchPageClose(y){var m=this;return n(function*(){const h=m._pdfDocument,C=m._visitedPages;if(!m._closeCapability||m._pageOpenPending.has(y))return;const v=C.get(y);v&&(C.set(y,null),yield v,h===m._pdfDocument&&(yield m._scripting?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:y})))})()}_getDocProperties(){var y=this;return n(function*(){if(y._docPropertiesLookup)return y._docPropertiesLookup(y._pdfDocument);const{docPropertiesLookup:m}=l(26);return m(y._pdfDocument)})()}_createScripting(){if(this._destroyCapability=(0,b.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:y}=l(26);return new y(this._sandboxBundleSrc)}_destroyScripting(){var y=this;return n(function*(){if(!y._scripting)return y._pdfDocument=null,void y._destroyCapability?.resolve();y._closeCapability&&(yield Promise.race([y._closeCapability.promise,new Promise(m=>{setTimeout(m,1e3)})]).catch(m=>{}),y._closeCapability=null),y._pdfDocument=null;try{yield y._scripting.destroySandbox()}catch{}for(const[m,h]of y._internalEvents)y._eventBus._off(m,h);y._internalEvents.clear();for(const[m,h]of y._domEvents)window.removeEventListener(m,h,!0);y._domEvents.clear(),y._pageOpenPending.clear(),y._visitedPages.clear(),y._scripting=null,delete y._mouseState.isDown,y._ready=!1,y._destroyCapability?.resolve()})()}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.GenericScripting=void 0,c.docPropertiesLookup=function b(y){return p.apply(this,arguments)};var g=l(3);function p(){return(p=n(function*(y){const h="".split("#")[0];let{info:C,metadata:v,contentDispositionFilename:M,contentLength:E}=yield y.getMetadata();if(!E){const{length:A}=yield y.getDownloadInfo();E=A}return{...C,baseURL:h,filesize:E,filename:M||(0,g.getPdfFilenameFromUrl)(""),metadata:v?.getRaw(),authors:v?.get("dc:creator"),numPages:y.numPages,URL:""}})).apply(this,arguments)}c.GenericScripting=class S{constructor(m){this._ready=(0,g.loadScript)(m,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}createSandbox(m){var h=this;return n(function*(){(yield h._ready).create(m)})()}dispatchEventInSandbox(m){var h=this;return n(function*(){const C=yield h._ready;setTimeout(()=>C.dispatchEvent(m),0)})()}destroySandbox(){var m=this;return n(function*(){(yield m._ready).nukeSandbox()})()}}}],d={};function u(e){var c=d[e];if(void 0!==c)return c.exports;var l=d[e]={exports:{}};return i[e](l,l.exports,u),l.exports}var a={};return(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return p.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return c.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return c.DefaultStructTreeLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return c.DefaultTextLayerFactory}}),Object.defineProperty(e,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return c.DefaultXfaLayerFactory}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return S.DownloadManager}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return y.EventBus}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return m.GenericL10n}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return l.LinkTarget}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return h.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return C.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return v.PDFHistory}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return l.PDFLinkService}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return M.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return E.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return b.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return b.PDFViewer}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return g.ProgressBar}}),Object.defineProperty(e,"RenderingStates",{enumerable:!0,get:function(){return g.RenderingStates}}),Object.defineProperty(e,"ScrollMode",{enumerable:!0,get:function(){return g.ScrollMode}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return l.SimpleLinkService}}),Object.defineProperty(e,"SpreadMode",{enumerable:!0,get:function(){return g.SpreadMode}}),Object.defineProperty(e,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return A.StructTreeLayerBuilder}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return T.TextLayerBuilder}}),Object.defineProperty(e,"XfaLayerBuilder",{enumerable:!0,get:function(){return R.XfaLayerBuilder}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return g.parseQueryString}});var c=u(1),l=u(6),g=u(7),b=u(11),p=u(5),S=u(18),y=u(19),m=u(20),h=u(4),C=u(22),v=u(24),M=u(13),E=u(25),A=u(8),T=u(9),R=u(10)})(),a})()},80103:function(ve,f,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(_i,xi,qr,ar){void 0===ar&&(ar=qr),Object.defineProperty(_i,ar,{enumerable:!0,get:function(){return xi[qr]}})}:function(_i,xi,qr,ar){void 0===ar&&(ar=qr),_i[ar]=xi[qr]}),i=this&&this.__exportStar||function(_i,xi){for(var qr in _i)"default"!==qr&&!Object.prototype.hasOwnProperty.call(xi,qr)&&n(xi,_i,qr)};Object.defineProperty(f,"__esModule",{value:!0}),f.interval=f.iif=f.generate=f.fromEventPattern=f.fromEvent=f.from=f.forkJoin=f.empty=f.defer=f.connectable=f.concat=f.combineLatest=f.bindNodeCallback=f.bindCallback=f.UnsubscriptionError=f.TimeoutError=f.SequenceError=f.ObjectUnsubscribedError=f.NotFoundError=f.EmptyError=f.ArgumentOutOfRangeError=f.firstValueFrom=f.lastValueFrom=f.isObservable=f.identity=f.noop=f.pipe=f.NotificationKind=f.Notification=f.Subscriber=f.Subscription=f.Scheduler=f.VirtualAction=f.VirtualTimeScheduler=f.animationFrameScheduler=f.animationFrame=f.queueScheduler=f.queue=f.asyncScheduler=f.async=f.asapScheduler=f.asap=f.AsyncSubject=f.ReplaySubject=f.BehaviorSubject=f.Subject=f.animationFrames=f.observable=f.ConnectableObservable=f.Observable=void 0,f.filter=f.expand=f.exhaustMap=f.exhaustAll=f.exhaust=f.every=f.endWith=f.elementAt=f.distinctUntilKeyChanged=f.distinctUntilChanged=f.distinct=f.dematerialize=f.delayWhen=f.delay=f.defaultIfEmpty=f.debounceTime=f.debounce=f.count=f.connect=f.concatWith=f.concatMapTo=f.concatMap=f.concatAll=f.combineLatestWith=f.combineLatestAll=f.combineAll=f.catchError=f.bufferWhen=f.bufferToggle=f.bufferTime=f.bufferCount=f.buffer=f.auditTime=f.audit=f.config=f.NEVER=f.EMPTY=f.scheduled=f.zip=f.using=f.timer=f.throwError=f.range=f.race=f.partition=f.pairs=f.onErrorResumeNext=f.of=f.never=f.merge=void 0,f.switchMap=f.switchAll=f.subscribeOn=f.startWith=f.skipWhile=f.skipUntil=f.skipLast=f.skip=f.single=f.shareReplay=f.share=f.sequenceEqual=f.scan=f.sampleTime=f.sample=f.refCount=f.retryWhen=f.retry=f.repeatWhen=f.repeat=f.reduce=f.raceWith=f.publishReplay=f.publishLast=f.publishBehavior=f.publish=f.pluck=f.pairwise=f.onErrorResumeNextWith=f.observeOn=f.multicast=f.min=f.mergeWith=f.mergeScan=f.mergeMapTo=f.mergeMap=f.flatMap=f.mergeAll=f.max=f.materialize=f.mapTo=f.map=f.last=f.isEmpty=f.ignoreElements=f.groupBy=f.first=f.findIndex=f.find=f.finalize=void 0,f.zipWith=f.zipAll=f.withLatestFrom=f.windowWhen=f.windowToggle=f.windowTime=f.windowCount=f.window=f.toArray=f.timestamp=f.timeoutWith=f.timeout=f.timeInterval=f.throwIfEmpty=f.throttleTime=f.throttle=f.tap=f.takeWhile=f.takeUntil=f.takeLast=f.take=f.switchScan=f.switchMapTo=void 0;var d=o(15448);Object.defineProperty(f,"Observable",{enumerable:!0,get:function(){return d.Observable}});var u=o(42416);Object.defineProperty(f,"ConnectableObservable",{enumerable:!0,get:function(){return u.ConnectableObservable}});var a=o(72064);Object.defineProperty(f,"observable",{enumerable:!0,get:function(){return a.observable}});var e=o(72444);Object.defineProperty(f,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var c=o(90120);Object.defineProperty(f,"Subject",{enumerable:!0,get:function(){return c.Subject}});var l=o(60488);Object.defineProperty(f,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var g=o(38640);Object.defineProperty(f,"ReplaySubject",{enumerable:!0,get:function(){return g.ReplaySubject}});var b=o(70408);Object.defineProperty(f,"AsyncSubject",{enumerable:!0,get:function(){return b.AsyncSubject}});var p=o(24860);Object.defineProperty(f,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(f,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var S=o(69252);Object.defineProperty(f,"async",{enumerable:!0,get:function(){return S.async}}),Object.defineProperty(f,"asyncScheduler",{enumerable:!0,get:function(){return S.asyncScheduler}});var y=o(72056);Object.defineProperty(f,"queue",{enumerable:!0,get:function(){return y.queue}}),Object.defineProperty(f,"queueScheduler",{enumerable:!0,get:function(){return y.queueScheduler}});var m=o(70232);Object.defineProperty(f,"animationFrame",{enumerable:!0,get:function(){return m.animationFrame}}),Object.defineProperty(f,"animationFrameScheduler",{enumerable:!0,get:function(){return m.animationFrameScheduler}});var h=o(45992);Object.defineProperty(f,"VirtualTimeScheduler",{enumerable:!0,get:function(){return h.VirtualTimeScheduler}}),Object.defineProperty(f,"VirtualAction",{enumerable:!0,get:function(){return h.VirtualAction}});var C=o(25784);Object.defineProperty(f,"Scheduler",{enumerable:!0,get:function(){return C.Scheduler}});var v=o(40576);Object.defineProperty(f,"Subscription",{enumerable:!0,get:function(){return v.Subscription}});var M=o(41596);Object.defineProperty(f,"Subscriber",{enumerable:!0,get:function(){return M.Subscriber}});var E=o(12032);Object.defineProperty(f,"Notification",{enumerable:!0,get:function(){return E.Notification}}),Object.defineProperty(f,"NotificationKind",{enumerable:!0,get:function(){return E.NotificationKind}});var A=o(19512);Object.defineProperty(f,"pipe",{enumerable:!0,get:function(){return A.pipe}});var T=o(48320);Object.defineProperty(f,"noop",{enumerable:!0,get:function(){return T.noop}});var R=o(55184);Object.defineProperty(f,"identity",{enumerable:!0,get:function(){return R.identity}});var N=o(38104);Object.defineProperty(f,"isObservable",{enumerable:!0,get:function(){return N.isObservable}});var P=o(59452);Object.defineProperty(f,"lastValueFrom",{enumerable:!0,get:function(){return P.lastValueFrom}});var L=o(79632);Object.defineProperty(f,"firstValueFrom",{enumerable:!0,get:function(){return L.firstValueFrom}});var x=o(32929);Object.defineProperty(f,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return x.ArgumentOutOfRangeError}});var V=o(51544);Object.defineProperty(f,"EmptyError",{enumerable:!0,get:function(){return V.EmptyError}});var F=o(15496);Object.defineProperty(f,"NotFoundError",{enumerable:!0,get:function(){return F.NotFoundError}});var ee=o(92304);Object.defineProperty(f,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return ee.ObjectUnsubscribedError}});var X=o(71016);Object.defineProperty(f,"SequenceError",{enumerable:!0,get:function(){return X.SequenceError}});var ce=o(20268);Object.defineProperty(f,"TimeoutError",{enumerable:!0,get:function(){return ce.TimeoutError}});var Q=o(9560);Object.defineProperty(f,"UnsubscriptionError",{enumerable:!0,get:function(){return Q.UnsubscriptionError}});var ne=o(1856);Object.defineProperty(f,"bindCallback",{enumerable:!0,get:function(){return ne.bindCallback}});var Y=o(78872);Object.defineProperty(f,"bindNodeCallback",{enumerable:!0,get:function(){return Y.bindNodeCallback}});var H=o(60128);Object.defineProperty(f,"combineLatest",{enumerable:!0,get:function(){return H.combineLatest}});var ae=o(24560);Object.defineProperty(f,"concat",{enumerable:!0,get:function(){return ae.concat}});var J=o(7976);Object.defineProperty(f,"connectable",{enumerable:!0,get:function(){return J.connectable}});var K=o(71896);Object.defineProperty(f,"defer",{enumerable:!0,get:function(){return K.defer}});var W=o(31456);Object.defineProperty(f,"empty",{enumerable:!0,get:function(){return W.empty}});var re=o(93052);Object.defineProperty(f,"forkJoin",{enumerable:!0,get:function(){return re.forkJoin}});var G=o(38485);Object.defineProperty(f,"from",{enumerable:!0,get:function(){return G.from}});var ue=o(85e3);Object.defineProperty(f,"fromEvent",{enumerable:!0,get:function(){return ue.fromEvent}});var ye=o(46744);Object.defineProperty(f,"fromEventPattern",{enumerable:!0,get:function(){return ye.fromEventPattern}});var Ie=o(92560);Object.defineProperty(f,"generate",{enumerable:!0,get:function(){return Ie.generate}});var be=o(46696);Object.defineProperty(f,"iif",{enumerable:!0,get:function(){return be.iif}});var ie=o(2071);Object.defineProperty(f,"interval",{enumerable:!0,get:function(){return ie.interval}});var De=o(14152);Object.defineProperty(f,"merge",{enumerable:!0,get:function(){return De.merge}});var ze=o(15672);Object.defineProperty(f,"never",{enumerable:!0,get:function(){return ze.never}});var qe=o(41536);Object.defineProperty(f,"of",{enumerable:!0,get:function(){return qe.of}});var nt=o(9460);Object.defineProperty(f,"onErrorResumeNext",{enumerable:!0,get:function(){return nt.onErrorResumeNext}});var ft=o(15292);Object.defineProperty(f,"pairs",{enumerable:!0,get:function(){return ft.pairs}});var rt=o(91792);Object.defineProperty(f,"partition",{enumerable:!0,get:function(){return rt.partition}});var mt=o(84048);Object.defineProperty(f,"race",{enumerable:!0,get:function(){return mt.race}});var Wt=o(12384);Object.defineProperty(f,"range",{enumerable:!0,get:function(){return Wt.range}});var bt=o(3312);Object.defineProperty(f,"throwError",{enumerable:!0,get:function(){return bt.throwError}});var Bt=o(34168);Object.defineProperty(f,"timer",{enumerable:!0,get:function(){return Bt.timer}});var an=o(28684);Object.defineProperty(f,"using",{enumerable:!0,get:function(){return an.using}});var hn=o(59172);Object.defineProperty(f,"zip",{enumerable:!0,get:function(){return hn.zip}});var wn=o(44232);Object.defineProperty(f,"scheduled",{enumerable:!0,get:function(){return wn.scheduled}});var An=o(31456);Object.defineProperty(f,"EMPTY",{enumerable:!0,get:function(){return An.EMPTY}});var vn=o(15672);Object.defineProperty(f,"NEVER",{enumerable:!0,get:function(){return vn.NEVER}}),i(o(68828),f);var en=o(90584);Object.defineProperty(f,"config",{enumerable:!0,get:function(){return en.config}});var dt=o(18380);Object.defineProperty(f,"audit",{enumerable:!0,get:function(){return dt.audit}});var Ue=o(1393);Object.defineProperty(f,"auditTime",{enumerable:!0,get:function(){return Ue.auditTime}});var we=o(42744);Object.defineProperty(f,"buffer",{enumerable:!0,get:function(){return we.buffer}});var Pe=o(57864);Object.defineProperty(f,"bufferCount",{enumerable:!0,get:function(){return Pe.bufferCount}});var Ge=o(42704);Object.defineProperty(f,"bufferTime",{enumerable:!0,get:function(){return Ge.bufferTime}});var je=o(21964);Object.defineProperty(f,"bufferToggle",{enumerable:!0,get:function(){return je.bufferToggle}});var ht=o(16323);Object.defineProperty(f,"bufferWhen",{enumerable:!0,get:function(){return ht.bufferWhen}});var He=o(11708);Object.defineProperty(f,"catchError",{enumerable:!0,get:function(){return He.catchError}});var _t=o(25184);Object.defineProperty(f,"combineAll",{enumerable:!0,get:function(){return _t.combineAll}});var lt=o(86576);Object.defineProperty(f,"combineLatestAll",{enumerable:!0,get:function(){return lt.combineLatestAll}});var Et=o(71480);Object.defineProperty(f,"combineLatestWith",{enumerable:!0,get:function(){return Et.combineLatestWith}});var it=o(26608);Object.defineProperty(f,"concatAll",{enumerable:!0,get:function(){return it.concatAll}});var Yt=o(68584);Object.defineProperty(f,"concatMap",{enumerable:!0,get:function(){return Yt.concatMap}});var gt=o(38776);Object.defineProperty(f,"concatMapTo",{enumerable:!0,get:function(){return gt.concatMapTo}});var Tt=o(23332);Object.defineProperty(f,"concatWith",{enumerable:!0,get:function(){return Tt.concatWith}});var Ht=o(59056);Object.defineProperty(f,"connect",{enumerable:!0,get:function(){return Ht.connect}});var Zt=o(95572);Object.defineProperty(f,"count",{enumerable:!0,get:function(){return Zt.count}});var wt=o(42568);Object.defineProperty(f,"debounce",{enumerable:!0,get:function(){return wt.debounce}});var $t=o(86275);Object.defineProperty(f,"debounceTime",{enumerable:!0,get:function(){return $t.debounceTime}});var Ct=o(14707);Object.defineProperty(f,"defaultIfEmpty",{enumerable:!0,get:function(){return Ct.defaultIfEmpty}});var It=o(99592);Object.defineProperty(f,"delay",{enumerable:!0,get:function(){return It.delay}});var tn=o(59304);Object.defineProperty(f,"delayWhen",{enumerable:!0,get:function(){return tn.delayWhen}});var yn=o(84204);Object.defineProperty(f,"dematerialize",{enumerable:!0,get:function(){return yn.dematerialize}});var Tn=o(51256);Object.defineProperty(f,"distinct",{enumerable:!0,get:function(){return Tn.distinct}});var nn=o(21544);Object.defineProperty(f,"distinctUntilChanged",{enumerable:!0,get:function(){return nn.distinctUntilChanged}});var nr=o(61544);Object.defineProperty(f,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return nr.distinctUntilKeyChanged}});var kr=o(51808);Object.defineProperty(f,"elementAt",{enumerable:!0,get:function(){return kr.elementAt}});var Br=o(48568);Object.defineProperty(f,"endWith",{enumerable:!0,get:function(){return Br.endWith}});var sr=o(21592);Object.defineProperty(f,"every",{enumerable:!0,get:function(){return sr.every}});var Mr=o(53704);Object.defineProperty(f,"exhaust",{enumerable:!0,get:function(){return Mr.exhaust}});var yr=o(34288);Object.defineProperty(f,"exhaustAll",{enumerable:!0,get:function(){return yr.exhaustAll}});var qn=o(44632);Object.defineProperty(f,"exhaustMap",{enumerable:!0,get:function(){return qn.exhaustMap}});var Rn=o(84624);Object.defineProperty(f,"expand",{enumerable:!0,get:function(){return Rn.expand}});var oi=o(39840);Object.defineProperty(f,"filter",{enumerable:!0,get:function(){return oi.filter}});var Sr=o(99440);Object.defineProperty(f,"finalize",{enumerable:!0,get:function(){return Sr.finalize}});var pr=o(70939);Object.defineProperty(f,"find",{enumerable:!0,get:function(){return pr.find}});var Jn=o(69496);Object.defineProperty(f,"findIndex",{enumerable:!0,get:function(){return Jn.findIndex}});var er=o(11848);Object.defineProperty(f,"first",{enumerable:!0,get:function(){return er.first}});var Or=o(17909);Object.defineProperty(f,"groupBy",{enumerable:!0,get:function(){return Or.groupBy}});var pi=o(77392);Object.defineProperty(f,"ignoreElements",{enumerable:!0,get:function(){return pi.ignoreElements}});var qt=o(73564);Object.defineProperty(f,"isEmpty",{enumerable:!0,get:function(){return qt.isEmpty}});var jn=o(2696);Object.defineProperty(f,"last",{enumerable:!0,get:function(){return jn.last}});var Qn=o(784);Object.defineProperty(f,"map",{enumerable:!0,get:function(){return Qn.map}});var or=o(89224);Object.defineProperty(f,"mapTo",{enumerable:!0,get:function(){return or.mapTo}});var ui=o(6832);Object.defineProperty(f,"materialize",{enumerable:!0,get:function(){return ui.materialize}});var Ir=o(34808);Object.defineProperty(f,"max",{enumerable:!0,get:function(){return Ir.max}});var at=o(50304);Object.defineProperty(f,"mergeAll",{enumerable:!0,get:function(){return at.mergeAll}});var Ot=o(98924);Object.defineProperty(f,"flatMap",{enumerable:!0,get:function(){return Ot.flatMap}});var Pt=o(33480);Object.defineProperty(f,"mergeMap",{enumerable:!0,get:function(){return Pt.mergeMap}});var rn=o(73232);Object.defineProperty(f,"mergeMapTo",{enumerable:!0,get:function(){return rn.mergeMapTo}});var dn=o(3380);Object.defineProperty(f,"mergeScan",{enumerable:!0,get:function(){return dn.mergeScan}});var En=o(57308);Object.defineProperty(f,"mergeWith",{enumerable:!0,get:function(){return En.mergeWith}});var Mn=o(87832);Object.defineProperty(f,"min",{enumerable:!0,get:function(){return Mn.min}});var Xn=o(66752);Object.defineProperty(f,"multicast",{enumerable:!0,get:function(){return Xn.multicast}});var Yn=o(33752);Object.defineProperty(f,"observeOn",{enumerable:!0,get:function(){return Yn.observeOn}});var Tr=o(19184);Object.defineProperty(f,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Tr.onErrorResumeNextWith}});var Er=o(74612);Object.defineProperty(f,"pairwise",{enumerable:!0,get:function(){return Er.pairwise}});var zn=o(64712);Object.defineProperty(f,"pluck",{enumerable:!0,get:function(){return zn.pluck}});var ur=o(70320);Object.defineProperty(f,"publish",{enumerable:!0,get:function(){return ur.publish}});var Ei=o(40360);Object.defineProperty(f,"publishBehavior",{enumerable:!0,get:function(){return Ei.publishBehavior}});var un=o(64960);Object.defineProperty(f,"publishLast",{enumerable:!0,get:function(){return un.publishLast}});var B=o(23944);Object.defineProperty(f,"publishReplay",{enumerable:!0,get:function(){return B.publishReplay}});var z=o(53424);Object.defineProperty(f,"raceWith",{enumerable:!0,get:function(){return z.raceWith}});var de=o(39980);Object.defineProperty(f,"reduce",{enumerable:!0,get:function(){return de.reduce}});var Fe=o(90532);Object.defineProperty(f,"repeat",{enumerable:!0,get:function(){return Fe.repeat}});var Te=o(15696);Object.defineProperty(f,"repeatWhen",{enumerable:!0,get:function(){return Te.repeatWhen}});var me=o(584);Object.defineProperty(f,"retry",{enumerable:!0,get:function(){return me.retry}});var Ae=o(46856);Object.defineProperty(f,"retryWhen",{enumerable:!0,get:function(){return Ae.retryWhen}});var et=o(60300);Object.defineProperty(f,"refCount",{enumerable:!0,get:function(){return et.refCount}});var pt=o(64968);Object.defineProperty(f,"sample",{enumerable:!0,get:function(){return pt.sample}});var At=o(97792);Object.defineProperty(f,"sampleTime",{enumerable:!0,get:function(){return At.sampleTime}});var Nt=o(17752);Object.defineProperty(f,"scan",{enumerable:!0,get:function(){return Nt.scan}});var Jt=o(43904);Object.defineProperty(f,"sequenceEqual",{enumerable:!0,get:function(){return Jt.sequenceEqual}});var mn=o(95912);Object.defineProperty(f,"share",{enumerable:!0,get:function(){return mn.share}});var _n=o(20468);Object.defineProperty(f,"shareReplay",{enumerable:!0,get:function(){return _n.shareReplay}});var Cn=o(43952);Object.defineProperty(f,"single",{enumerable:!0,get:function(){return Cn.single}});var fn=o(98196);Object.defineProperty(f,"skip",{enumerable:!0,get:function(){return fn.skip}});var Gt=o(47832);Object.defineProperty(f,"skipLast",{enumerable:!0,get:function(){return Gt.skipLast}});var Nn=o(36840);Object.defineProperty(f,"skipUntil",{enumerable:!0,get:function(){return Nn.skipUntil}});var lr=o(49856);Object.defineProperty(f,"skipWhile",{enumerable:!0,get:function(){return lr.skipWhile}});var cr=o(59612);Object.defineProperty(f,"startWith",{enumerable:!0,get:function(){return cr.startWith}});var Nr=o(67992);Object.defineProperty(f,"subscribeOn",{enumerable:!0,get:function(){return Nr.subscribeOn}});var Lr=o(63368);Object.defineProperty(f,"switchAll",{enumerable:!0,get:function(){return Lr.switchAll}});var ct=o(39876);Object.defineProperty(f,"switchMap",{enumerable:!0,get:function(){return ct.switchMap}});var lo=o(57168);Object.defineProperty(f,"switchMapTo",{enumerable:!0,get:function(){return lo.switchMapTo}});var vi=o(19980);Object.defineProperty(f,"switchScan",{enumerable:!0,get:function(){return vi.switchScan}});var _r=o(38120);Object.defineProperty(f,"take",{enumerable:!0,get:function(){return _r.take}});var Pn=o(32224);Object.defineProperty(f,"takeLast",{enumerable:!0,get:function(){return Pn.takeLast}});var Gn=o(91540);Object.defineProperty(f,"takeUntil",{enumerable:!0,get:function(){return Gn.takeUntil}});var si=o(35408);Object.defineProperty(f,"takeWhile",{enumerable:!0,get:function(){return si.takeWhile}});var Pr=o(46748);Object.defineProperty(f,"tap",{enumerable:!0,get:function(){return Pr.tap}});var ai=o(66720);Object.defineProperty(f,"throttle",{enumerable:!0,get:function(){return ai.throttle}});var Fn=o(44236);Object.defineProperty(f,"throttleTime",{enumerable:!0,get:function(){return Fn.throttleTime}});var ti=o(51056);Object.defineProperty(f,"throwIfEmpty",{enumerable:!0,get:function(){return ti.throwIfEmpty}});var Xr=o(39500);Object.defineProperty(f,"timeInterval",{enumerable:!0,get:function(){return Xr.timeInterval}});var Zr=o(20268);Object.defineProperty(f,"timeout",{enumerable:!0,get:function(){return Zr.timeout}});var Vi=o(88536);Object.defineProperty(f,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var hr=o(37248);Object.defineProperty(f,"timestamp",{enumerable:!0,get:function(){return hr.timestamp}});var Yi=o(29316);Object.defineProperty(f,"toArray",{enumerable:!0,get:function(){return Yi.toArray}});var ko=o(40560);Object.defineProperty(f,"window",{enumerable:!0,get:function(){return ko.window}});var go=o(79068);Object.defineProperty(f,"windowCount",{enumerable:!0,get:function(){return go.windowCount}});var Jr=o(11984);Object.defineProperty(f,"windowTime",{enumerable:!0,get:function(){return Jr.windowTime}});var zi=o(97776);Object.defineProperty(f,"windowToggle",{enumerable:!0,get:function(){return zi.windowToggle}});var qi=o(36872);Object.defineProperty(f,"windowWhen",{enumerable:!0,get:function(){return qi.windowWhen}});var ro=o(95780);Object.defineProperty(f,"withLatestFrom",{enumerable:!0,get:function(){return ro.withLatestFrom}});var Rr=o(71120);Object.defineProperty(f,"zipAll",{enumerable:!0,get:function(){return Rr.zipAll}});var mo=o(56824);Object.defineProperty(f,"zipWith",{enumerable:!0,get:function(){return mo.zipWith}})},70408:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsyncSubject=void 0;var d=function(u){function a(){var e=null!==u&&u.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(a,u),a.prototype._checkFinalizedStatuses=function(e){var c=this,g=c._hasValue,b=c._value,S=c.isStopped,y=c._isComplete;c.hasError?e.error(c.thrownError):(S||y)&&(g&&e.next(b),e.complete())},a.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},a.prototype.complete=function(){var e=this,c=e._hasValue,l=e._value;e._isComplete||(this._isComplete=!0,c&&u.prototype.next.call(this,l),u.prototype.complete.call(this))},a}(o(90120).Subject);f.AsyncSubject=d},60488:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.BehaviorSubject=void 0;var d=function(u){function a(e){var c=u.call(this)||this;return c._value=e,c}return n(a,u),Object.defineProperty(a.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),a.prototype._subscribe=function(e){var c=u.prototype._subscribe.call(this,e);return!c.closed&&e.next(this._value),c},a.prototype.getValue=function(){var e=this,g=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),g},a.prototype.next=function(e){u.prototype.next.call(this,this._value=e)},a}(o(90120).Subject);f.BehaviorSubject=d},12032:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.observeNotification=f.Notification=f.NotificationKind=void 0;var l,n=o(31456),i=o(41536),d=o(3312),u=o(82360);(l=f.NotificationKind||(f.NotificationKind={})).NEXT="N",l.ERROR="E",l.COMPLETE="C";var e=function(){function l(g,b,p){this.kind=g,this.value=b,this.error=p,this.hasValue="N"===g}return l.prototype.observe=function(g){return c(this,g)},l.prototype.do=function(g,b,p){var S=this,y=S.kind,m=S.value,h=S.error;return"N"===y?g?.(m):"E"===y?b?.(h):p?.()},l.prototype.accept=function(g,b,p){var S;return u.isFunction(null===(S=g)||void 0===S?void 0:S.next)?this.observe(g):this.do(g,b,p)},l.prototype.toObservable=function(){var g=this,b=g.kind,S=g.error,y="N"===b?i.of(g.value):"E"===b?d.throwError(function(){return S}):"C"===b?n.EMPTY:0;if(!y)throw new TypeError("Unexpected notification kind "+b);return y},l.createNext=function(g){return new l("N",g)},l.createError=function(g){return new l("E",void 0,g)},l.createComplete=function(){return l.completeNotification},l.completeNotification=new l("C"),l}();function c(l,g){var b,p,S,m=l.kind,h=l.value,C=l.error;if("string"!=typeof m)throw new TypeError('Invalid notification, missing "kind"');"N"===m?null===(b=g.next)||void 0===b||b.call(g,h):"E"===m?null===(p=g.error)||void 0===p||p.call(g,C):null===(S=g.complete)||void 0===S||S.call(g)}f.Notification=e,f.observeNotification=c},62640:(ve,f)=>{"use strict";function i(d,u,a){return{kind:d,value:u,error:a}}Object.defineProperty(f,"__esModule",{value:!0}),f.createNotification=f.nextNotification=f.errorNotification=f.COMPLETE_NOTIFICATION=void 0,f.COMPLETE_NOTIFICATION=i("C",void 0,void 0),f.errorNotification=function o(d){return i("E",void 0,d)},f.nextNotification=function n(d){return i("N",d,void 0)},f.createNotification=i},15448:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Observable=void 0;var n=o(41596),i=o(40576),d=o(72064),u=o(19512),a=o(90584),e=o(82360),c=o(49664),l=function(){function S(y){y&&(this._subscribe=y)}return S.prototype.lift=function(y){var m=new S;return m.source=this,m.operator=y,m},S.prototype.subscribe=function(y,m,h){var C=this,v=function p(S){return S&&S instanceof n.Subscriber||function b(S){return S&&e.isFunction(S.next)&&e.isFunction(S.error)&&e.isFunction(S.complete)}(S)&&i.isSubscription(S)}(y)?y:new n.SafeSubscriber(y,m,h);return c.errorContext(function(){var E=C.operator,A=C.source;v.add(E?E.call(v,A):A?C._subscribe(v):C._trySubscribe(v))}),v},S.prototype._trySubscribe=function(y){try{return this._subscribe(y)}catch(m){y.error(m)}},S.prototype.forEach=function(y,m){var h=this;return new(m=g(m))(function(C,v){var M=new n.SafeSubscriber({next:function(E){try{y(E)}catch(A){v(A),M.unsubscribe()}},error:v,complete:C});h.subscribe(M)})},S.prototype._subscribe=function(y){var m;return null===(m=this.source)||void 0===m?void 0:m.subscribe(y)},S.prototype[d.observable]=function(){return this},S.prototype.pipe=function(){for(var y=[],m=0;m{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Scheduler=void 0;var n=o(8764),i=function(){function d(u,a){void 0===a&&(a=d.now),this.schedulerActionCtor=u,this.now=a}return d.prototype.schedule=function(u,a,e){return void 0===a&&(a=0),new this.schedulerActionCtor(this,u).schedule(e,a)},d.now=n.dateTimestampProvider.now,d}();f.Scheduler=i},90120:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var b=function(p,S){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,m){y.__proto__=m}||function(y,m){for(var h in m)Object.prototype.hasOwnProperty.call(m,h)&&(y[h]=m[h])})(p,S)};return function(p,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function y(){this.constructor=p}b(p,S),p.prototype=null===S?Object.create(S):(y.prototype=S.prototype,new y)}}(),i=this&&this.__values||function(b){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&b[p],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.AnonymousSubject=f.Subject=void 0;var d=o(15448),u=o(40576),a=o(92304),e=o(39852),c=o(49664),l=function(b){function p(){var S=b.call(this)||this;return S.closed=!1,S.currentObservers=null,S.observers=[],S.isStopped=!1,S.hasError=!1,S.thrownError=null,S}return n(p,b),p.prototype.lift=function(S){var y=new g(this,this);return y.operator=S,y},p.prototype._throwIfClosed=function(){if(this.closed)throw new a.ObjectUnsubscribedError},p.prototype.next=function(S){var y=this;c.errorContext(function(){var m,h;if(y._throwIfClosed(),!y.isStopped){y.currentObservers||(y.currentObservers=Array.from(y.observers));try{for(var C=i(y.currentObservers),v=C.next();!v.done;v=C.next())v.value.next(S)}catch(E){m={error:E}}finally{try{v&&!v.done&&(h=C.return)&&h.call(C)}finally{if(m)throw m.error}}}})},p.prototype.error=function(S){var y=this;c.errorContext(function(){if(y._throwIfClosed(),!y.isStopped){y.hasError=y.isStopped=!0,y.thrownError=S;for(var m=y.observers;m.length;)m.shift().error(S)}})},p.prototype.complete=function(){var S=this;c.errorContext(function(){if(S._throwIfClosed(),!S.isStopped){S.isStopped=!0;for(var y=S.observers;y.length;)y.shift().complete()}})},p.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(p.prototype,"observed",{get:function(){var S;return(null===(S=this.observers)||void 0===S?void 0:S.length)>0},enumerable:!1,configurable:!0}),p.prototype._trySubscribe=function(S){return this._throwIfClosed(),b.prototype._trySubscribe.call(this,S)},p.prototype._subscribe=function(S){return this._throwIfClosed(),this._checkFinalizedStatuses(S),this._innerSubscribe(S)},p.prototype._innerSubscribe=function(S){var y=this,m=this,v=m.observers;return m.hasError||m.isStopped?u.EMPTY_SUBSCRIPTION:(this.currentObservers=null,v.push(S),new u.Subscription(function(){y.currentObservers=null,e.arrRemove(v,S)}))},p.prototype._checkFinalizedStatuses=function(S){var y=this,C=y.isStopped;y.hasError?S.error(y.thrownError):C&&S.complete()},p.prototype.asObservable=function(){var S=new d.Observable;return S.source=this,S},p.create=function(S,y){return new g(S,y)},p}(d.Observable);f.Subject=l;var g=function(b){function p(S,y){var m=b.call(this)||this;return m.destination=S,m.source=y,m}return n(p,b),p.prototype.next=function(S){var y,m;null===(m=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===m||m.call(y,S)},p.prototype.error=function(S){var y,m;null===(m=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===m||m.call(y,S)},p.prototype.complete=function(){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===y||y.call(S)},p.prototype._subscribe=function(S){var y,m;return null!==(m=null===(y=this.source)||void 0===y?void 0:y.subscribe(S))&&void 0!==m?m:u.EMPTY_SUBSCRIPTION},p}(l);f.AnonymousSubject=g},41596:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var M=function(E,A){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,R){T.__proto__=R}||function(T,R){for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(T[N]=R[N])})(E,A)};return function(E,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function T(){this.constructor=E}M(E,A),E.prototype=null===A?Object.create(A):(T.prototype=A.prototype,new T)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.EMPTY_OBSERVER=f.SafeSubscriber=f.Subscriber=void 0;var i=o(82360),d=o(40576),u=o(90584),a=o(50131),e=o(48320),c=o(62640),l=o(82480),g=o(49664),b=function(M){function E(A){var T=M.call(this)||this;return T.isStopped=!1,A?(T.destination=A,d.isSubscription(A)&&A.add(T)):T.destination=f.EMPTY_OBSERVER,T}return n(E,M),E.create=function(A,T,R){return new m(A,T,R)},E.prototype.next=function(A){this.isStopped?v(c.nextNotification(A),this):this._next(A)},E.prototype.error=function(A){this.isStopped?v(c.errorNotification(A),this):(this.isStopped=!0,this._error(A))},E.prototype.complete=function(){this.isStopped?v(c.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},E.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,M.prototype.unsubscribe.call(this),this.destination=null)},E.prototype._next=function(A){this.destination.next(A)},E.prototype._error=function(A){try{this.destination.error(A)}finally{this.unsubscribe()}},E.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},E}(d.Subscription);f.Subscriber=b;var p=Function.prototype.bind;function S(M,E){return p.call(M,E)}var y=function(){function M(E){this.partialObserver=E}return M.prototype.next=function(E){var A=this.partialObserver;if(A.next)try{A.next(E)}catch(T){h(T)}},M.prototype.error=function(E){var A=this.partialObserver;if(A.error)try{A.error(E)}catch(T){h(T)}else h(E)},M.prototype.complete=function(){var E=this.partialObserver;if(E.complete)try{E.complete()}catch(A){h(A)}},M}(),m=function(M){function E(A,T,R){var P,L,N=M.call(this)||this;return i.isFunction(A)||!A?P={next:A??void 0,error:T??void 0,complete:R??void 0}:N&&u.config.useDeprecatedNextContext?((L=Object.create(A)).unsubscribe=function(){return N.unsubscribe()},P={next:A.next&&S(A.next,L),error:A.error&&S(A.error,L),complete:A.complete&&S(A.complete,L)}):P=A,N.destination=new y(P),N}return n(E,M),E}(b);function h(M){u.config.useDeprecatedSynchronousErrorHandling?g.captureError(M):a.reportUnhandledError(M)}function v(M,E){var A=u.config.onStoppedNotification;A&&l.timeoutProvider.setTimeout(function(){return A(M,E)})}f.SafeSubscriber=m,f.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function C(M){throw M},complete:e.noop}},40576:function(ve,f,o){"use strict";var n=this&&this.__values||function(b){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&b[p],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(b,p){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===p||p-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},d=this&&this.__spreadArray||function(b,p){for(var S=0,y=p.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.config=void 0,f.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.firstValueFrom=void 0;var n=o(51544),i=o(41596);f.firstValueFrom=function d(u,a){var e="object"==typeof a;return new Promise(function(c,l){var g=new i.SafeSubscriber({next:function(b){c(b),g.unsubscribe()},error:l,complete:function(){e?c(a.defaultValue):l(new n.EmptyError)}});u.subscribe(g)})}},59452:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.lastValueFrom=void 0;var n=o(51544);f.lastValueFrom=function i(d,u){var a="object"==typeof u;return new Promise(function(e,c){var g,l=!1;d.subscribe({next:function(b){g=b,l=!0},error:c,complete:function(){l?e(g):a?e(u.defaultValue):c(new n.EmptyError)}})})}},42416:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var l=function(g,b){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,S){p.__proto__=S}||function(p,S){for(var y in S)Object.prototype.hasOwnProperty.call(S,y)&&(p[y]=S[y])})(g,b)};return function(g,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function p(){this.constructor=g}l(g,b),g.prototype=null===b?Object.create(b):(p.prototype=b.prototype,new p)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.ConnectableObservable=void 0;var i=o(15448),d=o(40576),u=o(60300),a=o(35744),e=o(66080),c=function(l){function g(b,p){var S=l.call(this)||this;return S.source=b,S.subjectFactory=p,S._subject=null,S._refCount=0,S._connection=null,e.hasLift(b)&&(S.lift=b.lift),S}return n(g,l),g.prototype._subscribe=function(b){return this.getSubject().subscribe(b)},g.prototype.getSubject=function(){var b=this._subject;return(!b||b.isStopped)&&(this._subject=this.subjectFactory()),this._subject},g.prototype._teardown=function(){this._refCount=0;var b=this._connection;this._subject=this._connection=null,b?.unsubscribe()},g.prototype.connect=function(){var b=this,p=this._connection;if(!p){p=this._connection=new d.Subscription;var S=this.getSubject();p.add(this.source.subscribe(a.createOperatorSubscriber(S,void 0,function(){b._teardown(),S.complete()},function(y){b._teardown(),S.error(y)},function(){return b._teardown()}))),p.closed&&(this._connection=null,p=d.Subscription.EMPTY)}return p},g.prototype.refCount=function(){return u.refCount()(this)},g}(i.Observable);f.ConnectableObservable=c},1856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.bindCallback=void 0;var n=o(98140);f.bindCallback=function i(d,u,a){return n.bindCallbackInternals(!1,d,u,a)}},98140:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,p){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===p||p-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,p){for(var S=0,y=p.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.bindNodeCallback=void 0;var n=o(98140);f.bindNodeCallback=function i(d,u,a){return n.bindCallbackInternals(!0,d,u,a)}},60128:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.combineLatestInit=f.combineLatest=void 0;var n=o(15448),i=o(75352),d=o(38485),u=o(55184),a=o(82664),e=o(69724),c=o(7788),l=o(35744),g=o(61760);function p(y,m,h){return void 0===h&&(h=u.identity),function(C){S(m,function(){for(var v=y.length,M=new Array(v),E=v,A=v,T=function(N){S(m,function(){var P=d.from(y[N],m),L=!1;P.subscribe(l.createOperatorSubscriber(C,function(x){M[N]=x,L||(L=!0,A--),A||C.next(h(M.slice()))},function(){--E||C.complete()}))},C)},R=0;R{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concat=void 0;var n=o(26608),i=o(69724),d=o(38485);f.concat=function u(){for(var a=[],e=0;e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.connectable=void 0;var n=o(90120),i=o(15448),d=o(71896),u={connector:function(){return new n.Subject},resetOnDisconnect:!0};f.connectable=function a(e,c){void 0===c&&(c=u);var l=null,g=c.connector,b=c.resetOnDisconnect,p=void 0===b||b,S=g(),y=new i.Observable(function(m){return S.subscribe(m)});return y.connect=function(){return(!l||l.closed)&&(l=d.defer(function(){return e}).subscribe(S),p&&l.add(function(){return S=g()})),l},y}},71896:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.defer=void 0;var n=o(15448),i=o(81280);f.defer=function d(u){return new n.Observable(function(a){i.innerFrom(u()).subscribe(a)})}},72444:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.animationFrames=void 0;var n=o(15448),i=o(68424),d=o(24352);function a(c){return new n.Observable(function(l){var g=c||i.performanceTimestampProvider,b=g.now(),p=0,S=function(){l.closed||(p=d.animationFrameProvider.requestAnimationFrame(function(y){p=0;var m=g.now();l.next({timestamp:c?m:y,elapsed:m-b}),S()}))};return S(),function(){p&&d.animationFrameProvider.cancelAnimationFrame(p)}})}f.animationFrames=function u(c){return c?a(c):e};var e=a()},31456:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.empty=f.EMPTY=void 0;var n=o(15448);f.EMPTY=new n.Observable(function(u){return u.complete()}),f.empty=function i(u){return u?function d(u){return new n.Observable(function(a){return u.schedule(function(){return a.complete()})})}(u):f.EMPTY}},93052:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forkJoin=void 0;var n=o(15448),i=o(75352),d=o(81280),u=o(69724),a=o(35744),e=o(82664),c=o(7788);f.forkJoin=function l(){for(var g=[],b=0;b{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.from=void 0;var n=o(44232),i=o(81280);f.from=function d(u,a){return a?n.scheduled(u,a):i.innerFrom(u)}},85e3:function(ve,f,o){"use strict";var n=this&&this.__read||function(C,v){var M="function"==typeof Symbol&&C[Symbol.iterator];if(!M)return C;var A,R,E=M.call(C),T=[];try{for(;(void 0===v||v-- >0)&&!(A=E.next()).done;)T.push(A.value)}catch(N){R={error:N}}finally{try{A&&!A.done&&(M=E.return)&&M.call(E)}finally{if(R)throw R.error}}return T};Object.defineProperty(f,"__esModule",{value:!0}),f.fromEvent=void 0;var i=o(81280),d=o(15448),u=o(33480),a=o(18224),e=o(82360),c=o(82664),l=["addListener","removeListener"],g=["addEventListener","removeEventListener"],b=["on","off"];function S(C,v){return function(M){return function(E){return C[M](v,E)}}}f.fromEvent=function p(C,v,M,E){if(e.isFunction(M)&&(E=M,M=void 0),E)return p(C,v,M).pipe(c.mapOneOrManyArgs(E));var A=n(function h(C){return e.isFunction(C.addEventListener)&&e.isFunction(C.removeEventListener)}(C)?g.map(function(N){return function(P){return C[N](v,P,M)}}):function y(C){return e.isFunction(C.addListener)&&e.isFunction(C.removeListener)}(C)?l.map(S(C,v)):function m(C){return e.isFunction(C.on)&&e.isFunction(C.off)}(C)?b.map(S(C,v)):[],2),T=A[0],R=A[1];if(!T&&a.isArrayLike(C))return u.mergeMap(function(N){return p(N,v,M)})(i.innerFrom(C));if(!T)throw new TypeError("Invalid event target");return new d.Observable(function(N){var P=function(){for(var L=[],x=0;x{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.fromEventPattern=void 0;var n=o(15448),i=o(82360),d=o(82664);f.fromEventPattern=function u(a,e,c){return c?u(a,e).pipe(d.mapOneOrManyArgs(c)):new n.Observable(function(l){var g=function(){for(var p=[],S=0;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.fromSubscribable=void 0;var n=o(15448);f.fromSubscribable=function i(d){return new n.Observable(function(u){return d.subscribe(u)})}},92560:function(ve,f,o){"use strict";var n=this&&this.__generator||function(c,l){var b,p,S,y,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return y={next:m(0),throw:m(1),return:m(2)},"function"==typeof Symbol&&(y[Symbol.iterator]=function(){return this}),y;function m(C){return function(v){return function h(C){if(b)throw new TypeError("Generator is already executing.");for(;g;)try{if(b=1,p&&(S=2&C[0]?p.return:C[0]?p.throw||((S=p.return)&&S.call(p),0):p.next)&&!(S=S.call(p,C[1])).done)return S;switch(p=0,S&&(C=[2&C[0],S.value]),C[0]){case 0:case 1:S=C;break;case 4:return g.label++,{value:C[1],done:!1};case 5:g.label++,p=C[1],C=[0];continue;case 7:C=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===C[0]||2===C[0])){g=0;continue}if(3===C[0]&&(!S||C[1]>S[0]&&C[1]{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.iif=void 0;var n=o(71896);f.iif=function i(d,u,a){return n.defer(function(){return d()?u:a})}},81280:function(ve,f,o){"use strict";var n=this&&this.__awaiter||function(P,L,x,V){return new(x||(x=Promise))(function(ee,X){function ce(Y){try{ne(V.next(Y))}catch(H){X(H)}}function Q(Y){try{ne(V.throw(Y))}catch(H){X(H)}}function ne(Y){Y.done?ee(Y.value):function F(ee){return ee instanceof x?ee:new x(function(X){X(ee)})}(Y.value).then(ce,Q)}ne((V=V.apply(P,L||[])).next())})},i=this&&this.__generator||function(P,L){var V,F,ee,X,x={label:0,sent:function(){if(1&ee[0])throw ee[1];return ee[1]},trys:[],ops:[]};return X={next:ce(0),throw:ce(1),return:ce(2)},"function"==typeof Symbol&&(X[Symbol.iterator]=function(){return this}),X;function ce(ne){return function(Y){return function Q(ne){if(V)throw new TypeError("Generator is already executing.");for(;x;)try{if(V=1,F&&(ee=2&ne[0]?F.return:ne[0]?F.throw||((ee=F.return)&&ee.call(F),0):F.next)&&!(ee=ee.call(F,ne[1])).done)return ee;switch(F=0,ee&&(ne=[2&ne[0],ee.value]),ne[0]){case 0:case 1:ee=ne;break;case 4:return x.label++,{value:ne[1],done:!1};case 5:x.label++,F=ne[1],ne=[0];continue;case 7:ne=x.ops.pop(),x.trys.pop();continue;default:if(!(ee=(ee=x.trys).length>0&&ee[ee.length-1])&&(6===ne[0]||2===ne[0])){x=0;continue}if(3===ne[0]&&(!ee||ne[1]>ee[0]&&ne[1]=P.length&&(P=void 0),{value:P&&P[V++],done:!P}}};throw new TypeError(L?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.fromReadableStreamLike=f.fromAsyncIterable=f.fromIterable=f.fromPromise=f.fromArrayLike=f.fromInteropObservable=f.innerFrom=void 0;var a=o(18224),e=o(28296),c=o(15448),l=o(18440),g=o(37156),b=o(34088),p=o(30640),S=o(11416),y=o(82360),m=o(50131),h=o(72064);function v(P){return new c.Observable(function(L){var x=P[h.observable]();if(y.isFunction(x.subscribe))return x.subscribe(L);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function M(P){return new c.Observable(function(L){for(var x=0;x{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.interval=void 0;var n=o(69252),i=o(34168);f.interval=function d(u,a){return void 0===u&&(u=0),void 0===a&&(a=n.asyncScheduler),u<0&&(u=0),i.timer(u,u,a)}},14152:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.merge=void 0;var n=o(50304),i=o(81280),d=o(31456),u=o(69724),a=o(38485);f.merge=function e(){for(var c=[],l=0;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.never=f.NEVER=void 0;var n=o(15448),i=o(48320);f.NEVER=new n.Observable(i.noop),f.never=function d(){return f.NEVER}},41536:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.of=void 0;var n=o(69724),i=o(38485);f.of=function d(){for(var u=[],a=0;a{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.onErrorResumeNext=void 0;var n=o(15448),i=o(50652),d=o(35744),u=o(48320),a=o(81280);f.onErrorResumeNext=function e(){for(var c=[],l=0;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pairs=void 0;var n=o(38485);f.pairs=function i(d,u){return n.from(Object.entries(d),u)}},91792:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.partition=void 0;var n=o(37700),i=o(39840),d=o(81280);f.partition=function u(a,e,c){return[i.filter(e,c)(d.innerFrom(a)),i.filter(n.not(e,c))(d.innerFrom(a))]}},84048:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.raceInit=f.race=void 0;var n=o(15448),i=o(81280),d=o(50652),u=o(35744);function e(c){return function(l){for(var g=[],b=function(S){g.push(i.innerFrom(c[S]).subscribe(u.createOperatorSubscriber(l,function(y){if(g){for(var m=0;m{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.range=void 0;var n=o(15448),i=o(31456);f.range=function d(u,a,e){if(null==a&&(a=u,u=0),a<=0)return i.EMPTY;var c=a+u;return new n.Observable(e?function(l){var g=u;return e.schedule(function(){g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwError=void 0;var n=o(15448),i=o(82360);f.throwError=function d(u,a){var e=i.isFunction(u)?u:function(){return u},c=function(l){return l.error(e())};return new n.Observable(a?function(l){return a.schedule(c,0,l)}:c)}},34168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timer=void 0;var n=o(15448),i=o(69252),d=o(76964),u=o(42384);f.timer=function a(e,c,l){void 0===e&&(e=0),void 0===l&&(l=i.async);var g=-1;return null!=c&&(d.isScheduler(c)?l=c:g=c),new n.Observable(function(b){var p=u.isValidDate(e)?+e-l.now():e;p<0&&(p=0);var S=0;return l.schedule(function(){b.closed||(b.next(S++),0<=g?this.schedule(void 0,g):b.complete())},p)})}},28684:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.using=void 0;var n=o(15448),i=o(81280),d=o(31456);f.using=function u(a,e){return new n.Observable(function(c){var l=a(),g=e(l);return(g?i.innerFrom(g):d.EMPTY).subscribe(c),function(){l&&l.unsubscribe()}})}},59172:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,p){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===p||p-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,p){for(var S=0,y=p.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.audit=void 0;var n=o(66080),i=o(81280),d=o(35744);f.audit=function u(a){return n.operate(function(e,c){var l=!1,g=null,b=null,p=!1,S=function(){if(b?.unsubscribe(),b=null,l){l=!1;var m=g;g=null,c.next(m)}p&&c.complete()},y=function(){b=null,p&&c.complete()};e.subscribe(d.createOperatorSubscriber(c,function(m){l=!0,g=m,b||i.innerFrom(a(m)).subscribe(b=d.createOperatorSubscriber(c,S,y))},function(){p=!0,(!l||!b||b.closed)&&c.complete()}))})}},1393:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.auditTime=void 0;var n=o(69252),i=o(18380),d=o(34168);f.auditTime=function u(a,e){return void 0===e&&(e=n.asyncScheduler),i.audit(function(){return d.timer(a,e)})}},42744:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.buffer=void 0;var n=o(66080),i=o(48320),d=o(35744),u=o(81280);f.buffer=function a(e){return n.operate(function(c,l){var g=[];return c.subscribe(d.createOperatorSubscriber(l,function(b){return g.push(b)},function(){l.next(g),l.complete()})),u.innerFrom(e).subscribe(d.createOperatorSubscriber(l,function(){var b=g;g=[],l.next(b)},i.noop)),function(){g=null}})}},57864:function(ve,f,o){"use strict";var n=this&&this.__values||function(e){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&e[c],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.bufferCount=void 0;var i=o(66080),d=o(35744),u=o(39852);f.bufferCount=function a(e,c){return void 0===c&&(c=null),c=c??e,i.operate(function(l,g){var b=[],p=0;l.subscribe(d.createOperatorSubscriber(g,function(S){var y,m,h,C,v=null;p++%c==0&&b.push([]);try{for(var M=n(b),E=M.next();!E.done;E=M.next())(A=E.value).push(S),e<=A.length&&(v=v??[]).push(A)}catch(N){y={error:N}}finally{try{E&&!E.done&&(m=M.return)&&m.call(M)}finally{if(y)throw y.error}}if(v)try{for(var T=n(v),R=T.next();!R.done;R=T.next()){var A;u.arrRemove(b,A=R.value),g.next(A)}}catch(N){h={error:N}}finally{try{R&&!R.done&&(C=T.return)&&C.call(T)}finally{if(h)throw h.error}}},function(){var S,y;try{for(var m=n(b),h=m.next();!h.done;h=m.next())g.next(h.value)}catch(v){S={error:v}}finally{try{h&&!h.done&&(y=m.return)&&y.call(m)}finally{if(S)throw S.error}}g.complete()},void 0,function(){b=null}))})}},42704:function(ve,f,o){"use strict";var n=this&&this.__values||function(b){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&b[p],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.bufferTime=void 0;var i=o(40576),d=o(66080),u=o(35744),a=o(39852),e=o(69252),c=o(69724),l=o(61760);f.bufferTime=function g(b){for(var p,S,y=[],m=1;m=0?l.executeSchedule(E,h,N,C,!0):T=!0,N();var P=u.createOperatorSubscriber(E,function(L){var x,V,F=A.slice();try{for(var ee=n(F),X=ee.next();!X.done;X=ee.next()){var ce=X.value,Q=ce.buffer;Q.push(L),v<=Q.length&&R(ce)}}catch(ne){x={error:ne}}finally{try{X&&!X.done&&(V=ee.return)&&V.call(ee)}finally{if(x)throw x.error}}},function(){for(;A?.length;)E.next(A.shift().buffer);P?.unsubscribe(),E.complete(),E.unsubscribe()},void 0,function(){return A=null});M.subscribe(P)})}},21964:function(ve,f,o){"use strict";var n=this&&this.__values||function(g){var b="function"==typeof Symbol&&Symbol.iterator,p=b&&g[b],S=0;if(p)return p.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&S>=g.length&&(g=void 0),{value:g&&g[S++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.bufferToggle=void 0;var i=o(40576),d=o(66080),u=o(81280),a=o(35744),e=o(48320),c=o(39852);f.bufferToggle=function l(g,b){return d.operate(function(p,S){var y=[];u.innerFrom(g).subscribe(a.createOperatorSubscriber(S,function(m){var h=[];y.push(h);var C=new i.Subscription;C.add(u.innerFrom(b(m)).subscribe(a.createOperatorSubscriber(S,function(){c.arrRemove(y,h),S.next(h),C.unsubscribe()},e.noop)))},e.noop)),p.subscribe(a.createOperatorSubscriber(S,function(m){var h,C;try{for(var v=n(y),M=v.next();!M.done;M=v.next())M.value.push(m)}catch(A){h={error:A}}finally{try{M&&!M.done&&(C=v.return)&&C.call(v)}finally{if(h)throw h.error}}},function(){for(;y.length>0;)S.next(y.shift());S.complete()}))})}},16323:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.bufferWhen=void 0;var n=o(66080),i=o(48320),d=o(35744),u=o(81280);f.bufferWhen=function a(e){return n.operate(function(c,l){var g=null,b=null,p=function(){b?.unsubscribe();var S=g;g=[],S&&l.next(S),u.innerFrom(e()).subscribe(b=d.createOperatorSubscriber(l,p,i.noop))};p(),c.subscribe(d.createOperatorSubscriber(l,function(S){return g?.push(S)},function(){g&&l.next(g),l.complete()},void 0,function(){return g=b=null}))})}},11708:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.catchError=void 0;var n=o(81280),i=o(35744),d=o(66080);f.catchError=function u(a){return d.operate(function(e,c){var b,l=null,g=!1;l=e.subscribe(i.createOperatorSubscriber(c,void 0,void 0,function(p){b=n.innerFrom(a(p,u(a)(e))),l?(l.unsubscribe(),l=null,b.subscribe(c)):g=!0})),g&&(l.unsubscribe(),l=null,b.subscribe(c))})}},25184:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.combineAll=void 0;var n=o(86576);f.combineAll=n.combineLatestAll},31384:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,p){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===p||p-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,p){for(var S=0,y=p.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.combineLatestAll=void 0;var n=o(60128),i=o(28400);f.combineLatestAll=function d(u){return i.joinAllInternals(n.combineLatest,u)}},71480:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,p,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(p)throw p.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c0)&&!(S=p.next()).done;)y.push(S.value)}catch(h){m={error:h}}finally{try{S&&!S.done&&(b=p.return)&&b.call(p)}finally{if(m)throw m.error}}return y},i=this&&this.__spreadArray||function(l,g){for(var b=0,p=g.length,S=l.length;b{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concatAll=void 0;var n=o(50304);f.concatAll=function i(){return n.mergeAll(1)}},68584:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concatMap=void 0;var n=o(33480),i=o(82360);f.concatMap=function d(u,a){return i.isFunction(a)?n.mergeMap(u,a,1):n.mergeMap(u,1)}},38776:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concatMapTo=void 0;var n=o(68584),i=o(82360);f.concatMapTo=function d(u,a){return i.isFunction(a)?n.concatMap(function(){return u},a):n.concatMap(function(){return u})}},23332:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,p,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(p)throw p.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.connect=void 0;var n=o(90120),i=o(81280),d=o(66080),u=o(28544),a={connector:function(){return new n.Subject}};f.connect=function e(c,l){void 0===l&&(l=a);var g=l.connector;return d.operate(function(b,p){var S=g();i.innerFrom(c(u.fromSubscribable(S))).subscribe(p),p.add(b.subscribe(S))})}},95572:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.count=void 0;var n=o(39980);f.count=function i(d){return n.reduce(function(u,a,e){return!d||d(a,e)?u+1:u},0)}},42568:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.debounce=void 0;var n=o(66080),i=o(48320),d=o(35744),u=o(81280);f.debounce=function a(e){return n.operate(function(c,l){var g=!1,b=null,p=null,S=function(){if(p?.unsubscribe(),p=null,g){g=!1;var y=b;b=null,l.next(y)}};c.subscribe(d.createOperatorSubscriber(l,function(y){p?.unsubscribe(),g=!0,b=y,p=d.createOperatorSubscriber(l,S,i.noop),u.innerFrom(e(y)).subscribe(p)},function(){S(),l.complete()},void 0,function(){b=p=null}))})}},86275:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.debounceTime=void 0;var n=o(69252),i=o(66080),d=o(35744);f.debounceTime=function u(a,e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(c,l){var g=null,b=null,p=null,S=function(){if(g){g.unsubscribe(),g=null;var m=b;b=null,l.next(m)}};function y(){var m=p+a,h=e.now();if(h{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.defaultIfEmpty=void 0;var n=o(66080),i=o(35744);f.defaultIfEmpty=function d(u){return n.operate(function(a,e){var c=!1;a.subscribe(i.createOperatorSubscriber(e,function(l){c=!0,e.next(l)},function(){c||e.next(u),e.complete()}))})}},99592:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.delay=void 0;var n=o(69252),i=o(59304),d=o(34168);f.delay=function u(a,e){void 0===e&&(e=n.asyncScheduler);var c=d.timer(a,e);return i.delayWhen(function(){return c})}},59304:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.delayWhen=void 0;var n=o(24560),i=o(38120),d=o(77392),u=o(89224),a=o(33480),e=o(81280);f.delayWhen=function c(l,g){return g?function(b){return n.concat(g.pipe(i.take(1),d.ignoreElements()),b.pipe(c(l)))}:a.mergeMap(function(b,p){return e.innerFrom(l(b,p)).pipe(i.take(1),u.mapTo(b))})}},84204:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.dematerialize=void 0;var n=o(12032),i=o(66080),d=o(35744);f.dematerialize=function u(){return i.operate(function(a,e){a.subscribe(d.createOperatorSubscriber(e,function(c){return n.observeNotification(c,e)}))})}},51256:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.distinct=void 0;var n=o(66080),i=o(35744),d=o(48320),u=o(81280);f.distinct=function a(e,c){return n.operate(function(l,g){var b=new Set;l.subscribe(i.createOperatorSubscriber(g,function(p){var S=e?e(p):p;b.has(S)||(b.add(S),g.next(p))})),c&&u.innerFrom(c).subscribe(i.createOperatorSubscriber(g,function(){return b.clear()},d.noop))})}},21544:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.distinctUntilChanged=void 0;var n=o(55184),i=o(66080),d=o(35744);function a(e,c){return e===c}f.distinctUntilChanged=function u(e,c){return void 0===c&&(c=n.identity),e=e??a,i.operate(function(l,g){var b,p=!0;l.subscribe(d.createOperatorSubscriber(g,function(S){var y=c(S);(p||!e(b,y))&&(p=!1,b=y,g.next(S))}))})}},61544:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.distinctUntilKeyChanged=void 0;var n=o(21544);f.distinctUntilKeyChanged=function i(d,u){return n.distinctUntilChanged(function(a,e){return u?u(a[d],e[d]):a[d]===e[d]})}},51808:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.elementAt=void 0;var n=o(32929),i=o(39840),d=o(51056),u=o(14707),a=o(38120);f.elementAt=function e(c,l){if(c<0)throw new n.ArgumentOutOfRangeError;var g=arguments.length>=2;return function(b){return b.pipe(i.filter(function(p,S){return S===c}),a.take(1),g?u.defaultIfEmpty(l):d.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(ve,f,o){"use strict";var n=this&&this.__read||function(e,c){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var b,S,g=l.call(e),p=[];try{for(;(void 0===c||c-- >0)&&!(b=g.next()).done;)p.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.every=void 0;var n=o(66080),i=o(35744);f.every=function d(u,a){return n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){u.call(a,g,l++,e)||(c.next(!1),c.complete())},function(){c.next(!0),c.complete()}))})}},53704:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.exhaust=void 0;var n=o(34288);f.exhaust=n.exhaustAll},34288:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.exhaustAll=void 0;var n=o(44632),i=o(55184);f.exhaustAll=function d(){return n.exhaustMap(i.identity)}},44632:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.exhaustMap=void 0;var n=o(784),i=o(81280),d=o(66080),u=o(35744);f.exhaustMap=function a(e,c){return c?function(l){return l.pipe(a(function(g,b){return i.innerFrom(e(g,b)).pipe(n.map(function(p,S){return c(g,p,b,S)}))}))}:d.operate(function(l,g){var b=0,p=null,S=!1;l.subscribe(u.createOperatorSubscriber(g,function(y){p||(p=u.createOperatorSubscriber(g,void 0,function(){p=null,S&&g.complete()}),i.innerFrom(e(y,b++)).subscribe(p))},function(){S=!0,!p&&g.complete()}))})}},84624:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.expand=void 0;var n=o(66080),i=o(46972);f.expand=function d(u,a,e){return void 0===a&&(a=1/0),a=(a||0)<1?1/0:a,n.operate(function(c,l){return i.mergeInternals(c,l,u,a,void 0,!0,e)})}},39840:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.filter=void 0;var n=o(66080),i=o(35744);f.filter=function d(u,a){return n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){return u.call(a,g,l++)&&c.next(g)}))})}},99440:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.finalize=void 0;var n=o(66080);f.finalize=function i(d){return n.operate(function(u,a){try{u.subscribe(a)}finally{a.add(d)}})}},70939:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createFind=f.find=void 0;var n=o(66080),i=o(35744);function u(a,e,c){var l="index"===c;return function(g,b){var p=0;g.subscribe(i.createOperatorSubscriber(b,function(S){var y=p++;a.call(e,S,y,g)&&(b.next(l?y:S),b.complete())},function(){b.next(l?-1:void 0),b.complete()}))}}f.find=function d(a,e){return n.operate(u(a,e,"value"))},f.createFind=u},69496:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.findIndex=void 0;var n=o(66080),i=o(70939);f.findIndex=function d(u,a){return n.operate(i.createFind(u,a,"index"))}},11848:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.first=void 0;var n=o(51544),i=o(39840),d=o(38120),u=o(14707),a=o(51056),e=o(55184);f.first=function c(l,g){var b=arguments.length>=2;return function(p){return p.pipe(l?i.filter(function(S,y){return l(S,y,p)}):e.identity,d.take(1),b?u.defaultIfEmpty(g):a.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.flatMap=void 0;var n=o(33480);f.flatMap=n.mergeMap},17909:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.groupBy=void 0;var n=o(15448),i=o(81280),d=o(90120),u=o(66080),a=o(35744);f.groupBy=function e(c,l,g,b){return u.operate(function(p,S){var y;l&&"function"!=typeof l?(g=l.duration,y=l.element,b=l.connector):y=l;var m=new Map,h=function(T){m.forEach(T),T(S)},C=function(T){return h(function(R){return R.error(T)})},v=0,M=!1,E=new a.OperatorSubscriber(S,function(T){try{var R=c(T),N=m.get(R);if(!N){m.set(R,N=b?b():new d.Subject);var P=function A(T,R){var N=new n.Observable(function(P){v++;var L=R.subscribe(P);return function(){L.unsubscribe(),0==--v&&M&&E.unsubscribe()}});return N.key=T,N}(R,N);if(S.next(P),g){var L=a.createOperatorSubscriber(N,function(){N.complete(),L?.unsubscribe()},void 0,void 0,function(){return m.delete(R)});E.add(i.innerFrom(g(P)).subscribe(L))}}N.next(y?y(T):T)}catch(x){C(x)}},function(){return h(function(T){return T.complete()})},C,function(){return m.clear()},function(){return M=!0,0===v});p.subscribe(E)})}},77392:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ignoreElements=void 0;var n=o(66080),i=o(35744),d=o(48320);f.ignoreElements=function u(){return n.operate(function(a,e){a.subscribe(i.createOperatorSubscriber(e,d.noop))})}},73564:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isEmpty=void 0;var n=o(66080),i=o(35744);f.isEmpty=function d(){return n.operate(function(u,a){u.subscribe(i.createOperatorSubscriber(a,function(){a.next(!1),a.complete()},function(){a.next(!0),a.complete()}))})}},28400:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.joinAllInternals=void 0;var n=o(55184),i=o(82664),d=o(19512),u=o(33480),a=o(29316);f.joinAllInternals=function e(c,l){return d.pipe(a.toArray(),u.mergeMap(function(g){return c(g)}),l?i.mapOneOrManyArgs(l):n.identity)}},2696:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.last=void 0;var n=o(51544),i=o(39840),d=o(32224),u=o(51056),a=o(14707),e=o(55184);f.last=function c(l,g){var b=arguments.length>=2;return function(p){return p.pipe(l?i.filter(function(S,y){return l(S,y,p)}):e.identity,d.takeLast(1),b?a.defaultIfEmpty(g):u.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.map=void 0;var n=o(66080),i=o(35744);f.map=function d(u,a){return n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){c.next(u.call(a,g,l++))}))})}},89224:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mapTo=void 0;var n=o(784);f.mapTo=function i(d){return n.map(function(){return d})}},6832:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.materialize=void 0;var n=o(12032),i=o(66080),d=o(35744);f.materialize=function u(){return i.operate(function(a,e){a.subscribe(d.createOperatorSubscriber(e,function(c){e.next(n.Notification.createNext(c))},function(){e.next(n.Notification.createComplete()),e.complete()},function(c){e.next(n.Notification.createError(c)),e.complete()}))})}},34808:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.max=void 0;var n=o(39980),i=o(82360);f.max=function d(u){return n.reduce(i.isFunction(u)?function(a,e){return u(a,e)>0?a:e}:function(a,e){return a>e?a:e})}},38884:function(ve,f,o){"use strict";var n=this&&this.__read||function(g,b){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var y,h,S=p.call(g),m=[];try{for(;(void 0===b||b-- >0)&&!(y=S.next()).done;)m.push(y.value)}catch(C){h={error:C}}finally{try{y&&!y.done&&(p=S.return)&&p.call(S)}finally{if(h)throw h.error}}return m},i=this&&this.__spreadArray||function(g,b){for(var p=0,S=b.length,y=g.length;p{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeAll=void 0;var n=o(33480),i=o(55184);f.mergeAll=function d(u){return void 0===u&&(u=1/0),n.mergeMap(i.identity,u)}},46972:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeInternals=void 0;var n=o(81280),i=o(61760),d=o(35744);f.mergeInternals=function u(a,e,c,l,g,b,p,S){var y=[],m=0,h=0,C=!1,v=function(){C&&!y.length&&!m&&e.complete()},M=function(A){return m{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeMap=void 0;var n=o(784),i=o(81280),d=o(66080),u=o(46972),a=o(82360);f.mergeMap=function e(c,l,g){return void 0===g&&(g=1/0),a.isFunction(l)?e(function(b,p){return n.map(function(S,y){return l(b,S,p,y)})(i.innerFrom(c(b,p)))},g):("number"==typeof l&&(g=l),d.operate(function(b,p){return u.mergeInternals(b,p,c,g)}))}},73232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeMapTo=void 0;var n=o(33480),i=o(82360);f.mergeMapTo=function d(u,a,e){return void 0===e&&(e=1/0),i.isFunction(a)?n.mergeMap(function(){return u},a,e):("number"==typeof a&&(e=a),n.mergeMap(function(){return u},e))}},3380:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeScan=void 0;var n=o(66080),i=o(46972);f.mergeScan=function d(u,a,e){return void 0===e&&(e=1/0),n.operate(function(c,l){var g=a;return i.mergeInternals(c,l,function(b,p){return u(g,b,p)},e,function(b){g=b},!1,void 0,function(){return g=null})})}},57308:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,p,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(p)throw p.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.min=void 0;var n=o(39980),i=o(82360);f.min=function d(u){return n.reduce(i.isFunction(u)?function(a,e){return u(a,e)<0?a:e}:function(a,e){return a{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.multicast=void 0;var n=o(42416),i=o(82360),d=o(59056);f.multicast=function u(a,e){var c=i.isFunction(a)?a:function(){return a};return i.isFunction(e)?d.connect(e,{connector:c}):function(l){return new n.ConnectableObservable(l,c)}}},33752:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.observeOn=void 0;var n=o(61760),i=o(66080),d=o(35744);f.observeOn=function u(a,e){return void 0===e&&(e=0),i.operate(function(c,l){c.subscribe(d.createOperatorSubscriber(l,function(g){return n.executeSchedule(l,a,function(){return l.next(g)},e)},function(){return n.executeSchedule(l,a,function(){return l.complete()},e)},function(g){return n.executeSchedule(l,a,function(){return l.error(g)},e)}))})}},19184:function(ve,f,o){"use strict";var n=this&&this.__read||function(e,c){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var b,S,g=l.call(e),p=[];try{for(;(void 0===c||c-- >0)&&!(b=g.next()).done;)p.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pairwise=void 0;var n=o(66080),i=o(35744);f.pairwise=function d(){return n.operate(function(u,a){var e,c=!1;u.subscribe(i.createOperatorSubscriber(a,function(l){var g=e;e=l,c&&a.next([g,l]),c=!0}))})}},64712:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pluck=void 0;var n=o(784);f.pluck=function i(){for(var d=[],u=0;u{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publish=void 0;var n=o(90120),i=o(66752),d=o(59056);f.publish=function u(a){return a?function(e){return d.connect(a)(e)}:function(e){return i.multicast(new n.Subject)(e)}}},40360:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publishBehavior=void 0;var n=o(60488),i=o(42416);f.publishBehavior=function d(u){return function(a){var e=new n.BehaviorSubject(u);return new i.ConnectableObservable(a,function(){return e})}}},64960:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publishLast=void 0;var n=o(70408),i=o(42416);f.publishLast=function d(){return function(u){var a=new n.AsyncSubject;return new i.ConnectableObservable(u,function(){return a})}}},23944:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publishReplay=void 0;var n=o(38640),i=o(66752),d=o(82360);f.publishReplay=function u(a,e,c,l){c&&!d.isFunction(c)&&(l=c);var g=d.isFunction(c)?c:void 0;return function(b){return i.multicast(new n.ReplaySubject(a,e,l),g)(b)}}},53424:function(ve,f,o){"use strict";var n=this&&this.__read||function(c,l){var g="function"==typeof Symbol&&c[Symbol.iterator];if(!g)return c;var p,y,b=g.call(c),S=[];try{for(;(void 0===l||l-- >0)&&!(p=b.next()).done;)S.push(p.value)}catch(m){y={error:m}}finally{try{p&&!p.done&&(g=b.return)&&g.call(b)}finally{if(y)throw y.error}}return S},i=this&&this.__spreadArray||function(c,l){for(var g=0,b=l.length,p=c.length;g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.reduce=void 0;var n=o(56500),i=o(66080);f.reduce=function d(u,a){return i.operate(n.scanInternals(u,a,arguments.length>=2,!1,!0))}},60300:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.refCount=void 0;var n=o(66080),i=o(35744);f.refCount=function d(){return n.operate(function(u,a){var e=null;u._refCount++;var c=i.createOperatorSubscriber(a,void 0,void 0,void 0,function(){if(!u||u._refCount<=0||0<--u._refCount)e=null;else{var l=u._connection,g=e;e=null,l&&(!g||l===g)&&l.unsubscribe(),a.unsubscribe()}});u.subscribe(c),c.closed||(e=u.connect())})}},90532:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.repeat=void 0;var n=o(31456),i=o(66080),d=o(35744),u=o(81280),a=o(34168);f.repeat=function e(c){var l,b,g=1/0;return null!=c&&("object"==typeof c?(g=void 0===(l=c.count)?1/0:l,b=c.delay):g=c),g<=0?function(){return n.EMPTY}:i.operate(function(p,S){var m,y=0,h=function(){if(m?.unsubscribe(),m=null,null!=b){var v="number"==typeof b?a.timer(b):u.innerFrom(b(y)),M=d.createOperatorSubscriber(S,function(){M.unsubscribe(),C()});v.subscribe(M)}else C()},C=function(){var v=!1;m=p.subscribe(d.createOperatorSubscriber(S,void 0,function(){++y{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.repeatWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),u=o(35744);f.repeatWhen=function a(e){return d.operate(function(c,l){var g,p,b=!1,S=!1,y=!1,m=function(){return y&&S&&(l.complete(),!0)},C=function(){y=!1,g=c.subscribe(u.createOperatorSubscriber(l,void 0,function(){y=!0,!m()&&(p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(u.createOperatorSubscriber(l,function(){g?C():b=!0},function(){S=!0,m()}))),p).next()})),b&&(g.unsubscribe(),g=null,b=!1,C())};C()})}},584:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.retry=void 0;var n=o(66080),i=o(35744),d=o(55184),u=o(34168),a=o(81280);f.retry=function e(c){var l;void 0===c&&(c=1/0);var g=(l=c&&"object"==typeof c?c:{count:c}).count,b=void 0===g?1/0:g,p=l.delay,S=l.resetOnSuccess,y=void 0!==S&&S;return b<=0?d.identity:n.operate(function(m,h){var v,C=0,M=function(){var E=!1;v=m.subscribe(i.createOperatorSubscriber(h,function(A){y&&(C=0),h.next(A)},void 0,function(A){if(C++{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.retryWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),u=o(35744);f.retryWhen=function a(e){return d.operate(function(c,l){var g,p,b=!1,S=function(){g=c.subscribe(u.createOperatorSubscriber(l,void 0,void 0,function(y){p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(u.createOperatorSubscriber(l,function(){return g?S():b=!0}))),p&&p.next(y)})),b&&(g.unsubscribe(),g=null,b=!1,S())};S()})}},64968:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sample=void 0;var n=o(81280),i=o(66080),d=o(48320),u=o(35744);f.sample=function a(e){return i.operate(function(c,l){var g=!1,b=null;c.subscribe(u.createOperatorSubscriber(l,function(p){g=!0,b=p})),n.innerFrom(e).subscribe(u.createOperatorSubscriber(l,function(){if(g){g=!1;var p=b;b=null,l.next(p)}},d.noop))})}},97792:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sampleTime=void 0;var n=o(69252),i=o(64968),d=o(2071);f.sampleTime=function u(a,e){return void 0===e&&(e=n.asyncScheduler),i.sample(d.interval(a,e))}},17752:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scan=void 0;var n=o(66080),i=o(56500);f.scan=function d(u,a){return n.operate(i.scanInternals(u,a,arguments.length>=2,!0))}},56500:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scanInternals=void 0;var n=o(35744);f.scanInternals=function i(d,u,a,e,c){return function(l,g){var b=a,p=u,S=0;l.subscribe(n.createOperatorSubscriber(g,function(y){var m=S++;p=b?d(p,y,m):(b=!0,y),e&&g.next(p)},c&&function(){b&&g.next(p),g.complete()}))}}},43904:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sequenceEqual=void 0;var n=o(66080),i=o(35744),d=o(81280);f.sequenceEqual=function u(e,c){return void 0===c&&(c=function(l,g){return l===g}),n.operate(function(l,g){var b={buffer:[],complete:!1},p={buffer:[],complete:!1},S=function(m){g.next(m),g.complete()},y=function(m,h){var C=i.createOperatorSubscriber(g,function(v){var M=h.buffer;0===M.length?h.complete?S(!1):m.buffer.push(v):!c(v,M.shift())&&S(!1)},function(){m.complete=!0,h.complete&&S(0===h.buffer.length),C?.unsubscribe()});return C};l.subscribe(y(b,p)),d.innerFrom(e).subscribe(y(p,b))})}},95912:function(ve,f,o){"use strict";var n=this&&this.__read||function(g,b){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var y,h,S=p.call(g),m=[];try{for(;(void 0===b||b-- >0)&&!(y=S.next()).done;)m.push(y.value)}catch(C){h={error:C}}finally{try{y&&!y.done&&(p=S.return)&&p.call(S)}finally{if(h)throw h.error}}return m},i=this&&this.__spreadArray||function(g,b){for(var p=0,S=b.length,y=g.length;p0&&(E=new a.SafeSubscriber({next:function(ce){return X.next(ce)},error:function(ce){P=!0,L(),A=l(x,y,ce),X.error(ce)},complete:function(){N=!0,L(),A=l(x,h),X.complete()}}),d.innerFrom(F).subscribe(E))})(M)}}},20468:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.shareReplay=void 0;var n=o(38640),i=o(95912);f.shareReplay=function d(u,a,e){var c,l,g,b,p=!1;return u&&"object"==typeof u?(b=void 0===(c=u.bufferSize)?1/0:c,a=void 0===(l=u.windowTime)?1/0:l,p=void 0!==(g=u.refCount)&&g,e=u.scheduler):b=u??1/0,i.share({connector:function(){return new n.ReplaySubject(b,a,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},43952:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.single=void 0;var n=o(51544),i=o(71016),d=o(15496),u=o(66080),a=o(35744);f.single=function e(c){return u.operate(function(l,g){var p,b=!1,S=!1,y=0;l.subscribe(a.createOperatorSubscriber(g,function(m){S=!0,(!c||c(m,y++,l))&&(b&&g.error(new i.SequenceError("Too many matching values")),b=!0,p=m)},function(){b?(g.next(p),g.complete()):g.error(S?new d.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skip=void 0;var n=o(39840);f.skip=function i(d){return n.filter(function(u,a){return d<=a})}},47832:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skipLast=void 0;var n=o(55184),i=o(66080),d=o(35744);f.skipLast=function u(a){return a<=0?n.identity:i.operate(function(e,c){var l=new Array(a),g=0;return e.subscribe(d.createOperatorSubscriber(c,function(b){var p=g++;if(p{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skipUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),u=o(48320);f.skipUntil=function a(e){return n.operate(function(c,l){var g=!1,b=i.createOperatorSubscriber(l,function(){b?.unsubscribe(),g=!0},u.noop);d.innerFrom(e).subscribe(b),c.subscribe(i.createOperatorSubscriber(l,function(p){return g&&l.next(p)}))})}},49856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skipWhile=void 0;var n=o(66080),i=o(35744);f.skipWhile=function d(u){return n.operate(function(a,e){var c=!1,l=0;a.subscribe(i.createOperatorSubscriber(e,function(g){return(c||(c=!u(g,l++)))&&e.next(g)}))})}},59612:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.startWith=void 0;var n=o(24560),i=o(69724),d=o(66080);f.startWith=function u(){for(var a=[],e=0;e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.subscribeOn=void 0;var n=o(66080);f.subscribeOn=function i(d,u){return void 0===u&&(u=0),n.operate(function(a,e){e.add(d.schedule(function(){return a.subscribe(e)},u))})}},63368:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchAll=void 0;var n=o(39876),i=o(55184);f.switchAll=function d(){return n.switchMap(i.identity)}},39876:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchMap=void 0;var n=o(81280),i=o(66080),d=o(35744);f.switchMap=function u(a,e){return i.operate(function(c,l){var g=null,b=0,p=!1,S=function(){return p&&!g&&l.complete()};c.subscribe(d.createOperatorSubscriber(l,function(y){g?.unsubscribe();var m=0,h=b++;n.innerFrom(a(y,h)).subscribe(g=d.createOperatorSubscriber(l,function(C){return l.next(e?e(y,C,h,m++):C)},function(){g=null,S()}))},function(){p=!0,S()}))})}},57168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchMapTo=void 0;var n=o(39876),i=o(82360);f.switchMapTo=function d(u,a){return i.isFunction(a)?n.switchMap(function(){return u},a):n.switchMap(function(){return u})}},19980:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchScan=void 0;var n=o(39876),i=o(66080);f.switchScan=function d(u,a){return i.operate(function(e,c){var l=a;return n.switchMap(function(g,b){return u(l,g,b)},function(g,b){return l=b,b})(e).subscribe(c),function(){l=null}})}},38120:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.take=void 0;var n=o(31456),i=o(66080),d=o(35744);f.take=function u(a){return a<=0?function(){return n.EMPTY}:i.operate(function(e,c){var l=0;e.subscribe(d.createOperatorSubscriber(c,function(g){++l<=a&&(c.next(g),a<=l&&c.complete())}))})}},32224:function(ve,f,o){"use strict";var n=this&&this.__values||function(e){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&e[c],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.takeLast=void 0;var i=o(31456),d=o(66080),u=o(35744);f.takeLast=function a(e){return e<=0?function(){return i.EMPTY}:d.operate(function(c,l){var g=[];c.subscribe(u.createOperatorSubscriber(l,function(b){g.push(b),e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.takeUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),u=o(48320);f.takeUntil=function a(e){return n.operate(function(c,l){d.innerFrom(e).subscribe(i.createOperatorSubscriber(l,function(){return l.complete()},u.noop)),!l.closed&&c.subscribe(l)})}},35408:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.takeWhile=void 0;var n=o(66080),i=o(35744);f.takeWhile=function d(u,a){return void 0===a&&(a=!1),n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){var b=u(g,l++);(b||a)&&c.next(g),!b&&c.complete()}))})}},46748:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.tap=void 0;var n=o(82360),i=o(66080),d=o(35744),u=o(55184);f.tap=function a(e,c,l){var g=n.isFunction(e)||c||l?{next:e,error:c,complete:l}:e;return g?i.operate(function(b,p){var S;null===(S=g.subscribe)||void 0===S||S.call(g);var y=!0;b.subscribe(d.createOperatorSubscriber(p,function(m){var h;null===(h=g.next)||void 0===h||h.call(g,m),p.next(m)},function(){var m;y=!1,null===(m=g.complete)||void 0===m||m.call(g),p.complete()},function(m){var h;y=!1,null===(h=g.error)||void 0===h||h.call(g,m),p.error(m)},function(){var m,h;y&&(null===(m=g.unsubscribe)||void 0===m||m.call(g)),null===(h=g.finalize)||void 0===h||h.call(g)}))}):u.identity}},66720:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throttle=void 0;var n=o(66080),i=o(35744),d=o(81280);f.throttle=function u(a,e){return n.operate(function(c,l){var g=e??{},b=g.leading,p=void 0===b||b,S=g.trailing,y=void 0!==S&&S,m=!1,h=null,C=null,v=!1,M=function(){C?.unsubscribe(),C=null,y&&(T(),v&&l.complete())},E=function(){C=null,v&&l.complete()},A=function(R){return C=d.innerFrom(a(R)).subscribe(i.createOperatorSubscriber(l,M,E))},T=function(){if(m){m=!1;var R=h;h=null,l.next(R),!v&&A(R)}};c.subscribe(i.createOperatorSubscriber(l,function(R){m=!0,h=R,(!C||C.closed)&&(p?T():A(R))},function(){v=!0,(!(y&&m&&C)||C.closed)&&l.complete()}))})}},44236:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throttleTime=void 0;var n=o(69252),i=o(66720),d=o(34168);f.throttleTime=function u(a,e,c){void 0===e&&(e=n.asyncScheduler);var l=d.timer(a,e);return i.throttle(function(){return l},c)}},51056:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfEmpty=void 0;var n=o(51544),i=o(66080),d=o(35744);function a(){return new n.EmptyError}f.throwIfEmpty=function u(e){return void 0===e&&(e=a),i.operate(function(c,l){var g=!1;c.subscribe(d.createOperatorSubscriber(l,function(b){g=!0,l.next(b)},function(){return g?l.complete():l.error(e())}))})}},39500:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.TimeInterval=f.timeInterval=void 0;var n=o(69252),i=o(66080),d=o(35744);f.timeInterval=function u(e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(c,l){var g=e.now();c.subscribe(d.createOperatorSubscriber(l,function(b){var p=e.now(),S=p-g;g=p,l.next(new a(b,S))}))})};var a=function(){return function e(c,l){this.value=c,this.interval=l}}();f.TimeInterval=a},20268:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timeout=f.TimeoutError=void 0;var n=o(69252),i=o(42384),d=o(66080),u=o(81280),a=o(26624),e=o(35744),c=o(61760);function g(b){throw new f.TimeoutError(b)}f.TimeoutError=a.createErrorClass(function(b){return function(S){void 0===S&&(S=null),b(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=S}}),f.timeout=function l(b,p){var S=i.isValidDate(b)?{first:b}:"number"==typeof b?{each:b}:b,y=S.first,m=S.each,h=S.with,C=void 0===h?g:h,v=S.scheduler,M=void 0===v?p??n.asyncScheduler:v,E=S.meta,A=void 0===E?null:E;if(null==y&&null==m)throw new TypeError("No timeout provided.");return d.operate(function(T,R){var N,P,L=null,x=0,V=function(F){P=c.executeSchedule(R,M,function(){try{N.unsubscribe(),u.innerFrom(C({meta:A,lastValue:L,seen:x})).subscribe(R)}catch(ee){R.error(ee)}},F)};N=T.subscribe(e.createOperatorSubscriber(R,function(F){P?.unsubscribe(),x++,R.next(L=F),m>0&&V(m)},void 0,void 0,function(){P?.closed||P?.unsubscribe(),L=null})),!x&&V(null!=y?"number"==typeof y?y:+y-M.now():m)})}},88536:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timeoutWith=void 0;var n=o(69252),i=o(42384),d=o(20268);f.timeoutWith=function u(a,e,c){var l,g,b;if(c=c??n.async,i.isValidDate(a)?l=a:"number"==typeof a&&(g=a),!e)throw new TypeError("No observable provided to switch to");if(b=function(){return e},null==l&&null==g)throw new TypeError("No timeout provided.");return d.timeout({first:l,each:g,scheduler:c,with:b})}},37248:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timestamp=void 0;var n=o(8764),i=o(784);f.timestamp=function d(u){return void 0===u&&(u=n.dateTimestampProvider),i.map(function(a){return{value:a,timestamp:u.now()}})}},29316:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.toArray=void 0;var n=o(39980),i=o(66080),d=function(a,e){return a.push(e),a};f.toArray=function u(){return i.operate(function(a,e){n.reduce(d,[])(a).subscribe(e)})}},40560:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.window=void 0;var n=o(90120),i=o(66080),d=o(35744),u=o(48320),a=o(81280);f.window=function e(c){return i.operate(function(l,g){var b=new n.Subject;g.next(b.asObservable());var p=function(S){b.error(S),g.error(S)};return l.subscribe(d.createOperatorSubscriber(g,function(S){return b?.next(S)},function(){b.complete(),g.complete()},p)),a.innerFrom(c).subscribe(d.createOperatorSubscriber(g,function(){b.complete(),g.next(b=new n.Subject)},u.noop,p)),function(){b?.unsubscribe(),b=null}})}},79068:function(ve,f,o){"use strict";var n=this&&this.__values||function(e){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&e[c],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.windowCount=void 0;var i=o(90120),d=o(66080),u=o(35744);f.windowCount=function a(e,c){void 0===c&&(c=0);var l=c>0?c:e;return d.operate(function(g,b){var p=[new i.Subject],y=0;b.next(p[0].asObservable()),g.subscribe(u.createOperatorSubscriber(b,function(m){var h,C;try{for(var v=n(p),M=v.next();!M.done;M=v.next())M.value.next(m)}catch(R){h={error:R}}finally{try{M&&!M.done&&(C=v.return)&&C.call(v)}finally{if(h)throw h.error}}var A=y-e+1;if(A>=0&&A%l==0&&p.shift().complete(),++y%l==0){var T=new i.Subject;p.push(T),b.next(T.asObservable())}},function(){for(;p.length>0;)p.shift().complete();b.complete()},function(m){for(;p.length>0;)p.shift().error(m);b.error(m)},function(){p=null}))})}},11984:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.windowTime=void 0;var n=o(90120),i=o(69252),d=o(40576),u=o(66080),a=o(35744),e=o(39852),c=o(69724),l=o(61760);f.windowTime=function g(b){for(var p,S,y=[],m=1;m=0?l.executeSchedule(E,h,N,C,!0):T=!0,N();var P=function(x){return A.slice().forEach(x)},L=function(x){P(function(V){return x(V.window)}),x(E),E.unsubscribe()};return M.subscribe(a.createOperatorSubscriber(E,function(x){P(function(V){V.window.next(x),v<=++V.seen&&R(V)})},function(){return L(function(x){return x.complete()})},function(x){return L(function(V){return V.error(x)})})),function(){A=null}})}},97776:function(ve,f,o){"use strict";var n=this&&this.__values||function(b){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&b[p],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.windowToggle=void 0;var i=o(90120),d=o(40576),u=o(66080),a=o(81280),e=o(35744),c=o(48320),l=o(39852);f.windowToggle=function g(b,p){return u.operate(function(S,y){var m=[],h=function(C){for(;0{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.windowWhen=void 0;var n=o(90120),i=o(66080),d=o(35744),u=o(81280);f.windowWhen=function a(e){return i.operate(function(c,l){var g,b,p=function(y){g.error(y),l.error(y)},S=function(){var y;b?.unsubscribe(),g?.complete(),g=new n.Subject,l.next(g.asObservable());try{y=u.innerFrom(e())}catch(m){return void p(m)}y.subscribe(b=d.createOperatorSubscriber(l,S,S,p))};S(),c.subscribe(d.createOperatorSubscriber(l,function(y){return g.next(y)},function(){g.complete(),l.complete()},p,function(){b?.unsubscribe(),g=null}))})}},95780:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,p){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===p||p-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,p){for(var S=0,y=p.length,m=b.length;S0)&&!(b=g.next()).done;)p.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.zipAll=void 0;var n=o(59172),i=o(28400);f.zipAll=function d(u){return i.joinAllInternals(n.zip,u)}},56824:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,p,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(p)throw p.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleArray=void 0;var n=o(15448);f.scheduleArray=function i(d,u){return new n.Observable(function(a){var e=0;return u.schedule(function(){e===d.length?a.complete():(a.next(d[e++]),a.closed||this.schedule())})})}},37360:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleAsyncIterable=void 0;var n=o(15448),i=o(61760);f.scheduleAsyncIterable=function d(u,a){if(!u)throw new Error("Iterable cannot be null");return new n.Observable(function(e){i.executeSchedule(e,a,function(){var c=u[Symbol.asyncIterator]();i.executeSchedule(e,a,function(){c.next().then(function(l){l.done?e.complete():e.next(l.value)})},0,!0)})})}},66589:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleIterable=void 0;var n=o(15448),i=o(71040),d=o(82360),u=o(61760);f.scheduleIterable=function a(e,c){return new n.Observable(function(l){var g;return u.executeSchedule(l,c,function(){g=e[i.iterator](),u.executeSchedule(l,c,function(){var b,p,S;try{p=(b=g.next()).value,S=b.done}catch(y){return void l.error(y)}S?l.complete():l.next(p)},0,!0)}),function(){return d.isFunction(g?.return)&&g.return()}})}},90996:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleObservable=void 0;var n=o(81280),i=o(33752),d=o(67992);f.scheduleObservable=function u(a,e){return n.innerFrom(a).pipe(d.subscribeOn(e),i.observeOn(e))}},23219:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.schedulePromise=void 0;var n=o(81280),i=o(33752),d=o(67992);f.schedulePromise=function u(a,e){return n.innerFrom(a).pipe(d.subscribeOn(e),i.observeOn(e))}},95196:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleReadableStreamLike=void 0;var n=o(37360),i=o(11416);f.scheduleReadableStreamLike=function d(u,a){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(u),a)}},44232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduled=void 0;var n=o(90996),i=o(23219),d=o(24920),u=o(66589),a=o(37360),e=o(18440),c=o(28296),l=o(18224),g=o(30640),b=o(37156),p=o(34088),S=o(11416),y=o(95196);f.scheduled=function m(h,C){if(null!=h){if(e.isInteropObservable(h))return n.scheduleObservable(h,C);if(l.isArrayLike(h))return d.scheduleArray(h,C);if(c.isPromise(h))return i.schedulePromise(h,C);if(b.isAsyncIterable(h))return a.scheduleAsyncIterable(h,C);if(g.isIterable(h))return u.scheduleIterable(h,C);if(S.isReadableStreamLike(h))return y.scheduleReadableStreamLike(h,C)}throw p.createInvalidObservableTypeError(h)}},30576:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.Action=void 0;var d=function(u){function a(e,c){return u.call(this)||this}return n(a,u),a.prototype.schedule=function(e,c){return void 0===c&&(c=0),this},a}(o(40576).Subscription);f.Action=d},70079:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var a=function(e,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,g){l.__proto__=g}||function(l,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(l[b]=g[b])})(e,c)};return function(e,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function l(){this.constructor=e}a(e,c),e.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AnimationFrameAction=void 0;var i=o(6972),d=o(24352),u=function(a){function e(c,l){var g=a.call(this,c,l)||this;return g.scheduler=c,g.work=l,g}return n(e,a),e.prototype.requestAsyncId=function(c,l,g){return void 0===g&&(g=0),null!==g&&g>0?a.prototype.requestAsyncId.call(this,c,l,g):(c.actions.push(this),c._scheduled||(c._scheduled=d.animationFrameProvider.requestAnimationFrame(function(){return c.flush(void 0)})))},e.prototype.recycleAsyncId=function(c,l,g){var b;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return a.prototype.recycleAsyncId.call(this,c,l,g);var p=c.actions;null!=l&&(null===(b=p[p.length-1])||void 0===b?void 0:b.id)!==l&&(d.animationFrameProvider.cancelAnimationFrame(l),c._scheduled=void 0)},e}(i.AsyncAction);f.AnimationFrameAction=u},41752:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AnimationFrameScheduler=void 0;var d=function(u){function a(){return null!==u&&u.apply(this,arguments)||this}return n(a,u),a.prototype.flush=function(e){this._active=!0;var c=this._scheduled;this._scheduled=void 0;var g,l=this.actions;e=e||l.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=l[0])&&e.id===c&&l.shift());if(this._active=!1,g){for(;(e=l[0])&&e.id===c&&l.shift();)e.unsubscribe();throw g}},a}(o(16660).AsyncScheduler);f.AnimationFrameScheduler=d},48368:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var a=function(e,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,g){l.__proto__=g}||function(l,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(l[b]=g[b])})(e,c)};return function(e,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function l(){this.constructor=e}a(e,c),e.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsapAction=void 0;var i=o(6972),d=o(7832),u=function(a){function e(c,l){var g=a.call(this,c,l)||this;return g.scheduler=c,g.work=l,g}return n(e,a),e.prototype.requestAsyncId=function(c,l,g){return void 0===g&&(g=0),null!==g&&g>0?a.prototype.requestAsyncId.call(this,c,l,g):(c.actions.push(this),c._scheduled||(c._scheduled=d.immediateProvider.setImmediate(c.flush.bind(c,void 0))))},e.prototype.recycleAsyncId=function(c,l,g){var b;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return a.prototype.recycleAsyncId.call(this,c,l,g);var p=c.actions;null!=l&&(null===(b=p[p.length-1])||void 0===b?void 0:b.id)!==l&&(d.immediateProvider.clearImmediate(l),c._scheduled===l&&(c._scheduled=void 0))},e}(i.AsyncAction);f.AsapAction=u},32400:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsapScheduler=void 0;var d=function(u){function a(){return null!==u&&u.apply(this,arguments)||this}return n(a,u),a.prototype.flush=function(e){this._active=!0;var c=this._scheduled;this._scheduled=void 0;var g,l=this.actions;e=e||l.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=l[0])&&e.id===c&&l.shift());if(this._active=!1,g){for(;(e=l[0])&&e.id===c&&l.shift();)e.unsubscribe();throw g}},a}(o(16660).AsyncScheduler);f.AsapScheduler=d},6972:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var e=function(c,l){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(g[p]=b[p])})(c,l)};return function(c,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function g(){this.constructor=c}e(c,l),c.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsyncAction=void 0;var i=o(30576),d=o(61691),u=o(39852),a=function(e){function c(l,g){var b=e.call(this,l,g)||this;return b.scheduler=l,b.work=g,b.pending=!1,b}return n(c,e),c.prototype.schedule=function(l,g){var b;if(void 0===g&&(g=0),this.closed)return this;this.state=l;var p=this.id,S=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(S,p,g)),this.pending=!0,this.delay=g,this.id=null!==(b=this.id)&&void 0!==b?b:this.requestAsyncId(S,this.id,g),this},c.prototype.requestAsyncId=function(l,g,b){return void 0===b&&(b=0),d.intervalProvider.setInterval(l.flush.bind(l,this),b)},c.prototype.recycleAsyncId=function(l,g,b){if(void 0===b&&(b=0),null!=b&&this.delay===b&&!1===this.pending)return g;null!=g&&d.intervalProvider.clearInterval(g)},c.prototype.execute=function(l,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var b=this._execute(l,g);if(b)return b;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},c.prototype._execute=function(l,g){var p,b=!1;try{this.work(l)}catch(S){b=!0,p=S||new Error("Scheduled action threw falsy error")}if(b)return this.unsubscribe(),p},c.prototype.unsubscribe=function(){if(!this.closed){var g=this.id,b=this.scheduler,p=b.actions;this.work=this.state=this.scheduler=null,this.pending=!1,u.arrRemove(p,this),null!=g&&(this.id=this.recycleAsyncId(b,g,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},c}(i.Action);f.AsyncAction=a},16660:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsyncScheduler=void 0;var i=o(25784),d=function(u){function a(e,c){void 0===c&&(c=i.Scheduler.now);var l=u.call(this,e,c)||this;return l.actions=[],l._active=!1,l}return n(a,u),a.prototype.flush=function(e){var c=this.actions;if(this._active)c.push(e);else{var l;this._active=!0;do{if(l=e.execute(e.state,e.delay))break}while(e=c.shift());if(this._active=!1,l){for(;e=c.shift();)e.unsubscribe();throw l}}},a}(i.Scheduler);f.AsyncScheduler=d},71688:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.QueueAction=void 0;var d=function(u){function a(e,c){var l=u.call(this,e,c)||this;return l.scheduler=e,l.work=c,l}return n(a,u),a.prototype.schedule=function(e,c){return void 0===c&&(c=0),c>0?u.prototype.schedule.call(this,e,c):(this.delay=c,this.state=e,this.scheduler.flush(this),this)},a.prototype.execute=function(e,c){return c>0||this.closed?u.prototype.execute.call(this,e,c):this._execute(e,c)},a.prototype.requestAsyncId=function(e,c,l){return void 0===l&&(l=0),null!=l&&l>0||null==l&&this.delay>0?u.prototype.requestAsyncId.call(this,e,c,l):(e.flush(this),0)},a}(o(6972).AsyncAction);f.QueueAction=d},36148:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.QueueScheduler=void 0;var d=function(u){function a(){return null!==u&&u.apply(this,arguments)||this}return n(a,u),a}(o(16660).AsyncScheduler);f.QueueScheduler=d},45992:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var c=function(l,g){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,p){b.__proto__=p}||function(b,p){for(var S in p)Object.prototype.hasOwnProperty.call(p,S)&&(b[S]=p[S])})(l,g)};return function(l,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function b(){this.constructor=l}c(l,g),l.prototype=null===g?Object.create(g):(b.prototype=g.prototype,new b)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.VirtualAction=f.VirtualTimeScheduler=void 0;var i=o(6972),d=o(40576),a=function(c){function l(g,b){void 0===g&&(g=e),void 0===b&&(b=1/0);var p=c.call(this,g,function(){return p.frame})||this;return p.maxFrames=b,p.frame=0,p.index=-1,p}return n(l,c),l.prototype.flush=function(){for(var S,y,b=this.actions,p=this.maxFrames;(y=b[0])&&y.delay<=p&&(b.shift(),this.frame=y.delay,!(S=y.execute(y.state,y.delay))););if(S){for(;y=b.shift();)y.unsubscribe();throw S}},l.frameTimeFactor=10,l}(o(16660).AsyncScheduler);f.VirtualTimeScheduler=a;var e=function(c){function l(g,b,p){void 0===p&&(p=g.index+=1);var S=c.call(this,g,b)||this;return S.scheduler=g,S.work=b,S.index=p,S.active=!0,S.index=g.index=p,S}return n(l,c),l.prototype.schedule=function(g,b){if(void 0===b&&(b=0),Number.isFinite(b)){if(!this.id)return c.prototype.schedule.call(this,g,b);this.active=!1;var p=new l(this.scheduler,this.work);return this.add(p),p.schedule(g,b)}return d.Subscription.EMPTY},l.prototype.requestAsyncId=function(g,b,p){void 0===p&&(p=0),this.delay=g.frame+p;var S=g.actions;return S.push(this),S.sort(l.sortActions),1},l.prototype.recycleAsyncId=function(g,b,p){void 0===p&&(p=0)},l.prototype._execute=function(g,b){if(!0===this.active)return c.prototype._execute.call(this,g,b)},l.sortActions=function(g,b){return g.delay===b.delay?g.index===b.index?0:g.index>b.index?1:-1:g.delay>b.delay?1:-1},l}(i.AsyncAction);f.VirtualAction=e},70232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.animationFrame=f.animationFrameScheduler=void 0;var n=o(70079),i=o(41752);f.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),f.animationFrame=f.animationFrameScheduler},24352:function(ve,f,o){"use strict";var n=this&&this.__read||function(u,a){var e="function"==typeof Symbol&&u[Symbol.iterator];if(!e)return u;var l,b,c=e.call(u),g=[];try{for(;(void 0===a||a-- >0)&&!(l=c.next()).done;)g.push(l.value)}catch(p){b={error:p}}finally{try{l&&!l.done&&(e=c.return)&&e.call(c)}finally{if(b)throw b.error}}return g},i=this&&this.__spreadArray||function(u,a){for(var e=0,c=a.length,l=u.length;e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.asap=f.asapScheduler=void 0;var n=o(48368),i=o(32400);f.asapScheduler=new i.AsapScheduler(n.AsapAction),f.asap=f.asapScheduler},69252:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.async=f.asyncScheduler=void 0;var n=o(6972),i=o(16660);f.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),f.async=f.asyncScheduler},8764:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.dateTimestampProvider=void 0,f.dateTimestampProvider={now:function(){return(f.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(ve,f,o){"use strict";var n=this&&this.__read||function(e,c){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var b,S,g=l.call(e),p=[];try{for(;(void 0===c||c-- >0)&&!(b=g.next()).done;)p.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l0)&&!(e=a.next()).done;)c.push(e.value)}catch(g){l={error:g}}finally{try{e&&!e.done&&(u=a.return)&&u.call(a)}finally{if(l)throw l.error}}return c},n=this&&this.__spreadArray||function(i,d){for(var u=0,a=d.length,e=i.length;u{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.performanceTimestampProvider=void 0,f.performanceTimestampProvider={now:function(){return(f.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.queue=f.queueScheduler=void 0;var n=o(71688),i=o(36148);f.queueScheduler=new i.QueueScheduler(n.QueueAction),f.queue=f.queueScheduler},82480:function(ve,f){"use strict";var o=this&&this.__read||function(i,d){var u="function"==typeof Symbol&&i[Symbol.iterator];if(!u)return i;var e,l,a=u.call(i),c=[];try{for(;(void 0===d||d-- >0)&&!(e=a.next()).done;)c.push(e.value)}catch(g){l={error:g}}finally{try{e&&!e.done&&(u=a.return)&&u.call(a)}finally{if(l)throw l.error}}return c},n=this&&this.__spreadArray||function(i,d){for(var u=0,a=d.length,e=i.length;u{"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(f,"__esModule",{value:!0}),f.iterator=f.getSymbolIterator=void 0,f.getSymbolIterator=o,f.iterator=o()},72064:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.observable=void 0,f.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0})},32929:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ArgumentOutOfRangeError=void 0;var n=o(26624);f.ArgumentOutOfRangeError=n.createErrorClass(function(i){return function(){i(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.EmptyError=void 0;var n=o(26624);f.EmptyError=n.createErrorClass(function(i){return function(){i(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.TestTools=f.Immediate=void 0;var n,o=1,i={};function d(u){return u in i&&(delete i[u],!0)}f.Immediate={setImmediate:function(u){var a=o++;return i[a]=!0,n||(n=Promise.resolve()),n.then(function(){return d(a)&&u()}),a},clearImmediate:function(u){d(u)}},f.TestTools={pending:function(){return Object.keys(i).length}}},15496:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.NotFoundError=void 0;var n=o(26624);f.NotFoundError=n.createErrorClass(function(i){return function(u){i(this),this.name="NotFoundError",this.message=u}})},92304:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ObjectUnsubscribedError=void 0;var n=o(26624);f.ObjectUnsubscribedError=n.createErrorClass(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SequenceError=void 0;var n=o(26624);f.SequenceError=n.createErrorClass(function(i){return function(u){i(this),this.name="SequenceError",this.message=u}})},9560:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnsubscriptionError=void 0;var n=o(26624);f.UnsubscriptionError=n.createErrorClass(function(i){return function(u){i(this),this.message=u?u.length+" errors occurred during unsubscription:\n"+u.map(function(a,e){return e+1+") "+a.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=u}})},69724:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.popNumber=f.popScheduler=f.popResultSelector=void 0;var n=o(82360),i=o(76964);function d(c){return c[c.length-1]}f.popResultSelector=function u(c){return n.isFunction(d(c))?c.pop():void 0},f.popScheduler=function a(c){return i.isScheduler(d(c))?c.pop():void 0},f.popNumber=function e(c,l){return"number"==typeof d(c)?c.pop():l}},75352:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.argsArgArrayOrObject=void 0;var o=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,d=Object.keys;f.argsArgArrayOrObject=function u(e){if(1===e.length){var c=e[0];if(o(c))return{args:c,keys:null};if(function a(e){return e&&"object"==typeof e&&n(e)===i}(c)){var l=d(c);return{args:l.map(function(g){return c[g]}),keys:l}}}return{args:e,keys:null}}},50652:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.argsOrArgArray=void 0;var o=Array.isArray;f.argsOrArgArray=function n(i){return 1===i.length&&o(i[0])?i[0]:i}},39852:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.arrRemove=void 0,f.arrRemove=function o(n,i){if(n){var d=n.indexOf(i);0<=d&&n.splice(d,1)}}},26624:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createErrorClass=void 0,f.createErrorClass=function o(n){var d=n(function(u){Error.call(u),u.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}},7788:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createObject=void 0,f.createObject=function o(n,i){return n.reduce(function(d,u,a){return d[u]=i[a],d},{})}},49664:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.captureError=f.errorContext=void 0;var n=o(90584),i=null;f.errorContext=function d(a){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),a(),e){var c=i;if(i=null,c.errorThrown)throw c.error}}else a()},f.captureError=function u(a){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=a)}},61760:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.executeSchedule=void 0,f.executeSchedule=function o(n,i,d,u,a){void 0===u&&(u=0),void 0===a&&(a=!1);var e=i.schedule(function(){d(),a?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(e),!a)return e}},55184:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.identity=void 0,f.identity=function o(n){return n}},18224:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isArrayLike=void 0,f.isArrayLike=function(o){return o&&"number"==typeof o.length&&"function"!=typeof o}},37156:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isAsyncIterable=void 0;var n=o(82360);f.isAsyncIterable=function i(d){return Symbol.asyncIterator&&n.isFunction(d?.[Symbol.asyncIterator])}},42384:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isValidDate=void 0,f.isValidDate=function o(n){return n instanceof Date&&!isNaN(n)}},82360:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isFunction=void 0,f.isFunction=function o(n){return"function"==typeof n}},18440:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isInteropObservable=void 0;var n=o(72064),i=o(82360);f.isInteropObservable=function d(u){return i.isFunction(u[n.observable])}},30640:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isIterable=void 0;var n=o(71040),i=o(82360);f.isIterable=function d(u){return i.isFunction(u?.[n.iterator])}},38104:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isObservable=void 0;var n=o(15448),i=o(82360);f.isObservable=function d(u){return!!u&&(u instanceof n.Observable||i.isFunction(u.lift)&&i.isFunction(u.subscribe))}},28296:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isPromise=void 0;var n=o(82360);f.isPromise=function i(d){return n.isFunction(d?.then)}},11416:function(ve,f,o){"use strict";var n=this&&this.__generator||function(c,l){var b,p,S,y,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return y={next:m(0),throw:m(1),return:m(2)},"function"==typeof Symbol&&(y[Symbol.iterator]=function(){return this}),y;function m(C){return function(v){return function h(C){if(b)throw new TypeError("Generator is already executing.");for(;g;)try{if(b=1,p&&(S=2&C[0]?p.return:C[0]?p.throw||((S=p.return)&&S.call(p),0):p.next)&&!(S=S.call(p,C[1])).done)return S;switch(p=0,S&&(C=[2&C[0],S.value]),C[0]){case 0:case 1:S=C;break;case 4:return g.label++,{value:C[1],done:!1};case 5:g.label++,p=C[1],C=[0];continue;case 7:C=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===C[0]||2===C[0])){g=0;continue}if(3===C[0]&&(!S||C[1]>S[0]&&C[1]1||m(E,A)})})}function m(E,A){try{!function h(E){E.value instanceof i?Promise.resolve(E.value.v).then(C,v):M(S[0][2],E)}(b[E](A))}catch(T){M(S[0][3],T)}}function C(E){m("next",E)}function v(E){m("throw",E)}function M(E,A){E(A),S.shift(),S.length&&m(S[0][0],S[0][1])}};Object.defineProperty(f,"__esModule",{value:!0}),f.isReadableStreamLike=f.readableStreamLikeToAsyncGenerator=void 0;var u=o(82360);f.readableStreamLikeToAsyncGenerator=function a(c){return d(this,arguments,function(){var g,b,p;return n(this,function(y){switch(y.label){case 0:g=c.getReader(),y.label=1;case 1:y.trys.push([1,,9,10]),y.label=2;case 2:return[4,i(g.read())];case 3:return b=y.sent(),p=b.value,b.done?[4,i(void 0)]:[3,5];case 4:return[2,y.sent()];case 5:return[4,i(p)];case 6:return[4,y.sent()];case 7:return y.sent(),[3,2];case 8:return[3,10];case 9:return g.releaseLock(),[7];case 10:return[2]}})})},f.isReadableStreamLike=function e(c){return u.isFunction(c?.getReader)}},76964:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isScheduler=void 0;var n=o(82360);f.isScheduler=function i(d){return d&&n.isFunction(d.schedule)}},66080:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.operate=f.hasLift=void 0;var n=o(82360);function i(u){return n.isFunction(u?.lift)}f.hasLift=i,f.operate=function d(u){return function(a){if(i(a))return a.lift(function(e){try{return u(e,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(ve,f,o){"use strict";var n=this&&this.__read||function(c,l){var g="function"==typeof Symbol&&c[Symbol.iterator];if(!g)return c;var p,y,b=g.call(c),S=[];try{for(;(void 0===l||l-- >0)&&!(p=b.next()).done;)S.push(p.value)}catch(m){y={error:m}}finally{try{p&&!p.done&&(g=b.return)&&g.call(b)}finally{if(y)throw y.error}}return S},i=this&&this.__spreadArray||function(c,l){for(var g=0,b=l.length,p=c.length;g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.noop=void 0,f.noop=function o(){}},37700:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.not=void 0,f.not=function o(n,i){return function(d,u){return!n.call(i,d,u)}}},19512:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pipeFromArray=f.pipe=void 0;var n=o(55184);function d(u){return 0===u.length?n.identity:1===u.length?u[0]:function(e){return u.reduce(function(c,l){return l(c)},e)}}f.pipe=function i(){for(var u=[],a=0;a{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.reportUnhandledError=void 0;var n=o(90584),i=o(82480);f.reportUnhandledError=function d(u){i.timeoutProvider.setTimeout(function(){var a=n.config.onUnhandledError;if(!a)throw u;a(u)})}},34088:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createInvalidObservableTypeError=void 0,f.createInvalidObservableTypeError=function o(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},46700:(ve,f,o)=>{"use strict";o.d(f,{g:()=>i});var n=o(95657);class i extends n.E{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const a=super._subscribe(u);return!a.closed&&u.next(this._value),a}getValue(){const{hasError:u,thrownError:a,_value:e}=this;if(u)throw a;return this._throwIfClosed(),e}next(u){super.next(this._value=u)}}},53252:(ve,f,o)=>{"use strict";o.d(f,{_:()=>l});var n=o(41760),i=o(46928),d=o(90472),u=o(83928),a=o(74491),e=o(38880),c=o(92075);let l=(()=>{class S{constructor(m){m&&(this._subscribe=m)}lift(m){const h=new S;return h.source=this,h.operator=m,h}subscribe(m,h,C){const v=function p(S){return S&&S instanceof n.yR||function b(S){return S&&(0,e.m)(S.next)&&(0,e.m)(S.error)&&(0,e.m)(S.complete)}(S)&&(0,i.GI)(S)}(m)?m:new n.ot(m,h,C);return(0,c.c)(()=>{const{operator:M,source:E}=this;v.add(M?M.call(v,E):E?this._subscribe(v):this._trySubscribe(v))}),v}_trySubscribe(m){try{return this._subscribe(m)}catch(h){m.error(h)}}forEach(m,h){return new(h=g(h))((C,v)=>{const M=new n.ot({next:E=>{try{m(E)}catch(A){v(A),M.unsubscribe()}},error:v,complete:C});this.subscribe(M)})}_subscribe(m){var h;return null===(h=this.source)||void 0===h?void 0:h.subscribe(m)}[d.a](){return this}pipe(...m){return(0,u.Y)(m)(this)}toPromise(m){return new(m=g(m))((h,C)=>{let v;this.subscribe(M=>v=M,M=>C(M),()=>h(v))})}}return S.create=y=>new S(y),S})();function g(S){var y;return null!==(y=S??a.config.Promise)&&void 0!==y?y:Promise}},22540:(ve,f,o)=>{"use strict";o.d(f,{o:()=>d});var n=o(95657),i=o(35960);class d extends n.E{constructor(a=1/0,e=1/0,c=i.K){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=c,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:c,_infiniteTimeWindow:l,_timestampProvider:g,_windowTime:b}=this;e||(c.push(a),!l&&c.push(g.now()+b)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:c,_buffer:l}=this,g=l.slice();for(let b=0;b{"use strict";o.d(f,{E:()=>c});var n=o(53252),i=o(46928);const u=(0,o(14912).w)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var a=o(41248),e=o(92075);let c=(()=>{class g extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const S=new l(this,this);return S.operator=p,S}_throwIfClosed(){if(this.closed)throw new u}next(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const S of this.currentObservers)S.next(p)}})}error(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:S}=this;for(;S.length;)S.shift().error(p)}})}complete(){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:S,isStopped:y,observers:m}=this;return S||y?i.au:(this.currentObservers=null,m.push(p),new i.wH(()=>{this.currentObservers=null,(0,a.k)(m,p)}))}_checkFinalizedStatuses(p){const{hasError:S,thrownError:y,isStopped:m}=this;S?p.error(y):m&&p.complete()}asObservable(){const p=new n._;return p.source=this,p}}return g.create=(b,p)=>new l(b,p),g})();class l extends c{constructor(b,p){super(),this.destination=b,this.source=p}next(b){var p,S;null===(S=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===S||S.call(p,b)}error(b){var p,S;null===(S=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===S||S.call(p,b)}complete(){var b,p;null===(p=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===p||p.call(b)}_subscribe(b){var p,S;return null!==(S=null===(p=this.source)||void 0===p?void 0:p.subscribe(b))&&void 0!==S?S:i.au}}},41760:(ve,f,o)=>{"use strict";o.d(f,{ot:()=>C,yR:()=>S});var n=o(38880),i=o(46928),d=o(74491),u=o(31984),a=o(20308);const e=g("C",void 0,void 0);function g(T,R,N){return{kind:T,value:R,error:N}}var b=o(43376),p=o(92075);class S extends i.wH{constructor(R){super(),this.isStopped=!1,R?(this.destination=R,(0,i.GI)(R)&&R.add(this)):this.destination=A}static create(R,N,P){return new C(R,N,P)}next(R){this.isStopped?E(function l(T){return g("N",T,void 0)}(R),this):this._next(R)}error(R){this.isStopped?E(function c(T){return g("E",void 0,T)}(R),this):(this.isStopped=!0,this._error(R))}complete(){this.isStopped?E(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(R){this.destination.next(R)}_error(R){try{this.destination.error(R)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const y=Function.prototype.bind;function m(T,R){return y.call(T,R)}class h{constructor(R){this.partialObserver=R}next(R){const{partialObserver:N}=this;if(N.next)try{N.next(R)}catch(P){v(P)}}error(R){const{partialObserver:N}=this;if(N.error)try{N.error(R)}catch(P){v(P)}else v(R)}complete(){const{partialObserver:R}=this;if(R.complete)try{R.complete()}catch(N){v(N)}}}class C extends S{constructor(R,N,P){let L;if(super(),(0,n.m)(R)||!R)L={next:R??void 0,error:N??void 0,complete:P??void 0};else{let x;this&&d.config.useDeprecatedNextContext?(x=Object.create(R),x.unsubscribe=()=>this.unsubscribe(),L={next:R.next&&m(R.next,x),error:R.error&&m(R.error,x),complete:R.complete&&m(R.complete,x)}):L=R}this.destination=new h(L)}}function v(T){d.config.useDeprecatedSynchronousErrorHandling?(0,p.q)(T):(0,u.U)(T)}function E(T,R){const{onStoppedNotification:N}=d.config;N&&b.u.setTimeout(()=>N(T,R))}const A={closed:!0,next:a.K,error:function M(T){throw T},complete:a.K}},46928:(ve,f,o)=>{"use strict";o.d(f,{au:()=>e,wH:()=>a,GI:()=>c});var n=o(38880);const d=(0,o(14912).w)(g=>function(p){g(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((S,y)=>`${y+1}) ${S.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var u=o(41248);class a{constructor(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let b;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const m of p)m.remove(this);else p.remove(this);const{initialTeardown:S}=this;if((0,n.m)(S))try{S()}catch(m){b=m instanceof d?m.errors:[m]}const{_finalizers:y}=this;if(y){this._finalizers=null;for(const m of y)try{l(m)}catch(h){b=b??[],h instanceof d?b=[...b,...h.errors]:b.push(h)}}if(b)throw new d(b)}}add(b){var p;if(b&&b!==this)if(this.closed)l(b);else{if(b instanceof a){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(b)}}_hasParent(b){const{_parentage:p}=this;return p===b||Array.isArray(p)&&p.includes(b)}_addParent(b){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(b),p):p?[p,b]:b}_removeParent(b){const{_parentage:p}=this;p===b?this._parentage=null:Array.isArray(p)&&(0,u.k)(p,b)}remove(b){const{_finalizers:p}=this;p&&(0,u.k)(p,b),b instanceof a&&b._removeParent(this)}}a.EMPTY=(()=>{const g=new a;return g.closed=!0,g})();const e=a.EMPTY;function c(g){return g instanceof a||g&&"closed"in g&&(0,n.m)(g.remove)&&(0,n.m)(g.add)&&(0,n.m)(g.unsubscribe)}function l(g){(0,n.m)(g)?g():g.unsubscribe()}},74491:(ve,f,o)=>{"use strict";o.d(f,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(ve,f,o)=>{"use strict";o.d(f,{E:()=>b});var n=o(53252),i=o(64300),d=o(74496),u=o(528),a=o(74187),e=o(59472),c=o(67904),l=o(87773),g=o(69399);function b(...y){const m=(0,e.e_)(y),h=(0,e.yu)(y),{args:C,keys:v}=(0,i.Q)(y);if(0===C.length)return(0,d.Q)([],m);const M=new n._(function p(y,m,h=u.Z){return C=>{S(m,()=>{const{length:v}=y,M=new Array(v);let E=v,A=v;for(let T=0;T{const R=(0,d.Q)(y[T],m);let N=!1;R.subscribe((0,l.e)(C,P=>{M[T]=P,N||(N=!0,A--),A||C.next(h(M.slice()))},()=>{--E||C.complete()}))},C)},C)}}(C,m,v?E=>(0,c.q)(v,E):u.Z));return h?M.pipe((0,a.j)(h)):M}function S(y,m,h){y?(0,g._)(h,y,m):m()}},41424:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>d});var n=o(53252),i=o(50560);function d(u){return new n._(a=>{(0,i.Uv)(u()).subscribe(a)})}},28960:(ve,f,o)=>{"use strict";o.d(f,{k:()=>i});const i=new(o(53252)._)(a=>a.complete())},74496:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>P});var n=o(50560),i=o(69399),d=o(95448),u=o(87773);function a(L,x=0){return(0,d.i)((V,F)=>{V.subscribe((0,u.e)(F,ee=>(0,i._)(F,L,()=>F.next(ee),x),()=>(0,i._)(F,L,()=>F.complete(),x),ee=>(0,i._)(F,L,()=>F.error(ee),x)))})}function e(L,x=0){return(0,d.i)((V,F)=>{F.add(L.schedule(()=>V.subscribe(F),x))})}var g=o(53252),p=o(23835),S=o(38880);function m(L,x){if(!L)throw new Error("Iterable cannot be null");return new g._(V=>{(0,i._)(V,x,()=>{const F=L[Symbol.asyncIterator]();(0,i._)(V,x,()=>{F.next().then(ee=>{ee.done?V.complete():V.next(ee.value)})},0,!0)})})}var h=o(35099),C=o(55432),v=o(45428),M=o(61688),E=o(60376),A=o(58272),T=o(45832);function P(L,x){return x?function N(L,x){if(null!=L){if((0,h.O)(L))return function c(L,x){return(0,n.Uv)(L).pipe(e(x),a(x))}(L,x);if((0,v.G)(L))return function b(L,x){return new g._(V=>{let F=0;return x.schedule(function(){F===L.length?V.complete():(V.next(L[F++]),V.closed||this.schedule())})})}(L,x);if((0,C.u)(L))return function l(L,x){return(0,n.Uv)(L).pipe(e(x),a(x))}(L,x);if((0,E.E)(L))return m(L,x);if((0,M.i)(L))return function y(L,x){return new g._(V=>{let F;return(0,i._)(V,x,()=>{F=L[p.w](),(0,i._)(V,x,()=>{let ee,X;try{({value:ee,done:X}=F.next())}catch(ce){return void V.error(ce)}X?V.complete():V.next(ee)},0,!0)}),()=>(0,S.m)(F?.return)&&F.return()})}(L,x);if((0,T.K)(L))return function R(L,x){return m((0,T._)(L),x)}(L,x)}throw(0,A.W)(L)}(L,x):(0,n.Uv)(L)}},70800:(ve,f,o)=>{"use strict";o.d(f,{w:()=>b});var n=o(50560),i=o(53252),d=o(7400),u=o(45428),a=o(38880),e=o(74187);const c=["addListener","removeListener"],l=["addEventListener","removeEventListener"],g=["on","off"];function b(h,C,v,M){if((0,a.m)(v)&&(M=v,v=void 0),M)return b(h,C,v).pipe((0,e.j)(M));const[E,A]=function m(h){return(0,a.m)(h.addEventListener)&&(0,a.m)(h.removeEventListener)}(h)?l.map(T=>R=>h[T](C,R,v)):function S(h){return(0,a.m)(h.addListener)&&(0,a.m)(h.removeListener)}(h)?c.map(p(h,C)):function y(h){return(0,a.m)(h.on)&&(0,a.m)(h.off)}(h)?g.map(p(h,C)):[];if(!E&&(0,u.G)(h))return(0,d.O)(T=>b(T,C,v))((0,n.Uv)(h));if(!E)throw new TypeError("Invalid event target");return new i._(T=>{const R=(...N)=>T.next(1A(R)})}function p(h,C){return v=>M=>h[v](C,M)}},50560:(ve,f,o)=>{"use strict";o.d(f,{Uv:()=>y});var n=o(81316),i=o(45428),d=o(55432),u=o(53252),a=o(35099),e=o(60376),c=o(58272),l=o(61688),g=o(45832),b=o(38880),p=o(31984),S=o(90472);function y(T){if(T instanceof u._)return T;if(null!=T){if((0,a.O)(T))return function m(T){return new u._(R=>{const N=T[S.a]();if((0,b.m)(N.subscribe))return N.subscribe(R);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(T);if((0,i.G)(T))return function h(T){return new u._(R=>{for(let N=0;N{T.then(N=>{R.closed||(R.next(N),R.complete())},N=>R.error(N)).then(null,p.U)})}(T);if((0,e.E)(T))return M(T);if((0,l.i)(T))return function v(T){return new u._(R=>{for(const N of T)if(R.next(N),R.closed)return;R.complete()})}(T);if((0,g.K)(T))return function E(T){return M((0,g._)(T))}(T)}throw(0,c.W)(T)}function M(T){return new u._(R=>{(function A(T,R){var N,P,L,x;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(N=(0,n.__asyncValues)(T);!(P=yield N.next()).done;)if(R.next(P.value),R.closed)return}catch(V){L={error:V}}finally{try{P&&!P.done&&(x=N.return)&&(yield x.call(N))}finally{if(L)throw L.error}}R.complete()})})(T,R).catch(N=>R.error(N))})}},82700:(ve,f,o)=>{"use strict";o.d(f,{of:()=>d});var n=o(59472),i=o(74496);function d(...u){const a=(0,n.e_)(u);return(0,i.Q)(u,a)}},87773:(ve,f,o)=>{"use strict";o.d(f,{e:()=>i});var n=o(41760);function i(u,a,e,c,l){return new d(u,a,e,c,l)}class d extends n.yR{constructor(a,e,c,l,g,b){super(a),this.onFinalize=g,this.shouldUnsubscribe=b,this._next=e?function(p){try{e(p)}catch(S){a.error(S)}}:super._next,this._error=l?function(p){try{l(p)}catch(S){a.error(S)}finally{this.unsubscribe()}}:super._error,this._complete=c?function(){try{c()}catch(p){a.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var a;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(a=this.onFinalize)||void 0===a||a.call(this))}}}},39144:(ve,f,o)=>{"use strict";o.d(f,{a:()=>u});var n=o(50560),i=o(87773),d=o(95448);function u(a){return(0,d.i)((e,c)=>{let b,l=null,g=!1;l=e.subscribe((0,i.e)(c,void 0,void 0,p=>{b=(0,n.Uv)(a(p,u(a)(e))),l?(l.unsubscribe(),l=null,b.subscribe(c)):g=!0})),g&&(l.unsubscribe(),l=null,b.subscribe(c))})}},26020:(ve,f,o)=>{"use strict";o.d(f,{m:()=>d});var n=o(7400),i=o(38880);function d(u,a){return(0,i.m)(a)?(0,n.O)(u,a,1):(0,n.O)(u,1)}},22156:(ve,f,o)=>{"use strict";o.d(f,{G:()=>d});var n=o(95448),i=o(87773);function d(u){return(0,n.i)((a,e)=>{let c=!1;a.subscribe((0,i.e)(e,l=>{c=!0,e.next(l)},()=>{c||e.next(u),e.complete()}))})}},66684:(ve,f,o)=>{"use strict";o.d(f,{I:()=>d});var n=o(95448),i=o(87773);function d(u,a){return(0,n.i)((e,c)=>{let l=0;e.subscribe((0,i.e)(c,g=>u.call(a,g,l++)&&c.next(g)))})}},68824:(ve,f,o)=>{"use strict";o.d(f,{U:()=>i});var n=o(95448);function i(d){return(0,n.i)((u,a)=>{try{u.subscribe(a)}finally{a.add(d)}})}},75084:(ve,f,o)=>{"use strict";o.d(f,{K:()=>c});var n=o(37696),i=o(66684),d=o(3992),u=o(22156),a=o(98124),e=o(528);function c(l,g){const b=arguments.length>=2;return p=>p.pipe(l?(0,i.I)((S,y)=>l(S,y,p)):e.Z,(0,d.U)(1),b?(0,u.G)(g):(0,a._)(()=>new n.G))}},54704:(ve,f,o)=>{"use strict";o.d(f,{k:()=>d});var n=o(95448),i=o(87773);function d(u,a){return(0,n.i)((e,c)=>{let l=0;e.subscribe((0,i.e)(c,g=>{c.next(u.call(a,g,l++))}))})}},32700:(ve,f,o)=>{"use strict";o.d(f,{e:()=>i});var n=o(54704);function i(d){return(0,n.k)(()=>d)}},7400:(ve,f,o)=>{"use strict";o.d(f,{O:()=>l});var n=o(54704),i=o(50560),d=o(95448),u=o(69399),a=o(87773),c=o(38880);function l(g,b,p=1/0){return(0,c.m)(b)?l((S,y)=>(0,n.k)((m,h)=>b(S,m,y,h))((0,i.Uv)(g(S,y))),p):("number"==typeof b&&(p=b),(0,d.i)((S,y)=>function e(g,b,p,S,y,m,h,C){const v=[];let M=0,E=0,A=!1;const T=()=>{A&&!v.length&&!M&&b.complete()},R=P=>M{m&&b.next(P),M++;let L=!1;(0,i.Uv)(p(P,E++)).subscribe((0,a.e)(b,x=>{y?.(x),m?R(x):b.next(x)},()=>{L=!0},void 0,()=>{if(L)try{for(M--;v.length&&MN(x)):N(x)}T()}catch(x){b.error(x)}}))};return g.subscribe((0,a.e)(b,R,()=>{A=!0,T()})),()=>{C?.()}}(S,y,g,p)))}},17368:(ve,f,o)=>{"use strict";o.d(f,{G:()=>u});var n=o(50560),i=o(95448),d=o(87773);function u(a,e){return(0,i.i)((c,l)=>{let g=null,b=0,p=!1;const S=()=>p&&!g&&l.complete();c.subscribe((0,d.e)(l,y=>{g?.unsubscribe();let m=0;const h=b++;(0,n.Uv)(a(y,h)).subscribe(g=(0,d.e)(l,C=>l.next(e?e(y,C,h,m++):C),()=>{g=null,S()}))},()=>{p=!0,S()}))})}},3992:(ve,f,o)=>{"use strict";o.d(f,{U:()=>u});var n=o(28960),i=o(95448),d=o(87773);function u(a){return a<=0?()=>n.k:(0,i.i)((e,c)=>{let l=0;e.subscribe((0,d.e)(c,g=>{++l<=a&&(c.next(g),a<=l&&c.complete())}))})}},53616:(ve,f,o)=>{"use strict";o.d(f,{a:()=>a});var n=o(95448),i=o(87773),d=o(50560),u=o(20308);function a(e){return(0,n.i)((c,l)=>{(0,d.Uv)(e).subscribe((0,i.e)(l,()=>l.complete(),u.K)),!l.closed&&c.subscribe(l)})}},19212:(ve,f,o)=>{"use strict";o.d(f,{y:()=>a});var n=o(38880),i=o(95448),d=o(87773),u=o(528);function a(e,c,l){const g=(0,n.m)(e)||c||l?{next:e,error:c,complete:l}:e;return g?(0,i.i)((b,p)=>{var S;null===(S=g.subscribe)||void 0===S||S.call(g);let y=!0;b.subscribe((0,d.e)(p,m=>{var h;null===(h=g.next)||void 0===h||h.call(g,m),p.next(m)},()=>{var m;y=!1,null===(m=g.complete)||void 0===m||m.call(g),p.complete()},m=>{var h;y=!1,null===(h=g.error)||void 0===h||h.call(g,m),p.error(m)},()=>{var m,h;y&&(null===(m=g.unsubscribe)||void 0===m||m.call(g)),null===(h=g.finalize)||void 0===h||h.call(g)}))}):u.Z}},98124:(ve,f,o)=>{"use strict";o.d(f,{_:()=>u});var n=o(37696),i=o(95448),d=o(87773);function u(e=a){return(0,i.i)((c,l)=>{let g=!1;c.subscribe((0,d.e)(l,b=>{g=!0,l.next(b)},()=>g?l.complete():l.error(e())))})}function a(){return new n.G}},35960:(ve,f,o)=>{"use strict";o.d(f,{K:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},43376:(ve,f,o)=>{"use strict";o.d(f,{u:()=>n});const n={setTimeout(i,d,...u){const{delegate:a}=n;return a?.setTimeout?a.setTimeout(i,d,...u):setTimeout(i,d,...u)},clearTimeout(i){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(i)},delegate:void 0}},23835:(ve,f,o)=>{"use strict";o.d(f,{w:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(ve,f,o)=>{"use strict";o.d(f,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(ve,f,o)=>{"use strict";o.d(f,{G:()=>i});const i=(0,o(14912).w)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(ve,f,o)=>{"use strict";o.d(f,{yu:()=>u,e_:()=>a});var n=o(38880);function d(c){return c[c.length-1]}function u(c){return(0,n.m)(d(c))?c.pop():void 0}function a(c){return function i(c){return c&&(0,n.m)(c.schedule)}(d(c))?c.pop():void 0}},64300:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>a});const{isArray:n}=Array,{getPrototypeOf:i,prototype:d,keys:u}=Object;function a(c){if(1===c.length){const l=c[0];if(n(l))return{args:l,keys:null};if(function e(c){return c&&"object"==typeof c&&i(c)===d}(l)){const g=u(l);return{args:g.map(b=>l[b]),keys:g}}}return{args:c,keys:null}}},41248:(ve,f,o)=>{"use strict";function n(i,d){if(i){const u=i.indexOf(d);0<=u&&i.splice(u,1)}}o.d(f,{k:()=>n})},14912:(ve,f,o)=>{"use strict";function n(i){const u=i(a=>{Error.call(a),a.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}o.d(f,{w:()=>n})},67904:(ve,f,o)=>{"use strict";function n(i,d){return i.reduce((u,a,e)=>(u[a]=d[e],u),{})}o.d(f,{q:()=>n})},92075:(ve,f,o)=>{"use strict";o.d(f,{c:()=>d,q:()=>u});var n=o(74491);let i=null;function d(a){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!i;if(e&&(i={errorThrown:!1,error:null}),a(),e){const{errorThrown:c,error:l}=i;if(i=null,c)throw l}}else a()}function u(a){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=a)}},69399:(ve,f,o)=>{"use strict";function n(i,d,u,a=0,e=!1){const c=d.schedule(function(){u(),e?i.add(this.schedule(null,a)):this.unsubscribe()},a);if(i.add(c),!e)return c}o.d(f,{_:()=>n})},528:(ve,f,o)=>{"use strict";function n(i){return i}o.d(f,{Z:()=>n})},45428:(ve,f,o)=>{"use strict";o.d(f,{G:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},60376:(ve,f,o)=>{"use strict";o.d(f,{E:()=>i});var n=o(38880);function i(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},38880:(ve,f,o)=>{"use strict";function n(i){return"function"==typeof i}o.d(f,{m:()=>n})},35099:(ve,f,o)=>{"use strict";o.d(f,{O:()=>d});var n=o(90472),i=o(38880);function d(u){return(0,i.m)(u[n.a])}},61688:(ve,f,o)=>{"use strict";o.d(f,{i:()=>d});var n=o(23835),i=o(38880);function d(u){return(0,i.m)(u?.[n.w])}},55432:(ve,f,o)=>{"use strict";o.d(f,{u:()=>i});var n=o(38880);function i(d){return(0,n.m)(d?.then)}},45832:(ve,f,o)=>{"use strict";o.d(f,{K:()=>u,_:()=>d});var n=o(81316),i=o(38880);function d(a){return(0,n.__asyncGenerator)(this,arguments,function*(){const c=a.getReader();try{for(;;){const{value:l,done:g}=yield(0,n.__await)(c.read());if(g)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(l)}}finally{c.releaseLock()}})}function u(a){return(0,i.m)(a?.getReader)}},95448:(ve,f,o)=>{"use strict";o.d(f,{e:()=>i,i:()=>d});var n=o(38880);function i(u){return(0,n.m)(u?.lift)}function d(u){return a=>{if(i(a))return a.lift(function(e){try{return u(e,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(ve,f,o)=>{"use strict";o.d(f,{j:()=>u});var n=o(54704);const{isArray:i}=Array;function u(a){return(0,n.k)(e=>function d(a,e){return i(e)?a(...e):a(e)}(a,e))}},20308:(ve,f,o)=>{"use strict";function n(){}o.d(f,{K:()=>n})},83928:(ve,f,o)=>{"use strict";o.d(f,{W:()=>i,Y:()=>d});var n=o(528);function i(...u){return d(u)}function d(u){return 0===u.length?n.Z:1===u.length?u[0]:function(e){return u.reduce((c,l)=>l(c),e)}}},31984:(ve,f,o)=>{"use strict";o.d(f,{U:()=>d});var n=o(74491),i=o(43376);function d(u){i.u.setTimeout(()=>{const{onUnhandledError:a}=n.config;if(!a)throw u;a(u)})}},58272:(ve,f,o)=>{"use strict";function n(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(f,{W:()=>n})},16213:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(f,"parse",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(f,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(f,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(f,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(f,"v4",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(f,"v5",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(f,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(f,"version",{enumerable:!0,get:function(){return e.default}});var n=b(o(14400)),i=b(o(86664)),d=b(o(35368)),u=b(o(52632)),a=b(o(936)),e=b(o(54424)),c=b(o(54e3)),l=b(o(6944)),g=b(o(92612));function b(p){return p&&p.__esModule?p:{default:p}}},75440:(ve,f)=>{"use strict";function i(y){return 14+(y+64>>>9<<4)+1}function a(y,m){const h=(65535&y)+(65535&m);return(y>>16)+(m>>16)+(h>>16)<<16|65535&h}function c(y,m,h,C,v,M){return a(function e(y,m){return y<>>32-m}(a(a(m,y),a(C,M)),v),h)}function l(y,m,h,C,v,M,E){return c(m&h|~m&C,y,m,v,M,E)}function g(y,m,h,C,v,M,E){return c(m&C|h&~C,y,m,v,M,E)}function b(y,m,h,C,v,M,E){return c(m^h^C,y,m,v,M,E)}function p(y,m,h,C,v,M,E){return c(h^(m|~C),y,m,v,M,E)}Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default=function o(y){if("string"==typeof y){const m=unescape(encodeURIComponent(y));y=new Uint8Array(m.length);for(let h=0;h>5]>>>v%32&255,E=parseInt(C.charAt(M>>>4&15)+C.charAt(15&M),16);m.push(E)}return m}(function d(y,m){y[m>>5]|=128<>5]|=(255&y[C/8])<{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};f.default=n},936:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default="00000000-0000-0000-0000-000000000000"},92612:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function i(a){return a&&a.__esModule?a:{default:a}}(o(54e3));f.default=function d(a){if(!(0,n.default)(a))throw TypeError("Invalid UUID");let e;const c=new Uint8Array(16);return c[0]=(e=parseInt(a.slice(0,8),16))>>>24,c[1]=e>>>16&255,c[2]=e>>>8&255,c[3]=255&e,c[4]=(e=parseInt(a.slice(9,13),16))>>>8,c[5]=255&e,c[6]=(e=parseInt(a.slice(14,18),16))>>>8,c[7]=255&e,c[8]=(e=parseInt(a.slice(19,23),16))>>>8,c[9]=255&e,c[10]=(e=parseInt(a.slice(24,36),16))/1099511627776&255,c[11]=e/4294967296&255,c[12]=e>>>24&255,c[13]=e>>>16&255,c[14]=e>>>8&255,c[15]=255&e,c}},18280:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},98256:(ve,f)=>{"use strict";let o;Object.defineProperty(f,"__esModule",{value:!0}),f.default=function i(){if(!o&&(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(n)};const n=new Uint8Array(16)},18780:(ve,f)=>{"use strict";function o(u,a,e,c){switch(u){case 0:return a&e^~a&c;case 1:case 3:return a^e^c;case 2:return a&e^a&c^e&c}}function n(u,a){return u<>>32-a}Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default=function i(u){const a=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof u){const b=unescape(encodeURIComponent(u));u=[];for(let p=0;p>>0;C=h,h=m,m=n(y,30)>>>0,y=S,S=E}e[0]=e[0]+S>>>0,e[1]=e[1]+y>>>0,e[2]=e[2]+m>>>0,e[3]=e[3]+h>>>0,e[4]=e[4]+C>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]}},6944:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.unsafeStringify=u;var n=function i(c){return c&&c.__esModule?c:{default:c}}(o(54e3));const d=[];for(let c=0;c<256;++c)d.push((c+256).toString(16).slice(1));function u(c,l=0){return d[c[l+0]]+d[c[l+1]]+d[c[l+2]]+d[c[l+3]]+"-"+d[c[l+4]]+d[c[l+5]]+"-"+d[c[l+6]]+d[c[l+7]]+"-"+d[c[l+8]]+d[c[l+9]]+"-"+d[c[l+10]]+d[c[l+11]]+d[c[l+12]]+d[c[l+13]]+d[c[l+14]]+d[c[l+15]]}f.default=function a(c,l=0){const g=u(c,l);if(!(0,n.default)(g))throw TypeError("Stringified UUID is invalid");return g}},14400:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function d(b){return b&&b.__esModule?b:{default:b}}(o(98256)),i=o(6944);let u,a,e=0,c=0;f.default=function l(b,p,S){let y=p&&S||0;const m=p||new Array(16);let h=(b=b||{}).node||u,C=void 0!==b.clockseq?b.clockseq:a;if(null==h||null==C){const R=b.random||(b.rng||n.default)();null==h&&(h=u=[1|R[0],R[1],R[2],R[3],R[4],R[5]]),null==C&&(C=a=16383&(R[6]<<8|R[7]))}let v=void 0!==b.msecs?b.msecs:Date.now(),M=void 0!==b.nsecs?b.nsecs:c+1;const E=v-e+(M-c)/1e4;if(E<0&&void 0===b.clockseq&&(C=C+1&16383),(E<0||v>e)&&void 0===b.nsecs&&(M=0),M>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=v,c=M,a=C,v+=122192928e5;const A=(1e4*(268435455&v)+M)%4294967296;m[y++]=A>>>24&255,m[y++]=A>>>16&255,m[y++]=A>>>8&255,m[y++]=255&A;const T=v/4294967296*1e4&268435455;m[y++]=T>>>8&255,m[y++]=255&T,m[y++]=T>>>24&15|16,m[y++]=T>>>16&255,m[y++]=C>>>8|128,m[y++]=255&C;for(let R=0;R<6;++R)m[y+R]=h[R];return p||(0,i.unsafeStringify)(m)}},86664:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=d(o(65432)),i=d(o(75440));function d(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,i.default);f.default=a},65432:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.URL=f.DNS=void 0,f.default=function c(l,g,b){function p(S,y,m,h){var C;if("string"==typeof S&&(S=function u(l){l=unescape(encodeURIComponent(l));const g=[];for(let b=0;b{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=u(o(24400)),i=u(o(98256)),d=o(6944);function u(c){return c&&c.__esModule?c:{default:c}}f.default=function a(c,l,g){if(n.default.randomUUID&&!l&&!c)return n.default.randomUUID();const b=(c=c||{}).random||(c.rng||i.default)();if(b[6]=15&b[6]|64,b[8]=63&b[8]|128,l){g=g||0;for(let p=0;p<16;++p)l[g+p]=b[p];return l}return(0,d.unsafeStringify)(b)}},52632:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=d(o(65432)),i=d(o(18780));function d(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,i.default);f.default=a},54e3:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function i(a){return a&&a.__esModule?a:{default:a}}(o(18280));f.default=function d(a){return"string"==typeof a&&n.default.test(a)}},54424:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function i(a){return a&&a.__esModule?a:{default:a}}(o(54e3));f.default=function d(a){if(!(0,n.default)(a))throw TypeError("Invalid UUID");return parseInt(a.slice(14,15),16)}},21480:(ve,f,o)=>{var n={"./ion-accordion_2.entry.js":[28956,9312,8956],"./ion-action-sheet.entry.js":[6736,9312,6736],"./ion-alert.entry.js":[41644,9312,1644],"./ion-app_8.entry.js":[63936,9312,3936],"./ion-avatar_3.entry.js":[79428,9428],"./ion-back-button.entry.js":[66932,9312,6932],"./ion-backdrop.entry.js":[38019,8019],"./ion-breadcrumb_2.entry.js":[67752,9312,7752],"./ion-button_2.entry.js":[9580,9580],"./ion-card_5.entry.js":[71048,1048],"./ion-checkbox.entry.js":[43752,9312,3752],"./ion-chip.entry.js":[1492,1492],"./ion-col_3.entry.js":[49584,9584],"./ion-datetime-button.entry.js":[17864,1136,7864],"./ion-datetime_3.entry.js":[38048,1136,9312,8048],"./ion-fab_3.entry.js":[61812,9312,1812],"./ion-img.entry.js":[73296,3296],"./ion-infinite-scroll_2.entry.js":[11488,9312,1488],"./ion-input.entry.js":[93500,9312,3500],"./ion-item-option_3.entry.js":[42448,9312,2448],"./ion-item_8.entry.js":[8772,9312,8772],"./ion-loading.entry.js":[82948,9312,2948],"./ion-menu_3.entry.js":[47676,9312,7676],"./ion-modal.entry.js":[96824,9312,6824],"./ion-nav_2.entry.js":[2372,2372],"./ion-picker-column-internal.entry.js":[88232,9312,8232],"./ion-picker-internal.entry.js":[74656,4656],"./ion-popover.entry.js":[24168,9312,4168],"./ion-progress-bar.entry.js":[83264,3264],"./ion-radio_2.entry.js":[57176,9312,7176],"./ion-range.entry.js":[63180,9312,3180],"./ion-refresher_2.entry.js":[32e3,9312,2e3],"./ion-reorder_2.entry.js":[93604,9312,3604],"./ion-ripple-effect.entry.js":[43667,3667],"./ion-route_4.entry.js":[54284,4284],"./ion-searchbar.entry.js":[82580,9312,2580],"./ion-segment_2.entry.js":[47528,9312,7528],"./ion-select_3.entry.js":[44272,9312,4272],"./ion-spinner.entry.js":[71172,9312,1172],"./ion-split-pane.entry.js":[42624,2624],"./ion-tab-bar_2.entry.js":[31708,9312,1708],"./ion-tab_2.entry.js":[95956,5956],"./ion-text.entry.js":[55828,5828],"./ion-textarea.entry.js":[9440,9312,9440],"./ion-toast.entry.js":[39836,9312,9836],"./ion-toggle.entry.js":[42776,9312,2776]};function i(d){if(!o.o(n,d))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+d+"'");throw e.code="MODULE_NOT_FOUND",e});var u=n[d],a=u[0];return Promise.all(u.slice(1).map(o.e)).then(()=>o(a))}i.keys=()=>Object.keys(n),i.id=21480,ve.exports=i},92348:(ve,f,o)=>{var n={"./af":25140,"./af.js":25140,"./ar":17276,"./ar-dz":17096,"./ar-dz.js":17096,"./ar-kw":32200,"./ar-kw.js":32200,"./ar-ly":97252,"./ar-ly.js":97252,"./ar-ma":39568,"./ar-ma.js":39568,"./ar-ps":13068,"./ar-ps.js":13068,"./ar-sa":89052,"./ar-sa.js":89052,"./ar-tn":93956,"./ar-tn.js":93956,"./ar.js":17276,"./az":88240,"./az.js":88240,"./be":77796,"./be.js":77796,"./bg":89880,"./bg.js":89880,"./bm":84328,"./bm.js":84328,"./bn":60536,"./bn-bd":45104,"./bn-bd.js":45104,"./bn.js":60536,"./bo":51108,"./bo.js":51108,"./br":51296,"./br.js":51296,"./bs":2032,"./bs.js":2032,"./ca":20096,"./ca.js":20096,"./cs":41152,"./cs.js":41152,"./cv":69568,"./cv.js":69568,"./cy":78875,"./cy.js":78875,"./da":45424,"./da.js":45424,"./de":20992,"./de-at":72604,"./de-at.js":72604,"./de-ch":79168,"./de-ch.js":79168,"./de.js":20992,"./dv":67300,"./dv.js":67300,"./el":84400,"./el.js":84400,"./en-au":83536,"./en-au.js":83536,"./en-ca":39379,"./en-ca.js":39379,"./en-gb":47032,"./en-gb.js":47032,"./en-ie":71832,"./en-ie.js":71832,"./en-il":404,"./en-il.js":404,"./en-in":25716,"./en-in.js":25716,"./en-nz":15312,"./en-nz.js":15312,"./en-sg":53320,"./en-sg.js":53320,"./eo":96392,"./eo.js":96392,"./es":41964,"./es-do":38540,"./es-do.js":38540,"./es-mx":93504,"./es-mx.js":93504,"./es-us":69224,"./es-us.js":69224,"./es.js":41964,"./et":90596,"./et.js":90596,"./eu":8060,"./eu.js":8060,"./fa":68184,"./fa.js":68184,"./fi":36736,"./fi.js":36736,"./fil":49264,"./fil.js":49264,"./fo":48299,"./fo.js":48299,"./fr":51964,"./fr-ca":84584,"./fr-ca.js":84584,"./fr-ch":8024,"./fr-ch.js":8024,"./fr.js":51964,"./fy":22672,"./fy.js":22672,"./ga":26476,"./ga.js":26476,"./gd":35148,"./gd.js":35148,"./gl":32176,"./gl.js":32176,"./gom-deva":27260,"./gom-deva.js":27260,"./gom-latn":3772,"./gom-latn.js":3772,"./gu":39528,"./gu.js":39528,"./he":86832,"./he.js":86832,"./hi":95592,"./hi.js":95592,"./hr":56208,"./hr.js":56208,"./hu":33697,"./hu.js":33697,"./hy-am":2e4,"./hy-am.js":2e4,"./id":57840,"./id.js":57840,"./is":31496,"./is.js":31496,"./it":6336,"./it-ch":45736,"./it-ch.js":45736,"./it.js":6336,"./ja":58008,"./ja.js":58008,"./jv":30108,"./jv.js":30108,"./ka":61844,"./ka.js":61844,"./kk":78980,"./kk.js":78980,"./km":48544,"./km.js":48544,"./kn":70096,"./kn.js":70096,"./ko":87420,"./ko.js":87420,"./ku":60200,"./ku-kmr":4740,"./ku-kmr.js":4740,"./ku.js":60200,"./ky":44976,"./ky.js":44976,"./lb":4652,"./lb.js":4652,"./lo":53984,"./lo.js":53984,"./lt":8792,"./lt.js":8792,"./lv":6296,"./lv.js":6296,"./me":58256,"./me.js":58256,"./mi":29284,"./mi.js":29284,"./mk":33196,"./mk.js":33196,"./ml":45896,"./ml.js":45896,"./mn":32460,"./mn.js":32460,"./mr":80132,"./mr.js":80132,"./ms":73136,"./ms-my":88060,"./ms-my.js":88060,"./ms.js":73136,"./mt":46227,"./mt.js":46227,"./my":88300,"./my.js":88300,"./nb":14784,"./nb.js":14784,"./ne":75060,"./ne.js":75060,"./nl":4971,"./nl-be":94796,"./nl-be.js":94796,"./nl.js":4971,"./nn":18984,"./nn.js":18984,"./oc-lnc":59928,"./oc-lnc.js":59928,"./pa-in":76440,"./pa-in.js":76440,"./pl":96768,"./pl.js":96768,"./pt":18968,"./pt-br":51528,"./pt-br.js":51528,"./pt.js":18968,"./ro":5760,"./ro.js":5760,"./ru":19760,"./ru.js":19760,"./sd":53804,"./sd.js":53804,"./se":44100,"./se.js":44100,"./si":95301,"./si.js":95301,"./sk":79992,"./sk.js":79992,"./sl":35208,"./sl.js":35208,"./sq":27408,"./sq.js":27408,"./sr":10656,"./sr-cyrl":1128,"./sr-cyrl.js":1128,"./sr.js":10656,"./ss":10864,"./ss.js":10864,"./sv":16900,"./sv.js":16900,"./sw":81636,"./sw.js":81636,"./ta":24180,"./ta.js":24180,"./te":97008,"./te.js":97008,"./tet":50744,"./tet.js":50744,"./tg":58084,"./tg.js":58084,"./th":81672,"./th.js":81672,"./tk":57232,"./tk.js":57232,"./tl-ph":89480,"./tl-ph.js":89480,"./tlh":58512,"./tlh.js":58512,"./tr":56020,"./tr.js":56020,"./tzl":36240,"./tzl.js":36240,"./tzm":33064,"./tzm-latn":53384,"./tzm-latn.js":53384,"./tzm.js":33064,"./ug-cn":45852,"./ug-cn.js":45852,"./uk":12480,"./uk.js":12480,"./ur":63877,"./ur.js":63877,"./uz":91712,"./uz-latn":20108,"./uz-latn.js":20108,"./uz.js":91712,"./vi":9984,"./vi.js":9984,"./x-pseudo":45708,"./x-pseudo.js":45708,"./yo":78476,"./yo.js":78476,"./zh-cn":3676,"./zh-cn.js":3676,"./zh-hk":49880,"./zh-hk.js":49880,"./zh-mo":41968,"./zh-mo.js":41968,"./zh-tw":33632,"./zh-tw.js":33632};function i(u){var a=d(u);return o(a)}function d(u){if(!o.o(n,u)){var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}return n[u]}i.keys=function(){return Object.keys(n)},i.resolve=d,ve.exports=i,i.id=92348},22892:()=>{},45344:()=>{},10440:()=>{},22224:()=>{},65724:()=>{},8160:()=>{},1196:ve=>{function f(n,i,d,u,a,e,c){try{var l=n[e](c),g=l.value}catch(b){return void d(b)}l.done?i(g):Promise.resolve(g).then(u,a)}ve.exports=function o(n){return function(){var i=this,d=arguments;return new Promise(function(u,a){var e=n.apply(i,d);function c(g){f(e,u,a,c,l,"next",g)}function l(g){f(e,u,a,c,l,"throw",g)}c(void 0)})}},ve.exports.__esModule=!0,ve.exports.default=ve.exports},91368:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{APP_BASE_HREF:()=>h,AsyncPipe:()=>Gt,BrowserPlatformLocation:()=>b,CommonModule:()=>go,CurrencyPipe:()=>Zr,DATE_PIPE_DEFAULT_OPTIONS:()=>lo,DATE_PIPE_DEFAULT_TIMEZONE:()=>ct,DOCUMENT:()=>c,DatePipe:()=>vi,DecimalPipe:()=>ti,FormStyle:()=>x,FormatWidth:()=>F,HashLocationStrategy:()=>v,I18nPluralPipe:()=>Pn,I18nSelectPipe:()=>Gn,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Xi,JsonPipe:()=>si,KeyValuePipe:()=>ai,LOCATION_INITIALIZED:()=>g,Location:()=>M,LocationStrategy:()=>m,LowerCasePipe:()=>Nn,NgClass:()=>dn,NgComponentOutlet:()=>En,NgFor:()=>Yn,NgForOf:()=>Yn,NgForOfContext:()=>Xn,NgIf:()=>zn,NgIfContext:()=>ur,NgLocaleLocalization:()=>Ir,NgLocalization:()=>or,NgOptimizedImage:()=>bn,NgPlural:()=>Ae,NgPluralCase:()=>et,NgStyle:()=>pt,NgSwitch:()=>z,NgSwitchCase:()=>de,NgSwitchDefault:()=>Fe,NgTemplateOutlet:()=>At,NumberFormatStyle:()=>P,NumberSymbol:()=>ee,PRECONNECT_CHECK_BLOCKLIST:()=>Xo,PathLocationStrategy:()=>C,PercentPipe:()=>Xr,PlatformLocation:()=>l,Plural:()=>L,SlicePipe:()=>Yi,TitleCasePipe:()=>cr,TranslationWidth:()=>V,UpperCasePipe:()=>Nr,VERSION:()=>qr,ViewportScroller:()=>ar,WeekDay:()=>X,XhrFactory:()=>Eo,formatCurrency:()=>pr,formatDate:()=>dt,formatNumber:()=>er,formatPercent:()=>Jn,getCurrencySymbol:()=>Wt,getLocaleCurrencyCode:()=>be,getLocaleCurrencyName:()=>Ie,getLocaleCurrencySymbol:()=>ye,getLocaleDateFormat:()=>K,getLocaleDateTimeFormat:()=>re,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>Q,getLocaleDirection:()=>ft,getLocaleEraNames:()=>H,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>nt,getLocaleFirstDayOfWeek:()=>ae,getLocaleId:()=>ce,getLocaleMonthNames:()=>Y,getLocaleNumberFormat:()=>ue,getLocaleNumberSymbol:()=>G,getLocalePluralCase:()=>De,getLocaleTimeFormat:()=>W,getLocaleWeekEndRange:()=>J,getNumberOfCurrencyDigits:()=>Bt,isPlatformBrowser:()=>Rr,isPlatformServer:()=>mo,isPlatformWorkerApp:()=>_i,isPlatformWorkerUi:()=>xi,provideCloudflareLoader:()=>Co,provideCloudinaryLoader:()=>ns,provideImageKitLoader:()=>cs,provideImgixLoader:()=>hs,provideNetlifyLoader:()=>ut,registerLocaleData:()=>at,\u0275DomAdapter:()=>a,\u0275NullViewportScroller:()=>bi,\u0275PLATFORM_BROWSER_ID:()=>Jr,\u0275PLATFORM_SERVER_ID:()=>zi,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>ro,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>d,\u0275normalizeQueryParams:()=>y,\u0275parseCookieValue:()=>Ot,\u0275setRootDomAdapter:()=>u});var n=o(54496);let i=null;function d(){return i}function u(q){i??=q}class a{}let e=(()=>{class q{static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:()=>window.navigation,providedIn:"platform"})}return q})();const c=new n.InjectionToken("");let l=(()=>{class q{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:()=>(0,n.inject)(b),providedIn:"platform"})}return q})();const g=new n.InjectionToken("");let b=(()=>{class q extends l{constructor(){super(),this._doc=(0,n.inject)(c),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Se){const Re=d().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("popstate",Se,!1),()=>Re.removeEventListener("popstate",Se)}onHashChange(Se){const Re=d().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("hashchange",Se,!1),()=>Re.removeEventListener("hashchange",Se)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Se){this._location.pathname=Se}pushState(Se,Re,Mt){this._history.pushState(Se,Re,Mt)}replaceState(Se,Re,Mt){this._history.replaceState(Se,Re,Mt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Se=0){this._history.go(Se)}getState(){return this._history.state}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:()=>new q,providedIn:"platform"})}return q})();function p(q,Ve){if(0==q.length)return Ve;if(0==Ve.length)return q;let Se=0;return q.endsWith("/")&&Se++,Ve.startsWith("/")&&Se++,2==Se?q+Ve.substring(1):1==Se?q+Ve:q+"/"+Ve}function S(q){const Ve=q.match(/#|\?|$/),Se=Ve&&Ve.index||q.length;return q.slice(0,Se-("/"===q[Se-1]?1:0))+q.slice(Se)}function y(q){return q&&"?"!==q[0]?"?"+q:q}let m=(()=>{class q{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:()=>(0,n.inject)(C),providedIn:"root"})}return q})();const h=new n.InjectionToken("");let C=(()=>{class q extends m{constructor(Se,Re){super(),this._platformLocation=Se,this._removeListenerFns=[],this._baseHref=Re??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(c).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}prepareExternalUrl(Se){return p(this._baseHref,Se)}path(Se=!1){const Re=this._platformLocation.pathname+y(this._platformLocation.search),Mt=this._platformLocation.hash;return Mt&&Se?`${Re}${Mt}`:Re}pushState(Se,Re,Mt,Xt){const sn=this.prepareExternalUrl(Mt+y(Xt));this._platformLocation.pushState(Se,Re,sn)}replaceState(Se,Re,Mt,Xt){const sn=this.prepareExternalUrl(Mt+y(Xt));this._platformLocation.replaceState(Se,Re,sn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(h,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})(),v=(()=>{class q extends m{constructor(Se,Re){super(),this._platformLocation=Se,this._baseHref="",this._removeListenerFns=[],null!=Re&&(this._baseHref=Re)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}path(Se=!1){const Re=this._platformLocation.hash??"#";return Re.length>0?Re.substring(1):Re}prepareExternalUrl(Se){const Re=p(this._baseHref,Se);return Re.length>0?"#"+Re:Re}pushState(Se,Re,Mt,Xt){let sn=this.prepareExternalUrl(Mt+y(Xt));0==sn.length&&(sn=this._platformLocation.pathname),this._platformLocation.pushState(Se,Re,sn)}replaceState(Se,Re,Mt,Xt){let sn=this.prepareExternalUrl(Mt+y(Xt));0==sn.length&&(sn=this._platformLocation.pathname),this._platformLocation.replaceState(Se,Re,sn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(h,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}return q})(),M=(()=>{class q{constructor(Se){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Se;const Re=this._locationStrategy.getBaseHref();this._basePath=function R(q){if(new RegExp("^(https?:)?//").test(q)){const[,Se]=q.split(/\/\/[^\/]+/);return Se}return q}(S(T(Re))),this._locationStrategy.onPopState(Mt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Mt.state,type:Mt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Se=!1){return this.normalize(this._locationStrategy.path(Se))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Se,Re=""){return this.path()==this.normalize(Se+y(Re))}normalize(Se){return q.stripTrailingSlash(function A(q,Ve){if(!q||!Ve.startsWith(q))return Ve;const Se=Ve.substring(q.length);return""===Se||["/",";","?","#"].includes(Se[0])?Se:Ve}(this._basePath,T(Se)))}prepareExternalUrl(Se){return Se&&"/"!==Se[0]&&(Se="/"+Se),this._locationStrategy.prepareExternalUrl(Se)}go(Se,Re="",Mt=null){this._locationStrategy.pushState(Mt,"",Se,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+y(Re)),Mt)}replaceState(Se,Re="",Mt=null){this._locationStrategy.replaceState(Mt,"",Se,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+y(Re)),Mt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Se=0){this._locationStrategy.historyGo?.(Se)}onUrlChange(Se){return this._urlChangeListeners.push(Se),this._urlChangeSubscription??=this.subscribe(Re=>{this._notifyUrlChangeListeners(Re.url,Re.state)}),()=>{const Re=this._urlChangeListeners.indexOf(Se);this._urlChangeListeners.splice(Re,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Se="",Re){this._urlChangeListeners.forEach(Mt=>Mt(Se,Re))}subscribe(Se,Re,Mt){return this._subject.subscribe({next:Se,error:Re,complete:Mt})}static#e=this.normalizeQueryParams=y;static#t=this.joinWithSlash=p;static#n=this.stripTrailingSlash=S;static#r=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275inject(m))};static#o=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:()=>function E(){return new M((0,n.\u0275\u0275inject)(m))}(),providedIn:"root"})}return q})();function T(q){return q.replace(/\/index.html$/,"")}const N={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var P=function(q){return q[q.Decimal=0]="Decimal",q[q.Percent=1]="Percent",q[q.Currency=2]="Currency",q[q.Scientific=3]="Scientific",q}(P||{}),L=function(q){return q[q.Zero=0]="Zero",q[q.One=1]="One",q[q.Two=2]="Two",q[q.Few=3]="Few",q[q.Many=4]="Many",q[q.Other=5]="Other",q}(L||{}),x=function(q){return q[q.Format=0]="Format",q[q.Standalone=1]="Standalone",q}(x||{}),V=function(q){return q[q.Narrow=0]="Narrow",q[q.Abbreviated=1]="Abbreviated",q[q.Wide=2]="Wide",q[q.Short=3]="Short",q}(V||{}),F=function(q){return q[q.Short=0]="Short",q[q.Medium=1]="Medium",q[q.Long=2]="Long",q[q.Full=3]="Full",q}(F||{}),ee=function(q){return q[q.Decimal=0]="Decimal",q[q.Group=1]="Group",q[q.List=2]="List",q[q.PercentSign=3]="PercentSign",q[q.PlusSign=4]="PlusSign",q[q.MinusSign=5]="MinusSign",q[q.Exponential=6]="Exponential",q[q.SuperscriptingExponent=7]="SuperscriptingExponent",q[q.PerMille=8]="PerMille",q[q.Infinity=9]="Infinity",q[q.NaN=10]="NaN",q[q.TimeSeparator=11]="TimeSeparator",q[q.CurrencyDecimal=12]="CurrencyDecimal",q[q.CurrencyGroup=13]="CurrencyGroup",q}(ee||{}),X=function(q){return q[q.Sunday=0]="Sunday",q[q.Monday=1]="Monday",q[q.Tuesday=2]="Tuesday",q[q.Wednesday=3]="Wednesday",q[q.Thursday=4]="Thursday",q[q.Friday=5]="Friday",q[q.Saturday=6]="Saturday",q}(X||{});function ce(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.LocaleId]}function Q(q,Ve,Se){const Re=(0,n.\u0275findLocaleData)(q),Xt=rt([Re[n.\u0275LocaleDataIndex.DayPeriodsFormat],Re[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ve);return rt(Xt,Se)}function ne(q,Ve,Se){const Re=(0,n.\u0275findLocaleData)(q),Xt=rt([Re[n.\u0275LocaleDataIndex.DaysFormat],Re[n.\u0275LocaleDataIndex.DaysStandalone]],Ve);return rt(Xt,Se)}function Y(q,Ve,Se){const Re=(0,n.\u0275findLocaleData)(q),Xt=rt([Re[n.\u0275LocaleDataIndex.MonthsFormat],Re[n.\u0275LocaleDataIndex.MonthsStandalone]],Ve);return rt(Xt,Se)}function H(q,Ve){return rt((0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.Eras],Ve)}function ae(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function J(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.WeekendRange]}function K(q,Ve){return rt((0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.DateFormat],Ve)}function W(q,Ve){return rt((0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.TimeFormat],Ve)}function re(q,Ve){return rt((0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.DateTimeFormat],Ve)}function G(q,Ve){const Se=(0,n.\u0275findLocaleData)(q),Re=Se[n.\u0275LocaleDataIndex.NumberSymbols][Ve];if(typeof Re>"u"){if(Ve===ee.CurrencyDecimal)return Se[n.\u0275LocaleDataIndex.NumberSymbols][ee.Decimal];if(Ve===ee.CurrencyGroup)return Se[n.\u0275LocaleDataIndex.NumberSymbols][ee.Group]}return Re}function ue(q,Ve){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.NumberFormats][Ve]}function ye(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Ie(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.CurrencyName]||null}function be(q){return(0,n.\u0275getLocaleCurrencyCode)(q)}const De=n.\u0275getLocalePluralCase;function ze(q){if(!q[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${q[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(q){const Ve=(0,n.\u0275findLocaleData)(q);return ze(Ve),(Ve[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Re=>"string"==typeof Re?mt(Re):[mt(Re[0]),mt(Re[1])])}function nt(q,Ve,Se){const Re=(0,n.\u0275findLocaleData)(q);ze(Re);const Xt=rt([Re[n.\u0275LocaleDataIndex.ExtraData][0],Re[n.\u0275LocaleDataIndex.ExtraData][1]],Ve)||[];return rt(Xt,Se)||[]}function ft(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.Directionality]}function rt(q,Ve){for(let Se=Ve;Se>-1;Se--)if(typeof q[Se]<"u")return q[Se];throw new Error("Locale data API: locale data undefined")}function mt(q){const[Ve,Se]=q.split(":");return{hours:+Ve,minutes:+Se}}function Wt(q,Ve,Se="en"){const Re=function ie(q){return(0,n.\u0275findLocaleData)(q)[n.\u0275LocaleDataIndex.Currencies]}(Se)[q]||N[q]||[],Mt=Re[1];return"narrow"===Ve&&"string"==typeof Mt?Mt:Re[0]||q}const bt=2;function Bt(q){let Ve;const Se=N[q];return Se&&(Ve=Se[2]),"number"==typeof Ve?Ve:bt}const an=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hn={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var An=function(q){return q[q.Short=0]="Short",q[q.ShortGMT=1]="ShortGMT",q[q.Long=2]="Long",q[q.Extended=3]="Extended",q}(An||{}),vn=function(q){return q[q.FullYear=0]="FullYear",q[q.Month=1]="Month",q[q.Date=2]="Date",q[q.Hours=3]="Hours",q[q.Minutes=4]="Minutes",q[q.Seconds=5]="Seconds",q[q.FractionalSeconds=6]="FractionalSeconds",q[q.Day=7]="Day",q}(vn||{}),en=function(q){return q[q.DayPeriods=0]="DayPeriods",q[q.Days=1]="Days",q[q.Months=2]="Months",q[q.Eras=3]="Eras",q}(en||{});function dt(q,Ve,Se,Re){let Mt=function yn(q){if(nn(q))return q;if("number"==typeof q&&!isNaN(q))return new Date(q);if("string"==typeof q){if(q=q.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(q)){const[Mt,Xt=1,sn=1]=q.split("-").map(In=>+In);return Ue(Mt,Xt-1,sn)}const Se=parseFloat(q);if(!isNaN(q-Se))return new Date(Se);let Re;if(Re=q.match(an))return function Tn(q){const Ve=new Date(0);let Se=0,Re=0;const Mt=q[8]?Ve.setUTCFullYear:Ve.setFullYear,Xt=q[8]?Ve.setUTCHours:Ve.setHours;q[9]&&(Se=Number(q[9]+q[10]),Re=Number(q[9]+q[11])),Mt.call(Ve,Number(q[1]),Number(q[2])-1,Number(q[3]));const sn=Number(q[4]||0)-Se,In=Number(q[5]||0)-Re,gr=Number(q[6]||0),br=Math.floor(1e3*parseFloat("0."+(q[7]||0)));return Xt.call(Ve,sn,In,gr,br),Ve}(Re)}const Ve=new Date(q);if(!nn(Ve))throw new Error(`Unable to convert "${q}" into a date`);return Ve}(q);Ve=we(Se,Ve)||Ve;let In,sn=[];for(;Ve;){if(In=wn.exec(Ve),!In){sn.push(Ve);break}{sn=sn.concat(In.slice(1));const Wr=sn.pop();if(!Wr)break;Ve=Wr}}let gr=Mt.getTimezoneOffset();Re&&(gr=Ct(Re,gr),Mt=function tn(q,Ve,Se){const Re=Se?-1:1,Mt=q.getTimezoneOffset();return function It(q,Ve){return(q=new Date(q.getTime())).setMinutes(q.getMinutes()+Ve),q}(q,Re*(Ct(Ve,Mt)-Mt))}(Mt,Re,!0));let br="";return sn.forEach(Wr=>{const Cr=function $t(q){if(wt[q])return wt[q];let Ve;switch(q){case"G":case"GG":case"GGG":Ve=_t(en.Eras,V.Abbreviated);break;case"GGGG":Ve=_t(en.Eras,V.Wide);break;case"GGGGG":Ve=_t(en.Eras,V.Narrow);break;case"y":Ve=ht(vn.FullYear,1,0,!1,!0);break;case"yy":Ve=ht(vn.FullYear,2,0,!0,!0);break;case"yyy":Ve=ht(vn.FullYear,3,0,!1,!0);break;case"yyyy":Ve=ht(vn.FullYear,4,0,!1,!0);break;case"Y":Ve=Zt(1);break;case"YY":Ve=Zt(2,!0);break;case"YYY":Ve=Zt(3);break;case"YYYY":Ve=Zt(4);break;case"M":case"L":Ve=ht(vn.Month,1,1);break;case"MM":case"LL":Ve=ht(vn.Month,2,1);break;case"MMM":Ve=_t(en.Months,V.Abbreviated);break;case"MMMM":Ve=_t(en.Months,V.Wide);break;case"MMMMM":Ve=_t(en.Months,V.Narrow);break;case"LLL":Ve=_t(en.Months,V.Abbreviated,x.Standalone);break;case"LLLL":Ve=_t(en.Months,V.Wide,x.Standalone);break;case"LLLLL":Ve=_t(en.Months,V.Narrow,x.Standalone);break;case"w":Ve=Ht(1);break;case"ww":Ve=Ht(2);break;case"W":Ve=Ht(1,!0);break;case"d":Ve=ht(vn.Date,1);break;case"dd":Ve=ht(vn.Date,2);break;case"c":case"cc":Ve=ht(vn.Day,1);break;case"ccc":Ve=_t(en.Days,V.Abbreviated,x.Standalone);break;case"cccc":Ve=_t(en.Days,V.Wide,x.Standalone);break;case"ccccc":Ve=_t(en.Days,V.Narrow,x.Standalone);break;case"cccccc":Ve=_t(en.Days,V.Short,x.Standalone);break;case"E":case"EE":case"EEE":Ve=_t(en.Days,V.Abbreviated);break;case"EEEE":Ve=_t(en.Days,V.Wide);break;case"EEEEE":Ve=_t(en.Days,V.Narrow);break;case"EEEEEE":Ve=_t(en.Days,V.Short);break;case"a":case"aa":case"aaa":Ve=_t(en.DayPeriods,V.Abbreviated);break;case"aaaa":Ve=_t(en.DayPeriods,V.Wide);break;case"aaaaa":Ve=_t(en.DayPeriods,V.Narrow);break;case"b":case"bb":case"bbb":Ve=_t(en.DayPeriods,V.Abbreviated,x.Standalone,!0);break;case"bbbb":Ve=_t(en.DayPeriods,V.Wide,x.Standalone,!0);break;case"bbbbb":Ve=_t(en.DayPeriods,V.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=_t(en.DayPeriods,V.Abbreviated,x.Format,!0);break;case"BBBB":Ve=_t(en.DayPeriods,V.Wide,x.Format,!0);break;case"BBBBB":Ve=_t(en.DayPeriods,V.Narrow,x.Format,!0);break;case"h":Ve=ht(vn.Hours,1,-12);break;case"hh":Ve=ht(vn.Hours,2,-12);break;case"H":Ve=ht(vn.Hours,1);break;case"HH":Ve=ht(vn.Hours,2);break;case"m":Ve=ht(vn.Minutes,1);break;case"mm":Ve=ht(vn.Minutes,2);break;case"s":Ve=ht(vn.Seconds,1);break;case"ss":Ve=ht(vn.Seconds,2);break;case"S":Ve=ht(vn.FractionalSeconds,1);break;case"SS":Ve=ht(vn.FractionalSeconds,2);break;case"SSS":Ve=ht(vn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=Et(An.Short);break;case"ZZZZZ":Ve=Et(An.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=Et(An.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=Et(An.Long);break;default:return null}return wt[q]=Ve,Ve}(Wr);br+=Cr?Cr(Mt,Se,gr):"''"===Wr?"'":Wr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),br}function Ue(q,Ve,Se){const Re=new Date(0);return Re.setFullYear(q,Ve,Se),Re.setHours(0,0,0),Re}function we(q,Ve){const Se=ce(q);if(hn[Se]??={},hn[Se][Ve])return hn[Se][Ve];let Re="";switch(Ve){case"shortDate":Re=K(q,F.Short);break;case"mediumDate":Re=K(q,F.Medium);break;case"longDate":Re=K(q,F.Long);break;case"fullDate":Re=K(q,F.Full);break;case"shortTime":Re=W(q,F.Short);break;case"mediumTime":Re=W(q,F.Medium);break;case"longTime":Re=W(q,F.Long);break;case"fullTime":Re=W(q,F.Full);break;case"short":const Mt=we(q,"shortTime"),Xt=we(q,"shortDate");Re=Pe(re(q,F.Short),[Mt,Xt]);break;case"medium":const sn=we(q,"mediumTime"),In=we(q,"mediumDate");Re=Pe(re(q,F.Medium),[sn,In]);break;case"long":const gr=we(q,"longTime"),br=we(q,"longDate");Re=Pe(re(q,F.Long),[gr,br]);break;case"full":const Wr=we(q,"fullTime"),Cr=we(q,"fullDate");Re=Pe(re(q,F.Full),[Wr,Cr])}return Re&&(hn[Se][Ve]=Re),Re}function Pe(q,Ve){return Ve&&(q=q.replace(/\{([^}]+)}/g,function(Se,Re){return null!=Ve&&Re in Ve?Ve[Re]:Se})),q}function Ge(q,Ve,Se="-",Re,Mt){let Xt="";(q<0||Mt&&q<=0)&&(Mt?q=1-q:(q=-q,Xt=Se));let sn=String(q);for(;sn.length0||In>-Se)&&(In+=Se),q===vn.Hours)0===In&&-12===Se&&(In=12);else if(q===vn.FractionalSeconds)return function je(q,Ve){return Ge(q,3).substring(0,Ve)}(In,Ve);const gr=G(sn,ee.MinusSign);return Ge(In,Ve,gr,Re,Mt)}}function _t(q,Ve,Se=x.Format,Re=!1){return function(Mt,Xt){return function lt(q,Ve,Se,Re,Mt,Xt){switch(Se){case en.Months:return Y(Ve,Mt,Re)[q.getMonth()];case en.Days:return ne(Ve,Mt,Re)[q.getDay()];case en.DayPeriods:const sn=q.getHours(),In=q.getMinutes();if(Xt){const br=qe(Ve),Wr=nt(Ve,Mt,Re),Cr=br.findIndex(Qr=>{if(Array.isArray(Qr)){const[Hr,Ri]=Qr,eo=sn>=Hr.hours&&In>=Hr.minutes,Vo=sn0?Math.floor(Mt/60):Math.ceil(Mt/60);switch(q){case An.Short:return(Mt>=0?"+":"")+Ge(sn,2,Xt)+Ge(Math.abs(Mt%60),2,Xt);case An.ShortGMT:return"GMT"+(Mt>=0?"+":"")+Ge(sn,1,Xt);case An.Long:return"GMT"+(Mt>=0?"+":"")+Ge(sn,2,Xt)+":"+Ge(Math.abs(Mt%60),2,Xt);case An.Extended:return 0===Re?"Z":(Mt>=0?"+":"")+Ge(sn,2,Xt)+":"+Ge(Math.abs(Mt%60),2,Xt);default:throw new Error(`Unknown zone width "${q}"`)}}}const it=0,Yt=4;function Tt(q){const Ve=q.getDay(),Se=0===Ve?-3:Yt-Ve;return Ue(q.getFullYear(),q.getMonth(),q.getDate()+Se)}function Ht(q,Ve=!1){return function(Se,Re){let Mt;if(Ve){const Xt=new Date(Se.getFullYear(),Se.getMonth(),1).getDay()-1,sn=Se.getDate();Mt=1+Math.floor((sn+Xt)/7)}else{const Xt=Tt(Se),sn=function gt(q){const Ve=Ue(q,it,1).getDay();return Ue(q,0,1+(Ve<=Yt?Yt:Yt+7)-Ve)}(Xt.getFullYear()),In=Xt.getTime()-sn.getTime();Mt=1+Math.round(In/6048e5)}return Ge(Mt,q,G(Re,ee.MinusSign))}}function Zt(q,Ve=!1){return function(Se,Re){return Ge(Tt(Se).getFullYear(),q,G(Re,ee.MinusSign),Ve)}}const wt={};function Ct(q,Ve){q=q.replace(/:/g,"");const Se=Date.parse("Jan 01, 1970 00:00:00 "+q)/6e4;return isNaN(Se)?Ve:Se}function nn(q){return q instanceof Date&&!isNaN(q.valueOf())}const nr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kr=22,Br=".",sr="0",Mr=";",yr=",",qn="#",Rn="\xa4",oi="%";function Sr(q,Ve,Se,Re,Mt,Xt,sn=!1){let In="",gr=!1;if(isFinite(q)){let br=function qt(q){let Re,Mt,Xt,sn,In,Ve=Math.abs(q)+"",Se=0;for((Mt=Ve.indexOf(Br))>-1&&(Ve=Ve.replace(Br,"")),(Xt=Ve.search(/e/i))>0?(Mt<0&&(Mt=Xt),Mt+=+Ve.slice(Xt+1),Ve=Ve.substring(0,Xt)):Mt<0&&(Mt=Ve.length),Xt=0;Ve.charAt(Xt)===sr;Xt++);if(Xt===(In=Ve.length))Re=[0],Mt=1;else{for(In--;Ve.charAt(In)===sr;)In--;for(Mt-=Xt,Re=[],sn=0;Xt<=In;Xt++,sn++)Re[sn]=Number(Ve.charAt(Xt))}return Mt>kr&&(Re=Re.splice(0,kr-1),Se=Mt-1,Mt=1),{digits:Re,exponent:Se,integerLen:Mt}}(q);sn&&(br=function pi(q){if(0===q.digits[0])return q;const Ve=q.digits.length-q.integerLen;return q.exponent?q.exponent+=2:(0===Ve?q.digits.push(0,0):1===Ve&&q.digits.push(0),q.integerLen+=2),q}(br));let Wr=Ve.minInt,Cr=Ve.minFrac,Qr=Ve.maxFrac;if(Xt){const fo=Xt.match(nr);if(null===fo)throw new Error(`${Xt} is not a valid digit info`);const so=fo[1],Yo=fo[3],hi=fo[5];null!=so&&(Wr=Qn(so)),null!=Yo&&(Cr=Qn(Yo)),null!=hi?Qr=Qn(hi):null!=Yo&&Cr>Qr&&(Qr=Cr)}!function jn(q,Ve,Se){if(Ve>Se)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${Se}).`);let Re=q.digits,Mt=Re.length-q.integerLen;const Xt=Math.min(Math.max(Ve,Mt),Se);let sn=Xt+q.integerLen,In=Re[sn];if(sn>0){Re.splice(Math.max(q.integerLen,sn));for(let Cr=sn;Cr=5)if(sn-1<0){for(let Cr=0;Cr>sn;Cr--)Re.unshift(0),q.integerLen++;Re.unshift(1),q.integerLen++}else Re[sn-1]++;for(;Mt=br?Ri.pop():gr=!1),Qr>=10?1:0},0);Wr&&(Re.unshift(Wr),q.integerLen++)}(br,Cr,Qr);let Hr=br.digits,Ri=br.integerLen;const eo=br.exponent;let Vo=[];for(gr=Hr.every(fo=>!fo);Ri0?Vo=Hr.splice(Ri,Hr.length):(Vo=Hr,Hr=[0]);const gs=[];for(Hr.length>=Ve.lgSize&&gs.unshift(Hr.splice(-Ve.lgSize,Hr.length).join(""));Hr.length>Ve.gSize;)gs.unshift(Hr.splice(-Ve.gSize,Hr.length).join(""));Hr.length&&gs.unshift(Hr.join("")),In=gs.join(G(Se,Re)),Vo.length&&(In+=G(Se,Mt)+Vo.join("")),eo&&(In+=G(Se,ee.Exponential)+"+"+eo)}else In=G(Se,ee.Infinity);return In=q<0&&!gr?Ve.negPre+In+Ve.negSuf:Ve.posPre+In+Ve.posSuf,In}function pr(q,Ve,Se,Re,Mt){const sn=Or(ue(Ve,P.Currency),G(Ve,ee.MinusSign));return sn.minFrac=Bt(Re),sn.maxFrac=sn.minFrac,Sr(q,sn,Ve,ee.CurrencyGroup,ee.CurrencyDecimal,Mt).replace(Rn,Se).replace(Rn,"").trim()}function Jn(q,Ve,Se){return Sr(q,Or(ue(Ve,P.Percent),G(Ve,ee.MinusSign)),Ve,ee.Group,ee.Decimal,Se,!0).replace(new RegExp(oi,"g"),G(Ve,ee.PercentSign))}function er(q,Ve,Se){return Sr(q,Or(ue(Ve,P.Decimal),G(Ve,ee.MinusSign)),Ve,ee.Group,ee.Decimal,Se)}function Or(q,Ve="-"){const Se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Re=q.split(Mr),Mt=Re[0],Xt=Re[1],sn=-1!==Mt.indexOf(Br)?Mt.split(Br):[Mt.substring(0,Mt.lastIndexOf(sr)+1),Mt.substring(Mt.lastIndexOf(sr)+1)],In=sn[0],gr=sn[1]||"";Se.posPre=In.substring(0,In.indexOf(qn));for(let Wr=0;Wr{class q{static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:function(Re){let Mt=null;return Re?Mt=new Re:(Xt=n.\u0275\u0275inject(n.LOCALE_ID),Mt=new Ir(Xt)),Mt;var Xt},providedIn:"root"})}return q})();function ui(q,Ve,Se,Re){let Mt=`=${q}`;if(Ve.indexOf(Mt)>-1||(Mt=Se.getPluralCategory(q,Re),Ve.indexOf(Mt)>-1))return Mt;if(Ve.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${q}"`)}let Ir=(()=>{class q extends or{constructor(Se){super(),this.locale=Se}getPluralCategory(Se,Re){switch(De(Re||this.locale)(Se)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac})}return q})();function at(q,Ve,Se){return(0,n.\u0275registerLocaleData)(q,Ve,Se)}function Ot(q,Ve){Ve=encodeURIComponent(Ve);for(const Se of q.split(";")){const Re=Se.indexOf("="),[Mt,Xt]=-1==Re?[Se,""]:[Se.slice(0,Re),Se.slice(Re+1)];if(Mt.trim()===Ve)return decodeURIComponent(Xt)}return null}const Pt=/\s+/,rn=[];let dn=(()=>{class q{constructor(Se,Re){this._ngEl=Se,this._renderer=Re,this.initialClasses=rn,this.stateMap=new Map}set klass(Se){this.initialClasses=null!=Se?Se.trim().split(Pt):rn}set ngClass(Se){this.rawClass="string"==typeof Se?Se.trim().split(Pt):Se}ngDoCheck(){for(const Re of this.initialClasses)this._updateState(Re,!0);const Se=this.rawClass;if(Array.isArray(Se)||Se instanceof Set)for(const Re of Se)this._updateState(Re,!0);else if(null!=Se)for(const Re of Object.keys(Se))this._updateState(Re,!!Se[Re]);this._applyStateDiff()}_updateState(Se,Re){const Mt=this.stateMap.get(Se);void 0!==Mt?(Mt.enabled!==Re&&(Mt.changed=!0,Mt.enabled=Re),Mt.touched=!0):this.stateMap.set(Se,{enabled:Re,changed:!0,touched:!0})}_applyStateDiff(){for(const Se of this.stateMap){const Re=Se[0],Mt=Se[1];Mt.changed?(this._toggleClass(Re,Mt.enabled),Mt.changed=!1):Mt.touched||(Mt.enabled&&this._toggleClass(Re,!1),this.stateMap.delete(Re)),Mt.touched=!1}}_toggleClass(Se,Re){(Se=Se.trim()).length>0&&Se.split(Pt).forEach(Mt=>{Re?this._renderer.addClass(this._ngEl.nativeElement,Mt):this._renderer.removeClass(this._ngEl.nativeElement,Mt)})}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return q})(),En=(()=>{class q{constructor(Se){this._viewContainerRef=Se,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Se){return void 0!==Se.ngComponentOutletNgModule||void 0!==Se.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Se){return void 0!==Se.ngComponentOutlet||void 0!==Se.ngComponentOutletContent||void 0!==Se.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Se)}ngOnChanges(Se){if(this._needToReCreateComponentInstance(Se)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Re=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Se)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,Mn(Re)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Mn(Re)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Re,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Se of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Se,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Se){for(const[Re,Mt]of this._inputsUsed)Mt?(Se.setInput(Re,this.ngComponentOutletInputs[Re]),this._inputsUsed.set(Re,!1)):(Se.setInput(Re,void 0),this._inputsUsed.delete(Re))}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return q})();function Mn(q){return q.get(n.NgModuleRef).injector}class Xn{constructor(Ve,Se,Re,Mt){this.$implicit=Ve,this.ngForOf=Se,this.index=Re,this.count=Mt}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 Yn=(()=>{class q{set ngForOf(Se){this._ngForOf=Se,this._ngForOfDirty=!0}set ngForTrackBy(Se){this._trackByFn=Se}get ngForTrackBy(){return this._trackByFn}constructor(Se,Re,Mt){this._viewContainer=Se,this._template=Re,this._differs=Mt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Se){Se&&(this._template=Se)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Se=this._ngForOf;!this._differ&&Se&&(this._differ=this._differs.find(Se).create(this.ngForTrackBy))}if(this._differ){const Se=this._differ.diff(this._ngForOf);Se&&this._applyChanges(Se)}}_applyChanges(Se){const Re=this._viewContainer;Se.forEachOperation((Mt,Xt,sn)=>{if(null==Mt.previousIndex)Re.createEmbeddedView(this._template,new Xn(Mt.item,this._ngForOf,-1,-1),null===sn?void 0:sn);else if(null==sn)Re.remove(null===Xt?void 0:Xt);else if(null!==Xt){const In=Re.get(Xt);Re.move(In,sn),Tr(In,Mt)}});for(let Mt=0,Xt=Re.length;Mt{Tr(Re.get(Mt.currentIndex),Mt)})}static ngTemplateContextGuard(Se,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return q})();function Tr(q,Ve){q.context.$implicit=Ve.item}let zn=(()=>{class q{constructor(Se,Re){this._viewContainer=Se,this._context=new ur,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Re}set ngIf(Se){this._context.$implicit=this._context.ngIf=Se,this._updateView()}set ngIfThen(Se){Ei("ngIfThen",Se),this._thenTemplateRef=Se,this._thenViewRef=null,this._updateView()}set ngIfElse(Se){Ei("ngIfElse",Se),this._elseTemplateRef=Se,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(Se,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return q})();class ur{constructor(){this.$implicit=null,this.ngIf=null}}function Ei(q,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${q} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Ve)}'.`)}class B{constructor(Ve,Se){this._viewContainerRef=Ve,this._templateRef=Se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let z=(()=>{class q{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Se){this._ngSwitch=Se,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Se){this._defaultViews.push(Se)}_matchCase(Se){const Re=Se===this._ngSwitch;return this._lastCasesMatched||=Re,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Re}_updateDefaultCases(Se){if(this._defaultViews.length>0&&Se!==this._defaultUsed){this._defaultUsed=Se;for(const Re of this._defaultViews)Re.enforceState(Se)}}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return q})(),de=(()=>{class q{constructor(Se,Re,Mt){this.ngSwitch=Mt,Mt._addCase(),this._view=new B(Se,Re)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return q})(),Fe=(()=>{class q{constructor(Se,Re,Mt){Mt._addDefault(new B(Se,Re))}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return q})(),Ae=(()=>{class q{constructor(Se){this._localization=Se,this._caseViews={}}set ngPlural(Se){this._updateView(Se)}addCase(Se,Re){this._caseViews[Se]=Re}_updateView(Se){this._clearViews();const Mt=ui(Se,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Mt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Se){Se&&(this._activeView=Se,this._activeView.create())}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(or))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return q})(),et=(()=>{class q{constructor(Se,Re,Mt,Xt){this.value=Se;const sn=!isNaN(Number(Se));Xt.addCase(sn?`=${Se}`:Se,new B(Mt,Re))}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Ae,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngPluralCase",""]],standalone:!0})}return q})(),pt=(()=>{class q{constructor(Se,Re,Mt){this._ngEl=Se,this._differs=Re,this._renderer=Mt,this._ngStyle=null,this._differ=null}set ngStyle(Se){this._ngStyle=Se,!this._differ&&Se&&(this._differ=this._differs.find(Se).create())}ngDoCheck(){if(this._differ){const Se=this._differ.diff(this._ngStyle);Se&&this._applyChanges(Se)}}_setStyle(Se,Re){const[Mt,Xt]=Se.split("."),sn=-1===Mt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Re?this._renderer.setStyle(this._ngEl.nativeElement,Mt,Xt?`${Re}${Xt}`:Re,sn):this._renderer.removeStyle(this._ngEl.nativeElement,Mt,sn)}_applyChanges(Se){Se.forEachRemovedItem(Re=>this._setStyle(Re.key,null)),Se.forEachAddedItem(Re=>this._setStyle(Re.key,Re.currentValue)),Se.forEachChangedItem(Re=>this._setStyle(Re.key,Re.currentValue))}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return q})(),At=(()=>{class q{constructor(Se){this._viewContainerRef=Se,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Se){if(this._shouldRecreateView(Se)){const Re=this._viewContainerRef;if(this._viewRef&&Re.remove(Re.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Mt=this._createContextForwardProxy();this._viewRef=Re.createEmbeddedView(this.ngTemplateOutlet,Mt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Se){return!!Se.ngTemplateOutlet||!!Se.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Se,Re,Mt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Re,Mt),get:(Se,Re,Mt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Re,Mt)}})}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return q})();function Jt(q,Ve){return new n.\u0275RuntimeError(2100,!1)}class mn{createSubscription(Ve,Se){return(0,n.untracked)(()=>Ve.subscribe({next:Se,error:Re=>{throw Re}}))}dispose(Ve){(0,n.untracked)(()=>Ve.unsubscribe())}}class _n{createSubscription(Ve,Se){return Ve.then(Se,Re=>{throw Re})}dispose(Ve){}}const Cn=new _n,fn=new mn;let Gt=(()=>{class q{constructor(Se){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Se}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Se){if(!this._obj){if(Se)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Se)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Se!==this._obj?(this._dispose(),this.transform(Se)):this._latestValue}_subscribe(Se){this._obj=Se,this._strategy=this._selectStrategy(Se),this._subscription=this._strategy.createSubscription(Se,Re=>this._updateLatestValue(Se,Re))}_selectStrategy(Se){if((0,n.\u0275isPromise)(Se))return Cn;if((0,n.\u0275isSubscribable)(Se))return fn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Se,Re){Se===this._obj&&(this._latestValue=Re,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:q,pure:!1,standalone:!0})}return q})(),Nn=(()=>{class q{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Jt();return Se.toLowerCase()}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:q,pure:!0,standalone:!0})}return q})();const lr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let cr=(()=>{class q{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Jt();return Se.replace(lr,Re=>Re[0].toUpperCase()+Re.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:q,pure:!0,standalone:!0})}return q})(),Nr=(()=>{class q{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Jt();return Se.toUpperCase()}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:q,pure:!0,standalone:!0})}return q})();const ct=new n.InjectionToken(""),lo=new n.InjectionToken("");let vi=(()=>{class q{constructor(Se,Re,Mt){this.locale=Se,this.defaultTimezone=Re,this.defaultOptions=Mt}transform(Se,Re,Mt,Xt){if(null==Se||""===Se||Se!=Se)return null;try{return dt(Se,Re??this.defaultOptions?.dateFormat??"mediumDate",Xt||this.locale,Mt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(sn){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(ct,24),n.\u0275\u0275directiveInject(lo,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:q,pure:!0,standalone:!0})}return q})();const _r=/#/g;let Pn=(()=>{class q{constructor(Se){this._localization=Se}transform(Se,Re,Mt){if(null==Se)return"";if("object"!=typeof Re||null===Re)throw Jt();return Re[ui(Se,Object.keys(Re),this._localization,Mt)].replace(_r,Se.toString())}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(or,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:q,pure:!0,standalone:!0})}return q})(),Gn=(()=>{class q{transform(Se,Re){if(null==Se)return"";if("object"!=typeof Re||"string"!=typeof Se)throw Jt();return Re.hasOwnProperty(Se)?Re[Se]:Re.hasOwnProperty("other")?Re.other:""}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:q,pure:!0,standalone:!0})}return q})(),si=(()=>{class q{transform(Se){return JSON.stringify(Se,null,2)}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:q,pure:!1,standalone:!0})}return q})(),ai=(()=>{class q{constructor(Se){this.differs=Se,this.keyValues=[],this.compareFn=Fn}transform(Se,Re=Fn){if(!Se||!(Se instanceof Map)&&"object"!=typeof Se)return null;this.differ??=this.differs.find(Se).create();const Mt=this.differ.diff(Se),Xt=Re!==this.compareFn;return Mt&&(this.keyValues=[],Mt.forEachItem(sn=>{this.keyValues.push(function Pr(q,Ve){return{key:q,value:Ve}}(sn.key,sn.currentValue))})),(Mt||Xt)&&(this.keyValues.sort(Re),this.compareFn=Re),this.keyValues}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:q,pure:!1,standalone:!0})}return q})();function Fn(q,Ve){const Se=q.key,Re=Ve.key;if(Se===Re)return 0;if(void 0===Se)return 1;if(void 0===Re)return-1;if(null===Se)return 1;if(null===Re)return-1;if("string"==typeof Se&&"string"==typeof Re)return Se{class q{constructor(Se){this._locale=Se}transform(Se,Re,Mt){if(!Vi(Se))return null;Mt||=this._locale;try{return er(hr(Se),Mt,Re)}catch(Xt){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:q,pure:!0,standalone:!0})}return q})(),Xr=(()=>{class q{constructor(Se){this._locale=Se}transform(Se,Re,Mt){if(!Vi(Se))return null;Mt||=this._locale;try{return Jn(hr(Se),Mt,Re)}catch(Xt){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:q,pure:!0,standalone:!0})}return q})(),Zr=(()=>{class q{constructor(Se,Re="USD"){this._locale=Se,this._defaultCurrencyCode=Re}transform(Se,Re=this._defaultCurrencyCode,Mt="symbol",Xt,sn){if(!Vi(Se))return null;sn||=this._locale,"boolean"==typeof Mt&&(Mt=Mt?"symbol":"code");let In=Re||this._defaultCurrencyCode;"code"!==Mt&&(In="symbol"===Mt||"symbol-narrow"===Mt?Wt(In,"symbol"===Mt?"wide":"narrow",sn):Mt);try{return pr(hr(Se),sn,In,Re,Xt)}catch(gr){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||q)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:q,pure:!0,standalone:!0})}return q})();function Vi(q){return!(null==q||""===q||q!=q)}function hr(q){if("string"==typeof q&&!isNaN(Number(q)-parseFloat(q)))return Number(q);if("number"!=typeof q)throw new Error(`${q} is not a number`);return q}let Yi=(()=>{class q{transform(Se,Re,Mt){if(null==Se)return null;if(!this.supports(Se))throw Jt();return Se.slice(Re,Mt)}supports(Se){return"string"==typeof Se||Array.isArray(Se)}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:q,pure:!1,standalone:!0})}return q})(),go=(()=>{class q{static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:q});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return q})();const Jr="browser",zi="server",qi="browserWorkerApp",ro="browserWorkerUi";function Rr(q){return q===Jr}function mo(q){return q===zi}function _i(q){return q===qi}function xi(q){return q===ro}const qr=new n.Version("17.2.3");let ar=(()=>{class q{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:q,providedIn:"root",factory:()=>Rr((0,n.inject)(n.PLATFORM_ID))?new bo((0,n.inject)(c),window):new bi})}return q})();class bo{constructor(Ve,Se){this.document=Ve,this.window=Se,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ve){this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){const Se=function wi(q,Ve){const Se=q.getElementById(Ve)||q.getElementsByName(Ve)[0];if(Se)return Se;if("function"==typeof q.createTreeWalker&&q.body&&"function"==typeof q.body.attachShadow){const Re=q.createTreeWalker(q.body,NodeFilter.SHOW_ELEMENT);let Mt=Re.currentNode;for(;Mt;){const Xt=Mt.shadowRoot;if(Xt){const sn=Xt.getElementById(Ve)||Xt.querySelector(`[name="${Ve}"]`);if(sn)return sn}Mt=Re.nextNode()}}return null}(this.document,Ve);Se&&(this.scrollToElement(Se),Se.focus())}setHistoryScrollRestoration(Ve){this.window.history.scrollRestoration=Ve}scrollToElement(Ve){const Se=Ve.getBoundingClientRect(),Re=Se.left+this.window.pageXOffset,Mt=Se.top+this.window.pageYOffset,Xt=this.offset();this.window.scrollTo(Re-Xt[0],Mt-Xt[1])}}class bi{setOffset(Ve){}getScrollPosition(){return[0,0]}scrollToPosition(Ve){}scrollToAnchor(Ve){}setHistoryScrollRestoration(Ve){}}class Eo{}function zr(q){return/^https?:\/\//.test(q)}function Ni(q){if("string"!=typeof q||""===q.trim())return!1;try{return new URL(q),!0}catch{return!1}}function Lo(q){return q.startsWith("/")?q.slice(1):q}const Oi=q=>q.src,Xi=new n.InjectionToken("",{providedIn:"root",factory:()=>Oi});function Li(q,Ve){return function(Re){return Ni(Re)||function Gi(q,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),Re=function Gr(q){return q.endsWith("/")?q.slice(0,-1):q}(Re),[{provide:Xi,useValue:sn=>(zr(sn.src)&&function Wo(q,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),q(Re,{...sn,src:Lo(sn.src)}))}]}}const Co=Li(Ro);function Ro(q,Ve){let Se="format=auto";return Ve.width&&(Se+=`,width=${Ve.width}`),`${q}/cdn-cgi/image/${Se}/${Ve.src}`}const ns=Li(rs);function rs(q,Ve){let Se="f_auto,q_auto";return Ve.width&&(Se+=`,w_${Ve.width}`),`${q}/image/upload/${Se}/${Ve.src}`}const cs=Li(co);function co(q,Ve){const{src:Se,width:Re}=Ve;let Mt;return Mt=Re?[q,`tr:w-${Re}`,Se]:[q,Se],Mt.join("/")}const hs=Li(Qo);function Qo(q,Ve){const Se=new URL(`${q}/${Ve.src}`);return Se.searchParams.set("auto","format"),Ve.width&&Se.searchParams.set("w",Ve.width.toString()),Se.href}function ut(q){if(q&&!Ni(q))throw new n.\u0275RuntimeError(2959,!1);return q&&(q=new URL(q).origin),[{provide:Xi,useValue:Re=>function $n(q,Ve){const Se=new URL(Ve??"https://a/");Se.pathname="/.netlify/images",!zr(q.src)&&!q.src.startsWith("/")&&(q.src="/"+q.src),Se.searchParams.set("url",q.src),q.width&&Se.searchParams.set("w",q.width.toString());for(const[Re,Mt]of Object.entries(q.loaderParams??{}))kt.has(Re)&&Se.searchParams.set(kt.get(Re),Mt.toString());return"a"===Se.hostname?Se.href.replace(Se.origin,""):Se.href}(Re,q)}]}const kt=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Xo=new n.InjectionToken(""),xo=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let _o=(()=>{class q{constructor(){this.preloadedImages=(0,n.inject)(xo),this.document=(0,n.inject)(c)}createPreloadLinkTag(Se,Re,Mt,Xt){if(this.preloadedImages.has(Re))return;this.preloadedImages.add(Re);const sn=Se.createElement("link");Se.setAttribute(sn,"as","image"),Se.setAttribute(sn,"href",Re),Se.setAttribute(sn,"rel","preload"),Se.setAttribute(sn,"fetchpriority","high"),Xt&&Se.setAttribute(sn,"imageSizes",Xt),Mt&&Se.setAttribute(sn,"imageSrcset",Mt),Se.appendChild(this.document.head,sn)}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();const To=/^((\s*\d+w\s*(,|$)){1,})$/,fs=[1,2];let bn=(()=>{class q{constructor(){this.imageLoader=(0,n.inject)(Xi),this.config=function Wn(q){let Ve={};return q.breakpoints&&(Ve.breakpoints=q.breakpoints.sort((Se,Re)=>Se-Re)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,q,Ve)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=mo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(_o),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Se=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Se,this.sizes)}ngOnChanges(Se){if(Se.ngSrc&&!Se.ngSrc.isFirstChange()){const Re=this._renderedSrc;this.updateSrcAndSrcset(!0);const Mt=this._renderedSrc;null!==this.lcpObserver&&Re&&Mt&&Re!==Mt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Re,Mt)})}}callImageLoader(Se){let Re=Se;return this.loaderParams&&(Re.loaderParams=this.loaderParams),this.imageLoader(Re)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Se=To.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Mt=>""!==Mt).map(Mt=>{Mt=Mt.trim();const Xt=Se?parseFloat(Mt):parseFloat(Mt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Xt})} ${Mt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Se}=this.config;let Re=Se;return"100vw"===this.sizes?.trim()&&(Re=Se.filter(Xt=>Xt>=640)),Re.map(Xt=>`${this.callImageLoader({src:this.ngSrc,width:Xt})} ${Xt}w`).join(", ")}updateSrcAndSrcset(Se=!1){Se&&(this._renderedSrc=null);const Re=this.getRewrittenSrc();let Mt;return this.setHostAttribute("src",Re),this.ngSrcset?Mt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Mt=this.getAutomaticSrcset()),Mt&&this.setHostAttribute("srcset",Mt),Mt}getFixedSrcset(){return fs.map(Re=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Re})} ${Re}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Se=!1;return this.sizes||(Se=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Oi&&!Se}generatePlaceholder(Se){const{placeholderResolution:Re}=this.config;return!0===Se?`url(${this.callImageLoader({src:this.ngSrc,width:Re,isPlaceholder:!0})})`:"string"==typeof Se&&Se.startsWith("data:")?`url(${Se})`:null}shouldBlurPlaceholder(Se){return!Se||!Se.hasOwnProperty("blur")||!!Se.blur}removePlaceholderOnLoad(Se){const Re=()=>{const sn=this.injector.get(n.ChangeDetectorRef);Mt(),Xt(),this.placeholder=!1,sn.markForCheck()},Mt=this.renderer.listen(Se,"load",Re),Xt=this.renderer.listen(Se,"error",Re)}ngOnDestroy(){}setHostAttribute(Se,Re){this.renderer.setAttribute(this.imgElement,Se,Re)}static#e=this.\u0275fac=function(Re){return new(Re||q)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Re,Mt){2&Re&&n.\u0275\u0275styleProp("position",Mt.fill?"absolute":null)("width",Mt.fill?"100%":null)("height",Mt.fill?"100%":null)("inset",Mt.fill?"0":null)("background-size",Mt.placeholder?"cover":null)("background-position",Mt.placeholder?"50% 50%":null)("background-repeat",Mt.placeholder?"no-repeat":null)("background-image",Mt.placeholder?Mt.generatePlaceholder(Mt.placeholder):null)("filter",Mt.placeholder&&Mt.shouldBlurPlaceholder(Mt.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",Ft],ngSrcset:"ngSrcset",sizes:"sizes",width:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",n.numberAttribute],height:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",n.numberAttribute],loading:"loading",priority:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",n.booleanAttribute],placeholder:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",cn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return q})();function Ft(q){return"string"==typeof q?q:(0,n.\u0275unwrapSafeValue)(q)}function cn(q){return"string"==typeof q&&q.startsWith("data:")?q:(0,n.booleanAttribute)(q)}},97048:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{FetchBackend:()=>ye,HTTP_INTERCEPTORS:()=>nt,HttpBackend:()=>m,HttpClient:()=>W,HttpClientJsonpModule:()=>qn,HttpClientModule:()=>yr,HttpClientXsrfModule:()=>Mr,HttpContext:()=>L,HttpContextToken:()=>P,HttpErrorResponse:()=>ae,HttpEventType:()=>Q,HttpFeatureKind:()=>$t,HttpHandler:()=>y,HttpHeaderResponse:()=>Y,HttpHeaders:()=>h,HttpParams:()=>N,HttpRequest:()=>ce,HttpResponse:()=>H,HttpResponseBase:()=>ne,HttpStatusCode:()=>J,HttpUrlEncodingCodec:()=>v,HttpXhrBackend:()=>_t,HttpXsrfTokenExtractor:()=>Tt,JsonpClientBackend:()=>Pe,JsonpInterceptor:()=>je,provideHttpClient:()=>It,withFetch:()=>sr,withInterceptors:()=>tn,withInterceptorsFromDi:()=>Tn,withJsonpSupport:()=>kr,withNoXsrfProtection:()=>nr,withRequestsMadeViaParent:()=>Br,withXsrfConfiguration:()=>nn,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>rt,\u0275HttpInterceptingHandler:()=>an,\u0275HttpInterceptorHandler:()=>an,\u0275PRIMARY_HTTP_BACKEND:()=>mt,\u0275withHttpTransferCache:()=>ui});var n=o(1528),i=o(54496),d=o(82700),u=o(53252),a=o(74496),e=o(26020),c=o(66684),l=o(54704),g=o(68824),b=o(17368),p=o(19212),S=o(91368);class y{}class m{}class h{constructor(Ot){this.normalizedNames=new Map,this.lazyUpdate=null,Ot?"string"==typeof Ot?this.lazyInit=()=>{this.headers=new Map,Ot.split("\n").forEach(Pt=>{const rn=Pt.indexOf(":");if(rn>0){const dn=Pt.slice(0,rn),En=dn.toLowerCase(),Mn=Pt.slice(rn+1).trim();this.maybeSetNormalizedName(dn,En),this.headers.has(En)?this.headers.get(En).push(Mn):this.headers.set(En,[Mn])}})}:typeof Headers<"u"&&Ot instanceof Headers?(this.headers=new Map,Ot.forEach((Pt,rn)=>{this.setHeaderEntries(rn,Pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ot).forEach(([Pt,rn])=>{this.setHeaderEntries(Pt,rn)})}:this.headers=new Map}has(Ot){return this.init(),this.headers.has(Ot.toLowerCase())}get(Ot){this.init();const Pt=this.headers.get(Ot.toLowerCase());return Pt&&Pt.length>0?Pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ot){return this.init(),this.headers.get(Ot.toLowerCase())||null}append(Ot,Pt){return this.clone({name:Ot,value:Pt,op:"a"})}set(Ot,Pt){return this.clone({name:Ot,value:Pt,op:"s"})}delete(Ot,Pt){return this.clone({name:Ot,value:Pt,op:"d"})}maybeSetNormalizedName(Ot,Pt){this.normalizedNames.has(Pt)||this.normalizedNames.set(Pt,Ot)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ot=>this.applyUpdate(Ot)),this.lazyUpdate=null))}copyFrom(Ot){Ot.init(),Array.from(Ot.headers.keys()).forEach(Pt=>{this.headers.set(Pt,Ot.headers.get(Pt)),this.normalizedNames.set(Pt,Ot.normalizedNames.get(Pt))})}clone(Ot){const Pt=new h;return Pt.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,Pt.lazyUpdate=(this.lazyUpdate||[]).concat([Ot]),Pt}applyUpdate(Ot){const Pt=Ot.name.toLowerCase();switch(Ot.op){case"a":case"s":let rn=Ot.value;if("string"==typeof rn&&(rn=[rn]),0===rn.length)return;this.maybeSetNormalizedName(Ot.name,Pt);const dn=("a"===Ot.op?this.headers.get(Pt):void 0)||[];dn.push(...rn),this.headers.set(Pt,dn);break;case"d":const En=Ot.value;if(En){let Mn=this.headers.get(Pt);if(!Mn)return;Mn=Mn.filter(Xn=>-1===En.indexOf(Xn)),0===Mn.length?(this.headers.delete(Pt),this.normalizedNames.delete(Pt)):this.headers.set(Pt,Mn)}else this.headers.delete(Pt),this.normalizedNames.delete(Pt)}}setHeaderEntries(Ot,Pt){const rn=(Array.isArray(Pt)?Pt:[Pt]).map(En=>En.toString()),dn=Ot.toLowerCase();this.headers.set(dn,rn),this.maybeSetNormalizedName(Ot,dn)}forEach(Ot){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pt=>Ot(this.normalizedNames.get(Pt),this.headers.get(Pt)))}}class v{encodeKey(Ot){return T(Ot)}encodeValue(Ot){return T(Ot)}decodeKey(Ot){return decodeURIComponent(Ot)}decodeValue(Ot){return decodeURIComponent(Ot)}}const E=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function T(at){return encodeURIComponent(at).replace(E,(Ot,Pt)=>A[Pt]??Ot)}function R(at){return`${at}`}class N{constructor(Ot={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ot.encoder||new v,Ot.fromString){if(Ot.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(at,Ot){const Pt=new Map;return at.length>0&&at.replace(/^\?/,"").split("&").forEach(dn=>{const En=dn.indexOf("="),[Mn,Xn]=-1==En?[Ot.decodeKey(dn),""]:[Ot.decodeKey(dn.slice(0,En)),Ot.decodeValue(dn.slice(En+1))],Yn=Pt.get(Mn)||[];Yn.push(Xn),Pt.set(Mn,Yn)}),Pt}(Ot.fromString,this.encoder)}else Ot.fromObject?(this.map=new Map,Object.keys(Ot.fromObject).forEach(Pt=>{const rn=Ot.fromObject[Pt],dn=Array.isArray(rn)?rn.map(R):[R(rn)];this.map.set(Pt,dn)})):this.map=null}has(Ot){return this.init(),this.map.has(Ot)}get(Ot){this.init();const Pt=this.map.get(Ot);return Pt?Pt[0]:null}getAll(Ot){return this.init(),this.map.get(Ot)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ot,Pt){return this.clone({param:Ot,value:Pt,op:"a"})}appendAll(Ot){const Pt=[];return Object.keys(Ot).forEach(rn=>{const dn=Ot[rn];Array.isArray(dn)?dn.forEach(En=>{Pt.push({param:rn,value:En,op:"a"})}):Pt.push({param:rn,value:dn,op:"a"})}),this.clone(Pt)}set(Ot,Pt){return this.clone({param:Ot,value:Pt,op:"s"})}delete(Ot,Pt){return this.clone({param:Ot,value:Pt,op:"d"})}toString(){return this.init(),this.keys().map(Ot=>{const Pt=this.encoder.encodeKey(Ot);return this.map.get(Ot).map(rn=>Pt+"="+this.encoder.encodeValue(rn)).join("&")}).filter(Ot=>""!==Ot).join("&")}clone(Ot){const Pt=new N({encoder:this.encoder});return Pt.cloneFrom=this.cloneFrom||this,Pt.updates=(this.updates||[]).concat(Ot),Pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ot=>this.map.set(Ot,this.cloneFrom.map.get(Ot))),this.updates.forEach(Ot=>{switch(Ot.op){case"a":case"s":const Pt=("a"===Ot.op?this.map.get(Ot.param):void 0)||[];Pt.push(R(Ot.value)),this.map.set(Ot.param,Pt);break;case"d":if(void 0===Ot.value){this.map.delete(Ot.param);break}{let rn=this.map.get(Ot.param)||[];const dn=rn.indexOf(R(Ot.value));-1!==dn&&rn.splice(dn,1),rn.length>0?this.map.set(Ot.param,rn):this.map.delete(Ot.param)}}}),this.cloneFrom=this.updates=null)}}class P{constructor(Ot){this.defaultValue=Ot}}class L{constructor(){this.map=new Map}set(Ot,Pt){return this.map.set(Ot,Pt),this}get(Ot){return this.map.has(Ot)||this.map.set(Ot,Ot.defaultValue()),this.map.get(Ot)}delete(Ot){return this.map.delete(Ot),this}has(Ot){return this.map.has(Ot)}keys(){return this.map.keys()}}function V(at){return typeof ArrayBuffer<"u"&&at instanceof ArrayBuffer}function F(at){return typeof Blob<"u"&&at instanceof Blob}function ee(at){return typeof FormData<"u"&&at instanceof FormData}class ce{constructor(Ot,Pt,rn,dn){let En;if(this.url=Pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ot.toUpperCase(),function x(at){switch(at){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||dn?(this.body=void 0!==rn?rn:null,En=dn):En=rn,En&&(this.reportProgress=!!En.reportProgress,this.withCredentials=!!En.withCredentials,En.responseType&&(this.responseType=En.responseType),En.headers&&(this.headers=En.headers),En.context&&(this.context=En.context),En.params&&(this.params=En.params),this.transferCache=En.transferCache),this.headers??=new h,this.context??=new L,this.params){const Mn=this.params.toString();if(0===Mn.length)this.urlWithParams=Pt;else{const Xn=Pt.indexOf("?");this.urlWithParams=Pt+(-1===Xn?"?":Xnzn.set(ur,Ot.setHeaders[ur]),Yn)),Ot.setParams&&(Tr=Object.keys(Ot.setParams).reduce((zn,ur)=>zn.set(ur,Ot.setParams[ur]),Tr)),new ce(Pt,rn,En,{params:Tr,headers:Yn,context:Er,reportProgress:Xn,responseType:dn,withCredentials:Mn})}}var Q=function(at){return at[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at}(Q||{});class ne{constructor(Ot,Pt=J.Ok,rn="OK"){this.headers=Ot.headers||new h,this.status=void 0!==Ot.status?Ot.status:Pt,this.statusText=Ot.statusText||rn,this.url=Ot.url||null,this.ok=this.status>=200&&this.status<300}}class Y extends ne{constructor(Ot={}){super(Ot),this.type=Q.ResponseHeader}clone(Ot={}){return new Y({headers:Ot.headers||this.headers,status:void 0!==Ot.status?Ot.status:this.status,statusText:Ot.statusText||this.statusText,url:Ot.url||this.url||void 0})}}class H extends ne{constructor(Ot={}){super(Ot),this.type=Q.Response,this.body=void 0!==Ot.body?Ot.body:null}clone(Ot={}){return new H({body:void 0!==Ot.body?Ot.body:this.body,headers:Ot.headers||this.headers,status:void 0!==Ot.status?Ot.status:this.status,statusText:Ot.statusText||this.statusText,url:Ot.url||this.url||void 0})}}class ae extends ne{constructor(Ot){super(Ot,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ot.url||"(unknown url)"}`:`Http failure response for ${Ot.url||"(unknown url)"}: ${Ot.status} ${Ot.statusText}`,this.error=Ot.error||null}}var J=function(at){return at[at.Continue=100]="Continue",at[at.SwitchingProtocols=101]="SwitchingProtocols",at[at.Processing=102]="Processing",at[at.EarlyHints=103]="EarlyHints",at[at.Ok=200]="Ok",at[at.Created=201]="Created",at[at.Accepted=202]="Accepted",at[at.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",at[at.NoContent=204]="NoContent",at[at.ResetContent=205]="ResetContent",at[at.PartialContent=206]="PartialContent",at[at.MultiStatus=207]="MultiStatus",at[at.AlreadyReported=208]="AlreadyReported",at[at.ImUsed=226]="ImUsed",at[at.MultipleChoices=300]="MultipleChoices",at[at.MovedPermanently=301]="MovedPermanently",at[at.Found=302]="Found",at[at.SeeOther=303]="SeeOther",at[at.NotModified=304]="NotModified",at[at.UseProxy=305]="UseProxy",at[at.Unused=306]="Unused",at[at.TemporaryRedirect=307]="TemporaryRedirect",at[at.PermanentRedirect=308]="PermanentRedirect",at[at.BadRequest=400]="BadRequest",at[at.Unauthorized=401]="Unauthorized",at[at.PaymentRequired=402]="PaymentRequired",at[at.Forbidden=403]="Forbidden",at[at.NotFound=404]="NotFound",at[at.MethodNotAllowed=405]="MethodNotAllowed",at[at.NotAcceptable=406]="NotAcceptable",at[at.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",at[at.RequestTimeout=408]="RequestTimeout",at[at.Conflict=409]="Conflict",at[at.Gone=410]="Gone",at[at.LengthRequired=411]="LengthRequired",at[at.PreconditionFailed=412]="PreconditionFailed",at[at.PayloadTooLarge=413]="PayloadTooLarge",at[at.UriTooLong=414]="UriTooLong",at[at.UnsupportedMediaType=415]="UnsupportedMediaType",at[at.RangeNotSatisfiable=416]="RangeNotSatisfiable",at[at.ExpectationFailed=417]="ExpectationFailed",at[at.ImATeapot=418]="ImATeapot",at[at.MisdirectedRequest=421]="MisdirectedRequest",at[at.UnprocessableEntity=422]="UnprocessableEntity",at[at.Locked=423]="Locked",at[at.FailedDependency=424]="FailedDependency",at[at.TooEarly=425]="TooEarly",at[at.UpgradeRequired=426]="UpgradeRequired",at[at.PreconditionRequired=428]="PreconditionRequired",at[at.TooManyRequests=429]="TooManyRequests",at[at.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",at[at.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",at[at.InternalServerError=500]="InternalServerError",at[at.NotImplemented=501]="NotImplemented",at[at.BadGateway=502]="BadGateway",at[at.ServiceUnavailable=503]="ServiceUnavailable",at[at.GatewayTimeout=504]="GatewayTimeout",at[at.HttpVersionNotSupported=505]="HttpVersionNotSupported",at[at.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",at[at.InsufficientStorage=507]="InsufficientStorage",at[at.LoopDetected=508]="LoopDetected",at[at.NotExtended=510]="NotExtended",at[at.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",at}(J||{});function K(at,Ot){return{body:Ot,headers:at.headers,context:at.context,observe:at.observe,params:at.params,reportProgress:at.reportProgress,responseType:at.responseType,withCredentials:at.withCredentials,transferCache:at.transferCache}}let W=(()=>{class at{constructor(Pt){this.handler=Pt}request(Pt,rn,dn={}){let En;if(Pt instanceof ce)En=Pt;else{let Yn,Tr;Yn=dn.headers instanceof h?dn.headers:new h(dn.headers),dn.params&&(Tr=dn.params instanceof N?dn.params:new N({fromObject:dn.params})),En=new ce(Pt,rn,void 0!==dn.body?dn.body:null,{headers:Yn,context:dn.context,params:Tr,reportProgress:dn.reportProgress,responseType:dn.responseType||"json",withCredentials:dn.withCredentials,transferCache:dn.transferCache})}const Mn=(0,d.of)(En).pipe((0,e.m)(Yn=>this.handler.handle(Yn)));if(Pt instanceof ce||"events"===dn.observe)return Mn;const Xn=Mn.pipe((0,c.I)(Yn=>Yn instanceof H));switch(dn.observe||"body"){case"body":switch(En.responseType){case"arraybuffer":return Xn.pipe((0,l.k)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Yn.body}));case"blob":return Xn.pipe((0,l.k)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof Blob))throw new Error("Response is not a Blob.");return Yn.body}));case"text":return Xn.pipe((0,l.k)(Yn=>{if(null!==Yn.body&&"string"!=typeof Yn.body)throw new Error("Response is not a string.");return Yn.body}));default:return Xn.pipe((0,l.k)(Yn=>Yn.body))}case"response":return Xn;default:throw new Error(`Unreachable: unhandled observe type ${dn.observe}}`)}}delete(Pt,rn={}){return this.request("DELETE",Pt,rn)}get(Pt,rn={}){return this.request("GET",Pt,rn)}head(Pt,rn={}){return this.request("HEAD",Pt,rn)}jsonp(Pt,rn){return this.request("JSONP",Pt,{params:(new N).append(rn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Pt,rn={}){return this.request("OPTIONS",Pt,rn)}patch(Pt,rn,dn={}){return this.request("PATCH",Pt,K(dn,rn))}post(Pt,rn,dn={}){return this.request("POST",Pt,K(dn,rn))}put(Pt,rn,dn={}){return this.request("PUT",Pt,K(dn,rn))}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(y))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();const re=/^\)\]\}',?\n/;function ue(at){if(at.url)return at.url;const Ot="X-Request-URL".toLocaleLowerCase();return at.headers.get(Ot)}let ye=(()=>{class at{constructor(){this.fetchImpl=(0,i.inject)(Ie,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,i.inject)(i.NgZone)}handle(Pt){return new u._(rn=>{const dn=new AbortController;return this.doRequest(Pt,dn.signal,rn).then(be,En=>rn.error(new ae({error:En}))),()=>dn.abort()})}doRequest(Pt,rn,dn){var En=this;return(0,n.c)(function*(){const Mn=En.createRequestInit(Pt);let Xn;try{const un=En.fetchImpl(Pt.urlWithParams,{signal:rn,...Mn});(function ie(at){at.then(be,be)})(un),dn.next({type:Q.Sent}),Xn=yield un}catch(un){return void dn.error(new ae({error:un,status:un.status??0,statusText:un.statusText,url:Pt.urlWithParams,headers:un.headers}))}const Yn=new h(Xn.headers),Tr=Xn.statusText,Er=ue(Xn)??Pt.urlWithParams;let zn=Xn.status,ur=null;if(Pt.reportProgress&&dn.next(new Y({headers:Yn,status:zn,statusText:Tr,url:Er})),Xn.body){const un=Xn.headers.get("content-length"),B=[],z=Xn.body.getReader();let Fe,Te,de=0;const me=typeof Zone<"u"&&Zone.current;yield En.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:et,value:pt}=yield z.read();if(et)break;if(B.push(pt),de+=pt.length,Pt.reportProgress){Te="text"===Pt.responseType?(Te??"")+(Fe??=new TextDecoder).decode(pt,{stream:!0}):void 0;const At=()=>dn.next({type:Q.DownloadProgress,total:un?+un:void 0,loaded:de,partialText:Te});me?me.run(At):At()}}}));const Ae=En.concatChunks(B,de);try{const et=Xn.headers.get("Content-Type")??"";ur=En.parseBody(Pt,Ae,et)}catch(et){return void dn.error(new ae({error:et,headers:new h(Xn.headers),status:Xn.status,statusText:Xn.statusText,url:ue(Xn)??Pt.urlWithParams}))}}0===zn&&(zn=ur?J.Ok:0),zn>=200&&zn<300?(dn.next(new H({body:ur,headers:Yn,status:zn,statusText:Tr,url:Er})),dn.complete()):dn.error(new ae({error:ur,headers:Yn,status:zn,statusText:Tr,url:Er}))})()}parseBody(Pt,rn,dn){switch(Pt.responseType){case"json":const En=(new TextDecoder).decode(rn).replace(re,"");return""===En?null:JSON.parse(En);case"text":return(new TextDecoder).decode(rn);case"blob":return new Blob([rn],{type:dn});case"arraybuffer":return rn.buffer}}createRequestInit(Pt){const rn={},dn=Pt.withCredentials?"include":void 0;if(Pt.headers.forEach((En,Mn)=>rn[En]=Mn.join(",")),rn.Accept??="application/json, text/plain, */*",!rn["Content-Type"]){const En=Pt.detectContentTypeHeader();null!==En&&(rn["Content-Type"]=En)}return{body:Pt.serializeBody(),method:Pt.method,headers:rn,credentials:dn}}concatChunks(Pt,rn){const dn=new Uint8Array(rn);let En=0;for(const Mn of Pt)dn.set(Mn,En),En+=Mn.length;return dn}static#e=this.\u0275fac=function(rn){return new(rn||at)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();class Ie{}function be(){}function De(at,Ot){return Ot(at)}function ze(at,Ot){return(Pt,rn)=>Ot.intercept(Pt,{handle:dn=>at(dn,rn)})}const nt=new i.InjectionToken(""),ft=new i.InjectionToken(""),rt=new i.InjectionToken(""),mt=new i.InjectionToken("");function Wt(){let at=null;return(Ot,Pt)=>{null===at&&(at=((0,i.inject)(nt,{optional:!0})??[]).reduceRight(ze,De));const rn=(0,i.inject)(i.\u0275PendingTasks),dn=rn.add();return at(Ot,Pt).pipe((0,g.U)(()=>rn.remove(dn)))}}let wn,an=(()=>{class at extends y{constructor(Pt,rn){super(),this.backend=Pt,this.injector=rn,this.chain=null,this.pendingTasks=(0,i.inject)(i.\u0275PendingTasks);const dn=(0,i.inject)(mt,{optional:!0});this.backend=dn??Pt}handle(Pt){if(null===this.chain){const dn=Array.from(new Set([...this.injector.get(ft),...this.injector.get(rt,[])]));this.chain=dn.reduceRight((En,Mn)=>function qe(at,Ot,Pt){return(rn,dn)=>(0,i.runInInjectionContext)(Pt,()=>Ot(rn,En=>at(En,dn)))}(En,Mn,this.injector),De)}const rn=this.pendingTasks.add();return this.chain(Pt,dn=>this.backend.handle(dn)).pipe((0,g.U)(()=>this.pendingTasks.remove(rn)))}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(m),i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})(),hn=0;class Ue{}function we(){return"object"==typeof window?window:{}}let Pe=(()=>{class at{constructor(Pt,rn){this.callbackMap=Pt,this.document=rn,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+hn++}handle(Pt){if("JSONP"!==Pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Pt.responseType)throw new Error("JSONP requests must use Json response type.");if(Pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new u._(rn=>{const dn=this.nextCallback(),En=Pt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${dn}$1`),Mn=this.document.createElement("script");Mn.src=En;let Xn=null,Yn=!1;this.callbackMap[dn]=ur=>{delete this.callbackMap[dn],Xn=ur,Yn=!0};const Tr=()=>{Mn.parentNode&&Mn.parentNode.removeChild(Mn),delete this.callbackMap[dn]};return Mn.addEventListener("load",ur=>{this.resolvedPromise.then(()=>{Tr(),Yn?(rn.next(new H({body:Xn,status:J.Ok,statusText:"OK",url:En})),rn.complete()):rn.error(new ae({url:En,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Mn.addEventListener("error",ur=>{Tr(),rn.error(new ae({error:ur,status:0,statusText:"JSONP Error",url:En}))}),this.document.body.appendChild(Mn),rn.next({type:Q.Sent}),()=>{Yn||this.removeListeners(Mn),Tr()}})}removeListeners(Pt){wn??=this.document.implementation.createHTMLDocument(),wn.adoptNode(Pt)}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(Ue),i.\u0275\u0275inject(S.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();function Ge(at,Ot){return"JSONP"===at.method?(0,i.inject)(Pe).handle(at):Ot(at)}let je=(()=>{class at{constructor(Pt){this.injector=Pt}intercept(Pt,rn){return(0,i.runInInjectionContext)(this.injector,()=>Ge(Pt,dn=>rn.handle(dn)))}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();const ht=/^\)\]\}',?\n/;let _t=(()=>{class at{constructor(Pt){this.xhrFactory=Pt}handle(Pt){if("JSONP"===Pt.method)throw new i.\u0275RuntimeError(-2800,!1);const rn=this.xhrFactory;return(rn.\u0275loadImpl?(0,a.Q)(rn.\u0275loadImpl()):(0,d.of)(null)).pipe((0,b.G)(()=>new u._(En=>{const Mn=rn.build();if(Mn.open(Pt.method,Pt.urlWithParams),Pt.withCredentials&&(Mn.withCredentials=!0),Pt.headers.forEach((B,z)=>Mn.setRequestHeader(B,z.join(","))),Pt.headers.has("Accept")||Mn.setRequestHeader("Accept","application/json, text/plain, */*"),!Pt.headers.has("Content-Type")){const B=Pt.detectContentTypeHeader();null!==B&&Mn.setRequestHeader("Content-Type",B)}if(Pt.responseType){const B=Pt.responseType.toLowerCase();Mn.responseType="json"!==B?B:"text"}const Xn=Pt.serializeBody();let Yn=null;const Tr=()=>{if(null!==Yn)return Yn;const B=Mn.statusText||"OK",z=new h(Mn.getAllResponseHeaders()),de=function He(at){return"responseURL"in at&&at.responseURL?at.responseURL:/^X-Request-URL:/m.test(at.getAllResponseHeaders())?at.getResponseHeader("X-Request-URL"):null}(Mn)||Pt.url;return Yn=new Y({headers:z,status:Mn.status,statusText:B,url:de}),Yn},Er=()=>{let{headers:B,status:z,statusText:de,url:Fe}=Tr(),Te=null;z!==J.NoContent&&(Te=typeof Mn.response>"u"?Mn.responseText:Mn.response),0===z&&(z=Te?J.Ok:0);let me=z>=200&&z<300;if("json"===Pt.responseType&&"string"==typeof Te){const Ae=Te;Te=Te.replace(ht,"");try{Te=""!==Te?JSON.parse(Te):null}catch(et){Te=Ae,me&&(me=!1,Te={error:et,text:Te})}}me?(En.next(new H({body:Te,headers:B,status:z,statusText:de,url:Fe||void 0})),En.complete()):En.error(new ae({error:Te,headers:B,status:z,statusText:de,url:Fe||void 0}))},zn=B=>{const{url:z}=Tr(),de=new ae({error:B,status:Mn.status||0,statusText:Mn.statusText||"Unknown Error",url:z||void 0});En.error(de)};let ur=!1;const Ei=B=>{ur||(En.next(Tr()),ur=!0);let z={type:Q.DownloadProgress,loaded:B.loaded};B.lengthComputable&&(z.total=B.total),"text"===Pt.responseType&&Mn.responseText&&(z.partialText=Mn.responseText),En.next(z)},un=B=>{let z={type:Q.UploadProgress,loaded:B.loaded};B.lengthComputable&&(z.total=B.total),En.next(z)};return Mn.addEventListener("load",Er),Mn.addEventListener("error",zn),Mn.addEventListener("timeout",zn),Mn.addEventListener("abort",zn),Pt.reportProgress&&(Mn.addEventListener("progress",Ei),null!==Xn&&Mn.upload&&Mn.upload.addEventListener("progress",un)),Mn.send(Xn),En.next({type:Q.Sent}),()=>{Mn.removeEventListener("error",zn),Mn.removeEventListener("abort",zn),Mn.removeEventListener("load",Er),Mn.removeEventListener("timeout",zn),Pt.reportProgress&&(Mn.removeEventListener("progress",Ei),null!==Xn&&Mn.upload&&Mn.upload.removeEventListener("progress",un)),Mn.readyState!==Mn.DONE&&Mn.abort()}})))}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(S.XhrFactory))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();const lt=new i.InjectionToken(""),Et="XSRF-TOKEN",it=new i.InjectionToken("",{providedIn:"root",factory:()=>Et}),Yt="X-XSRF-TOKEN",gt=new i.InjectionToken("",{providedIn:"root",factory:()=>Yt});class Tt{}let Ht=(()=>{class at{constructor(Pt,rn,dn){this.doc=Pt,this.platform=rn,this.cookieName=dn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Pt=this.doc.cookie||"";return Pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,S.\u0275parseCookieValue)(Pt,this.cookieName),this.lastCookieString=Pt),this.lastToken}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(S.DOCUMENT),i.\u0275\u0275inject(i.PLATFORM_ID),i.\u0275\u0275inject(it))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();function Zt(at,Ot){const Pt=at.url.toLowerCase();if(!(0,i.inject)(lt)||"GET"===at.method||"HEAD"===at.method||Pt.startsWith("http://")||Pt.startsWith("https://"))return Ot(at);const rn=(0,i.inject)(Tt).getToken(),dn=(0,i.inject)(gt);return null!=rn&&!at.headers.has(dn)&&(at=at.clone({headers:at.headers.set(dn,rn)})),Ot(at)}let wt=(()=>{class at{constructor(Pt){this.injector=Pt}intercept(Pt,rn){return(0,i.runInInjectionContext)(this.injector,()=>Zt(Pt,dn=>rn.handle(dn)))}static#e=this.\u0275fac=function(rn){return new(rn||at)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();var $t=function(at){return at[at.Interceptors=0]="Interceptors",at[at.LegacyInterceptors=1]="LegacyInterceptors",at[at.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",at[at.NoXsrfProtection=3]="NoXsrfProtection",at[at.JsonpSupport=4]="JsonpSupport",at[at.RequestsMadeViaParent=5]="RequestsMadeViaParent",at[at.Fetch=6]="Fetch",at}($t||{});function Ct(at,Ot){return{\u0275kind:at,\u0275providers:Ot}}function It(...at){const Ot=[W,_t,an,{provide:y,useExisting:an},{provide:m,useExisting:_t},{provide:ft,useValue:Zt,multi:!0},{provide:lt,useValue:!0},{provide:Tt,useClass:Ht}];for(const Pt of at)Ot.push(...Pt.\u0275providers);return(0,i.makeEnvironmentProviders)(Ot)}function tn(at){return Ct($t.Interceptors,at.map(Ot=>({provide:ft,useValue:Ot,multi:!0})))}const yn=new i.InjectionToken("");function Tn(){return Ct($t.LegacyInterceptors,[{provide:yn,useFactory:Wt},{provide:ft,useExisting:yn,multi:!0}])}function nn({cookieName:at,headerName:Ot}){const Pt=[];return void 0!==at&&Pt.push({provide:it,useValue:at}),void 0!==Ot&&Pt.push({provide:gt,useValue:Ot}),Ct($t.CustomXsrfConfiguration,Pt)}function nr(){return Ct($t.NoXsrfProtection,[{provide:lt,useValue:!1}])}function kr(){return Ct($t.JsonpSupport,[Pe,{provide:Ue,useFactory:we},{provide:ft,useValue:Ge,multi:!0}])}function Br(){return Ct($t.RequestsMadeViaParent,[{provide:m,useFactory:()=>(0,i.inject)(y,{skipSelf:!0,optional:!0})}])}function sr(){return Ct($t.Fetch,[ye,{provide:m,useExisting:ye},{provide:mt,useExisting:ye}])}let Mr=(()=>{class at{static disable(){return{ngModule:at,providers:[nr().\u0275providers]}}static withOptions(Pt={}){return{ngModule:at,providers:nn(Pt).\u0275providers}}static#e=this.\u0275fac=function(rn){return new(rn||at)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[wt,{provide:nt,useExisting:wt,multi:!0},{provide:Tt,useClass:Ht},nn({cookieName:Et,headerName:Yt}).\u0275providers,{provide:lt,useValue:!0}]})}return at})(),yr=(()=>{class at{static#e=this.\u0275fac=function(rn){return new(rn||at)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[It(Tn())]})}return at})(),qn=(()=>{class at{static#e=this.\u0275fac=function(rn){return new(rn||at)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[kr().\u0275providers]})}return at})();const Rn="b",oi="h",Sr="s",pr="st",Jn="u",er="rt",Or=new i.InjectionToken(""),pi=["GET","HEAD"];function qt(at,Ot){const{isCacheActive:Pt,...rn}=(0,i.inject)(Or),{transferCache:dn,method:En}=at;if(!Pt||"POST"===En&&!rn.includePostRequests&&!dn||"POST"!==En&&!pi.includes(En)||!1===dn||!1===rn.filter?.(at))return Ot(at);const Mn=(0,i.inject)(i.TransferState),Xn=function Qn(at){const{params:Ot,method:Pt,responseType:rn,url:dn,body:En}=at,Tr=function or(at){let Ot=0;for(const Pt of at)Ot=Math.imul(31,Ot)+Pt.charCodeAt(0)<<0;return Ot+=2147483648,Ot.toString()}([Pt,rn,dn,"string"==typeof En?En:"",Ot.keys().sort().map(Er=>`${Er}=${Ot.getAll(Er)}`).join("&")].join("|"));return(0,i.makeStateKey)(Tr)}(at),Yn=Mn.get(Xn,null);let Tr=rn.includeHeaders;if("object"==typeof dn&&dn.includeHeaders&&(Tr=dn.includeHeaders),Yn){const{[Rn]:Er,[er]:zn,[oi]:ur,[Sr]:Ei,[pr]:un,[Jn]:B}=Yn;let z=Er;switch(zn){case"arraybuffer":z=(new TextEncoder).encode(Er).buffer;break;case"blob":z=new Blob([Er])}let de=new h(ur);return(0,d.of)(new H({body:z,headers:de,status:Ei,statusText:un,url:B}))}return Ot(at).pipe((0,p.y)(Er=>{Er instanceof H&&Mn.set(Xn,{[Rn]:Er.body,[oi]:jn(Er.headers,Tr),[Sr]:Er.status,[pr]:Er.statusText,[Jn]:Er.url||"",[er]:at.responseType})}))}function jn(at,Ot){if(!Ot)return{};const Pt={};for(const rn of Ot){const dn=at.getAll(rn);null!==dn&&(Pt[rn]=dn)}return Pt}function ui(at){return[{provide:Or,useFactory:()=>((0,i.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...at})},{provide:rt,useValue:qt,multi:!0,deps:[i.TransferState,Or]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Ot=(0,i.inject)(i.ApplicationRef),Pt=(0,i.inject)(Or);return()=>{(0,i.\u0275whenStable)(Ot).then(()=>{Pt.isCacheActive=!1})}}}]}},54496:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ANIMATION_MODULE_TYPE:()=>di,APP_BOOTSTRAP_LISTENER:()=>hb,APP_ID:()=>xt,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>Ka,ApplicationInitStatus:()=>_g,ApplicationModule:()=>Mb,ApplicationRef:()=>ja,Attribute:()=>am,COMPILER_OPTIONS:()=>bw,CSP_NONCE:()=>vo,CUSTOM_ELEMENTS_SCHEMA:()=>jy,ChangeDetectionStrategy:()=>Mr,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>yw,Component:()=>NP,ComponentFactory:()=>Ju,ComponentFactoryResolver:()=>qu,ComponentRef:()=>Zh,ContentChild:()=>YA,ContentChildren:()=>VA,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Ld,DebugEventListener:()=>Fw,DebugNode:()=>Mg,DefaultIterableDiffer:()=>z0,DestroyRef:()=>xc,Directive:()=>$E,ENVIRONMENT_INITIALIZER:()=>Is,ElementRef:()=>as,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>Js,ErrorHandler:()=>Fs,EventEmitter:()=>Ue,Host:()=>Kd,HostBinding:()=>BP,HostListener:()=>ib,INJECTOR:()=>Qd,Inject:()=>Ya,InjectFlags:()=>ht,Injectable:()=>gy,InjectionToken:()=>tt,Injector:()=>Rs,Input:()=>jP,IterableDiffers:()=>yp,KeyValueDiffers:()=>nd,LOCALE_ID:()=>yg,MissingTranslationStrategy:()=>Aw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>By,NgModule:()=>UP,NgModuleFactory:()=>JC,NgModuleRef:()=>kl,NgProbeToken:()=>tI,NgZone:()=>Oo,Optional:()=>Wd,Output:()=>du,PACKAGE_ROOT_URL:()=>xr,PLATFORM_ID:()=>Zn,PLATFORM_INITIALIZER:()=>ln,Pipe:()=>WE,PlatformRef:()=>pb,Query:()=>Fc,QueryList:()=>il,Renderer2:()=>fp,RendererFactory2:()=>B0,RendererStyleFlags2:()=>Ah,Sanitizer:()=>gp,SecurityContext:()=>Ml,Self:()=>Tu,SimpleChange:()=>Hb,SkipSelf:()=>Gd,TRANSLATIONS:()=>iI,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Ku,Testability:()=>eI,TestabilityRegistry:()=>hw,TransferState:()=>Mu,Type:()=>rh,VERSION:()=>KE,Version:()=>GE,ViewChild:()=>$A,ViewChildren:()=>zA,ViewContainerRef:()=>lf,ViewEncapsulation:()=>yr,ViewRef:()=>Lw,afterNextRender:()=>iC,afterRender:()=>wp,asNativeElements:()=>lI,assertInInjectionContext:()=>pl,assertNotInReactiveContext:()=>yA,assertPlatform:()=>Pw,booleanAttribute:()=>Tk,computed:()=>aA,contentChild:()=>UA,contentChildren:()=>RC,createComponent:()=>Bk,createEnvironmentInjector:()=>zp,createNgModule:()=>qC,createNgModuleRef:()=>eS,createPlatform:()=>vb,createPlatformFactory:()=>Tw,defineInjectable:()=>ql,destroyPlatform:()=>oI,effect:()=>Sp,enableProdMode:()=>sI,forwardRef:()=>to,getDebugNode:()=>Ui,getModuleFactory:()=>Ow,getNgModuleById:()=>aI,getPlatform:()=>Od,importProvidersFrom:()=>ds,inject:()=>st,input:()=>je,isDevMode:()=>xw,isSignal:()=>mp,isStandalone:()=>lr,makeEnvironmentProviders:()=>Pu,makeStateKey:()=>Zs,mergeApplicationConfig:()=>Hk,model:()=>jC,numberAttribute:()=>Pk,platformCore:()=>Ds,provideZoneChangeDetection:()=>Ew,reflectComponentType:()=>Uk,resolveForwardRef:()=>Dr,runInInjectionContext:()=>Zg,setTestabilityGetter:()=>lb,signal:()=>Po,untracked:()=>uA,viewChild:()=>LC,viewChildren:()=>jA,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_b,\u0275AfterRenderEventManager:()=>Il,\u0275CONTAINER_HEADER_OFFSET:()=>zr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>Ju,\u0275Console:()=>QE,\u0275DEFAULT_LOCALE_ID:()=>qa,\u0275DEFER_BLOCK_CONFIG:()=>CS,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fT,\u0275DeferBlockBehavior:()=>Mf,\u0275DeferBlockState:()=>Io,\u0275EffectScheduler:()=>q0,\u0275IMAGE_CONFIG:()=>Hs,\u0275IMAGE_CONFIG_DEFAULTS:()=>da,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>An,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>_c,\u0275LContext:()=>Eh,\u0275LifecycleHooksFeature:()=>gC,\u0275LocaleDataIndex:()=>qc,\u0275NG_COMP_DEF:()=>pi,\u0275NG_DIR_DEF:()=>qt,\u0275NG_ELEMENT_ID:()=>ui,\u0275NG_INJ_DEF:()=>fe,\u0275NG_MOD_DEF:()=>Qn,\u0275NG_PIPE_DEF:()=>jn,\u0275NG_PROV_DEF:()=>Ce,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ed,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Ep,\u0275PendingTasks:()=>fd,\u0275ReflectionCapabilities:()=>Ub,\u0275Render3ComponentFactory:()=>Lc,\u0275Render3ComponentRef:()=>af,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>bt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>wu,\u0275TESTABILITY:()=>ab,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Tl,\u0275XSS_SECURITY_URL:()=>Wt,\u0275_sanitizeHtml:()=>Py,\u0275_sanitizeUrl:()=>bh,\u0275allowSanitizationBypassAndThrow:()=>Cl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>My,\u0275bypassSanitizationTrustResourceUrl:()=>fm,\u0275bypassSanitizationTrustScript:()=>ID,\u0275bypassSanitizationTrustStyle:()=>PD,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LE,\u0275compileDirective:()=>nb,\u0275compileNgModule:()=>AE,\u0275compileNgModuleDefs:()=>Jv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>zE,\u0275convertToBitFlags:()=>Vt,\u0275createInjector:()=>mh,\u0275defaultIterableDiffers:()=>ks,\u0275defaultKeyValueDiffers:()=>vA,\u0275depsTracker:()=>Oc,\u0275devModeEqual:()=>Q0,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DE,\u0275formatRuntimeError:()=>Bt,\u0275generateStandaloneInDeclarationsError:()=>TE,\u0275getAsyncClassMetadataFn:()=>iT,\u0275getDebugNode:()=>Ui,\u0275getDeferBlocks:()=>Ag,\u0275getDirectives:()=>oE,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Ao,\u0275getHostElement:()=>Dd,\u0275getInjectableDef:()=>Ea,\u0275getLContext:()=>Ms,\u0275getLocaleCurrencyCode:()=>BT,\u0275getLocalePluralCase:()=>Xf,\u0275getSanitizationBypassType:()=>Sy,\u0275getUnknownElementStrictMode:()=>_a,\u0275getUnknownPropertyStrictMode:()=>e1,\u0275global:()=>Rn,\u0275injectChangeDetectorRef:()=>kc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>Ho,\u0275isBoundToModule:()=>Na,\u0275isComponentDefPendingResolution:()=>HC,\u0275isEnvironmentProviders:()=>nc,\u0275isInjectable:()=>Un,\u0275isNgModule:()=>Qa,\u0275isPromise:()=>ub,\u0275isSubscribable:()=>db,\u0275noSideEffects:()=>qn,\u0275output:()=>we,\u0275patchComponentDefWithScope:()=>eb,\u0275performanceMarkFeature:()=>zs,\u0275provideZonelessChangeDetection:()=>Ua,\u0275queueStateUpdate:()=>jr,\u0275readHydrationInfo:()=>Ug,\u0275registerLocaleData:()=>jT,\u0275renderDeferBlockState:()=>Ra,\u0275resetCompiledComponents:()=>kP,\u0275resetJitOptions:()=>wE,\u0275resolveComponentResources:()=>UC,\u0275restoreComponentResolutionQueue:()=>GA,\u0275setAllowDuplicateNgModuleIdsForTest:()=>XA,\u0275setAlternateWeakRefImpl:()=>gi,\u0275setClassDebugInfo:()=>ME,\u0275setClassMetadata:()=>rS,\u0275setClassMetadataAsync:()=>hd,\u0275setCurrentInjector:()=>U,\u0275setDocument:()=>pu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ho,\u0275setInjectorProfilerContext:()=>tc,\u0275setLocaleId:()=>j_,\u0275setUnknownElementStrictMode:()=>Dl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>$M,\u0275stringify:()=>He,\u0275transitiveScopesFor:()=>Yl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>lt,\u0275unregisterLocaleData:()=>hM,\u0275unwrapSafeValue:()=>Pa,\u0275unwrapWritableSignal:()=>lA,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>KC,\u0275\u0275FactoryTarget:()=>_l,\u0275\u0275HostDirectivesFeature:()=>dd,\u0275\u0275InheritDefinitionFeature:()=>gf,\u0275\u0275InputFlags:()=>at,\u0275\u0275InputTransformsFeature:()=>ZC,\u0275\u0275NgOnChangesFeature:()=>qg,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>o0,\u0275\u0275attribute:()=>l_,\u0275\u0275attributeInterpolate1:()=>c_,\u0275\u0275attributeInterpolate2:()=>xf,\u0275\u0275attributeInterpolate3:()=>u_,\u0275\u0275attributeInterpolate4:()=>d_,\u0275\u0275attributeInterpolate5:()=>Of,\u0275\u0275attributeInterpolate6:()=>h_,\u0275\u0275attributeInterpolate7:()=>f_,\u0275\u0275attributeInterpolate8:()=>Lf,\u0275\u0275attributeInterpolateV:()=>g_,\u0275\u0275classMap:()=>M_,\u0275\u0275classMapInterpolate1:()=>A_,\u0275\u0275classMapInterpolate2:()=>ZS,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>JS,\u0275\u0275classMapInterpolate5:()=>T_,\u0275\u0275classMapInterpolate6:()=>qS,\u0275\u0275classMapInterpolate7:()=>eM,\u0275\u0275classMapInterpolate8:()=>Ul,\u0275\u0275classMapInterpolateV:()=>tM,\u0275\u0275classProp:()=>S_,\u0275\u0275componentInstance:()=>nM,\u0275\u0275conditional:()=>iM,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YM,\u0275\u0275defer:()=>SS,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>AS,\u0275\u0275deferOnIdle:()=>ES,\u0275\u0275deferOnImmediate:()=>wS,\u0275\u0275deferOnInteraction:()=>TS,\u0275\u0275deferOnTimer:()=>DS,\u0275\u0275deferOnViewport:()=>If,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>Pf,\u0275\u0275deferPrefetchOnInteraction:()=>PS,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>IS,\u0275\u0275deferPrefetchWhen:()=>MS,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>pt,\u0275\u0275defineDirective:()=>_n,\u0275\u0275defineInjectable:()=>ni,\u0275\u0275defineInjector:()=>Us,\u0275\u0275defineNgModule:()=>Jt,\u0275\u0275definePipe:()=>Cn,\u0275\u0275directiveInject:()=>Ec,\u0275\u0275disableBindings:()=>Ti,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>Wf,\u0275\u0275elementContainerStart:()=>Jc,\u0275\u0275elementEnd:()=>vd,\u0275\u0275elementStart:()=>$f,\u0275\u0275enableBindings:()=>Ai,\u0275\u0275getComponentDepsFactory:()=>Xv,\u0275\u0275getCurrentView:()=>uM,\u0275\u0275getInheritedFactory:()=>oy,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LM,\u0275\u0275i18nAttributes:()=>OM,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>eg,\u0275\u0275i18nPostprocess:()=>RM,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>xe,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>a0,\u0275\u0275invalidFactoryDep:()=>$e,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VM,\u0275\u0275namespaceHTML:()=>Ks,\u0275\u0275namespaceMathML:()=>Wl,\u0275\u0275namespaceSVG:()=>ss,\u0275\u0275nextContext:()=>jM,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Ik,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>jk,\u0275\u0275pipe:()=>_E,\u0275\u0275pipeBind1:()=>bE,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>yE,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CE,\u0275\u0275projection:()=>UM,\u0275\u0275projectionDef:()=>BM,\u0275\u0275property:()=>y_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>wd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tg,\u0275\u0275propertyInterpolate4:()=>sv,\u0275\u0275propertyInterpolate5:()=>ng,\u0275\u0275propertyInterpolate6:()=>av,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rg,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cE,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uE,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dE,\u0275\u0275pureFunction6:()=>zv,\u0275\u0275pureFunction7:()=>hE,\u0275\u0275pureFunction8:()=>$v,\u0275\u0275pureFunctionV:()=>fE,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>zf,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>sM,\u0275\u0275resetView:()=>Pi,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Im,\u0275\u0275resolveWindow:()=>Vy,\u0275\u0275restoreView:()=>Qi,\u0275\u0275sanitizeHtml:()=>_m,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>ym,\u0275\u0275sanitizeStyle:()=>vm,\u0275\u0275sanitizeUrl:()=>bm,\u0275\u0275sanitizeUrlOrResourceUrl:()=>xa,\u0275\u0275setComponentScope:()=>tE,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>xs,\u0275\u0275styleMapInterpolate1:()=>WM,\u0275\u0275styleMapInterpolate2:()=>gv,\u0275\u0275styleMapInterpolate3:()=>GM,\u0275\u0275styleMapInterpolate4:()=>mv,\u0275\u0275styleMapInterpolate5:()=>KM,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QM,\u0275\u0275styleMapInterpolate8:()=>XM,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>jf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>ig,\u0275\u0275stylePropInterpolate3:()=>bv,\u0275\u0275stylePropInterpolate4:()=>yv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>ou,\u0275\u0275stylePropInterpolate7:()=>Sv,\u0275\u0275stylePropInterpolate8:()=>og,\u0275\u0275stylePropInterpolateV:()=>Mv,\u0275\u0275syntheticHostListener:()=>Ed,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Bc,\u0275\u0275templateRefExtractor:()=>SE,\u0275\u0275text:()=>Ev,\u0275\u0275textInterpolate:()=>sg,\u0275\u0275textInterpolate1:()=>ag,\u0275\u0275textInterpolate2:()=>su,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Av,\u0275\u0275textInterpolate6:()=>Tv,\u0275\u0275textInterpolate7:()=>Pv,\u0275\u0275textInterpolate8:()=>lg,\u0275\u0275textInterpolateV:()=>Iv,\u0275\u0275trustConstantHtml:()=>Iy,\u0275\u0275trustConstantResourceUrl:()=>Cm,\u0275\u0275twoWayBindingSet:()=>JM,\u0275\u0275twoWayListener:()=>ug,\u0275\u0275twoWayProperty:()=>cg,\u0275\u0275validateIframeAttribute:()=>ud,\u0275\u0275viewQuery:()=>HM,\u0275\u0275viewQuerySignal:()=>zM});var n=o(1528);function i(t,r){return Object.is(t,r)}let d=null,u=!1,a=1;const e=Symbol("SIGNAL");function c(t){const r=d;return d=t,r}const p={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 S(t){if(u)throw new Error("");if(null===d)return;d.consumerOnSignalRead(t);const r=d.nextProducerIndex++;L(d),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function A(t){L(t);for(let r=0;r0}function L(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function x(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function V(t){const r=Object.create(ce);r.computation=t;const s=()=>{if(m(r),S(r),r.value===X)throw r.error;return r.value};return s[e]=r,s}const F=Symbol("UNSET"),ee=Symbol("COMPUTING"),X=Symbol("ERRORED"),ce={...p,value:F,dirty:!0,error:null,equal:i,producerMustRecompute:t=>t.value===F||t.value===ee,producerRecomputeValue(t){if(t.value===ee)throw new Error("Detected cycle in computations.");const r=t.value;t.value=ee;const s=M(t);let _;try{_=t.computation()}catch(D){_=X,t.error=D}finally{E(t,s)}r!==F&&r!==X&&_!==X&&t.equal(r,_)?t.value=r:(t.value=_,t.version++)}};let ne=function Q(){throw new Error};function Y(){ne()}let ae=null;function re(t,r){C()||Y(),t.equal(t.value,r)||(t.value=r,function ye(t){t.version++,function y(){a++}(),h(t),ae?.()}(t))}const ue={...p,equal:i,value:void 0};const be=()=>{},ie={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:be};var ze=o(95657),qe=o(46928),nt=o(46700),ft=o(54704),rt=o(75084);const Wt="https://g.co/ng/security#xss";class bt extends Error{constructor(r,s){super(Bt(r,s)),this.code=r}}function Bt(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const an=Symbol("InputSignalNode#UNSET"),hn={...ue,transformFn:void 0,applyValueToInputSignal(t,r){re(t,r)}},An=Symbol();function vn(t,r){const s=Object.create(hn);function _(){if(S(s),s.value===an)throw new bt(-950,!1);return s.value}return s.value=t,s.transformFn=r?.transform,_[e]=s,_}function dt(t){return r=>{setTimeout(t,void 0,r)}}const Ue=class en extends ze.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,_){let D=r,k=s||(()=>null),$=_;if(r&&"object"==typeof r){const _e=r;D=_e.next?.bind(_e),k=_e.error?.bind(_e),$=_e.complete?.bind(_e)}this.__isAsync&&(k=dt(k),D&&(D=dt(D)),$&&($=dt($)));const se=super.subscribe({next:D,error:k,complete:$});return r instanceof qe.wH&&r.add(se),se}};function we(t){return new Ue}function Pe(t,r){return vn(t,r)}const je=(Pe.required=function Ge(t){return vn(an,t)},Pe);var ht=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ht||{});function He(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(He).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const r=t.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function _t(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function lt(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const s=Math.round(r/2);return t.substring(0,s)+"..."+t.substring(t.length-s)}function nn(t,r,s,_){throw new Error(`ASSERTION ERROR: ${t}`+(null==_?"":` [Expected=> ${s} ${_} ${r} <=Actual]`))}var Mr=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Mr||{}),yr=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(yr||{});function qn(t){return{toString:t}.toString()}const Rn=globalThis,pr={},Jn=[];function er(t){for(let r in t)if(t[r]===er)return r;throw Error("Could not find renamed property on target object.")}function Or(t,r){for(const s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}const pi=er({\u0275cmp:er}),qt=er({\u0275dir:er}),jn=er({\u0275pipe:er}),Qn=er({\u0275mod:er}),or=er({\u0275fac:er}),ui=er({__NG_ELEMENT_ID__:er}),Ir=er({__NG_ENV_ID__:er});var at=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(at||{});function Ot(t,r,s){let _=t.length;for(;;){const D=t.indexOf(r,s);if(-1===D)return D;if(0===D||t.charCodeAt(D-1)<=32){const k=r.length;if(D+k===_||t.charCodeAt(D+k)<=32)return D}s=D+1}}function Pt(t,r,s){let _=0;for(;_r){$=k-1;break}}}for(;kk?"":D[St+1].toLowerCase();const Qt=8&_?jt:null;if(Qt&&-1!==Ot(Qt,Ne,0)||2&_&&Ne!==jt){if(ur(_))return!1;$=!0}}}}else{if(!$&&!ur(_)&&!ur(_e))return!1;if($&&ur(_e))continue;$=!1,_=_e|1&_}}return ur(_)||$}function ur(t){return 0==(1&t)}function Ei(t,r,s,_){if(null===r)return-1;let D=0;if(_||!s){let k=!1;for(;D-1)for(s++;s0?'="'+se+'"':"")+"]"}else 8&_?D+="."+$:4&_&&(D+=" "+$);else""!==D&&!ur($)&&(r+=Te(k,D),D=""),_=$,k=k||!ur(_);s++}return""!==D&&(r+=Te(k,D)),r}function pt(t){return qn(()=>{const r=Nr(t),s={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Mr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||yr.Emulated,styles:t.styles||Jn,_:null,schemas:t.schemas||null,tView:null,id:""};Lr(s);const _=t.dependencies;return s.directiveDefs=ct(_,!1),s.pipeDefs=ct(_,!0),s.id=function vi(t){let r=0;const s=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const D of s)r=Math.imul(31,r)+D.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(s),s})}function At(t){return fn(t)||Gt(t)}function Nt(t){return null!==t}function Jt(t){return qn(()=>({type:t.type,bootstrap:t.bootstrap||Jn,declarations:t.declarations||Jn,imports:t.imports||Jn,exports:t.exports||Jn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mn(t,r){if(null==t)return pr;const s={};for(const _ in t)if(t.hasOwnProperty(_)){const D=t[_];let k,$,se=at.None;Array.isArray(D)?(se=D[0],k=D[1],$=D[2]??k):(k=D,$=D),r?(s[k]=se!==at.None?[_,se]:_,r[k]=$):s[k]=_}return s}function _n(t){return qn(()=>{const r=Nr(t);return Lr(r),r})}function Cn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function fn(t){return t[pi]||null}function Gt(t){return t[qt]||null}function Nn(t){return t[jn]||null}function lr(t){const r=fn(t)||Gt(t)||Nn(t);return null!==r&&r.standalone}function cr(t,r){const s=t[Qn]||null;if(!s&&!0===r)throw new Error(`Type ${He(t)} does not have '\u0275mod' property.`);return s}function Nr(t){const r={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Jn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mn(t.inputs,r),outputs:mn(t.outputs),debugInfo:null}}function Lr(t){t.features?.forEach(r=>r(t))}function ct(t,r){if(!t)return null;const s=r?Nn:At;return()=>("function"==typeof t?t():t).map(_=>s(_)).filter(Nt)}const lo=new Map,_r=0,Pn=1,Gn=2,si=3,Pr=4,ai=5,Fn=6,ti=7,Xr=8,Zr=9,Vi=10,hr=11,Yi=12,ko=13,go=14,Jr=15,zi=16,qi=17,ro=18,Rr=19,mo=20,_i=21,xi=22,qr=23,ar=25,bo=1,wi=6,bi=7,po=9,zr=10;var yo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(yo||{});function Ni(t){return Array.isArray(t)&&"object"==typeof t[bo]}function Gr(t){return Array.isArray(t)&&!0===t[bo]}function Lo(t){return 0!=(4&t.flags)}function Oi(t){return t.componentOffset>-1}function Xi(t){return 1==(1&t.flags)}function Li(t){return!!t.template}function Gi(t){return 0!=(512&t[Gn])}function Wo(t){return 16==(16&t.type)}function Ro(t){return 256==(256&t[Gn])}const Vn="svg",$i="math";let Mo=!1;function Ao(){return Mo}function ho(t){Mo=t}function Ur(t){for(;Array.isArray(t);)t=t[_r];return t}function Xo(t){for(;Array.isArray(t);){if("object"==typeof t[bo])return t;t=t[_r]}return null}function is(t,r){return Ur(r[t])}function Zi(t,r){return Ur(r[t.index])}function xo(t,r){return t.data[r]}function _o(t,r){return t[r]}function Di(t,r){const s=r[t];return Ni(s)?s:s[_r]}function Cs(t){return 128==(128&t[Gn])}function io(t,r){return null==r?null:t[r]}function fs(t){t[qi]=0}function Je(t){1024&t[Gn]||(t[Gn]|=1024,Cs(t)&&Ze(t))}function oe(t,r){for(;t>0;)r=r[go],t--;return r}function pe(t){return!!(9216&t[Gn]||t[qr]?.dirty)}function Le(t){pe(t)?Ze(t):64&t[Gn]&&(Ao()?(t[Gn]|=1024,Ze(t)):t[Vi].changeDetectionScheduler?.notify())}function Ze(t){t[Vi].changeDetectionScheduler?.notify();let r=Ut(t);for(;null!==r&&!(8192&r[Gn])&&(r[Gn]|=8192,Cs(r));)r=Ut(r)}function Dt(t,r){if(256==(256&t[Gn]))throw new bt(911,!1);null===t[_i]&&(t[_i]=[]),t[_i].push(r)}function Rt(t,r){if(null===t[_i])return;const s=t[_i].indexOf(r);-1!==s&&t[_i].splice(s,1)}function Ut(t){const r=t[si];return Gr(r)?r[si]:r}const zt={lFrame:Ri(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function tr(){return zt.bindingsEnabled}function vr(){return null!==zt.skipHydrationRootTNode}function Ai(){zt.bindingsEnabled=!0}function Ti(){zt.bindingsEnabled=!1}function Sn(){return zt.lFrame.lView}function wr(){return zt.lFrame.tView}function Qi(t){return zt.lFrame.contextLView=t,t[Xr]}function Pi(t){return zt.lFrame.contextLView=null,t}function ei(){let t=oo();for(;null!==t&&64===t.type;)t=t.parent;return t}function oo(){return zt.lFrame.currentTNode}function Be(){const t=zt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function ot(t,r){const s=zt.lFrame;s.currentTNode=t,s.isParent=r}function O(){return zt.lFrame.isParent}function te(){zt.lFrame.isParent=!1}function vt(){const t=zt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function Ft(){return zt.lFrame.bindingIndex}function cn(t){return zt.lFrame.bindingIndex=t}function q(){return zt.lFrame.bindingIndex++}function Ve(t){const r=zt.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,s}function Re(t){zt.lFrame.inI18n=t}function Mt(t,r){const s=zt.lFrame;s.bindingIndex=s.bindingRootIndex=t,sn(r)}function sn(t){zt.lFrame.currentDirectiveIndex=t}function In(t){const r=zt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function gr(){return zt.lFrame.currentQueryIndex}function br(t){zt.lFrame.currentQueryIndex=t}function Wr(t){const r=t[Pn];return 2===r.type?r.declTNode:1===r.type?t[ai]:null}function Cr(t,r,s){if(s&ht.SkipSelf){let D=r,k=t;for(;!(D=D.parent,null!==D||s&ht.Host||(D=Wr(k),null===D||(k=k[go],10&D.type))););if(null===D)return!1;r=D,t=k}const _=zt.lFrame=Hr();return _.currentTNode=r,_.lView=t,!0}function Qr(t){const r=Hr(),s=t[Pn];zt.lFrame=r,r.currentTNode=s.firstChild,r.lView=t,r.tView=s,r.contextLView=t,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function Hr(){const t=zt.lFrame,r=null===t?null:t.child;return null===r?Ri(t):r}function Ri(t){const r={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:t,child:null,inI18n:!1};return null!==t&&(t.child=r),r}function eo(){const t=zt.lFrame;return zt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vo=eo;function gs(){const t=eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function so(){return zt.lFrame.selectedIndex}function Yo(t){zt.lFrame.selectedIndex=t}function hi(){const t=zt.lFrame;return xo(t.tView,t.selectedIndex)}function ss(){zt.lFrame.currentNamespace=Vn}function Wl(){zt.lFrame.currentNamespace=$i}function Ks(){!function Gl(){zt.lFrame.currentNamespace=null}()}function el(){return zt.lFrame.currentNamespace}let tl=!0;function Qs(){return tl}function Os(t){tl=t}function fu(){return Jo(ei(),Sn())}function Jo(t,r){return new as(Zi(t,r))}let as=(()=>{class t{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=fu}return t})();function Kl(t){return t instanceof as?t.nativeElement:t}function ls(t){return t.flat(Number.POSITIVE_INFINITY)}function oa(t,r){t.forEach(s=>Array.isArray(s)?oa(s,r):r(s))}function nl(t,r,s){r>=t.length?t.push(s):t.splice(r,0,s)}function Sa(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function sa(t,r){const s=[];for(let _=0;_r;)t[D]=t[D-2],D--;t[r]=s,t[r+1]=_}}function zo(t,r,s){let _=ca(t,r);return _>=0?t[1|_]=s:(_=~_,Ql(t,_,r,s)),_}function la(t,r){const s=ca(t,r);if(s>=0)return t[1|s]}function ca(t,r){return function rl(t,r,s){let _=0,D=t.length>>s;for(;D!==_;){const k=_+(D-_>>1),$=t[k<r?D=k:_=k+1}return~(D<gn}),gn="ng",ln=new tt(""),Zn=new tt("",{providedIn:"platform",factory:()=>"unknown"}),xr=new tt(""),di=new tt(""),vo=new tt("",{providedIn:"root",factory:()=>No().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),da={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hs=new tt("",{providedIn:"root",factory:()=>da}),ha=er({__forward_ref__:er});function to(t){return t.__forward_ref__=to,t.toString=function(){return He(this())},t}function Dr(t){return Ha(t)?t():t}function Ha(t){return"function"==typeof t&&t.hasOwnProperty(ha)&&t.__forward_ref__===to}let _u,ll;function tc(t){nn("setInjectorProfilerContext should never be called in production mode");const r=_u;return _u=t,r}function nc(t){return t&&!!t.\u0275providers}function Vr(t){return"string"==typeof t?t:null==t?"":String(t)}function Bi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Vr(t)}function yu(t,r){throw new bt(-201,!1)}function Ud(){return ll}function $o(t){const r=ll;return ll=t,r}function Hd(t,r,s){const _=Ea(t);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:s&ht.Optional?null:void 0!==r?r:void yu()}const ul={},Cu="__NG_DI_FLAG__",rc="ngTempTokenPath",xg=/\n/gm,Da="__source";let Xs;function U(t){const r=Xs;return Xs=t,r}function ge(t,r=ht.Default){if(void 0===Xs)throw new bt(-203,!1);return null===Xs?Hd(t,void 0,r):Xs.get(t,r&ht.Optional?null:void 0,r)}function xe(t,r=ht.Default){return(Ud()||ge)(Dr(t),r)}function $e(t){throw new bt(202,!1)}function st(t,r=ht.Default){return xe(t,Vt(r))}function Vt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Dn(t){const r=[];for(let s=0;s{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:ga});get(s,_){return void 0!==this.store[s]?this.store[s]:_}set(s,_){this.store[s]=_}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,_){this.onSerializeCallbacks[s]=_}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(_){console.warn("Exception in onSerialize callback: ",_)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,s=!1){let _=t.getAttribute(Eu);if(null==_)return null;const[D,k]=_.split("|");if(_=s?k:D,!_)return null;const se=s?D:k?`|${k}`:"";let _e={};if(""!==_){const Xe=r.get(Mu,null,{optional:!0});null!==Xe&&(_e=Xe.get(jg,[])[Number(_)])}const Ne={data:_e,firstChild:t.firstChild??null};return s&&(Ne.firstChild=t,Yd(Ne,0,t.nextSibling)),se?t.setAttribute(Eu,se):t.removeAttribute(Eu),Ne}function Bg(t,r,s=!1){return kb(t,r,s)}function xb(t){let r=t._lView;return 2===r[Pn].type?null:(Gi(r)&&(r=r[ar]),r)}const fl="__ngDebugHydrationInfo__";function Ug(t){return t[fl]??null}function Yd(t,r,s){t.segmentHeads??={},t.segmentHeads[r]=s}function Hg(t,r){return t.segmentHeads?.[r]??null}function Rb(t,r){return t.data[ma]?.[r]??null}function zd(t,r){const s=Rb(t,r)??[];let _=0;for(let D of s)_+=D[oc]*(D[dl]??1);return _}function $d(t,r){if(typeof t.disconnectedNodes>"u"){const s=t.data[Vd];t.disconnectedNodes=s?new Set(s):null}return!!t.disconnectedNodes?.has(r)}const Si="__annotations__",lc="__parameters__",Ls="__prop__metadata__";function Au(t,r,s,_,D){return qn(()=>{const k=Vg(r);function $(...se){if(this instanceof $)return k.call(this,...se),this;const _e=new $(...se);return function(Xe){return D&&D(Xe,...se),(Xe.hasOwnProperty(Si)?Xe[Si]:Object.defineProperty(Xe,Si,{value:[]})[Si]).push(_e),_&&_(Xe),Xe}}return s&&($.prototype=Object.create(s.prototype)),$.prototype.ngMetadataName=t,$.annotationCls=$,$})}function Vg(t){return function(...s){if(t){const _=t(...s);for(const D in _)this[D]=_[D]}}}function Ss(t,r,s){return qn(()=>{const _=Vg(r);function D(...k){if(this instanceof D)return _.apply(this,k),this;const $=new D(...k);return se.annotation=$,se;function se(_e,Ne,Xe){const St=_e.hasOwnProperty(lc)?_e[lc]:Object.defineProperty(_e,lc,{value:[]})[lc];for(;St.length<=Xe;)St.push(null);return(St[Xe]=St[Xe]||[]).push($),_e}}return s&&(D.prototype=Object.create(s.prototype)),D.prototype.ngMetadataName=t,D.annotationCls=D,D})}function Va(t,r,s,_){return qn(()=>{const D=Vg(r);function k(...$){if(this instanceof k)return D.apply(this,$),this;const se=new k(...$);return function _e(Ne,Xe){if(void 0===Ne)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const St=Ne.constructor,jt=St.hasOwnProperty(Ls)?St[Ls]:Object.defineProperty(St,Ls,{value:{}})[Ls];jt[Xe]=jt.hasOwnProperty(Xe)&&jt[Xe]||[],jt[Xe].unshift(se),_&&_(Ne,Xe,...$)}}return s&&(k.prototype=Object.create(s.prototype)),k.prototype.ngMetadataName=t,k.annotationCls=k,k})}const Ya=rr(Ss("Inject",t=>({token:t})),-1),Wd=rr(Ss("Optional"),8),Tu=rr(Ss("Self"),2),Gd=rr(Ss("SkipSelf"),4),Kd=rr(Ss("Host"),1);function gl(t,r){return t.hasOwnProperty(or)?t[or]:null}const Is=new tt(""),Qd=new tt("",-1),Yg=new tt("");class Xd{get(r,s=ul){if(s===ul){const _=new Error(`NullInjectorError: No provider for ${He(r)}!`);throw _.name="NullInjectorError",_}return s}}function Pu(t){return{\u0275providers:t}}function ds(...t){return{\u0275providers:zg(0,t),\u0275fromNgModule:!0}}function zg(t,...r){const s=[],_=new Set;let D;const k=$=>{s.push($)};return oa(r,$=>{const se=$;Jd(se,k,[],_)&&(D||=[],D.push(se))}),void 0!==D&&Zd(D,k),s}function Zd(t,r){for(let s=0;s{r(k,_)})}}function Jd(t,r,s,_){if(!(t=Dr(t)))return!1;let D=null,k=le(t);const $=!k&&fn(t);if(k||$){if($&&!$.standalone)return!1;D=t}else{const _e=t.ngModule;if(k=le(_e),!k)return!1;D=_e}const se=_.has(D);if($){if(se)return!1;if(_.add(D),$.dependencies){const _e="function"==typeof $.dependencies?$.dependencies():$.dependencies;for(const Ne of _e)Jd(Ne,r,s,_)}}else{if(!k)return!1;{if(null!=k.imports&&!se){let Ne;_.add(D);try{oa(k.imports,Xe=>{Jd(Xe,r,s,_)&&(Ne||=[],Ne.push(Xe))})}finally{}void 0!==Ne&&Zd(Ne,r)}if(!se){const Ne=gl(D)||(()=>new D);r({provide:D,useFactory:Ne,deps:Jn},D),r({provide:Yg,useValue:D,multi:!0},D),r({provide:Is,useValue:()=>xe(D),multi:!0},D)}const _e=k.providers;if(null!=_e&&!se){const Ne=t;$g(_e,Xe=>{r(Xe,Ne)})}}}return D!==t&&void 0!==t.providers}function $g(t,r){for(let s of t)nc(s)&&(s=s.\u0275providers),Array.isArray(s)?$g(s,r):r(s)}const Fb=er({provide:String,useValue:er});function Wg(t){return null!==t&&"object"==typeof t&&Fb in t}function ml(t){return"function"==typeof t}const qd=new tt(""),eh={},tD={};let Gg;function Aa(){return void 0===Gg&&(Gg=new Xd),Gg}class Js{}class cc extends Js{get destroyed(){return this._destroyed}constructor(r,s,_,D){super(),this.parent=s,this.source=_,this.scopes=D,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xg(r,$=>this.processProvider($)),this.records.set(Qd,uc(void 0,this)),D.has("environment")&&this.records.set(Js,uc(void 0,this));const k=this.records.get(qd);null!=k&&"string"==typeof k.value&&this.scopes.add(k.value),this.injectorDefTypes=new Set(this.get(Yg,Jn,ht.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const s=U(this),_=$o(void 0);try{return r()}finally{U(s),$o(_)}}get(r,s=ul,_=ht.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Ir))return r[Ir](this);_=Vt(_);const k=U(this),$=$o(void 0);try{if(!(_&ht.SkipSelf)){let _e=this.records.get(r);if(void 0===_e){const Ne=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof tt}(r)&&Ea(r);_e=Ne&&this.injectableDefInScope(Ne)?uc(Kg(r),eh):null,this.records.set(r,_e)}if(null!=_e)return this.hydrate(r,_e)}return(_&ht.Self?Aa():this.parent).get(r,s=_&ht.Optional&&s===ul?null:s)}catch(se){if("NullInjectorError"===se.name){if((se[rc]=se[rc]||[]).unshift(He(r)),k)throw se;return function fi(t,r,s,_){const D=t[rc];throw r[Da]&&D.unshift(r[Da]),t.message=function us(t,r,s,_=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let D=He(r);if(Array.isArray(r))D=r.map(He).join(" -> ");else if("object"==typeof r){let k=[];for(let $ in r)if(r.hasOwnProperty($)){let se=r[$];k.push($+":"+("string"==typeof se?JSON.stringify(se):He(se)))}D=`{${k.join(", ")}}`}return`${s}${_?"("+_+")":""}[${D}]: ${t.replace(xg,"\n ")}`}("\n"+t.message,D,s,_),t.ngTokenPath=D,t[rc]=null,t}(se,r,"R3InjectorError",this.source)}throw se}finally{$o($),U(k)}}resolveInjectorInitializers(){const r=U(this),s=$o(void 0);try{const D=this.get(Is,Jn,ht.Self);for(const k of D)k()}finally{U(r),$o(s)}}toString(){const r=[],s=this.records;for(const _ of s.keys())r.push(He(_));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new bt(205,!1)}processProvider(r){let s=ml(r=Dr(r))?r:Dr(r&&r.provide);const _=function nD(t){return Wg(t)?uc(void 0,t.useValue):uc(nh(t),eh)}(r);if(!ml(r)&&!0===r.multi){let D=this.records.get(s);D||(D=uc(void 0,eh,!0),D.factory=()=>Dn(D.multi),this.records.set(s,D)),s=r,D.multi.push(r)}this.records.set(s,_)}hydrate(r,s){return s.value===eh&&(s.value=tD,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Qg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=Dr(r.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(r){const s=this._onDestroyHooks.indexOf(r);-1!==s&&this._onDestroyHooks.splice(s,1)}}function Kg(t){const r=Ea(t),s=null!==r?r.factory:gl(t);if(null!==s)return s;if(t instanceof tt)throw new bt(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new bt(204,!1);const s=function ms(t){return t&&(t[Ce]||t[Me])||null}(t);return null!==s?()=>s.factory(t):()=>new t}(t);throw new bt(204,!1)}function nh(t,r,s){let _;if(ml(t)){const D=Dr(t);return gl(D)||Kg(D)}if(Wg(t))_=()=>Dr(t.useValue);else if(function Nb(t){return!(!t||!t.useFactory)}(t))_=()=>t.useFactory(...Dn(t.deps||[]));else if(function Iu(t){return!(!t||!t.useExisting)}(t))_=()=>xe(Dr(t.useExisting));else{const D=Dr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return gl(D)||Kg(D);_=()=>new D(...Dn(t.deps))}return _}function uc(t,r,s=!1){return{factory:t,value:r,multi:s?[]:void 0}}function Xg(t,r){for(const s of t)Array.isArray(s)?Xg(s,r):s&&nc(s)?Xg(s.\u0275providers,r):r(s)}function Zg(t,r){t instanceof cc&&t.assertNotDestroyed();const _=U(t),D=$o(void 0);try{return r()}finally{U(_),$o(D)}}function pl(t){if(!Ud()&&!function Ci(){return Xs}())throw new bt(-203,!1)}var _l=function(t){return t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule",t}(_l||{});function qo(t){const r=Rn.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bb={\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275inject:xe,\u0275\u0275invalidFactoryDep:$e,resolveForwardRef:Dr},rh=Function;function dc(t){return"function"==typeof t}const sD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Vs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,aD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,$a=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ub{constructor(r){this._reflect=r||Rn.Reflect}factory(r){return(...s)=>new r(...s)}_zipTypesAndAnnotations(r,s){let _;_=sa(typeof r>"u"?s.length:r.length);for(let D=0;D<_.length;D++)_[D]=typeof r>"u"?[]:r[D]&&r[D]!=Object?[r[D]]:[],s&&null!=s[D]&&(_[D]=_[D].concat(s[D]));return _}_ownParameters(r,s){if(function lD(t){return sD.test(t)||$a.test(t)||Vs.test(t)&&!aD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==s.parameters)return r.parameters;const D=r.ctorParameters;if(D&&D!==s.ctorParameters){const se="function"==typeof D?D():D,_e=se.map(Xe=>Xe&&Xe.type),Ne=se.map(Xe=>Xe&&Jg(Xe.decorators));return this._zipTypesAndAnnotations(_e,Ne)}const k=r.hasOwnProperty(lc)&&r[lc],$=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return $||k?this._zipTypesAndAnnotations($,k):sa(r.length)}parameters(r){if(!dc(r))return[];const s=ih(r);let _=this._ownParameters(r,s);return!_&&s!==Object&&(_=this.parameters(s)),_||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let _=r.annotations;return"function"==typeof _&&_.annotations&&(_=_.annotations),_}return r.decorators&&r.decorators!==s.decorators?Jg(r.decorators):r.hasOwnProperty(Si)?r[Si]:null}annotations(r){if(!dc(r))return[];const s=ih(r),_=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(_)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let _=r.propMetadata;return"function"==typeof _&&_.propMetadata&&(_=_.propMetadata),_}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const _=r.propDecorators,D={};return Object.keys(_).forEach(k=>{D[k]=Jg(_[k])}),D}return r.hasOwnProperty(Ls)?r[Ls]:null}propMetadata(r){if(!dc(r))return{};const s=ih(r),_={};if(s!==Object){const k=this.propMetadata(s);Object.keys(k).forEach($=>{_[$]=k[$]})}const D=this._ownPropMetadata(r,s);return D&&Object.keys(D).forEach(k=>{const $=[];_.hasOwnProperty(k)&&$.push(..._[k]),$.push(...D[k]),_[k]=$}),_}ownPropMetadata(r){return dc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,s){return r instanceof rh&&s in r.prototype}}function Jg(t){return t?t.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function ih(t){const r=t.prototype?Object.getPrototypeOf(t.prototype):null;return(r?r.constructor:null)||Object}class Hb{constructor(r,s,_){this.previousValue=r,this.currentValue=s,this.firstChange=_}isFirstChange(){return this.firstChange}}function Vb(t,r,s,_){null!==r?r.applyValueToInputSignal(r,_):t[s]=_}function qg(){return Yb}function Yb(t){return t.type.prototype.ngOnChanges&&(t.setInput=hc),cD}function cD(){const t=$b(this),r=t?.current;if(r){const s=t.previous;if(s===pr)t.previous=r;else for(let _ in r)s[_]=r[_];t.current=null,this.ngOnChanges(r)}}function hc(t,r,s,_,D){const k=this.declaredInputs[_],$=$b(t)||function Wb(t,r){return t[zb]=r}(t,{previous:pr,current:null}),se=$.current||($.current={}),_e=$.previous,Ne=_e[k];se[k]=new Hb(Ne&&Ne.currentValue,s,_e===pr),Vb(t,r,D,s)}qg.ngInherit=!0;const zb="__ngSimpleChanges__";function $b(t){return t[zb]||null}const pa=function(t,r,s){};function oh(t,r){for(let s=r.directiveStart,_=r.directiveEnd;s<_;s++){const k=t.data[s].type.prototype,{ngAfterContentInit:$,ngAfterContentChecked:se,ngAfterViewInit:_e,ngAfterViewChecked:Ne,ngOnDestroy:Xe}=k;$&&(t.contentHooks??=[]).push(-s,$),se&&((t.contentHooks??=[]).push(s,se),(t.contentCheckHooks??=[]).push(s,se)),_e&&(t.viewHooks??=[]).push(-s,_e),Ne&&((t.viewHooks??=[]).push(s,Ne),(t.viewCheckHooks??=[]).push(s,Ne)),null!=Xe&&(t.destroyHooks??=[]).push(s,Xe)}}function sh(t,r,s){Gb(t,r,3,s)}function fc(t,r,s,_){(3&t[Gn])===s&&Gb(t,r,s,_)}function ku(t,r){let s=t[Gn];(3&s)===r&&(s&=16383,s+=1,t[Gn]=s)}function Gb(t,r,s,_){const k=_??-1,$=r.length-1;let se=0;for(let _e=void 0!==_?65535&t[qi]:0;_e<$;_e++)if("number"==typeof r[_e+1]){if(se=r[_e],null!=_&&se>=_)break}else r[_e]<0&&(t[qi]+=65536),(se>14>16&&(3&t[Gn])===r&&(t[Gn]+=16384,tm(se,k)):tm(se,k)}const vl=-1;class xu{constructor(r,s,_){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=_}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function nm(t){return t!==vl}function Ou(t){return 32767&t}function Lu(t,r){let s=function qs(t){return t>>16}(t),_=r;for(;s>0;)_=_[go],s--;return _}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Xb=255,uh=5;let mD=0;const Ys={};function gc(t,r){const s=Zb(t,r);if(-1!==s)return s;const _=r[Pn];_.firstCreatePass&&(t.injectorIndex=r.length,im(_.data,t),im(r,null),im(_.blueprint,null));const D=dh(t,r),k=t.injectorIndex;if(nm(D)){const $=Ou(D),se=Lu(D,r),_e=se[Pn].data;for(let Ne=0;Ne<8;Ne++)r[k+Ne]=se[$+Ne]|_e[$+Ne]}return r[k+8]=D,k}function im(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Zb(t,r){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===r[t.injectorIndex+8]?-1:t.injectorIndex}function dh(t,r){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let s=0,_=null,D=r;for(;null!==D;){if(_=sy(D),null===_)return vl;if(s++,D=D[go],-1!==_.injectorIndex)return _.injectorIndex|s<<16}return vl}function om(t,r,s){!function pD(t,r,s){let _;"string"==typeof s?_=s.charCodeAt(0)||0:s.hasOwnProperty(ui)&&(_=s[ui]),null==_&&(_=s[ui]=mD++);const D=_&Xb;r.data[t+(D>>uh)]|=1<=0?r&Xb:iy:r}(s);if("function"==typeof k){if(!Cr(r,t,_))return _&ht.Host?Jb(D,0,_):qb(r,s,_,D);try{let $;if($=k(_),null!=$||_&ht.Optional)return $;yu()}finally{Vo()}}else if("number"==typeof k){let $=null,se=Zb(t,r),_e=vl,Ne=_&ht.Host?r[Jr][ai]:null;for((-1===se||_&ht.SkipSelf)&&(_e=-1===se?dh(t,r):r[se+8],_e!==vl&&ry(_,!1)?($=r[Pn],se=Ou(_e),r=Lu(_e,r)):se=-1);-1!==se;){const Xe=r[Pn];if(ny(k,se,Xe.data)){const St=vD(se,r,s,$,_,Ne);if(St!==Ys)return St}_e=r[se+8],_e!==vl&&ry(_,r[Pn].data[se+8]===Ne)&&ny(k,se,r)?($=Xe,se=Ou(_e),r=Lu(_e,r)):se=-1}}return D}function vD(t,r,s,_,D,k){const $=r[Pn],se=$.data[t+8],Xe=hh(se,$,s,null==_?Oi(se)&&lh:_!=$&&0!=(3&se.type),D&ht.Host&&k===se);return null!==Xe?Ta(r,$,Xe,se):Ys}function hh(t,r,s,_,D){const k=t.providerIndexes,$=r.data,se=1048575&k,_e=t.directiveStart,Xe=k>>20,jt=D?se+Xe:t.directiveEnd;for(let Qt=_?se:se+Xe;Qt=_e&&pn.type===s)return Qt}if(D){const Qt=$[_e];if(Qt&&Li(Qt)&&Qt.type===s)return _e}return null}function Ta(t,r,s,_){let D=t[s];const k=r.data;if(function Qb(t){return t instanceof xu}(D)){const $=D;$.resolving&&function Bd(t,r){throw r&&r.join(" > "),new bt(-200,t)}(Bi(k[s]));const se=ch($.canSeeViewProviders);$.resolving=!0;const Ne=$.injectImpl?$o($.injectImpl):null;Cr(t,_,ht.Default);try{D=t[s]=$.factory(void 0,k,t,_),r.firstCreatePass&&s>=_.directiveStart&&function dD(t,r,s){const{ngOnChanges:_,ngOnInit:D,ngDoCheck:k}=r.type.prototype;if(_){const $=Yb(r);(s.preOrderHooks??=[]).push(t,$),(s.preOrderCheckHooks??=[]).push(t,$)}D&&(s.preOrderHooks??=[]).push(0-t,D),k&&((s.preOrderHooks??=[]).push(t,k),(s.preOrderCheckHooks??=[]).push(t,k))}(s,k[s],r)}finally{null!==Ne&&$o(Ne),ch(se),$.resolving=!1,Vo()}}return D}function ny(t,r,s){return!!(s[r+(t>>uh)]&1<{const r=t.prototype.constructor,s=r[or]||sm(r),_=Object.prototype;let D=Object.getPrototypeOf(t.prototype).constructor;for(;D&&D!==_;){const k=D[or]||sm(D);if(k&&k!==s)return k;D=Object.getPrototypeOf(D)}return k=>new k})}function sm(t){return Ha(t)?()=>{const r=sm(Dr(t));return r&&r()}:gl(t)}function sy(t){const r=t[Pn],s=r.type;return 2===s?r.declTNode:1===s?t[ai]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const s=t.attrs;if(s){const _=s.length;let D=0;for(;D<_;){const k=s[D];if(rn(k))break;if(0===k)D+=2;else if("number"==typeof k)for(D++;D<_&&"string"==typeof s[D];)D++;else{if(k===r)return s[D+1];D+=2}}}return null}(ei(),t)}const am=Ss("Attribute",t=>({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let ay=null;function lm(){return ay=ay||new Ub}function gh(t){return ly(lm().parameters(t))}function ly(t){return t.map(r=>function cy(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let s=0;sfunction CD(t,r){let s=null,_=null;t.hasOwnProperty(Ce)||Object.defineProperty(t,Ce,{get:()=>(null===s&&(s=qo().compileInjectable(Bb,`ng:///${t.name}/\u0275prov.js`,function SD(t,r){const s=r||{providedIn:null},_={name:t.name,type:t,typeArgumentCount:0,providedIn:s.providedIn};return(cm(s)||hy(s))&&void 0!==s.deps&&(_.deps=ly(s.deps)),cm(s)?_.useClass=s.useClass:function dy(t){return uy in t}(s)?_.useValue=s.useValue:hy(s)?_.useFactory=s.useFactory:function fy(t){return void 0!==t.useExisting}(s)&&(_.useExisting=s.useExisting),_}(t,r))),s)}),t.hasOwnProperty(or)||Object.defineProperty(t,or,{get:()=>{if(null===_){const D=qo();_=D.compileFactory(Bb,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Injectable})}return _},configurable:!0})}(t,r));function mh(t,r=null,s=null,_){const D=my(t,r,s,_);return D.resolveInjectorInitializers(),D}function my(t,r=null,s=null,_,D=new Set){const k=[s||Jn,ds(t)];return _=_||("object"==typeof t?void 0:He(t)),new cc(k,r||Aa(),_||null,D)}let Rs=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=ul;static#t=this.NULL=new Xd;static create(s,_){if(Array.isArray(s))return mh({name:""},_,s,"");{const D=s.name??"";return mh({name:D},s.parent,s.providers,D)}}static#n=this.\u0275prov=ni({token:t,providedIn:"any",factory:()=>xe(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Fs{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r);this._console.error("ERROR",r),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&ph(r);for(;s&&ph(s);)s=ph(s);return s||null}}const _y=new tt("",{providedIn:"root",factory:()=>st(Fs).handleError.bind(void 0)}),_c=new tt(""),um=new tt("",{providedIn:"root",factory:()=>!1});let Ru,vh;function _h(){if(void 0===Ru&&(Ru=null,Rn.trustedTypes))try{Ru=Rn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}function bl(t){return _h()?.createHTML(t)||t}function dm(){if(void 0===vh&&(vh=null,Rn.trustedTypes))try{vh=Rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function by(t){return dm()?.createHTML(t)||t}function yy(t){return dm()?.createScript(t)||t}function Cy(t){return dm()?.createScriptURL(t)||t}class yl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wt})`}}class hm extends yl{getTypeName(){return"HTML"}}class DD extends yl{getTypeName(){return"Style"}}class AD extends yl{getTypeName(){return"Script"}}class TD extends yl{getTypeName(){return"URL"}}class vc extends yl{getTypeName(){return"ResourceURL"}}function Pa(t){return t instanceof yl?t.changingThisBreaksApplicationSecurity:t}function Cl(t,r){const s=Sy(t);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see ${Wt})`)}return s===r}function Sy(t){return t instanceof yl&&t.getTypeName()||null}function My(t){return new hm(t)}function PD(t){return new DD(t)}function ID(t){return new AD(t)}function kD(t){return new TD(t)}function fm(t){return new vc(t)}function Ey(t){const r=new xD(t);return function gm(){try{return!!(new window.DOMParser).parseFromString(bl(""),"text/html")}catch{return!1}}()?new wy(r):r}class wy{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(bl(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const s=this.inertDocument.createElement("template");return s.innerHTML=bl(r),s}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Ia(t){const r={};for(const s of t.split(","))r[s]=!0;return r}function bc(...t){const r={};for(const s of t)for(const _ in s)s.hasOwnProperty(_)&&(r[_]=!0);return r}const Dy=Ia("area,br,col,hr,img,wbr"),Wa=Ia("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ay=Ia("rp,rt"),mm=bc(Dy,bc(Wa,Ia("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")),bc(Ay,Ia("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")),bc(Ay,Wa)),pm=Ia("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ty=bc(pm,Ia("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"),Ia("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")),RD=Ia("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let s=r.firstChild,_=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?_=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,_&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let D=this.checkClobberedElement(s,s.nextSibling);if(D){s=D;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(r){const s=r.nodeName.toLowerCase();if(!mm.hasOwnProperty(s))return this.sanitizedSomething=!0,!RD.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const _=r.attributes;for(let D=0;D<_.length;D++){const k=_.item(D),$=k.name,se=$.toLowerCase();if(!Ty.hasOwnProperty(se)){this.sanitizedSomething=!0;continue}let _e=k.value;pm[se]&&(_e=bh(_e)),this.buf.push(" ",$,'="',Sl(_e),'"')}return this.buf.push(">"),!0}endElement(r){const s=r.nodeName.toLowerCase();mm.hasOwnProperty(s)&&!Dy.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(Sl(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jD=/([^\#-~ |!])/g;function Sl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(jD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let ka;function Py(t,r){let s=null;try{ka=ka||Ey(t);let _=r?String(r):"";s=ka.getInertBodyElement(_);let D=5,k=_;do{if(0===D)throw new Error("Failed to sanitize html because the input is unstable");D--,_=k,k=s.innerHTML,s=ka.getInertBodyElement(_)}while(_!==k);return bl((new FD).sanitizeChildren(yh(s)||s))}finally{if(s){const _=yh(s)||s;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function yh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ml=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ml||{});function _m(t){const r=Fu();return r?by(r.sanitize(Ml.HTML,t)||""):Cl(t,"HTML")?by(Pa(t)):Py(No(),Vr(t))}function vm(t){const r=Fu();return r?r.sanitize(Ml.STYLE,t)||"":Cl(t,"Style")?Pa(t):Vr(t)}function bm(t){const r=Fu();return r?r.sanitize(Ml.URL,t)||"":Cl(t,"URL")?Pa(t):bh(Vr(t))}function Ch(t){const r=Fu();if(r)return Cy(r.sanitize(Ml.RESOURCE_URL,t)||"");if(Cl(t,"ResourceURL"))return Cy(Pa(t));throw new bt(904,!1)}function ym(t){const r=Fu();if(r)return yy(r.sanitize(Ml.SCRIPT,t)||"");if(Cl(t,"Script"))return yy(Pa(t));throw new bt(905,!1)}function Iy(t){return bl(t[0])}function Cm(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function xa(t,r,s){return function UD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:bm}(r,s)(t)}function Fu(){const t=Sn();return t&&t[Vi].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Mh=new Map;let GD=0;function Mm(t){return Mh.get(t)||null}class Eh{get lView(){return Mm(this.lViewId)}constructor(r,s,_){this.lViewId=r,this.nodeIndex=s,this.native=_}}function Ms(t){let r=El(t);if(r){if(Ni(r)){const s=r;let _,D,k;if(wl(t)){if(_=function Em(t,r){const s=t[Pn].components;if(s)for(let _=0;_=0){const se=Ur(k[$]),_e=Nu(k,$,se);_s(se,_e),r=_e;break}}}}return r||null}function Nu(t,r,s){return new Eh(t[Rr],r,s)}const ju="__ngContext__";function _s(t,r){Ni(r)?(t[ju]=r[Rr],function QD(t){Mh.set(t[Rr],t)}(r)):t[ju]=r}function El(t){const r=t[ju];return"number"==typeof r?Mm(r):r||null}function wl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Ry(t,r){const s=t[Pn];for(let _=ar;_r.replace(ky,VD))}(r))}function Ph(t,r,s){return t.createElement(r,s)}function Wy(t,r){Lh(t,r,r[hr],2,null,null)}function Rm(t,r){const s=t[po],_=s.indexOf(r);s.splice(_,1)}function Bu(t,r){if(t.length<=zr)return;const s=zr+r,_=t[s];if(_){const D=_[zi];null!==D&&D!==t&&Rm(D,_),r>0&&(t[s-1][Pr]=_[Pr]);const k=Sa(t,zr+r);!function i1(t,r){Wy(t,r),r[_r]=null,r[ai]=null}(_[Pn],_);const $=k[ro];null!==$&&$.detachView(k[Pn]),_[si]=null,_[Pr]=null,_[Gn]&=-129}return _}function Ih(t,r){if(!(256&r[Gn])){const s=r[hr];s.destroyNode&&Lh(t,r,s,3,null,null),function s1(t){let r=t[Yi];if(!r)return Fm(t[Pn],t);for(;r;){let s=null;if(Ni(r))s=r[Yi];else{const _=r[zr];_&&(s=_)}if(!s){for(;r&&!r[Pr]&&r!==t;)Ni(r)&&Fm(r[Pn],r),r=r[si];null===r&&(r=t),Ni(r)&&Fm(r[Pn],r),s=r&&r[Pr]}r=s}}(r)}}function Fm(t,r){if(!(256&r[Gn])){r[Gn]&=-129,r[Gn]|=256,r[qr]&&T(r[qr]),function c1(t,r){let s;if(null!=t&&null!=(s=t.destroyHooks))for(let _=0;_=0?_[$]():_[-$].unsubscribe(),k+=2}else s[k].call(_[s[k+1]]);null!==_&&(r[ti]=null);const D=r[_i];if(null!==D){r[_i]=null;for(let k=0;k-1){const{encapsulation:k}=t.data[_.directiveStart+D];if(k===yr.None||k===yr.Emulated)return null}return Zi(_,s)}}function Al(t,r,s,_,D){t.insertBefore(r,s,_,D)}function Qy(t,r,s){t.appendChild(r,s)}function Nm(t,r,s,_,D){null!==_?Al(t,r,s,_,D):Qy(t,r,s)}function kh(t,r){return t.parentNode(r)}function Zy(t,r,s){return Jy(t,r,s)}function jm(t,r,s){return 40&t.type?Zi(t,s):null}let Bm,Jy=jm;function qy(t,r){Jy=t,Bm=r}function xh(t,r,s,_){const D=Uu(t,_,r),k=r[hr],se=Zy(_.parent||r[ai],_,r);if(null!=D)if(Array.isArray(s))for(let _e=0;_ear&&s0(t,r,ar,!1),pa($?2:0,D),s(_,D)}finally{Yo(k),pa($?3:1,D)}}function Rh(t,r,s){if(Lo(r)){const _=c(null);try{const k=r.directiveEnd;for(let $=r.directiveStart;$null;function y1(t){Jl(t)?Hm(t):function Zw(t){const r=No(),s=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(k){const $=function Xw(t){return t.textContent?.replace(/\s/gm,"")}(k);return"ngetn"===$||"ngtns"===$?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let _;const D=[];for(;_=s.nextNode();)D.push(_);for(const k of D)"ngetn"===k.textContent?k.replaceWith(r.createTextNode("")):k.remove()}(t)}function Nh(t,r,s,_,D){for(let k in r){if(!r.hasOwnProperty(k))continue;const $=r[k];if(void 0===$)continue;_??={};let se,_e=at.None;Array.isArray($)?(se=$[0],_e=$[1]):se=$;let Ne=k;if(null!==D){if(!D.hasOwnProperty(k))continue;Ne=D[k]}0===t?h0(_,s,Ne,se,_e):h0(_,s,Ne,se)}return _}function h0(t,r,s,_,D){let k;t.hasOwnProperty(s)?(k=t[s]).push(r,_):k=t[s]=[r,_],void 0!==D&&k.push(D)}function Es(t,r,s,_,D,k,$,se){const _e=Zi(r,s);let Xe,Ne=r.inputs;!se&&null!=Ne&&(Xe=Ne[_])?(Xm(t,s,Xe,_,D),Oi(r)&&function E1(t,r){const s=Di(r,t);16&s[Gn]||(s[Gn]|=64)}(s,r.index)):3&r.type&&(_=function M1(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(_),D=null!=$?$(D,r.value||"",_):D,k.setProperty(_e,_,D))}function Wm(t,r,s,_){if(tr()){const D=null===_?null:{"":-1},k=function Vu(t,r){const s=t.directiveRegistry;let _=null,D=null;if(s)for(let k=0;k0;){const s=t[--r];if("number"==typeof s&&s<0)return s}return 0})($)!=se&&$.push(se),$.push(s,_,k)}}(t,r,_,Hu(t,s,D.hostVars,ri),D)}function va(t,r,s,_,D,k){const $=Zi(t,r);wc(r[hr],$,k,t.value,s,_,D)}function wc(t,r,s,_,D,k,$){if(null==k)t.removeAttribute(r,D,s);else{const se=null==$?Vr(k):$(k,_||"",D);t.setAttribute(r,D,se,s)}}function k1(t,r,s,_,D,k){const $=k[r];if(null!==$)for(let se=0;se<$.length;)l0(_,s,$[se++],$[se++],$[se++],$[se++])}function x1(t,r,s){let _=null,D=0;for(;D0&&(s[D-1][Pr]=r),_{Ze(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}};function Wu(t){return D0(t[Yi])}function w0(t){return D0(t[Pr])}function D0(t){for(;null!==t&&!Gr(t);)t=t[Pr];return t}function Ac(t,r=!0,s=0){const _=t[Vi],D=_.rendererFactory;D.begin?.();try{!function N1(t,r){ip(t,r);let s=0;for(;pe(t);){if(100===s)throw new bt(103,!1);s++,ip(t,1)}}(t,s)}catch($){throw r&&Vh(t,$),$}finally{D.end?.(),_.inlineEffectRunner?.flush()}}function B1(t,r,s,_){const D=r[Gn];if(256==(256&D))return;r[Vi].inlineEffectRunner?.flush(),Qr(r);let $=null,se=null;(function np(t){return 2!==t.type})(t)&&(se=function Yh(t){return t[qr]??function L1(t){const r=tp.pop()??Object.create(R1);return r.lView=t,r}(t)}(r),$=M(se));try{fs(r),cn(t.bindingStartIndex),null!==s&&c0(t,r,s,2,_);const _e=3==(3&D);if(_e){const St=t.preOrderCheckHooks;null!==St&&sh(r,St,null)}else{const St=t.preOrderHooks;null!==St&&fc(r,St,0,null),ku(r,0)}if(function P0(t){for(let r=Wu(t);null!==r;r=w0(r)){if(!(r[Gn]&yo.HasTransplantedViews))continue;const s=r[po];for(let _=0;_-1&&(Bu(r,_),Sa(s,_))}this._attachedToViewContainer=!1}Ih(this._lView[Pn],this._lView)}onDestroy(r){Dt(this._lView,r)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Gn]&=-129}reattach(){Le(this._lView),this._lView[Gn]|=128}detectChanges(){this._lView[Gn]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new bt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Wy(this._lView[Pn],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new bt(902,!1);this._appRef=r,Le(this._lView)}}let Ku=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=V1}return t})();const zh=Ku,H1=class extends zh{constructor(r,s,_){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=_}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,s){return this.createEmbeddedViewImpl(r,s)}createEmbeddedViewImpl(r,s,_){const D=Yu(this._declarationLView,this._declarationTContainer,r,{injector:s,dehydratedView:_});return new Tl(D)}};function V1(){return $h(ei(),Sn())}function $h(t,r){return 4&t.type?new H1(r,t,Jo(t,r)):null}const Wh="<-- AT THIS LOCATION";function W1(t){const _=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function Gh(t){const r=" ";let s="";const _=t;return _.previousSibling&&(s+=" \u2026\n",s+=r+Tc(_.previousSibling)+"\n"),s+=r+Tc(_)+` ${Wh}\n`,t.nextSibling&&(s+=" \u2026\n"),t.parentNode&&(s=Tc(_.parentNode,"\n"+s)),s}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new bt(-503,_)}const K1=new Set(["ngh","ng-version","ng-server-context"]);function op(t,r="\u2026"){switch(t.type){case 1:return"#text"+(t.value?`(${t.value})`:"");case 2:const _=function G1(t){const r=[];if(t.attrs)for(let s=0;s${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function Y1(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(t.type)})`}}function Tc(t,r="\u2026"){const s=t;switch(s.nodeType){case Node.ELEMENT_NODE:const _=s.tagName.toLowerCase(),D=function O0(t){const r=[];for(let s=0;s${r}`;case Node.TEXT_NODE:const k=s.textContent?Pc(s.textContent):"";return"#text"+(k?`(${k})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Pc(s.textContent??"")} --\x3e`;default:return`#node(${s.nodeType})`}}function Pc(t,r=50){return t?(t=function Q1(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function R0(t){const r=t[wi]??[],_=t[si][hr];for(const D of r)X1(D,_);t[wi]=Jn}function X1(t,r){let s=0,_=t.firstChild;if(_){const D=t.data[oc];for(;s0&&s[D-1]===_?s[D]=(s[D]||1)+1:s.push(_,"")}return s.join("")}(s,_)}function j0(t,r){let _,D,k,s=t.parent;for(;null!==s&&Zu(s,r);)s=s.parent;null!==s&&3&s.type?(_=s.index,D=Ur(r[_]),k=Vr(_-ar)):(_=k=Og,D=r[Jr][_r]);let $=Ur(r[t.index]);if(12&t.type){const _e=Mc(r,t);_e&&($=_e)}let se=N0(D,$,k);if(null===se&&D!==$&&(se=N0(D.ownerDocument.body,$,Lg),null===se))throw function $1(t,r){const _=`${function sp(t,r,s){const _=" ";let D="";r.prev?(D+=" \u2026\n",D+=_+op(r.prev)+"\n"):r.type&&12&r.type&&(D+=" \u2026\n"),s?(D+=_+op(r)+"\n",D+=_+`\x3c!-- container --\x3e ${Wh}\n`):D+=_+op(r)+` ${Wh}\n`,D+=" \u2026\n";const k=r.type?Uu(t[Pn],r,t):null;return k&&(D=Tc(k,"\n"+D)),D}(t,r,!1)}\n\n`,D=function Qu(t){return`To fix this problem:\n * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new bt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+_+D)}(r,t);return se}let up=()=>null;function rA(t,r){const s=t[wi];return r&&null!==s&&0!==s.length?s[0].data[hl]===r?s.shift():(R0(t),null):null}function Pl(t,r){return up(t,r)}class hp{}class Zh{}class Ju{}class oA{resolveComponentFactory(r){throw function iA(t){const r=Error(`No component factory found for ${He(t)}.`);return r.ngComponent=t,r}(r)}}let qu=(()=>{class t{static#e=this.NULL=new oA}return t})();class B0{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sA(){const t=Sn(),s=Di(ei().index,t);return(Ni(s)?s:t)[hr]}()}return t})(),gp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>null})}return t})();const ed={};function mp(t){return"function"==typeof t&&void 0!==t[e]}const U0=new Set;function zs(t){U0.has(t)||(U0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function aA(t,r){zs("NgSignals");const s=V(t);return r?.equal&&(s[e].equal=r.equal),s}function lA(t){return null}function Po(t,r){zs("NgSignals");const s=function J(t){const r=Object.create(ue);r.value=t;const s=()=>(S(r),r.value);return s[e]=r,s}(t),_=s[e];return r?.equal&&(_.equal=r.equal),s.set=D=>re(_,D),s.update=D=>function G(t,r){C()||Y(),re(t,r(t.value))}(_,D),s.asReadonly=cA.bind(s),s}function cA(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Jh(t){return mp(t)&&"function"==typeof t.set}function uA(t){const r=c(null);try{return t()}finally{c(r)}}function qh(t){return!!td(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function td(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new z0(r)}}const hA=(t,r)=>r;class z0{constructor(r){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=r||hA}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,_=this._removalsHead,D=0,k=null;for(;s||_;){const $=!_||s&&s.currentIndex<$0(_,D,k)?s:_,se=$0($,D,k),_e=$.currentIndex;if($===_)D--,_=_._nextRemoved;else if(s=s._next,null==$.previousIndex)D++;else{k||(k=[]);const Ne=se-D,Xe=_e-D;if(Ne!=Xe){for(let jt=0;jt{$=this._trackByFn(D,se),null!==s&&Object.is(s.trackById,$)?(_&&(s=this._verifyReinsertion(s,se,$,D)),Object.is(s.item,se)||this._addIdentityChange(s,se)):(s=this._mismatch(s,se,$,D),_=!0),s=s._next,D++}),this.length=D;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,_,D){let k;return null===r?k=this._itTail:(k=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,k,D)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(_,D))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,k,D)):r=this._addAfter(new _p(s,_),k,D),r}_verifyReinsertion(r,s,_,D){let k=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==k?r=this._reinsertAfter(k,r._prev,D):r.currentIndex!=D&&(r.currentIndex=D,this._addToMoves(r,D)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}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(r,s,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const D=r._prevRemoved,k=r._nextRemoved;return null===D?this._removalsHead=k:D._nextRemoved=k,null===k?this._removalsTail=D:k._prevRemoved=D,this._insertAfter(r,s,_),this._addToMoves(r,_),r}_moveAfter(r,s,_){return this._unlink(r),this._insertAfter(r,s,_),this._addToMoves(r,_),r}_addAfter(r,s,_){return this._insertAfter(r,s,_),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,_){const D=null===s?this._itHead:s._next;return r._next=D,r._prev=s,null===D?this._itTail=r:D._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=_,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,_=r._next;return null===s?this._itHead=_:s._next=_,null===_?this._itTail=s:_._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vp),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,s){this.item=r,this.trackById=s,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 fA{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===s||s<=_.currentIndex)&&Object.is(_.trackById,r))return _;return null}remove(r){const s=r._prevDup,_=r._nextDup;return null===s?this._head=_:s._nextDup=_,null===_?this._tail=s:_._prevDup=s,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const s=r.trackById;let _=this.map.get(s);_||(_=new fA,this.map.set(s,_)),_.add(r)}get(r,s){const D=this.map.get(r);return D?D.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $0(t,r,s){const _=t.previousIndex;if(null===_)return _;let D=0;return s&&_{if(s&&s.key===D)this._maybeAddToChanges(s,_),this._appendAfter=s,s=s._next;else{const k=this._getOrCreateRecordForKey(D,_);s=this._insertBeforeOrAppend(s,k)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let _=s;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const _=r._prev;return s._next=r,s._prev=_,r._prev=s,_&&(_._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const D=this._records.get(r);this._maybeAddToChanges(D,s);const k=D._prev,$=D._next;return k&&(k._next=$),$&&($._prev=k),D._next=null,D._prev=null,D}const _=new gA(r);return this._records.set(r,_),_.currentValue=s,this._addToAdditions(_),_}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(_=>s(r[_],_))}}class gA{constructor(r){this.key=r,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 bp(){return new yp([new pp])}let yp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:bp});constructor(s){this.factories=s}static create(s,_){if(null!=_){const D=_.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:_=>t.create(s,_||bp()),deps:[[t,new Gd,new Wd]]}}find(s){const _=this.factories.find(D=>D.supports(s));if(null!=_)return _;throw new bt(901,!1)}}return t})();function K0(){return new nd([new W0])}let nd=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:K0});constructor(s){this.factories=s}static create(s,_){if(_){const D=_.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:_=>t.create(s,_||K0()),deps:[[t,new Gd,new Wd]]}}find(s){const _=this.factories.find(D=>D.supports(s));if(_)return _;throw new bt(901,!1)}}return t})();function Q0(t,r){const s=qh(t),_=qh(r);return s&&_?function dA(t,r,s){const _=t[Symbol.iterator](),D=r[Symbol.iterator]();for(;;){const k=_.next(),$=D.next();if(k.done&&$.done)return!0;if(k.done||$.done||!s(k.value,$.value))return!1}}(t,r,Q0):!(s||!t||"object"!=typeof t&&"function"!=typeof t||_||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=kc}return t})();function kc(t){return function pA(t,r,s){if(Oi(t)&&!s){const _=Di(t.index,r);return new Tl(_,_)}return 47&t.type?new Tl(r[Jr],r):null}(ei(),Sn(),16==(16&t))}const X0=[new W0],ks=new yp([new pp]),vA=new nd(X0);let xc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=Z0;static#t=this.__NG_ENV_ID__=s=>s}return t})();class bA extends xc{constructor(r){super(),this._lView=r}onDestroy(r){return Dt(this._lView,r),()=>Rt(this._lView,r)}}function Z0(){return new bA(Sn())}function yA(t,r){if(null!==function l(){return d}())throw new bt(-602,!1)}const J0=new tt("",{providedIn:"root",factory:()=>st(q0)});let q0=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new eC})}return t})();class eC{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){this.enqueue(r),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(r){const s=r.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const _=this.queues.get(s);_.has(r)||(this.queuedEffectCount++,_.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,s]of this.queues)null===r?this.flushQueue(s):r.run(()=>this.flushQueue(s))}flushQueue(r){for(const s of r)r.delete(s),this.queuedEffectCount--,s.run()}}class CA{constructor(r,s,_,D,k,$){this.scheduler=r,this.effectFn=s,this.creationZone=_,this.injector=k,this.watcher=function Ie(t,r,s){const _=Object.create(ie);s&&(_.consumerAllowSignalWrites=!0),_.fn=t,_.schedule=r;const D=_e=>{_.cleanupFn=_e};return _.ref={notify:()=>v(_),run:()=>{if(null===_.fn)return;if(function g(){return u}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(_.dirty=!1,_.hasRun&&!A(_))return;_.hasRun=!0;const _e=M(_);try{_.cleanupFn(),_.cleanupFn=be,_.fn(D)}finally{E(_,_e)}},cleanup:()=>_.cleanupFn(),destroy:()=>function $(_e){(function k(_e){return null===_e.fn&&null===_e.schedule})(_e)||(T(_e),_e.cleanupFn(),_e.fn=null,_e.schedule=null,_e.cleanupFn=be)}(_),[e]:_},_.ref}(se=>this.runEffect(se),()=>this.schedule(),$),this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(s){this.injector.get(Fs,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Sp(t,r){zs("NgSignals"),!r?.injector&&pl();const s=r?.injector??st(Rs),_=!0!==r?.manualCleanup?s.get(xc):null,D=new CA(s.get(J0),t,typeof Zone>"u"?null:Zone.current,_,s,r?.allowSignalWrites??!1),k=s.get(Cp,null,{optional:!0});return k&&8&k._lView[Gn]?(k._lView[xi]??=[]).push(D.watcher.notify):D.watcher.notify(),D}function tC(...t){}class Oo{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),typeof Zone>"u")throw new bt(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!_&&s,D.shouldCoalesceRunChangeDetection=_,D.lastRequestAnimationFrameId=-1,D.nativeRequestAnimationFrame=function ef(){const t="function"==typeof Rn.requestAnimationFrame;let r=Rn[t?"requestAnimationFrame":"setTimeout"],s=Rn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&s){const _=r[Zone.__symbol__("OriginalDelegate")];_&&(r=_);const D=s[Zone.__symbol__("OriginalDelegate")];D&&(s=D)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function ya(t){const r=()=>{!function MA(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Mp(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Mp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,_,D,k,$,se)=>{if(function EA(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(se))return s.invokeTask(D,k,$,se);try{return rd(t),s.invokeTask(D,k,$,se)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===k.type||t.shouldCoalesceRunChangeDetection)&&r(),nC(t)}},onInvoke:(s,_,D,k,$,se,_e)=>{try{return rd(t),s.invoke(D,k,$,se,_e)}finally{t.shouldCoalesceRunChangeDetection&&r(),nC(t)}},onHasTask:(s,_,D,k)=>{s.hasTask(D,k),_===D&&("microTask"==k.change?(t._hasPendingMicrotasks=k.microTask,Mp(t),tf(t)):"macroTask"==k.change&&(t.hasPendingMacrotasks=k.macroTask))},onHandleError:(s,_,D,k)=>(s.handleError(D,k),t.runOutsideAngular(()=>t.onError.emit(k)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Oo.isInAngularZone())throw new bt(909,!1)}static assertNotInAngularZone(){if(Oo.isInAngularZone())throw new bt(909,!1)}run(r,s,_){return this._inner.run(r,s,_)}runTask(r,s,_,D){const k=this._inner,$=k.scheduleEventTask("NgZoneEvent: "+D,r,SA,tC,tC);try{return k.runTask($,s,_)}finally{k.cancelTask($)}}runGuarded(r,s,_){return this._inner.runGuarded(r,s,_)}runOutsideAngular(r){return this._outer.run(r)}}const SA={};function tf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Mp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nC(t){t._nesting--,tf(t)}class Ep{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}run(r,s,_){return r.apply(s,_)}runGuarded(r,s,_){return r.apply(s,_)}runOutsideAngular(r){return r()}runTask(r,s,_,D){return r.apply(s,_)}}var Ka=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ka||{});const nf={destroy(){}};function rf(t,r){const s=r?.injector??st(Rs);(r?.runOnServer||Ga(s))&&s.get(Il).internalCallbacks.push(t)}function wp(t,r){!r&&pl();const s=r?.injector??st(Rs);if(!Ga(s))return nf;zs("NgAfterRender");const _=s.get(Il),D=_.handler??=new oC,k=r?.phase??Ka.MixedReadWrite,$=()=>{D.unregister(_e),se()},se=s.get(xc).onDestroy($),_e=new id(s,k,t);return D.register(_e),{destroy:$}}function iC(t,r){!r&&pl();const s=r?.injector??st(Rs);if(!Ga(s))return nf;zs("NgAfterNextRender");const _=s.get(Il),D=_.handler??=new oC,k=r?.phase??Ka.MixedReadWrite,$=()=>{D.unregister(_e),se()},se=s.get(xc).onDestroy($),_e=new id(s,k,()=>{$(),t()});return D.register(_e),{destroy:$}}class id{constructor(r,s,_){this.phase=s,this.callbackFn=_,this.zone=r.get(Oo),this.errorHandler=r.get(Fs,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class oC{constructor(){this.executingCallbacks=!1,this.buckets={[Ka.EarlyRead]:new Set,[Ka.Write]:new Set,[Ka.MixedReadWrite]:new Set,[Ka.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const s of r)s.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let Il=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const _ of s)_()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function Qa(t){return!!cr(t)}function of(t){return!!Nn(t)}function sC(t){return!!Gt(t)}function od(t){return!!fn(t)}function DA(t,r){if(Ha(t)&&!(t=Dr(t)))throw new Error(`Expected forwardRef function, imported from "${Bi(r)}", to return a standalone entity or NgModule but got "${Bi(t)||t}".`);if(null==cr(t)){const s=fn(t)||Gt(t)||Nn(t);if(null==s)throw Dp(t)?new Error(`A module with providers was imported from "${Bi(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bi(t)}" type, imported from "${Bi(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone)throw new Error(`The "${Bi(t)}" ${function wA(t){return fn(t)?"component":Gt(t)?"directive":Nn(t)?"pipe":"type"}(t)}, imported from "${Bi(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class aC{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const s=cr(r);if(s?.declarations)for(const _ of Ns(s.declarations))od(_)&&this.ownerNgModule.set(_,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,s){this.resolveNgModulesDecls();const _=fn(r);if(null===_)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(_.standalone){const D=this.getStandaloneComponentScope(r,s);return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes,...D.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const D=this.getNgModuleScope(this.ownerNgModule.get(r));return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes]}}}registerNgModule(r,s){if(!Qa(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const s=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,s),s}computeNgModuleScope(r){const s=cr(r,!0),_={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const D of Ns(s.imports))if(Qa(D)){const k=this.getNgModuleScope(D);na(k.exported.directives,_.compilation.directives),na(k.exported.pipes,_.compilation.pipes)}else{if(!lr(D)){_.compilation.isPoisoned=!0;break}if(sC(D)||od(D))_.compilation.directives.add(D);else{if(!of(D))throw new bt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");_.compilation.pipes.add(D)}}if(!_.compilation.isPoisoned)for(const D of Ns(s.declarations)){if(Qa(D)||lr(D)){_.compilation.isPoisoned=!0;break}of(D)?_.compilation.pipes.add(D):_.compilation.directives.add(D)}for(const D of Ns(s.exports))if(Qa(D)){const k=this.getNgModuleScope(D);na(k.exported.directives,_.exported.directives),na(k.exported.pipes,_.exported.pipes),na(k.exported.directives,_.compilation.directives),na(k.exported.pipes,_.compilation.pipes)}else of(D)?_.exported.pipes.add(D):_.exported.directives.add(D);return _}getStandaloneComponentScope(r,s){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const _=this.computeStandaloneComponentScope(r,s);return this.standaloneComponentsScopeCache.set(r,_),_}computeStandaloneComponentScope(r,s){const _={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const D of ls(s??[])){const k=Dr(D);try{DA(k,r)}catch{return _.compilation.isPoisoned=!0,_}if(Qa(k)){_.compilation.ngModules.add(k);const $=this.getNgModuleScope(k);if($.exported.isPoisoned)return _.compilation.isPoisoned=!0,_;na($.exported.directives,_.compilation.directives),na($.exported.pipes,_.compilation.pipes)}else if(of(k))_.compilation.pipes.add(k);else{if(!sC(k)&&!od(k))return _.compilation.isPoisoned=!0,_;_.compilation.directives.add(k)}}return _}isOrphanComponent(r){const s=fn(r);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function na(t,r){for(const s of t)r.add(s)}const Oc=new aC;function sf(t,r,s){let _=s?t.styles:null,D=s?t.classes:null,k=0;if(null!==r)for(let $=0;$0&&n0(t,s,k.join(" "))}}(jt,Fi,pn,_),void 0!==s&&function fC(t,r,s){const _=t.projection=[];for(let D=0;D{class t{static#e=this.__NG_ELEMENT_ID__=kA}return t})();function kA(){return vC(ei(),Sn())}const mC=lf,pC=class extends mC{constructor(r,s,_){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=_}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new es(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(nm(r)){const s=Lu(r,this._hostLView),_=Ou(r);return new es(s[Pn].data[_+8],s)}return new es(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=_C(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-zr}createEmbeddedView(r,s,_){let D,k;"number"==typeof _?D=_:null!=_&&(D=_.index,k=_.injector);const $=Pl(this._lContainer,r.ssrId),se=r.createEmbeddedViewImpl(s||{},k,$);return this.insertImpl(se,D,Dc(this._hostTNode,$)),se}createComponent(r,s,_,D,k){const $=r&&!dc(r);let se;if($)se=s;else{const pn=s||{};se=pn.index,_=pn.injector,D=pn.projectableNodes,k=pn.environmentInjector||pn.ngModuleRef}const _e=$?r:new Lc(fn(r)),Ne=_||this.parentInjector;if(!k&&null==_e.ngModule){const kn=($?Ne:this.parentInjector).get(Js,null);kn&&(k=kn)}const Xe=fn(_e.componentType??{}),St=Pl(this._lContainer,Xe?.id??null),Qt=_e.create(Ne,D,St?.firstChild??null,k);return this.insertImpl(Qt.hostView,se,Dc(this._hostTNode,St)),Qt}insert(r,s){return this.insertImpl(r,s,!0)}insertImpl(r,s,_){const D=r._lView;if(function os(t){return Gr(t[si])}(D)){const se=this.indexOf(r);if(-1!==se)this.detach(se);else{const _e=D[si],Ne=new pC(_e,_e[ai],_e[si]);Ne.detach(Ne.indexOf(r))}}const k=this._adjustIndex(s),$=this._lContainer;return zu($,D,k,_),r.attachToViewContainerRef(),nl(ad($),k,r),r}move(r,s){return this.insert(r,s)}indexOf(r){const s=_C(this._lContainer);return null!==s?s.indexOf(r):-1}remove(r){const s=this._adjustIndex(r,-1),_=Bu(this._lContainer,s);_&&(Sa(ad(this._lContainer),s),Ih(_[Pn],_))}detach(r){const s=this._adjustIndex(r,-1),_=Bu(this._lContainer,s);return _&&null!=Sa(ad(this._lContainer),s)?new Tl(_):null}_adjustIndex(r,s=0){return r??this.length+s}};function _C(t){return t[8]}function ad(t){return t[8]||(t[8]=[])}function vC(t,r){let s;const _=r[t.index];return Gr(_)?s=_:(s=p0(_,r,null,t),r[t.index]=s,Hh(r,s)),bC(s,r,t,_),new pC(s,t,r)}let bC=Tp,cf=()=>!1;function yC(t,r,s){return cf(t,r,s)}function Tp(t,r,s,_){if(t[bi])return;let D;D=8&s.type?Ur(_):function xA(t,r){const s=t[hr],_=s.createComment(""),D=Zi(r,t);return Al(s,kh(s,D),_,function d1(t,r){return t.nextSibling(r)}(s,D),!1),_}(r,s),t[bi]=D}function OA(t,r,s){if(t[bi]&&t[wi])return!0;const _=s[Fn],D=r.index-ar;if(!_||Wi(r)||$d(_,D))return!1;const $=Hg(_,D),se=_.data[ma]?.[D],[_e,Ne]=function nA(t,r){const s=[];for(const _ of r)for(let D=0;D<(_[dl]??1);D++){const k={data:_,firstChild:null};_[oc]>0&&(k.firstChild=t,t=Qh(_[oc],t)),s.push(k)}return[t,s]}($,se);return t[bi]=_e,t[wi]=Ne,!0}function CC(t,r,s,_){cf(t,s,r)||Tp(t,r,s,_)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Pp{constructor(r=[]){this.queries=r}createEmbeddedView(r){const s=r.queries;if(null!==s){const _=null!==r.contentQueries?r.contentQueries[0]:s.length,D=[];for(let k=0;k<_;k++){const $=s.getByIndex(k);D.push(this.queries[$.indexInDeclarationView].clone())}return new Pp(D)}return null}insertView(r){this.dirtyQueriesWithMatches(r)}detachView(r){this.dirtyQueriesWithMatches(r)}finishViewCreation(r){this.dirtyQueriesWithMatches(r)}dirtyQueriesWithMatches(r){for(let s=0;sr.trim())}(r):r}}class ld{constructor(r=[]){this.queries=r}elementStart(r,s){for(let _=0;_0)_.push($[se/2]);else{const Ne=k[se+1],Xe=r[-_e];for(let St=zr;St{s._dirtyCounter();const D=function xC(t,r){const s=t._lView,_=t._queryIndex;if(void 0===s||void 0===_||4&s[Gn])return r?void 0:Jn;const D=Op(s,_),k=cd(s,_);return D.reset(k,Kl),r?D.first:D._changesDetected||void 0===t._flatValue?t._flatValue=D.toArray():t._flatValue}(s,t);if(r&&void 0===D)throw new bt(-951,!1);return D});return s=_[e],s._dirtyCounter=Po(0),s._flatValue=void 0,_}function Fp(){return Rp(!0,!1)}function IC(){return Rp(!0,!0)}function Rc(){return Rp(!1,!1)}function kC(t,r){const s=t[e];s._lView=Sn(),s._queryIndex=r,s._queryList=Op(s._lView,r),s._queryList.onDirty(()=>s._dirtyCounter.update(_=>_+1))}function OC(t,r){return Fp()}const LC=(OC.required=function NA(t,r){return IC()},OC);function jA(t,r){return Rc()}function Np(t,r){return Fp()}const UA=(Np.required=function BA(t,r){return IC()},Np);function RC(t,r){return Rc()}function FC(t){const r=[],s=Object.create(hn);function _(){return S(s),jp(s.value),s.value}return s.value=t,_[e]=s,_.asReadonly=()=>_(),_.set=k=>{s.equal(s.value,k)||(re(s,k),function D(k){for(let $=0;${jp(s.value),_.set(k(s.value))},_.subscribe=k=>(r.push(k),()=>{const $=r.indexOf(k);$>-1&&r.splice($,1)}),_}function jp(t){if(t===an)throw new bt(-952,!1)}function NC(t){return FC(t)}const jC=(NC.required=function HA(){return FC(an)},NC);class Fc{}const VA=Va("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Fc),YA=Va("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Fc),zA=Va("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Fc),$A=Va("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Fc);function UC(t){const r=[],s=new Map;function _(D){let k=s.get(D);if(!k){const $=t(D);s.set(D,k=$.then(KA))}return k}return Nc.forEach((D,k)=>{const $=[];D.templateUrl&&$.push(_(D.templateUrl).then(Ne=>{D.template=Ne}));const se="string"==typeof D.styles?[D.styles]:D.styles||[];if(D.styles=se,D.styleUrl&&D.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(D.styleUrls?.length){const Ne=D.styles.length,Xe=D.styleUrls;D.styleUrls.forEach((St,jt)=>{se.push(""),$.push(_(St).then(Qt=>{se[Ne+jt]=Qt,Xe.splice(Xe.indexOf(St),1),0==Xe.length&&(D.styleUrls=void 0)}))})}else D.styleUrl&&$.push(_(D.styleUrl).then(Ne=>{se.push(Ne),D.styleUrl=void 0}));const _e=Promise.all($).then(()=>function zC(t){jc.delete(t)}(k));r.push(_e)}),Bp(),Promise.all(r).then(()=>{})}let Nc=new Map;const jc=new Set;function HC(t){return jc.has(t)}function VC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Nc;return Nc=new Map,t}function GA(t){jc.clear(),t.forEach((r,s)=>jc.add(s)),Nc=t}function KA(t){return"string"==typeof t?t:t.text()}const hf=new Map;let Up=!0;function ff(t,r){(function QA(t,r,s){if(r&&r!==s&&Up)throw new Error(`Duplicate module registered for ${t} - ${He(r)} vs ${He(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function XA(t){Up=!t}function ud(t,r,s){const _=Sn(),D=hi(),k=Zi(D,_);if(2===D.type&&"iframe"===r.toLowerCase()){const $=k;throw $.src="",$.srcdoc=bl(""),Oh(_[hr],$),new bt(-910,!1)}return t}function $C(t){return Object.getPrototypeOf(t.prototype).constructor}function gf(t){let r=$C(t.type),s=!0;const _=[t];for(;r;){let D;if(Li(t))D=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new bt(903,!1);D=r.\u0275dir}if(D){if(s){_.push(D);const $=t;$.inputs=mf(t.inputs),$.inputTransforms=mf(t.inputTransforms),$.declaredInputs=mf(t.declaredInputs),$.outputs=mf(t.outputs);const se=D.hostBindings;se&&GC(t,se);const _e=D.viewQuery,Ne=D.contentQueries;if(_e&&JA(t,_e),Ne&&qA(t,Ne),ZA(t,D),Or(t.outputs,D.outputs),Li(D)&&D.data.animation){const Xe=t.data;Xe.animation=(Xe.animation||[]).concat(D.data.animation)}}const k=D.features;if(k)for(let $=0;$=0;_--){const D=t[_];D.hostVars=r+=D.hostVars,D.hostAttrs=En(D.hostAttrs,s=En(s,D.hostAttrs))}}(_)}function ZA(t,r){for(const s in r.inputs){if(!r.inputs.hasOwnProperty(s)||t.inputs.hasOwnProperty(s))continue;const _=r.inputs[s];if(void 0!==_&&(t.inputs[s]=_,t.declaredInputs[s]=r.declaredInputs[s],null!==r.inputTransforms)){const D=Array.isArray(_)?_[0]:_;if(!r.inputTransforms.hasOwnProperty(D))continue;t.inputTransforms??={},t.inputTransforms[D]=r.inputTransforms[D]}}}function mf(t){return t===pr?{}:t===Jn?[]:t}function JA(t,r){const s=t.viewQuery;t.viewQuery=s?(_,D)=>{r(_,D),s(_,D)}:r}function qA(t,r){const s=t.contentQueries;t.contentQueries=s?(_,D,k)=>{r(_,D,k),s(_,D,k)}:r}function GC(t,r){const s=t.hostBindings;t.hostBindings=s?(_,D)=>{r(_,D),s(_,D)}:r}const eT=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KC(t){let s,r=$C(t.type);s=Li(t)?r.\u0275cmp:r.\u0275dir;const _=t;for(const D of eT)_[D]=s[D];if(Li(s))for(const D of Vp)_[D]=s[D]}function dd(t){const r=s=>{const _=(Array.isArray(t)?t:t()).map(D=>"function"==typeof D?{directive:Dr(D),inputs:pr,outputs:pr}:{directive:Dr(D.directive),inputs:Yp(D.inputs),outputs:Yp(D.outputs)});null===s.hostDirectives?(s.findHostDirectiveDefs=QC,s.hostDirectives=_):s.hostDirectives.unshift(..._)};return r.ngInherit=!0,r}function QC(t,r,s){if(null!==t.hostDirectives)for(const _ of t.hostDirectives){const D=Gt(_.directive);tT(D.declaredInputs,_.inputs),QC(D,r,s),s.set(D,_),r.push(D)}}function Yp(t){if(void 0===t||0===t.length)return pr;const r={};for(let s=0;ss()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends JC{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tS extends kl{constructor(r){super(),this.componentFactoryResolver=new lC(this),this.instance=null;const s=new cc([...r.providers,{provide:kl,useValue:this},{provide:qu,useValue:this.componentFactoryResolver}],r.parent||Aa(),r.debugName,new Set(["environment"]));this.injector=s,r.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function zp(t,r,s=null){return new tS({providers:t,parent:r,debugName:s,runEnvironmentInitializers:!0}).injector}let nS=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(s,_,D,k){if(!this.cachedInjectors.has(s)){const $=D.length>0?zp(D,_,k):null;this.cachedInjectors.set(s,$)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iT(t){return t[vf]??null}function hd(t,r,s){const _=t;return _[vf]=()=>Promise.all(r()).then(D=>(s(...D),_[vf]=null,D)),_[vf]}function rS(t,r,s,_){return qn(()=>{const D=t;null!==r&&(D.hasOwnProperty("decorators")&&void 0!==D.decorators?D.decorators.push(...r):D.decorators=r),null!==s&&(D.ctorParameters=s),null!==_&&(D.propDecorators=D.hasOwnProperty("propDecorators")&&void 0!==D.propDecorators?{...D.propDecorators,..._}:_)})}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new nt.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vs(t,r,s){return t[r]=s}function gd(t,r){return t[r]}function jo(t,r,s){return!Object.is(t[r],s)&&(t[r]=s,!0)}function Xa(t,r,s,_){const D=jo(t,r,s);return jo(t,r+1,_)||D}function bf(t,r,s,_,D){const k=Xa(t,r,s,_);return jo(t,r+2,D)||k}function $s(t,r,s,_,D,k){const $=Xa(t,r,s,_);return Xa(t,r+2,D,k)||$}function Bc(t,r,s,_,D,k,$,se){const _e=Sn(),Ne=wr(),Xe=t+ar,St=Ne.firstCreatePass?function oS(t,r,s,_,D,k,$,se,_e){const Ne=r.consts,Xe=Oa(r,t,4,$||null,io(Ne,se));Wm(r,s,Xe,io(Ne,_e)),oh(r,Xe);const St=Xe.tView=Fh(2,Xe,_,D,k,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ne,null);return null!==r.queries&&(r.queries.template(r,Xe),St.queries=r.queries.embeddedTView(Xe)),Xe}(Xe,Ne,_e,r,s,_,D,k,$):Ne.data[Xe];ot(St,!1);const jt=$p(Ne,_e,St,t);Qs()&&xh(Ne,_e,jt,St),_s(jt,_e);const Qt=p0(jt,_e,jt,St);return _e[Xe]=Qt,Hh(_e,Qt),yC(Qt,St,_e),Xi(St)&&Ym(Ne,_e,St),null!=$&&zm(_e,St,se),Bc}let $p=sS;function sS(t,r,s,_){return Os(!0),r[hr].createComment("")}function oT(t,r,s,_){const D=r[Fn],k=!D||vr()||$d(D,_);if(Os(k),k)return sS(0,r);const $=D.data[Fg]?.[_]??null;null!==$&&null!==s.tView&&null===s.tView.ssrId&&(s.tView.ssrId=$);const se=ta(D,t,r,s);return Yd(D,_,se),Qh(zd(D,_),se)}var Bo=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Bo||{});const yf=0,sT=1;var Io=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Io||{}),md=function(t){return t[t.Initial=-1]="Initial",t}(md||{});const xl=0,Cf=1,Uc=2,Sf=3,aS=4,lS=5;var Mf=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Mf||{});function Ef(t,r,s){const _=1===t?lS:aS;null===r[_]&&(r[_]=[]),r[_].push(s)}function Gp(t,r){const s=1===t?lS:aS,_=r[s];if(null!==_){for(const D of _)D();r[s]=null}}function cS(t){Gp(1,t),Gp(0,t)}function pd(t){return t+1}function Za(t,r){return t[pd(r.index)]}function js(t,r){const s=pd(r.index);return t.data[s]}function Kp(t,r){return r===Io.Placeholder?t.placeholderBlockConfig?.[yf]??null:r===Io.Loading?t.loadingBlockConfig?.[yf]??null:null}function Qp(t){return t.loadingBlockConfig?.[sT]??null}function dS(t,r){if(!t||0===t.length)return r;const s=new Set(t);for(const _ of r)s.add(_);return t.length===s.size?t:Array.from(s)}function hS(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Xp=new WeakMap,Hc=new WeakMap,fS=["click","keydown"],Zp=["mouseenter","focusin"];let Vc=null,Af=0;class Jp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function gS(t,r){let s=Xp.get(t);if(!s){s=new Jp,Xp.set(t,s);for(const _ of fS)t.addEventListener(_,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:_,listener:D}=s;if(_.delete(r),0===_.size){Xp.delete(t);for(const k of fS)t.removeEventListener(k,D,wf)}}}function qp(t,r){let s=Df.get(t);if(!s){s=new Jp,Df.set(t,s);for(const _ of Zp)t.addEventListener(_,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:_,listener:D}=s;if(_.delete(r),0===_.size){for(const k of Zp)t.removeEventListener(k,D,wf);Df.delete(t)}}}function mS(t,r,s){const _=s.get(Oo);let D=Hc.get(t);return Vc=Vc||_.runOutsideAngular(()=>new IntersectionObserver(k=>{for(const $ of k)$.isIntersecting&&Hc.has($.target)&&_.run(Hc.get($.target).listener)})),D||(D=new Jp,_.runOutsideAngular(()=>Vc.observe(t)),Hc.set(t,D),Af++),D.callbacks.add(r),()=>{Hc.has(t)&&(D.callbacks.delete(r),0===D.callbacks.size&&(Vc?.unobserve(t),Hc.delete(t),Af--),0===Af&&(Vc?.disconnect(),Vc=null))}}function Ol(t,r,s,_,D,k,$){const se=t[Zr];rf(function _e(){if(Ro(t))return;const Ne=Za(t,r),Xe=Ne[Cf];if(Xe!==md.Initial&&Xe!==Io.Placeholder)return;const St=function cT(t,r,s){return null==s?t:s>=0?oe(s,t):t[r.index][zr]??null}(t,r,_);if(!St)return void rf(_e,{injector:se});if(Ro(St))return;const jt=function uT(t,r){return is(ar+r,t)}(St,s),Qt=D(jt,()=>{t!==St&&Rt(St,Qt),k()},se);t!==St&&Dt(St,Qt),Ef($,Ne,Qt)},{injector:se})}function pS(t,r){const _=r[Zr].get(vS);return _.add(t),()=>_.remove(t)}let vS=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=st(Oo),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:_,deferred:D}=this;_.delete(s),D.delete(s),0===_.size&&0===D.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const _ of this.current)_();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const _ of this.deferred)this.current.add(_);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function bS(t){return(r,s)=>yS(t,r,s)}function yS(t,r,s){const D=s[Zr].get(hT);return D.add(t,r),()=>D.remove(r)}let hT=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(s,_){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,_),this.scheduleTimer()}remove(s){const{current:_,deferred:D}=this;-1===this.removeFromQueue(_,s)&&this.removeFromQueue(D,s),0===_.length&&0===D.length&&this.clearTimeout()}addToQueue(s,_,D){let k=s.length;for(let $=0;$_){k=$;break}Ql(s,k,_,D)}removeFromQueue(s,_){let D=-1;for(let k=0;k-1&&aa(s,D,2),D}scheduleTimer(){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const D=[...this.current],k=Date.now();for(let se=0;se=0&&aa(this.current,0,$+1),this.executingCallbacks=!1,this.deferred.length>0){for(let se=0;se0){const D=Date.now(),k=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-k>16){this.clearTimeout();const $=Math.max(k-D,16);this.invokeTimerAt=k,this.timeoutId=setTimeout(s,$)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();const fT=new tt("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CS=new tt("");function Tf(t){return t.get(CS,null,{optional:!0})?.behavior!==Mf.Manual&&Ga(t)}let e_=null;function t_(t,r,s,_){const D=t.consts;null!=s&&(r.placeholderBlockConfig=io(D,s)),null!=_&&(r.loadingBlockConfig=io(D,_)),null===e_&&(e_=gT)}function SS(t,r,s,_,D,k,$,se,_e){const Ne=Sn(),Xe=wr(),St=t+ar;if(Bc(t,null,0,0),Xe.firstCreatePass){zs("NgDefer");const Hn={primaryTmplIndex:r,loadingTmplIndex:_??null,placeholderTmplIndex:D??null,errorTmplIndex:k??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Bo.NOT_STARTED,loadingPromise:null,providers:null};_e?.(Xe,Hn,se,$),function lT(t,r,s){const _=pd(r);t.data[_]=s}(Xe,St,Hn)}const jt=ei();yC(Ne[St],jt,Ne);const pn=[null,md.Initial,null,null,null,null];!function aT(t,r,s){t[pd(r)]=s}(Ne,St,pn);const kn=()=>cS(pn);Ef(0,pn,()=>Rt(Ne,kn)),Dt(Ne,kn)}function n_(t){const r=Sn();if(jo(r,q(),t)){const _=c(null);try{const D=!!t,k=hi(),se=Za(r,k)[Cf];!1===D&&se===md.Initial?Ll(r,k):!0===D&&(se===md.Initial||se===Io.Placeholder)&&zc(r,k)}finally{c(_)}}}function MS(t){const r=Sn();if(jo(r,q(),t)){const _=c(null);try{const D=!!t,k=r[Pn],$=hi(),se=js(k,$);!0===D&&se.loadingState===Bo.NOT_STARTED&&Yc(se,r,$)}finally{c(_)}}}function ES(){s_(pS)}function r_(){kS(pS)}function wS(){const t=Sn(),r=ei(),_=t[Zr],D=js(t[Pn],r);(!Tf(_)||null===D.loadingTmplIndex)&&Ll(t,r),zc(t,r)}function Pf(){const t=Sn(),r=ei(),_=js(t[Pn],r);_.loadingState===Bo.NOT_STARTED&&kf(_,t,r)}function DS(t){s_(bS(t))}function i_(t){kS(bS(t))}function AS(t,r){const s=Sn(),_=ei();Ll(s,_),Ol(s,_,t,r,qp,()=>zc(s,_),0)}function o_(t,r){const s=Sn(),_=ei(),k=js(s[Pn],_);k.loadingState===Bo.NOT_STARTED&&Ol(s,_,t,r,qp,()=>Yc(k,s,_),1)}function TS(t,r){const s=Sn(),_=ei();Ll(s,_),Ol(s,_,t,r,gS,()=>zc(s,_),0)}function PS(t,r){const s=Sn(),_=ei(),k=js(s[Pn],_);k.loadingState===Bo.NOT_STARTED&&Ol(s,_,t,r,gS,()=>Yc(k,s,_),1)}function If(t,r){const s=Sn(),_=ei();Ll(s,_),Ol(s,_,t,r,mS,()=>zc(s,_),0)}function IS(t,r){const s=Sn(),_=ei(),k=js(s[Pn],_);k.loadingState===Bo.NOT_STARTED&&Ol(s,_,t,r,mS,()=>Yc(k,s,_),1)}function s_(t){const r=Sn(),s=ei();Ll(r,s);const _=t(()=>zc(r,s),r);Ef(0,Za(r,s),_)}function kS(t){const r=Sn(),s=ei(),D=js(r[Pn],s);D.loadingState===Bo.NOT_STARTED&&Ef(1,Za(r,s),t(()=>Yc(D,r,s),r))}function Ra(t,r,s,_=!1){const D=s[si],k=D[Pn];if(Ro(D))return;const $=Za(D,r);if(OS($[Cf],t)&&OS($[xl]??-1,t)){const _e=js(k,r),Xe=_||null===Qp(_e)&&null===Kp(_e,Io.Loading)&&!Kp(_e,Io.Placeholder)?xS:e_;try{Xe(t,$,s,r,D)}catch(St){Vh(D,St)}}}function xS(t,r,s,_,D){const k=function uS(t,r,s){const D=js(r[Pn],s);switch(t){case Io.Complete:return D.primaryTmplIndex;case Io.Loading:return D.loadingTmplIndex;case Io.Error:return D.errorTmplIndex;case Io.Placeholder:return D.placeholderTmplIndex;default:return null}}(t,D,_);if(null!==k){r[Cf]=t;const $=D[Pn],_e=xo($,k+ar),Ne=0;let Xe;if(qm(s,Ne),t===Io.Complete){const Qt=js($,_),pn=Qt.providers;if(pn&&pn.length>0){const Hn=D[Zr].get(Js);Xe=Hn.get(nS).getOrCreateInjector(Qt,Hn,pn,"")}}const St=Pl(s,_e.tView.ssrId),jt=Yu(D,_e,null,{dehydratedView:St,injector:Xe});zu(s,jt,Ne,Dc(_e,St)),Gu(jt)}}function gT(t,r,s,_,D){const k=Date.now(),se=js(D[Pn],_);if(null===r[Uc]||r[Uc]<=k){r[Uc]=null;const _e=Qp(se),Ne=null!==r[Sf];if(t!==Io.Loading||null===_e||Ne){t>Io.Loading&&Ne&&(r[Sf](),r[Sf]=null,r[xl]=null),xS(t,r,s,_,D);const Xe=Kp(se,t);null!==Xe&&(r[Uc]=k+Xe,a_(Xe,r,_,s,D))}else{r[xl]=t;const Xe=a_(_e,r,_,s,D);r[Sf]=Xe}}else r[xl]=t}function a_(t,r,s,_,D){return yS(t,()=>{const $=r[xl];r[Uc]=null,r[xl]=null,null!==$&&Ra($,s,_)},D)}function OS(t,r){return t{let St=!1;const jt=[],Qt=[];for(const pn of Xe){if("fulfilled"!==pn.status){St=!0;break}{const kn=pn.value,Hn=fn(kn)||Gt(kn);if(Hn)jt.push(Hn);else{const dr=Nn(kn);dr&&Qt.push(dr)}}}if(t.loadingPromise=null,_e.remove(Ne),St){if(t.loadingState=Bo.FAILED,null===t.errorTmplIndex){Pm(r);const kn=new bt(750,!1);Vh(r,kn)}}else{t.loadingState=Bo.COMPLETE;const pn=$.tView;if(jt.length>0){pn.directiveRegistry=dS(pn.directiveRegistry,jt);const Hn=zg(!1,...jt.map(dr=>dr.type));t.providers=Hn}Qt.length>0&&(pn.pipeRegistry=dS(pn.pipeRegistry,Qt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Bo.COMPLETE,_e.remove(Ne)})}function Ll(t,r){Ra(Io.Placeholder,r,t[r.index])}function LS(t,r,s){t.loadingPromise.then(()=>{t.loadingState===Bo.COMPLETE?Ra(Io.Complete,r,s):t.loadingState===Bo.FAILED&&Ra(Io.Error,r,s)})}function zc(t,r){const s=t[Pn],_=t[r.index];if(!Tf(t[Zr]))return;const k=Za(t,r),$=js(s,r);switch(cS(k),$.loadingState){case Bo.NOT_STARTED:Ra(Io.Loading,r,_),kf($,t,r),$.loadingState===Bo.IN_PROGRESS&&LS($,r,_);break;case Bo.IN_PROGRESS:Ra(Io.Loading,r,_),LS($,r,_);break;case Bo.COMPLETE:Ra(Io.Complete,r,_);break;case Bo.FAILED:Ra(Io.Error,r,_)}}function l_(t,r,s,_){const D=Sn();return jo(D,q(),r)&&(wr(),va(hi(),D,t,r,s,_)),l_}function Rl(t,r){let s=!1,_=Ft();for(let k=1;k>17&32767}function Ff(t){return 2|t}function Bl(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function m_(t){return 1|t}function NS(t,r,s,_){const D=t[s+1],k=null===r;let $=_?Ja(D):Bl(D),se=!1;for(;0!==$&&(!1===se||k);){const Ne=t[$+1];jS(t[$],r)&&(se=!0,t[$+1]=_?m_(Ne):Ff(Ne)),$=_?Ja(Ne):Bl(Ne)}se&&(t[s+1]=_?Ff(D):m_(D))}function jS(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&ca(t,r)>=0}const ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ts.key,ts.keyEnd)}function vT(t){return t.substring(ts.value,ts.valueEnd)}function BS(t,r){const s=ts.textEnd;return s===r?-1:(r=ts.keyEnd=function VS(t,r,s){for(;r32;)r++;return r}(t,ts.key=r,s),Qc(t,r,s))}function HS(t,r){const s=ts.textEnd;let _=ts.key=Qc(t,r,s);return s===_?-1:(_=ts.keyEnd=function bT(t,r,s){let _;for(;r=65&&(-33&_)<=90||_>=48&&_<=57);)r++;return r}(t,_,s),_=b_(t,_,s),_=ts.value=Qc(t,_,s),_=ts.valueEnd=function yT(t,r,s){let _=-1,D=-1,k=-1,$=r,se=$;for(;$32&&(se=$),k=D,D=_,_=-33&_e}return se}(t,_,s),b_(t,_,s))}function v_(t){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=t.length}function Qc(t,r,s){for(;r=0;s=HS(r,s))w_(t,p_(r),vT(r))}function M_(t){ra(DT,Ca,t,!0)}function Ca(t,r){for(let s=function __(t){return v_(t),BS(t,Qc(t,0,ts.textEnd))}(r);s>=0;s=BS(r,s))zo(t,p_(r),!0)}function Ws(t,r,s,_){const D=Sn(),k=wr(),$=Ve(2);k.firstUpdatePass&&zS(k,t,$,_),r!==ri&&jo(D,$,r)&&KS(k,k.data[so()],D,D[hr],t,D[$+1]=function QS(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=He(Pa(t)))),t}(r,s),_,$)}function ra(t,r,s,_){const D=wr(),k=Ve(2);D.firstUpdatePass&&zS(D,null,k,_);const $=Sn();if(s!==ri&&jo($,k,s)){const se=D.data[so()];if(XS(se,_)&&!Bf(D,k)){let _e=_?se.classesWithoutHost:se.stylesWithoutHost;null!==_e&&(s=_t(_e,s||"")),C_(D,se,$,s,_)}else!function GS(t,r,s,_,D,k,$,se){D===ri&&(D=Jn);let _e=0,Ne=0,Xe=0=t.expandoStartIndex}function zS(t,r,s,_){const D=t.data;if(null===D[s+1]){const k=D[so()],$=Bf(t,s);XS(k,_)&&null===r&&!$&&(r=!1),r=function MT(t,r,s,_){const D=In(t);let k=_?r.residualClasses:r.residualStyles;if(null===D)0===(_?r.classBindings:r.styleBindings)&&(s=Xc(s=E_(null,t,r,s,_),r.attrs,_),k=null);else{const $=r.directiveStylingLast;if(-1===$||t[$]!==D)if(s=E_(D,t,r,s,_),null===k){let _e=function $S(t,r,s){const _=s?r.classBindings:r.styleBindings;if(0!==Bl(_))return t[Ja(_)]}(t,r,_);void 0!==_e&&Array.isArray(_e)&&(_e=E_(null,t,r,_e[1],_),_e=Xc(_e,r.attrs,_),function ET(t,r,s,_){t[Ja(s?r.classBindings:r.styleBindings)]=_}(t,r,_,_e))}else k=function WS(t,r,s){let _;const D=r.directiveEnd;for(let k=1+r.directiveStylingLast;k0)&&(Ne=!0)):Xe=s,D)if(0!==_e){const jt=Ja(t[se+1]);t[_+1]=Rf(jt,se),0!==jt&&(t[jt+1]=Nf(t[jt+1],_)),t[se+1]=function mT(t,r){return 131071&t|r<<17}(t[se+1],_)}else t[_+1]=Rf(se,0),0!==se&&(t[se+1]=Nf(t[se+1],_)),se=_;else t[_+1]=Rf(_e,0),0===se?se=_:t[_e+1]=Nf(t[_e+1],_),_e=_;Ne&&(t[_+1]=Ff(t[_+1])),NS(t,Xe,_,!0),NS(t,Xe,_,!1),function FS(t,r,s,_,D){const k=D?t.residualClasses:t.residualStyles;null!=k&&"string"==typeof r&&ca(k,r)>=0&&(s[_+1]=m_(s[_+1]))}(r,Xe,t,_,k),$=Rf(se,_e),k?r.classBindings=$:r.styleBindings=$}(D,k,r,s,$,_)}}function E_(t,r,s,_,D){let k=null;const $=s.directiveEnd;let se=s.directiveStylingLast;for(-1===se?se=s.directiveStart:se++;se<$&&(k=r[se],_=Xc(_,k.hostAttrs,D),k!==t);)se++;return null!==t&&(s.directiveStylingLast=se),_}function Xc(t,r,s){const _=s?1:2;let D=-1;if(null!==r)for(let k=0;k0;){const _e=t[D],Ne=Array.isArray(_e),Xe=Ne?_e[1]:_e,St=null===Xe;let jt=s[D+1];jt===ri&&(jt=St?Jn:void 0);let Qt=St?la(jt,_):Xe===_?jt:void 0;if(Ne&&!Uf(Qt)&&(Qt=la(_e,_)),Uf(Qt)&&(se=Qt,$))return se;const pn=t[D+1];D=$?Ja(pn):Bl(pn)}if(null!==r){let _e=k?r.residualClasses:r.residualStyles;null!=_e&&(se=la(_e,_))}return se}function Uf(t){return void 0!==t}function XS(t,r){return 0!=(t.flags&(r?8:16))}function A_(t,r,s){ra(zo,Ca,$c(Sn(),t,r,s),!0)}function ZS(t,r,s,_,D){ra(zo,Ca,Fa(Sn(),t,r,s,_,D),!0)}function Hf(t,r,s,_,D,k,$){ra(zo,Ca,Fl(Sn(),t,r,s,_,D,k,$),!0)}function JS(t,r,s,_,D,k,$,se,_e){ra(zo,Ca,Wc(Sn(),t,r,s,_,D,k,$,se,_e),!0)}function T_(t,r,s,_,D,k,$,se,_e,Ne,Xe){ra(zo,Ca,Nl(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe),!0)}function qS(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt){ra(zo,Ca,Gc(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt),!0)}function eM(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn){ra(zo,Ca,jl(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn),!0)}function Ul(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn){ra(zo,Ca,Kc(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn),!0)}function tM(t){ra(zo,Ca,Rl(Sn(),t),!0)}function nM(){return Sn()[Jr][Xr]}class AT{destroy(r){}updateValue(r,s){}swap(r,s){const _=Math.min(r,s),D=Math.max(r,s),k=this.detach(D);if(D-_>1){const $=this.detach(_);this.attach(_,k),this.attach(D,$)}else this.attach(_,k)}move(r,s){this.attach(s,this.detach(r))}}function P_(t,r,s,_,D){return t===s&&Object.is(r,_)?1:Object.is(D(t,r),D(s,_))?-1:0}function k_(t,r,s,_){return!(void 0===r||!r.has(_)||(t.attach(s,r.get(_)),r.delete(_),0))}function Vf(t,r,s,_,D){if(k_(t,r,_,s(_,D)))t.updateValue(_,D);else{const k=t.create(_,D);t.attach(_,k)}}function rM(t,r,s,_){const D=new Set;for(let k=r;k<=s;k++)D.add(_(k,t.at(k)));return D}class Yf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const s=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(r,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,s){if(this.kvMap.has(r)){let _=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const D=this._vMap;for(;D.has(_);)_=D.get(_);D.set(_,s)}else this.kvMap.set(r,s)}forEach(r){for(let[s,_]of this.kvMap)if(r(_,s),void 0!==this._vMap){const D=this._vMap;for(;D.has(_);)_=D.get(_),r(_,s)}}}function iM(t,r,s){zs("NgControlFlow");const _=Sn(),D=q(),k=L_(_,ar+t);if(jo(_,D,r)){const se=c(null);try{if(qm(k,0),-1!==r){const _e=R_(_[Pn],ar+r),Ne=Pl(k,_e.tView.ssrId);zu(k,Yu(_,_e,s,{dehydratedView:Ne}),0,Dc(_e,Ne))}}finally{c(se)}}else{const se=S0(k,0);void 0!==se&&(se[Xr]=s)}}class oM{constructor(r,s,_){this.lContainer=r,this.$implicit=s,this.$index=_}get $count(){return this.lContainer.length-zr}}function sM(t){return t}function x_(t,r){return r}class TT{constructor(r,s,_){this.hasEmptyBlock=r,this.trackByFn=s,this.liveCollection=_}}function O_(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt){zs("NgControlFlow");const Qt=void 0!==_e,pn=Sn(),kn=se?$.bind(pn[Jr][Xr]):$,Hn=new TT(Qt,kn);pn[ar+t]=Hn,Bc(t+1,r,s,_,D,k),Qt&&Bc(t+2,_e,Ne,Xe,St,jt)}class PT extends AT{constructor(r,s,_){super(),this.lContainer=r,this.hostLView=s,this.templateTNode=_,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-zr}at(r){return this.getLView(r)[Xr].$implicit}attach(r,s){const _=s[Fn];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,s,r,Dc(this.templateTNode,_))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function IT(t,r){return Bu(t,r)}(this.lContainer,r)}create(r,s){const _=Pl(this.lContainer,this.templateTNode.tView.ssrId);return Yu(this.hostLView,this.templateTNode,new oM(this.lContainer,s,r),{dehydratedView:_})}destroy(r){Ih(r[Pn],r)}updateValue(r,s){this.getLView(r)[Xr].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(se)})}($,t,k.trackByFn),$.updateIndexes(),k.hasEmptyBlock){const se=q(),_e=0===$.length;if(jo(_,se,_e)){const Ne=s+2,Xe=L_(_,Ne);if(_e){const St=R_(D,Ne),jt=Pl(Xe,St.tView.ssrId);zu(Xe,Yu(_,St,void 0,{dehydratedView:jt}),0,Dc(St,jt))}else qm(Xe,0)}}}finally{c(r)}}function L_(t,r){return t[r]}function R_(t,r){return xo(t,r)}function $f(t,r,s,_){const D=Sn(),k=wr(),$=ar+t,se=D[hr],_e=k.firstCreatePass?function xT(t,r,s,_,D,k){const $=r.consts,_e=Oa(r,t,2,_,io($,D));return Wm(r,s,_e,io($,k)),null!==_e.attrs&&sf(_e,_e.attrs,!1),null!==_e.mergedAttrs&&sf(_e,_e.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,_e),_e}($,k,D,r,s,_):k.data[$],Ne=Zc(k,D,_e,se,r,t);D[$]=Ne;const Xe=Xi(_e);return ot(_e,!0),r0(se,Ne,_e),32!=(32&_e.flags)&&Qs()&&xh(k,D,Ne,_e),0===function Kn(){return zt.lFrame.elementDepthCount}()&&_s(Ne,D),function $r(){zt.lFrame.elementDepthCount++}(),Xe&&(Ym(k,D,_e),Rh(k,_e,D)),null!==_&&zm(D,_e),$f}function vd(){let t=ei();O()?te():(t=t.parent,ot(t,!1));const r=t;(function mi(t){return zt.skipHydrationRootTNode===t})(r)&&function Ji(){zt.skipHydrationRootTNode=null}(),function fr(){zt.lFrame.elementDepthCount--}();const s=wr();return s.firstCreatePass&&(oh(s,t),Lo(t)&&s.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(s,r,Sn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function gD(t){return 0!=(16&t.flags)}(r)&&C_(s,r,Sn(),r.stylesWithoutHost,!1),vd}function F_(t,r,s,_){return $f(t,r,s,_),vd(),F_}let Zc=(t,r,s,_,D,k)=>(Os(!0),Ph(_,D,el()));function OT(t,r,s,_,D,k){const $=r[Fn],se=!$||vr()||$d($,k);if(Os(se),se)return Ph(_,D,el());const _e=ta($,t,r,s);return Rb($,k)&&Yd($,k,_e.nextSibling),$&&(Zl(s)||Jl(_e))&&Oi(s)&&(function ji(t){zt.skipHydrationRootTNode=t}(s),Hm(_e)),_e}function Jc(t,r,s){const _=Sn(),D=wr(),k=t+ar,$=D.firstCreatePass?function LT(t,r,s,_,D){const k=r.consts,$=io(k,_),se=Oa(r,t,8,"ng-container",$);return null!==$&&sf(se,$,!0),Wm(r,s,se,io(k,D)),null!==r.queries&&r.queries.elementStart(r,se),se}(k,D,_,r,s):D.data[k];ot($,!0);const se=lM(D,_,$,t);return _[k]=se,Qs()&&xh(D,_,se,$),_s(se,_),Xi($)&&(Ym(D,_,$),Rh(D,$,_)),null!=s&&zm(_,$),Jc}function Wf(){let t=ei();const r=wr();return O()?te():(t=t.parent,ot(t,!1)),r.firstCreatePass&&(oh(r,t),Lo(t)&&r.queries.elementEnd(t)),Wf}function Gf(t,r,s){return Jc(t,r,s),Wf(),Gf}let lM=(t,r,s,_)=>(Os(!0),Lm(r[hr],""));function cM(t,r,s,_){let D;const k=r[Fn],$=!k||vr();if(Os($),$)return Lm(r[hr],"");const se=ta(k,t,r,s),_e=function qw(t,r){const s=t.data;let _=s[Rg]?.[r]??null;return null===_&&s[ma]?.[r]&&(_=zd(t,r)),_}(k,_);return Yd(k,_,se),D=Qh(_e,se),D}function uM(){return Sn()}function N_(t,r,s){const _=Sn();return jo(_,q(),r)&&Es(wr(),hi(),_,t,r,_[hr],s,!0),N_}function Kf(t,r,s){const _=Sn();if(jo(_,q(),r)){const k=wr(),$=hi();Es(k,$,_,t,r,y0(In(k.data),$,_),s,!0)}return Kf}const Hl=void 0;var NT=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Hl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FT(t){const s=Math.floor(Math.abs(t)),_=t.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===_?1:5}];let Vl={};function jT(t,r,s){"string"!=typeof r&&(s=r,r=t[qc.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Vl[r]=t,s&&(Vl[r][qc.ExtraData]=s)}function Qf(t){const r=function UT(t){return t.toLowerCase().replace(/_/g,"-")}(t);let s=dM(r);if(s)return s;const _=r.split("-")[0];if(s=dM(_),s)return s;if("en"===_)return NT;throw new bt(701,!1)}function BT(t){return Qf(t)[qc.CurrencyCode]||null}function Xf(t){return Qf(t)[qc.PluralCase]}function dM(t){return t in Vl||(Vl[t]=Rn.ng&&Rn.ng.common&&Rn.ng.common.locales&&Rn.ng.common.locales[t]),Vl[t]}function hM(){Vl={}}var qc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(qc||{});const HT=["zero","one","two","few","many"],qa="en-US",bd={marker:"element"},Zf={marker:"ICU"};var ws=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(ws||{});let fM=qa;function j_(t){"string"==typeof t&&(fM=t.toLowerCase().replace(/_/g,"-"))}function Jf(t,r,s){const _=r.insertBeforeIndex,D=Array.isArray(_)?_[0]:_;return null===D?jm(t,0,s):Ur(s[D])}function gM(t,r,s,_,D){const k=r.insertBeforeIndex;if(Array.isArray(k)){let $=_,se=null;if(3&r.type||(se=$,$=D),null!==$&&-1===r.componentOffset)for(let _e=1;_e1)for(let s=t.length-2;s>=0;s--){const _=t[s];B_(_)||$T(_,r)&&null===WT(_)&>(_,r.index)}}function B_(t){return!(64&t.type)}function $T(t,r){return B_(r)||t.index>r.index}function WT(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GT(t,r){const s=t.insertBeforeIndex;Array.isArray(s)?s[0]=r:(qy(Jf,gM),t.insertBeforeIndex=r)}function yd(t,r){const s=t.data[r];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function U_(t,r,s){const _=ea(t,s,64,null,null);return mM(r,_),_}function eu(t,r){const s=r[t.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function pM(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Cd=0,tu=0;function bM(t,r,s,_){const D=s[hr];let $,k=null;for(let se=0;se>>1,s),null,null,Qt,pn,null)}else switch(_e){case Zf:const Ne=r[++se],Xe=r[++se];null===s[Xe]&&_s(s[Xe]=Lm(D,Ne),s);break;case bd:const St=r[++se],jt=r[++se];null===s[jt]&&_s(s[jt]=Ph(D,St,null),s)}}}function Y_(t,r,s,_,D){for(let k=0;k>>2;switch(3&Xe){case 1:const jt=s[++Ne],Qt=s[++Ne],pn=t.data[St];"string"==typeof pn?wc(r[hr],r[St],null,pn,jt,_e,Qt):Es(t,pn,r,jt,_e,r[hr],Qt,!1);break;case 0:const kn=r[St];null!==kn&&$y(r[hr],kn,_e);break;case 2:JT(t,yd(t,St),r,_e);break;case 3:yM(t,yd(t,St),_,r)}}}}else{const _e=s[k+1];if(_e>0&&3==(3&_e)){const Xe=yd(t,_e>>>2);r[Xe.currentCaseLViewIndex]<0&&yM(t,Xe,_,r)}}k+=se}}function yM(t,r,s,_){let D=_[r.currentCaseLViewIndex];if(null!==D){let k=Cd;D<0&&(D=_[r.currentCaseLViewIndex]=~D,k=-1),Y_(t,_,r.update[D],s,k)}}function JT(t,r,s,_){const D=function nu(t,r){let s=t.cases.indexOf(r);if(-1===s)switch(t.type){case 1:{const _=function VT(t,r){const s=Xf(r)(parseInt(t,10)),_=HT[s];return void 0!==_?_:"other"}(r,function zT(){return fM}());s=t.cases.indexOf(_),-1===s&&"other"!==_&&(s=t.cases.indexOf("other"));break}case 0:s=t.cases.indexOf("other")}return-1===s?null:s}(r,_);if(eu(r,s)!==D&&(CM(t,r,s),s[r.currentCaseLViewIndex]=null===D?null:~D,null!==D)){const $=s[r.anchorIdx];$&&bM(t,r.create[D],s,$)}}function CM(t,r,s){let _=eu(r,s);if(null!==_){const D=r.remove[_];for(let k=0;k0){const se=is($,s);null!==se&&Oh(s[hr],se)}else CM(t,yd(t,~$),s)}}}function qT(){const t=[];let s,_,r=-1;function k(se,_e){r=0;const Ne=eu(se,_e);_=null!==Ne?se.remove[Ne]:Jn}function $(){if(r<_.length){const se=_[r++];return se>0?s[se]:(t.push(r,_),k(s[Pn].data[~se],s),$())}return 0===t.length?null:(_=t.pop(),r=t.pop(),$())}return function D(se,_e){for(s=_e;t.length;)t.pop();return k(se.value,_e),$}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eP=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,MM=/\ufffd(\d+)\ufffd/,EM=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ru="\ufffd",tP=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nP=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rP=/\uE500/g;function qf(t,r,s,_,D,k,$){const se=Hu(t,_,1,null);let _e=se<s.length&&s.push(_e)}return{type:_,mainBinding:D,cases:r,values:s}}function Md(t){if(!t)return[];let r=0;const s=[],_=[],D=/[{}]/g;let k;for(D.lastIndex=0;k=D.exec(t);){const se=k.index;if("}"==k[0]){if(s.pop(),0==s.length){const _e=t.substring(r,se);EM.test(_e)?_.push(lP(_e)):_.push(_e),r=se+1}}else{if(0==s.length){const _e=t.substring(r,se);_.push(_e),r=se+1}s.push("{")}}const $=t.substring(r);return _.push($),_}function cP(t,r,s,_,D,k,$,se){const _e=[],Ne=[],Xe=[];r.cases.push(k),r.create.push(_e),r.remove.push(Ne),r.update.push(Xe);const jt=Ey(No()).getInertBodyElement($),Qt=yh(jt)||jt;return Qt?Q_(t,r,s,_,_e,Ne,Xe,Qt,D,se,0):0}function Q_(t,r,s,_,D,k,$,se,_e,Ne,Xe){let St=0,jt=se.firstChild;for(;jt;){const Qt=Hu(t,s,1,null);switch(jt.nodeType){case Node.ELEMENT_NODE:const pn=jt,kn=pn.tagName.toLowerCase();if(mm.hasOwnProperty(kn)){X_(D,bd,kn,_e,Qt),t.data[Qt]=kn;const ci=pn.attributes;for(let ki=0;ki>>ws.SHIFT;let St=t[Xe];null===St&&(St=t[Xe]=($&ws.COMMENT)===ws.COMMENT?D.createComment(se):Th(D,se)),Ne&&null!==s&&Al(D,s,St,_,!1)}})(D,_e.create,Xe,se&&8&se.type?D[se.index]:null),Re(!0)}function ev(){Re(!1)}function tv(t,r,s){q_(t,r,s),ev()}function OM(t,r){const s=wr(),_=io(s.consts,r);!function W_(t,r,s){const D=ei().index,k=[];if(t.firstCreatePass&&null===t.data[r]){for(let $=0;$0){const _=t.data[s];Y_(t,r,Array.isArray(_)?_:_.update,Ft()-tu-1,Cd)}Cd=0,tu=0}(wr(),Sn(),t+ar)}function RM(t,r={}){return function mP(t,r={}){let s=t;if(J_.test(t)){const _={},D=[PM];s=s.replace(hP,(k,$,se)=>{const _e=$||se,Ne=_[_e]||[];if(Ne.length||(_e.split("|").forEach(kn=>{const Hn=kn.match(xM),dr=Hn?parseInt(Hn[1],10):PM,Ln=gP.test(kn);Ne.push([dr,Ln,kn])}),_[_e]=Ne),!Ne.length)throw new Error(`i18n postprocess: unmatched placeholder - ${_e}`);const Xe=D[D.length-1];let St=0;for(let kn=0;knr.hasOwnProperty(k)?`${D}${r[k]}${_e}`:_),s=s.replace(fP,(_,D)=>r.hasOwnProperty(D)?r[D]:_),s=s.replace(kM,(_,D)=>{if(r.hasOwnProperty(D)){const k=r[D];if(!k.length)throw new Error(`i18n postprocess: unmatched ICU - ${_} with key: ${D}`);return k.shift()}return _})),s}(t,r)}function nv(t,r,s,_){const D=Sn(),k=wr(),$=ei();return rv(k,D,D[hr],$,t,r,_),nv}function Ed(t,r){const s=ei(),_=Sn(),D=wr();return rv(D,_,y0(In(D.data),s,_),s,t,r),Ed}function rv(t,r,s,_,D,k,$){const se=Xi(_),Ne=t.firstCreatePass&&b0(t),Xe=r[Xr],St=v0(r);let jt=!0;if(3&_.type||$){const kn=Zi(_,r),Hn=$?$(kn):kn,dr=St.length,Ln=$?ki=>$(Ur(ki[_.index])):_.index;let ci=null;if(!$&&se&&(ci=function pP(t,r,s,_){const D=t.cleanup;if(null!=D)for(let k=0;k_e?se[_e]:null}"string"==typeof $&&(k+=2)}return null}(t,r,D,_.index)),null!==ci)(ci.__ngLastListenerFn__||ci).__ngNextListenerFn__=k,ci.__ngLastListenerFn__=k,jt=!1;else{k=NM(_,r,Xe,k,!1);const ki=s.listen(Hn,D,k);St.push(k,ki),Ne&&Ne.push(D,Ln,dr,dr+1)}}else k=NM(_,r,Xe,k,!1);const Qt=_.outputs;let pn;if(jt&&null!==Qt&&(pn=Qt[D])){const kn=pn.length;if(kn)for(let Hn=0;Hn-1?Di(t.index,r):r);let _e=FM(r,s,_,$),Ne=k.__ngNextListenerFn__;for(;Ne;)_e=FM(r,s,Ne,$)&&_e,Ne=Ne.__ngNextListenerFn__;return D&&!1===_e&&$.preventDefault(),_e}}function jM(t=1){return function fo(t){return(zt.lFrame.contextLView=oe(t,zt.lFrame.contextLView))[Xr]}(t)}function vP(t,r){let s=null;const _=function B(t){const r=t.attrs;if(null!=r){const s=r.indexOf(5);if(!(1&s))return r[s+1]}return null}(t);for(let D=0;D=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),r[s]=_}function fv(t){return _o(function j(){return zt.lFrame.contextLView}(),ar+t)}function WM(t,r,s){xs($c(Sn(),t,r,s))}function gv(t,r,s,_,D){xs(Fa(Sn(),t,r,s,_,D))}function GM(t,r,s,_,D,k,$){xs(Fl(Sn(),t,r,s,_,D,k,$))}function mv(t,r,s,_,D,k,$,se,_e){xs(Wc(Sn(),t,r,s,_,D,k,$,se,_e))}function KM(t,r,s,_,D,k,$,se,_e,Ne,Xe){xs(Nl(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe))}function pv(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt){xs(Gc(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt))}function QM(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn){xs(jl(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn))}function XM(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn){xs(Kc(Sn(),t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn))}function _v(t){xs(Rl(Sn(),t))}function vv(t,r,s,_,D){return Ws(t,$c(Sn(),r,s,_),D,!1),vv}function ig(t,r,s,_,D,k,$){return Ws(t,Fa(Sn(),r,s,_,D,k),$,!1),ig}function bv(t,r,s,_,D,k,$,se,_e){return Ws(t,Fl(Sn(),r,s,_,D,k,$,se),_e,!1),bv}function yv(t,r,s,_,D,k,$,se,_e,Ne,Xe){return Ws(t,Wc(Sn(),r,s,_,D,k,$,se,_e,Ne),Xe,!1),yv}function Cv(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt){return Ws(t,Nl(Sn(),r,s,_,D,k,$,se,_e,Ne,Xe,St),jt,!1),Cv}function ou(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn){return Ws(t,Gc(Sn(),r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt),pn,!1),ou}function Sv(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn){return Ws(t,jl(Sn(),r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn),Hn,!1),Sv}function og(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn,dr,Ln){return Ws(t,Kc(Sn(),r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn,dr),Ln,!1),og}function Mv(t,r,s){return Ws(t,Rl(Sn(),r),s,!1),Mv}function Ev(t,r=""){const s=Sn(),_=wr(),D=t+ar,k=_.firstCreatePass?Oa(_,D,1,r,null):_.data[D],$=ZM(_,s,k,r,t);s[D]=$,Qs()&&xh(_,s,$,k),ot(k,!1)}let ZM=(t,r,s,_,D)=>(Os(!0),Th(r[hr],_));function bP(t,r,s,_,D){const k=r[Fn],$=!k||vr()||$d(k,D);return Os($),$?Th(r[hr],_):ta(k,t,r,s)}function sg(t){return ag("",t,""),sg}function ag(t,r,s){const _=Sn(),D=$c(_,t,r,s);return D!==ri&&La(_,so(),D),ag}function su(t,r,s,_,D){const k=Sn(),$=Fa(k,t,r,s,_,D);return $!==ri&&La(k,so(),$),su}function wv(t,r,s,_,D,k,$){const se=Sn(),_e=Fl(se,t,r,s,_,D,k,$);return _e!==ri&&La(se,so(),_e),wv}function Dv(t,r,s,_,D,k,$,se,_e){const Ne=Sn(),Xe=Wc(Ne,t,r,s,_,D,k,$,se,_e);return Xe!==ri&&La(Ne,so(),Xe),Dv}function Av(t,r,s,_,D,k,$,se,_e,Ne,Xe){const St=Sn(),jt=Nl(St,t,r,s,_,D,k,$,se,_e,Ne,Xe);return jt!==ri&&La(St,so(),jt),Av}function Tv(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt){const Qt=Sn(),pn=Gc(Qt,t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt);return pn!==ri&&La(Qt,so(),pn),Tv}function Pv(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn){const kn=Sn(),Hn=jl(kn,t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn);return Hn!==ri&&La(kn,so(),Hn),Pv}function lg(t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn){const dr=Sn(),Ln=Kc(dr,t,r,s,_,D,k,$,se,_e,Ne,Xe,St,jt,Qt,pn,kn,Hn);return Ln!==ri&&La(dr,so(),Ln),lg}function Iv(t){const r=Sn(),s=Rl(r,t);return s!==ri&&La(r,so(),s),Iv}function cg(t,r,s){Jh(r)&&(r=r());const _=Sn();return jo(_,q(),r)&&Es(wr(),hi(),_,t,r,_[hr],s,!1),cg}function JM(t,r){const s=Jh(t);return s&&t.set(r),s}function ug(t,r){const s=Sn(),_=wr(),D=ei();return rv(_,s,s[hr],D,t,r),ug}function kv(t,r,s,_,D){if(t=Dr(t),Array.isArray(t))for(let k=0;k>20;if(ml(t)||!t.multi){const Qt=new xu(Ne,D,Ec),pn=Ov(_e,r,D?Xe:Xe+jt,St);-1===pn?(om(gc(se,$),k,_e),xv(k,t,r.length),r.push(_e),se.directiveStart++,se.directiveEnd++,D&&(se.providerIndexes+=1048576),s.push(Qt),$.push(Qt)):(s[pn]=Qt,$[pn]=Qt)}else{const Qt=Ov(_e,r,Xe+jt,St),pn=Ov(_e,r,Xe,Xe+jt),Hn=pn>=0&&s[pn];if(D&&!Hn||!D&&!(Qt>=0&&s[Qt])){om(gc(se,$),k,_e);const dr=function MP(t,r,s,_,D){const k=new xu(t,s,Ec);return k.multi=[],k.index=r,k.componentProviders=0,qM(k,D,_&&!s),k}(D?SP:eE,s.length,D,_,Ne);!D&&Hn&&(s[pn].providerFactory=dr),xv(k,t,r.length,0),r.push(_e),se.directiveStart++,se.directiveEnd++,D&&(se.providerIndexes+=1048576),s.push(dr),$.push(dr)}else xv(k,t,Qt>-1?Qt:pn,qM(s[D?pn:Qt],Ne,!D&&_));!D&&_&&Hn&&s[pn].componentProviders++}}}function xv(t,r,s,_){const D=ml(r),k=function eD(t){return!!t.useClass}(r);if(D||k){const _e=(k?Dr(r.useClass):r).prototype.ngOnDestroy;if(_e){const Ne=t.destroyHooks||(t.destroyHooks=[]);if(!D&&r.multi){const Xe=Ne.indexOf(s);-1===Xe?Ne.push(s,[_,_e]):Ne[Xe+1].push(_,_e)}else Ne.push(s,_e)}}}function qM(t,r,s){return s&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,s,_){for(let D=s;D<_;D++)if(r[D]===t)return D;return-1}function eE(t,r,s,_){return Lv(this.multi,[])}function SP(t,r,s,_){const D=this.multi;let k;if(this.providerFactory){const $=this.providerFactory.componentProviders,se=Ta(s,s[Pn],this.providerFactory.index,_);k=se.slice(0,$),Lv(D,k);for(let _e=$;_e{s.providersResolver=(_,D)=>function CP(t,r,s){const _=wr();if(_.firstCreatePass){const D=Li(t);kv(s,_.data,_.blueprint,D,!0),kv(r,_.data,_.blueprint,D,!1)}}(_,D?D(t):t,r)}}let EP=(()=>{class t{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const _=zg(0,s.type),D=_.length>0?zp([_],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,D)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t(xe(Js))})}return t})();function Fv(t){zs("NgStandalone"),t.getStandaloneInjector=r=>r.get(EP).getOrCreateStandaloneInjector(t)}function tE(t,r,s){const _=t.\u0275cmp;_.directiveDefs=ct(r,!1),_.pipeDefs=ct(s,!0)}function Nv(t,r){return qn(()=>{const s=cr(t,!0);s.declarations=dg(r.declarations||Jn),s.imports=dg(r.imports||Jn),s.exports=dg(r.exports||Jn),r.bootstrap&&(s.bootstrap=dg(r.bootstrap)),Oc.registerNgModule(t,r)})}function dg(t){if("function"==typeof t)return t;const r=ls(t);return r.some(Ha)?()=>r.map(Dr).map(nE):r.map(nE)}function nE(t){return Dp(t)?t.ngModule:t}function jv(t){const r=Ms(t);if(null===r)return null;if(void 0===r.component){const s=r.lView;if(null===s)return null;r.component=function ZD(t,r){const s=r[Pn].data[t],{directiveStart:_,componentOffset:D}=s;return D>-1?r[_+D]:null}(r.nodeIndex,s)}return r.component}function oE(t){if(t instanceof Text)return[];const r=Ms(t),s=r?r.lView:null;if(null===s)return[];const _=s[Pn],D=r.nodeIndex;return _?.data[D]?(void 0===r.directives&&(r.directives=wm(D,s)),null===r.directives?[]:[...r.directives]):[]}function Dd(t){return Ms(t).native}function TP(t,r){return t.name==r.name?0:t.name=0;s--){const _=r[s];if(t===_.name)return _}}(r,s.pipeRegistry),s.data[D]=_,_.onDestroy&&(s.destroyHooks??=[]).push(D,_.onDestroy)):_=s.data[D];const k=_.factory||(_.factory=gl(_.type)),se=$o(Ec);try{const _e=ch(!1),Ne=k();return ch(_e),$M(s,Sn(),D,Ne),Ne}finally{$o(se)}}function bE(t,r,s){const _=t+ar,D=Sn(),k=_o(D,_);return lu(D,_)?gE(D,vt(),r,k.transform,s,k):k.transform(s)}function Kv(t,r,s,_){const D=t+ar,k=Sn(),$=_o(k,D);return lu(k,D)?Wv(k,vt(),r,$.transform,s,_,$):$.transform(s,_)}function yE(t,r,s,_,D){const k=t+ar,$=Sn(),se=_o($,k);return lu($,k)?mE($,vt(),r,se.transform,s,_,D,se):se.transform(s,_,D)}function Qv(t,r,s,_,D,k){const $=t+ar,se=Sn(),_e=_o(se,$);return lu(se,$)?Gv(se,vt(),r,_e.transform,s,_,D,k,_e):_e.transform(s,_,D,k)}function CE(t,r,s){const _=t+ar,D=Sn(),k=_o(D,_);return lu(D,_)?pE(D,vt(),r,k.transform,s,k):k.transform.apply(k,s)}function lu(t,r){return t[Pn].data[r].pure}function SE(t,r){return $h(t,r)}function Xv(t,r){return()=>{try{return Oc.getComponentDependencies(t,r).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,s),s}}}function ME(t,r){const s=fn(t);null!==s&&(s.debugInfo=r)}const bs={\u0275\u0275attribute:l_,\u0275\u0275attributeInterpolate1:c_,\u0275\u0275attributeInterpolate2:xf,\u0275\u0275attributeInterpolate3:u_,\u0275\u0275attributeInterpolate4:d_,\u0275\u0275attributeInterpolate5:Of,\u0275\u0275attributeInterpolate6:h_,\u0275\u0275attributeInterpolate7:f_,\u0275\u0275attributeInterpolate8:Lf,\u0275\u0275attributeInterpolateV:g_,\u0275\u0275defineComponent:pt,\u0275\u0275defineDirective:_n,\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275defineNgModule:Jt,\u0275\u0275definePipe:Cn,\u0275\u0275directiveInject:Ec,\u0275\u0275getInheritedFactory:oy,\u0275\u0275inject:xe,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:a0,\u0275\u0275invalidFactoryDep:$e,\u0275\u0275templateRefExtractor:SE,\u0275\u0275resetView:Pi,\u0275\u0275HostDirectivesFeature:dd,\u0275\u0275NgOnChangesFeature:qg,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:KC,\u0275\u0275InheritDefinitionFeature:gf,\u0275\u0275InputTransformsFeature:ZC,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:jM,\u0275\u0275namespaceHTML:Ks,\u0275\u0275namespaceMathML:Wl,\u0275\u0275namespaceSVG:ss,\u0275\u0275enableBindings:Ai,\u0275\u0275disableBindings:Ti,\u0275\u0275elementStart:$f,\u0275\u0275elementEnd:vd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:Jc,\u0275\u0275elementContainerEnd:Wf,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cE,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uE,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dE,\u0275\u0275pureFunction6:zv,\u0275\u0275pureFunction7:hE,\u0275\u0275pureFunction8:$v,\u0275\u0275pureFunctionV:fE,\u0275\u0275getCurrentView:uM,\u0275\u0275restoreView:Qi,\u0275\u0275listener:nv,\u0275\u0275projection:UM,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:Ed,\u0275\u0275pipeBind1:bE,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:yE,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CE,\u0275\u0275projectionDef:BM,\u0275\u0275hostProperty:N_,\u0275\u0275property:y_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:wd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tg,\u0275\u0275propertyInterpolate4:sv,\u0275\u0275propertyInterpolate5:ng,\u0275\u0275propertyInterpolate6:av,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rg,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_E,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HM,\u0275\u0275viewQuerySignal:zM,\u0275\u0275loadQuery:VM,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YM,\u0275\u0275reference:fv,\u0275\u0275classMap:M_,\u0275\u0275classMapInterpolate1:A_,\u0275\u0275classMapInterpolate2:ZS,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:JS,\u0275\u0275classMapInterpolate5:T_,\u0275\u0275classMapInterpolate6:qS,\u0275\u0275classMapInterpolate7:eM,\u0275\u0275classMapInterpolate8:Ul,\u0275\u0275classMapInterpolateV:tM,\u0275\u0275styleMap:xs,\u0275\u0275styleMapInterpolate1:WM,\u0275\u0275styleMapInterpolate2:gv,\u0275\u0275styleMapInterpolate3:GM,\u0275\u0275styleMapInterpolate4:mv,\u0275\u0275styleMapInterpolate5:KM,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QM,\u0275\u0275styleMapInterpolate8:XM,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:jf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:ig,\u0275\u0275stylePropInterpolate3:bv,\u0275\u0275stylePropInterpolate4:yv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:ou,\u0275\u0275stylePropInterpolate7:Sv,\u0275\u0275stylePropInterpolate8:og,\u0275\u0275stylePropInterpolateV:Mv,\u0275\u0275classProp:S_,\u0275\u0275advance:o0,\u0275\u0275template:Bc,\u0275\u0275conditional:iM,\u0275\u0275defer:SS,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:ES,\u0275\u0275deferOnImmediate:wS,\u0275\u0275deferOnTimer:DS,\u0275\u0275deferOnHover:AS,\u0275\u0275deferOnInteraction:TS,\u0275\u0275deferOnViewport:If,\u0275\u0275deferPrefetchWhen:MS,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:Pf,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:PS,\u0275\u0275deferPrefetchOnViewport:IS,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:zf,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:sM,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nM,\u0275\u0275text:Ev,\u0275\u0275textInterpolate:sg,\u0275\u0275textInterpolate1:ag,\u0275\u0275textInterpolate2:su,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Av,\u0275\u0275textInterpolate6:Tv,\u0275\u0275textInterpolate7:Pv,\u0275\u0275textInterpolate8:lg,\u0275\u0275textInterpolateV:Iv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OM,\u0275\u0275i18nExp:eg,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LM,\u0275\u0275i18nPostprocess:RM,\u0275\u0275resolveWindow:Vy,\u0275\u0275resolveDocument:Im,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tE,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Xv,\u0275setClassDebugInfo:ME,\u0275\u0275sanitizeHtml:_m,\u0275\u0275sanitizeStyle:vm,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:ym,\u0275\u0275sanitizeUrl:bm,\u0275\u0275sanitizeUrlOrResourceUrl:xa,\u0275\u0275trustConstantHtml:Iy,\u0275\u0275trustConstantResourceUrl:Cm,\u0275\u0275validateIframeAttribute:ud,forwardRef:to,resolveForwardRef:Dr,\u0275\u0275twoWayProperty:cg,\u0275\u0275twoWayBindingSet:JM,\u0275\u0275twoWayListener:ug,\u0275\u0275InputFlags:at};let cu=null;function wE(){cu=null}const uu=[];let fg=!1;function DE(){if(!fg){fg=!0;try{for(let t=uu.length-1;t>=0;t--){const{moduleType:r,ngModule:s}=uu[t];s.declarations&&s.declarations.every(Zv)&&(uu.splice(t,1),kE(r,s))}}finally{fg=!1}}}function Zv(t){return Array.isArray(t)?t.every(Zv):!!Dr(t)}function AE(t,r={}){Jv(t,r),void 0!==r.id&&ff(t,r.id),function IP(t,r){uu.push({moduleType:t,ngModule:r})}(t,r)}function Jv(t,r,s=!1){const _=ls(r.declarations||Jn);let D=null;Object.defineProperty(t,Qn,{configurable:!0,get:()=>(null===D&&(D=qo().compileNgModule(bs,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ls(r.bootstrap||Jn).map(Dr),declarations:_.map(Dr),imports:ls(r.imports||Jn).map(Dr).map(OE),exports:ls(r.exports||Jn).map(Dr).map(OE),schemas:r.schemas?ls(r.schemas):null,id:r.id||null}),D.schemas||(D.schemas=[])),D)});let k=null;Object.defineProperty(t,or,{get:()=>{if(null===k){const se=qo();k=se.compileFactory(bs,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:gh(t),target:se.FactoryTarget.NgModule,typeArgumentCount:0})}return k},configurable:!1});let $=null;Object.defineProperty(t,fe,{get:()=>{if(null===$){const se={name:t.name,type:t,providers:r.providers||Jn,imports:[(r.imports||Jn).map(Dr),(r.exports||Jn).map(Dr)]};$=qo().compileInjector(bs,`ng:///${t.name}/\u0275inj.js`,se)}return $},configurable:!1})}function TE(t,r){return`Unexpected "${Bi(t)}" found in the "declarations" array of the ${r}, "${Bi(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let mg=new WeakMap,pg=new WeakMap;function kP(){mg=new WeakMap,pg=new WeakMap,uu.length=0,lo.clear()}function kE(t,r){const s=ls(r.declarations||Jn),_=Yl(t);s.forEach(D=>{(D=Dr(D)).hasOwnProperty(pi)?eb(fn(D),_):!D.hasOwnProperty(qt)&&!D.hasOwnProperty(jn)&&(D.ngSelectorScope=t)})}function eb(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(s=>s.hasOwnProperty(pi)?fn(s):Gt(s)).filter(s=>!!s),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(s=>Nn(s)),t.schemas=r.schemas,t.tView=null}function Yl(t){if(Qa(t)){if(sd){const r=Oc.getNgModuleScope(t);return{schemas:cr(t,!0).schemas||null,...r}}return function xE(t){const r=cr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const s={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ns(r.imports).forEach(_=>{const D=Yl(_);D.exported.directives.forEach(k=>s.compilation.directives.add(k)),D.exported.pipes.forEach(k=>s.compilation.pipes.add(k))}),Ns(r.declarations).forEach(_=>{Nn(_)?s.compilation.pipes.add(_):s.compilation.directives.add(_)}),Ns(r.exports).forEach(_=>{const D=_;if(Qa(D)){const k=Yl(D);k.exported.directives.forEach($=>{s.compilation.directives.add($),s.exported.directives.add($)}),k.exported.pipes.forEach($=>{s.compilation.pipes.add($),s.exported.pipes.add($)})}else Nn(D)?s.exported.pipes.add(D):s.exported.directives.add(D)}),r.transitiveCompileScopes=s,s}(t)}if(lr(t)){if(null!==(fn(t)||Gt(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Nn(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function OE(t){return Dp(t)?t.ngModule:t}let tb=0;function LE(t,r){let s=null;(function WA(t,r){VC(r)&&(Nc.set(t,r),jc.add(t))})(t,r),NE(t,r),Object.defineProperty(t,pi,{get:()=>{if(null===s){const _=qo();if(VC(r)){const Ne=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&Ne.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ne.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ne.push(` - styleUrl: ${r.styleUrl}`),Ne.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ne.join("\n"))}const D=function PP(){return cu}();let k=r.preserveWhitespaces;void 0===k&&(k=null!==D&&void 0!==D.preserveWhitespaces&&D.preserveWhitespaces);let $=r.encapsulation;void 0===$&&($=null!==D&&void 0!==D.defaultEncapsulation?D.defaultEncapsulation:yr.Emulated);const se=r.templateUrl||`ng:///${t.name}/template.html`,_e={...jE(t,r),typeSourceSpan:_.createParseSourceSpan("Component",t.name,se),template:r.template||"",preserveWhitespaces:k,styles:"string"==typeof r.styles?[r.styles]:r.styles||Jn,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:$,interpolation:r.interpolation,viewProviders:r.viewProviders||null};tb++;try{if(_e.usesInheritance&&Ad(t),s=_.compileComponent(bs,se,_e),r.standalone){const Ne=ls(r.imports||Jn),{directiveDefs:Xe,pipeDefs:St}=function xP(t,r){let s=null,_=null;return{directiveDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.directives].map(se=>fn(se)||Gt(se)).filter(se=>null!==se):[];if(null===s){s=[fn(t)];const $=new Set([t]);for(const se of r){const _e=Dr(se);if(!$.has(_e))if($.add(_e),cr(_e)){const Ne=Yl(_e);for(const Xe of Ne.exported.directives){const St=fn(Xe)||Gt(Xe);St&&!$.has(Xe)&&($.add(Xe),s.push(St))}}else{const Ne=fn(_e)||Gt(_e);Ne&&s.push(Ne)}}}return s},pipeDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.pipes].map(se=>Nn(se)).filter(se=>null!==se):[];if(null===_){_=[];const $=new Set;for(const se of r){const _e=Dr(se);if(!$.has(_e))if($.add(_e),cr(_e)){const Ne=Yl(_e);for(const Xe of Ne.exported.pipes){const St=Nn(Xe);St&&!$.has(Xe)&&($.add(Xe),_.push(St))}}else{const Ne=Nn(_e);Ne&&_.push(Ne)}}}return _}}}(t,Ne);s.directiveDefs=Xe,s.pipeDefs=St,s.dependencies=()=>Ne.map(Dr)}}finally{tb--}if(0===tb&&DE(),function RE(t){return void 0!==t.ngSelectorScope}(t)){const Ne=Yl(t.ngSelectorScope);eb(s,Ne)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${Bi(t)} but is only valid on a component that is standalone.`);s.schemas=r.schemas}else r.standalone&&(s.schemas=[])}return s},configurable:!1})}function nb(t,r){let s=null;NE(t,r||{}),Object.defineProperty(t,qt,{get:()=>{if(null===s){const _=FE(t,r||{});s=qo().compileDirective(bs,_.sourceMapUrl,_.metadata)}return s},configurable:!1})}function FE(t,r){const s=t&&t.name,_=`ng:///${s}/\u0275dir.js`,D=qo(),k=jE(t,r);return k.typeSourceSpan=D.createParseSourceSpan("Directive",s,_),k.usesInheritance&&Ad(t),{metadata:k,sourceMapUrl:_}}function NE(t,r){let s=null;Object.defineProperty(t,or,{get:()=>{if(null===s){const _=FE(t,r),D=qo();s=D.compileFactory(bs,`ng:///${t.name}/\u0275fac.js`,{name:_.metadata.name,type:_.metadata.type,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Directive})}return s},configurable:!1})}function qI(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function jE(t,r){const s=lm(),_=s.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||pr,propMetadata:_,inputs:r.inputs||Jn,outputs:r.outputs||Jn,queries:BE(t,_,UE),lifecycle:{usesOnChanges:s.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qI(t),exportAs:RP(r.exportAs),providers:r.providers||null,viewQueries:BE(t,_,HE),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(D=>"function"==typeof D?{directive:D}:D)||null}}function Ad(t){const r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;)!Gt(s)&&!fn(s)&&YE(s)&&nb(s,null),s=Object.getPrototypeOf(s)}function OP(t){return"string"==typeof t?VE(t):Dr(t)}function LP(t,r){return{propertyName:t,predicate:OP(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function BE(t,r,s){const _=[];for(const D in r)if(r.hasOwnProperty(D)){const k=r[D];k.forEach($=>{if(s($)){if(!$.selector)throw new Error(`Can't construct a query for the property "${D}" of "${Bi(t)}" since the query selector wasn't defined.`);if(k.some(Td))throw new Error("Cannot combine @Input decorators with query decorators");_.push(LP(D,$))}})}return _}function RP(t){return void 0===t?null:VE(t)}function UE(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HE(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Td(t){return"Input"===t.ngMetadataName}function VE(t){return t.split(",").map(r=>r.trim())}const FP=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YE(t){const r=lm();if(FP.some(_=>r.hasLifecycleHook(t,_)))return!0;const s=r.propMetadata(t);for(const _ in s){const D=s[_];for(let k=0;k{if(null===_){const D=rb(t,r),k=qo();_=k.compileFactory(bs,`ng:///${D.name}/\u0275fac.js`,{name:D.name,type:D.type,typeArgumentCount:0,deps:gh(t),target:k.FactoryTarget.Pipe})}return _},configurable:!1}),Object.defineProperty(t,jn,{get:()=>{if(null===s){const D=rb(t,r);s=qo().compilePipe(bs,`ng:///${D.name}/\u0275pipe.js`,D)}return s},configurable:!1})}function rb(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const $E=Au("Directive",(t={})=>t,void 0,void 0,(t,r)=>nb(t,r)),NP=Au("Component",(t={})=>({changeDetection:Mr.Default,...t}),$E,void 0,(t,r)=>LE(t,r)),WE=Au("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>zE(t,r)),jP=Va("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),du=Va("Output",t=>({alias:t})),BP=Va("HostBinding",t=>({hostPropertyName:t})),ib=Va("HostListener",(t,r)=>({eventName:t,args:r})),UP=Au("NgModule",t=>t,void 0,void 0,(t,r)=>AE(t,r));class GE{constructor(r){this.full=r;const s=r.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}const KE=new GE("17.2.3");let QE=(()=>{class t{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const ab=new tt(""),dw=new tt("");let cb,eI=(()=>{class t{constructor(s,_,D){this._ngZone=s,this.registry=_,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cb||(lb(D),D.addToWindow(_)),this._watchAngularEvents(),s.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:()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(s)||(clearTimeout(_.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,_,D){let k=-1;_&&_>0&&(k=setTimeout(()=>{this._callbacks=this._callbacks.filter($=>$.timeoutId!==k),s()},_)),this._callbacks.push({doneCb:s,timeoutId:k,updateCb:D})}whenStable(s,_,D){if(D&&!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(s,_,D),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,_,D){return[]}static#e=this.\u0275fac=function(_){return new(_||t)(xe(Oo),xe(hw),xe(dw))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(s,_){this._applications.set(s,_)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,_=!0){return cb?.findTestabilityInTree(this,s,_)??null}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function lb(t){cb=t}function ub(t){return!!t&&"function"==typeof t.then}function db(t){return!!t&&"function"==typeof t.subscribe}const fw=new tt("");let _g=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,_)=>{this.resolve=s,this.reject=_}),this.appInits=st(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const D of this.appInits){const k=D();if(ub(k))s.push(k);else if(db(k)){const $=new Promise((se,_e)=>{k.subscribe({complete:se,error:_e})});s.push($)}}const _=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{_()}).catch(D=>{this.reject(D)}),0===s.length&&_(),this.initialized=!0}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hb=new tt("");function gw(){!function H(t){ne=t}(()=>{throw new bt(600,!1)})}function Na(t){return t.isBoundToModule}class tI{constructor(r,s){this.name=r,this.token=s}}function fb(t,r,s){try{const _=s();return ub(_)?_.catch(D=>{throw r.runOutsideAngular(()=>t.handleError(D)),D}):_}catch(_){throw r.runOutsideAngular(()=>t.handleError(_)),_}}function mw(t,r){return Array.isArray(r)?r.reduce(mw,t):{...t,...r}}let kd,ja=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(_y),this.afterRenderEffectManager=st(Il),this.componentTypes=[],this.components=[],this.isStable=st(fd).hasPendingTasks.pipe((0,ft.k)(s=>!s)),this._injector=st(Js)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,_){const D=s instanceof Ju;if(!this._injector.get(_g).done)throw!D&&lr(s),new bt(405,!1);let $;$=D?s:this._injector.get(qu).resolveComponentFactory(s),this.componentTypes.push($.componentType);const se=Na($)?void 0:this._injector.get(kl),Ne=$.create(Rs.NULL,[],_||$.selector,se),Xe=Ne.location.nativeElement,St=Ne.injector.get(ab,null);return St?.registerApplication(Xe),Ne.onDestroy(()=>{this.detachView(Ne.hostView),vg(this.components,Ne),St?.unregisterApplication(Xe)}),this._loadComponent(Ne),Ne}tick(){if(this._runningTick)throw new bt(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let s=0;const _=this.afterRenderEffectManager;for(;;){if(100===s)throw new bt(103,!1);const D=0===s;for(let{_lView:k,notifyErrorHandler:$}of this._views)!D&&!bg(k)||this.detectChangesInView(k,$,D);if(s++,_.executeInternalCallbacks(),!this._views.some(({_lView:k})=>bg(k))&&(_.execute(),!this._views.some(({_lView:k})=>bg(k))))break}}detectChangesInView(s,_,D){let k;D?(k=0,s[Gn]|=1024):k=64&s[Gn]?0:1,Ac(s,_,k)}attachView(s){const _=s;this._views.push(_),_.attachToAppRef(this)}detachView(s){const _=s;vg(this._views,_),_.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const _=this._injector.get(hb,[]);[...this._bootstrapListeners,..._].forEach(D=>D(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vg(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new bt(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vg(t,r){const s=t.indexOf(r);s>-1&&t.splice(s,1)}function pw(t){kd??=new WeakMap;const r=kd.get(t);if(r)return r;const s=t.isStable.pipe((0,rt.K)(_=>_)).toPromise().then(()=>{});return kd.set(t,s),t.onDestroy(()=>kd?.delete(t)),s}function bg(t){return pe(t)}class _w{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let vw=(()=>{class t{compileModuleSync(s){return new _f(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const _=this.compileModuleSync(s),k=Ns(cr(s).declarations).reduce(($,se)=>{const _e=fn(se);return _e&&$.push(new Lc(_e)),$},[]);return new _w(_,k)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bw=new tt("");class yw{}function Cw(t,r,s){const _=new _f(s);return Promise.resolve(_)}let Mw=(()=>{class t{constructor(){this.zone=st(Oo),this.applicationRef=st(ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gb(t){return[{provide:Oo,useFactory:t},{provide:Is,multi:!0,useFactory:()=>{const r=st(Mw,{optional:!0});return()=>r.initialize()}},{provide:Is,multi:!0,useFactory:()=>{const r=st(rI);return()=>{r.initialize()}}},{provide:_y,useFactory:nI}]}function nI(){const t=st(Oo),r=st(Fs);return s=>t.runOutsideAngular(()=>r.handleError(s))}function Ew(t){return Pu([[],gb(()=>new Oo(xd(t)))])}function xd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rI=(()=>{class t{constructor(){this.subscription=new qe.wH,this.initialized=!1,this.zone=st(Oo),this.pendingTasks=st(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oo.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yg=new tt("",{providedIn:"root",factory:()=>st(yg,ht.Optional|ht.SkipSelf)||function mb(){return typeof $localize<"u"&&$localize.locale||qa}()}),ww=new tt("",{providedIn:"root",factory:()=>"USD"}),iI=new tt(""),Dw=new tt("");var Aw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Aw||{});const Cg=new tt("");let pb=(()=>{class t{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,_){const D=function rC(t="zone.js",r){return"noop"===t?new Ep:"zone.js"===t?new Oo(r):t}(_?.ngZone,xd({eventCoalescing:_?.ngZoneEventCoalescing,runCoalescing:_?.ngZoneRunCoalescing}));return D.run(()=>{const k=function rT(t,r,s){return new pf(t,r,s)}(s.moduleType,this.injector,gb(()=>D)),$=k.injector.get(Fs,null);return D.runOutsideAngular(()=>{const se=D.onError.subscribe({next:_e=>{$.handleError(_e)}});k.onDestroy(()=>{vg(this._modules,k),se.unsubscribe()})}),fb($,D,()=>{const se=k.injector.get(_g);return se.runInitializers(),se.donePromise.then(()=>(j_(k.injector.get(yg,qa)||qa),this._moduleDoBootstrap(k),k))})})}bootstrapModule(s,_=[]){const D=mw({},_);return Cw(0,0,s).then(k=>this.bootstrapModuleFactory(k,D))}_moduleDoBootstrap(s){const _=s.injector.get(ja);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(D=>_.bootstrap(D));else{if(!s.instance.ngDoBootstrap)throw new bt(-403,!1);s.instance.ngDoBootstrap(_)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new bt(404,!1);this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_());const s=this._injector.get(Cg,null);s&&(s.forEach(_=>_()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(_){return new(_||t)(xe(Rs))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ba=null;const _b=new tt("");function vb(t){if(Ba&&!Ba.get(_b,!1))throw new bt(400,!1);gw(),Ba=t;const r=t.get(pb);return kw(t),r}function Tw(t,r,s=[]){const _=`Platform: ${r}`,D=new tt(_);return(k=[])=>{let $=Od();if(!$||$.injector.get(_b,!1)){const se=[...s,...k,{provide:D,useValue:!0}];t?t(se):vb(bb(se,_))}return Pw()}}function bb(t=[],r){return Rs.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Ba=null])},...t]})}function Pw(t){const r=Od();if(!r)throw new bt(401,!1);return r}function Od(){return Ba?.get(pb)??null}function oI(){Od()?.destroy()}function kw(t){t.get(ln,null)?.forEach(s=>s())}function xw(){return!1}function sI(){}function Ow(t){const r=Hp(t);if(!r)throw Sg(t);return new _f(r)}function aI(t){const r=Hp(t);if(!r)throw Sg(t);return r}function Sg(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,s){this.name=r,this.callback=s}}function lI(t){return t.map(r=>r.nativeElement)}class Mg{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Ld(r):null}get injector(){return function iE(t){const r=Ms(t),s=r?r.lView:null;return null===s?Rs.NULL:new es(s[Pn].data[r.nodeIndex],s)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(jv(r)||function rE(t){const r=Ms(t);let _,s=r?r.lView:null;if(null===s)return null;for(;2===s[Pn].type&&(_=Ut(s));)s=_;return 512&s[Gn]?null:s[Xr]}(r))}get context(){return jv(this.nativeNode)||function Bv(t){!function aE(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Ms(t),s=r?r.lView:null;return null===s?null:s[Xr]}(this.nativeNode)}get listeners(){return function sE(t){const r=Ms(t),s=null===r?null:r.lView;if(null===s)return[];const D=s[ti],k=s[Pn].cleanup,$=[];if(k&&D)for(let se=0;se=0?"dom":"output"})}}return $.sort(TP),$}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function AP(t){const r=Ms(t);if(null===r)return{};if(void 0===r.localRefs){const s=r.lView;if(null===s)return{};r.localRefs=function JD(t,r){const s=t[Pn].data[r];if(s&&s.localNames){const _={};let D=s.index+1;for(let k=0;k1){let Xe=_e[1];for(let St=1;St<_e.length-1;St++)Xe+=Vr(s[$+St-1])+_e[St+1];t[Ne]=Xe}else t[Ne]=s[$]}}(k,D,s,_),k}get attributes(){const r={},s=this.nativeElement;if(!s)return r;const _=Ms(s),D=_?_.lView:null;if(null===D)return{};const k=D[Pn].data[_.nodeIndex].attrs,$=[];if(k){let se=0;for(;ser[k]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,s=[];for(let _=0;_{if(k.name===r){const $=k.callback;$.call(_,s),D.push($)}}),"function"==typeof _.eventListeners&&_.eventListeners(r).forEach(k=>{if(-1!==k.toString().indexOf("__ngUnwrap__")){const $=k("__ngUnwrap__");return-1===D.indexOf($)&&$.call(_,s)}})}}function cI(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function yb(t,r,s,_){const D=Ms(t.nativeNode),k=D?D.lView:null;null!==k?$l(k[Pn].data[D.nodeIndex],k,r,s,_,t.nativeNode):Eg(t.nativeNode,r,s,_)}function $l(t,r,s,_,D,k){const $=function Zo(t,r){const s=null===t?-1:t.index;return-1!==s?Ur(r[s]):null}(t,r);if(11&t.type){if(Sb($,s,_,D,k),Oi(t)){const _e=Di(t.index,r);_e&&_e[Pn].firstChild&&$l(_e[Pn].firstChild,_e,s,_,D,k)}else t.child&&$l(t.child,r,s,_,D,k),$&&Eg($,s,_,D);const se=r[t.index];Gr(se)&&Cb(se,s,_,D,k)}else if(4&t.type){const se=r[t.index];Sb(se[bi],s,_,D,k),Cb(se,s,_,D,k)}else if(16&t.type){const se=r[Jr],Ne=se[ai].projection[t.projection];if(Array.isArray(Ne))for(let Xe of Ne)Sb(Xe,s,_,D,k);else if(Ne){const Xe=se[si];$l(Xe[Pn].data[Ne.index],Xe,s,_,D,k)}}else t.child&&$l(t.child,r,s,_,D,k);if(k!==$){const se=2&t.flags?t.projectionNext:t.next;se&&$l(se,r,s,_,D,k)}}function Cb(t,r,s,_,D){for(let k=zr;k{class t{constructor(s){}static#e=this.\u0275fac=function(_){return new(_||t)(xe(ja))};static#t=this.\u0275mod=Jt({type:t});static#n=this.\u0275inj=Us({})}return t})();function gi(t){}function jr(t,r){!r&&pl();const s=r?.injector??st(Rs),_=s.get(ja);let D=!1;const k=()=>{D||_.destroyed||(D=!0,t())};rf(k,{injector:s,runOnServer:!0}),queueMicrotask(()=>{k()})}function Ho(t){try{const{rootComponent:r,appProviders:s,platformProviders:_}=t,D=function Iw(t=[]){if(Ba)return Ba;const r=bb(t);return Ba=r,gw(),kw(r),r}(_),k=[Ew(),...s||[]],se=new tS({providers:k,parent:D,debugName:"",runEnvironmentInitializers:!1}).injector,_e=se.get(Oo);return _e.run(()=>{se.resolveInjectorInitializers();const Ne=se.get(Fs,null);let Xe;_e.runOutsideAngular(()=>{Xe=_e.onError.subscribe({next:Qt=>{Ne.handleError(Qt)}})});const St=()=>se.destroy(),jt=D.get(Cg);return jt.add(St),se.onDestroy(()=>{Xe.unsubscribe(),jt.delete(St)}),fb(Ne,_e,()=>{const Qt=se.get(_g);return Qt.runInitializers(),Qt.donePromise.then(()=>{j_(se.get(yg,qa)||qa);const kn=se.get(ja);return void 0!==r&&kn.bootstrap(r),kn})})})}catch(r){return Promise.reject(r)}}let ia=(()=>{class t{constructor(){this.appRef=st(ja),this.taskService=st(fd),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var s=this;return(0,n.c)(function*(){const _=new Promise(k=>setTimeout(k)),D="function"==typeof Rn.requestAnimationFrame?new Promise(k=>requestAnimationFrame(()=>k())):null;yield Promise.race([_,D]),s.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(_){return new(_||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ua(){return Pu([{provide:hp,useExisting:ia},{provide:Oo,useClass:Ep}])}function Ag(t,r){const s=t[Pn];for(let _=ar;_0&&Ne===_){const Xe=s[s.length-1];Xe[dl]??=1,Xe[dl]++}else _=Ne,s.push(_e)}return s}function $w(t,r,s){const _=r.index-ar;t[Ng]??={},t[Ng][_]=j0(r,s)}function hk(t,r){const s=r.index-ar;t[Vd]??=[],t[Vd].includes(s)||t[Vd].push(s)}function fk(t,r){const s={},_=t[Pn];for(let D=ar;D<_.bindingStartIndex;D++){const k=_.data[D],$=D-ar;if(hD(k)){if(Zu(k,t)&&Mk(k)){hk(s,k);continue}if(Array.isArray(k.projection))for(const se of k.projection)if(se){if(Array.isArray(se))throw W1(Ur(t[D]));!Wo(se)&&!Wi(se)&&(Zu(se,t)?hk(s,se):$w(s,se,t))}if(yk(s,k,t),Gr(t[D])){const se=k.tView;null!==se&&(s[Fg]??={},s[Fg][$]=lk(se));const _e=t[D][_r];if(Array.isArray(_e)){const Ne=Ur(_e);Ne.hasAttribute(ua)||Ww(Ne,_e,r)}s[ma]??={},s[ma][$]=bk(t[D],r)}else if(Array.isArray(t[D])){const se=Ur(t[D][_r]);se.hasAttribute(ua)||Ww(se,t[D],r)}else if(8&k.type)s[Rg]??={},s[Rg][$]=ck(_,t,k.child);else if(16&k.type){let se=k.next;for(;null!==se&&16&se.type;)se=se.next;se&&!Wi(se)&&$w(s,se,t)}else if(1&k.type){const se=Ur(t[D]);""===se.textContent?r.corruptedTextNodes.set(se,"ngetn"):se.nextSibling?.nodeType===Node.TEXT_NODE&&r.corruptedTextNodes.set(se,"ngtns")}}}return s}function yk(t,r,s){r.projectionNext&&r.projectionNext!==r.next&&!Wi(r.projectionNext)&&$w(t,r.projectionNext,s),null===r.prev&&null!==r.parent&&Zu(r.parent,s)&&!Zu(r,s)&&$w(t,r,s)}function Ww(t,r,s){const _=r[hr];if(function Co(t){return 32==(32&t[Gn])}(r)||function Ck(t){const r=t[Xr];return!!r?.constructor&&fn(r.constructor)?.encapsulation===yr.ShadowDom}(r))return _.setAttribute(t,ua,""),null;{const D=fk(r,s),k=s.serializedViewCollection.add(D);return _.setAttribute(t,Eu,k.toString()),k}}function Sk(t,r){for(const[s,_]of t)s.after(r.createComment(_))}function Mk(t){let r=t;for(;null!=r;){if(Oi(r))return!0;r=r.parent}return!1}let gk=!1;function Dk(){return Pu([{provide:_c,useFactory:()=>{let t=!0;return Ga()&&(t=!!st(Mu,{optional:!0})?.get(jg,null)),t&&zs("NgHydration"),t}},{provide:Is,useValue:()=>{Ga()&&st(_c)&&(function Ak(){const t=No();let r;for(const s of t.body.childNodes)if(s.nodeType===Node.COMMENT_NODE&&s.textContent?.trim()===wu){r=s;break}if(!r)throw new bt(-507,!1)}(),function Ek(){gk||(gk=!0,function Qw(){kb=Kw}(),function aM(){Zc=OT}(),function yP(){ZM=bP}(),function RT(){lM=cM}(),function Wp(){$p=oT}(),function LA(){bC=CC,cf=OA}(),function dp(){up=rA}(),function C1(){$m=y1}())}())},multi:!0},{provide:um,useFactory:()=>Ga()&&st(_c)},{provide:hb,useFactory:()=>{if(Ga()&&st(_c)){const t=st(ja);return st(Rs),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{Oo.assertInAngularZone(),function Z1(t){const r=t._views;for(const s of r){const _=xb(s);null!==_&&null!==_[_r]&&(Ni(_)?Xu(_):(Xu(_[_r]),F0(_)))}}(t)})}}return()=>{}},multi:!0}])}function Tk(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Pk(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Ik(t){return qo().compileDirectiveDeclaration(bs,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rS(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return qo().compileComponentDeclaration(bs,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return qo(function Lk(t){switch(t){case _l.Directive:return"directive";case _l.Component:return"component";case _l.Injectable:return"injectable";case _l.Pipe:return"pipe";case _l.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(bs,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return qo().compileInjectableDeclaration(bs,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return qo().compileInjectorDeclaration(bs,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return qo().compileNgModuleDeclaration(bs,`ng:///${t.type.name}/\u0275mod.js`,t)}function jk(t){return qo().compilePipeDeclaration(bs,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const s=fn(t),_=r.elementInjector||Aa();return new Lc(s).create(_,r.projectableNodes,r.hostElement,r.environmentInjector)}function Uk(t){const r=fn(t);if(!r)return null;const s=new Lc(r);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,s)=>Object.assign(r,s,{providers:[...r.providers,...s.providers]}),{providers:[]})}},44716:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{AbstractControl:()=>Br,AbstractControlDirective:()=>Wt,AbstractFormGroupDirective:()=>et,COMPOSITION_BUFFER_MODE:()=>A,CheckboxControlValueAccessor:()=>v,CheckboxRequiredValidator:()=>Lo,ControlContainer:()=>bt,DefaultValueAccessor:()=>T,EmailValidator:()=>Xi,FormArray:()=>Ki,FormArrayName:()=>Zr,FormBuilder:()=>co,FormControl:()=>Te,FormControlDirective:()=>si,FormControlName:()=>Yi,FormGroup:()=>sr,FormGroupDirective:()=>ai,FormGroupName:()=>ti,FormRecord:()=>Rn,FormsModule:()=>hs,MaxLengthValidator:()=>Co,MaxValidator:()=>Eo,MinLengthValidator:()=>Gi,MinValidator:()=>zr,NG_ASYNC_VALIDATORS:()=>L,NG_VALIDATORS:()=>P,NG_VALUE_ACCESSOR:()=>h,NgControl:()=>Bt,NgControlStatus:()=>An,NgControlStatusGroup:()=>vn,NgForm:()=>z,NgModel:()=>Gt,NgModelGroup:()=>_n,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>Fo,NumberValueAccessor:()=>cr,PatternValidator:()=>wo,RadioControlValueAccessor:()=>lo,RangeValueAccessor:()=>_r,ReactiveFormsModule:()=>Qo,RequiredValidator:()=>Gr,SelectControlValueAccessor:()=>zi,SelectMultipleControlValueAccessor:()=>xi,UntypedFormArray:()=>uo,UntypedFormBuilder:()=>Do,UntypedFormControl:()=>me,UntypedFormGroup:()=>yr,VERSION:()=>Ko,Validators:()=>V,isFormArray:()=>So,isFormControl:()=>Ae,isFormGroup:()=>qn,isFormRecord:()=>oi,\u0275InternalFormsSharedModule:()=>rs,\u0275NgNoValidate:()=>Nn,\u0275NgSelectMultipleOption:()=>qr});var n=o(54496),i=o(91368),d=o(74496),u=o(53252),a=o(64300),e=o(50560),c=o(59472),l=o(87773),g=o(74187),b=o(67904),S=o(54704);let y=(()=>{class Ye{constructor(ke,ut){this._renderer=ke,this._elementRef=ut,this.onChange=kt=>{},this.onTouched=()=>{}}setProperty(ke,ut){this._renderer.setProperty(this._elementRef.nativeElement,ke,ut)}registerOnTouched(ke){this.onTouched=ke}registerOnChange(ke){this.onChange=ke}setDisabledState(ke){this.setProperty("disabled",ke)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye})}return Ye})(),m=(()=>{class Ye extends y{static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const h=new n.InjectionToken(""),C={provide:h,useExisting:(0,n.forwardRef)(()=>v),multi:!0};let v=(()=>{class Ye extends m{writeValue(ke){this.setProperty("checked",ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("change",function(Vn){return kt.onChange(Vn.target.checked)})("blur",function(){return kt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([C]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const M={provide:h,useExisting:(0,n.forwardRef)(()=>T),multi:!0},A=new n.InjectionToken("");let T=(()=>{class Ye extends y{constructor(ke,ut,kt){super(ke,ut),this._compositionMode=kt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function E(){const Ye=(0,i.\u0275getDOM)()?(0,i.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(Ye.toLowerCase())}())}writeValue(ke){this.setProperty("value",ke??"")}_handleInput(ke){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ke)}_compositionStart(){this._composing=!0}_compositionEnd(ke){this._composing=!1,this._compositionMode&&this.onChange(ke)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,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(ut,kt){1&ut&&n.\u0275\u0275listener("input",function(Vn){return kt._handleInput(Vn.target.value)})("blur",function(){return kt.onTouched()})("compositionstart",function(){return kt._compositionStart()})("compositionend",function(Vn){return kt._compositionEnd(Vn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([M]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function R(Ye){return null==Ye||("string"==typeof Ye||Array.isArray(Ye))&&0===Ye.length}function N(Ye){return null!=Ye&&"number"==typeof Ye.length}const P=new n.InjectionToken(""),L=new n.InjectionToken(""),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class V{static min(Qe){return F(Qe)}static max(Qe){return ee(Qe)}static required(Qe){return X(Qe)}static requiredTrue(Qe){return ce(Qe)}static email(Qe){return Q(Qe)}static minLength(Qe){return ne(Qe)}static maxLength(Qe){return Y(Qe)}static pattern(Qe){return H(Qe)}static nullValidator(Qe){return null}static compose(Qe){return ye(Qe)}static composeAsync(Qe){return be(Qe)}}function F(Ye){return Qe=>{if(R(Qe.value)||R(Ye))return null;const ke=parseFloat(Qe.value);return!isNaN(ke)&&ke{if(R(Qe.value)||R(Ye))return null;const ke=parseFloat(Qe.value);return!isNaN(ke)&&ke>Ye?{max:{max:Ye,actual:Qe.value}}:null}}function X(Ye){return R(Ye.value)?{required:!0}:null}function ce(Ye){return!0===Ye.value?null:{required:!0}}function Q(Ye){return R(Ye.value)||x.test(Ye.value)?null:{email:!0}}function ne(Ye){return Qe=>R(Qe.value)||!N(Qe.value)?null:Qe.value.lengthN(Qe.value)&&Qe.value.length>Ye?{maxlength:{requiredLength:Ye,actualLength:Qe.value.length}}:null}function H(Ye){if(!Ye)return ae;let Qe,ke;return"string"==typeof Ye?(ke="","^"!==Ye.charAt(0)&&(ke+="^"),ke+=Ye,"$"!==Ye.charAt(Ye.length-1)&&(ke+="$"),Qe=new RegExp(ke)):(ke=Ye.toString(),Qe=Ye),ut=>{if(R(ut.value))return null;const kt=ut.value;return Qe.test(kt)?null:{pattern:{requiredPattern:ke,actualValue:kt}}}}function ae(Ye){return null}function J(Ye){return null!=Ye}function K(Ye){return(0,n.\u0275isPromise)(Ye)?(0,d.Q)(Ye):Ye}function W(Ye){let Qe={};return Ye.forEach(ke=>{Qe=null!=ke?{...Qe,...ke}:Qe}),0===Object.keys(Qe).length?null:Qe}function re(Ye,Qe){return Qe.map(ke=>ke(Ye))}function ue(Ye){return Ye.map(Qe=>function G(Ye){return!Ye.validate}(Qe)?Qe:ke=>Qe.validate(ke))}function ye(Ye){if(!Ye)return null;const Qe=Ye.filter(J);return 0==Qe.length?null:function(ke){return W(re(ke,Qe))}}function Ie(Ye){return null!=Ye?ye(ue(Ye)):null}function be(Ye){if(!Ye)return null;const Qe=Ye.filter(J);return 0==Qe.length?null:function(ke){return function p(...Ye){const Qe=(0,c.yu)(Ye),{args:ke,keys:ut}=(0,a.Q)(Ye),kt=new u._($n=>{const{length:Vn}=ke;if(!Vn)return void $n.complete();const $i=new Array(Vn);let Mo=Vn,Ao=Vn;for(let ho=0;ho{Ur||(Ur=!0,Ao--),$i[ho]=Xo},()=>Mo--,void 0,()=>{(!Mo||!Ur)&&(Ao||$n.next(ut?(0,b.q)(ut,$i):$i),$n.complete())}))}});return Qe?kt.pipe((0,g.j)(Qe)):kt}(re(ke,Qe).map(K)).pipe((0,S.k)(W))}}function ie(Ye){return null!=Ye?be(ue(Ye)):null}function De(Ye,Qe){return null===Ye?[Qe]:Array.isArray(Ye)?[...Ye,Qe]:[Ye,Qe]}function ze(Ye){return Ye._rawValidators}function qe(Ye){return Ye._rawAsyncValidators}function nt(Ye){return Ye?Array.isArray(Ye)?Ye:[Ye]:[]}function ft(Ye,Qe){return Array.isArray(Ye)?Ye.includes(Qe):Ye===Qe}function rt(Ye,Qe){const ke=nt(Qe);return nt(Ye).forEach(kt=>{ft(ke,kt)||ke.push(kt)}),ke}function mt(Ye,Qe){return nt(Qe).filter(ke=>!ft(Ye,ke))}class Wt{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(Qe){this._rawValidators=Qe||[],this._composedValidatorFn=Ie(this._rawValidators)}_setAsyncValidators(Qe){this._rawAsyncValidators=Qe||[],this._composedAsyncValidatorFn=ie(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Qe){this._onDestroyCallbacks.push(Qe)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Qe=>Qe()),this._onDestroyCallbacks=[]}reset(Qe=void 0){this.control&&this.control.reset(Qe)}hasError(Qe,ke){return!!this.control&&this.control.hasError(Qe,ke)}getError(Qe,ke){return this.control?this.control.getError(Qe,ke):null}}class bt extends Wt{get formDirective(){return null}get path(){return null}}class Bt extends Wt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class an{constructor(Qe){this._cd=Qe}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let An=(()=>{class Ye extends an{constructor(ke){super(ke)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(Bt,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275classProp("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),vn=(()=>{class Ye extends an{constructor(ke){super(ke)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(bt,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275classProp("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)("ng-submitted",kt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Zt="VALID",wt="INVALID",$t="PENDING",Ct="DISABLED";function It(Ye){return(nn(Ye)?Ye.validators:Ye)||null}function yn(Ye,Qe){return(nn(Qe)?Qe.asyncValidators:Ye)||null}function nn(Ye){return null!=Ye&&!Array.isArray(Ye)&&"object"==typeof Ye}function nr(Ye,Qe,ke){const ut=Ye.controls;if(!(Qe?Object.keys(ut):ut).length)throw new n.\u0275RuntimeError(1e3,"");if(!ut[ke])throw new n.\u0275RuntimeError(1001,"")}function kr(Ye,Qe,ke){Ye._forEachChild((ut,kt)=>{if(void 0===ke[kt])throw new n.\u0275RuntimeError(1002,"")})}class Br{constructor(Qe,ke){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Qe),this._assignAsyncValidators(ke)}get validator(){return this._composedValidatorFn}set validator(Qe){this._rawValidators=this._composedValidatorFn=Qe}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Qe){this._rawAsyncValidators=this._composedAsyncValidatorFn=Qe}get parent(){return this._parent}get valid(){return this.status===Zt}get invalid(){return this.status===wt}get pending(){return this.status==$t}get disabled(){return this.status===Ct}get enabled(){return this.status!==Ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Qe){this._assignValidators(Qe)}setAsyncValidators(Qe){this._assignAsyncValidators(Qe)}addValidators(Qe){this.setValidators(rt(Qe,this._rawValidators))}addAsyncValidators(Qe){this.setAsyncValidators(rt(Qe,this._rawAsyncValidators))}removeValidators(Qe){this.setValidators(mt(Qe,this._rawValidators))}removeAsyncValidators(Qe){this.setAsyncValidators(mt(Qe,this._rawAsyncValidators))}hasValidator(Qe){return ft(this._rawValidators,Qe)}hasAsyncValidator(Qe){return ft(this._rawAsyncValidators,Qe)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Qe={}){this.touched=!0,this._parent&&!Qe.onlySelf&&this._parent.markAsTouched(Qe)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Qe=>Qe.markAllAsTouched())}markAsUntouched(Qe={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ke=>{ke.markAsUntouched({onlySelf:!0})}),this._parent&&!Qe.onlySelf&&this._parent._updateTouched(Qe)}markAsDirty(Qe={}){this.pristine=!1,this._parent&&!Qe.onlySelf&&this._parent.markAsDirty(Qe)}markAsPristine(Qe={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ke=>{ke.markAsPristine({onlySelf:!0})}),this._parent&&!Qe.onlySelf&&this._parent._updatePristine(Qe)}markAsPending(Qe={}){this.status=$t,!1!==Qe.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Qe.onlySelf&&this._parent.markAsPending(Qe)}disable(Qe={}){const ke=this._parentMarkedDirty(Qe.onlySelf);this.status=Ct,this.errors=null,this._forEachChild(ut=>{ut.disable({...Qe,onlySelf:!0})}),this._updateValue(),!1!==Qe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Qe,skipPristineCheck:ke}),this._onDisabledChange.forEach(ut=>ut(!0))}enable(Qe={}){const ke=this._parentMarkedDirty(Qe.onlySelf);this.status=Zt,this._forEachChild(ut=>{ut.enable({...Qe,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Qe.emitEvent}),this._updateAncestors({...Qe,skipPristineCheck:ke}),this._onDisabledChange.forEach(ut=>ut(!1))}_updateAncestors(Qe){this._parent&&!Qe.onlySelf&&(this._parent.updateValueAndValidity(Qe),Qe.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Qe){this._parent=Qe}getRawValue(){return this.value}updateValueAndValidity(Qe={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zt||this.status===$t)&&this._runAsyncValidator(Qe.emitEvent)),!1!==Qe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Qe.onlySelf&&this._parent.updateValueAndValidity(Qe)}_updateTreeValidity(Qe={emitEvent:!0}){this._forEachChild(ke=>ke._updateTreeValidity(Qe)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Qe.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ct:Zt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Qe){if(this.asyncValidator){this.status=$t,this._hasOwnPendingAsyncValidator=!0;const ke=K(this.asyncValidator(this));this._asyncValidationSubscription=ke.subscribe(ut=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ut,{emitEvent:Qe})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Qe,ke={}){this.errors=Qe,this._updateControlsErrors(!1!==ke.emitEvent)}get(Qe){let ke=Qe;return null==ke||(Array.isArray(ke)||(ke=ke.split(".")),0===ke.length)?null:ke.reduce((ut,kt)=>ut&&ut._find(kt),this)}getError(Qe,ke){const ut=ke?this.get(ke):this;return ut&&ut.errors?ut.errors[Qe]:null}hasError(Qe,ke){return!!this.getError(Qe,ke)}get root(){let Qe=this;for(;Qe._parent;)Qe=Qe._parent;return Qe}_updateControlsErrors(Qe){this.status=this._calculateStatus(),Qe&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Qe)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Ct:this.errors?wt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($t)?$t:this._anyControlsHaveStatus(wt)?wt:Zt}_anyControlsHaveStatus(Qe){return this._anyControls(ke=>ke.status===Qe)}_anyControlsDirty(){return this._anyControls(Qe=>Qe.dirty)}_anyControlsTouched(){return this._anyControls(Qe=>Qe.touched)}_updatePristine(Qe={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Qe.onlySelf&&this._parent._updatePristine(Qe)}_updateTouched(Qe={}){this.touched=this._anyControlsTouched(),this._parent&&!Qe.onlySelf&&this._parent._updateTouched(Qe)}_registerOnCollectionChange(Qe){this._onCollectionChange=Qe}_setUpdateStrategy(Qe){nn(Qe)&&null!=Qe.updateOn&&(this._updateOn=Qe.updateOn)}_parentMarkedDirty(Qe){return!Qe&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Qe){return null}_assignValidators(Qe){this._rawValidators=Array.isArray(Qe)?Qe.slice():Qe,this._composedValidatorFn=function tn(Ye){return Array.isArray(Ye)?Ie(Ye):Ye||null}(this._rawValidators)}_assignAsyncValidators(Qe){this._rawAsyncValidators=Array.isArray(Qe)?Qe.slice():Qe,this._composedAsyncValidatorFn=function Tn(Ye){return Array.isArray(Ye)?ie(Ye):Ye||null}(this._rawAsyncValidators)}}class sr extends Br{constructor(Qe,ke,ut){super(It(ke),yn(ut,ke)),this.controls=Qe,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Qe,ke){return this.controls[Qe]?this.controls[Qe]:(this.controls[Qe]=ke,ke.setParent(this),ke._registerOnCollectionChange(this._onCollectionChange),ke)}addControl(Qe,ke,ut={}){this.registerControl(Qe,ke),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}removeControl(Qe,ke={}){this.controls[Qe]&&this.controls[Qe]._registerOnCollectionChange(()=>{}),delete this.controls[Qe],this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}setControl(Qe,ke,ut={}){this.controls[Qe]&&this.controls[Qe]._registerOnCollectionChange(()=>{}),delete this.controls[Qe],ke&&this.registerControl(Qe,ke),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}contains(Qe){return this.controls.hasOwnProperty(Qe)&&this.controls[Qe].enabled}setValue(Qe,ke={}){kr(this,0,Qe),Object.keys(Qe).forEach(ut=>{nr(this,!0,ut),this.controls[ut].setValue(Qe[ut],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Qe,ke={}){null!=Qe&&(Object.keys(Qe).forEach(ut=>{const kt=this.controls[ut];kt&&kt.patchValue(Qe[ut],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Qe={},ke={}){this._forEachChild((ut,kt)=>{ut.reset(Qe?Qe[kt]:null,{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this._reduceChildren({},(Qe,ke,ut)=>(Qe[ut]=ke.getRawValue(),Qe))}_syncPendingControls(){let Qe=this._reduceChildren(!1,(ke,ut)=>!!ut._syncPendingControls()||ke);return Qe&&this.updateValueAndValidity({onlySelf:!0}),Qe}_forEachChild(Qe){Object.keys(this.controls).forEach(ke=>{const ut=this.controls[ke];ut&&Qe(ut,ke)})}_setUpControls(){this._forEachChild(Qe=>{Qe.setParent(this),Qe._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Qe){for(const[ke,ut]of Object.entries(this.controls))if(this.contains(ke)&&Qe(ut))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ke,ut,kt)=>((ut.enabled||this.disabled)&&(ke[kt]=ut.value),ke))}_reduceChildren(Qe,ke){let ut=Qe;return this._forEachChild((kt,$n)=>{ut=ke(ut,kt,$n)}),ut}_allControlsDisabled(){for(const Qe of Object.keys(this.controls))if(this.controls[Qe].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Qe){return this.controls.hasOwnProperty(Qe)?this.controls[Qe]:null}}const yr=sr,qn=Ye=>Ye instanceof sr;class Rn extends sr{}const oi=Ye=>Ye instanceof Rn,Sr=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>pr}),pr="always";function Jn(Ye,Qe){return[...Qe.path,Ye]}function er(Ye,Qe,ke=pr){jn(Ye,Qe),Qe.valueAccessor.writeValue(Ye.value),(Ye.disabled||"always"===ke)&&Qe.valueAccessor.setDisabledState?.(Ye.disabled),function or(Ye,Qe){Qe.valueAccessor.registerOnChange(ke=>{Ye._pendingValue=ke,Ye._pendingChange=!0,Ye._pendingDirty=!0,"change"===Ye.updateOn&&Ir(Ye,Qe)})}(Ye,Qe),function at(Ye,Qe){const ke=(ut,kt)=>{Qe.valueAccessor.writeValue(ut),kt&&Qe.viewToModelUpdate(ut)};Ye.registerOnChange(ke),Qe._registerOnDestroy(()=>{Ye._unregisterOnChange(ke)})}(Ye,Qe),function ui(Ye,Qe){Qe.valueAccessor.registerOnTouched(()=>{Ye._pendingTouched=!0,"blur"===Ye.updateOn&&Ye._pendingChange&&Ir(Ye,Qe),"submit"!==Ye.updateOn&&Ye.markAsTouched()})}(Ye,Qe),function qt(Ye,Qe){if(Qe.valueAccessor.setDisabledState){const ke=ut=>{Qe.valueAccessor.setDisabledState(ut)};Ye.registerOnDisabledChange(ke),Qe._registerOnDestroy(()=>{Ye._unregisterOnDisabledChange(ke)})}}(Ye,Qe)}function Or(Ye,Qe,ke=!0){const ut=()=>{};Qe.valueAccessor&&(Qe.valueAccessor.registerOnChange(ut),Qe.valueAccessor.registerOnTouched(ut)),Qn(Ye,Qe),Ye&&(Qe._invokeOnDestroyCallbacks(),Ye._registerOnCollectionChange(()=>{}))}function pi(Ye,Qe){Ye.forEach(ke=>{ke.registerOnValidatorChange&&ke.registerOnValidatorChange(Qe)})}function jn(Ye,Qe){const ke=ze(Ye);null!==Qe.validator?Ye.setValidators(De(ke,Qe.validator)):"function"==typeof ke&&Ye.setValidators([ke]);const ut=qe(Ye);null!==Qe.asyncValidator?Ye.setAsyncValidators(De(ut,Qe.asyncValidator)):"function"==typeof ut&&Ye.setAsyncValidators([ut]);const kt=()=>Ye.updateValueAndValidity();pi(Qe._rawValidators,kt),pi(Qe._rawAsyncValidators,kt)}function Qn(Ye,Qe){let ke=!1;if(null!==Ye){if(null!==Qe.validator){const kt=ze(Ye);if(Array.isArray(kt)&&kt.length>0){const $n=kt.filter(Vn=>Vn!==Qe.validator);$n.length!==kt.length&&(ke=!0,Ye.setValidators($n))}}if(null!==Qe.asyncValidator){const kt=qe(Ye);if(Array.isArray(kt)&&kt.length>0){const $n=kt.filter(Vn=>Vn!==Qe.asyncValidator);$n.length!==kt.length&&(ke=!0,Ye.setAsyncValidators($n))}}}const ut=()=>{};return pi(Qe._rawValidators,ut),pi(Qe._rawAsyncValidators,ut),ke}function Ir(Ye,Qe){Ye._pendingDirty&&Ye.markAsDirty(),Ye.setValue(Ye._pendingValue,{emitModelToViewChange:!1}),Qe.viewToModelUpdate(Ye._pendingValue),Ye._pendingChange=!1}function Ot(Ye,Qe){jn(Ye,Qe)}function Yn(Ye,Qe){if(!Ye.hasOwnProperty("model"))return!1;const ke=Ye.model;return!!ke.isFirstChange()||!Object.is(Qe,ke.currentValue)}function Er(Ye,Qe){Ye._syncPendingControls(),Qe.forEach(ke=>{const ut=ke.control;"submit"===ut.updateOn&&ut._pendingChange&&(ke.viewToModelUpdate(ut._pendingValue),ut._pendingChange=!1)})}function zn(Ye,Qe){if(!Qe)return null;let ke,ut,kt;return Array.isArray(Qe),Qe.forEach($n=>{$n.constructor===T?ke=$n:function Tr(Ye){return Object.getPrototypeOf(Ye.constructor)===m}($n)?ut=$n:kt=$n}),kt||ut||ke||null}const un={provide:bt,useExisting:(0,n.forwardRef)(()=>z)},B=Promise.resolve();let z=(()=>{class Ye extends bt{constructor(ke,ut,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new sr({},Ie(ke),ie(ut))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ke){B.then(()=>{const ut=this._findContainer(ke.path);ke.control=ut.registerControl(ke.name,ke.control),er(ke.control,ke,this.callSetDisabledState),ke.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ke)})}getControl(ke){return this.form.get(ke.path)}removeControl(ke){B.then(()=>{const ut=this._findContainer(ke.path);ut&&ut.removeControl(ke.name),this._directives.delete(ke)})}addFormGroup(ke){B.then(()=>{const ut=this._findContainer(ke.path),kt=new sr({});Ot(kt,ke),ut.registerControl(ke.name,kt),kt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ke){B.then(()=>{const ut=this._findContainer(ke.path);ut&&ut.removeControl(ke.name)})}getFormGroup(ke){return this.form.get(ke.path)}updateModel(ke,ut){B.then(()=>{this.form.get(ke.path).setValue(ut)})}setValue(ke){this.control.setValue(ke)}onSubmit(ke){return this.submitted=!0,Er(this.form,this._directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ke){return ke.pop(),ke.length?this.form.get(ke):this.form}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("submit",function(Vn){return kt.onSubmit(Vn)})("reset",function(){return kt.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([un]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function de(Ye,Qe){const ke=Ye.indexOf(Qe);ke>-1&&Ye.splice(ke,1)}function Fe(Ye){return"object"==typeof Ye&&null!==Ye&&2===Object.keys(Ye).length&&"value"in Ye&&"disabled"in Ye}const Te=class extends Br{constructor(Qe=null,ke,ut){super(It(ke),yn(ut,ke)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Qe),this._setUpdateStrategy(ke),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nn(ke)&&(ke.nonNullable||ke.initialValueIsDefault)&&(this.defaultValue=Fe(Qe)?Qe.value:Qe)}setValue(Qe,ke={}){this.value=this._pendingValue=Qe,this._onChange.length&&!1!==ke.emitModelToViewChange&&this._onChange.forEach(ut=>ut(this.value,!1!==ke.emitViewToModelChange)),this.updateValueAndValidity(ke)}patchValue(Qe,ke={}){this.setValue(Qe,ke)}reset(Qe=this.defaultValue,ke={}){this._applyFormState(Qe),this.markAsPristine(ke),this.markAsUntouched(ke),this.setValue(this.value,ke),this._pendingChange=!1}_updateValue(){}_anyControls(Qe){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Qe){this._onChange.push(Qe)}_unregisterOnChange(Qe){de(this._onChange,Qe)}registerOnDisabledChange(Qe){this._onDisabledChange.push(Qe)}_unregisterOnDisabledChange(Qe){de(this._onDisabledChange,Qe)}_forEachChild(Qe){}_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(Qe){Fe(Qe)?(this.value=this._pendingValue=Qe.value,Qe.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Qe}},me=Te,Ae=Ye=>Ye instanceof Te;let et=(()=>{class Ye extends bt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const mn={provide:bt,useExisting:(0,n.forwardRef)(()=>_n)};let _n=(()=>{class Ye extends et{constructor(ke,ut,kt){super(),this.name="",this._parent=ke,this._setValidators(ut),this._setAsyncValidators(kt)}_checkParentType(){}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(bt,5),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([mn]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Cn={provide:Bt,useExisting:(0,n.forwardRef)(()=>Gt)},fn=Promise.resolve();let Gt=(()=>{class Ye extends Bt{constructor(ke,ut,kt,$n,Vn,$i){super(),this._changeDetectorRef=Vn,this.callSetDisabledState=$i,this.control=new Te,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ke,this._setValidators(ut),this._setAsyncValidators(kt),this.valueAccessor=zn(0,$n)}ngOnChanges(ke){if(this._checkForErrors(),!this._registered||"name"in ke){if(this._registered&&(this._checkName(),this.formDirective)){const ut=ke.name.previousValue;this.formDirective.removeControl({name:ut,path:this._getPath(ut)})}this._setUpControl()}"isDisabled"in ke&&this._updateDisabled(ke),Yn(ke,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(ke){this.viewModel=ke,this.update.emit(ke)}_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(){er(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(ke){fn.then(()=>{this.control.setValue(ke,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ke){const ut=ke.isDisabled.currentValue,kt=0!==ut&&(0,n.booleanAttribute)(ut);fn.then(()=>{kt&&!this.control.disabled?this.control.disable():!kt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ke){return this._parent?Jn(ke,this._parent):[ke]}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(bt,9),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(h,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"],options:[n.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Cn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})(),Nn=(()=>{class Ye{static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Ye})();const lr={provide:h,useExisting:(0,n.forwardRef)(()=>cr),multi:!0};let cr=(()=>{class Ye extends m{writeValue(ke){this.setProperty("value",ke??"")}registerOnChange(ke){this.onChange=ut=>{ke(""==ut?null:parseFloat(ut))}}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("input",function(Vn){return kt.onChange(Vn.target.value)})("blur",function(){return kt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Nr={provide:h,useExisting:(0,n.forwardRef)(()=>lo),multi:!0};let ct=(()=>{class Ye{constructor(){this._accessors=[]}add(ke,ut){this._accessors.push([ke,ut])}remove(ke){for(let ut=this._accessors.length-1;ut>=0;--ut)if(this._accessors[ut][1]===ke)return void this._accessors.splice(ut,1)}select(ke){this._accessors.forEach(ut=>{this._isSameGroup(ut,ke)&&ut[1]!==ke&&ut[1].fireUncheck(ke.value)})}_isSameGroup(ke,ut){return!!ke[0].control&&ke[0]._parent===ut._control._parent&&ke[1].name===ut.name}static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),lo=(()=>{class Ye extends m{constructor(ke,ut,kt,$n){super(ke,ut),this._registry=kt,this._injector=$n,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Sr,{optional:!0})??pr}ngOnInit(){this._control=this._injector.get(Bt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ke){this._state=ke===this.value,this.setProperty("checked",this._state)}registerOnChange(ke){this._fn=ke,this.onChange=()=>{ke(this.value),this._registry.select(this)}}setDisabledState(ke){(this.setDisabledStateFired||ke||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ke),this.setDisabledStateFired=!0}fireUncheck(ke){this.writeValue(ke)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ct),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("change",function(){return kt.onChange()})("blur",function(){return kt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const vi={provide:h,useExisting:(0,n.forwardRef)(()=>_r),multi:!0};let _r=(()=>{class Ye extends m{writeValue(ke){this.setProperty("value",parseFloat(ke))}registerOnChange(ke){this.onChange=ut=>{ke(""==ut?null:parseFloat(ut))}}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("change",function(Vn){return kt.onChange(Vn.target.value)})("input",function(Vn){return kt.onChange(Vn.target.value)})("blur",function(){return kt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Pn=new n.InjectionToken(""),Gn={provide:Bt,useExisting:(0,n.forwardRef)(()=>si)};let si=(()=>{class Ye extends Bt{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,ut,kt,$n,Vn){super(),this._ngModelWarningConfig=$n,this.callSetDisabledState=Vn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ke),this._setAsyncValidators(ut),this.valueAccessor=zn(0,kt)}ngOnChanges(ke){if(this._isControlChanged(ke)){const ut=ke.form.previousValue;ut&&Or(ut,this,!1),er(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yn(ke,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Or(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}_isControlChanged(ke){return ke.hasOwnProperty("form")}static#t=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(h,10),n.\u0275\u0275directiveInject(Pn,8),n.\u0275\u0275directiveInject(Sr,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControl",""]],inputs:{form:[n.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const Pr={provide:bt,useExisting:(0,n.forwardRef)(()=>ai)};let ai=(()=>{class Ye extends bt{constructor(ke,ut,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ke),this._setAsyncValidators(ut)}ngOnChanges(ke){this._checkFormPresent(),ke.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ke){const ut=this.form.get(ke.path);return er(ut,ke,this.callSetDisabledState),ut.updateValueAndValidity({emitEvent:!1}),this.directives.push(ke),ut}getControl(ke){return this.form.get(ke.path)}removeControl(ke){Or(ke.control||null,ke,!1),function ur(Ye,Qe){const ke=Ye.indexOf(Qe);ke>-1&&Ye.splice(ke,1)}(this.directives,ke)}addFormGroup(ke){this._setUpFormContainer(ke)}removeFormGroup(ke){this._cleanUpFormContainer(ke)}getFormGroup(ke){return this.form.get(ke.path)}addFormArray(ke){this._setUpFormContainer(ke)}removeFormArray(ke){this._cleanUpFormContainer(ke)}getFormArray(ke){return this.form.get(ke.path)}updateModel(ke,ut){this.form.get(ke.path).setValue(ut)}onSubmit(ke){return this.submitted=!0,Er(this.form,this.directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_updateDomValue(){this.directives.forEach(ke=>{const ut=ke.control,kt=this.form.get(ke.path);ut!==kt&&(Or(ut||null,ke),Ae(kt)&&(er(kt,ke,this.callSetDisabledState),ke.control=kt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ke){const ut=this.form.get(ke.path);Ot(ut,ke),ut.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ke){if(this.form){const ut=this.form.get(ke.path);ut&&function Pt(Ye,Qe){return Qn(Ye,Qe)}(ut,ke)&&ut.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jn(this.form,this),this._oldForm&&Qn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroup",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("submit",function(Vn){return kt.onSubmit(Vn)})("reset",function(){return kt.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Pr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const Fn={provide:bt,useExisting:(0,n.forwardRef)(()=>ti)};let ti=(()=>{class Ye extends et{constructor(ke,ut,kt){super(),this.name=null,this._parent=ke,this._setValidators(ut),this._setAsyncValidators(kt)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(bt,13),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Fn]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Xr={provide:bt,useExisting:(0,n.forwardRef)(()=>Zr)};let Zr=(()=>{class Ye extends bt{constructor(ke,ut,kt){super(),this.name=null,this._parent=ke,this._setValidators(ut),this._setAsyncValidators(kt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(bt,13),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Xr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function Vi(Ye){return!(Ye instanceof ti||Ye instanceof ai||Ye instanceof Zr)}const hr={provide:Bt,useExisting:(0,n.forwardRef)(()=>Yi)};let Yi=(()=>{class Ye extends Bt{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,ut,kt,$n,Vn){super(),this._ngModelWarningConfig=Vn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ke,this._setValidators(ut),this._setAsyncValidators(kt),this.valueAccessor=zn(0,$n)}ngOnChanges(ke){this._added||this._setUpControl(),Yn(ke,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(bt,13),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(h,10),n.\u0275\u0275directiveInject(Pn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControlName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const ko={provide:h,useExisting:(0,n.forwardRef)(()=>zi),multi:!0};function go(Ye,Qe){return null==Ye?`${Qe}`:(Qe&&"object"==typeof Qe&&(Qe="Object"),`${Ye}: ${Qe}`.slice(0,50))}let zi=(()=>{class Ye extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){this.value=ke;const kt=go(this._getOptionId(ke),ke);this.setProperty("value",kt)}registerOnChange(ke){this.onChange=ut=>{this.value=this._getOptionValue(ut),ke(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ke){for(const ut of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ut),ke))return ut;return null}_getOptionValue(ke){const ut=function Jr(Ye){return Ye.split(":")[0]}(ke);return this._optionMap.has(ut)?this._optionMap.get(ut):ke}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("change",function(Vn){return kt.onChange(Vn.target.value)})("blur",function(){return kt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ko]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),qi=(()=>{class Ye{constructor(ke,ut,kt){this._element=ke,this._renderer=ut,this._select=kt,this._select&&(this.id=this._select._registerOption())}set ngValue(ke){null!=this._select&&(this._select._optionMap.set(this.id,ke),this._setElementValue(go(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._setElementValue(ke),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(zi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ye})();const ro={provide:h,useExisting:(0,n.forwardRef)(()=>xi),multi:!0};function Rr(Ye,Qe){return null==Ye?`${Qe}`:("string"==typeof Qe&&(Qe=`'${Qe}'`),Qe&&"object"==typeof Qe&&(Qe="Object"),`${Ye}: ${Qe}`.slice(0,50))}let xi=(()=>{class Ye extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){let ut;if(this.value=ke,Array.isArray(ke)){const kt=ke.map($n=>this._getOptionId($n));ut=($n,Vn)=>{$n._setSelected(kt.indexOf(Vn.toString())>-1)}}else ut=(kt,$n)=>{kt._setSelected(!1)};this._optionMap.forEach(ut)}registerOnChange(ke){this.onChange=ut=>{const kt=[],$n=ut.selectedOptions;if(void 0!==$n){const Vn=$n;for(let $i=0;$i{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ut,kt){1&ut&&n.\u0275\u0275listener("change",function(Vn){return kt.onChange(Vn.target)})("blur",function(){return kt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ro]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),qr=(()=>{class Ye{constructor(ke,ut,kt){this._element=ke,this._renderer=ut,this._select=kt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ke){null!=this._select&&(this._value=ke,this._setElementValue(Rr(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._select?(this._value=ke,this._setElementValue(Rr(this.id,ke)),this._select.writeValue(this._select.value)):this._setElementValue(ke)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}_setSelected(ke){this._renderer.setProperty(this._element.nativeElement,"selected",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ut){return new(ut||Ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(xi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ye})();function ar(Ye){return"number"==typeof Ye?Ye:parseInt(Ye,10)}function bo(Ye){return"number"==typeof Ye?Ye:parseFloat(Ye)}let wi=(()=>{class Ye{constructor(){this._validator=ae}ngOnChanges(ke){if(this.inputName in ke){const ut=this.normalizeInput(ke[this.inputName].currentValue);this._enabled=this.enabled(ut),this._validator=this._enabled?this.createValidator(ut):ae,this._onChange&&this._onChange()}}validate(ke){return this._validator(ke)}registerOnValidatorChange(ke){this._onChange=ke}enabled(ke){return null!=ke}static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const bi={provide:P,useExisting:(0,n.forwardRef)(()=>Eo),multi:!0};let Eo=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ke=>bo(ke),this.createValidator=ke=>ee(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("max",kt._enabled?kt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([bi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const po={provide:P,useExisting:(0,n.forwardRef)(()=>zr),multi:!0};let zr=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ke=>bo(ke),this.createValidator=ke=>F(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("min",kt._enabled?kt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([po]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const yo={provide:P,useExisting:(0,n.forwardRef)(()=>Gr),multi:!0},Ni={provide:P,useExisting:(0,n.forwardRef)(()=>Lo),multi:!0};let Gr=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>X}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("required",kt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([yo]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),Lo=(()=>{class Ye extends Gr{constructor(){super(...arguments),this.createValidator=ke=>ce}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("required",kt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Oi={provide:P,useExisting:(0,n.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>Q}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Oi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Li={provide:P,useExisting:(0,n.forwardRef)(()=>Gi),multi:!0};let Gi=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ke=>ar(ke),this.createValidator=ke=>ne(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("minlength",kt._enabled?kt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Li]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Wo={provide:P,useExisting:(0,n.forwardRef)(()=>Co),multi:!0};let Co=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ke=>ar(ke),this.createValidator=ke=>Y(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("maxlength",kt._enabled?kt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Wo]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Ro={provide:P,useExisting:(0,n.forwardRef)(()=>wo),multi:!0};let wo=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ke=>ke,this.createValidator=ke=>H(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ut,kt){2&ut&&n.\u0275\u0275attribute("pattern",kt._enabled?kt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ro]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),rs=(()=>{class Ye{static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Ye})();class Ki extends Br{constructor(Qe,ke,ut){super(It(ke),yn(ut,ke)),this.controls=Qe,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Qe){return this.controls[this._adjustIndex(Qe)]}push(Qe,ke={}){this.controls.push(Qe),this._registerControl(Qe),this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}insert(Qe,ke,ut={}){this.controls.splice(Qe,0,ke),this._registerControl(ke),this.updateValueAndValidity({emitEvent:ut.emitEvent})}removeAt(Qe,ke={}){let ut=this._adjustIndex(Qe);ut<0&&(ut=0),this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),this.controls.splice(ut,1),this.updateValueAndValidity({emitEvent:ke.emitEvent})}setControl(Qe,ke,ut={}){let kt=this._adjustIndex(Qe);kt<0&&(kt=0),this.controls[kt]&&this.controls[kt]._registerOnCollectionChange(()=>{}),this.controls.splice(kt,1),ke&&(this.controls.splice(kt,0,ke),this._registerControl(ke)),this.updateValueAndValidity({emitEvent:ut.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Qe,ke={}){kr(this,0,Qe),Qe.forEach((ut,kt)=>{nr(this,!1,kt),this.at(kt).setValue(ut,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Qe,ke={}){null!=Qe&&(Qe.forEach((ut,kt)=>{this.at(kt)&&this.at(kt).patchValue(ut,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Qe=[],ke={}){this._forEachChild((ut,kt)=>{ut.reset(Qe[kt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this.controls.map(Qe=>Qe.getRawValue())}clear(Qe={}){this.controls.length<1||(this._forEachChild(ke=>ke._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Qe.emitEvent}))}_adjustIndex(Qe){return Qe<0?Qe+this.length:Qe}_syncPendingControls(){let Qe=this.controls.reduce((ke,ut)=>!!ut._syncPendingControls()||ke,!1);return Qe&&this.updateValueAndValidity({onlySelf:!0}),Qe}_forEachChild(Qe){this.controls.forEach((ke,ut)=>{Qe(ke,ut)})}_updateValue(){this.value=this.controls.filter(Qe=>Qe.enabled||this.disabled).map(Qe=>Qe.value)}_anyControls(Qe){return this.controls.some(ke=>ke.enabled&&Qe(ke))}_setUpControls(){this._forEachChild(Qe=>this._registerControl(Qe))}_allControlsDisabled(){for(const Qe of this.controls)if(Qe.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Qe){Qe.setParent(this),Qe._registerOnCollectionChange(this._onCollectionChange)}_find(Qe){return this.at(Qe)??null}}const uo=Ki,So=Ye=>Ye instanceof Ki;function cs(Ye){return!!Ye&&(void 0!==Ye.asyncValidators||void 0!==Ye.validators||void 0!==Ye.updateOn)}let co=(()=>{class Ye{constructor(){this.useNonNullable=!1}get nonNullable(){const ke=new Ye;return ke.useNonNullable=!0,ke}group(ke,ut=null){const kt=this._reduceControls(ke);let $n={};return cs(ut)?$n=ut:null!==ut&&($n.validators=ut.validator,$n.asyncValidators=ut.asyncValidator),new sr(kt,$n)}record(ke,ut=null){const kt=this._reduceControls(ke);return new Rn(kt,ut)}control(ke,ut,kt){let $n={};return this.useNonNullable?(cs(ut)?$n=ut:($n.validators=ut,$n.asyncValidators=kt),new Te(ke,{...$n,nonNullable:!0})):new Te(ke,ut,kt)}array(ke,ut,kt){const $n=ke.map(Vn=>this._createControl(Vn));return new Ki($n,ut,kt)}_reduceControls(ke){const ut={};return Object.keys(ke).forEach(kt=>{ut[kt]=this._createControl(ke[kt])}),ut}_createControl(ke){return ke instanceof Te||ke instanceof Br?ke:Array.isArray(ke)?this.control(ke[0],ke.length>1?ke[1]:null,ke.length>2?ke[2]:null):this.control(ke)}static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),Fo=(()=>{class Ye{static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:()=>(0,n.inject)(co).nonNullable,providedIn:"root"})}return Ye})(),Do=(()=>{class Ye extends co{group(ke,ut=null){return super.group(ke,ut)}control(ke,ut,kt){return super.control(ke,ut,kt)}array(ke,ut,kt){return super.array(ke,ut,kt)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(Ye)))(kt||Ye)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})();const Ko=new n.Version("17.2.3");let hs=(()=>{class Ye{static withConfig(ke){return{ngModule:Ye,providers:[{provide:Sr,useValue:ke.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return Ye})(),Qo=(()=>{class Ye{static withConfig(ke){return{ngModule:Ye,providers:[{provide:Pn,useValue:ke.warnOnNgModelWithFormControl??"always"},{provide:Sr,useValue:ke.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(ut){return new(ut||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return Ye})()},44556:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cs,NoopAnimationsModule:()=>io,provideAnimations:()=>os,provideNoopAnimations:()=>fs,\u0275InjectableAnimationEngine:()=>Zi});var n=o(54496),i=o(14476),d=function(Je){return Je[Je.State=0]="State",Je[Je.Transition=1]="Transition",Je[Je.Sequence=2]="Sequence",Je[Je.Group=3]="Group",Je[Je.Animate=4]="Animate",Je[Je.Keyframes=5]="Keyframes",Je[Je.Style=6]="Style",Je[Je.Trigger=7]="Trigger",Je[Je.Reference=8]="Reference",Je[Je.AnimateChild=9]="AnimateChild",Je[Je.AnimateRef=10]="AnimateRef",Je[Je.Query=11]="Query",Je[Je.Stagger=12]="Stagger",Je}(d||{});const u="*";function g(Je){return{type:d.Style,styles:Je,offset:null}}class x{constructor(oe=0,pe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=oe+pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const pe="start"==oe?this._onStartFns:this._onDoneFns;pe.forEach(Le=>Le()),pe.length=0}}class V{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let pe=0,Le=0,Ze=0;const Dt=this.players.length;0==Dt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Rt=>{Rt.onDone(()=>{++pe==Dt&&this._onFinish()}),Rt.onDestroy(()=>{++Le==Dt&&this._onDestroy()}),Rt.onStart(()=>{++Ze==Dt&&this._onStart()})}),this.totalTime=this.players.reduce((Rt,Ut)=>Math.max(Rt,Ut.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const pe=oe*this.totalTime;this.players.forEach(Le=>{const Ze=Le.totalTime?Math.min(1,pe/Le.totalTime):1;Le.setPosition(Ze)})}getPosition(){const oe=this.players.reduce((pe,Le)=>null===pe||Le.totalTime>pe.totalTime?Le:pe,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const pe="start"==oe?this._onStartFns:this._onDoneFns;pe.forEach(Le=>Le()),pe.length=0}}function X(Je){return new n.\u0275RuntimeError(3e3,!1)}function Ge(Je){switch(Je.length){case 0:return new x;case 1:return Je[0];default:return new V(Je)}}function je(Je,oe,pe=new Map,Le=new Map){const Ze=[],Dt=[];let Rt=-1,Ut=null;if(oe.forEach(zt=>{const bn=zt.get("offset"),Wn=bn==Rt,Kn=Wn&&Ut||new Map;zt.forEach(($r,fr)=>{let tr=fr,vr=$r;if("offset"!==fr)switch(tr=Je.normalizePropertyName(tr,Ze),vr){case"!":vr=pe.get(fr);break;case u:vr=Le.get(fr);break;default:vr=Je.normalizeStyleValue(fr,tr,vr,Ze)}Kn.set(tr,vr)}),Wn||Dt.push(Kn),Ut=Kn,Rt=bn}),Ze.length)throw function Wt(Je){return new n.\u0275RuntimeError(3502,!1)}();return Dt}function ht(Je,oe,pe,Le){switch(oe){case"start":Je.onStart(()=>Le(pe&&He(pe,"start",Je)));break;case"done":Je.onDone(()=>Le(pe&&He(pe,"done",Je)));break;case"destroy":Je.onDestroy(()=>Le(pe&&He(pe,"destroy",Je)))}}function He(Je,oe,pe){const Dt=_t(Je.element,Je.triggerName,Je.fromState,Je.toState,oe||Je.phaseName,pe.totalTime??Je.totalTime,!!pe.disabled),Rt=Je._data;return null!=Rt&&(Dt._data=Rt),Dt}function _t(Je,oe,pe,Le,Ze="",Dt=0,Rt){return{element:Je,triggerName:oe,fromState:pe,toState:Le,phaseName:Ze,totalTime:Dt,disabled:!!Rt}}function lt(Je,oe,pe){let Le=Je.get(oe);return Le||Je.set(oe,Le=pe),Le}function Et(Je){const oe=Je.indexOf(":");return[Je.substring(1,oe),Je.slice(oe+1)]}const it=typeof document>"u"?null:document.documentElement;function Yt(Je){const oe=Je.parentNode||Je.host||null;return oe===it?null:oe}let Tt=null,Ht=!1;function Ct(Je,oe){for(;oe;){if(oe===Je)return!0;oe=Yt(oe)}return!1}function It(Je,oe,pe){if(pe)return Array.from(Je.querySelectorAll(oe));const Le=Je.querySelector(oe);return Le?[Le]:[]}let yn=(()=>{class Je{validateStyleProperty(pe){return function Zt(Je){Tt||(Tt=function $t(){return typeof document<"u"?document.body:null}()||{},Ht=!!Tt.style&&"WebkitAppearance"in Tt.style);let oe=!0;return Tt.style&&!function gt(Je){return"ebkit"==Je.substring(1,6)}(Je)&&(oe=Je in Tt.style,!oe&&Ht&&(oe="Webkit"+Je.charAt(0).toUpperCase()+Je.slice(1)in Tt.style)),oe}(pe)}matchesElement(pe,Le){return!1}containsElement(pe,Le){return Ct(pe,Le)}getParentElement(pe){return Yt(pe)}query(pe,Le,Ze){return It(pe,Le,Ze)}computeStyle(pe,Le,Ze){return Ze||""}animate(pe,Le,Ze,Dt,Rt,Ut=[],zt){return new x(Ze,Dt)}static#e=this.\u0275fac=function(Le){return new(Le||Je)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}return Je})();class Tn{static#e=this.NOOP=new yn}class nn{}const kr=1e3,Mr="ng-enter",yr="ng-leave",qn="ng-trigger",Rn=".ng-trigger",oi="ng-animating",Sr=".ng-animating";function pr(Je){if("number"==typeof Je)return Je;const oe=Je.match(/^(-?[\.\d]+)(m?s)/);return!oe||oe.length<2?0:Jn(parseFloat(oe[1]),oe[2])}function Jn(Je,oe){return"s"===oe?Je*kr:Je}function er(Je,oe,pe){return Je.hasOwnProperty("duration")?Je:function Or(Je,oe,pe){let Ze,Dt=0,Rt="";if("string"==typeof Je){const Ut=Je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ut)return oe.push(X()),{duration:0,delay:0,easing:""};Ze=Jn(parseFloat(Ut[1]),Ut[2]);const zt=Ut[3];null!=zt&&(Dt=Jn(parseFloat(zt),Ut[4]));const bn=Ut[5];bn&&(Rt=bn)}else Ze=Je;if(!pe){let Ut=!1,zt=oe.length;Ze<0&&(oe.push(function ce(){return new n.\u0275RuntimeError(3100,!1)}()),Ut=!0),Dt<0&&(oe.push(function Q(){return new n.\u0275RuntimeError(3101,!1)}()),Ut=!0),Ut&&oe.splice(zt,0,X())}return{duration:Ze,delay:Dt,easing:Rt}}(Je,oe,pe)}function jn(Je,oe,pe){oe.forEach((Le,Ze)=>{const Dt=rn(Ze);pe&&!pe.has(Ze)&&pe.set(Ze,Je.style[Dt]),Je.style[Dt]=Le})}function Qn(Je,oe){oe.forEach((pe,Le)=>{const Ze=rn(Le);Je.style[Ze]=""})}function or(Je){return Array.isArray(Je)?1==Je.length?Je[0]:function l(Je,oe=null){return{type:d.Sequence,steps:Je,options:oe}}(Je):Je}const Ir=new RegExp("{{\\s*(.+?)\\s*}}","g");function at(Je){let oe=[];if("string"==typeof Je){let pe;for(;pe=Ir.exec(Je);)oe.push(pe[1]);Ir.lastIndex=0}return oe}function Ot(Je,oe,pe){const Le=`${Je}`,Ze=Le.replace(Ir,(Dt,Rt)=>{let Ut=oe[Rt];return null==Ut&&(pe.push(function Y(Je){return new n.\u0275RuntimeError(3003,!1)}()),Ut=""),Ut.toString()});return Ze==Le?Je:Ze}const Pt=/-+([a-z0-9])/g;function rn(Je){return Je.replace(Pt,(...oe)=>oe[1].toUpperCase())}function Xn(Je,oe,pe){switch(oe.type){case d.Trigger:return Je.visitTrigger(oe,pe);case d.State:return Je.visitState(oe,pe);case d.Transition:return Je.visitTransition(oe,pe);case d.Sequence:return Je.visitSequence(oe,pe);case d.Group:return Je.visitGroup(oe,pe);case d.Animate:return Je.visitAnimate(oe,pe);case d.Keyframes:return Je.visitKeyframes(oe,pe);case d.Style:return Je.visitStyle(oe,pe);case d.Reference:return Je.visitReference(oe,pe);case d.AnimateChild:return Je.visitAnimateChild(oe,pe);case d.AnimateRef:return Je.visitAnimateRef(oe,pe);case d.Query:return Je.visitQuery(oe,pe);case d.Stagger:return Je.visitStagger(oe,pe);default:throw function H(Je){return new n.\u0275RuntimeError(3004,!1)}()}}function Yn(Je,oe){return window.getComputedStyle(Je)[oe]}const Tr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Er extends nn{normalizePropertyName(oe,pe){return rn(oe)}normalizeStyleValue(oe,pe,Le,Ze){let Dt="";const Rt=Le.toString().trim();if(Tr.has(pe)&&0!==Le&&"0"!==Le)if("number"==typeof Le)Dt="px";else{const Ut=Le.match(/^[+-]?[\d\.]+([a-z]*)$/);Ut&&0==Ut[1].length&&Ze.push(function ae(Je,oe){return new n.\u0275RuntimeError(3005,!1)}())}return Rt+Dt}}const de="*";const Ae=new Set(["true","1"]),et=new Set(["false","0"]);function pt(Je,oe){const pe=Ae.has(Je)||et.has(Je),Le=Ae.has(oe)||et.has(oe);return(Ze,Dt)=>{let Rt=Je==de||Je==Ze,Ut=oe==de||oe==Dt;return!Rt&&pe&&"boolean"==typeof Ze&&(Rt=Ze?Ae.has(Je):et.has(Je)),!Ut&&Le&&"boolean"==typeof Dt&&(Ut=Dt?Ae.has(oe):et.has(oe)),Rt&&Ut}}const Nt=new RegExp("s*:selfs*,?","g");function Jt(Je,oe,pe,Le){return new _n(Je).build(oe,pe,Le)}class _n{constructor(oe){this._driver=oe}build(oe,pe,Le){const Ze=new Gt(pe);return this._resetContextStyleTimingState(Ze),Xn(this,or(oe),Ze)}_resetContextStyleTimingState(oe){oe.currentQuerySelector="",oe.collectedStyles=new Map,oe.collectedStyles.set("",new Map),oe.currentTime=0}visitTrigger(oe,pe){let Le=pe.queryCount=0,Ze=pe.depCount=0;const Dt=[],Rt=[];return"@"==oe.name.charAt(0)&&pe.errors.push(function J(){return new n.\u0275RuntimeError(3006,!1)}()),oe.definitions.forEach(Ut=>{if(this._resetContextStyleTimingState(pe),Ut.type==d.State){const zt=Ut,bn=zt.name;bn.toString().split(/\s*,\s*/).forEach(Wn=>{zt.name=Wn,Dt.push(this.visitState(zt,pe))}),zt.name=bn}else if(Ut.type==d.Transition){const zt=this.visitTransition(Ut,pe);Le+=zt.queryCount,Ze+=zt.depCount,Rt.push(zt)}else pe.errors.push(function K(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:d.Trigger,name:oe.name,states:Dt,transitions:Rt,queryCount:Le,depCount:Ze,options:null}}visitState(oe,pe){const Le=this.visitStyle(oe.styles,pe),Ze=oe.options&&oe.options.params||null;if(Le.containsDynamicStyles){const Dt=new Set,Rt=Ze||{};Le.styles.forEach(Ut=>{Ut instanceof Map&&Ut.forEach(zt=>{at(zt).forEach(bn=>{Rt.hasOwnProperty(bn)||Dt.add(bn)})})}),Dt.size&&pe.errors.push(function W(Je,oe){return new n.\u0275RuntimeError(3008,!1)}(0,Dt.values()))}return{type:d.State,name:oe.name,style:Le,options:Ze?{params:Ze}:null}}visitTransition(oe,pe){pe.queryCount=0,pe.depCount=0;const Le=Xn(this,or(oe.animation),pe),Ze=function Fe(Je,oe){const pe=[];return"string"==typeof Je?Je.split(/\s*,\s*/).forEach(Le=>function Te(Je,oe,pe){if(":"==Je[0]){const zt=function me(Je,oe){switch(Je){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(pe,Le)=>parseFloat(Le)>parseFloat(pe);case":decrement":return(pe,Le)=>parseFloat(Le) *"}}(Je,pe);if("function"==typeof zt)return void oe.push(zt);Je=zt}const Le=Je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Le||Le.length<4)return pe.push(function qe(Je){return new n.\u0275RuntimeError(3015,!1)}()),oe;const Ze=Le[1],Dt=Le[2],Rt=Le[3];oe.push(pt(Ze,Rt)),"<"==Dt[0]&&(Ze!=de||Rt!=de)&&oe.push(pt(Rt,Ze))}(Le,pe,oe)):pe.push(Je),pe}(oe.expr,pe.errors);return{type:d.Transition,matchers:Ze,animation:Le,queryCount:pe.queryCount,depCount:pe.depCount,options:cr(oe.options)}}visitSequence(oe,pe){return{type:d.Sequence,steps:oe.steps.map(Le=>Xn(this,Le,pe)),options:cr(oe.options)}}visitGroup(oe,pe){const Le=pe.currentTime;let Ze=0;const Dt=oe.steps.map(Rt=>{pe.currentTime=Le;const Ut=Xn(this,Rt,pe);return Ze=Math.max(Ze,pe.currentTime),Ut});return pe.currentTime=Ze,{type:d.Group,steps:Dt,options:cr(oe.options)}}visitAnimate(oe,pe){const Le=function lr(Je,oe){if(Je.hasOwnProperty("duration"))return Je;if("number"==typeof Je)return Nr(er(Je,oe).duration,0,"");const pe=Je;if(pe.split(/\s+/).some(Dt=>"{"==Dt.charAt(0)&&"{"==Dt.charAt(1))){const Dt=Nr(0,0,"");return Dt.dynamic=!0,Dt.strValue=pe,Dt}const Ze=er(pe,oe);return Nr(Ze.duration,Ze.delay,Ze.easing)}(oe.timings,pe.errors);pe.currentAnimateTimings=Le;let Ze,Dt=oe.styles?oe.styles:g({});if(Dt.type==d.Keyframes)Ze=this.visitKeyframes(Dt,pe);else{let Rt=oe.styles,Ut=!1;if(!Rt){Ut=!0;const bn={};Le.easing&&(bn.easing=Le.easing),Rt=g(bn)}pe.currentTime+=Le.duration+Le.delay;const zt=this.visitStyle(Rt,pe);zt.isEmptyStep=Ut,Ze=zt}return pe.currentAnimateTimings=null,{type:d.Animate,timings:Le,style:Ze,options:null}}visitStyle(oe,pe){const Le=this._makeStyleAst(oe,pe);return this._validateStyleAst(Le,pe),Le}_makeStyleAst(oe,pe){const Le=[],Ze=Array.isArray(oe.styles)?oe.styles:[oe.styles];for(let Ut of Ze)"string"==typeof Ut?Ut===u?Le.push(Ut):pe.errors.push(new n.\u0275RuntimeError(3002,!1)):Le.push(new Map(Object.entries(Ut)));let Dt=!1,Rt=null;return Le.forEach(Ut=>{if(Ut instanceof Map&&(Ut.has("easing")&&(Rt=Ut.get("easing"),Ut.delete("easing")),!Dt))for(let zt of Ut.values())if(zt.toString().indexOf("{{")>=0){Dt=!0;break}}),{type:d.Style,styles:Le,easing:Rt,offset:oe.offset,containsDynamicStyles:Dt,options:null}}_validateStyleAst(oe,pe){const Le=pe.currentAnimateTimings;let Ze=pe.currentTime,Dt=pe.currentTime;Le&&Dt>0&&(Dt-=Le.duration+Le.delay),oe.styles.forEach(Rt=>{"string"!=typeof Rt&&Rt.forEach((Ut,zt)=>{const bn=pe.collectedStyles.get(pe.currentQuerySelector),Wn=bn.get(zt);let Kn=!0;Wn&&(Dt!=Ze&&Dt>=Wn.startTime&&Ze<=Wn.endTime&&(pe.errors.push(function ue(Je,oe,pe,Le,Ze){return new n.\u0275RuntimeError(3010,!1)}()),Kn=!1),Dt=Wn.startTime),Kn&&bn.set(zt,{startTime:Dt,endTime:Ze}),pe.options&&function ui(Je,oe,pe){const Le=oe.params||{},Ze=at(Je);Ze.length&&Ze.forEach(Dt=>{Le.hasOwnProperty(Dt)||pe.push(function ne(Je){return new n.\u0275RuntimeError(3001,!1)}())})}(Ut,pe.options,pe.errors)})})}visitKeyframes(oe,pe){const Le={type:d.Keyframes,styles:[],options:null};if(!pe.currentAnimateTimings)return pe.errors.push(function ye(){return new n.\u0275RuntimeError(3011,!1)}()),Le;let Dt=0;const Rt=[];let Ut=!1,zt=!1,bn=0;const Wn=oe.steps.map(Ai=>{const ji=this._makeStyleAst(Ai,pe);let Ti=null!=ji.offset?ji.offset:function Nn(Je){if("string"==typeof Je)return null;let oe=null;if(Array.isArray(Je))Je.forEach(pe=>{if(pe instanceof Map&&pe.has("offset")){const Le=pe;oe=parseFloat(Le.get("offset")),Le.delete("offset")}});else if(Je instanceof Map&&Je.has("offset")){const pe=Je;oe=parseFloat(pe.get("offset")),pe.delete("offset")}return oe}(ji.styles),Ji=0;return null!=Ti&&(Dt++,Ji=ji.offset=Ti),zt=zt||Ji<0||Ji>1,Ut=Ut||Ji0&&Dt{const Ti=$r>0?ji==fr?1:$r*ji:Rt[ji],Ji=Ti*mi;pe.currentTime=tr+vr.delay+Ji,vr.duration=Ji,this._validateStyleAst(Ai,pe),Ai.offset=Ti,Le.styles.push(Ai)}),Le}visitReference(oe,pe){return{type:d.Reference,animation:Xn(this,or(oe.animation),pe),options:cr(oe.options)}}visitAnimateChild(oe,pe){return pe.depCount++,{type:d.AnimateChild,options:cr(oe.options)}}visitAnimateRef(oe,pe){return{type:d.AnimateRef,animation:this.visitReference(oe.animation,pe),options:cr(oe.options)}}visitQuery(oe,pe){const Le=pe.currentQuerySelector,Ze=oe.options||{};pe.queryCount++,pe.currentQuery=oe;const[Dt,Rt]=function Cn(Je){const oe=!!Je.split(/\s*,\s*/).find(pe=>":self"==pe);return oe&&(Je=Je.replace(Nt,"")),Je=Je.replace(/@\*/g,Rn).replace(/@\w+/g,pe=>Rn+"-"+pe.slice(1)).replace(/:animating/g,Sr),[Je,oe]}(oe.selector);pe.currentQuerySelector=Le.length?Le+" "+Dt:Dt,lt(pe.collectedStyles,pe.currentQuerySelector,new Map);const Ut=Xn(this,or(oe.animation),pe);return pe.currentQuery=null,pe.currentQuerySelector=Le,{type:d.Query,selector:Dt,limit:Ze.limit||0,optional:!!Ze.optional,includeSelf:Rt,animation:Ut,originalSelector:oe.selector,options:cr(oe.options)}}visitStagger(oe,pe){pe.currentQuery||pe.errors.push(function De(){return new n.\u0275RuntimeError(3013,!1)}());const Le="full"===oe.timings?{duration:0,delay:0,easing:"full"}:er(oe.timings,pe.errors,!0);return{type:d.Stagger,animation:Xn(this,or(oe.animation),pe),timings:Le,options:null}}}class Gt{constructor(oe){this.errors=oe,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function cr(Je){return Je?(Je={...Je}).params&&(Je.params=function fn(Je){return Je?{...Je}:null}(Je.params)):Je={},Je}function Nr(Je,oe,pe){return{duration:Je,delay:oe,easing:pe}}function Lr(Je,oe,pe,Le,Ze,Dt,Rt=null,Ut=!1){return{type:1,element:Je,keyframes:oe,preStyleProps:pe,postStyleProps:Le,duration:Ze,delay:Dt,totalTime:Ze+Dt,easing:Rt,subTimeline:Ut}}class ct{constructor(){this._map=new Map}get(oe){return this._map.get(oe)||[]}append(oe,pe){let Le=this._map.get(oe);Le||this._map.set(oe,Le=[]),Le.push(...pe)}has(oe){return this._map.has(oe)}clear(){this._map.clear()}}const _r=new RegExp(":enter","g"),Gn=new RegExp(":leave","g");function si(Je,oe,pe,Le,Ze,Dt=new Map,Rt=new Map,Ut,zt,bn=[]){return(new Pr).buildKeyframes(Je,oe,pe,Le,Ze,Dt,Rt,Ut,zt,bn)}class Pr{buildKeyframes(oe,pe,Le,Ze,Dt,Rt,Ut,zt,bn,Wn=[]){bn=bn||new ct;const Kn=new Fn(oe,pe,bn,Ze,Dt,Wn,[]);Kn.options=zt;const $r=zt.delay?pr(zt.delay):0;Kn.currentTimeline.delayNextStep($r),Kn.currentTimeline.setStyles([Rt],null,Kn.errors,zt),Xn(this,Le,Kn);const fr=Kn.timelines.filter(tr=>tr.containsAnimation());if(fr.length&&Ut.size){let tr;for(let vr=fr.length-1;vr>=0;vr--){const mi=fr[vr];if(mi.element===pe){tr=mi;break}}tr&&!tr.allowOnlyTimelineStyles()&&tr.setStyles([Ut],null,Kn.errors,zt)}return fr.length?fr.map(tr=>tr.buildKeyframes()):[Lr(pe,[],[],[],0,$r,"",!1)]}visitTrigger(oe,pe){}visitState(oe,pe){}visitTransition(oe,pe){}visitAnimateChild(oe,pe){const Le=pe.subInstructions.get(pe.element);if(Le){const Ze=pe.createSubContext(oe.options),Dt=pe.currentTimeline.currentTime,Rt=this._visitSubInstructions(Le,Ze,Ze.options);Dt!=Rt&&pe.transformIntoNewTimeline(Rt)}pe.previousNode=oe}visitAnimateRef(oe,pe){const Le=pe.createSubContext(oe.options);Le.transformIntoNewTimeline(),this._applyAnimationRefDelays([oe.options,oe.animation.options],pe,Le),this.visitReference(oe.animation,Le),pe.transformIntoNewTimeline(Le.currentTimeline.currentTime),pe.previousNode=oe}_applyAnimationRefDelays(oe,pe,Le){for(const Ze of oe){const Dt=Ze?.delay;if(Dt){const Rt="number"==typeof Dt?Dt:pr(Ot(Dt,Ze?.params??{},pe.errors));Le.delayNextStep(Rt)}}}_visitSubInstructions(oe,pe,Le){let Dt=pe.currentTimeline.currentTime;const Rt=null!=Le.duration?pr(Le.duration):null,Ut=null!=Le.delay?pr(Le.delay):null;return 0!==Rt&&oe.forEach(zt=>{const bn=pe.appendInstructionToTimeline(zt,Rt,Ut);Dt=Math.max(Dt,bn.duration+bn.delay)}),Dt}visitReference(oe,pe){pe.updateOptions(oe.options,!0),Xn(this,oe.animation,pe),pe.previousNode=oe}visitSequence(oe,pe){const Le=pe.subContextCount;let Ze=pe;const Dt=oe.options;if(Dt&&(Dt.params||Dt.delay)&&(Ze=pe.createSubContext(Dt),Ze.transformIntoNewTimeline(),null!=Dt.delay)){Ze.previousNode.type==d.Style&&(Ze.currentTimeline.snapshotCurrentStyles(),Ze.previousNode=ai);const Rt=pr(Dt.delay);Ze.delayNextStep(Rt)}oe.steps.length&&(oe.steps.forEach(Rt=>Xn(this,Rt,Ze)),Ze.currentTimeline.applyStylesToKeyframe(),Ze.subContextCount>Le&&Ze.transformIntoNewTimeline()),pe.previousNode=oe}visitGroup(oe,pe){const Le=[];let Ze=pe.currentTimeline.currentTime;const Dt=oe.options&&oe.options.delay?pr(oe.options.delay):0;oe.steps.forEach(Rt=>{const Ut=pe.createSubContext(oe.options);Dt&&Ut.delayNextStep(Dt),Xn(this,Rt,Ut),Ze=Math.max(Ze,Ut.currentTimeline.currentTime),Le.push(Ut.currentTimeline)}),Le.forEach(Rt=>pe.currentTimeline.mergeTimelineCollectedStyles(Rt)),pe.transformIntoNewTimeline(Ze),pe.previousNode=oe}_visitTiming(oe,pe){if(oe.dynamic){const Le=oe.strValue;return er(pe.params?Ot(Le,pe.params,pe.errors):Le,pe.errors)}return{duration:oe.duration,delay:oe.delay,easing:oe.easing}}visitAnimate(oe,pe){const Le=pe.currentAnimateTimings=this._visitTiming(oe.timings,pe),Ze=pe.currentTimeline;Le.delay&&(pe.incrementTime(Le.delay),Ze.snapshotCurrentStyles());const Dt=oe.style;Dt.type==d.Keyframes?this.visitKeyframes(Dt,pe):(pe.incrementTime(Le.duration),this.visitStyle(Dt,pe),Ze.applyStylesToKeyframe()),pe.currentAnimateTimings=null,pe.previousNode=oe}visitStyle(oe,pe){const Le=pe.currentTimeline,Ze=pe.currentAnimateTimings;!Ze&&Le.hasCurrentStyleProperties()&&Le.forwardFrame();const Dt=Ze&&Ze.easing||oe.easing;oe.isEmptyStep?Le.applyEmptyStep(Dt):Le.setStyles(oe.styles,Dt,pe.errors,pe.options),pe.previousNode=oe}visitKeyframes(oe,pe){const Le=pe.currentAnimateTimings,Ze=pe.currentTimeline.duration,Dt=Le.duration,Ut=pe.createSubContext().currentTimeline;Ut.easing=Le.easing,oe.styles.forEach(zt=>{Ut.forwardTime((zt.offset||0)*Dt),Ut.setStyles(zt.styles,zt.easing,pe.errors,pe.options),Ut.applyStylesToKeyframe()}),pe.currentTimeline.mergeTimelineCollectedStyles(Ut),pe.transformIntoNewTimeline(Ze+Dt),pe.previousNode=oe}visitQuery(oe,pe){const Le=pe.currentTimeline.currentTime,Ze=oe.options||{},Dt=Ze.delay?pr(Ze.delay):0;Dt&&(pe.previousNode.type===d.Style||0==Le&&pe.currentTimeline.hasCurrentStyleProperties())&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=ai);let Rt=Le;const Ut=pe.invokeQuery(oe.selector,oe.originalSelector,oe.limit,oe.includeSelf,!!Ze.optional,pe.errors);pe.currentQueryTotal=Ut.length;let zt=null;Ut.forEach((bn,Wn)=>{pe.currentQueryIndex=Wn;const Kn=pe.createSubContext(oe.options,bn);Dt&&Kn.delayNextStep(Dt),bn===pe.element&&(zt=Kn.currentTimeline),Xn(this,oe.animation,Kn),Kn.currentTimeline.applyStylesToKeyframe(),Rt=Math.max(Rt,Kn.currentTimeline.currentTime)}),pe.currentQueryIndex=0,pe.currentQueryTotal=0,pe.transformIntoNewTimeline(Rt),zt&&(pe.currentTimeline.mergeTimelineCollectedStyles(zt),pe.currentTimeline.snapshotCurrentStyles()),pe.previousNode=oe}visitStagger(oe,pe){const Le=pe.parentContext,Ze=pe.currentTimeline,Dt=oe.timings,Rt=Math.abs(Dt.duration),Ut=Rt*(pe.currentQueryTotal-1);let zt=Rt*pe.currentQueryIndex;switch(Dt.duration<0?"reverse":Dt.easing){case"reverse":zt=Ut-zt;break;case"full":zt=Le.currentStaggerTime}const Wn=pe.currentTimeline;zt&&Wn.delayNextStep(zt);const Kn=Wn.currentTime;Xn(this,oe.animation,pe),pe.previousNode=oe,Le.currentStaggerTime=Ze.currentTime-Kn+(Ze.startTime-Le.currentTimeline.startTime)}}const ai={};class Fn{constructor(oe,pe,Le,Ze,Dt,Rt,Ut,zt){this._driver=oe,this.element=pe,this.subInstructions=Le,this._enterClassName=Ze,this._leaveClassName=Dt,this.errors=Rt,this.timelines=Ut,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ai,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=zt||new ti(this._driver,pe,0),Ut.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(oe,pe){if(!oe)return;const Le=oe;let Ze=this.options;null!=Le.duration&&(Ze.duration=pr(Le.duration)),null!=Le.delay&&(Ze.delay=pr(Le.delay));const Dt=Le.params;if(Dt){let Rt=Ze.params;Rt||(Rt=this.options.params={}),Object.keys(Dt).forEach(Ut=>{(!pe||!Rt.hasOwnProperty(Ut))&&(Rt[Ut]=Ot(Dt[Ut],Rt,this.errors))})}}_copyOptions(){const oe={};if(this.options){const pe=this.options.params;if(pe){const Le=oe.params={};Object.keys(pe).forEach(Ze=>{Le[Ze]=pe[Ze]})}}return oe}createSubContext(oe=null,pe,Le){const Ze=pe||this.element,Dt=new Fn(this._driver,Ze,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ze,Le||0));return Dt.previousNode=this.previousNode,Dt.currentAnimateTimings=this.currentAnimateTimings,Dt.options=this._copyOptions(),Dt.updateOptions(oe),Dt.currentQueryIndex=this.currentQueryIndex,Dt.currentQueryTotal=this.currentQueryTotal,Dt.parentContext=this,this.subContextCount++,Dt}transformIntoNewTimeline(oe){return this.previousNode=ai,this.currentTimeline=this.currentTimeline.fork(this.element,oe),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(oe,pe,Le){const Ze={duration:pe??oe.duration,delay:this.currentTimeline.currentTime+(Le??0)+oe.delay,easing:""},Dt=new Xr(this._driver,oe.element,oe.keyframes,oe.preStyleProps,oe.postStyleProps,Ze,oe.stretchStartingKeyframe);return this.timelines.push(Dt),Ze}incrementTime(oe){this.currentTimeline.forwardTime(this.currentTimeline.duration+oe)}delayNextStep(oe){oe>0&&this.currentTimeline.delayNextStep(oe)}invokeQuery(oe,pe,Le,Ze,Dt,Rt){let Ut=[];if(Ze&&Ut.push(this.element),oe.length>0){oe=(oe=oe.replace(_r,"."+this._enterClassName)).replace(Gn,"."+this._leaveClassName);let bn=this._driver.query(this.element,oe,1!=Le);0!==Le&&(bn=Le<0?bn.slice(bn.length+Le,bn.length):bn.slice(0,Le)),Ut.push(...bn)}return!Dt&&0==Ut.length&&Rt.push(function ze(Je){return new n.\u0275RuntimeError(3014,!1)}()),Ut}}class ti{constructor(oe,pe,Le,Ze){this._driver=oe,this.element=pe,this.startTime=Le,this._elementTimelineStylesLookup=Ze,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(pe),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(pe,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(oe){const pe=1===this._keyframes.size&&this._pendingStyles.size;this.duration||pe?(this.forwardTime(this.currentTime+oe),pe&&this.snapshotCurrentStyles()):this.startTime+=oe}fork(oe,pe){return this.applyStylesToKeyframe(),new ti(this._driver,oe,pe||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(oe){this.applyStylesToKeyframe(),this.duration=oe,this._loadKeyframe()}_updateStyle(oe,pe){this._localTimelineStyles.set(oe,pe),this._globalTimelineStyles.set(oe,pe),this._styleSummary.set(oe,{time:this.currentTime,value:pe})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(oe){oe&&this._previousKeyframe.set("easing",oe);for(let[pe,Le]of this._globalTimelineStyles)this._backFill.set(pe,Le||u),this._currentKeyframe.set(pe,u);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(oe,pe,Le,Ze){pe&&this._previousKeyframe.set("easing",pe);const Dt=Ze&&Ze.params||{},Rt=function Vi(Je,oe){const pe=new Map;let Le;return Je.forEach(Ze=>{if("*"===Ze){Le??=oe.keys();for(let Dt of Le)pe.set(Dt,u)}else for(let[Dt,Rt]of Ze)pe.set(Dt,Rt)}),pe}(oe,this._globalTimelineStyles);for(let[Ut,zt]of Rt){const bn=Ot(zt,Dt,Le);this._pendingStyles.set(Ut,bn),this._localTimelineStyles.has(Ut)||this._backFill.set(Ut,this._globalTimelineStyles.get(Ut)??u),this._updateStyle(Ut,bn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((oe,pe)=>{this._currentKeyframe.set(pe,oe)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((oe,pe)=>{this._currentKeyframe.has(pe)||this._currentKeyframe.set(pe,oe)}))}snapshotCurrentStyles(){for(let[oe,pe]of this._localTimelineStyles)this._pendingStyles.set(oe,pe),this._updateStyle(oe,pe)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const oe=[];for(let pe in this._currentKeyframe)oe.push(pe);return oe}mergeTimelineCollectedStyles(oe){oe._styleSummary.forEach((pe,Le)=>{const Ze=this._styleSummary.get(Le);(!Ze||pe.time>Ze.time)&&this._updateStyle(Le,pe.value)})}buildKeyframes(){this.applyStylesToKeyframe();const oe=new Set,pe=new Set,Le=1===this._keyframes.size&&0===this.duration;let Ze=[];this._keyframes.forEach((Ut,zt)=>{const bn=new Map([...this._backFill,...Ut]);bn.forEach((Wn,Kn)=>{"!"===Wn?oe.add(Kn):Wn===u&&pe.add(Kn)}),Le||bn.set("offset",zt/this.duration),Ze.push(bn)});const Dt=[...oe.values()],Rt=[...pe.values()];if(Le){const Ut=Ze[0],zt=new Map(Ut);Ut.set("offset",0),zt.set("offset",1),Ze=[Ut,zt]}return Lr(this.element,Ze,Dt,Rt,this.duration,this.startTime,this.easing,!1)}}class Xr extends ti{constructor(oe,pe,Le,Ze,Dt,Rt,Ut=!1){super(oe,pe,Rt.delay),this.keyframes=Le,this.preStyleProps=Ze,this.postStyleProps=Dt,this._stretchStartingKeyframe=Ut,this.timings={duration:Rt.duration,delay:Rt.delay,easing:Rt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let oe=this.keyframes,{delay:pe,duration:Le,easing:Ze}=this.timings;if(this._stretchStartingKeyframe&&pe){const Dt=[],Rt=Le+pe,Ut=pe/Rt,zt=new Map(oe[0]);zt.set("offset",0),Dt.push(zt);const bn=new Map(oe[0]);bn.set("offset",Zr(Ut)),Dt.push(bn);const Wn=oe.length-1;for(let Kn=1;Kn<=Wn;Kn++){let $r=new Map(oe[Kn]);const fr=$r.get("offset");$r.set("offset",Zr((pe+fr*Le)/Rt)),Dt.push($r)}Le=Rt,pe=0,Ze="",oe=Dt}return Lr(this.element,oe,this.preStyleProps,this.postStyleProps,Le,pe,Ze,!0)}}function Zr(Je,oe=3){const pe=Math.pow(10,oe-1);return Math.round(Je*pe)/pe}function hr(Je,oe,pe,Le,Ze,Dt,Rt,Ut,zt,bn,Wn,Kn,$r){return{type:0,element:Je,triggerName:oe,isRemovalTransition:Ze,fromState:pe,fromStyles:Dt,toState:Le,toStyles:Rt,timelines:Ut,queriedElements:zt,preStyleProps:bn,postStyleProps:Wn,totalTime:Kn,errors:$r}}const Yi={};class ko{constructor(oe,pe,Le){this._triggerName=oe,this.ast=pe,this._stateStyles=Le}match(oe,pe,Le,Ze){return function Jr(Je,oe,pe,Le,Ze){return Je.some(Dt=>Dt(oe,pe,Le,Ze))}(this.ast.matchers,oe,pe,Le,Ze)}buildStyles(oe,pe,Le){let Ze=this._stateStyles.get("*");return void 0!==oe&&(Ze=this._stateStyles.get(oe?.toString())||Ze),Ze?Ze.buildStyles(pe,Le):new Map}build(oe,pe,Le,Ze,Dt,Rt,Ut,zt,bn,Wn){const Kn=[],$r=this.ast.options&&this.ast.options.params||Yi,tr=this.buildStyles(Le,Ut&&Ut.params||Yi,Kn),vr=zt&&zt.params||Yi,mi=this.buildStyles(Ze,vr,Kn),Ai=new Set,ji=new Map,Ti=new Map,Ji="void"===Ze,Sn={params:zi(vr,$r),delay:this.ast.options?.delay},wr=Wn?[]:si(oe,pe,this.ast.animation,Dt,Rt,tr,mi,Sn,bn,Kn);let Qi=0;return wr.forEach(Pi=>{Qi=Math.max(Pi.duration+Pi.delay,Qi)}),Kn.length?hr(pe,this._triggerName,Le,Ze,Ji,tr,mi,[],[],ji,Ti,Qi,Kn):(wr.forEach(Pi=>{const ei=Pi.element,oo=lt(ji,ei,new Set);Pi.preStyleProps.forEach(ot=>oo.add(ot));const Be=lt(Ti,ei,new Set);Pi.postStyleProps.forEach(ot=>Be.add(ot)),ei!==pe&&Ai.add(ei)}),hr(pe,this._triggerName,Le,Ze,Ji,tr,mi,wr,[...Ai.values()],ji,Ti,Qi))}}function zi(Je,oe){const pe={...oe};return Object.entries(Je).forEach(([Le,Ze])=>{null!=Ze&&(pe[Le]=Ze)}),pe}class qi{constructor(oe,pe,Le){this.styles=oe,this.defaultParams=pe,this.normalizer=Le}buildStyles(oe,pe){const Le=new Map,Ze=zi(oe,this.defaultParams);return this.styles.styles.forEach(Dt=>{"string"!=typeof Dt&&Dt.forEach((Rt,Ut)=>{Rt&&(Rt=Ot(Rt,Ze,pe));const zt=this.normalizer.normalizePropertyName(Ut,pe);Rt=this.normalizer.normalizeStyleValue(Ut,zt,Rt,pe),Le.set(Ut,Rt)})}),Le}}class Rr{constructor(oe,pe,Le){this.name=oe,this.ast=pe,this._normalizer=Le,this.transitionFactories=[],this.states=new Map,pe.states.forEach(Ze=>{this.states.set(Ze.name,new qi(Ze.style,Ze.options&&Ze.options.params||{},Le))}),_i(this.states,"true","1"),_i(this.states,"false","0"),pe.transitions.forEach(Ze=>{this.transitionFactories.push(new ko(oe,Ze,this.states))}),this.fallbackTransition=function mo(Je,oe,pe){return new ko(Je,{type:d.Transition,animation:{type:d.Sequence,steps:[],options:null},matchers:[(Rt,Ut)=>!0],options:null,queryCount:0,depCount:0},oe)}(oe,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(oe,pe,Le,Ze){return this.transitionFactories.find(Rt=>Rt.match(oe,pe,Le,Ze))||null}matchStyles(oe,pe,Le){return this.fallbackTransition.buildStyles(oe,pe,Le)}}function _i(Je,oe,pe){Je.has(oe)?Je.has(pe)||Je.set(pe,Je.get(oe)):Je.has(pe)&&Je.set(oe,Je.get(pe))}const xi=new ct;class qr{constructor(oe,pe,Le){this.bodyNode=oe,this._driver=pe,this._normalizer=Le,this._animations=new Map,this._playersById=new Map,this.players=[]}register(oe,pe){const Le=[],Dt=Jt(this._driver,pe,Le,[]);if(Le.length)throw function bt(Je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(oe,Dt)}_buildPlayer(oe,pe,Le){const Ze=oe.element,Dt=je(this._normalizer,oe.keyframes,pe,Le);return this._driver.animate(Ze,Dt,oe.duration,oe.delay,oe.easing,[],!0)}create(oe,pe,Le={}){const Ze=[],Dt=this._animations.get(oe);let Rt;const Ut=new Map;if(Dt?(Rt=si(this._driver,pe,Dt,Mr,yr,new Map,new Map,Le,xi,Ze),Rt.forEach(Wn=>{const Kn=lt(Ut,Wn.element,new Map);Wn.postStyleProps.forEach($r=>Kn.set($r,null))})):(Ze.push(function Bt(){return new n.\u0275RuntimeError(3300,!1)}()),Rt=[]),Ze.length)throw function an(Je){return new n.\u0275RuntimeError(3504,!1)}();Ut.forEach((Wn,Kn)=>{Wn.forEach(($r,fr)=>{Wn.set(fr,this._driver.computeStyle(Kn,fr,u))})});const bn=Ge(Rt.map(Wn=>{const Kn=Ut.get(Wn.element);return this._buildPlayer(Wn,new Map,Kn)}));return this._playersById.set(oe,bn),bn.onDestroy(()=>this.destroy(oe)),this.players.push(bn),bn}destroy(oe){const pe=this._getPlayer(oe);pe.destroy(),this._playersById.delete(oe);const Le=this.players.indexOf(pe);Le>=0&&this.players.splice(Le,1)}_getPlayer(oe){const pe=this._playersById.get(oe);if(!pe)throw function hn(Je){return new n.\u0275RuntimeError(3301,!1)}();return pe}listen(oe,pe,Le,Ze){const Dt=_t(pe,"","","");return ht(this._getPlayer(oe),Le,Dt,Ze),()=>{}}command(oe,pe,Le,Ze){if("register"==Le)return void this.register(oe,Ze[0]);if("create"==Le)return void this.create(oe,pe,Ze[0]||{});const Dt=this._getPlayer(oe);switch(Le){case"play":Dt.play();break;case"pause":Dt.pause();break;case"reset":Dt.reset();break;case"restart":Dt.restart();break;case"finish":Dt.finish();break;case"init":Dt.init();break;case"setPosition":Dt.setPosition(parseFloat(Ze[0]));break;case"destroy":this.destroy(oe)}}}const ar="ng-animate-queued",wi="ng-animate-disabled",zr=[],yo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ni={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gr="__ng_removed";class Lo{get params(){return this.options.params}constructor(oe,pe=""){this.namespaceId=pe;const Le=oe&&oe.hasOwnProperty("value");if(this.value=function Ro(Je){return Je??null}(Le?oe.value:oe),Le){const{value:Dt,...Rt}=oe;this.options=Rt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(oe){const pe=oe.params;if(pe){const Le=this.options.params;Object.keys(pe).forEach(Ze=>{null==Le[Ze]&&(Le[Ze]=pe[Ze])})}}}const Oi="void",Xi=new Lo(Oi);class Li{constructor(oe,pe,Le){this.id=oe,this.hostElement=pe,this._engine=Le,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+oe,Ki(pe,this._hostClassName)}listen(oe,pe,Le,Ze){if(!this._triggers.has(pe))throw function wn(Je,oe){return new n.\u0275RuntimeError(3302,!1)}();if(null==Le||0==Le.length)throw function An(Je){return new n.\u0275RuntimeError(3303,!1)}();if(!function ys(Je){return"start"==Je||"done"==Je}(Le))throw function vn(Je,oe){return new n.\u0275RuntimeError(3400,!1)}();const Dt=lt(this._elementListeners,oe,[]),Rt={name:pe,phase:Le,callback:Ze};Dt.push(Rt);const Ut=lt(this._engine.statesByElement,oe,new Map);return Ut.has(pe)||(Ki(oe,qn),Ki(oe,qn+"-"+pe),Ut.set(pe,Xi)),()=>{this._engine.afterFlush(()=>{const zt=Dt.indexOf(Rt);zt>=0&&Dt.splice(zt,1),this._triggers.has(pe)||Ut.delete(pe)})}}register(oe,pe){return!this._triggers.has(oe)&&(this._triggers.set(oe,pe),!0)}_getTrigger(oe){const pe=this._triggers.get(oe);if(!pe)throw function en(Je){return new n.\u0275RuntimeError(3401,!1)}();return pe}trigger(oe,pe,Le,Ze=!0){const Dt=this._getTrigger(pe),Rt=new Wo(this.id,pe,oe);let Ut=this._engine.statesByElement.get(oe);Ut||(Ki(oe,qn),Ki(oe,qn+"-"+pe),this._engine.statesByElement.set(oe,Ut=new Map));let zt=Ut.get(pe);const bn=new Lo(Le,this.id);if(!(Le&&Le.hasOwnProperty("value"))&&zt&&bn.absorbOptions(zt.options),Ut.set(pe,bn),zt||(zt=Xi),bn.value!==Oi&&zt.value===bn.value){if(!function Fo(Je,oe){const pe=Object.keys(Je),Le=Object.keys(oe);if(pe.length!=Le.length)return!1;for(let Ze=0;Ze{Qn(oe,mi),jn(oe,Ai)})}return}const $r=lt(this._engine.playersByElement,oe,[]);$r.forEach(vr=>{vr.namespaceId==this.id&&vr.triggerName==pe&&vr.queued&&vr.destroy()});let fr=Dt.matchTransition(zt.value,bn.value,oe,bn.params),tr=!1;if(!fr){if(!Ze)return;fr=Dt.fallbackTransition,tr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:oe,triggerName:pe,transition:fr,fromState:zt,toState:bn,player:Rt,isFallbackTransition:tr}),tr||(Ki(oe,ar),Rt.onStart(()=>{uo(oe,ar)})),Rt.onDone(()=>{let vr=this.players.indexOf(Rt);vr>=0&&this.players.splice(vr,1);const mi=this._engine.playersByElement.get(oe);if(mi){let Ai=mi.indexOf(Rt);Ai>=0&&mi.splice(Ai,1)}}),this.players.push(Rt),$r.push(Rt),Rt}deregister(oe){this._triggers.delete(oe),this._engine.statesByElement.forEach(pe=>pe.delete(oe)),this._elementListeners.forEach((pe,Le)=>{this._elementListeners.set(Le,pe.filter(Ze=>Ze.name!=oe))})}clearElementCache(oe){this._engine.statesByElement.delete(oe),this._elementListeners.delete(oe);const pe=this._engine.playersByElement.get(oe);pe&&(pe.forEach(Le=>Le.destroy()),this._engine.playersByElement.delete(oe))}_signalRemovalForInnerTriggers(oe,pe){const Le=this._engine.driver.query(oe,Rn,!0);Le.forEach(Ze=>{if(Ze[Gr])return;const Dt=this._engine.fetchNamespacesByElement(Ze);Dt.size?Dt.forEach(Rt=>Rt.triggerLeaveAnimation(Ze,pe,!1,!0)):this.clearElementCache(Ze)}),this._engine.afterFlushAnimationsDone(()=>Le.forEach(Ze=>this.clearElementCache(Ze)))}triggerLeaveAnimation(oe,pe,Le,Ze){const Dt=this._engine.statesByElement.get(oe),Rt=new Map;if(Dt){const Ut=[];if(Dt.forEach((zt,bn)=>{if(Rt.set(bn,zt.value),this._triggers.has(bn)){const Wn=this.trigger(oe,bn,Oi,Ze);Wn&&Ut.push(Wn)}}),Ut.length)return this._engine.markElementAsRemoved(this.id,oe,!0,pe,Rt),Le&&Ge(Ut).onDone(()=>this._engine.processLeaveNode(oe)),!0}return!1}prepareLeaveAnimationListeners(oe){const pe=this._elementListeners.get(oe),Le=this._engine.statesByElement.get(oe);if(pe&&Le){const Ze=new Set;pe.forEach(Dt=>{const Rt=Dt.name;if(Ze.has(Rt))return;Ze.add(Rt);const zt=this._triggers.get(Rt).fallbackTransition,bn=Le.get(Rt)||Xi,Wn=new Lo(Oi),Kn=new Wo(this.id,Rt,oe);this._engine.totalQueuedPlayers++,this._queue.push({element:oe,triggerName:Rt,transition:zt,fromState:bn,toState:Wn,player:Kn,isFallbackTransition:!0})})}}removeNode(oe,pe){const Le=this._engine;if(oe.childElementCount&&this._signalRemovalForInnerTriggers(oe,pe),this.triggerLeaveAnimation(oe,pe,!0))return;let Ze=!1;if(Le.totalAnimations){const Dt=Le.players.length?Le.playersByQueriedElement.get(oe):[];if(Dt&&Dt.length)Ze=!0;else{let Rt=oe;for(;Rt=Rt.parentNode;)if(Le.statesByElement.get(Rt)){Ze=!0;break}}}if(this.prepareLeaveAnimationListeners(oe),Ze)Le.markElementAsRemoved(this.id,oe,!1,pe);else{const Dt=oe[Gr];(!Dt||Dt===yo)&&(Le.afterFlush(()=>this.clearElementCache(oe)),Le.destroyInnerAnimations(oe),Le._onRemovalComplete(oe,pe))}}insertNode(oe,pe){Ki(oe,this._hostClassName)}drainQueuedTransitions(oe){const pe=[];return this._queue.forEach(Le=>{const Ze=Le.player;if(Ze.destroyed)return;const Dt=Le.element,Rt=this._elementListeners.get(Dt);Rt&&Rt.forEach(Ut=>{if(Ut.name==Le.triggerName){const zt=_t(Dt,Le.triggerName,Le.fromState.value,Le.toState.value);zt._data=oe,ht(Le.player,Ut.phase,zt,Ut.callback)}}),Ze.markedForDestroy?this._engine.afterFlush(()=>{Ze.destroy()}):pe.push(Le)}),this._queue=[],pe.sort((Le,Ze)=>{const Dt=Le.transition.ast.depCount,Rt=Ze.transition.ast.depCount;return 0==Dt||0==Rt?Dt-Rt:this._engine.driver.containsElement(Le.element,Ze.element)?1:-1})}destroy(oe){this.players.forEach(pe=>pe.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,oe)}}class Gi{_onRemovalComplete(oe,pe){this.onRemovalComplete(oe,pe)}constructor(oe,pe,Le,Ze){this.bodyNode=oe,this.driver=pe,this._normalizer=Le,this.scheduler=Ze,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Dt,Rt)=>{}}get queuedPlayers(){const oe=[];return this._namespaceList.forEach(pe=>{pe.players.forEach(Le=>{Le.queued&&oe.push(Le)})}),oe}createNamespace(oe,pe){const Le=new Li(oe,pe,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,pe)?this._balanceNamespaceList(Le,pe):(this.newHostElements.set(pe,Le),this.collectEnterElement(pe)),this._namespaceLookup[oe]=Le}_balanceNamespaceList(oe,pe){const Le=this._namespaceList,Ze=this.namespacesByHostElement;if(Le.length-1>=0){let Rt=!1,Ut=this.driver.getParentElement(pe);for(;Ut;){const zt=Ze.get(Ut);if(zt){const bn=Le.indexOf(zt);Le.splice(bn+1,0,oe),Rt=!0;break}Ut=this.driver.getParentElement(Ut)}Rt||Le.unshift(oe)}else Le.push(oe);return Ze.set(pe,oe),oe}register(oe,pe){let Le=this._namespaceLookup[oe];return Le||(Le=this.createNamespace(oe,pe)),Le}registerTrigger(oe,pe,Le){let Ze=this._namespaceLookup[oe];Ze&&Ze.register(pe,Le)&&this.totalAnimations++}destroy(oe,pe){oe&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Le=this._fetchNamespace(oe);this.namespacesByHostElement.delete(Le.hostElement);const Ze=this._namespaceList.indexOf(Le);Ze>=0&&this._namespaceList.splice(Ze,1),Le.destroy(pe),delete this._namespaceLookup[oe]}))}_fetchNamespace(oe){return this._namespaceLookup[oe]}fetchNamespacesByElement(oe){const pe=new Set,Le=this.statesByElement.get(oe);if(Le)for(let Ze of Le.values())if(Ze.namespaceId){const Dt=this._fetchNamespace(Ze.namespaceId);Dt&&pe.add(Dt)}return pe}trigger(oe,pe,Le,Ze){if(wo(pe)){const Dt=this._fetchNamespace(oe);if(Dt)return Dt.trigger(pe,Le,Ze),!0}return!1}insertNode(oe,pe,Le,Ze){if(!wo(pe))return;const Dt=pe[Gr];if(Dt&&Dt.setForRemoval){Dt.setForRemoval=!1,Dt.setForMove=!0;const Rt=this.collectedLeaveElements.indexOf(pe);Rt>=0&&this.collectedLeaveElements.splice(Rt,1)}if(oe){const Rt=this._fetchNamespace(oe);Rt&&Rt.insertNode(pe,Le)}Ze&&this.collectEnterElement(pe)}collectEnterElement(oe){this.collectedEnterElements.push(oe)}markElementAsDisabled(oe,pe){pe?this.disabledNodes.has(oe)||(this.disabledNodes.add(oe),Ki(oe,wi)):this.disabledNodes.has(oe)&&(this.disabledNodes.delete(oe),uo(oe,wi))}removeNode(oe,pe,Le){if(wo(pe)){this.scheduler?.notify();const Ze=oe?this._fetchNamespace(oe):null;Ze?Ze.removeNode(pe,Le):this.markElementAsRemoved(oe,pe,!1,Le);const Dt=this.namespacesByHostElement.get(pe);Dt&&Dt.id!==oe&&Dt.removeNode(pe,Le)}else this._onRemovalComplete(pe,Le)}markElementAsRemoved(oe,pe,Le,Ze,Dt){this.collectedLeaveElements.push(pe),pe[Gr]={namespaceId:oe,setForRemoval:Ze,hasAnimation:Le,removedBeforeQueried:!1,previousTriggersValues:Dt}}listen(oe,pe,Le,Ze,Dt){return wo(pe)?this._fetchNamespace(oe).listen(pe,Le,Ze,Dt):()=>{}}_buildInstruction(oe,pe,Le,Ze,Dt){return oe.transition.build(this.driver,oe.element,oe.fromState.value,oe.toState.value,Le,Ze,oe.fromState.options,oe.toState.options,pe,Dt)}destroyInnerAnimations(oe){let pe=this.driver.query(oe,Rn,!0);pe.forEach(Le=>this.destroyActiveAnimationsForElement(Le)),0!=this.playersByQueriedElement.size&&(pe=this.driver.query(oe,Sr,!0),pe.forEach(Le=>this.finishActiveQueriedAnimationOnElement(Le)))}destroyActiveAnimationsForElement(oe){const pe=this.playersByElement.get(oe);pe&&pe.forEach(Le=>{Le.queued?Le.markedForDestroy=!0:Le.destroy()})}finishActiveQueriedAnimationOnElement(oe){const pe=this.playersByQueriedElement.get(oe);pe&&pe.forEach(Le=>Le.finish())}whenRenderingDone(){return new Promise(oe=>{if(this.players.length)return Ge(this.players).onDone(()=>oe());oe()})}processLeaveNode(oe){const pe=oe[Gr];if(pe&&pe.setForRemoval){if(oe[Gr]=yo,pe.namespaceId){this.destroyInnerAnimations(oe);const Le=this._fetchNamespace(pe.namespaceId);Le&&Le.clearElementCache(oe)}this._onRemovalComplete(oe,pe.setForRemoval)}oe.classList?.contains(wi)&&this.markElementAsDisabled(oe,!1),this.driver.query(oe,".ng-animate-disabled",!0).forEach(Le=>{this.markElementAsDisabled(Le,!1)})}flush(oe=-1){let pe=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Le,Ze)=>this._balanceNamespaceList(Le,Ze)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Le=0;LeLe()),this._flushFns=[],this._whenQuietFns.length){const Le=this._whenQuietFns;this._whenQuietFns=[],pe.length?Ge(pe).onDone(()=>{Le.forEach(Ze=>Ze())}):Le.forEach(Ze=>Ze())}}reportError(oe){throw function dt(Je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(oe,pe){const Le=new ct,Ze=[],Dt=new Map,Rt=[],Ut=new Map,zt=new Map,bn=new Map,Wn=new Set;this.disabledNodes.forEach(he=>{Wn.add(he);const Oe=this.driver.query(he,".ng-animate-queued",!0);for(let vt=0;vt{const vt=Mr+vr++;tr.set(Oe,vt),he.forEach(Ft=>Ki(Ft,vt))});const mi=[],Ai=new Set,ji=new Set;for(let he=0;heAi.add(Ft)):ji.add(Oe))}const Ti=new Map,Ji=rs($r,Array.from(Ai));Ji.forEach((he,Oe)=>{const vt=yr+vr++;Ti.set(Oe,vt),he.forEach(Ft=>Ki(Ft,vt))}),oe.push(()=>{fr.forEach((he,Oe)=>{const vt=tr.get(Oe);he.forEach(Ft=>uo(Ft,vt))}),Ji.forEach((he,Oe)=>{const vt=Ti.get(Oe);he.forEach(Ft=>uo(Ft,vt))}),mi.forEach(he=>{this.processLeaveNode(he)})});const Sn=[],wr=[];for(let he=this._namespaceList.length-1;he>=0;he--)this._namespaceList[he].drainQueuedTransitions(pe).forEach(vt=>{const Ft=vt.player,cn=vt.element;if(Sn.push(Ft),this.collectedEnterElements.length){const sn=cn[Gr];if(sn&&sn.setForMove){if(sn.previousTriggersValues&&sn.previousTriggersValues.has(vt.triggerName)){const In=sn.previousTriggersValues.get(vt.triggerName),gr=this.statesByElement.get(vt.element);if(gr&&gr.has(vt.triggerName)){const br=gr.get(vt.triggerName);br.value=In,gr.set(vt.triggerName,br)}}return void Ft.destroy()}}const q=!Kn||!this.driver.containsElement(Kn,cn),Ve=Ti.get(cn),Se=tr.get(cn),Re=this._buildInstruction(vt,Le,Se,Ve,q);if(Re.errors&&Re.errors.length)return void wr.push(Re);if(q)return Ft.onStart(()=>Qn(cn,Re.fromStyles)),Ft.onDestroy(()=>jn(cn,Re.toStyles)),void Ze.push(Ft);if(vt.isFallbackTransition)return Ft.onStart(()=>Qn(cn,Re.fromStyles)),Ft.onDestroy(()=>jn(cn,Re.toStyles)),void Ze.push(Ft);const Mt=[];Re.timelines.forEach(sn=>{sn.stretchStartingKeyframe=!0,this.disabledNodes.has(sn.element)||Mt.push(sn)}),Re.timelines=Mt,Le.append(cn,Re.timelines),Rt.push({instruction:Re,player:Ft,element:cn}),Re.queriedElements.forEach(sn=>lt(Ut,sn,[]).push(Ft)),Re.preStyleProps.forEach((sn,In)=>{if(sn.size){let gr=zt.get(In);gr||zt.set(In,gr=new Set),sn.forEach((br,Wr)=>gr.add(Wr))}}),Re.postStyleProps.forEach((sn,In)=>{let gr=bn.get(In);gr||bn.set(In,gr=new Set),sn.forEach((br,Wr)=>gr.add(Wr))})});if(wr.length){const he=[];wr.forEach(Oe=>{he.push(function we(Je,oe){return new n.\u0275RuntimeError(3505,!1)}())}),Sn.forEach(Oe=>Oe.destroy()),this.reportError(he)}const Qi=new Map,Pi=new Map;Rt.forEach(he=>{const Oe=he.element;Le.has(Oe)&&(Pi.set(Oe,Oe),this._beforeAnimationBuild(he.player.namespaceId,he.instruction,Qi))}),Ze.forEach(he=>{const Oe=he.element;this._getPreviousPlayers(Oe,!1,he.namespaceId,he.triggerName,null).forEach(Ft=>{lt(Qi,Oe,[]).push(Ft),Ft.destroy()})});const ei=mi.filter(he=>Do(he,zt,bn)),oo=new Map;ns(oo,this.driver,ji,bn,u).forEach(he=>{Do(he,zt,bn)&&ei.push(he)});const ot=new Map;fr.forEach((he,Oe)=>{ns(ot,this.driver,new Set(he),zt,"!")}),ei.forEach(he=>{const Oe=oo.get(he),vt=ot.get(he);oo.set(he,new Map([...Oe?.entries()??[],...vt?.entries()??[]]))});const O=[],te=[],j={};Rt.forEach(he=>{const{element:Oe,player:vt,instruction:Ft}=he;if(Le.has(Oe)){if(Wn.has(Oe))return vt.onDestroy(()=>jn(Oe,Ft.toStyles)),vt.disabled=!0,vt.overrideTotalTime(Ft.totalTime),void Ze.push(vt);let cn=j;if(Pi.size>1){let Ve=Oe;const Se=[];for(;Ve=Ve.parentNode;){const Re=Pi.get(Ve);if(Re){cn=Re;break}Se.push(Ve)}Se.forEach(Re=>Pi.set(Re,cn))}const q=this._buildAnimation(vt.namespaceId,Ft,Qi,Dt,ot,oo);if(vt.setRealPlayer(q),cn===j)O.push(vt);else{const Ve=this.playersByElement.get(cn);Ve&&Ve.length&&(vt.parentPlayer=Ge(Ve)),Ze.push(vt)}}else Qn(Oe,Ft.fromStyles),vt.onDestroy(()=>jn(Oe,Ft.toStyles)),te.push(vt),Wn.has(Oe)&&Ze.push(vt)}),te.forEach(he=>{const Oe=Dt.get(he.element);if(Oe&&Oe.length){const vt=Ge(Oe);he.setRealPlayer(vt)}}),Ze.forEach(he=>{he.parentPlayer?he.syncPlayerEvents(he.parentPlayer):he.destroy()});for(let he=0;he!q.destroyed);cn.length?So(this,Oe,cn):this.processLeaveNode(Oe)}return mi.length=0,O.forEach(he=>{this.players.push(he),he.onDone(()=>{he.destroy();const Oe=this.players.indexOf(he);this.players.splice(Oe,1)}),he.play()}),O}afterFlush(oe){this._flushFns.push(oe)}afterFlushAnimationsDone(oe){this._whenQuietFns.push(oe)}_getPreviousPlayers(oe,pe,Le,Ze,Dt){let Rt=[];if(pe){const Ut=this.playersByQueriedElement.get(oe);Ut&&(Rt=Ut)}else{const Ut=this.playersByElement.get(oe);if(Ut){const zt=!Dt||Dt==Oi;Ut.forEach(bn=>{bn.queued||!zt&&bn.triggerName!=Ze||Rt.push(bn)})}}return(Le||Ze)&&(Rt=Rt.filter(Ut=>!(Le&&Le!=Ut.namespaceId||Ze&&Ze!=Ut.triggerName))),Rt}_beforeAnimationBuild(oe,pe,Le){const Dt=pe.element,Rt=pe.isRemovalTransition?void 0:oe,Ut=pe.isRemovalTransition?void 0:pe.triggerName;for(const zt of pe.timelines){const bn=zt.element,Wn=bn!==Dt,Kn=lt(Le,bn,[]);this._getPreviousPlayers(bn,Wn,Rt,Ut,pe.toState).forEach(fr=>{const tr=fr.getRealPlayer();tr.beforeDestroy&&tr.beforeDestroy(),fr.destroy(),Kn.push(fr)})}Qn(Dt,pe.fromStyles)}_buildAnimation(oe,pe,Le,Ze,Dt,Rt){const Ut=pe.triggerName,zt=pe.element,bn=[],Wn=new Set,Kn=new Set,$r=pe.timelines.map(tr=>{const vr=tr.element;Wn.add(vr);const mi=vr[Gr];if(mi&&mi.removedBeforeQueried)return new x(tr.duration,tr.delay);const Ai=vr!==zt,ji=function cs(Je){const oe=[];return co(Je,oe),oe}((Le.get(vr)||zr).map(Qi=>Qi.getRealPlayer())).filter(Qi=>!!Qi.element&&Qi.element===vr),Ti=Dt.get(vr),Ji=Rt.get(vr),Sn=je(this._normalizer,tr.keyframes,Ti,Ji),wr=this._buildPlayer(tr,Sn,ji);if(tr.subTimeline&&Ze&&Kn.add(vr),Ai){const Qi=new Wo(oe,Ut,vr);Qi.setRealPlayer(wr),bn.push(Qi)}return wr});bn.forEach(tr=>{lt(this.playersByQueriedElement,tr.element,[]).push(tr),tr.onDone(()=>function Co(Je,oe,pe){let Le=Je.get(oe);if(Le){if(Le.length){const Ze=Le.indexOf(pe);Le.splice(Ze,1)}0==Le.length&&Je.delete(oe)}return Le}(this.playersByQueriedElement,tr.element,tr))}),Wn.forEach(tr=>Ki(tr,oi));const fr=Ge($r);return fr.onDestroy(()=>{Wn.forEach(tr=>uo(tr,oi)),jn(zt,pe.toStyles)}),Kn.forEach(tr=>{lt(Ze,tr,[]).push(fr)}),fr}_buildPlayer(oe,pe,Le){return pe.length>0?this.driver.animate(oe.element,pe,oe.duration,oe.delay,oe.easing,Le):new x(oe.duration,oe.delay)}}class Wo{constructor(oe,pe,Le){this.namespaceId=oe,this.triggerName=pe,this.element=Le,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(oe){this._containsRealPlayer||(this._player=oe,this._queuedCallbacks.forEach((pe,Le)=>{pe.forEach(Ze=>ht(oe,Le,void 0,Ze))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(oe.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(oe){this.totalTime=oe}syncPlayerEvents(oe){const pe=this._player;pe.triggerCallback&&oe.onStart(()=>pe.triggerCallback("start")),oe.onDone(()=>this.finish()),oe.onDestroy(()=>this.destroy())}_queueEvent(oe,pe){lt(this._queuedCallbacks,oe,[]).push(pe)}onDone(oe){this.queued&&this._queueEvent("done",oe),this._player.onDone(oe)}onStart(oe){this.queued&&this._queueEvent("start",oe),this._player.onStart(oe)}onDestroy(oe){this.queued&&this._queueEvent("destroy",oe),this._player.onDestroy(oe)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(oe){this.queued||this._player.setPosition(oe)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(oe){const pe=this._player;pe.triggerCallback&&pe.triggerCallback(oe)}}function wo(Je){return Je&&1===Je.nodeType}function Go(Je,oe){const pe=Je.style.display;return Je.style.display=oe??"none",pe}function ns(Je,oe,pe,Le,Ze){const Dt=[];pe.forEach(zt=>Dt.push(Go(zt)));const Rt=[];Le.forEach((zt,bn)=>{const Wn=new Map;zt.forEach(Kn=>{const $r=oe.computeStyle(bn,Kn,Ze);Wn.set(Kn,$r),(!$r||0==$r.length)&&(bn[Gr]=Ni,Rt.push(bn))}),Je.set(bn,Wn)});let Ut=0;return pe.forEach(zt=>Go(zt,Dt[Ut++])),Rt}function rs(Je,oe){const pe=new Map;if(Je.forEach(Ut=>pe.set(Ut,[])),0==oe.length)return pe;const Ze=new Set(oe),Dt=new Map;function Rt(Ut){if(!Ut)return 1;let zt=Dt.get(Ut);if(zt)return zt;const bn=Ut.parentNode;return zt=pe.has(bn)?bn:Ze.has(bn)?1:Rt(bn),Dt.set(Ut,zt),zt}return oe.forEach(Ut=>{const zt=Rt(Ut);1!==zt&&pe.get(zt).push(Ut)}),pe}function Ki(Je,oe){Je.classList?.add(oe)}function uo(Je,oe){Je.classList?.remove(oe)}function So(Je,oe,pe){Ge(pe).onDone(()=>Je.processLeaveNode(oe))}function co(Je,oe){for(let pe=0;peZe.add(Dt)):oe.set(Je,Le),pe.delete(Je),!0}class Ko{constructor(oe,pe,Le,Ze){this._driver=pe,this._normalizer=Le,this._triggerCache={},this.onRemovalComplete=(Dt,Rt)=>{},this._transitionEngine=new Gi(oe.body,pe,Le,Ze),this._timelineEngine=new qr(oe.body,pe,Le),this._transitionEngine.onRemovalComplete=(Dt,Rt)=>this.onRemovalComplete(Dt,Rt)}registerTrigger(oe,pe,Le,Ze,Dt){const Rt=oe+"-"+Ze;let Ut=this._triggerCache[Rt];if(!Ut){const zt=[],Wn=Jt(this._driver,Dt,zt,[]);if(zt.length)throw function mt(Je,oe){return new n.\u0275RuntimeError(3404,!1)}();Ut=function ro(Je,oe,pe){return new Rr(Je,oe,pe)}(Ze,Wn,this._normalizer),this._triggerCache[Rt]=Ut}this._transitionEngine.registerTrigger(pe,Ze,Ut)}register(oe,pe){this._transitionEngine.register(oe,pe)}destroy(oe,pe){this._transitionEngine.destroy(oe,pe)}onInsert(oe,pe,Le,Ze){this._transitionEngine.insertNode(oe,pe,Le,Ze)}onRemove(oe,pe,Le){this._transitionEngine.removeNode(oe,pe,Le)}disableAnimations(oe,pe){this._transitionEngine.markElementAsDisabled(oe,pe)}process(oe,pe,Le,Ze){if("@"==Le.charAt(0)){const[Dt,Rt]=Et(Le);this._timelineEngine.command(Dt,pe,Rt,Ze)}else this._transitionEngine.trigger(oe,pe,Le,Ze)}listen(oe,pe,Le,Ze,Dt){if("@"==Le.charAt(0)){const[Rt,Ut]=Et(Le);return this._timelineEngine.listen(Rt,pe,Ut,Dt)}return this._transitionEngine.listen(oe,pe,Le,Ze,Dt)}flush(oe=-1){this._transitionEngine.flush(oe)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(oe){this._transitionEngine.afterFlushAnimationsDone(oe)}}class Qo{static#e=this.initialStylesByElement=new WeakMap;constructor(oe,pe,Le){this._element=oe,this._startStyles=pe,this._endStyles=Le,this._state=0;let Ze=Qo.initialStylesByElement.get(oe);Ze||Qo.initialStylesByElement.set(oe,Ze=new Map),this._initialStyles=Ze}start(){this._state<1&&(this._startStyles&&jn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jn(this._element,this._initialStyles),this._endStyles&&(jn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qo.initialStylesByElement.delete(this._element),this._startStyles&&(Qn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),jn(this._element,this._initialStyles),this._state=3)}}function Ye(Je){let oe=null;return Je.forEach((pe,Le)=>{(function Qe(Je){return"display"===Je||"position"===Je})(Le)&&(oe=oe||new Map,oe.set(Le,pe))}),oe}class ke{constructor(oe,pe,Le,Ze){this.element=oe,this.keyframes=pe,this.options=Le,this._specialStyles=Ze,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=Le.duration,this._delay=Le.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const oe=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,oe,this.options),this._finalKeyframe=oe.length?oe[oe.length-1]:new Map;const pe=()=>this._onFinish();this.domPlayer.addEventListener("finish",pe),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",pe)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(oe){const pe=[];return oe.forEach(Le=>{pe.push(Object.fromEntries(Le))}),pe}_triggerWebAnimation(oe,pe,Le){return oe.animate(this._convertKeyframesToObject(pe),Le)}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(oe=>oe()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}setPosition(oe){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=oe*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const oe=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Le,Ze)=>{"offset"!==Ze&&oe.set(Ze,this._finished?Le:Yn(this.element,Ze))}),this.currentSnapshot=oe}triggerCallback(oe){const pe="start"===oe?this._onStartFns:this._onDoneFns;pe.forEach(Le=>Le()),pe.length=0}}class ut{validateStyleProperty(oe){return!0}validateAnimatableStyleProperty(oe){return!0}matchesElement(oe,pe){return!1}containsElement(oe,pe){return Ct(oe,pe)}getParentElement(oe){return Yt(oe)}query(oe,pe,Le){return It(oe,pe,Le)}computeStyle(oe,pe,Le){return Yn(oe,pe)}animate(oe,pe,Le,Ze,Dt,Rt=[]){const zt={duration:Le,delay:Ze,fill:0==Ze?"both":"forwards"};Dt&&(zt.easing=Dt);const bn=new Map,Wn=Rt.filter(fr=>fr instanceof ke);(function En(Je,oe){return 0===Je||0===oe})(Le,Ze)&&Wn.forEach(fr=>{fr.currentSnapshot.forEach((tr,vr)=>bn.set(vr,tr))});let Kn=function pi(Je){return Je.length?Je[0]instanceof Map?Je:Je.map(oe=>new Map(Object.entries(oe))):[]}(pe).map(fr=>new Map(fr));Kn=function Mn(Je,oe,pe){if(pe.size&&oe.length){let Le=oe[0],Ze=[];if(pe.forEach((Dt,Rt)=>{Le.has(Rt)||Ze.push(Rt),Le.set(Rt,Dt)}),Ze.length)for(let Dt=1;DtRt.set(Ut,Yn(Je,Ut)))}}return oe}(oe,Kn,bn);const $r=function hs(Je,oe){let pe=null,Le=null;return Array.isArray(oe)&&oe.length?(pe=Ye(oe[0]),oe.length>1&&(Le=Ye(oe[oe.length-1]))):oe instanceof Map&&(pe=Ye(oe)),pe||Le?new Qo(Je,pe,Le):null}(oe,Kn);return new ke(oe,Kn,zt,$r)}}const $i="@.disabled";class Mo{constructor(oe,pe,Le,Ze){this.namespaceId=oe,this.delegate=pe,this.engine=Le,this._onDestroy=Ze,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(oe){this.delegate.destroyNode?.(oe)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(oe,pe){return this.delegate.createElement(oe,pe)}createComment(oe){return this.delegate.createComment(oe)}createText(oe){return this.delegate.createText(oe)}appendChild(oe,pe){this.delegate.appendChild(oe,pe),this.engine.onInsert(this.namespaceId,pe,oe,!1)}insertBefore(oe,pe,Le,Ze=!0){this.delegate.insertBefore(oe,pe,Le),this.engine.onInsert(this.namespaceId,pe,oe,Ze)}removeChild(oe,pe,Le){this.engine.onRemove(this.namespaceId,pe,this.delegate)}selectRootElement(oe,pe){return this.delegate.selectRootElement(oe,pe)}parentNode(oe){return this.delegate.parentNode(oe)}nextSibling(oe){return this.delegate.nextSibling(oe)}setAttribute(oe,pe,Le,Ze){this.delegate.setAttribute(oe,pe,Le,Ze)}removeAttribute(oe,pe,Le){this.delegate.removeAttribute(oe,pe,Le)}addClass(oe,pe){this.delegate.addClass(oe,pe)}removeClass(oe,pe){this.delegate.removeClass(oe,pe)}setStyle(oe,pe,Le,Ze){this.delegate.setStyle(oe,pe,Le,Ze)}removeStyle(oe,pe,Le){this.delegate.removeStyle(oe,pe,Le)}setProperty(oe,pe,Le){"@"==pe.charAt(0)&&pe==$i?this.disableAnimations(oe,!!Le):this.delegate.setProperty(oe,pe,Le)}setValue(oe,pe){this.delegate.setValue(oe,pe)}listen(oe,pe,Le){return this.delegate.listen(oe,pe,Le)}disableAnimations(oe,pe){this.engine.disableAnimations(oe,pe)}}class Ao extends Mo{constructor(oe,pe,Le,Ze,Dt){super(pe,Le,Ze,Dt),this.factory=oe,this.namespaceId=pe}setProperty(oe,pe,Le){"@"==pe.charAt(0)?"."==pe.charAt(1)&&pe==$i?this.disableAnimations(oe,Le=void 0===Le||!!Le):this.engine.process(this.namespaceId,oe,pe.slice(1),Le):this.delegate.setProperty(oe,pe,Le)}listen(oe,pe,Le){if("@"==pe.charAt(0)){const Ze=function ho(Je){switch(Je){case"body":return document.body;case"document":return document;case"window":return window;default:return Je}}(oe);let Dt=pe.slice(1),Rt="";return"@"!=Dt.charAt(0)&&([Dt,Rt]=function Ur(Je){const oe=Je.indexOf(".");return[Je.substring(0,oe),Je.slice(oe+1)]}(Dt)),this.engine.listen(this.namespaceId,Ze,Dt,Rt,Ut=>{this.factory.scheduleListenerCallback(Ut._data||-1,Le,Ut)})}return this.delegate.listen(oe,pe,Le)}}class Xo{constructor(oe,pe,Le){this.delegate=oe,this.engine=pe,this._zone=Le,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,pe.onRemovalComplete=(Ze,Dt)=>{const Rt=Dt?.parentNode(Ze);Rt&&Dt.removeChild(Rt,Ze)}}createRenderer(oe,pe){const Ze=this.delegate.createRenderer(oe,pe);if(!oe||!pe?.data?.animation){const bn=this._rendererCache;let Wn=bn.get(Ze);return Wn||(Wn=new Mo("",Ze,this.engine,()=>bn.delete(Ze)),bn.set(Ze,Wn)),Wn}const Dt=pe.id,Rt=pe.id+"-"+this._currentId;this._currentId++,this.engine.register(Rt,oe);const Ut=bn=>{Array.isArray(bn)?bn.forEach(Ut):this.engine.registerTrigger(Dt,Rt,oe,bn.name,bn)};return pe.data.animation.forEach(Ut),new Ao(this,Rt,Ze,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(oe,pe,Le){if(oe>=0&&oepe(Le));const Ze=this._animationCallbacksBuffer;0==Ze.length&&queueMicrotask(()=>{this._zone.run(()=>{Ze.forEach(Dt=>{const[Rt,Ut]=Dt;Rt(Ut)}),this._animationCallbacksBuffer=[]})}),Ze.push([pe,Le])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var is=o(91368);let Zi=(()=>{class Je extends Ko{constructor(pe,Le,Ze){super(pe,Le,Ze,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Le){return new(Le||Je)(n.\u0275\u0275inject(is.DOCUMENT),n.\u0275\u0275inject(Tn),n.\u0275\u0275inject(nn))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}return Je})();const _o=[{provide:nn,useFactory:function Zo(){return new Er}},{provide:Ko,useClass:Zi},{provide:n.RendererFactory2,useFactory:function xo(Je,oe,pe){return new Xo(Je,oe,pe)},deps:[i.\u0275DomRendererFactory2,Ko,n.NgZone]}],Di=[{provide:Tn,useFactory:()=>new ut},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},..._o],To=[{provide:Tn,useClass:yn},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},..._o];let Cs=(()=>{class Je{static withConfig(pe){return{ngModule:Je,providers:pe.disableAnimations?To:Di}}static#e=this.\u0275fac=function(Le){return new(Le||Je)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Di,imports:[i.BrowserModule]})}return Je})();function os(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...Di]}let io=(()=>{class Je{static#e=this.\u0275fac=function(Le){return new(Le||Je)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:To,imports:[i.BrowserModule]})}return Je})();function fs(){return[...To]}},14476:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{BrowserModule:()=>ft,By:()=>vn,DomSanitizer:()=>ht,EVENT_MANAGER_PLUGINS:()=>p,EventManager:()=>S,EventManagerPlugin:()=>y,HAMMER_GESTURE_CONFIG:()=>Ue,HAMMER_LOADER:()=>we,HammerGestureConfig:()=>Pe,HammerModule:()=>je,HydrationFeatureKind:()=>_t,Meta:()=>rt,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>R,Title:()=>Wt,TransferState:()=>Zt,VERSION:()=>Tt,bootstrapApplication:()=>W,createApplication:()=>re,disableDebugTools:()=>An,enableDebugTools:()=>wn,makeStateKey:()=>Ht,platformBrowser:()=>De,provideClientHydration:()=>gt,provideProtractorTestingSupport:()=>ue,withHttpTransferCacheOptions:()=>it,withNoHttpTransferCache:()=>Et,\u0275BrowserDomAdapter:()=>a,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>Y,\u0275DomRendererFactory2:()=>x,\u0275DomSanitizerImpl:()=>He,\u0275HammerGesturesPlugin:()=>Ge,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>ie,\u0275KeyEventsPlugin:()=>K,\u0275SharedStylesHost:()=>h,\u0275getDOM:()=>i.\u0275getDOM,\u0275initDomAdapter:()=>ye});var n=o(54496),i=o(91368),d=o(97048);class u extends i.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class a extends u{static makeCurrent(){(0,i.\u0275setRootDomAdapter)(new a)}onAndCancel($t,Ct,It){return $t.addEventListener(Ct,It),()=>{$t.removeEventListener(Ct,It)}}dispatchEvent($t,Ct){$t.dispatchEvent(Ct)}remove($t){$t.parentNode&&$t.parentNode.removeChild($t)}createElement($t,Ct){return(Ct=Ct||this.getDefaultDocument()).createElement($t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($t){return $t.nodeType===Node.ELEMENT_NODE}isShadowRoot($t){return $t instanceof DocumentFragment}getGlobalEventTarget($t,Ct){return"window"===Ct?window:"document"===Ct?$t:"body"===Ct?$t.body:null}getBaseHref($t){const Ct=function c(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==Ct?null:function l(wt){return new URL(wt,document.baseURI).pathname}(Ct)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie($t){return(0,i.\u0275parseCookieValue)(document.cookie,$t)}}let e=null;class g{addToWindow($t){n.\u0275global.getAngularTestability=(It,tn=!0)=>{const yn=$t.findTestabilityInTree(It,tn);if(null==yn)throw new n.\u0275RuntimeError(5103,!1);return yn},n.\u0275global.getAllAngularTestabilities=()=>$t.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>$t.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(It=>{const tn=n.\u0275global.getAllAngularTestabilities();let yn=tn.length;const Tn=function(){yn--,0==yn&&It()};tn.forEach(nn=>{nn.whenStable(Tn)})})}findTestabilityInTree($t,Ct,It){return null==Ct?null:$t.getTestability(Ct)??(It?(0,i.\u0275getDOM)().isShadowRoot(Ct)?this.findTestabilityInTree($t,Ct.host,!0):this.findTestabilityInTree($t,Ct.parentElement,!0):null)}}let b=(()=>{class wt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(It){return new(It||wt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})();const p=new n.InjectionToken("");let S=(()=>{class wt{constructor(Ct,It){this._zone=It,this._eventNameToPlugin=new Map,Ct.forEach(tn=>{tn.manager=this}),this._plugins=Ct.slice().reverse()}addEventListener(Ct,It,tn){return this._findPluginFor(It).addEventListener(Ct,It,tn)}getZone(){return this._zone}_findPluginFor(Ct){let It=this._eventNameToPlugin.get(Ct);if(It)return It;if(It=this._plugins.find(yn=>yn.supports(Ct)),!It)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Ct,It),It}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})();class y{constructor($t){this._doc=$t}}const m="ng-app-id";let h=(()=>{class wt{constructor(Ct,It,tn,yn={}){this.doc=Ct,this.appId=It,this.nonce=tn,this.platformId=yn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,i.isPlatformServer)(yn),this.resetHostNodes()}addStyles(Ct){for(const It of Ct)1===this.changeUsageCount(It,1)&&this.onStyleAdded(It)}removeStyles(Ct){for(const It of Ct)this.changeUsageCount(It,-1)<=0&&this.onStyleRemoved(It)}ngOnDestroy(){const Ct=this.styleNodesInDOM;Ct&&(Ct.forEach(It=>It.remove()),Ct.clear());for(const It of this.getAllStyles())this.onStyleRemoved(It);this.resetHostNodes()}addHost(Ct){this.hostNodes.add(Ct);for(const It of this.getAllStyles())this.addStyleToHost(Ct,It)}removeHost(Ct){this.hostNodes.delete(Ct)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ct){for(const It of this.hostNodes)this.addStyleToHost(It,Ct)}onStyleRemoved(Ct){const It=this.styleRef;It.get(Ct)?.elements?.forEach(tn=>tn.remove()),It.delete(Ct)}collectServerRenderedStyles(){const Ct=this.doc.head?.querySelectorAll(`style[${m}="${this.appId}"]`);if(Ct?.length){const It=new Map;return Ct.forEach(tn=>{null!=tn.textContent&&It.set(tn.textContent,tn)}),It}return null}changeUsageCount(Ct,It){const tn=this.styleRef;if(tn.has(Ct)){const yn=tn.get(Ct);return yn.usage+=It,yn.usage}return tn.set(Ct,{usage:It,elements:[]}),It}getStyleElement(Ct,It){const tn=this.styleNodesInDOM,yn=tn?.get(It);if(yn?.parentNode===Ct)return tn.delete(It),yn.removeAttribute(m),yn;{const Tn=this.doc.createElement("style");return this.nonce&&Tn.setAttribute("nonce",this.nonce),Tn.textContent=It,this.platformIsServer&&Tn.setAttribute(m,this.appId),Ct.appendChild(Tn),Tn}}addStyleToHost(Ct,It){const tn=this.getStyleElement(Ct,It),yn=this.styleRef,Tn=yn.get(It)?.elements;Tn?Tn.push(tn):yn.set(It,{elements:[tn],usage:1})}resetHostNodes(){const Ct=this.hostNodes;Ct.clear(),Ct.add(this.doc.head)}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})();const C={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/MathML/"},v=/%COMP%/g,M="%COMP%",E=`_nghost-${M}`,A=`_ngcontent-${M}`,R=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function L(wt,$t){return $t.map(Ct=>Ct.replace(v,wt))}let x=(()=>{class wt{constructor(Ct,It,tn,yn,Tn,nn,nr,kr=null){this.eventManager=Ct,this.sharedStylesHost=It,this.appId=tn,this.removeStylesOnCompDestroy=yn,this.doc=Tn,this.platformId=nn,this.ngZone=nr,this.nonce=kr,this.rendererByCompId=new Map,this.platformIsServer=(0,i.isPlatformServer)(nn),this.defaultRenderer=new V(Ct,Tn,nr,this.platformIsServer)}createRenderer(Ct,It){if(!Ct||!It)return this.defaultRenderer;this.platformIsServer&&It.encapsulation===n.ViewEncapsulation.ShadowDom&&(It={...It,encapsulation:n.ViewEncapsulation.Emulated});const tn=this.getOrCreateRenderer(Ct,It);return tn instanceof ne?tn.applyToHost(Ct):tn instanceof Q&&tn.applyStyles(),tn}getOrCreateRenderer(Ct,It){const tn=this.rendererByCompId;let yn=tn.get(It.id);if(!yn){const Tn=this.doc,nn=this.ngZone,nr=this.eventManager,kr=this.sharedStylesHost,Br=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(It.encapsulation){case n.ViewEncapsulation.Emulated:yn=new ne(nr,kr,It,this.appId,Br,Tn,nn,sr);break;case n.ViewEncapsulation.ShadowDom:return new ce(nr,kr,Ct,It,Tn,nn,this.nonce,sr);default:yn=new Q(nr,kr,It,Br,Tn,nn,sr)}tn.set(It.id,yn)}return yn}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(h),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(R),n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})();class V{constructor($t,Ct,It,tn){this.eventManager=$t,this.doc=Ct,this.ngZone=It,this.platformIsServer=tn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement($t,Ct){return Ct?this.doc.createElementNS(C[Ct]||Ct,$t):this.doc.createElement($t)}createComment($t){return this.doc.createComment($t)}createText($t){return this.doc.createTextNode($t)}appendChild($t,Ct){(X($t)?$t.content:$t).appendChild(Ct)}insertBefore($t,Ct,It){$t&&(X($t)?$t.content:$t).insertBefore(Ct,It)}removeChild($t,Ct){$t&&$t.removeChild(Ct)}selectRootElement($t,Ct){let It="string"==typeof $t?this.doc.querySelector($t):$t;if(!It)throw new n.\u0275RuntimeError(-5104,!1);return Ct||(It.textContent=""),It}parentNode($t){return $t.parentNode}nextSibling($t){return $t.nextSibling}setAttribute($t,Ct,It,tn){if(tn){Ct=tn+":"+Ct;const yn=C[tn];yn?$t.setAttributeNS(yn,Ct,It):$t.setAttribute(Ct,It)}else $t.setAttribute(Ct,It)}removeAttribute($t,Ct,It){if(It){const tn=C[It];tn?$t.removeAttributeNS(tn,Ct):$t.removeAttribute(`${It}:${Ct}`)}else $t.removeAttribute(Ct)}addClass($t,Ct){$t.classList.add(Ct)}removeClass($t,Ct){$t.classList.remove(Ct)}setStyle($t,Ct,It,tn){tn&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?$t.style.setProperty(Ct,It,tn&n.RendererStyleFlags2.Important?"important":""):$t.style[Ct]=It}removeStyle($t,Ct,It){It&n.RendererStyleFlags2.DashCase?$t.style.removeProperty(Ct):$t.style[Ct]=""}setProperty($t,Ct,It){null!=$t&&($t[Ct]=It)}setValue($t,Ct){$t.nodeValue=Ct}listen($t,Ct,It){if("string"==typeof $t&&!($t=(0,i.\u0275getDOM)().getGlobalEventTarget(this.doc,$t)))throw new Error(`Unsupported event target ${$t} for event ${Ct}`);return this.eventManager.addEventListener($t,Ct,this.decoratePreventDefault(It))}decoratePreventDefault($t){return Ct=>{if("__ngUnwrap__"===Ct)return $t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>$t(Ct)):$t(Ct))&&Ct.preventDefault()}}}function X(wt){return"TEMPLATE"===wt.tagName&&void 0!==wt.content}class ce extends V{constructor($t,Ct,It,tn,yn,Tn,nn,nr){super($t,yn,Tn,nr),this.sharedStylesHost=Ct,this.hostEl=It,this.shadowRoot=It.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kr=L(tn.id,tn.styles);for(const Br of kr){const sr=document.createElement("style");nn&&sr.setAttribute("nonce",nn),sr.textContent=Br,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot($t){return $t===this.hostEl?this.shadowRoot:$t}appendChild($t,Ct){return super.appendChild(this.nodeOrShadowRoot($t),Ct)}insertBefore($t,Ct,It){return super.insertBefore(this.nodeOrShadowRoot($t),Ct,It)}removeChild($t,Ct){return super.removeChild(this.nodeOrShadowRoot($t),Ct)}parentNode($t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Q extends V{constructor($t,Ct,It,tn,yn,Tn,nn,nr){super($t,yn,Tn,nn),this.sharedStylesHost=Ct,this.removeStylesOnCompDestroy=tn,this.styles=nr?L(nr,It.styles):It.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ne extends Q{constructor($t,Ct,It,tn,yn,Tn,nn,nr){const kr=tn+"-"+It.id;super($t,Ct,It,yn,Tn,nn,nr,kr),this.contentAttr=function N(wt){return A.replace(v,wt)}(kr),this.hostAttr=function P(wt){return E.replace(v,wt)}(kr)}applyToHost($t){this.applyStyles(),this.setAttribute($t,this.hostAttr,"")}createElement($t,Ct){const It=super.createElement($t,Ct);return super.setAttribute(It,this.contentAttr,""),It}}let Y=(()=>{class wt extends y{constructor(Ct){super(Ct)}supports(Ct){return!0}addEventListener(Ct,It,tn){return Ct.addEventListener(It,tn,!1),()=>this.removeEventListener(Ct,It,tn)}removeEventListener(Ct,It,tn){return Ct.removeEventListener(It,tn)}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})();const H=["alt","control","meta","shift"],ae={"\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"},J={alt:wt=>wt.altKey,control:wt=>wt.ctrlKey,meta:wt=>wt.metaKey,shift:wt=>wt.shiftKey};let K=(()=>{class wt extends y{constructor(Ct){super(Ct)}supports(Ct){return null!=wt.parseEventName(Ct)}addEventListener(Ct,It,tn){const yn=wt.parseEventName(It),Tn=wt.eventCallback(yn.fullKey,tn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.\u0275getDOM)().onAndCancel(Ct,yn.domEventName,Tn))}static parseEventName(Ct){const It=Ct.toLowerCase().split("."),tn=It.shift();if(0===It.length||"keydown"!==tn&&"keyup"!==tn)return null;const yn=wt._normalizeKey(It.pop());let Tn="",nn=It.indexOf("code");if(nn>-1&&(It.splice(nn,1),Tn="code."),H.forEach(kr=>{const Br=It.indexOf(kr);Br>-1&&(It.splice(Br,1),Tn+=kr+".")}),Tn+=yn,0!=It.length||0===yn.length)return null;const nr={};return nr.domEventName=tn,nr.fullKey=Tn,nr}static matchEventFullKeyCode(Ct,It){let tn=ae[Ct.key]||Ct.key,yn="";return It.indexOf("code.")>-1&&(tn=Ct.code,yn="code."),!(null==tn||!tn)&&(tn=tn.toLowerCase()," "===tn?tn="space":"."===tn&&(tn="dot"),H.forEach(Tn=>{Tn!==tn&&(0,J[Tn])(Ct)&&(yn+=Tn+".")}),yn+=tn,yn===It)}static eventCallback(Ct,It,tn){return yn=>{wt.matchEventFullKeyCode(yn,Ct)&&tn.runGuarded(()=>It(yn))}}static _normalizeKey(Ct){return"esc"===Ct?"escape":Ct}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})();function W(wt,$t){return(0,n.\u0275internalCreateApplication)({rootComponent:wt,...G($t)})}function re(wt){return(0,n.\u0275internalCreateApplication)(G(wt))}function G(wt){return{appProviders:[...nt,...wt?.providers??[]],platformProviders:ie}}function ue(){return[...qe]}function ye(){a.makeCurrent()}const ie=[{provide:n.PLATFORM_ID,useValue:i.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:ye,multi:!0},{provide:i.DOCUMENT,useFactory:function be(){return(0,n.\u0275setDocument)(document),document},deps:[]}],De=(0,n.createPlatformFactory)(n.platformCore,"browser",ie),ze=new n.InjectionToken(""),qe=[{provide:n.\u0275TESTABILITY_GETTER,useClass:g,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],nt=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Ie(){return new n.ErrorHandler},deps:[]},{provide:p,useClass:Y,multi:!0,deps:[i.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:p,useClass:K,multi:!0,deps:[i.DOCUMENT]},x,h,S,{provide:n.RendererFactory2,useExisting:x},{provide:i.XhrFactory,useClass:b,deps:[]},[]];let ft=(()=>{class wt{constructor(Ct){}static withServerTransition(Ct){return{ngModule:wt,providers:[{provide:n.APP_ID,useValue:Ct.appId}]}}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(ze,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:wt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...nt,...qe],imports:[i.CommonModule,n.ApplicationModule]})}return wt})(),rt=(()=>{class wt{constructor(Ct){this._doc=Ct,this._dom=(0,i.\u0275getDOM)()}addTag(Ct,It=!1){return Ct?this._getOrCreateElement(Ct,It):null}addTags(Ct,It=!1){return Ct?Ct.reduce((tn,yn)=>(yn&&tn.push(this._getOrCreateElement(yn,It)),tn),[]):[]}getTag(Ct){return Ct&&this._doc.querySelector(`meta[${Ct}]`)||null}getTags(Ct){if(!Ct)return[];const It=this._doc.querySelectorAll(`meta[${Ct}]`);return It?[].slice.call(It):[]}updateTag(Ct,It){if(!Ct)return null;It=It||this._parseSelector(Ct);const tn=this.getTag(It);return tn?this._setMetaElementAttributes(Ct,tn):this._getOrCreateElement(Ct,!0)}removeTag(Ct){this.removeTagElement(this.getTag(Ct))}removeTagElement(Ct){Ct&&this._dom.remove(Ct)}_getOrCreateElement(Ct,It=!1){if(!It){const Tn=this._parseSelector(Ct),nn=this.getTags(Tn).filter(nr=>this._containsAttributes(Ct,nr))[0];if(void 0!==nn)return nn}const tn=this._dom.createElement("meta");return this._setMetaElementAttributes(Ct,tn),this._doc.getElementsByTagName("head")[0].appendChild(tn),tn}_setMetaElementAttributes(Ct,It){return Object.keys(Ct).forEach(tn=>It.setAttribute(this._getMetaKeyMap(tn),Ct[tn])),It}_parseSelector(Ct){const It=Ct.name?"name":"property";return`${It}="${Ct[It]}"`}_containsAttributes(Ct,It){return Object.keys(Ct).every(tn=>It.getAttribute(this._getMetaKeyMap(tn))===Ct[tn])}_getMetaKeyMap(Ct){return mt[Ct]||Ct}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac,providedIn:"root"})}return wt})();const mt={httpEquiv:"http-equiv"};let Wt=(()=>{class wt{constructor(Ct){this._doc=Ct}getTitle(){return this._doc.title}setTitle(Ct){this._doc.title=Ct||""}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac,providedIn:"root"})}return wt})();function bt(wt,$t){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[wt]=$t)}class Bt{constructor($t,Ct){this.msPerTick=$t,this.numTicks=Ct}}class an{constructor($t){this.appRef=$t.injector.get(n.ApplicationRef)}timeChangeDetection($t){const Ct=$t&&$t.record,It="Change Detection";Ct&&"profile"in console&&"function"==typeof console.profile&&console.profile(It);const tn=performance.now();let yn=0;for(;yn<5||performance.now()-tn<500;)this.appRef.tick(),yn++;const Tn=performance.now();Ct&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(It);const nn=(Tn-tn)/yn;return console.log(`ran ${yn} change detection cycles`),console.log(`${nn.toFixed(2)} ms per check`),new Bt(nn,yn)}}const hn="profiler";function wn(wt){return bt(hn,new an(wt)),wt}function An(){bt(hn,null)}class vn{static all(){return()=>!0}static css($t){return Ct=>null!=Ct.nativeElement&&function en(wt,$t){return!!(0,i.\u0275getDOM)().isElementNode(wt)&&(wt.matches&&wt.matches($t)||wt.msMatchesSelector&&wt.msMatchesSelector($t)||wt.webkitMatchesSelector&&wt.webkitMatchesSelector($t))}(Ct.nativeElement,$t)}static directive($t){return Ct=>-1!==Ct.providerTokens.indexOf($t)}}const dt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ue=new n.InjectionToken("HammerGestureConfig"),we=new n.InjectionToken("HammerLoader");let Pe=(()=>{class wt{constructor(){this.events=[],this.overrides={}}buildHammer(Ct){const It=new Hammer(Ct,this.options);It.get("pinch").set({enable:!0}),It.get("rotate").set({enable:!0});for(const tn in this.overrides)It.get(tn).set(this.overrides[tn]);return It}static#e=this.\u0275fac=function(It){return new(It||wt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})(),Ge=(()=>{class wt extends y{constructor(Ct,It,tn,yn){super(Ct),this._config=It,this.console=tn,this.loader=yn,this._loaderPromise=null}supports(Ct){return!(!dt.hasOwnProperty(Ct.toLowerCase())&&!this.isCustomEvent(Ct)||!window.Hammer&&!this.loader)}addEventListener(Ct,It,tn){const yn=this.manager.getZone();if(It=It.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||yn.runOutsideAngular(()=>this.loader());let Tn=!1,nn=()=>{Tn=!0};return yn.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Tn||(nn=this.addEventListener(Ct,It,tn)):nn=()=>{}}).catch(()=>{nn=()=>{}})),()=>{nn()}}return yn.runOutsideAngular(()=>{const Tn=this._config.buildHammer(Ct),nn=function(nr){yn.runGuarded(function(){tn(nr)})};return Tn.on(It,nn),()=>{Tn.off(It,nn),"function"==typeof Tn.destroy&&Tn.destroy()}})}isCustomEvent(Ct){return this._config.events.indexOf(Ct)>-1}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(Ue),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(we,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac})}return wt})(),je=(()=>{class wt{static#e=this.\u0275fac=function(It){return new(It||wt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:wt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:p,useClass:Ge,multi:!0,deps:[i.DOCUMENT,Ue,n.\u0275Console,[new n.Optional,we]]},{provide:Ue,useClass:Pe,deps:[]}]})}return wt})(),ht=(()=>{class wt{static#e=this.\u0275fac=function(It){return new(It||wt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:function(It){let tn=null;return tn=It?new(It||wt):n.\u0275\u0275inject(He),tn},providedIn:"root"})}return wt})(),He=(()=>{class wt extends ht{constructor(Ct){super(),this._doc=Ct}sanitize(Ct,It){if(null==It)return null;switch(Ct){case n.SecurityContext.NONE:return It;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(It,"HTML")?(0,n.\u0275unwrapSafeValue)(It):(0,n.\u0275_sanitizeHtml)(this._doc,String(It)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(It,"Style")?(0,n.\u0275unwrapSafeValue)(It):It;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(It,"Script"))return(0,n.\u0275unwrapSafeValue)(It);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(It,"URL")?(0,n.\u0275unwrapSafeValue)(It):(0,n.\u0275_sanitizeUrl)(String(It));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(It,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(It);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Ct){return(0,n.\u0275bypassSanitizationTrustHtml)(Ct)}bypassSecurityTrustStyle(Ct){return(0,n.\u0275bypassSanitizationTrustStyle)(Ct)}bypassSecurityTrustScript(Ct){return(0,n.\u0275bypassSanitizationTrustScript)(Ct)}bypassSecurityTrustUrl(Ct){return(0,n.\u0275bypassSanitizationTrustUrl)(Ct)}bypassSecurityTrustResourceUrl(Ct){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(Ct)}static#e=this.\u0275fac=function(It){return new(It||wt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac,providedIn:"root"})}return wt})();var _t=function(wt){return wt[wt.NoHttpTransferCache=0]="NoHttpTransferCache",wt[wt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",wt}(_t||{});function lt(wt,$t=[],Ct={}){return{\u0275kind:wt,\u0275providers:$t}}function Et(){return lt(_t.NoHttpTransferCache)}function it(wt){return lt(_t.HttpTransferCacheOptions,(0,d.\u0275withHttpTransferCache)(wt))}function gt(...wt){const $t=[],Ct=new Set,It=Ct.has(_t.HttpTransferCacheOptions);for(const{\u0275providers:tn,\u0275kind:yn}of wt)Ct.add(yn),tn.length&&$t.push(tn);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),Ct.has(_t.NoHttpTransferCache)||It?[]:(0,d.\u0275withHttpTransferCache)({}),$t])}const Tt=new n.Version("17.2.3"),Ht=n.makeStateKey,Zt=n.TransferState},56568:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ActivatedRoute:()=>ai,ActivatedRouteSnapshot:()=>ti,ActivationEnd:()=>fn,ActivationStart:()=>Cn,BaseRouteReuseStrategy:()=>br,ChildActivationEnd:()=>_n,ChildActivationStart:()=>mn,ChildrenOutletContexts:()=>Lr,DefaultTitleStrategy:()=>te,DefaultUrlSerializer:()=>Et,EventType:()=>zn,GuardsCheckEnd:()=>et,GuardsCheckStart:()=>Ae,NavigationCancel:()=>de,NavigationCancellationCode:()=>B,NavigationEnd:()=>un,NavigationError:()=>Te,NavigationSkipped:()=>Fe,NavigationSkippedCode:()=>z,NavigationStart:()=>Ei,NoPreloading:()=>el,OutletContext:()=>Nr,PRIMARY_OUTLET:()=>ie,PreloadAllModules:()=>Gl,PreloadingStrategy:()=>Ks,ROUTER_CONFIGURATION:()=>j,ROUTER_INITIALIZER:()=>No,ROUTES:()=>he,ResolveEnd:()=>At,ResolveStart:()=>pt,RouteConfigLoadEnd:()=>Jt,RouteConfigLoadStart:()=>Nt,RouteReuseStrategy:()=>gr,Router:()=>fo,RouterEvent:()=>ur,RouterLink:()=>hi,RouterLinkActive:()=>ss,RouterLinkWithHref:()=>hi,RouterModule:()=>Zl,RouterOutlet:()=>go,RouterPreloader:()=>tl,RouterState:()=>Gn,RouterStateSnapshot:()=>Xr,RoutesRecognized:()=>me,Scroll:()=>Gt,TitleStrategy:()=>O,UrlHandlingStrategy:()=>q,UrlSegment:()=>je,UrlSegmentGroup:()=>Ge,UrlSerializer:()=>lt,UrlTree:()=>Pe,VERSION:()=>ms,convertToParamMap:()=>qe,createUrlTreeFromSnapshot:()=>Jn,defaultUrlMatcher:()=>nt,mapToCanActivate:()=>Us,mapToCanActivateChild:()=>Ea,mapToCanDeactivate:()=>Un,mapToCanMatch:()=>ql,mapToResolve:()=>ec,provideRouter:()=>fu,provideRoutes:()=>ls,withComponentInputBinding:()=>rl,withDebugTracing:()=>Ql,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>aa,withHashLocation:()=>ca,withInMemoryScrolling:()=>oa,withNavigationErrorHandler:()=>jd,withPreloading:()=>zo,withRouterConfig:()=>la,withViewTransitions:()=>Xl,\u0275EmptyOutletComponent:()=>bi,\u0275ROUTER_PROVIDERS:()=>ol,\u0275afterNextNavigation:()=>Ri,\u0275loadChildren:()=>vt});var n=o(54496),i=o(53252),d=o(38880),a=o(74496),e=o(82700),c=o(46700),l=o(56040),g=o(37696),b=o(7400),p=o(528);function S(le=1/0){return(0,b.O)(p.Z,le)}var m=o(59472);function h(...le){return function y(){return S(1)}()((0,a.Q)(le,(0,m.e_)(le)))}var C=o(41424),v=o(83928);function M(le,Ce){const fe=(0,d.m)(le)?le:()=>le,Me=We=>We.error(fe());return new i._(Ce?We=>Ce.schedule(Me,0,We):Me)}var E=o(28960),A=o(46928),T=o(95448),R=o(87773);function N(){return(0,T.i)((le,Ce)=>{let fe=null;le._refCount++;const Me=(0,R.e)(Ce,void 0,void 0,void 0,()=>{if(!le||le._refCount<=0||0<--le._refCount)return void(fe=null);const We=le._connection,tt=fe;fe=null,We&&(!tt||We===tt)&&We.unsubscribe(),Ce.unsubscribe()});le.subscribe(Me),Me.closed||(fe=le.connect())})}class P extends i._{constructor(Ce,fe){super(),this.source=Ce,this.subjectFactory=fe,this._subject=null,this._refCount=0,this._connection=null,(0,T.e)(Ce)&&(this.lift=Ce.lift)}_subscribe(Ce){return this.getSubject().subscribe(Ce)}getSubject(){const Ce=this._subject;return(!Ce||Ce.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Ce}=this;this._subject=this._connection=null,Ce?.unsubscribe()}connect(){let Ce=this._connection;if(!Ce){Ce=this._connection=new A.wH;const fe=this.getSubject();Ce.add(this.source.subscribe((0,R.e)(fe,void 0,()=>{this._teardown(),fe.complete()},Me=>{this._teardown(),fe.error(Me)},()=>this._teardown()))),Ce.closed&&(this._connection=null,Ce=A.wH.EMPTY)}return Ce}refCount(){return N()(this)}}var L=o(95657),x=o(91368),V=o(54704),F=o(17368),ee=o(3992),ce=o(66684),Q=o(75084),ne=o(26020),Y=o(19212),H=o(39144);var K=o(22156);function W(le){return le<=0?()=>E.k:(0,T.i)((Ce,fe)=>{let Me=[];Ce.subscribe((0,R.e)(fe,We=>{Me.push(We),le{for(const We of Me)fe.next(We);fe.complete()},void 0,()=>{Me=null}))})}var re=o(98124),ue=o(32700),ye=o(68824),Ie=o(53616),be=o(14476);const ie="primary",De=Symbol("RouteTitle");class ze{constructor(Ce){this.params=Ce||{}}has(Ce){return Object.prototype.hasOwnProperty.call(this.params,Ce)}get(Ce){if(this.has(Ce)){const fe=this.params[Ce];return Array.isArray(fe)?fe[0]:fe}return null}getAll(Ce){if(this.has(Ce)){const fe=this.params[Ce];return Array.isArray(fe)?fe:[fe]}return[]}get keys(){return Object.keys(this.params)}}function qe(le){return new ze(le)}function nt(le,Ce,fe){const Me=fe.path.split("/");if(Me.length>le.length||"full"===fe.pathMatch&&(Ce.hasChildren()||Me.lengthMe[tt]===We)}return le===Ce}function bt(le){return le.length>0?le[le.length-1]:null}function Bt(le){return function u(le){return!!le&&(le instanceof i._||(0,d.m)(le.lift)&&(0,d.m)(le.subscribe))}(le)?le:(0,n.\u0275isPromise)(le)?(0,a.Q)(Promise.resolve(le)):(0,e.of)(le)}const an={exact:function vn(le,Ce,fe){if(!He(le.segments,Ce.segments)||!we(le.segments,Ce.segments,fe)||le.numberOfChildren!==Ce.numberOfChildren)return!1;for(const Me in Ce.children)if(!le.children[Me]||!vn(le.children[Me],Ce.children[Me],fe))return!1;return!0},subset:dt},hn={exact:function An(le,Ce){return rt(le,Ce)},subset:function en(le,Ce){return Object.keys(Ce).length<=Object.keys(le).length&&Object.keys(Ce).every(fe=>Wt(le[fe],Ce[fe]))},ignored:()=>!0};function wn(le,Ce,fe){return an[fe.paths](le.root,Ce.root,fe.matrixParams)&&hn[fe.queryParams](le.queryParams,Ce.queryParams)&&!("exact"===fe.fragment&&le.fragment!==Ce.fragment)}function dt(le,Ce,fe){return Ue(le,Ce,Ce.segments,fe)}function Ue(le,Ce,fe,Me){if(le.segments.length>fe.length){const We=le.segments.slice(0,fe.length);return!(!He(We,fe)||Ce.hasChildren()||!we(We,fe,Me))}if(le.segments.length===fe.length){if(!He(le.segments,fe)||!we(le.segments,fe,Me))return!1;for(const We in Ce.children)if(!le.children[We]||!dt(le.children[We],Ce.children[We],Me))return!1;return!0}{const We=fe.slice(0,le.segments.length),tt=fe.slice(le.segments.length);return!!(He(le.segments,We)&&we(le.segments,We,Me)&&le.children[ie])&&Ue(le.children[ie],Ce,tt,Me)}}function we(le,Ce,fe){return Ce.every((Me,We)=>hn[fe](le[We].parameters,Me.parameters))}class Pe{constructor(Ce=new Ge([],{}),fe={},Me=null){this.root=Ce,this.queryParams=fe,this.fragment=Me}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return it.serialize(this)}}class Ge{constructor(Ce,fe){this.segments=Ce,this.children=fe,this.parent=null,Object.values(fe).forEach(Me=>Me.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yt(this)}}class je{constructor(Ce,fe){this.path=Ce,this.parameters=fe}get parameterMap(){return this._parameterMap??=qe(this.parameters),this._parameterMap}toString(){return It(this)}}function He(le,Ce){return le.length===Ce.length&&le.every((fe,Me)=>fe.path===Ce[Me].path)}let lt=(()=>{class le{static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:()=>new Et,providedIn:"root"})}return le})();class Et{parse(Ce){const fe=new qn(Ce);return new Pe(fe.parseRootSegment(),fe.parseQueryParams(),fe.parseFragment())}serialize(Ce){const fe=`/${gt(Ce.root,!0)}`,Me=function yn(le){const Ce=Object.entries(le).map(([fe,Me])=>Array.isArray(Me)?Me.map(We=>`${Ht(fe)}=${Ht(We)}`).join("&"):`${Ht(fe)}=${Ht(Me)}`).filter(fe=>fe);return Ce.length?`?${Ce.join("&")}`:""}(Ce.queryParams);return`${fe}${Me}${"string"==typeof Ce.fragment?`#${function Zt(le){return encodeURI(le)}(Ce.fragment)}`:""}`}}const it=new Et;function Yt(le){return le.segments.map(Ce=>It(Ce)).join("/")}function gt(le,Ce){if(!le.hasChildren())return Yt(le);if(Ce){const fe=le.children[ie]?gt(le.children[ie],!1):"",Me=[];return Object.entries(le.children).forEach(([We,tt])=>{We!==ie&&Me.push(`${We}:${gt(tt,!1)}`)}),Me.length>0?`${fe}(${Me.join("//")})`:fe}{const fe=function _t(le,Ce){let fe=[];return Object.entries(le.children).forEach(([Me,We])=>{Me===ie&&(fe=fe.concat(Ce(We,Me)))}),Object.entries(le.children).forEach(([Me,We])=>{Me!==ie&&(fe=fe.concat(Ce(We,Me)))}),fe}(le,(Me,We)=>We===ie?[gt(le.children[ie],!1)]:[`${We}:${gt(Me,!1)}`]);return 1===Object.keys(le.children).length&&null!=le.children[ie]?`${Yt(le)}/${fe[0]}`:`${Yt(le)}/(${fe.join("//")})`}}function Tt(le){return encodeURIComponent(le).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ht(le){return Tt(le).replace(/%3B/gi,";")}function wt(le){return Tt(le).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(le){return decodeURIComponent(le)}function Ct(le){return $t(le.replace(/\+/g,"%20"))}function It(le){return`${wt(le.path)}${function tn(le){return Object.entries(le).map(([Ce,fe])=>`;${wt(Ce)}=${wt(fe)}`).join("")}(le.parameters)}`}const Tn=/^[^\/()?;#]+/;function nn(le){const Ce=le.match(Tn);return Ce?Ce[0]:""}const nr=/^[^\/()?;=#]+/,Br=/^[^=?&#]+/,Mr=/^[^&#]+/;class qn{constructor(Ce){this.url=Ce,this.remaining=Ce}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())}parseQueryParams(){const Ce={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ce)}while(this.consumeOptional("&"));return Ce}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ce=[];for(this.peekStartsWith("(")||Ce.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ce.push(this.parseSegment());let fe={};this.peekStartsWith("/(")&&(this.capture("/"),fe=this.parseParens(!0));let Me={};return this.peekStartsWith("(")&&(Me=this.parseParens(!1)),(Ce.length>0||Object.keys(fe).length>0)&&(Me[ie]=new Ge(Ce,fe)),Me}parseSegment(){const Ce=nn(this.remaining);if(""===Ce&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(Ce),new je($t(Ce),this.parseMatrixParams())}parseMatrixParams(){const Ce={};for(;this.consumeOptional(";");)this.parseParam(Ce);return Ce}parseParam(Ce){const fe=function kr(le){const Ce=le.match(nr);return Ce?Ce[0]:""}(this.remaining);if(!fe)return;this.capture(fe);let Me="";if(this.consumeOptional("=")){const We=nn(this.remaining);We&&(Me=We,this.capture(Me))}Ce[$t(fe)]=$t(Me)}parseQueryParam(Ce){const fe=function sr(le){const Ce=le.match(Br);return Ce?Ce[0]:""}(this.remaining);if(!fe)return;this.capture(fe);let Me="";if(this.consumeOptional("=")){const xt=function yr(le){const Ce=le.match(Mr);return Ce?Ce[0]:""}(this.remaining);xt&&(Me=xt,this.capture(Me))}const We=Ct(fe),tt=Ct(Me);if(Ce.hasOwnProperty(We)){let xt=Ce[We];Array.isArray(xt)||(xt=[xt],Ce[We]=xt),xt.push(tt)}else Ce[We]=tt}parseParens(Ce){const fe={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Me=nn(this.remaining),We=this.remaining[Me.length];if("/"!==We&&")"!==We&&";"!==We)throw new n.\u0275RuntimeError(4010,!1);let tt;Me.indexOf(":")>-1?(tt=Me.slice(0,Me.indexOf(":")),this.capture(tt),this.capture(":")):Ce&&(tt=ie);const xt=this.parseChildren();fe[tt]=1===Object.keys(xt).length?xt[ie]:new Ge([],xt),this.consumeOptional("//")}return fe}peekStartsWith(Ce){return this.remaining.startsWith(Ce)}consumeOptional(Ce){return!!this.peekStartsWith(Ce)&&(this.remaining=this.remaining.substring(Ce.length),!0)}capture(Ce){if(!this.consumeOptional(Ce))throw new n.\u0275RuntimeError(4011,!1)}}function Rn(le){return le.segments.length>0?new Ge([],{[ie]:le}):le}function oi(le){const Ce={};for(const[Me,We]of Object.entries(le.children)){const tt=oi(We);if(Me===ie&&0===tt.segments.length&&tt.hasChildren())for(const[xt,gn]of Object.entries(tt.children))Ce[xt]=gn;else(tt.segments.length>0||tt.hasChildren())&&(Ce[Me]=tt)}return function Sr(le){if(1===le.numberOfChildren&&le.children[ie]){const Ce=le.children[ie];return new Ge(le.segments.concat(Ce.segments),Ce.children)}return le}(new Ge(le.segments,Ce))}function pr(le){return le instanceof Pe}function Jn(le,Ce,fe=null,Me=null){return Or(er(le),Ce,fe,Me)}function er(le){let Ce;const We=Rn(function fe(tt){const xt={};for(const ln of tt.children){const Zn=fe(ln);xt[ln.outlet]=Zn}const gn=new Ge(tt.url,xt);return tt===le&&(Ce=gn),gn}(le.root));return Ce??We}function Or(le,Ce,fe,Me){let We=le;for(;We.parent;)We=We.parent;if(0===Ce.length)return jn(We,We,We,fe,Me);const tt=function ui(le){if("string"==typeof le[0]&&1===le.length&&"/"===le[0])return new or(!0,0,le);let Ce=0,fe=!1;const Me=le.reduce((We,tt,xt)=>{if("object"==typeof tt&&null!=tt){if(tt.outlets){const gn={};return Object.entries(tt.outlets).forEach(([ln,Zn])=>{gn[ln]="string"==typeof Zn?Zn.split("/"):Zn}),[...We,{outlets:gn}]}if(tt.segmentPath)return[...We,tt.segmentPath]}return"string"!=typeof tt?[...We,tt]:0===xt?(tt.split("/").forEach((gn,ln)=>{0==ln&&"."===gn||(0==ln&&""===gn?fe=!0:".."===gn?Ce++:""!=gn&&We.push(gn))}),We):[...We,tt]},[]);return new or(fe,Ce,Me)}(Ce);if(tt.toRoot())return jn(We,We,new Ge([],{}),fe,Me);const xt=function at(le,Ce,fe){if(le.isAbsolute)return new Ir(Ce,!0,0);if(!fe)return new Ir(Ce,!1,NaN);if(null===fe.parent)return new Ir(fe,!0,0);const Me=pi(le.commands[0])?0:1;return function Ot(le,Ce,fe){let Me=le,We=Ce,tt=fe;for(;tt>We;){if(tt-=We,Me=Me.parent,!Me)throw new n.\u0275RuntimeError(4005,!1);We=Me.segments.length}return new Ir(Me,!1,We-tt)}(fe,fe.segments.length-1+Me,le.numberOfDoubleDots)}(tt,We,le),gn=xt.processChildren?dn(xt.segmentGroup,xt.index,tt.commands):rn(xt.segmentGroup,xt.index,tt.commands);return jn(We,xt.segmentGroup,gn,fe,Me)}function pi(le){return"object"==typeof le&&null!=le&&!le.outlets&&!le.segmentPath}function qt(le){return"object"==typeof le&&null!=le&&le.outlets}function jn(le,Ce,fe,Me,We){let xt,tt={};Me&&Object.entries(Me).forEach(([ln,Zn])=>{tt[ln]=Array.isArray(Zn)?Zn.map(xr=>`${xr}`):`${Zn}`}),xt=le===Ce?fe:Qn(le,Ce,fe);const gn=Rn(oi(xt));return new Pe(gn,tt,We)}function Qn(le,Ce,fe){const Me={};return Object.entries(le.children).forEach(([We,tt])=>{Me[We]=tt===Ce?fe:Qn(tt,Ce,fe)}),new Ge(le.segments,Me)}class or{constructor(Ce,fe,Me){if(this.isAbsolute=Ce,this.numberOfDoubleDots=fe,this.commands=Me,Ce&&Me.length>0&&pi(Me[0]))throw new n.\u0275RuntimeError(4003,!1);const We=Me.find(qt);if(We&&We!==bt(Me))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ir{constructor(Ce,fe,Me){this.segmentGroup=Ce,this.processChildren=fe,this.index=Me}}function rn(le,Ce,fe){if(le??=new Ge([],{}),0===le.segments.length&&le.hasChildren())return dn(le,Ce,fe);const Me=function En(le,Ce,fe){let Me=0,We=Ce;const tt={match:!1,pathIndex:0,commandIndex:0};for(;We=fe.length)return tt;const xt=le.segments[We],gn=fe[Me];if(qt(gn))break;const ln=`${gn}`,Zn=Me0&&void 0===ln)break;if(ln&&Zn&&"object"==typeof Zn&&void 0===Zn.outlets){if(!Tr(ln,Zn,xt))return tt;Me+=2}else{if(!Tr(ln,{},xt))return tt;Me++}We++}return{match:!0,pathIndex:We,commandIndex:Me}}(le,Ce,fe),We=fe.slice(Me.commandIndex);if(Me.match&&Me.pathIndextt!==ie)&&le.children[ie]&&1===le.numberOfChildren&&0===le.children[ie].segments.length){const tt=dn(le.children[ie],Ce,fe);return new Ge(le.segments,tt.children)}return Object.entries(Me).forEach(([tt,xt])=>{"string"==typeof xt&&(xt=[xt]),null!==xt&&(We[tt]=rn(le.children[tt],Ce,xt))}),Object.entries(le.children).forEach(([tt,xt])=>{void 0===Me[tt]&&(We[tt]=xt)}),new Ge(le.segments,We)}}function Mn(le,Ce,fe){const Me=le.segments.slice(0,Ce);let We=0;for(;We{"string"==typeof Me&&(Me=[Me]),null!==Me&&(Ce[fe]=Mn(new Ge([],{}),0,Me))}),Ce}function Yn(le){const Ce={};return Object.entries(le).forEach(([fe,Me])=>Ce[fe]=`${Me}`),Ce}function Tr(le,Ce,fe){return le==fe.path&&rt(Ce,fe.parameters)}const Er="imperative";var zn=function(le){return le[le.NavigationStart=0]="NavigationStart",le[le.NavigationEnd=1]="NavigationEnd",le[le.NavigationCancel=2]="NavigationCancel",le[le.NavigationError=3]="NavigationError",le[le.RoutesRecognized=4]="RoutesRecognized",le[le.ResolveStart=5]="ResolveStart",le[le.ResolveEnd=6]="ResolveEnd",le[le.GuardsCheckStart=7]="GuardsCheckStart",le[le.GuardsCheckEnd=8]="GuardsCheckEnd",le[le.RouteConfigLoadStart=9]="RouteConfigLoadStart",le[le.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",le[le.ChildActivationStart=11]="ChildActivationStart",le[le.ChildActivationEnd=12]="ChildActivationEnd",le[le.ActivationStart=13]="ActivationStart",le[le.ActivationEnd=14]="ActivationEnd",le[le.Scroll=15]="Scroll",le[le.NavigationSkipped=16]="NavigationSkipped",le}(zn||{});class ur{constructor(Ce,fe){this.id=Ce,this.url=fe}}class Ei extends ur{constructor(Ce,fe,Me="imperative",We=null){super(Ce,fe),this.type=zn.NavigationStart,this.navigationTrigger=Me,this.restoredState=We}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends ur{constructor(Ce,fe,Me){super(Ce,fe),this.urlAfterRedirects=Me,this.type=zn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var B=function(le){return le[le.Redirect=0]="Redirect",le[le.SupersededByNewNavigation=1]="SupersededByNewNavigation",le[le.NoDataFromResolver=2]="NoDataFromResolver",le[le.GuardRejected=3]="GuardRejected",le}(B||{}),z=function(le){return le[le.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",le[le.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",le}(z||{});class de extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.reason=Me,this.code=We,this.type=zn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fe extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.reason=Me,this.code=We,this.type=zn.NavigationSkipped}}class Te extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.error=Me,this.target=We,this.type=zn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class me extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.urlAfterRedirects=Me,this.state=We,this.type=zn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ae extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.urlAfterRedirects=Me,this.state=We,this.type=zn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends ur{constructor(Ce,fe,Me,We,tt){super(Ce,fe),this.urlAfterRedirects=Me,this.state=We,this.shouldActivate=tt,this.type=zn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pt extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.urlAfterRedirects=Me,this.state=We,this.type=zn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class At extends ur{constructor(Ce,fe,Me,We){super(Ce,fe),this.urlAfterRedirects=Me,this.state=We,this.type=zn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nt{constructor(Ce){this.route=Ce,this.type=zn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jt{constructor(Ce){this.route=Ce,this.type=zn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mn{constructor(Ce){this.snapshot=Ce,this.type=zn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _n{constructor(Ce){this.snapshot=Ce,this.type=zn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cn{constructor(Ce){this.snapshot=Ce,this.type=zn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(Ce){this.snapshot=Ce,this.type=zn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gt{constructor(Ce,fe,Me){this.routerEvent=Ce,this.position=fe,this.anchor=Me,this.type=zn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Nn{}class lr{constructor(Ce){this.url=Ce}}class Nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Lr,this.attachRef=null}}let Lr=(()=>{class le{constructor(){this.contexts=new Map}onChildOutletCreated(fe,Me){const We=this.getOrCreateContext(fe);We.outlet=Me,this.contexts.set(fe,We)}onChildOutletDestroyed(fe){const Me=this.getContext(fe);Me&&(Me.outlet=null,Me.attachRef=null)}onOutletDeactivated(){const fe=this.contexts;return this.contexts=new Map,fe}onOutletReAttached(fe){this.contexts=fe}getOrCreateContext(fe){let Me=this.getContext(fe);return Me||(Me=new Nr,this.contexts.set(fe,Me)),Me}getContext(fe){return this.contexts.get(fe)||null}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();class ct{constructor(Ce){this._root=Ce}get root(){return this._root.value}parent(Ce){const fe=this.pathFromRoot(Ce);return fe.length>1?fe[fe.length-2]:null}children(Ce){const fe=lo(Ce,this._root);return fe?fe.children.map(Me=>Me.value):[]}firstChild(Ce){const fe=lo(Ce,this._root);return fe&&fe.children.length>0?fe.children[0].value:null}siblings(Ce){const fe=vi(Ce,this._root);return fe.length<2?[]:fe[fe.length-2].children.map(We=>We.value).filter(We=>We!==Ce)}pathFromRoot(Ce){return vi(Ce,this._root).map(fe=>fe.value)}}function lo(le,Ce){if(le===Ce.value)return Ce;for(const fe of Ce.children){const Me=lo(le,fe);if(Me)return Me}return null}function vi(le,Ce){if(le===Ce.value)return[Ce];for(const fe of Ce.children){const Me=vi(le,fe);if(Me.length)return Me.unshift(Ce),Me}return[]}class _r{constructor(Ce,fe){this.value=Ce,this.children=fe}toString(){return`TreeNode(${this.value})`}}function Pn(le){const Ce={};return le&&le.children.forEach(fe=>Ce[fe.value.outlet]=fe),Ce}class Gn extends ct{constructor(Ce,fe){super(Ce),this.snapshot=fe,Zr(this,Ce)}toString(){return this.snapshot.toString()}}function si(le){const Ce=function Pr(le){const tt=new ti([],{},{},"",{},ie,le,null,{});return new Xr("",new _r(tt,[]))}(le),fe=new c.g([new je("",{})]),Me=new c.g({}),We=new c.g({}),tt=new c.g({}),xt=new c.g(""),gn=new ai(fe,Me,tt,xt,We,ie,le,Ce.root);return gn.snapshot=Ce.root,new Gn(new _r(gn,[]),Ce)}class ai{constructor(Ce,fe,Me,We,tt,xt,gn,ln){this.urlSubject=Ce,this.paramsSubject=fe,this.queryParamsSubject=Me,this.fragmentSubject=We,this.dataSubject=tt,this.outlet=xt,this.component=gn,this._futureSnapshot=ln,this.title=this.dataSubject?.pipe((0,V.k)(Zn=>Zn[De]))??(0,e.of)(void 0),this.url=Ce,this.params=fe,this.queryParams=Me,this.fragment=We,this.data=tt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,V.k)(Ce=>qe(Ce))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,V.k)(Ce=>qe(Ce))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Fn(le,Ce,fe="emptyOnly"){let Me;const{routeConfig:We}=le;return Me=null===Ce||"always"!==fe&&""!==We?.path&&(Ce.component||Ce.routeConfig?.loadComponent)?{params:{...le.params},data:{...le.data},resolve:{...le.data,...le._resolvedData??{}}}:{params:{...Ce.params,...le.params},data:{...Ce.data,...le.data},resolve:{...le.data,...Ce.data,...We?.data,...le._resolvedData}},We&&ko(We)&&(Me.resolve[De]=We.title),Me}class ti{get title(){return this.data?.[De]}constructor(Ce,fe,Me,We,tt,xt,gn,ln,Zn){this.url=Ce,this.params=fe,this.queryParams=Me,this.fragment=We,this.data=tt,this.outlet=xt,this.component=gn,this.routeConfig=ln,this._resolve=Zn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=qe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Me=>Me.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Xr extends ct{constructor(Ce,fe){super(fe),this.url=Ce,Zr(this,fe)}toString(){return Vi(this._root)}}function Zr(le,Ce){Ce.value._routerState=le,Ce.children.forEach(fe=>Zr(le,fe))}function Vi(le){const Ce=le.children.length>0?` { ${le.children.map(Vi).join(", ")} } `:"";return`${le.value}${Ce}`}function hr(le){if(le.snapshot){const Ce=le.snapshot,fe=le._futureSnapshot;le.snapshot=fe,rt(Ce.queryParams,fe.queryParams)||le.queryParamsSubject.next(fe.queryParams),Ce.fragment!==fe.fragment&&le.fragmentSubject.next(fe.fragment),rt(Ce.params,fe.params)||le.paramsSubject.next(fe.params),function ft(le,Ce){if(le.length!==Ce.length)return!1;for(let fe=0;fert(fe.parameters,Ce[Me].parameters))}(le.url,Ce.url);return fe&&!(!le.parent!=!Ce.parent)&&(!le.parent||Yi(le.parent,Ce.parent))}function ko(le){return"string"==typeof le.title||null===le.title}let go=(()=>{class le{constructor(){this.activated=null,this._activatedRoute=null,this.name=ie,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(zi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(fe){if(fe.name){const{firstChange:Me,previousValue:We}=fe.name;if(Me)return;this.isTrackedInParentContexts(We)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(We)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(fe){return this.parentContexts.getContext(fe)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const fe=this.parentContexts.getContext(this.name);fe?.route&&(fe.attachRef?this.attach(fe.attachRef,fe.route):this.activateWith(fe.route,fe.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const fe=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(fe.instance),fe}attach(fe,Me){this.activated=fe,this._activatedRoute=Me,this.location.insert(fe.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(fe.instance)}deactivate(){if(this.activated){const fe=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(fe)}}activateWith(fe,Me){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=fe;const We=this.location,xt=fe.snapshot.component,gn=this.parentContexts.getOrCreateContext(this.name).children,ln=new Jr(fe,gn,We.injector);this.activated=We.createComponent(xt,{index:We.length,injector:ln,environmentInjector:Me??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return le})();class Jr{constructor(Ce,fe,Me){this.route=Ce,this.childContexts=fe,this.parent=Me}get(Ce,fe){return Ce===ai?this.route:Ce===Lr?this.childContexts:this.parent.get(Ce,fe)}}const zi=new n.InjectionToken("");let qi=(()=>{class le{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(fe){this.unsubscribeFromRouteData(fe),this.subscribeToRouteData(fe)}unsubscribeFromRouteData(fe){this.outletDataSubscriptions.get(fe)?.unsubscribe(),this.outletDataSubscriptions.delete(fe)}subscribeToRouteData(fe){const{activatedRoute:Me}=fe,We=(0,l.E)([Me.queryParams,Me.params,Me.data]).pipe((0,F.G)(([tt,xt,gn],ln)=>(gn={...tt,...xt,...gn},0===ln?(0,e.of)(gn):Promise.resolve(gn)))).subscribe(tt=>{if(!fe.isActivated||!fe.activatedComponentRef||fe.activatedRoute!==Me||null===Me.component)return void this.unsubscribeFromRouteData(fe);const xt=(0,n.reflectComponentType)(Me.component);if(xt)for(const{templateName:gn}of xt.inputs)fe.activatedComponentRef.setInput(gn,tt[gn]);else this.unsubscribeFromRouteData(fe)});this.outletDataSubscriptions.set(fe,We)}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})();function Rr(le,Ce,fe){if(fe&&le.shouldReuseRoute(Ce.value,fe.value.snapshot)){const Me=fe.value;Me._futureSnapshot=Ce.value;const We=function mo(le,Ce,fe){return Ce.children.map(Me=>{for(const We of fe.children)if(le.shouldReuseRoute(Me.value,We.value.snapshot))return Rr(le,Me,We);return Rr(le,Me)})}(le,Ce,fe);return new _r(Me,We)}{if(le.shouldAttach(Ce.value)){const tt=le.retrieve(Ce.value);if(null!==tt){const xt=tt.route;return xt.value._futureSnapshot=Ce.value,xt.children=Ce.children.map(gn=>Rr(le,gn)),xt}}const Me=function _i(le){return new ai(new c.g(le.url),new c.g(le.params),new c.g(le.queryParams),new c.g(le.fragment),new c.g(le.data),le.outlet,le.component,le)}(Ce.value),We=Ce.children.map(tt=>Rr(le,tt));return new _r(Me,We)}}const xi="ngNavigationCancelingError";function qr(le,Ce){const{redirectTo:fe,navigationBehaviorOptions:Me}=pr(Ce)?{redirectTo:Ce,navigationBehaviorOptions:void 0}:Ce,We=ar(!1,B.Redirect);return We.url=fe,We.navigationBehaviorOptions=Me,We}function ar(le,Ce){const fe=new Error(`NavigationCancelingError: ${le||""}`);return fe[xi]=!0,fe.cancellationCode=Ce,fe}function wi(le){return!!le&&le[xi]}let bi=(()=>{class le{static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(Me,We){1&Me&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[go],encapsulation:2})}return le})();function Li(le){const Ce=le.children&&le.children.map(Li),fe=Ce?{...le,children:Ce}:{...le};return!fe.component&&!fe.loadComponent&&(Ce||fe.loadChildren)&&fe.outlet&&fe.outlet!==ie&&(fe.component=bi),fe}function Gi(le){return le.outlet||ie}function Co(le){if(!le)return null;if(le.routeConfig?._injector)return le.routeConfig._injector;for(let Ce=le.parent;Ce;Ce=Ce.parent){const fe=Ce.routeConfig;if(fe?._loadedInjector)return fe._loadedInjector;if(fe?._injector)return fe._injector}return null}class ys{constructor(Ce,fe,Me,We,tt){this.routeReuseStrategy=Ce,this.futureState=fe,this.currState=Me,this.forwardEvent=We,this.inputBindingEnabled=tt}activate(Ce){const fe=this.futureState._root,Me=this.currState?this.currState._root:null;this.deactivateChildRoutes(fe,Me,Ce),hr(this.futureState.root),this.activateChildRoutes(fe,Me,Ce)}deactivateChildRoutes(Ce,fe,Me){const We=Pn(fe);Ce.children.forEach(tt=>{const xt=tt.value.outlet;this.deactivateRoutes(tt,We[xt],Me),delete We[xt]}),Object.values(We).forEach(tt=>{this.deactivateRouteAndItsChildren(tt,Me)})}deactivateRoutes(Ce,fe,Me){const We=Ce.value,tt=fe?fe.value:null;if(We===tt)if(We.component){const xt=Me.getContext(We.outlet);xt&&this.deactivateChildRoutes(Ce,fe,xt.children)}else this.deactivateChildRoutes(Ce,fe,Me);else tt&&this.deactivateRouteAndItsChildren(fe,Me)}deactivateRouteAndItsChildren(Ce,fe){Ce.value.component&&this.routeReuseStrategy.shouldDetach(Ce.value.snapshot)?this.detachAndStoreRouteSubtree(Ce,fe):this.deactivateRouteAndOutlet(Ce,fe)}detachAndStoreRouteSubtree(Ce,fe){const Me=fe.getContext(Ce.value.outlet),We=Me&&Ce.value.component?Me.children:fe,tt=Pn(Ce);for(const xt of Object.values(tt))this.deactivateRouteAndItsChildren(xt,We);if(Me&&Me.outlet){const xt=Me.outlet.detach(),gn=Me.children.onOutletDeactivated();this.routeReuseStrategy.store(Ce.value.snapshot,{componentRef:xt,route:Ce,contexts:gn})}}deactivateRouteAndOutlet(Ce,fe){const Me=fe.getContext(Ce.value.outlet),We=Me&&Ce.value.component?Me.children:fe,tt=Pn(Ce);for(const xt of Object.values(tt))this.deactivateRouteAndItsChildren(xt,We);Me&&(Me.outlet&&(Me.outlet.deactivate(),Me.children.onOutletDeactivated()),Me.attachRef=null,Me.route=null)}activateChildRoutes(Ce,fe,Me){const We=Pn(fe);Ce.children.forEach(tt=>{this.activateRoutes(tt,We[tt.value.outlet],Me),this.forwardEvent(new fn(tt.value.snapshot))}),Ce.children.length&&this.forwardEvent(new _n(Ce.value.snapshot))}activateRoutes(Ce,fe,Me){const We=Ce.value,tt=fe?fe.value:null;if(hr(We),We===tt)if(We.component){const xt=Me.getOrCreateContext(We.outlet);this.activateChildRoutes(Ce,fe,xt.children)}else this.activateChildRoutes(Ce,fe,Me);else if(We.component){const xt=Me.getOrCreateContext(We.outlet);if(this.routeReuseStrategy.shouldAttach(We.snapshot)){const gn=this.routeReuseStrategy.retrieve(We.snapshot);this.routeReuseStrategy.store(We.snapshot,null),xt.children.onOutletReAttached(gn.contexts),xt.attachRef=gn.componentRef,xt.route=gn.route.value,xt.outlet&&xt.outlet.attach(gn.componentRef,gn.route.value),hr(gn.route.value),this.activateChildRoutes(Ce,null,xt.children)}else{const gn=Co(We.snapshot);xt.attachRef=null,xt.route=We,xt.injector=gn,xt.outlet&&xt.outlet.activateWith(We,xt.injector),this.activateChildRoutes(Ce,null,xt.children)}}else this.activateChildRoutes(Ce,null,Me)}}class Go{constructor(Ce){this.path=Ce,this.route=this.path[this.path.length-1]}}class ns{constructor(Ce,fe){this.component=Ce,this.route=fe}}function rs(le,Ce,fe){const Me=le._root;return So(Me,Ce?Ce._root:null,fe,[Me.value])}function uo(le,Ce){const fe=Symbol(),Me=Ce.get(le,fe);return Me===fe?"function"!=typeof le||(0,n.\u0275isInjectable)(le)?Ce.get(le):le:Me}function So(le,Ce,fe,Me,We={canDeactivateChecks:[],canActivateChecks:[]}){const tt=Pn(Ce);return le.children.forEach(xt=>{(function cs(le,Ce,fe,Me,We={canDeactivateChecks:[],canActivateChecks:[]}){const tt=le.value,xt=Ce?Ce.value:null,gn=fe?fe.getContext(le.value.outlet):null;if(xt&&tt.routeConfig===xt.routeConfig){const ln=function co(le,Ce,fe){if("function"==typeof fe)return fe(le,Ce);switch(fe){case"pathParamsChange":return!He(le.url,Ce.url);case"pathParamsOrQueryParamsChange":return!He(le.url,Ce.url)||!rt(le.queryParams,Ce.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yi(le,Ce)||!rt(le.queryParams,Ce.queryParams);default:return!Yi(le,Ce)}}(xt,tt,tt.routeConfig.runGuardsAndResolvers);ln?We.canActivateChecks.push(new Go(Me)):(tt.data=xt.data,tt._resolvedData=xt._resolvedData),So(le,Ce,tt.component?gn?gn.children:null:fe,Me,We),ln&&gn&&gn.outlet&&gn.outlet.isActivated&&We.canDeactivateChecks.push(new ns(gn.outlet.component,xt))}else xt&&Fo(Ce,gn,We),We.canActivateChecks.push(new Go(Me)),So(le,null,tt.component?gn?gn.children:null:fe,Me,We)})(xt,tt[xt.value.outlet],fe,Me.concat([xt.value]),We),delete tt[xt.value.outlet]}),Object.entries(tt).forEach(([xt,gn])=>Fo(gn,fe.getContext(xt),We)),We}function Fo(le,Ce,fe){const Me=Pn(le),We=le.value;Object.entries(Me).forEach(([tt,xt])=>{Fo(xt,We.component?Ce?Ce.children.getContext(tt):null:Ce,fe)}),fe.canDeactivateChecks.push(new ns(We.component&&Ce&&Ce.outlet&&Ce.outlet.isActivated?Ce.outlet.component:null,We))}function Do(le){return"function"==typeof le}function ut(le){return le instanceof g.G||"EmptyError"===le?.name}const kt=Symbol("INITIAL_VALUE");function $n(){return(0,F.G)(le=>(0,l.E)(le.map(Ce=>Ce.pipe((0,ee.U)(1),function X(...le){const Ce=(0,m.e_)(le);return(0,T.i)((fe,Me)=>{(Ce?h(le,fe,Ce):h(le,fe)).subscribe(Me)})}(kt)))).pipe((0,V.k)(Ce=>{for(const fe of Ce)if(!0!==fe){if(fe===kt)return kt;if(!1===fe||fe instanceof Pe)return fe}return!0}),(0,ce.I)(Ce=>Ce!==kt),(0,ee.U)(1)))}function Zo(le){return(0,v.W)((0,Y.y)(Ce=>{if(pr(Ce))throw qr(0,Ce)}),(0,V.k)(Ce=>!0===Ce))}class _o{constructor(Ce){this.segmentGroup=Ce||null}}class Di extends Error{constructor(Ce){super(),this.urlTree=Ce}}function To(le){return M(new _o(le))}class fs{constructor(Ce,fe){this.urlSerializer=Ce,this.urlTree=fe}lineralizeSegments(Ce,fe){let Me=[],We=fe.root;for(;;){if(Me=Me.concat(We.segments),0===We.numberOfChildren)return(0,e.of)(Me);if(We.numberOfChildren>1||!We.children[ie])return M(new n.\u0275RuntimeError(4e3,!1));We=We.children[ie]}}applyRedirectCommands(Ce,fe,Me){const We=this.applyRedirectCreateUrlTree(fe,this.urlSerializer.parse(fe),Ce,Me);if(fe.startsWith("/"))throw new Di(We);return We}applyRedirectCreateUrlTree(Ce,fe,Me,We){const tt=this.createSegmentGroup(Ce,fe.root,Me,We);return new Pe(tt,this.createQueryParams(fe.queryParams,this.urlTree.queryParams),fe.fragment)}createQueryParams(Ce,fe){const Me={};return Object.entries(Ce).forEach(([We,tt])=>{if("string"==typeof tt&&tt.startsWith(":")){const gn=tt.substring(1);Me[We]=fe[gn]}else Me[We]=tt}),Me}createSegmentGroup(Ce,fe,Me,We){const tt=this.createSegments(Ce,fe.segments,Me,We);let xt={};return Object.entries(fe.children).forEach(([gn,ln])=>{xt[gn]=this.createSegmentGroup(Ce,ln,Me,We)}),new Ge(tt,xt)}createSegments(Ce,fe,Me,We){return fe.map(tt=>tt.path.startsWith(":")?this.findPosParam(Ce,tt,We):this.findOrReturn(tt,Me))}findPosParam(Ce,fe,Me){const We=Me[fe.path.substring(1)];if(!We)throw new n.\u0275RuntimeError(4001,!1);return We}findOrReturn(Ce,fe){let Me=0;for(const We of fe){if(We.path===Ce.path)return fe.splice(Me),We;Me++}return Ce}}const Je={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oe(le,Ce,fe,Me,We){const tt=pe(le,Ce,fe);return tt.matched?(Me=function Eo(le,Ce){return le.providers&&!le._injector&&(le._injector=(0,n.createEnvironmentInjector)(le.providers,Ce,`Route: ${le.path}`)),le._injector??Ce}(Ce,Me),function xo(le,Ce,fe,Me){const We=Ce.canMatch;if(!We||0===We.length)return(0,e.of)(!0);const tt=We.map(xt=>{const gn=uo(xt,le);return Bt(function ke(le){return le&&Do(le.canMatch)}(gn)?gn.canMatch(Ce,fe):(0,n.runInInjectionContext)(le,()=>gn(Ce,fe)))});return(0,e.of)(tt).pipe($n(),Zo())}(Me,Ce,fe).pipe((0,V.k)(xt=>!0===xt?tt:{...Je}))):(0,e.of)(tt)}function pe(le,Ce,fe){if("**"===Ce.path)return function Le(le){return{matched:!0,parameters:le.length>0?bt(le).parameters:{},consumedSegments:le,remainingSegments:[],positionalParamSegments:{}}}(fe);if(""===Ce.path)return"full"===Ce.pathMatch&&(le.hasChildren()||fe.length>0)?{...Je}:{matched:!0,consumedSegments:[],remainingSegments:fe,parameters:{},positionalParamSegments:{}};const We=(Ce.matcher||nt)(fe,le,Ce);if(!We)return{...Je};const tt={};Object.entries(We.posParams??{}).forEach(([gn,ln])=>{tt[gn]=ln.path});const xt=We.consumed.length>0?{...tt,...We.consumed[We.consumed.length-1].parameters}:tt;return{matched:!0,consumedSegments:We.consumed,remainingSegments:fe.slice(We.consumed.length),parameters:xt,positionalParamSegments:We.posParams??{}}}function Ze(le,Ce,fe,Me){return fe.length>0&&function Ut(le,Ce,fe){return fe.some(Me=>bn(le,Ce,Me)&&Gi(Me)!==ie)}(le,fe,Me)?{segmentGroup:new Ge(Ce,Rt(Me,new Ge(fe,le.children))),slicedSegments:[]}:0===fe.length&&function zt(le,Ce,fe){return fe.some(Me=>bn(le,Ce,Me))}(le,fe,Me)?{segmentGroup:new Ge(le.segments,Dt(le,fe,Me,le.children)),slicedSegments:fe}:{segmentGroup:new Ge(le.segments,le.children),slicedSegments:fe}}function Dt(le,Ce,fe,Me){const We={};for(const tt of fe)if(bn(le,Ce,tt)&&!Me[Gi(tt)]){const xt=new Ge([],{});We[Gi(tt)]=xt}return{...Me,...We}}function Rt(le,Ce){const fe={};fe[ie]=Ce;for(const Me of le)if(""===Me.path&&Gi(Me)!==ie){const We=new Ge([],{});fe[Gi(Me)]=We}return fe}function bn(le,Ce,fe){return(!(le.hasChildren()||Ce.length>0)||"full"!==fe.pathMatch)&&""===fe.path}class $r{}class vr{constructor(Ce,fe,Me,We,tt,xt,gn){this.injector=Ce,this.configLoader=fe,this.rootComponentType=Me,this.config=We,this.urlTree=tt,this.paramsInheritanceStrategy=xt,this.urlSerializer=gn,this.applyRedirects=new fs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Ce){return new n.\u0275RuntimeError(4002,`'${Ce.segmentGroup}'`)}recognize(){const Ce=Ze(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Ce).pipe((0,V.k)(fe=>{const Me=new ti([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ie,this.rootComponentType,null,{}),We=new _r(Me,fe),tt=new Xr("",We),xt=Jn(Me,[],this.urlTree.queryParams,this.urlTree.fragment);return xt.queryParams=this.urlTree.queryParams,tt.url=this.urlSerializer.serialize(xt),this.inheritParamsAndData(tt._root,null),{state:tt,tree:xt}}))}match(Ce){return this.processSegmentGroup(this.injector,this.config,Ce,ie).pipe((0,H.a)(Me=>{if(Me instanceof Di)return this.urlTree=Me.urlTree,this.match(Me.urlTree.root);throw Me instanceof _o?this.noMatchError(Me):Me}))}inheritParamsAndData(Ce,fe){const Me=Ce.value,We=Fn(Me,fe,this.paramsInheritanceStrategy);Me.params=Object.freeze(We.params),Me.data=Object.freeze(We.data),Ce.children.forEach(tt=>this.inheritParamsAndData(tt,Me))}processSegmentGroup(Ce,fe,Me,We){return 0===Me.segments.length&&Me.hasChildren()?this.processChildren(Ce,fe,Me):this.processSegment(Ce,fe,Me,Me.segments,We,!0).pipe((0,V.k)(tt=>tt instanceof _r?[tt]:[]))}processChildren(Ce,fe,Me){const We=[];for(const tt of Object.keys(Me.children))"primary"===tt?We.unshift(tt):We.push(tt);return(0,a.Q)(We).pipe((0,ne.m)(tt=>{const xt=Me.children[tt],gn=function Wo(le,Ce){const fe=le.filter(Me=>Gi(Me)===Ce);return fe.push(...le.filter(Me=>Gi(Me)!==Ce)),fe}(fe,tt);return this.processSegmentGroup(Ce,gn,xt,tt)}),function J(le,Ce){return(0,T.i)(function ae(le,Ce,fe,Me,We){return(tt,xt)=>{let gn=fe,ln=Ce,Zn=0;tt.subscribe((0,R.e)(xt,xr=>{const di=Zn++;ln=gn?le(ln,xr,di):(gn=!0,xr),Me&&xt.next(ln)},We&&(()=>{gn&&xt.next(ln),xt.complete()})))}}(le,Ce,arguments.length>=2,!0))}((tt,xt)=>(tt.push(...xt),tt)),(0,K.G)(null),function G(le,Ce){const fe=arguments.length>=2;return Me=>Me.pipe(le?(0,ce.I)((We,tt)=>le(We,tt,Me)):p.Z,W(1),fe?(0,K.G)(Ce):(0,re._)(()=>new g.G))}(),(0,b.O)(tt=>{if(null===tt)return To(Me);const xt=ji(tt);return function mi(le){le.sort((Ce,fe)=>Ce.value.outlet===ie?-1:fe.value.outlet===ie?1:Ce.value.outlet.localeCompare(fe.value.outlet))}(xt),(0,e.of)(xt)}))}processSegment(Ce,fe,Me,We,tt,xt){return(0,a.Q)(fe).pipe((0,ne.m)(gn=>this.processSegmentAgainstRoute(gn._injector??Ce,fe,gn,Me,We,tt,xt).pipe((0,H.a)(ln=>{if(ln instanceof _o)return(0,e.of)(null);throw ln}))),(0,Q.K)(gn=>!!gn),(0,H.a)(gn=>{if(ut(gn))return function Kn(le,Ce,fe){return 0===Ce.length&&!le.children[fe]}(Me,We,tt)?(0,e.of)(new $r):To(Me);throw gn}))}processSegmentAgainstRoute(Ce,fe,Me,We,tt,xt,gn){return function Wn(le,Ce,fe,Me){return!!(Gi(le)===Me||Me!==ie&&bn(Ce,fe,le))&&pe(Ce,le,fe).matched}(Me,We,tt,xt)?void 0===Me.redirectTo?this.matchSegmentAgainstRoute(Ce,We,Me,tt,xt):this.allowRedirects&&gn?this.expandSegmentAgainstRouteUsingRedirect(Ce,We,fe,Me,tt,xt):To(We):To(We)}expandSegmentAgainstRouteUsingRedirect(Ce,fe,Me,We,tt,xt){const{matched:gn,consumedSegments:ln,positionalParamSegments:Zn,remainingSegments:xr}=pe(fe,We,tt);if(!gn)return To(fe);We.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const di=this.applyRedirects.applyRedirectCommands(ln,We.redirectTo,Zn);return this.applyRedirects.lineralizeSegments(We,di).pipe((0,b.O)(vo=>this.processSegment(Ce,Me,fe,vo.concat(xr),xt,!1)))}matchSegmentAgainstRoute(Ce,fe,Me,We,tt){const xt=oe(fe,Me,We,Ce);return"**"===Me.path&&(fe.children={}),xt.pipe((0,F.G)(gn=>gn.matched?this.getChildConfig(Ce=Me._injector??Ce,Me,We).pipe((0,F.G)(({routes:ln})=>{const Zn=Me._loadedInjector??Ce,{consumedSegments:xr,remainingSegments:di,parameters:vo}=gn,da=new ti(xr,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ji(le){return le.data||{}}(Me),Gi(Me),Me.component??Me._loadedComponent??null,Me,function Sn(le){return le.resolve||{}}(Me)),{segmentGroup:Hs,slicedSegments:ha}=Ze(fe,xr,di,ln);if(0===ha.length&&Hs.hasChildren())return this.processChildren(Zn,ln,Hs).pipe((0,V.k)(Dr=>null===Dr?null:new _r(da,Dr)));if(0===ln.length&&0===ha.length)return(0,e.of)(new _r(da,[]));const to=Gi(Me)===tt;return this.processSegment(Zn,ln,Hs,ha,to?ie:tt,!0).pipe((0,V.k)(Dr=>new _r(da,Dr instanceof _r?[Dr]:[])))})):To(fe)))}getChildConfig(Ce,fe,Me){return fe.children?(0,e.of)({routes:fe.children,injector:Ce}):fe.loadChildren?void 0!==fe._loadedRoutes?(0,e.of)({routes:fe._loadedRoutes,injector:fe._loadedInjector}):function Zi(le,Ce,fe,Me){const We=Ce.canLoad;if(void 0===We||0===We.length)return(0,e.of)(!0);const tt=We.map(xt=>{const gn=uo(xt,le);return Bt(function hs(le){return le&&Do(le.canLoad)}(gn)?gn.canLoad(Ce,fe):(0,n.runInInjectionContext)(le,()=>gn(Ce,fe)))});return(0,e.of)(tt).pipe($n(),Zo())}(Ce,fe,Me).pipe((0,b.O)(We=>We?this.configLoader.loadChildren(Ce,fe).pipe((0,Y.y)(tt=>{fe._loadedRoutes=tt.routes,fe._loadedInjector=tt.injector})):function io(le){return M(ar(!1,B.GuardRejected))}())):(0,e.of)({routes:[],injector:Ce})}}function Ai(le){const Ce=le.value.routeConfig;return Ce&&""===Ce.path}function ji(le){const Ce=[],fe=new Set;for(const Me of le){if(!Ai(Me)){Ce.push(Me);continue}const We=Ce.find(tt=>Me.value.routeConfig===tt.value.routeConfig);void 0!==We?(We.children.push(...Me.children),fe.add(We)):Ce.push(Me)}for(const Me of fe){const We=ji(Me.children);Ce.push(new _r(Me.value,We))}return Ce.filter(Me=>!fe.has(Me))}function Pi(le){const Ce=le.children.map(fe=>Pi(fe)).flat();return[le,...Ce]}function ot(le){return(0,F.G)(Ce=>{const fe=le(Ce);return fe?(0,a.Q)(fe).pipe((0,V.k)(()=>Ce)):(0,e.of)(Ce)})}let O=(()=>{class le{buildTitle(fe){let Me,We=fe.root;for(;void 0!==We;)Me=this.getResolvedTitleForRoute(We)??Me,We=We.children.find(tt=>tt.outlet===ie);return Me}getResolvedTitleForRoute(fe){return fe.data[De]}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:()=>(0,n.inject)(te),providedIn:"root"})}return le})(),te=(()=>{class le extends O{constructor(fe){super(),this.title=fe}updateTitle(fe){const Me=this.buildTitle(fe);void 0!==Me&&this.title.setTitle(Me)}static#e=this.\u0275fac=function(Me){return new(Me||le)(n.\u0275\u0275inject(be.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();const j=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),he=new n.InjectionToken("");let Oe=(()=>{class le{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(fe){if(this.componentLoaders.get(fe))return this.componentLoaders.get(fe);if(fe._loadedComponent)return(0,e.of)(fe._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(fe);const Me=Bt(fe.loadComponent()).pipe((0,V.k)(cn),(0,Y.y)(tt=>{this.onLoadEndListener&&this.onLoadEndListener(fe),fe._loadedComponent=tt}),(0,ye.U)(()=>{this.componentLoaders.delete(fe)})),We=new P(Me,()=>new L.E).pipe(N());return this.componentLoaders.set(fe,We),We}loadChildren(fe,Me){if(this.childrenLoaders.get(Me))return this.childrenLoaders.get(Me);if(Me._loadedRoutes)return(0,e.of)({routes:Me._loadedRoutes,injector:Me._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Me);const tt=vt(Me,this.compiler,fe,this.onLoadEndListener).pipe((0,ye.U)(()=>{this.childrenLoaders.delete(Me)})),xt=new P(tt,()=>new L.E).pipe(N());return this.childrenLoaders.set(Me,xt),xt}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();function vt(le,Ce,fe,Me){return Bt(le.loadChildren()).pipe((0,V.k)(cn),(0,b.O)(We=>We instanceof n.NgModuleFactory||Array.isArray(We)?(0,e.of)(We):(0,a.Q)(Ce.compileModuleAsync(We))),(0,V.k)(We=>{Me&&Me(le);let tt,xt;return Array.isArray(We)?xt=We:(tt=We.create(fe).injector,xt=tt.get(he,[],{optional:!0,self:!0}).flat()),{routes:xt.map(Li),injector:tt}}))}function cn(le){return function Ft(le){return le&&"object"==typeof le&&"default"in le}(le)?le.default:le}let q=(()=>{class le{static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:()=>(0,n.inject)(Ve),providedIn:"root"})}return le})(),Ve=(()=>{class le{shouldProcessUrl(fe){return!0}extract(fe){return fe}merge(fe,Me){return fe}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();const Se=new n.InjectionToken(""),Re=new n.InjectionToken("");function Mt(le,Ce,fe){const Me=le.get(Re),We=le.get(x.DOCUMENT);return le.get(n.NgZone).runOutsideAngular(()=>{if(!We.startViewTransition||Me.skipNextTransition)return Me.skipNextTransition=!1,Promise.resolve();let tt;const xt=new Promise(Zn=>{tt=Zn}),gn=We.startViewTransition(()=>(tt(),function Xt(le){return new Promise(Ce=>{(0,n.afterNextRender)(Ce,{injector:le})})}(le))),{onViewTransitionCreated:ln}=Me;return ln&&(0,n.runInInjectionContext)(le,()=>ln({transition:gn,from:Ce,to:fe})),xt})}let sn=(()=>{class le{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new L.E,this.transitionAbortSubject=new L.E,this.configLoader=(0,n.inject)(Oe),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(lt),this.rootContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(x.Location),this.inputBindingEnabled=null!==(0,n.inject)(zi,{optional:!0}),this.titleStrategy=(0,n.inject)(O),this.options=(0,n.inject)(j,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(q),this.createViewTransition=(0,n.inject)(Se,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=We=>this.events.next(new Jt(We)),this.configLoader.onLoadStartListener=We=>this.events.next(new Nt(We))}complete(){this.transitions?.complete()}handleNavigationRequest(fe){const Me=++this.navigationId;this.transitions?.next({...this.transitions.value,...fe,id:Me})}setupNavigations(fe,Me,We){return this.transitions=new c.g({id:0,currentUrlTree:Me,currentRawUrl:Me,extractedUrl:this.urlHandlingStrategy.extract(Me),urlAfterRedirects:this.urlHandlingStrategy.extract(Me),rawUrl:Me,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:We.snapshot,targetSnapshot:null,currentRouterState:We,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ce.I)(tt=>0!==tt.id),(0,V.k)(tt=>({...tt,extractedUrl:this.urlHandlingStrategy.extract(tt.rawUrl)})),(0,F.G)(tt=>{this.currentTransition=tt;let xt=!1,gn=!1;return(0,e.of)(tt).pipe((0,Y.y)(ln=>{this.currentNavigation={id:ln.id,initialUrl:ln.rawUrl,extractedUrl:ln.extractedUrl,trigger:ln.source,extras:ln.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,F.G)(ln=>{const Zn=!fe.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Zn&&"reload"!==(ln.extras.onSameUrlNavigation??fe.onSameUrlNavigation)){const di="";return this.events.next(new Fe(ln.id,this.urlSerializer.serialize(ln.rawUrl),di,z.IgnoredSameUrlNavigation)),ln.resolve(null),E.k}if(this.urlHandlingStrategy.shouldProcessUrl(ln.rawUrl))return(0,e.of)(ln).pipe((0,F.G)(di=>{const vo=this.transitions?.getValue();return this.events.next(new Ei(di.id,this.urlSerializer.serialize(di.extractedUrl),di.source,di.restoredState)),vo!==this.transitions?.getValue()?E.k:Promise.resolve(di)}),function wr(le,Ce,fe,Me,We,tt){return(0,b.O)(xt=>function fr(le,Ce,fe,Me,We,tt,xt="emptyOnly"){return new vr(le,Ce,fe,Me,We,xt,tt).recognize()}(le,Ce,fe,Me,xt.extractedUrl,We,tt).pipe((0,V.k)(({state:gn,tree:ln})=>({...xt,targetSnapshot:gn,urlAfterRedirects:ln}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,fe.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Y.y)(di=>{tt.targetSnapshot=di.targetSnapshot,tt.urlAfterRedirects=di.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:di.urlAfterRedirects};const vo=new me(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(vo)}));if(Zn&&this.urlHandlingStrategy.shouldProcessUrl(ln.currentRawUrl)){const{id:di,extractedUrl:vo,source:da,restoredState:Hs,extras:ha}=ln,to=new Ei(di,this.urlSerializer.serialize(vo),da,Hs);this.events.next(to);const Dr=si(this.rootComponentType).snapshot;return this.currentTransition=tt={...ln,targetSnapshot:Dr,urlAfterRedirects:vo,extras:{...ha,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vo,(0,e.of)(tt)}{const di="";return this.events.next(new Fe(ln.id,this.urlSerializer.serialize(ln.extractedUrl),di,z.IgnoredByUrlHandlingStrategy)),ln.resolve(null),E.k}}),(0,Y.y)(ln=>{const Zn=new Ae(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot);this.events.next(Zn)}),(0,V.k)(ln=>(this.currentTransition=tt={...ln,guards:rs(ln.targetSnapshot,ln.currentSnapshot,this.rootContexts)},tt)),function Vn(le,Ce){return(0,b.O)(fe=>{const{targetSnapshot:Me,currentSnapshot:We,guards:{canActivateChecks:tt,canDeactivateChecks:xt}}=fe;return 0===xt.length&&0===tt.length?(0,e.of)({...fe,guardsResult:!0}):function $i(le,Ce,fe,Me){return(0,a.Q)(le).pipe((0,b.O)(We=>function is(le,Ce,fe,Me,We){const tt=Ce&&Ce.routeConfig?Ce.routeConfig.canDeactivate:null;if(!tt||0===tt.length)return(0,e.of)(!0);const xt=tt.map(gn=>{const ln=Co(Ce)??We,Zn=uo(gn,ln);return Bt(function Qe(le){return le&&Do(le.canDeactivate)}(Zn)?Zn.canDeactivate(le,Ce,fe,Me):(0,n.runInInjectionContext)(ln,()=>Zn(le,Ce,fe,Me))).pipe((0,Q.K)())});return(0,e.of)(xt).pipe($n())}(We.component,We.route,fe,Ce,Me)),(0,Q.K)(We=>!0!==We,!0))}(xt,Me,We,le).pipe((0,b.O)(gn=>gn&&function Ko(le){return"boolean"==typeof le}(gn)?function Mo(le,Ce,fe,Me){return(0,a.Q)(Ce).pipe((0,ne.m)(We=>h(function ho(le,Ce){return null!==le&&Ce&&Ce(new mn(le)),(0,e.of)(!0)}(We.route.parent,Me),function Ao(le,Ce){return null!==le&&Ce&&Ce(new Cn(le)),(0,e.of)(!0)}(We.route,Me),function Xo(le,Ce,fe){const Me=Ce[Ce.length-1],tt=Ce.slice(0,Ce.length-1).reverse().map(xt=>function Ki(le){const Ce=le.routeConfig?le.routeConfig.canActivateChild:null;return Ce&&0!==Ce.length?{node:le,guards:Ce}:null}(xt)).filter(xt=>null!==xt).map(xt=>(0,C.Q)(()=>{const gn=xt.guards.map(ln=>{const Zn=Co(xt.node)??fe,xr=uo(ln,Zn);return Bt(function Ye(le){return le&&Do(le.canActivateChild)}(xr)?xr.canActivateChild(Me,le):(0,n.runInInjectionContext)(Zn,()=>xr(Me,le))).pipe((0,Q.K)())});return(0,e.of)(gn).pipe($n())}));return(0,e.of)(tt).pipe($n())}(le,We.path,fe),function Ur(le,Ce,fe){const Me=Ce.routeConfig?Ce.routeConfig.canActivate:null;if(!Me||0===Me.length)return(0,e.of)(!0);const We=Me.map(tt=>(0,C.Q)(()=>{const xt=Co(Ce)??fe,gn=uo(tt,xt);return Bt(function Qo(le){return le&&Do(le.canActivate)}(gn)?gn.canActivate(Ce,le):(0,n.runInInjectionContext)(xt,()=>gn(Ce,le))).pipe((0,Q.K)())}));return(0,e.of)(We).pipe($n())}(le,We.route,fe))),(0,Q.K)(We=>!0!==We,!0))}(Me,tt,le,Ce):(0,e.of)(gn)),(0,V.k)(gn=>({...fe,guardsResult:gn})))})}(this.environmentInjector,ln=>this.events.next(ln)),(0,Y.y)(ln=>{if(tt.guardsResult=ln.guardsResult,pr(ln.guardsResult))throw qr(0,ln.guardsResult);const Zn=new et(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot,!!ln.guardsResult);this.events.next(Zn)}),(0,ce.I)(ln=>!!ln.guardsResult||(this.cancelNavigationTransition(ln,"",B.GuardRejected),!1)),ot(ln=>{if(ln.guards.canActivateChecks.length)return(0,e.of)(ln).pipe((0,Y.y)(Zn=>{const xr=new pt(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(xr)}),(0,F.G)(Zn=>{let xr=!1;return(0,e.of)(Zn).pipe(function Qi(le,Ce){return(0,b.O)(fe=>{const{targetSnapshot:Me,guards:{canActivateChecks:We}}=fe;if(!We.length)return(0,e.of)(fe);const tt=new Set(We.map(ln=>ln.route)),xt=new Set;for(const ln of tt)if(!xt.has(ln))for(const Zn of Pi(ln))xt.add(Zn);let gn=0;return(0,a.Q)(xt).pipe((0,ne.m)(ln=>tt.has(ln)?function ei(le,Ce,fe,Me){const We=le.routeConfig,tt=le._resolve;return void 0!==We?.title&&!ko(We)&&(tt[De]=We.title),function oo(le,Ce,fe,Me){const We=mt(le);if(0===We.length)return(0,e.of)({});const tt={};return(0,a.Q)(We).pipe((0,b.O)(xt=>function Be(le,Ce,fe,Me){const We=Co(Ce)??Me,tt=uo(le,We);return Bt(tt.resolve?tt.resolve(Ce,fe):(0,n.runInInjectionContext)(We,()=>tt(Ce,fe)))}(le[xt],Ce,fe,Me).pipe((0,Q.K)(),(0,Y.y)(gn=>{tt[xt]=gn}))),W(1),(0,ue.e)(tt),(0,H.a)(xt=>ut(xt)?E.k:M(xt)))}(tt,le,Ce,Me).pipe((0,V.k)(xt=>(le._resolvedData=xt,le.data=Fn(le,le.parent,fe).resolve,null)))}(ln,Me,le,Ce):(ln.data=Fn(ln,ln.parent,le).resolve,(0,e.of)(void 0))),(0,Y.y)(()=>gn++),W(1),(0,b.O)(ln=>gn===xt.size?(0,e.of)(fe):E.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Y.y)({next:()=>xr=!0,complete:()=>{xr||this.cancelNavigationTransition(Zn,"",B.NoDataFromResolver)}}))}),(0,Y.y)(Zn=>{const xr=new At(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(xr)}))}),ot(ln=>{const Zn=xr=>{const di=[];xr.routeConfig?.loadComponent&&!xr.routeConfig._loadedComponent&&di.push(this.configLoader.loadComponent(xr.routeConfig).pipe((0,Y.y)(vo=>{xr.component=vo}),(0,V.k)(()=>{})));for(const vo of xr.children)di.push(...Zn(vo));return di};return(0,l.E)(Zn(ln.targetSnapshot.root)).pipe((0,K.G)(null),(0,ee.U)(1))}),ot(()=>this.afterPreactivation()),(0,F.G)(()=>{const{currentSnapshot:ln,targetSnapshot:Zn}=tt,xr=this.createViewTransition?.(this.environmentInjector,ln.root,Zn.root);return xr?(0,a.Q)(xr).pipe((0,V.k)(()=>tt)):(0,e.of)(tt)}),(0,V.k)(ln=>{const Zn=function ro(le,Ce,fe){const Me=Rr(le,Ce._root,fe?fe._root:void 0);return new Gn(Me,Ce)}(fe.routeReuseStrategy,ln.targetSnapshot,ln.currentRouterState);return this.currentTransition=tt={...ln,targetRouterState:Zn},this.currentNavigation.targetRouterState=Zn,tt}),(0,Y.y)(()=>{this.events.next(new Nn)}),((le,Ce,fe,Me)=>(0,V.k)(We=>(new ys(Ce,We.targetRouterState,We.currentRouterState,fe,Me).activate(le),We)))(this.rootContexts,fe.routeReuseStrategy,ln=>this.events.next(ln),this.inputBindingEnabled),(0,ee.U)(1),(0,Y.y)({next:ln=>{xt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects))),this.titleStrategy?.updateTitle(ln.targetRouterState.snapshot),ln.resolve(!0)},complete:()=>{xt=!0}}),(0,Ie.a)(this.transitionAbortSubject.pipe((0,Y.y)(ln=>{throw ln}))),(0,ye.U)(()=>{!xt&&!gn&&this.cancelNavigationTransition(tt,"",B.SupersededByNewNavigation),this.currentTransition?.id===tt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,H.a)(ln=>{if(gn=!0,wi(ln))this.events.next(new de(tt.id,this.urlSerializer.serialize(tt.extractedUrl),ln.message,ln.cancellationCode)),function bo(le){return wi(le)&&pr(le.url)}(ln)?this.events.next(new lr(ln.url)):tt.resolve(!1);else{this.events.next(new Te(tt.id,this.urlSerializer.serialize(tt.extractedUrl),ln,tt.targetSnapshot??void 0));try{tt.resolve(fe.errorHandler(ln))}catch(Zn){this.options.resolveNavigationPromiseOnError?tt.resolve(!1):tt.reject(Zn)}}return E.k}))}))}cancelNavigationTransition(fe,Me,We){const tt=new de(fe.id,this.urlSerializer.serialize(fe.extractedUrl),Me,We);this.events.next(tt),fe.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();function In(le){return le!==Er}let gr=(()=>{class le{static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:()=>(0,n.inject)(Wr),providedIn:"root"})}return le})();class br{shouldDetach(Ce){return!1}store(Ce,fe){}shouldAttach(Ce){return!1}retrieve(Ce){return null}shouldReuseRoute(Ce,fe){return Ce.routeConfig===fe.routeConfig}}let Wr=(()=>{class le extends br{static#e=this.\u0275fac=(()=>{let fe;return function(We){return(fe||(fe=n.\u0275\u0275getInheritedFactory(le)))(We||le)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),Cr=(()=>{class le{static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:()=>(0,n.inject)(Qr),providedIn:"root"})}return le})(),Qr=(()=>{class le extends Cr{constructor(){super(...arguments),this.location=(0,n.inject)(x.Location),this.urlSerializer=(0,n.inject)(lt),this.options=(0,n.inject)(j,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(q),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Pe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=si(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(fe){return this.location.subscribe(Me=>{"popstate"===Me.type&&fe(Me.url,Me.state)})}handleRouterEvent(fe,Me){if(fe instanceof Ei)this.stateMemento=this.createStateMemento();else if(fe instanceof Fe)this.rawUrlTree=Me.initialUrl;else if(fe instanceof me){if("eager"===this.urlUpdateStrategy&&!Me.extras.skipLocationChange){const We=this.urlHandlingStrategy.merge(Me.finalUrl,Me.initialUrl);this.setBrowserUrl(We,Me)}}else fe instanceof Nn?(this.currentUrlTree=Me.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Me.finalUrl,Me.initialUrl),this.routerState=Me.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Me.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Me))):fe instanceof de&&(fe.code===B.GuardRejected||fe.code===B.NoDataFromResolver)?this.restoreHistory(Me):fe instanceof Te?this.restoreHistory(Me,!0):fe instanceof un&&(this.lastSuccessfulId=fe.id,this.currentPageId=this.browserPageId)}setBrowserUrl(fe,Me){const We=this.urlSerializer.serialize(fe);if(this.location.isCurrentPathEqualTo(We)||Me.extras.replaceUrl){const xt={...Me.extras.state,...this.generateNgRouterState(Me.id,this.browserPageId)};this.location.replaceState(We,"",xt)}else{const tt={...Me.extras.state,...this.generateNgRouterState(Me.id,this.browserPageId+1)};this.location.go(We,"",tt)}}restoreHistory(fe,Me=!1){if("computed"===this.canceledNavigationResolution){const tt=this.currentPageId-this.browserPageId;0!==tt?this.location.historyGo(tt):this.currentUrlTree===fe.finalUrl&&0===tt&&(this.resetState(fe),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Me&&this.resetState(fe),this.resetUrlToCurrentUrlTree())}resetState(fe){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,fe.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(fe,Me){return"computed"===this.canceledNavigationResolution?{navigationId:fe,\u0275routerPageId:Me}:{navigationId:fe}}static#e=this.\u0275fac=(()=>{let fe;return function(We){return(fe||(fe=n.\u0275\u0275getInheritedFactory(le)))(We||le)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();var Hr=function(le){return le[le.COMPLETE=0]="COMPLETE",le[le.FAILED=1]="FAILED",le[le.REDIRECTING=2]="REDIRECTING",le}(Hr||{});function Ri(le,Ce){le.events.pipe((0,ce.I)(fe=>fe instanceof un||fe instanceof de||fe instanceof Te||fe instanceof Fe),(0,V.k)(fe=>fe instanceof un||fe instanceof Fe?Hr.COMPLETE:fe instanceof de&&(fe.code===B.Redirect||fe.code===B.SupersededByNewNavigation)?Hr.REDIRECTING:Hr.FAILED),(0,ce.I)(fe=>fe!==Hr.REDIRECTING),(0,ee.U)(1)).subscribe(()=>{Ce()})}function eo(le){throw le}const Vo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fo=(()=>{class le{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(Cr),this.options=(0,n.inject)(j,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(sn),this.urlSerializer=(0,n.inject)(lt),this.location=(0,n.inject)(x.Location),this.urlHandlingStrategy=(0,n.inject)(q),this._events=new L.E,this.errorHandler=this.options.errorHandler||eo,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(gr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(he,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(zi,{optional:!0}),this.eventsSubscription=new A.wH,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:fe=>{this.console.warn(fe)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const fe=this.navigationTransitions.events.subscribe(Me=>{try{const We=this.navigationTransitions.currentTransition,tt=this.navigationTransitions.currentNavigation;if(null!==We&&null!==tt)if(this.stateManager.handleRouterEvent(Me,tt),Me instanceof de&&Me.code!==B.Redirect&&Me.code!==B.SupersededByNewNavigation)this.navigated=!0;else if(Me instanceof un)this.navigated=!0;else if(Me instanceof lr){const xt=this.urlHandlingStrategy.merge(Me.url,We.currentRawUrl),gn={info:We.extras.info,skipLocationChange:We.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||In(We.source)};this.scheduleNavigation(xt,Er,null,gn,{resolve:We.resolve,reject:We.reject,promise:We.promise})}(function Yo(le){return!(le instanceof Nn||le instanceof lr)})(Me)&&this._events.next(Me)}catch(We){this.navigationTransitions.transitionAbortSubject.next(We)}});this.eventsSubscription.add(fe)}resetRootComponentType(fe){this.routerState.root.component=fe,this.navigationTransitions.rootComponentType=fe}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Er,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((fe,Me)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(fe,"popstate",Me)},0)})}navigateToSyncWithBrowser(fe,Me,We){const tt={replaceUrl:!0},xt=We?.navigationId?We:null;if(We){const ln={...We};delete ln.navigationId,delete ln.\u0275routerPageId,0!==Object.keys(ln).length&&(tt.state=ln)}const gn=this.parseUrl(fe);this.scheduleNavigation(gn,Me,xt,tt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(fe){this.config=fe.map(Li),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(fe,Me={}){const{relativeTo:We,queryParams:tt,fragment:xt,queryParamsHandling:gn,preserveFragment:ln}=Me,Zn=ln?this.currentUrlTree.fragment:xt;let di,xr=null;switch(gn){case"merge":xr={...this.currentUrlTree.queryParams,...tt};break;case"preserve":xr=this.currentUrlTree.queryParams;break;default:xr=tt||null}null!==xr&&(xr=this.removeEmptyProps(xr));try{di=er(We?We.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof fe[0]||!fe[0].startsWith("/"))&&(fe=[]),di=this.currentUrlTree.root}return Or(di,fe,xr,Zn??null)}navigateByUrl(fe,Me={skipLocationChange:!1}){const We=pr(fe)?fe:this.parseUrl(fe),tt=this.urlHandlingStrategy.merge(We,this.rawUrlTree);return this.scheduleNavigation(tt,Er,null,Me)}navigate(fe,Me={skipLocationChange:!1}){return function so(le){for(let Ce=0;Ce(null!=tt&&(Me[We]=tt),Me),{})}scheduleNavigation(fe,Me,We,tt,xt){if(this.disposed)return Promise.resolve(!1);let gn,ln,Zn;xt?(gn=xt.resolve,ln=xt.reject,Zn=xt.promise):Zn=new Promise((di,vo)=>{gn=di,ln=vo});const xr=this.pendingTasks.add();return Ri(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xr))}),this.navigationTransitions.handleNavigationRequest({source:Me,restoredState:We,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:fe,extras:tt,resolve:gn,reject:ln,promise:Zn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zn.catch(di=>Promise.reject(di))}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),hi=(()=>{class le{constructor(fe,Me,We,tt,xt,gn){this.router=fe,this.route=Me,this.tabIndexAttribute=We,this.renderer=tt,this.el=xt,this.locationStrategy=gn,this.href=null,this.commands=null,this.onChanges=new L.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ln=xt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ln||"area"===ln,this.isAnchorElement?this.subscription=fe.events.subscribe(Zn=>{Zn instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(fe){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",fe)}ngOnChanges(fe){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(fe){null!=fe?(this.commands=Array.isArray(fe)?fe:[fe],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(fe,Me,We,tt,xt){const gn=this.urlTree;return!!(null===gn||this.isAnchorElement&&(0!==fe||Me||We||tt||xt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(gn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const fe=this.urlTree;this.href=null!==fe&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(fe)):null;const Me=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Me)}applyAttributeValue(fe,Me){const We=this.renderer,tt=this.el.nativeElement;null!==Me?We.setAttribute(tt,fe,Me):We.removeAttribute(tt,fe)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Me){return new(Me||le)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(ai),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(x.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Me,We){1&Me&&n.\u0275\u0275listener("click",function(xt){return We.onClick(xt.button,xt.ctrlKey,xt.shiftKey,xt.altKey,xt.metaKey)}),2&Me&&n.\u0275\u0275attribute("target",We.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return le})(),ss=(()=>{class le{get isActive(){return this._isActive}constructor(fe,Me,We,tt,xt){this.router=fe,this.element=Me,this.renderer=We,this.cdr=tt,this.link=xt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=fe.events.subscribe(gn=>{gn instanceof un&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(S()).subscribe(fe=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const fe=[...this.links.toArray(),this.link].filter(Me=>!!Me).map(Me=>Me.onChanges);this.linkInputChangesSubscription=(0,a.Q)(fe).pipe(S()).subscribe(Me=>{this._isActive!==this.isLinkActive(this.router)(Me)&&this.update()})}set routerLinkActive(fe){const Me=Array.isArray(fe)?fe:fe.split(" ");this.classes=Me.filter(We=>!!We)}ngOnChanges(fe){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const fe=this.hasActiveLinks();this._isActive!==fe&&(this._isActive=fe,this.cdr.markForCheck(),this.classes.forEach(Me=>{fe?this.renderer.addClass(this.element.nativeElement,Me):this.renderer.removeClass(this.element.nativeElement,Me)}),fe&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(fe))})}isLinkActive(fe){const Me=function Wl(le){return!!le.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return We=>{const tt=We.urlTree;return!!tt&&fe.isActive(tt,Me)}}hasActiveLinks(){const fe=this.isLinkActive(this.router);return this.link&&fe(this.link)||this.links.some(fe)}static#e=this.\u0275fac=function(Me){return new(Me||le)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","routerLinkActive",""]],contentQueries:function(Me,We,tt){if(1&Me&&n.\u0275\u0275contentQuery(tt,hi,5),2&Me){let xt;n.\u0275\u0275queryRefresh(xt=n.\u0275\u0275loadQuery())&&(We.links=xt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return le})();class Ks{}let Gl=(()=>{class le{preload(fe,Me){return Me().pipe((0,H.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),el=(()=>{class le{preload(fe,Me){return(0,e.of)(null)}static#e=this.\u0275fac=function(Me){return new(Me||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),tl=(()=>{class le{constructor(fe,Me,We,tt,xt){this.router=fe,this.injector=We,this.preloadingStrategy=tt,this.loader=xt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.I)(fe=>fe instanceof un),(0,ne.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(fe,Me){const We=[];for(const tt of Me){tt.providers&&!tt._injector&&(tt._injector=(0,n.createEnvironmentInjector)(tt.providers,fe,`Route: ${tt.path}`));const xt=tt._injector??fe,gn=tt._loadedInjector??xt;(tt.loadChildren&&!tt._loadedRoutes&&void 0===tt.canLoad||tt.loadComponent&&!tt._loadedComponent)&&We.push(this.preloadConfig(xt,tt)),(tt.children||tt._loadedRoutes)&&We.push(this.processRoutes(gn,tt.children??tt._loadedRoutes))}return(0,a.Q)(We).pipe(S())}preloadConfig(fe,Me){return this.preloadingStrategy.preload(Me,()=>{let We;We=Me.loadChildren&&void 0===Me.canLoad?this.loader.loadChildren(fe,Me):(0,e.of)(null);const tt=We.pipe((0,b.O)(xt=>null===xt?(0,e.of)(void 0):(Me._loadedRoutes=xt.routes,Me._loadedInjector=xt.injector,this.processRoutes(xt.injector??fe,xt.routes))));if(Me.loadComponent&&!Me._loadedComponent){const xt=this.loader.loadComponent(Me);return(0,a.Q)([tt,xt]).pipe(S())}return tt})}static#e=this.\u0275fac=function(Me){return new(Me||le)(n.\u0275\u0275inject(fo),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ks),n.\u0275\u0275inject(Oe))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})();const Qs=new n.InjectionToken("");let Os=(()=>{class le{constructor(fe,Me,We,tt,xt={}){this.urlSerializer=fe,this.transitions=Me,this.viewportScroller=We,this.zone=tt,this.options=xt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},xt.scrollPositionRestoration||="disabled",xt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(fe=>{fe instanceof Ei?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=fe.navigationTrigger,this.restoredId=fe.restoredState?fe.restoredState.navigationId:0):fe instanceof un?(this.lastId=fe.id,this.scheduleScrollEvent(fe,this.urlSerializer.parse(fe.urlAfterRedirects).fragment)):fe instanceof Fe&&fe.code===z.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(fe,this.urlSerializer.parse(fe.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(fe=>{fe instanceof Gt&&(fe.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(fe.position):fe.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(fe.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(fe,Me){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gt(fe,"popstate"===this.lastSource?this.store[this.restoredId]:null,Me))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Me){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})();function fu(le,...Ce){return(0,n.makeEnvironmentProviders)([{provide:he,multi:!0,useValue:le},[],{provide:ai,useFactory:Jo,deps:[fo]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:nl},Ce.map(fe=>fe.\u0275providers)])}function Jo(le){return le.routerState.root}function as(le,Ce){return{\u0275kind:le,\u0275providers:Ce}}function ls(le){return[{provide:he,multi:!0,useValue:le},[]]}function oa(le={}){return as(4,[{provide:Qs,useFactory:()=>{const fe=(0,n.inject)(x.ViewportScroller),Me=(0,n.inject)(n.NgZone),We=(0,n.inject)(sn),tt=(0,n.inject)(lt);return new Os(tt,We,fe,Me,le)}}])}function nl(){const le=(0,n.inject)(n.Injector);return Ce=>{const fe=le.get(n.ApplicationRef);if(Ce!==fe.components[0])return;const Me=le.get(fo),We=le.get(Sa);1===le.get(sa)&&Me.initialNavigation(),le.get(mu,null,n.InjectFlags.Optional)?.setUpPreloading(),le.get(Qs,null,n.InjectFlags.Optional)?.init(),Me.resetRootComponentType(fe.componentTypes[0]),We.closed||(We.next(),We.complete(),We.unsubscribe())}}const Sa=new n.InjectionToken("",{factory:()=>new L.E}),sa=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function aa(){return as(2,[{provide:sa,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:Ce=>{const fe=Ce.get(x.LOCATION_INITIALIZED,Promise.resolve());return()=>fe.then(()=>new Promise(Me=>{const We=Ce.get(fo),tt=Ce.get(Sa);Ri(We,()=>{Me(!0)}),Ce.get(sn).afterPreactivation=()=>(Me(!0),tt.closed?(0,e.of)(void 0):tt),We.initialNavigation()}))}}])}function gu(){return as(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const Ce=(0,n.inject)(fo);return()=>{Ce.setUpLocationChangeListener()}}},{provide:sa,useValue:2}])}function Ql(){let le=[];return le=[],as(1,le)}const mu=new n.InjectionToken("");function zo(le){return as(0,[{provide:mu,useExisting:tl},{provide:Ks,useExisting:le}])}function la(le){return as(5,[{provide:j,useValue:le}])}function ca(){return as(6,[{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}])}function jd(le){return as(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const fe=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(fo).events.subscribe(Me=>{Me instanceof Te&&(0,n.runInInjectionContext)(fe,()=>le(Me))})}}])}function rl(){return as(8,[qi,{provide:zi,useExisting:qi}])}function Xl(le){return as(9,[{provide:Se,useValue:Mt},{provide:Re,useValue:{skipNextTransition:!!le?.skipInitialTransition,...le}}])}const ua=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ol=[x.Location,{provide:lt,useClass:Et},fo,Lr,{provide:ai,useFactory:Jo,deps:[fo]},Oe,[]];let Zl=(()=>{class le{constructor(fe){}static forRoot(fe,Me){return{ngModule:le,providers:[ol,[],{provide:he,multi:!0,useValue:fe},{provide:ua,useFactory:sl,deps:[[fo,new n.Optional,new n.SkipSelf]]},{provide:j,useValue:Me||{}},Me?.useHash?{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}:{provide:x.LocationStrategy,useClass:x.PathLocationStrategy},{provide:Qs,useFactory:()=>{const le=(0,n.inject)(x.ViewportScroller),Ce=(0,n.inject)(n.NgZone),fe=(0,n.inject)(j),Me=(0,n.inject)(sn),We=(0,n.inject)(lt);return fe.scrollOffset&&le.setOffset(fe.scrollOffset),new Os(We,Me,le,Ce,fe)}},Me?.preloadingStrategy?zo(Me.preloadingStrategy).\u0275providers:[],Me?.initialNavigation?pu(Me):[],Me?.bindToComponentInputs?rl().\u0275providers:[],Me?.enableViewTransitions?Xl().\u0275providers:[],[{provide:No,useFactory:nl},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:No}]]}}static forChild(fe){return{ngModule:le,providers:[{provide:he,multi:!0,useValue:fe}]}}static#e=this.\u0275fac=function(Me){return new(Me||le)(n.\u0275\u0275inject(ua,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:le});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return le})();function sl(le){return"guarded"}function pu(le){return["disabled"===le.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===le.initialNavigation?aa().\u0275providers:[]]}const No=new n.InjectionToken("");function ql(le){return le.map(Ce=>(...fe)=>(0,n.inject)(Ce).canMatch(...fe))}function Us(le){return le.map(Ce=>(...fe)=>(0,n.inject)(Ce).canActivate(...fe))}function Ea(le){return le.map(Ce=>(...fe)=>(0,n.inject)(Ce).canActivateChild(...fe))}function Un(le){return le.map(Ce=>(...fe)=>(0,n.inject)(Ce).canDeactivate(...fe))}function ec(le){return(...Ce)=>(0,n.inject)(le).resolve(...Ce)}const ms=new n.Version("17.2.3")},9028:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{MSAL_BROADCAST_CONFIG:()=>ee,MSAL_GUARD_CONFIG:()=>V,MSAL_INSTANCE:()=>x,MSAL_INTERCEPTOR_CONFIG:()=>F,MsalBroadcastService:()=>ce,MsalCustomNavigationClient:()=>ae,MsalGuard:()=>Q,MsalInterceptor:()=>ne,MsalModule:()=>H,MsalRedirectComponent:()=>Y,MsalService:()=>X,version:()=>L});var n=o(1528),i=o(54496),d=o(26956),u=o(88904),a=o(72592),e=o(67648),c=o(84644),l=o(7828),g=o(64952),b=o(74496),p=o(22540),S=o(95657),y=o(46700),m=o(82700),h=o(28960),C=o(91368),v=o(54704),M=o(26020),E=o(39144),A=o(17368),T=o(3992),R=o(66684),N=o(56568);const P="@azure/msal-angular",L="3.0.13",x=new i.InjectionToken("MSAL_INSTANCE"),V=new i.InjectionToken("MSAL_GUARD_CONFIG"),F=new i.InjectionToken("MSAL_INTERCEPTOR_CONFIG"),ee=new i.InjectionToken("MSAL_BROADCAST_CONFIG");let X=(()=>{class J{constructor(W,re){this.instance=W,this.location=re;const G=this.location.path(!0).split("#").pop();G&&(this.redirectHash=`#${G}`),this.instance.initializeWrapperLibrary(d.Lm.Angular,L)}initialize(){return(0,b.Q)(this.instance.initialize())}acquireTokenPopup(W){return(0,b.Q)(this.instance.acquireTokenPopup(W))}acquireTokenRedirect(W){return(0,b.Q)(this.instance.acquireTokenRedirect(W))}acquireTokenSilent(W){return(0,b.Q)(this.instance.acquireTokenSilent(W))}handleRedirectObservable(W){return(0,b.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(W||this.redirectHash)))}loginPopup(W){return(0,b.Q)(this.instance.loginPopup(W))}loginRedirect(W){return(0,b.Q)(this.instance.loginRedirect(W))}logout(W){return(0,b.Q)(this.instance.logout(W))}logoutRedirect(W){return(0,b.Q)(this.instance.logoutRedirect(W))}logoutPopup(W){return(0,b.Q)(this.instance.logoutPopup(W))}ssoSilent(W){return(0,b.Q)(this.instance.ssoSilent(W))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(P,L)),this.logger}setLogger(W){this.logger=W.clone(P,L),this.instance.setLogger(W)}}return J.\u0275fac=function(W){return new(W||J)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(C.Location))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),ce=(()=>{class J{constructor(W,re,G){this.msalInstance=W,this.authService=re,this.msalBroadcastConfig=G,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay} events`),this._msalSubject=new p.o(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new S.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new y.g(d.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(ue=>{this._msalSubject.next(ue);const ye=u.M.getInteractionStatusFromEvent(ue,this._inProgress.value);null!==ye&&(this.authService.getLogger().verbose(`BroadcastService - ${ue.eventType} results in setting inProgress from ${this._inProgress.value} to ${ye}`),this._inProgress.next(ye))})}}return J.\u0275fac=function(W){return new(W||J)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(X),i.\u0275\u0275inject(ee,8))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),Q=(()=>{class J{constructor(W,re,G,ue,ye){this.msalGuardConfig=W,this.msalBroadcastService=re,this.authService=G,this.location=ue,this.router=ye,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(W){return this.router.parseUrl(W)}getDestinationUrl(W){this.authService.getLogger().verbose("Guard - getting destination url");const re=document.getElementsByTagName("base"),G=this.location.normalize(re.length?re[0].href:window.location.origin),ue=this.location.prepareExternalUrl(W);return ue.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${G}/${ue}`):`${G}${W}`}loginInteractively(W){const re="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,W):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(re).pipe((0,v.k)(ue=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(ue.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const G=this.getDestinationUrl(W.url);return this.authService.loginRedirect({redirectStartPage:G,...re}).pipe((0,v.k)(()=>!1))}activateHelper(W){if(this.msalGuardConfig.interactionType!==d.wV.Popup&&this.msalGuardConfig.interactionType!==d.wV.Redirect)throw new a.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),!(typeof window<"u"))return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),(0,m.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&c.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),(0,m.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const re=this.location.path(!0);return this.authService.initialize().pipe((0,M.m)(()=>this.authService.handleRedirectObservable()),(0,M.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return W?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(W)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,m.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),W){const G=this.includesCode(W.url),ue=!!W.root&&!!W.root.fragment&&this.includesCode(`#${W.root.fragment}`),ye=0===this.location.prepareExternalUrl(W.url).indexOf("#");if(G&&(ue||ye))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),re.indexOf("#")>-1?(0,m.of)(this.parseUrl(this.location.path())):(0,m.of)(this.parseUrl(""))}return(0,m.of)(!0)}),(0,E.a)(G=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${G.message}`),this.loginFailedRoute&&W?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,m.of)(this.loginFailedRoute)):(0,m.of)(!1))))}includesCode(W){return W.lastIndexOf("/code")>-1&&W.lastIndexOf("/code")===W.length-5||W.indexOf("#code=")>-1||W.indexOf("&code=")>-1}canActivate(W,re){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(re)}canActivateChild(W,re){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(re)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return J.\u0275fac=function(W){return new(W||J)(i.\u0275\u0275inject(V),i.\u0275\u0275inject(ce),i.\u0275\u0275inject(X),i.\u0275\u0275inject(C.Location),i.\u0275\u0275inject(N.Router))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),ne=(()=>{class J{constructor(W,re,G,ue,ye){this.msalInterceptorConfig=W,this.authService=re,this.location=G,this.msalBroadcastService=ue,this._document=ye}intercept(W,re){if(this.msalInterceptorConfig.interactionType!==d.wV.Popup&&this.msalInterceptorConfig.interactionType!==d.wV.Redirect)throw new a.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const G=this.getScopesForEndpoint(W.url,W.method);if(!G||0===G.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),re.handle(W);let ue;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),ue=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),ue=this.authService.instance.getAllAccounts()[0]);const ye="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,W,{account:ue}):{...this.msalInterceptorConfig.authRequest,account:ue};return this.authService.getLogger().info(`Interceptor - ${G.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${G}] scopes found for ${W.url}`),this.acquireToken(ye,G,ue).pipe((0,A.G)(Ie=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const be=W.headers.set("Authorization",`Bearer ${Ie.accessToken}`),ie=W.clone({headers:be});return re.handle(ie)}))}acquireToken(W,re,G){return this.authService.acquireTokenSilent({...W,scopes:re,account:G}).pipe((0,E.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,T.U)(1),(0,A.G)(ue=>ue===d.Yz.None?this.acquireTokenInteractively(W,re):this.msalBroadcastService.inProgress$.pipe((0,R.I)(ye=>ye===d.Yz.None),(0,T.U)(1),(0,A.G)(()=>this.acquireToken(W,re,G))))))),(0,A.G)(ue=>ue.accessToken?(0,m.of)(ue):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,R.I)(ye=>ye===d.Yz.None),(0,T.U)(1),(0,A.G)(()=>this.acquireTokenInteractively(W,re))))))}acquireTokenInteractively(W,re){if(this.msalInterceptorConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...W,scopes:re});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const G=window.location.href;return this.authService.acquireTokenRedirect({...W,scopes:re,redirectStartPage:G}),h.k}getScopesForEndpoint(W,re){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const G=this.location.normalize(W),ue=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),ye=this.matchResourcesToEndpoint(ue,G);return ye.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,ye.absoluteResources,re):ye.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,ye.relativeResources,re):null}matchResourcesToEndpoint(W,re){const G={absoluteResources:[],relativeResources:[]};return W.forEach(ue=>{const ye=this.location.normalize(ue);l.e.matchPattern(ye,re)&&G.absoluteResources.push(ue);const Ie=this.getAbsoluteUrl(ue),be=new e._(Ie).getUrlComponents(),ie=this.getAbsoluteUrl(re),De=new e._(ie).getUrlComponents(),ze=be.QueryString?`${be.AbsolutePath}?${be.QueryString}`:this.location.normalize(be.AbsolutePath);be.HostNameAndPort===De.HostNameAndPort&&l.e.matchPattern(ze,ie)&&""!==ze&&"/*"!==ze&&G.relativeResources.push(ue)}),G}getAbsoluteUrl(W){const re=this._document.createElement("a");return re.href=W,re.href}matchScopesToEndpoint(W,re,G){const ue=[];return re.forEach(ye=>{const Ie=[],be=W.get(ye);null!==be?(be.forEach(ie=>{if("string"==typeof ie)Ie.push(ie);else{const De=G.toLowerCase();ie.httpMethod.toLowerCase()===De&&(null===ie.scopes?ue.push(null):ie.scopes.forEach(qe=>{Ie.push(qe)}))}}),Ie.length>0&&ue.push(Ie)):ue.push(null)}),ue.length>0?(ue.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),ue[0]):null}}return J.\u0275fac=function(W){return new(W||J)(i.\u0275\u0275inject(F),i.\u0275\u0275inject(X),i.\u0275\u0275inject(C.Location),i.\u0275\u0275inject(ce),i.\u0275\u0275inject(C.DOCUMENT))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),Y=(()=>{class J{constructor(W){this.authService=W}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return J.\u0275fac=function(W){return new(W||J)(i.\u0275\u0275directiveInject(X))},J.\u0275cmp=i.\u0275\u0275defineComponent({type:J,selectors:[["app-redirect"]],decls:0,vars:0,template:function(W,re){},encapsulation:2}),J})(),H=(()=>{class J{static forRoot(W,re,G){return{ngModule:J,providers:[{provide:x,useValue:W},{provide:V,useValue:re},{provide:F,useValue:G},X]}}}return J.\u0275fac=function(W){return new(W||J)},J.\u0275mod=i.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=i.\u0275\u0275defineInjector({providers:[Q,ce],imports:[C.CommonModule]}),J})(),ae=(()=>{class J extends g.m{constructor(W,re,G){super(),this.authService=W,this.router=re,this.location=G}navigateInternal(W,re){var G=()=>super.navigateInternal,ue=this;return(0,n.c)(function*(){if(ue.authService.getLogger().trace("MsalCustomNavigationClient called"),ue.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),ue.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${W}`),re.noHistory)return G().call(ue,W,re);{const ye=new e._(W).getUrlComponents(),Ie=ye.QueryString?`${ye.AbsolutePath}?${ye.QueryString}`:ue.location.normalize(ye.AbsolutePath);yield ue.router.navigateByUrl(Ie,{replaceUrl:re.noHistory})}return Promise.resolve(re.noHistory)})()}}return J.\u0275fac=function(W){return new(W||J)(i.\u0275\u0275inject(X),i.\u0275\u0275inject(N.Router),i.\u0275\u0275inject(C.Location))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})()},69812:(ve,f,o)=>{"use strict";o.d(f,{S:()=>P,Y:()=>N});var n=o(1528),i=o(6536),d=o(34739),u=o(72584),a=o(98416),e=o(28876),c=o(71408),l=o(85348),g=o(7828),b=o(86144),p=o(16256),S=o(6400),y=o(9488),m=o(65172),h=o(4792),C=o(26956),v=o(71720),M=o(61744),E=o(99632),A=o(55084),T=o(37988),R=o(32828);class N extends i.B{constructor(x,V,F,ee,X){super(x,F,ee,X),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=V,this.logger=ee,this.internalStorage=new M.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),V.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(x){switch(x){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new v.K(x)}catch(V){this.logger.verbose(V);break}}return this.cacheConfig.cacheLocation=C.Ir.MemoryStorage,new M.W}setupTemporaryCacheStorage(x,V){switch(V){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new v.K(x||C.Ir.SessionStorage)}catch(F){return this.logger.verbose(F),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const V=`${d.Mv.CACHE_PREFIX}.${d.IH.CLIENT_INFO}`,F=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR}`,ee=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR_DESC}`,Y=[this.browserStorage.getItem(`${d.Mv.CACHE_PREFIX}.${d.IH.ID_TOKEN}`),this.browserStorage.getItem(V),this.browserStorage.getItem(F),this.browserStorage.getItem(ee)];[d.IH.ID_TOKEN,d.IH.CLIENT_INFO,d.IH.ERROR,d.IH.ERROR_DESC].forEach((ae,J)=>this.migrateCacheEntry(ae,Y[J]))}migrateCacheEntry(x,V){V&&this.setTemporaryCache(x,V,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const x=this.getItem(C.UZ.ACCOUNT_KEYS),V=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);x&&V?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(ee=>{if(this.isCredentialKey(ee)){const X=this.getItem(ee);if(X){const ce=this.validateAndParseJson(X);if(ce&&ce.hasOwnProperty("credentialType"))switch(ce.credentialType){case d.yu.ID_TOKEN:if(u.LS(ce)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${ee} found, saving key to token key map`);const ne=this.updateCredentialCacheKey(ee,ce);return void this.addTokenKey(ne,d.yu.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed idToken validation on key: ${ee}`);break;case d.yu.ACCESS_TOKEN:case d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(u.Ul(ce)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${ee} found, saving key to token key map`);const ne=this.updateCredentialCacheKey(ee,ce);return void this.addTokenKey(ne,d.yu.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ${ee}`);break;case d.yu.REFRESH_TOKEN:if(u.U5(ce)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${ee} found, saving key to token key map`);const ne=this.updateCredentialCacheKey(ee,ce);return void this.addTokenKey(ne,d.yu.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ${ee}`)}}}if(this.isAccountKey(ee)){const X=this.getItem(ee);if(X){const ce=this.validateAndParseJson(X);ce&&a.M.isAccountEntity(ce)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${ee} found, saving key to account key map`),this.addAccountKeyToMap(ee))}}})}validateAndParseJson(x){try{const V=JSON.parse(x);return V&&"object"==typeof V?V:null}catch{return null}}getItem(x){return this.browserStorage.getItem(x)}setItem(x,V){this.browserStorage.setItem(x,V)}getAccount(x,V){this.logger.trace("BrowserCacheManager.getAccount called");const F=this.getCachedAccountEntity(x);return this.updateOutdatedCachedAccount(x,F,V)}getCachedAccountEntity(x){const V=this.getItem(x);if(!V)return this.removeAccountKeyFromMap(x),null;const F=this.validateAndParseJson(V);return F&&a.M.isAccountEntity(F)?i.B.toObject(new a.M,F):(this.removeAccountKeyFromMap(x),null)}setAccount(x){this.logger.trace("BrowserCacheManager.setAccount called");const V=x.generateAccountKey();this.setItem(V,JSON.stringify(x)),this.addAccountKeyToMap(V)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const x=this.getItem(C.UZ.ACCOUNT_KEYS);return x?JSON.parse(x):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(x){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${x}`);const V=this.getAccountKeys();-1===V.indexOf(x)?(V.push(x),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(V)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(x){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${x}`);const V=this.getAccountKeys(),F=V.indexOf(x);F>-1?(V.splice(F,1),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(V)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(x){var V=()=>super.removeAccount,F=this;return(0,n.c)(function*(){V().call(F,x),F.removeAccountKeyFromMap(x)})()}removeOutdatedAccount(x){this.removeItem(x),this.removeAccountKeyFromMap(x)}removeIdToken(x){super.removeIdToken(x),this.removeTokenKey(x,d.yu.ID_TOKEN)}removeAccessToken(x){var V=()=>super.removeAccessToken,F=this;return(0,n.c)(function*(){V().call(F,x),F.removeTokenKey(x,d.yu.ACCESS_TOKEN)})()}removeRefreshToken(x){super.removeRefreshToken(x),this.removeTokenKey(x,d.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const x=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);if(x){const V=this.validateAndParseJson(x);if(V&&V.hasOwnProperty("idToken")&&V.hasOwnProperty("accessToken")&&V.hasOwnProperty("refreshToken"))return V;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(x,V){this.logger.trace("BrowserCacheManager addTokenKey called");const F=this.getTokenKeys();switch(V){case d.yu.ID_TOKEN:-1===F.idToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),F.idToken.push(x));break;case d.yu.ACCESS_TOKEN:-1===F.accessToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),F.accessToken.push(x));break;case d.yu.REFRESH_TOKEN:-1===F.refreshToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),F.refreshToken.push(x));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${V}`),(0,e.mQ)(c.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(F))}removeTokenKey(x,V){this.logger.trace("BrowserCacheManager removeTokenKey called");const F=this.getTokenKeys();switch(V){case d.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${x} from map`);const ee=F.idToken.indexOf(x);ee>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),F.idToken.splice(ee,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${x} from map`);const X=F.accessToken.indexOf(x);X>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),F.accessToken.splice(X,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${x} from map`);const ce=F.refreshToken.indexOf(x);ce>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),F.refreshToken.splice(ce,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${V}`),(0,e.mQ)(c.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(F))}getIdTokenCredential(x){const V=this.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ID_TOKEN),null;const F=this.validateAndParseJson(V);return F&&u.LS(F)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),F):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ID_TOKEN),null)}setIdTokenCredential(x){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const V=u.AZ(x);this.setItem(V,JSON.stringify(x)),this.addTokenKey(V,d.yu.ID_TOKEN)}getAccessTokenCredential(x){const V=this.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ACCESS_TOKEN),null;const F=this.validateAndParseJson(V);return F&&u.Ul(F)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),F):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(x){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const V=u.AZ(x);this.setItem(V,JSON.stringify(x)),this.addTokenKey(V,d.yu.ACCESS_TOKEN)}getRefreshTokenCredential(x){const V=this.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.REFRESH_TOKEN),null;const F=this.validateAndParseJson(V);return F&&u.U5(F)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),F):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(x){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const V=u.AZ(x);this.setItem(V,JSON.stringify(x)),this.addTokenKey(V,d.yu.REFRESH_TOKEN)}getAppMetadata(x){const V=this.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const F=this.validateAndParseJson(V);return F&&u.q6(x,F)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),F):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(x){this.logger.trace("BrowserCacheManager.setAppMetadata called");const V=u.S(x);this.setItem(V,JSON.stringify(x))}getServerTelemetry(x){const V=this.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const F=this.validateAndParseJson(V);return F&&u.sX(x,F)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),F):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(x,V){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(x,JSON.stringify(V))}getAuthorityMetadata(x){const V=this.internalStorage.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const F=this.validateAndParseJson(V);return F&&u.aA(x,F)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),F):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(V=>this.isAuthorityMetadata(V))}setWrapperMetadata(x,V){this.internalStorage.setItem(C.CM.WRAPPER_SKU,x),this.internalStorage.setItem(C.CM.WRAPPER_VER,V)}getWrapperMetadata(){return[this.internalStorage.getItem(C.CM.WRAPPER_SKU)||d.Mv.EMPTY_STRING,this.internalStorage.getItem(C.CM.WRAPPER_VER)||d.Mv.EMPTY_STRING]}setAuthorityMetadata(x,V){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(x,JSON.stringify(V))}getActiveAccount(){const x=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),V=this.getItem(x);if(!V){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const ee=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT),X=this.getItem(ee);if(!X)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const ce=this.getAccountInfoFilteredBy({localAccountId:X});return ce?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(ce),ce):null}const F=this.validateAndParseJson(V);return F?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:F.homeAccountId,localAccountId:F.localAccountId,tenantId:F.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(x){const V=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),F=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT);x?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(V,JSON.stringify({homeAccountId:x.homeAccountId,localAccountId:x.localAccountId,tenantId:x.tenantId})),this.browserStorage.setItem(F,x.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(V),this.browserStorage.removeItem(F))}getThrottlingCache(x){const V=this.getItem(x);if(!V)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const F=this.validateAndParseJson(V);return F&&u.s7(x,F)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),F):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(x,V){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(x,JSON.stringify(V))}getTemporaryCache(x,V){const F=V?this.generateCacheKey(x):x;if(this.cacheConfig.storeAuthStateInCookie){const X=this.getItemCookie(F);if(X)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),X}const ee=this.temporaryCacheStorage.getItem(F);if(!ee){if(this.cacheConfig.cacheLocation===C.Ir.LocalStorage){const X=this.browserStorage.getItem(F);if(X)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),X}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),ee}setTemporaryCache(x,V,F){const ee=F?this.generateCacheKey(x):x;this.temporaryCacheStorage.setItem(ee,V),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(ee,V))}removeItem(x){this.browserStorage.removeItem(x),this.temporaryCacheStorage.removeItem(x),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(x))}containsKey(x){return this.browserStorage.containsKey(x)||this.temporaryCacheStorage.containsKey(x)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var x=this;return(0,n.c)(function*(){yield x.removeAllAccounts(),x.removeAppMetadata(),x.getKeys().forEach(V=>{(x.browserStorage.containsKey(V)||x.temporaryCacheStorage.containsKey(V))&&(-1!==V.indexOf(d.Mv.CACHE_PREFIX)||-1!==V.indexOf(x.clientId))&&x.removeItem(V)}),x.internalStorage.clear()})()}clearTokensAndKeysWithClaims(x){var V=this;return(0,n.c)(function*(){x.addQueueMeasurement(l.Xv.ClearTokensAndKeysWithClaims);const F=V.getTokenKeys(),ee=[];F.accessToken.forEach(X=>{const ce=V.getAccessTokenCredential(X);ce?.requestedClaimsHash&&X.includes(ce.requestedClaimsHash.toLowerCase())&&ee.push(V.removeAccessToken(X))}),yield Promise.all(ee),ee.length>0&&V.logger.warning(`${ee.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(x,V,F){let ee=`${encodeURIComponent(x)}=${encodeURIComponent(V)};path=/;SameSite=Lax;`;F&&(ee+=`expires=${this.getCookieExpirationTime(F)};`),this.cacheConfig.secureCookies&&(ee+="Secure;"),document.cookie=ee}getItemCookie(x){const V=`${encodeURIComponent(x)}=`,F=document.cookie.split(";");for(let ee=0;ee{for(;" "===F.charAt(0);)F=F.substring(1);if(0===F.indexOf(x)){const ee=F.split("=")[0];this.clearItemCookie(ee)}})}clearItemCookie(x){this.setItemCookie(x,d.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(x){return new Date((new Date).getTime()+x*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(x){return this.validateAndParseJson(x)?JSON.stringify(x):g.e.startsWith(x,d.Mv.CACHE_PREFIX)||g.e.startsWith(x,d.IH.ADAL_ID_TOKEN)?x:`${d.Mv.CACHE_PREFIX}.${this.clientId}.${x}`}generateAuthorityKey(x){const{libraryState:{id:V}}=b.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${C.zH.AUTHORITY}.${V}`)}generateNonceKey(x){const{libraryState:{id:V}}=b.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${C.zH.NONCE_IDTOKEN}.${V}`)}generateStateKey(x){const{libraryState:{id:V}}=b.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${C.zH.REQUEST_STATE}.${V}`)}getCachedAuthority(x){const V=this.generateStateKey(x),F=this.getTemporaryCache(V);if(!F)return null;const ee=this.generateAuthorityKey(F);return this.getTemporaryCache(ee)}updateCacheEntries(x,V,F,ee,X){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const ce=this.generateStateKey(x);this.setTemporaryCache(ce,x,!1);const Q=this.generateNonceKey(x);this.setTemporaryCache(Q,V,!1);const ne=this.generateAuthorityKey(x);this.setTemporaryCache(ne,F,!1),X?this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:X.homeAccountId,type:p.s.HOME_ACCOUNT_ID}),!0):ee&&this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:ee,type:p.s.UPN}),!0)}resetRequestCache(x){this.logger.trace("BrowserCacheManager.resetRequestCache called"),x&&(this.getKeys().forEach(V=>{-1!==V.indexOf(x)&&this.removeItem(V)}),this.removeItem(this.generateStateKey(x)),this.removeItem(this.generateNonceKey(x)),this.removeItem(this.generateAuthorityKey(x))),this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(C.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(C.zH.URL_HASH)),this.removeItem(this.generateCacheKey(C.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(C.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(C.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(x){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),x){const V=this.generateStateKey(x),F=this.temporaryCacheStorage.getItem(V);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${F}`),this.resetRequestCache(F||d.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(x){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(V=>{if(-1===V.indexOf(C.zH.REQUEST_STATE))return;const F=this.temporaryCacheStorage.getItem(V);if(!F)return;const ee=(0,E.Q)(this.cryptoImpl,F);ee&&ee.interactionType===x&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${F}`),this.resetRequestCache(F))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(x){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const V=(0,T.c9)(JSON.stringify(x));this.setTemporaryCache(C.zH.REQUEST_PARAMS,V,!0)}getCachedRequest(x){this.logger.trace("BrowserCacheManager.getCachedRequest called");const V=this.getTemporaryCache(C.zH.REQUEST_PARAMS,!0);if(!V)throw(0,h.Wq)(R.noTokenRequestCacheError);let F;try{F=JSON.parse((0,A.W)(V))}catch(ee){throw this.logger.errorPii(`Attempted to parse: ${V}`),this.logger.error(`Parsing cached token request threw with error: ${ee}`),(0,h.Wq)(R.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),!F.authority){const ee=this.generateAuthorityKey(x),X=this.getTemporaryCache(ee);if(!X)throw(0,h.Wq)(R.noCachedAuthorityError);F.authority=X}return F}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const x=this.getTemporaryCache(C.zH.NATIVE_REQUEST,!0);return x?this.validateAndParseJson(x)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(x){const V=this.getInteractionInProgress();return x?V===this.clientId:!!V}getInteractionInProgress(){return this.getTemporaryCache(`${d.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(x){const V=`${d.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`;if(x){if(this.getInteractionInProgress())throw(0,h.Wq)(R.interactionInProgress);this.setTemporaryCache(V,this.clientId,!1)}else!x&&this.getInteractionInProgress()===this.clientId&&this.removeItem(V)}getLegacyLoginHint(){const x=this.getTemporaryCache(d.IH.ADAL_ID_TOKEN);x&&(this.browserStorage.removeItem(d.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const V=this.getTemporaryCache(d.IH.ID_TOKEN,!0);V&&(this.removeItem(this.generateCacheKey(d.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const F=V||x;if(F){const ee=S.aw(F,A.W);if(ee.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),ee.preferred_username;if(ee.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),ee.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(x,V){const F=u.AZ(V);if(x!==F){const ee=this.getItem(x);if(ee)return this.removeItem(x),this.setItem(F,ee),this.logger.verbose(`Updated an outdated ${V.credentialType} cache key`),F;this.logger.error(`Attempted to update an outdated ${V.credentialType} cache key but no item matching the outdated key was found in storage`)}return x}getRedirectRequestContext(){return this.getTemporaryCache(C.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(x){this.setTemporaryCache(C.zH.REDIRECT_CONTEXT,x,!0)}hydrateCache(x,V){var F=this;return(0,n.c)(function*(){const ee=u.YF(x.account?.homeAccountId,x.account?.environment,x.idToken,F.clientId,x.tenantId);let X;V.claims&&(X=yield F.cryptoImpl.hashString(V.claims));const ce=u.MJ(x.account?.homeAccountId,x.account.environment,x.accessToken,F.clientId,x.tenantId,x.scopes.join(" "),x.expiresOn?.getTime()||0,x.extExpiresOn?.getTime()||0,A.W,void 0,x.tokenType,void 0,V.sshKid,V.claims,X),Q=new y.O(void 0,ee,ce);return F.saveCacheRecord(Q)})()}}const P=(L,x)=>new N(L,{cacheLocation:C.Ir.MemoryStorage,temporaryCacheLocation:C.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},m.K,x)},71720:(ve,f,o)=>{"use strict";o.d(f,{K:()=>u});var n=o(72592),i=o(26956),d=o(85288);class u{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==i.Ir.LocalStorage&&e!==i.Ir.SessionStorage||!window[e])throw(0,n.cf)(d.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,c){this.windowStorage.setItem(e,c)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(ve,f,o)=>{"use strict";o.d(f,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(d){return this.cache.get(d)||null}setItem(d,u){this.cache.set(d,u)}removeItem(d){this.cache.delete(d)}getKeys(){const d=[];return this.cache.forEach((u,a)=>{d.push(a)}),d}containsKey(d){return this.cache.has(d)}clear(){this.cache.clear()}}},48124:(ve,f,o)=>{"use strict";o.d(f,{Ks:()=>E,k5:()=>R});var n=o(34739),i=o(65072),d=o(67952),u=o(73364),a=o(80660),e=o(28876),c=o(71408);const l={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(c.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(c.methodNotImplemented))};var g=o(35128),b=o(59684),p=o(32336),S=o(26956),y=o(64952),m=o(1528),h=o(4792),C=o(32828);class v{sendGetRequestAsync(P,L){var x=this;return(0,m.c)(function*(){let V;try{V=yield fetch(P,{method:S.yI.GET,headers:x.getFetchHeaders(L)})}catch{throw window.navigator.onLine?(0,h.Wq)(C.getRequestFailed):(0,h.Wq)(C.noNetworkConnectivity)}try{return{headers:x.getHeaderDict(V.headers),body:yield V.json(),status:V.status}}catch{throw(0,h.Wq)(C.failedToParseResponse)}})()}sendPostRequestAsync(P,L){var x=this;return(0,m.c)(function*(){const V=L&&L.body||n.Mv.EMPTY_STRING;let F;try{F=yield fetch(P,{method:S.yI.POST,headers:x.getFetchHeaders(L),body:V})}catch{throw window.navigator.onLine?(0,h.Wq)(C.postRequestFailed):(0,h.Wq)(C.noNetworkConnectivity)}try{return{headers:x.getHeaderDict(F.headers),body:yield F.json(),status:F.status}}catch{throw(0,h.Wq)(C.failedToParseResponse)}})()}getFetchHeaders(P){const L=new Headers;if(!P||!P.headers)return L;const x=P.headers;return Object.keys(x).forEach(V=>{L.append(V,x[V])}),L}getHeaderDict(P){const L={};return P.forEach((x,V)=>{L[V]=x}),L}}const M=6e4,E=1e4,A=3e4,T=2e3;function R({auth:N,cache:P,system:L,telemetry:x},V){const F={clientId:n.Mv.EMPTY_STRING,authority:`${n.Mv.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:n.Mv.EMPTY_STRING,authorityMetadata:n.Mv.EMPTY_STRING,redirectUri:n.Mv.EMPTY_STRING,postLogoutRedirectUri:n.Mv.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:i.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:d.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},ee={cacheLocation:S.Ir.SessionStorage,temporaryCacheLocation:S.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!P||P.cacheLocation!==S.Ir.LocalStorage),claimsBasedCachingEnabled:!1},X={loggerCallback:()=>{},logLevel:u.G.Info,piiLoggingEnabled:!1},Q={...{...a.k5,loggerOptions:X,networkClient:V?new v:l,navigationClient:new y.m,loadFrameTimeout:0,windowHashTimeout:L?.loadFrameTimeout||M,iframeHashTimeout:L?.loadFrameTimeout||E,navigateFrameWait:0,redirectNavigationTimeout:A,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:L?.nativeBrokerHandshakeTimeout||T,pollIntervalMilliseconds:S.ig.DEFAULT_POLL_INTERVAL_MS},...L,loggerOptions:L?.loggerOptions||X},ne={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new g._};if(N?.protocolMode!==i.g.OIDC&&N?.OIDCOptions&&new u.Y(Q.loggerOptions).warning(JSON.stringify((0,b.QN)(p.cannotSetOIDCOptions))),N?.protocolMode&&N.protocolMode!==i.g.AAD&&Q?.allowNativeBroker)throw(0,b.QN)(p.cannotAllowNativeBroker);return{auth:{...F,...N,OIDCOptions:{...F.OIDCOptions,...N?.OIDCOptions}},cache:{...ee,...P},system:Q,telemetry:{...ne,...x}}}},65304:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{StandardController:()=>ur});var n=o(1528),i=o(7184),d=o(65172),u=o(25988),e=o(67648),c=o(28876),l=o(34739),g=o(74968),b=o(59684),p=o(65072),S=o(67952),h=o(85348),C=o(14035);let v=(()=>{class un{constructor(z,de,Fe,Te){this.networkInterface=z,this.logger=de,this.performanceClient=Fe,this.correlationId=Te}detectRegion(z,de){var Fe=this;return(0,n.c)(function*(){Fe.performanceClient?.addQueueMeasurement(h.Xv.RegionDiscoveryDetectRegion,Fe.correlationId);let Te=z;if(Te)de.region_source=l.Q$.ENVIRONMENT_VARIABLE;else{const me=un.IMDS_OPTIONS;try{const Ae=yield(0,C.C)(Fe.getRegionFromIMDS.bind(Fe),h.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.logger,Fe.performanceClient,Fe.correlationId)(l.Mv.IMDS_VERSION,me);if(Ae.status===l.sL.httpSuccess&&(Te=Ae.body,de.region_source=l.Q$.IMDS),Ae.status===l.sL.httpBadRequest){const et=yield(0,C.C)(Fe.getCurrentVersion.bind(Fe),h.Xv.RegionDiscoveryGetCurrentVersion,Fe.logger,Fe.performanceClient,Fe.correlationId)(me);if(!et)return de.region_source=l.Q$.FAILED_AUTO_DETECTION,null;const pt=yield(0,C.C)(Fe.getRegionFromIMDS.bind(Fe),h.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.logger,Fe.performanceClient,Fe.correlationId)(et,me);pt.status===l.sL.httpSuccess&&(Te=pt.body,de.region_source=l.Q$.IMDS)}}catch{return de.region_source=l.Q$.FAILED_AUTO_DETECTION,null}}return Te||(de.region_source=l.Q$.FAILED_AUTO_DETECTION),Te||null})()}getRegionFromIMDS(z,de){var Fe=this;return(0,n.c)(function*(){return Fe.performanceClient?.addQueueMeasurement(h.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.correlationId),Fe.networkInterface.sendGetRequestAsync(`${l.Mv.IMDS_ENDPOINT}?api-version=${z}&format=text`,de,l.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(z){var de=this;return(0,n.c)(function*(){de.performanceClient?.addQueueMeasurement(h.Xv.RegionDiscoveryGetCurrentVersion,de.correlationId);try{const Fe=yield de.networkInterface.sendGetRequestAsync(`${l.Mv.IMDS_ENDPOINT}?format=json`,z);return Fe.status===l.sL.httpBadRequest&&Fe.body&&Fe.body["newest-versions"]&&Fe.body["newest-versions"].length>0?Fe.body["newest-versions"][0]:null}catch{return null}})()}}return un.IMDS_OPTIONS={headers:{Metadata:"true"}},un})();var M=o(66936),E=o(72584),A=o(71408),T=o(32336);class R{constructor(B,z,de,Fe,Te,me,Ae){this.canonicalAuthority=B,this._canonicalAuthority.validateAsUri(),this.networkInterface=z,this.cacheManager=de,this.authorityOptions=Fe,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=Te,this.performanceClient=Ae,this.correlationId=me,this.regionDiscovery=new v(z,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(B){if(B.HostNameAndPort.endsWith(l.Mv.CIAM_AUTH_URL))return u.O.Ciam;const z=B.PathSegments;if(z.length)switch(z[0].toLowerCase()){case l.Mv.ADFS:return u.O.Adfs;case l.Mv.DSTS:return u.O.Dsts}return u.O.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(B){this._canonicalAuthority=new e._(B),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw(0,c.mQ)(A.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,c.mQ)(A.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,c.mQ)(A.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,c.mQ)(A.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,c.mQ)(A.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,c.mQ)(A.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,c.mQ)(A.endpointResolutionError)}canReplaceTenant(B){return 1===B.PathSegments.length&&!R.reservedTenantDomains.has(B.PathSegments[0])&&this.getAuthorityType(B)===u.O.Default&&this.protocolMode===p.g.AAD}replaceTenant(B){return B.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(B){let z=B;const Fe=new e._(this.metadata.canonical_authority).getUrlComponents(),Te=Fe.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((Ae,et)=>{let pt=Te[et];if(0===et&&this.canReplaceTenant(Fe)){const At=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];pt!==At&&(this.logger.verbose(`Replacing tenant domain name ${pt} with id ${At}`),pt=At)}Ae!==pt&&(z=z.replace(`/${pt}/`,`/${Ae}/`))}),this.replaceTenant(z)}get defaultOpenIdConfigurationEndpoint(){const B=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===u.O.Adfs||this.protocolMode!==p.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(B)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var B=this;return(0,n.c)(function*(){B.performanceClient?.addQueueMeasurement(h.Xv.AuthorityResolveEndpointsAsync,B.correlationId);const z=B.getCurrentMetadataEntity(),de=yield(0,C.C)(B.updateCloudDiscoveryMetadata.bind(B),h.Xv.AuthorityUpdateCloudDiscoveryMetadata,B.logger,B.performanceClient,B.correlationId)(z);B.canonicalAuthority=B.canonicalAuthority.replace(B.hostnameAndPort,z.preferred_network);const Fe=yield(0,C.C)(B.updateEndpointMetadata.bind(B),h.Xv.AuthorityUpdateEndpointMetadata,B.logger,B.performanceClient,B.correlationId)(z);B.updateCachedMetadata(z,de,{source:Fe}),B.performanceClient?.addFields({cloudDiscoverySource:de,authorityEndpointSource:Fe},B.correlationId)})()}getCurrentMetadataEntity(){let B=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return B||(B={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:(0,E.gv)(),jwks_uri:""}),B}updateCachedMetadata(B,z,de){z!==l.cv.CACHE&&de?.source!==l.cv.CACHE&&(B.expiresAt=(0,E.gv)(),B.canonical_authority=this.canonicalAuthority);const Fe=this.cacheManager.generateAuthorityMetadataCacheKey(B.preferred_cache);this.cacheManager.setAuthorityMetadata(Fe,B),this.metadata=B}updateEndpointMetadata(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.AuthorityUpdateEndpointMetadata,z.correlationId);const de=z.updateEndpointMetadataFromLocalSources(B);if(de){if(de.source===l.cv.HARDCODED_VALUES&&z.authorityOptions.azureRegionConfiguration?.azureRegion&&de.metadata){const Te=yield(0,C.C)(z.updateMetadataWithRegionalInformation.bind(z),h.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(de.metadata);(0,E.sH)(B,Te,!1),B.canonical_authority=z.canonicalAuthority}return de.source}let Fe=yield(0,C.C)(z.getEndpointMetadataFromNetwork.bind(z),h.Xv.AuthorityGetEndpointMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(Fe)return z.authorityOptions.azureRegionConfiguration?.azureRegion&&(Fe=yield(0,C.C)(z.updateMetadataWithRegionalInformation.bind(z),h.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(Fe)),(0,E.sH)(B,Fe,!0),l.cv.NETWORK;throw(0,c.mQ)(A.openIdConfigError,z.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(B){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const z=this.getEndpointMetadataFromConfig();if(z)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,E.sH)(B,z,!1),{source:l.cv.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const Fe=this.getEndpointMetadataFromHardcodedValues();if(Fe)return(0,E.sH)(B,Fe,!1),{source:l.cv.HARDCODED_VALUES,metadata:Fe};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const de=(0,E.mk)(B);return this.isAuthoritySameType(B)&&B.endpointsFromNetwork&&!de?(this.logger.verbose("Found endpoint metadata in the cache."),{source:l.cv.CACHE}):(de&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(B){return new e._(B.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,b.QN)(T.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var B=this;return(0,n.c)(function*(){B.performanceClient?.addQueueMeasurement(h.Xv.AuthorityGetEndpointMetadataFromNetwork,B.correlationId);const z={},de=B.defaultOpenIdConfigurationEndpoint;B.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${de}`);try{const Fe=yield B.networkInterface.sendGetRequestAsync(de,z);return function a(un){return un.hasOwnProperty("authorization_endpoint")&&un.hasOwnProperty("token_endpoint")&&un.hasOwnProperty("issuer")&&un.hasOwnProperty("jwks_uri")}(Fe.body)?Fe.body:(B.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(Fe){return B.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${Fe}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in g.gB?g.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.correlationId);const de=z.authorityOptions.azureRegionConfiguration?.azureRegion;if(de){if(de!==l.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return z.regionDiscoveryMetadata.region_outcome=l.wR.CONFIGURED_NO_AUTO_DETECTION,z.regionDiscoveryMetadata.region_used=de,R.replaceWithRegionalInformation(B,de);const Fe=yield(0,C.C)(z.regionDiscovery.detectRegion.bind(z.regionDiscovery),h.Xv.RegionDiscoveryDetectRegion,z.logger,z.performanceClient,z.correlationId)(z.authorityOptions.azureRegionConfiguration?.environmentRegion,z.regionDiscoveryMetadata);if(Fe)return z.regionDiscoveryMetadata.region_outcome=l.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,z.regionDiscoveryMetadata.region_used=Fe,R.replaceWithRegionalInformation(B,Fe);z.regionDiscoveryMetadata.region_outcome=l.wR.AUTO_DETECTION_REQUESTED_FAILED}return B})()}updateCloudDiscoveryMetadata(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.AuthorityUpdateCloudDiscoveryMetadata,z.correlationId);const de=z.updateCloudDiscoveryMetadataFromLocalSources(B);if(de)return de;const Fe=yield(0,C.C)(z.getCloudDiscoveryMetadataFromNetwork.bind(z),h.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(Fe)return(0,E.cb)(B,Fe,!0),l.cv.NETWORK;throw(0,b.QN)(T.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(B){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||l.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||l.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${B.canonical_authority||l.Mv.NOT_APPLICABLE}`);const z=this.getCloudDiscoveryMetadataFromConfig();if(z)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,E.cb)(B,z,!1),l.cv.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const Fe=(0,g.UD)(this.hostnameAndPort);if(Fe)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,E.cb)(B,Fe,!1),l.cv.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}const de=(0,E.mk)(B);return this.isAuthoritySameType(B)&&B.aliasesFromNetwork&&!de?(this.logger.verbose("Found cloud discovery metadata in the cache."),l.cv.CACHE):(de&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===u.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),R.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const B=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),z=(0,g._8)(B.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),z)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),z;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),(0,b.QN)(T.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),R.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var B=this;return(0,n.c)(function*(){B.performanceClient?.addQueueMeasurement(h.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,B.correlationId);const z=`${l.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${B.canonicalAuthority}oauth2/v2.0/authorize`,de={};let Fe=null;try{const Te=yield B.networkInterface.sendGetRequestAsync(z,de);let me,Ae;if(function y(un){return un.hasOwnProperty("tenant_discovery_endpoint")&&un.hasOwnProperty("metadata")}(Te.body))me=Te.body,Ae=me.metadata,B.logger.verbosePii(`tenant_discovery_endpoint is: ${me.tenant_discovery_endpoint}`);else{if(!function m(un){return un.hasOwnProperty("error")&&un.hasOwnProperty("error_description")}(Te.body))return B.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(B.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${Te.status}`),me=Te.body,me.error===l.Mv.INVALID_INSTANCE)return B.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;B.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${me.error}`),B.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${me.error_description}`),B.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),Ae=[]}B.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),Fe=(0,g._8)(Ae,B.hostnameAndPort)}catch(Te){return B.logger.error(Te instanceof M.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${Te.errorCode}\nError Description: ${Te.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${Te.name}\nError Description: ${Te.message}`),null}return Fe||(B.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),B.logger.verbose("Creating custom Authority for custom domain scenario."),Fe=R.createCloudDiscoveryMetadataFromHost(B.hostnameAndPort)),Fe})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(z=>z&&e._.getDomainFromUrl(z).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(B,z){let de;return z&&z.azureCloudInstance!==S.C.None&&(de=`${z.azureCloudInstance}/${z.tenant?z.tenant:l.Mv.DEFAULT_COMMON_TENANT}/`),de||B}static createCloudDiscoveryMetadataFromHost(B){return{preferred_network:B,preferred_cache:B,aliases:[B]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,c.mQ)(A.endpointResolutionError)}isAlias(B){return this.metadata.aliases.indexOf(B)>-1}isAliasOfKnownMicrosoftAuthority(B){return g.IP.has(B)}static isPublicCloudAuthority(B){return l.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(B)>=0}static buildRegionalAuthorityString(B,z,de){const Fe=new e._(B);Fe.validateAsUri();const Te=Fe.getUrlComponents();let me=`${z}.${Te.HostNameAndPort}`;this.isPublicCloudAuthority(Te.HostNameAndPort)&&(me=`${z}.${l.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const Ae=e._.constructAuthorityUriFromObject({...Fe.getUrlComponents(),HostNameAndPort:me}).urlString;return de?`${Ae}?${de}`:Ae}static replaceWithRegionalInformation(B,z){const de={...B};return de.authorization_endpoint=R.buildRegionalAuthorityString(de.authorization_endpoint,z),de.token_endpoint=R.buildRegionalAuthorityString(de.token_endpoint,z),de.end_session_endpoint&&(de.end_session_endpoint=R.buildRegionalAuthorityString(de.end_session_endpoint,z)),de}static transformCIAMAuthority(B){let z=B;const Fe=new e._(B).getUrlComponents();return 0===Fe.PathSegments.length&&Fe.HostNameAndPort.endsWith(l.Mv.CIAM_AUTH_URL)&&(z=`${z}${Fe.HostNameAndPort.split(".")[0]}${l.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),z}}function P(un){return un.endsWith(l.Mv.FORWARD_SLASH)?un:`${un}${l.Mv.FORWARD_SLASH}`}R.reservedTenantDomains=new Set(["{tenant}","{tenantid}",l.sN.COMMON,l.sN.CONSUMERS,l.sN.ORGANIZATIONS]);var x=o(53408),V=o(98416),F=o(72896),ee=o(69812),X=o(26956),ce=o(84644),Q=o(28612),ne=o(72592),Y=o(85968),H=o(76944);class ae{static generateThrottlingStorageKey(B){return`${l.gr.THROTTLING_PREFIX}.${JSON.stringify(B)}`}static preProcess(B,z){const de=ae.generateThrottlingStorageKey(z),Fe=B.getThrottlingCache(de);if(Fe){if(Fe.throttleTime=500&&B.status<600}static checkResponseForRetryAfter(B){return!!B.headers&&B.headers.hasOwnProperty(l.MF.RETRY_AFTER)&&(B.status<200||B.status>=300)}static calculateThrottleTime(B){const z=B<=0?0:B,de=Date.now()/1e3;return Math.floor(1e3*Math.min(de+(z||l.gr.DEFAULT_THROTTLE_TIME_SECONDS),de+l.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(B,z,de,Fe){const me=this.generateThrottlingStorageKey({clientId:z,authority:de.authority,scopes:de.scopes,homeAccountIdentifier:Fe,claims:de.claims,authenticationScheme:de.authenticationScheme,resourceRequestMethod:de.resourceRequestMethod,resourceRequestUri:de.resourceRequestUri,shrClaims:de.shrClaims,sshKid:de.sshKid});B.removeItem(me)}}var J=o(86144),K=o(80660);class W{constructor(B,z){this.networkClient=B,this.cacheManager=z}sendPostRequest(B,z,de){var Fe=this;return(0,n.c)(function*(){let Te;ae.preProcess(Fe.cacheManager,B);try{Te=yield Fe.networkClient.sendPostRequestAsync(z,de)}catch(me){throw me instanceof M.WM?me:(0,c.mQ)(A.networkError)}return ae.postProcess(Fe.cacheManager,B,Te),Te})()}}var re=o(73364),G=o(75205),ue=o(16256),ye=o(22045),Ie=o(33363);function be(un,B,z,de,Fe,Te,me){return ie.apply(this,arguments)}function ie(){return(ie=(0,n.c)(function*(un,B,z,de,Fe,Te,me){me?.addQueueMeasurement(h.Xv.AuthorityFactoryCreateDiscoveredInstance,Te);const Ae=R.transformCIAMAuthority(P(un)),et=new R(Ae,B,z,de,Fe,Te,me);try{return yield(0,C.C)(et.resolveEndpointsAsync.bind(et),h.Xv.AuthorityResolveEndpointsAsync,Fe,me,Te)(),et}catch{throw(0,c.mQ)(A.endpointResolutionError)}})).apply(this,arguments)}class De{constructor(B,z){this.config=(0,K.cJ)(B),this.logger=new re.Y(this.config.loggerOptions,G.N,G.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new W(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=z}createTokenRequestHeaders(B){const z={};if(z[l.MF.CONTENT_TYPE]=l.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&B)switch(B.type){case ue.s.HOME_ACCOUNT_ID:try{const de=(0,ye.k)(B.credential);z[l.MF.CCS_HEADER]=`Oid:${de.uid}@${de.utid}`}catch(de){this.logger.verbose("Could not parse home account ID for CCS Header: "+de)}break;case ue.s.UPN:z[l.MF.CCS_HEADER]=`UPN: ${B.credential}`}return z}executePostToTokenEndpoint(B,z,de,Fe,Te,me){var Ae=this;return(0,n.c)(function*(){me&&Ae.performanceClient?.addQueueMeasurement(me,Te);const et=yield Ae.networkManager.sendPostRequest(Fe,B,{body:z,headers:de});return Ae.performanceClient?.addFields({refreshTokenSize:et.body.refresh_token?.length||0,httpVerToken:et.headers?.[l.MF.X_MS_HTTP_VERSION]||""},Te),Ae.config.serverTelemetryManager&&et.status<500&&429!==et.status&&Ae.config.serverTelemetryManager.clearTelemetryCache(),et})()}updateAuthority(B,z){var de=this;return(0,n.c)(function*(){de.performanceClient?.addQueueMeasurement(h.Xv.UpdateTokenEndpointAuthority,z);const Fe=`https://${B}/${de.authority.tenant}/`,Te=yield be(Fe,de.networkClient,de.cacheManager,de.authority.options,de.logger,z,de.performanceClient);de.authority=Te})()}createTokenQueryParameters(B){const z=new Ie.I;return B.tokenQueryParameters&&z.addExtraQueryParameters(B.tokenQueryParameters),z.createQueryString()}}var ze=o(91076),qe=o(95248),nt=o(9488),ft=o(46392);class rt{constructor(B,z){this.cache=B,this.hasChanged=z}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var mt=o(6400),Wt=o(79032),bt=o(60928);class Bt{constructor(B,z,de,Fe,Te,me,Ae){this.clientId=B,this.cacheStorage=z,this.cryptoObj=de,this.logger=Fe,this.serializableCache=Te,this.persistencePlugin=me,this.performanceClient=Ae}validateServerAuthorizationCodeResponse(B,z){if(!B.state||!z)throw(0,c.mQ)(A.stateNotFound,B.state?"Cached State":"Server State");let de,Fe;try{de=decodeURIComponent(B.state)}catch{throw(0,c.mQ)(A.invalidState,B.state)}try{Fe=decodeURIComponent(z)}catch{throw(0,c.mQ)(A.invalidState,B.state)}if(de!==Fe)throw(0,c.mQ)(A.stateMismatch);if(B.error||B.error_description||B.suberror)throw(0,x.aq)(B.error,B.error_description,B.suberror)?new x.uw(B.error||"",B.error_description,B.suberror,B.timestamp||"",B.trace_id||"",B.correlation_id||"",B.claims||""):new H.s(B.error||"",B.error_description,B.suberror)}validateTokenResponse(B,z){if(B.error||B.error_description||B.suberror){const Fe=new H.s(B.error,`${B.error_codes} - [${B.timestamp}]: ${B.error_description} - Correlation ID: ${B.correlation_id} - Trace ID: ${B.trace_id}`,B.suberror);if(z&&B.status&&B.status>=l.Q3.SERVER_ERROR_RANGE_START&&B.status<=l.Q3.SERVER_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n${Fe}`);if(z&&B.status&&B.status>=l.Q3.CLIENT_ERROR_RANGE_START&&B.status<=l.Q3.CLIENT_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n${Fe}`);throw(0,x.aq)(B.error,B.error_description,B.suberror)?new x.uw(B.error,B.error_description,B.suberror,B.timestamp||l.Mv.EMPTY_STRING,B.trace_id||l.Mv.EMPTY_STRING,B.correlation_id||l.Mv.EMPTY_STRING,B.claims||l.Mv.EMPTY_STRING):Fe}}handleServerTokenResponse(B,z,de,Fe,Te,me,Ae,et,pt){var At=this;return(0,n.c)(function*(){let Nt,Jt;if(At.performanceClient?.addQueueMeasurement(h.Xv.HandleServerTokenResponse,B.correlation_id),B.id_token){if(Nt=(0,mt.aw)(B.id_token||l.Mv.EMPTY_STRING,At.cryptoObj.base64Decode),Te&&Te.nonce&&Nt.nonce!==Te.nonce)throw(0,c.mQ)(A.nonceMismatch);if(Fe.maxAge||0===Fe.maxAge){const Cn=Nt.auth_time;if(!Cn)throw(0,c.mQ)(A.authTimeNotFound);(0,mt.UH)(Cn,Fe.maxAge)}}At.homeAccountIdentifier=V.M.generateHomeAccountId(B.client_info||l.Mv.EMPTY_STRING,z.authorityType,At.logger,At.cryptoObj,Nt),Te&&Te.state&&(Jt=J.c.parseRequestState(At.cryptoObj,Te.state)),B.key_id=B.key_id||Fe.sshKid||void 0;const mn=At.generateCacheRecord(B,z,de,Fe,Nt,me,Te);let _n;try{if(At.persistencePlugin&&At.serializableCache&&(At.logger.verbose("Persistence enabled, calling beforeCacheAccess"),_n=new rt(At.serializableCache,!0),yield At.persistencePlugin.beforeCacheAccess(_n)),Ae&&!et&&mn.account){const Cn=mn.account.generateAccountKey();if(!At.cacheStorage.getAccount(Cn,At.logger))return At.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Bt.generateAuthenticationResult(At.cryptoObj,z,mn,!1,Fe,Nt,Jt,void 0,pt)}yield At.cacheStorage.saveCacheRecord(mn,Fe.storeInCache)}finally{At.persistencePlugin&&At.serializableCache&&_n&&(At.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield At.persistencePlugin.afterCacheAccess(_n))}return Bt.generateAuthenticationResult(At.cryptoObj,z,mn,!1,Fe,Nt,Jt,B,pt)})()}generateCacheRecord(B,z,de,Fe,Te,me,Ae){const et=z.getPreferredCache();if(!et)throw(0,c.mQ)(A.invalidCacheEnvironment);const pt=(0,Wt.c)(Te);let At,Nt;B.id_token&&Te&&(At=(0,E.YF)(this.homeAccountIdentifier,et,B.id_token,this.clientId,pt||""),Nt=an(this.cacheStorage,z,this.homeAccountIdentifier,Te,this.cryptoObj.base64Decode,B.client_info,et,pt,Ae,void 0,this.logger));let Jt=null;if(B.access_token){const Cn=B.scope?qe.k.fromString(B.scope):new qe.k(Fe.scopes||[]),fn=("string"==typeof B.expires_in?parseInt(B.expires_in,10):B.expires_in)||0,Gt=("string"==typeof B.ext_expires_in?parseInt(B.ext_expires_in,10):B.ext_expires_in)||0,Nn=("string"==typeof B.refresh_in?parseInt(B.refresh_in,10):B.refresh_in)||void 0,lr=de+fn,cr=lr+Gt,Nr=Nn&&Nn>0?de+Nn:void 0;Jt=(0,E.MJ)(this.homeAccountIdentifier,et,B.access_token,this.clientId,pt||z.tenant||"",Cn.printScopes(),lr,cr,this.cryptoObj.base64Decode,Nr,B.token_type,me,B.key_id,Fe.claims,Fe.requestedClaimsHash)}let mn=null;if(B.refresh_token){let Cn;B.refresh_token_expires_in&&(Cn=de+("string"==typeof B.refresh_token_expires_in?parseInt(B.refresh_token_expires_in,10):B.refresh_token_expires_in)),mn=(0,E._c)(this.homeAccountIdentifier,et,B.refresh_token,this.clientId,B.foci,me,Cn)}let _n=null;return B.foci&&(_n={clientId:this.clientId,environment:et,familyId:B.foci}),new nt.O(Nt,At,Jt,mn,_n)}static generateAuthenticationResult(B,z,de,Fe,Te,me,Ae,et,pt){return(0,n.c)(function*(){let mn,_n,At=l.Mv.EMPTY_STRING,Nt=[],Jt=null,Cn=l.Mv.EMPTY_STRING;if(de.accessToken){if(de.accessToken.tokenType===l.me.POP){const lr=new ft.w(B),{secret:cr,keyId:Nr}=de.accessToken;if(!Nr)throw(0,c.mQ)(A.keyIdMissing);At=yield lr.signPopToken(cr,Nr,Te)}else At=de.accessToken.secret;Nt=qe.k.fromString(de.accessToken.target).asArray(),Jt=new Date(1e3*Number(de.accessToken.expiresOn)),mn=new Date(1e3*Number(de.accessToken.extendedExpiresOn)),de.accessToken.refreshOn&&(_n=new Date(1e3*Number(de.accessToken.refreshOn)))}de.appMetadata&&(Cn=de.appMetadata.familyId===l.wj?l.wj:"");const fn=me?.oid||me?.sub||"",Gt=me?.tid||"";et?.spa_accountid&&de.account&&(de.account.nativeAccountId=et?.spa_accountid);const Nn=de.account?(0,bt.Ho)(de.account.getAccountInfo(),void 0,me,de.idToken?.secret):null;return{authority:z.canonicalAuthority,uniqueId:fn,tenantId:Gt,scopes:Nt,account:Nn,idToken:de?.idToken?.secret||"",idTokenClaims:me||{},accessToken:At,fromCache:Fe,expiresOn:Jt,extExpiresOn:mn,refreshOn:_n,correlationId:Te.correlationId,requestId:pt||l.Mv.EMPTY_STRING,familyId:Cn,tokenType:de.accessToken?.tokenType||l.Mv.EMPTY_STRING,state:Ae?Ae.userRequestState:l.Mv.EMPTY_STRING,cloudGraphHostName:de.account?.cloudGraphHostName||l.Mv.EMPTY_STRING,msGraphHost:de.account?.msGraphHost||l.Mv.EMPTY_STRING,code:et?.spa_code,fromNativeBroker:!1}})()}}function an(un,B,z,de,Fe,Te,me,Ae,et,pt,At){At?.verbose("setCachedAccount called");const Jt=un.getAccountKeys().find(fn=>fn.startsWith(z));let mn=null;Jt&&(mn=un.getAccount(Jt,At));const _n=mn||V.M.createAccount({homeAccountId:z,idTokenClaims:de,clientInfo:Te,environment:me,cloudGraphHostName:et?.cloud_graph_host_name,msGraphHost:et?.msgraph_host,nativeAccountId:pt},B,Fe),Cn=_n.tenantProfiles||[];if(Ae&&!Cn.find(fn=>fn.tenantId===Ae)){const fn=(0,bt.EJ)(z,de);Cn.push(fn)}return _n.tenantProfiles=Cn,_n}var hn=o(7828),wn=o(50160),An=o(77768);class vn extends De{constructor(B,z){super(B,z),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.GetAuthCodeUrl,B.correlationId);const de=yield(0,C.C)(z.createAuthCodeUrlQueryString.bind(z),h.Xv.AuthClientCreateQueryString,z.logger,z.performanceClient,B.correlationId)(B);return e._.appendQueryString(z.authority.authorizationEndpoint,de)})()}acquireToken(B,z){var de=this;return(0,n.c)(function*(){if(de.performanceClient?.addQueueMeasurement(h.Xv.AuthClientAcquireToken,B.correlationId),!B.code)throw(0,c.mQ)(A.requestCannotBeMade);const Fe=(0,wn.GO)(),Te=yield(0,C.C)(de.executeTokenRequest.bind(de),h.Xv.AuthClientExecuteTokenRequest,de.logger,de.performanceClient,B.correlationId)(de.authority,B),me=Te.headers?.[l.MF.X_MS_REQUEST_ID],Ae=new Bt(de.config.authOptions.clientId,de.cacheManager,de.cryptoUtils,de.logger,de.config.serializableCache,de.config.persistencePlugin,de.performanceClient);return Ae.validateTokenResponse(Te.body),(0,C.C)(Ae.handleServerTokenResponse.bind(Ae),h.Xv.HandleServerTokenResponse,de.logger,de.performanceClient,B.correlationId)(Te.body,de.authority,Fe,B,z,void 0,void 0,void 0,me)})()}handleFragmentResponse(B,z){if(new Bt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(B,z),!B.code)throw(0,c.mQ)(A.authorizationCodeMissingFromServerResponse);return B}getLogoutUri(B){if(!B)throw(0,b.QN)(T.logoutRequestEmpty);const z=this.createLogoutUrlQueryString(B);return e._.appendQueryString(this.authority.endSessionEndpoint,z)}executeTokenRequest(B,z){var de=this;return(0,n.c)(function*(){de.performanceClient?.addQueueMeasurement(h.Xv.AuthClientExecuteTokenRequest,z.correlationId);const Fe=de.createTokenQueryParameters(z),Te=e._.appendQueryString(B.tokenEndpoint,Fe),me=yield(0,C.C)(de.createTokenRequestBody.bind(de),h.Xv.AuthClientCreateTokenRequestBody,de.logger,de.performanceClient,z.correlationId)(z);let Ae;if(z.clientInfo)try{const At=(0,ye.G)(z.clientInfo,de.cryptoUtils.base64Decode);Ae={credential:`${At.uid}${l.Mj.CLIENT_INFO_SEPARATOR}${At.utid}`,type:ue.s.HOME_ACCOUNT_ID}}catch(At){de.logger.verbose("Could not parse client info for CCS Header: "+At)}const et=de.createTokenRequestHeaders(Ae||z.ccsCredential),pt={clientId:z.tokenBodyParameters?.clientId||de.config.authOptions.clientId,authority:B.canonicalAuthority,scopes:z.scopes,claims:z.claims,authenticationScheme:z.authenticationScheme,resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,sshKid:z.sshKid};return(0,C.C)(de.executePostToTokenEndpoint.bind(de),h.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,de.logger,de.performanceClient,z.correlationId)(Te,me,et,pt,z.correlationId,h.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.AuthClientCreateTokenRequestBody,B.correlationId);const de=new Ie.I;if(de.addClientId(B.tokenBodyParameters?.[ze._k]||z.config.authOptions.clientId),z.includeRedirectUri?de.addRedirectUri(B.redirectUri):An.e.validateRedirectUri(B.redirectUri),de.addScopes(B.scopes,!0,z.oidcDefaultScopes),de.addAuthorizationCode(B.code),de.addLibraryInfo(z.config.libraryInfo),de.addApplicationTelemetry(z.config.telemetry.application),de.addThrottling(),z.serverTelemetryManager&&!(0,K.qW)(z.config)&&de.addServerTelemetry(z.serverTelemetryManager),B.codeVerifier&&de.addCodeVerifier(B.codeVerifier),z.config.clientCredentials.clientSecret&&de.addClientSecret(z.config.clientCredentials.clientSecret),z.config.clientCredentials.clientAssertion){const me=z.config.clientCredentials.clientAssertion;de.addClientAssertion(me.assertion),de.addClientAssertionType(me.assertionType)}if(de.addGrantType(l.Ku.AUTHORIZATION_CODE_GRANT),de.addClientInfo(),B.authenticationScheme===l.me.POP){const me=new ft.w(z.cryptoUtils,z.performanceClient),Ae=yield(0,C.C)(me.generateCnf.bind(me),h.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,B.correlationId)(B,z.logger);de.addPopToken(Ae.reqCnfString)}else if(B.authenticationScheme===l.me.SSH){if(!B.sshJwk)throw(0,b.QN)(T.missingSshJwk);de.addSshJwk(B.sshJwk)}const Fe=B.correlationId||z.config.cryptoInterface.createNewGuid();let Te;if(de.addCorrelationId(Fe),(!hn.e.isEmptyObj(B.claims)||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&de.addClaims(B.claims,z.config.authOptions.clientCapabilities),B.clientInfo)try{const me=(0,ye.G)(B.clientInfo,z.cryptoUtils.base64Decode);Te={credential:`${me.uid}${l.Mj.CLIENT_INFO_SEPARATOR}${me.utid}`,type:ue.s.HOME_ACCOUNT_ID}}catch(me){z.logger.verbose("Could not parse client info for CCS Header: "+me)}else Te=B.ccsCredential;if(z.config.systemOptions.preventCorsPreflight&&Te)switch(Te.type){case ue.s.HOME_ACCOUNT_ID:try{const me=(0,ye.k)(Te.credential);de.addCcsOid(me)}catch(me){z.logger.verbose("Could not parse home account ID for CCS Header: "+me)}break;case ue.s.UPN:de.addCcsUpn(Te.credential)}return B.tokenBodyParameters&&de.addExtraQueryParameters(B.tokenBodyParameters),B.enableSpaAuthorizationCode&&(!B.tokenBodyParameters||!B.tokenBodyParameters[ze.SS])&&de.addExtraQueryParameters({[ze.SS]:"1"}),de.createQueryString()})()}createAuthCodeUrlQueryString(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.AuthClientCreateQueryString,B.correlationId);const de=new Ie.I;de.addClientId(B.extraQueryParameters?.[ze._k]||z.config.authOptions.clientId);const Fe=[...B.scopes||[],...B.extraScopesToConsent||[]];de.addScopes(Fe,!0,z.oidcDefaultScopes),de.addRedirectUri(B.redirectUri);const Te=B.correlationId||z.config.cryptoInterface.createNewGuid();if(de.addCorrelationId(Te),de.addResponseMode(B.responseMode),de.addResponseTypeCode(),de.addLibraryInfo(z.config.libraryInfo),(0,K.qW)(z.config)||de.addApplicationTelemetry(z.config.telemetry.application),de.addClientInfo(),B.codeChallenge&&B.codeChallengeMethod&&de.addCodeChallengeParams(B.codeChallenge,B.codeChallengeMethod),B.prompt&&de.addPrompt(B.prompt),B.domainHint&&de.addDomainHint(B.domainHint),B.prompt!==l.GI.SELECT_ACCOUNT)if(B.sid&&B.prompt===l.GI.NONE)z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),de.addSid(B.sid);else if(B.account){const me=z.extractAccountSid(B.account),Ae=z.extractLoginHint(B.account);if(Ae){z.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),de.addLoginHint(Ae);try{const et=(0,ye.k)(B.account.homeAccountId);de.addCcsOid(et)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(me&&B.prompt===l.GI.NONE){z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),de.addSid(me);try{const et=(0,ye.k)(B.account.homeAccountId);de.addCcsOid(et)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(B.loginHint)z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),de.addLoginHint(B.loginHint),de.addCcsUpn(B.loginHint);else if(B.account.username){z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),de.addLoginHint(B.account.username);try{const et=(0,ye.k)(B.account.homeAccountId);de.addCcsOid(et)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else B.loginHint&&(z.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),de.addLoginHint(B.loginHint),de.addCcsUpn(B.loginHint));else z.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(B.nonce&&de.addNonce(B.nonce),B.state&&de.addState(B.state),(B.claims||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&de.addClaims(B.claims,z.config.authOptions.clientCapabilities),B.extraQueryParameters&&de.addExtraQueryParameters(B.extraQueryParameters),B.nativeBroker&&(de.addNativeBroker(),B.authenticationScheme===l.me.POP)){const me=new ft.w(z.cryptoUtils),Ae=yield(0,C.C)(me.generateCnf.bind(me),h.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,B.correlationId)(B,z.logger);de.addPopToken(Ae.reqCnfHash)}return de.createQueryString()})()}createLogoutUrlQueryString(B){const z=new Ie.I;return B.postLogoutRedirectUri&&z.addPostLogoutRedirectUri(B.postLogoutRedirectUri),B.correlationId&&z.addCorrelationId(B.correlationId),B.idTokenHint&&z.addIdTokenHint(B.idTokenHint),B.state&&z.addState(B.state),B.logoutHint&&z.addLogoutHint(B.logoutHint),B.extraQueryParameters&&z.addExtraQueryParameters(B.extraQueryParameters),z.createQueryString()}extractAccountSid(B){return B.idTokenClaims?.sid||null}extractLoginHint(B){return B.idTokenClaims?.login_hint||null}}class en{constructor(B,z){this.cacheOutcome=l.Mf.NOT_APPLICABLE,this.cacheManager=z,this.apiId=B.apiId,this.correlationId=B.correlationId,this.wrapperSKU=B.wrapperSKU||l.Mv.EMPTY_STRING,this.wrapperVer=B.wrapperVer||l.Mv.EMPTY_STRING,this.telemetryCacheKey=l.ic.CACHE_KEY+l.Mj.CACHE_KEY_SEPARATOR+B.clientId}generateCurrentRequestHeaderValue(){const B=`${this.apiId}${l.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,z=[this.wrapperSKU,this.wrapperVer].join(l.ic.VALUE_SEPARATOR),Fe=[B,this.getRegionDiscoveryFields()].join(l.ic.VALUE_SEPARATOR);return[l.ic.SCHEMA_VERSION,Fe,z].join(l.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const B=this.getLastRequests(),z=en.maxErrorsToSend(B),de=B.failedRequests.slice(0,2*z).join(l.ic.VALUE_SEPARATOR),Fe=B.errors.slice(0,z).join(l.ic.VALUE_SEPARATOR),Te=B.errors.length,Ae=[Te,z=l.ic.MAX_CACHED_ERRORS&&(z.failedRequests.shift(),z.failedRequests.shift(),z.errors.shift()),z.failedRequests.push(this.apiId,this.correlationId),B instanceof Error&&B&&B.toString()?z.errors.push(B instanceof M.WM?B.subError?B.subError:B.errorCode?B.errorCode:B.toString():B.toString()):z.errors.push(l.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,z)}incrementCacheHits(){const B=this.getLastRequests();return B.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,B),B.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const B=this.getLastRequests(),z=en.maxErrorsToSend(B);if(z===B.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const Fe={failedRequests:B.failedRequests.slice(2*z),errors:B.errors.slice(z),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,Fe)}}static maxErrorsToSend(B){let z,de=0,Fe=0;const Te=B.errors.length;for(z=0;z0)&&Fe.addClaims(B.claims,z.config.authOptions.clientCapabilities),z.config.systemOptions.preventCorsPreflight&&B.ccsCredential)switch(B.ccsCredential.type){case ue.s.HOME_ACCOUNT_ID:try{const Te=(0,ye.k)(B.ccsCredential.credential);Fe.addCcsOid(Te)}catch(Te){z.logger.verbose("Could not parse home account ID for CCS Header: "+Te)}break;case ue.s.UPN:Fe.addCcsUpn(B.ccsCredential.credential)}return B.tokenBodyParameters&&Fe.addExtraQueryParameters(B.tokenBodyParameters),Fe.createQueryString()})()}}class Mr extends De{constructor(B,z){super(B,z)}acquireToken(B){var z=this;return(0,n.c)(function*(){try{const[de,Fe]=yield z.acquireCachedToken(B);return Fe===l.Mf.PROACTIVELY_REFRESHED&&(z.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(B).catch(()=>{})),de}catch(de){if(de instanceof c.oJ&&de.errorCode===A.tokenRefreshRequired)return new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(B);throw de}})()}acquireCachedToken(B){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(h.Xv.SilentFlowClientAcquireCachedToken,B.correlationId);let de=l.Mf.NOT_APPLICABLE;if(B.forceRefresh||!z.config.cacheOptions.claimsBasedCachingEnabled&&!hn.e.isEmptyObj(B.claims))throw z.setCacheOutcome(l.Mf.FORCE_REFRESH_OR_CLAIMS,B.correlationId),(0,c.mQ)(A.tokenRefreshRequired);if(!B.account)throw(0,c.mQ)(A.noAccountInSilentRequest);const Fe=B.account.tenantId||function N(un){const de=new e._(un).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(de){case l.sN.COMMON:case l.sN.ORGANIZATIONS:case l.sN.CONSUMERS:return;default:return de}}(B.authority),Te=z.cacheManager.getTokenKeys(),me=z.cacheManager.getAccessToken(B.account,B,Te,Fe,z.performanceClient,B.correlationId);if(!me)throw z.setCacheOutcome(l.Mf.NO_CACHED_ACCESS_TOKEN,B.correlationId),(0,c.mQ)(A.tokenRefreshRequired);if((0,wn.G4)(me.cachedAt)||(0,wn.WY)(me.expiresOn,z.config.systemOptions.tokenRenewalOffsetSeconds))throw z.setCacheOutcome(l.Mf.CACHED_ACCESS_TOKEN_EXPIRED,B.correlationId),(0,c.mQ)(A.tokenRefreshRequired);me.refreshOn&&(0,wn.WY)(me.refreshOn,0)&&(de=l.Mf.PROACTIVELY_REFRESHED);const Ae=B.authority||z.authority.getPreferredCache(),et={account:z.cacheManager.readAccountFromCache(B.account),accessToken:me,idToken:z.cacheManager.getIdToken(B.account,Te,Fe,z.performanceClient,B.correlationId),refreshToken:null,appMetadata:z.cacheManager.readAppMetadataFromCache(Ae)};return z.setCacheOutcome(de,B.correlationId),z.config.serverTelemetryManager&&z.config.serverTelemetryManager.incrementCacheHits(),[yield(0,C.C)(z.generateResultFromCacheRecord.bind(z),h.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.logger,z.performanceClient,B.correlationId)(et,B),de]})()}setCacheOutcome(B,z){this.serverTelemetryManager?.setCacheOutcome(B),this.performanceClient?.addFields({cacheOutcome:B},z),B!==l.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${B}`)}generateResultFromCacheRecord(B,z){var de=this;return(0,n.c)(function*(){let Fe;if(de.performanceClient?.addQueueMeasurement(h.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.correlationId),B.idToken&&(Fe=(0,mt.aw)(B.idToken.secret,de.config.cryptoInterface.base64Decode)),z.maxAge||0===z.maxAge){const Te=Fe?.auth_time;if(!Te)throw(0,c.mQ)(A.authTimeNotFound);(0,mt.UH)(Te,z.maxAge)}return Bt.generateAuthenticationResult(de.cryptoUtils,de.authority,B,!0,z,Fe)})()}}class yr extends Yt{acquireToken(B){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(h.Xv.SilentCacheClientAcquireToken,B.correlationId);const de=z.initializeServerTelemetryManager(X.Ed.acquireTokenSilent_silentFlow),Fe=yield z.createSilentFlowClient(de,B.authority,B.azureCloudOptions,B.account);z.logger.verbose("Silent auth client created");try{const me=(yield(0,C.C)(Fe.acquireCachedToken.bind(Fe),h.Xv.SilentFlowClientAcquireCachedToken,z.logger,z.performanceClient,B.correlationId)(B))[0];return z.performanceClient.addFields({fromCache:!0},B.correlationId),me}catch(Te){throw Te instanceof Pe.G&&Te.errorCode===je.cryptoKeyNotFound&&z.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),Te}})()}logout(B){this.logger.verbose("logoutRedirect called");const z=this.initializeLogoutRequest(B);return this.clearCacheOnLogout(z?.account)}createSilentFlowClient(B,z,de,Fe){var Te=this;return(0,n.c)(function*(){const me=yield(0,C.C)(Te.getClientConfiguration.bind(Te),h.Xv.StandardInteractionClientGetClientConfiguration,Te.logger,Te.performanceClient,Te.correlationId)(B,z,de,Fe);return new Mr(me,Te.performanceClient)})()}initializeSilentRequest(B,z){var de=this;return(0,n.c)(function*(){de.performanceClient.addQueueMeasurement(h.Xv.InitializeSilentRequest,de.correlationId);const Fe=yield(0,C.C)(de.initializeBaseRequest.bind(de),h.Xv.InitializeBaseRequest,de.logger,de.performanceClient,de.correlationId)(B);return{...B,...Fe,account:z,forceRefresh:B.forceRefresh||!1}})()}}var qn=o(55084);class oi extends we{constructor(B,z,de,Fe,Te,me,Ae,et,pt,At,Nt,Jt){super(B,z,de,Fe,Te,me,et,pt,Jt),this.apiId=Ae,this.accountId=At,this.nativeMessageHandler=pt,this.nativeStorageManager=Nt,this.silentCacheClient=new yr(B,this.nativeStorageManager,de,Fe,Te,me,et,pt,Jt)}acquireToken(B){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(h.Xv.NativeInteractionClientAcquireToken,B.correlationId),z.logger.trace("NativeInteractionClient - acquireToken called.");const de=z.performanceClient.startMeasurement(h.Xv.NativeInteractionClientAcquireToken,B.correlationId),Fe=wn.GO(),Te=yield z.initializeNativeRequest(B);try{const pt=yield z.acquireTokensFromCache(z.accountId,Te);return de.end({success:!0,isNativeBroker:!1,fromCache:!0}),pt}catch{z.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const me={method:X.Ce.GetToken,request:Te},Ae=yield z.nativeMessageHandler.sendMessage(me),et=z.validateNativeResponse(Ae);return z.handleNativeResponse(et,Te,Fe).then(pt=>(de.end({success:!0,isNativeBroker:!0,requestId:pt.requestId}),pt)).catch(pt=>{throw de.end({success:!1,errorCode:pt.errorCode,subErrorCode:pt.subError,isNativeBroker:!0}),pt})})()}createSilentCacheRequest(B,z){return{authority:B.authority,correlationId:this.correlationId,scopes:qe.k.fromString(B.scope).asArray(),account:z,forceRefresh:!1}}acquireTokensFromCache(B,z){var de=this;return(0,n.c)(function*(){if(!B)throw de.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,c.mQ)(A.noAccountFound);const Fe=de.browserStorage.getBaseAccountInfo({nativeAccountId:B});if(!Fe)throw(0,c.mQ)(A.noAccountFound);try{const Te=de.createSilentCacheRequest(z,Fe),me=yield de.silentCacheClient.acquireToken(Te),Ae={...Fe,idTokenClaims:me?.idTokenClaims,idToken:me?.idToken};return{...me,account:Ae}}catch(Te){throw Te}})()}acquireTokenRedirect(B){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const de=yield z.initializeNativeRequest(B),Fe={method:X.Ce.GetToken,request:de};try{const Ae=yield z.nativeMessageHandler.sendMessage(Fe);z.validateNativeResponse(Ae)}catch(Ae){if(Ae instanceof nn&&nr(Ae))throw Ae}z.browserStorage.setTemporaryCache(X.zH.NATIVE_REQUEST,JSON.stringify(de),!0);const Te={apiId:X.Ed.acquireTokenRedirect,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},me=z.config.auth.navigateToLoginRequestUrl?window.location.href:z.getRedirectUri(B.redirectUri);yield z.navigationClient.navigateExternal(me,Te)})()}handleRedirectPromise(B,z){var de=this;return(0,n.c)(function*(){if(de.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!de.browserStorage.isInteractionInProgress(!0))return de.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const Fe=de.browserStorage.getCachedNativeRequest();if(!Fe)return de.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),B&&z&&B?.addFields({errorCode:"no_cached_request"},z),null;const{prompt:Te,...me}=Fe;Te&&de.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),de.browserStorage.removeItem(de.browserStorage.generateCacheKey(X.zH.NATIVE_REQUEST));const Ae={method:X.Ce.GetToken,request:me},et=wn.GO();try{de.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const pt=yield de.nativeMessageHandler.sendMessage(Ae);de.validateNativeResponse(pt);const At=de.handleNativeResponse(pt,me,et);return de.browserStorage.setInteractionInProgress(!1),yield At}catch(pt){throw de.browserStorage.setInteractionInProgress(!1),pt}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(B,z,de){var Fe=this;return(0,n.c)(function*(){Fe.logger.trace("NativeInteractionClient - handleNativeResponse called.");const Te=mt.aw(B.id_token,qn.W),me=Fe.createHomeAccountIdentifier(B,Te),Ae=Fe.browserStorage.getAccountInfoFilteredBy({nativeAccountId:z.accountId})?.homeAccountId;if(me!==Ae&&B.account.id!==z.accountId)throw kr(Ht);const et=yield Fe.getDiscoveredAuthority(z.authority),pt=an(Fe.browserStorage,et,me,Te,qn.W,B.client_info,void 0,Te.tid,void 0,B.account.id,Fe.logger),At=yield Fe.generateAuthenticationResult(B,z,Te,pt,et.canonicalAuthority,de);return Fe.cacheAccount(pt),Fe.cacheNativeTokens(B,z,me,Te,At.accessToken,At.tenantId,de),At})()}createHomeAccountIdentifier(B,z){return V.M.generateHomeAccountId(B.client_info||l.Mv.EMPTY_STRING,u.O.Default,this.logger,this.browserCrypto,z)}generateScopes(B,z){return qe.k.fromString(B.scope?B.scope:z.scope)}generatePopAccessToken(B,z){var de=this;return(0,n.c)(function*(){if(z.tokenType===l.me.POP){if(B.shr)return de.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),B.shr;const Fe=new ft.w(de.browserCrypto),Te={resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,shrNonce:z.shrNonce};if(!z.keyId)throw(0,c.mQ)(A.keyIdMissing);return Fe.signPopToken(B.access_token,z.keyId,Te)}return B.access_token})()}generateAuthenticationResult(B,z,de,Fe,Te,me){var Ae=this;return(0,n.c)(function*(){const et=Ae.addTelemetryFromNativeResponse(B),pt=qe.k.fromString(B.scope?B.scope:z.scope),At=B.account.properties||{},Nt=At.UID||de.oid||de.sub||l.Mv.EMPTY_STRING,Jt=At.TenantId||de.tid||l.Mv.EMPTY_STRING,mn=(0,bt.Ho)(Fe.getAccountInfo(),void 0,de,B.id_token);mn.nativeAccountId!==B.account.id&&(mn.nativeAccountId=B.account.id);const _n=yield Ae.generatePopAccessToken(B,z),Cn=z.tokenType===l.me.POP?l.me.POP:l.me.BEARER;return{authority:Te,uniqueId:Nt,tenantId:Jt,scopes:pt.asArray(),account:mn,idToken:B.id_token,idTokenClaims:de,accessToken:_n,fromCache:!!et&&Ae.isResponseFromCache(et),expiresOn:new Date(1e3*Number(me+B.expires_in)),tokenType:Cn,correlationId:Ae.correlationId,state:B.state,fromNativeBroker:!0}})()}cacheAccount(B){this.browserStorage.setAccount(B),this.browserStorage.removeAccountContext(B).catch(z=>{this.logger.error(`Error occurred while removing account context from browser storage. ${z}`)})}cacheNativeTokens(B,z,de,Fe,Te,me,Ae){const et=E.YF(de,z.authority,B.id_token||"",z.clientId,Fe.tid||""),At=Ae+(z.tokenType===l.me.POP?l.Mv.SHR_NONCE_VALIDITY:("string"==typeof B.expires_in?parseInt(B.expires_in,10):B.expires_in)||0),Nt=this.generateScopes(B,z),Jt=E.MJ(de,z.authority,Te,z.clientId,Fe.tid||me,Nt.printScopes(),At,0,qn.W),mn=new nt.O(void 0,et,Jt);this.nativeStorageManager.saveCacheRecord(mn,z.storeInCache)}addTelemetryFromNativeResponse(B){const z=this.getMATSFromResponse(B);return z?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:z.broker_version,matsAccountJoinOnStart:z.account_join_on_start,matsAccountJoinOnEnd:z.account_join_on_end,matsDeviceJoin:z.device_join,matsPromptBehavior:z.prompt_behavior,matsApiErrorCode:z.api_error_code,matsUiVisible:z.ui_visible,matsSilentCode:z.silent_code,matsSilentBiSubCode:z.silent_bi_sub_code,matsSilentMessage:z.silent_message,matsSilentStatus:z.silent_status,matsHttpStatus:z.http_status,matsHttpEventCount:z.http_event_count},this.correlationId),z):null}validateNativeResponse(B){if(B.hasOwnProperty("access_token")&&B.hasOwnProperty("id_token")&&B.hasOwnProperty("client_info")&&B.hasOwnProperty("account")&&B.hasOwnProperty("scope")&&B.hasOwnProperty("expires_in"))return B;throw(0,M.Ub)(gt.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(B){if(B.properties.MATS)try{return JSON.parse(B.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(B){return typeof B.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!B.is_cached}initializeNativeRequest(B){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - initializeNativeRequest called");const de=B.authority||z.config.auth.authority;B.account&&(yield z.getDiscoveredAuthority(de,B.azureCloudOptions,B.account));const Fe=new e._(de);Fe.validateAsUri();const{scopes:Te,...me}=B,Ae=new qe.k(Te||[]);Ae.appendScopes(l.ac);const pt={...me,accountId:z.accountId,clientId:z.config.auth.clientId,authority:Fe.urlString,scope:Ae.printScopes(),redirectUri:z.getRedirectUri(B.redirectUri),prompt:(()=>{switch(z.apiId){case X.Ed.ssoSilent:case X.Ed.acquireTokenSilent_silentFlow:return z.logger.trace("initializeNativeRequest: silent request sets prompt to none"),l.GI.NONE}if(B.prompt)switch(B.prompt){case l.GI.NONE:case l.GI.CONSENT:case l.GI.LOGIN:return z.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),B.prompt;default:throw z.logger.trace(`initializeNativeRequest: prompt = ${B.prompt} is not compatible with native flow`),(0,Pe.Wq)(je.nativePromptNotSupported)}else z.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:z.correlationId,tokenType:B.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...B.extraQueryParameters,...B.tokenQueryParameters},extendedExpiryToken:!1};if(z.handleExtraBrokerParams(pt),pt.extraParameters=pt.extraParameters||{},pt.extraParameters.telemetry=X.sJ.MATS_TELEMETRY,B.authenticationScheme===l.me.POP){const At={resourceRequestUri:B.resourceRequestUri,resourceRequestMethod:B.resourceRequestMethod,shrClaims:B.shrClaims,shrNonce:B.shrNonce},Nt=new ft.w(z.browserCrypto),Jt=yield(0,C.C)(Nt.generateCnf.bind(Nt),h.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,z.correlationId)(At,z.logger);pt.reqCnf=Jt.reqCnfHash,pt.keyId=Jt.kid}return pt})()}handleExtraBrokerParams(B){if(B.extraParameters&&B.extraParameters.hasOwnProperty("brk_client_id")&&B.extraParameters.hasOwnProperty("brk_redirect_uri")&&B.extraParameters.hasOwnProperty(ze._k)){const Fe=B.extraParameters.brk_redirect_uri;B.extraParameters={child_client_id:B.extraParameters[ze._k],child_redirect_uri:B.redirectUri},B.redirectUri=Fe}}}class Sr{constructor(B,z,de,Fe){this.logger=B,this.handshakeTimeoutMs=z,this.extensionId=Fe,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=de,this.handshakeEvent=de.startMeasurement(h.Xv.NativeMessageHandlerHandshake)}sendMessage(B){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeMessageHandler - sendMessage called.");const de={channel:X.sJ.CHANNEL_ID,extensionId:z.extensionId,responseId:(0,Ue.E5)(),body:B};return z.logger.trace("NativeMessageHandler - Sending request to browser extension"),z.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(de)}`),z.messageChannel.port1.postMessage(de),new Promise((Fe,Te)=>{z.resolvers.set(de.responseId,{resolve:Fe,reject:Te})})})()}static createProvider(B,z,de){return(0,n.c)(function*(){B.trace("NativeMessageHandler - createProvider called.");try{const Fe=new Sr(B,z,de,X.sJ.PREFERRED_EXTENSION_ID);return yield Fe.sendHandshakeRequest(),Fe}catch{const Te=new Sr(B,z,de);return yield Te.sendHandshakeRequest(),Te}})()}sendHandshakeRequest(){var B=this;return(0,n.c)(function*(){B.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",B.windowListener,!1);const z={channel:X.sJ.CHANNEL_ID,extensionId:B.extensionId,responseId:(0,Ue.E5)(),body:{method:X.Ce.HandshakeRequest}};return B.handshakeEvent.add({extensionId:B.extensionId,extensionHandshakeTimeoutMs:B.handshakeTimeoutMs}),B.messageChannel.port1.onmessage=de=>{B.onChannelMessage(de)},window.postMessage(z,window.origin,[B.messageChannel.port2]),new Promise((de,Fe)=>{B.handshakeResolvers.set(z.responseId,{resolve:de,reject:Fe}),B.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",B.windowListener,!1),B.messageChannel.port1.close(),B.messageChannel.port2.close(),B.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),Fe((0,Pe.Wq)(je.nativeHandshakeTimeout)),B.handshakeResolvers.delete(z.responseId)},B.handshakeTimeoutMs)})})()}onWindowMessage(B){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),B.source!==window)return;const z=B.data;if(z.channel&&z.channel===X.sJ.CHANNEL_ID&&(!z.extensionId||z.extensionId===this.extensionId)&&z.body.method===X.Ce.HandshakeRequest){const de=this.handshakeResolvers.get(z.responseId);if(!de)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${z.responseId}`);this.logger.verbose(z.extensionId?`Extension with id: ${z.extensionId} not installed`:"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),de.reject((0,Pe.Wq)(je.nativeExtensionNotInstalled))}}onChannelMessage(B){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const z=B.data,de=this.resolvers.get(z.responseId),Fe=this.handshakeResolvers.get(z.responseId);try{const Te=z.body.method;if(Te===X.Ce.Response){if(!de)return;const me=z.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(me)}`),"Success"!==me.status)de.reject(kr(me.code,me.description,me.ext));else{if(!me.result)throw(0,M.Ub)(gt.unexpectedError,"Event does not contain result.");me.result.code&&me.result.description?de.reject(kr(me.result.code,me.result.description,me.result.ext)):de.resolve(me.result)}this.resolvers.delete(z.responseId)}else if(Te===X.Ce.HandshakeResponse){if(!Fe)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${z.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=z.extensionId,this.extensionVersion=z.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),Fe.resolve(),this.handshakeResolvers.delete(z.responseId)}}catch(Te){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${Te}`),this.logger.errorPii(`Unable to parse ${B}`),de?de.reject(Te):Fe&&Fe.reject(Te)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(B,z,de,Fe){if(z.trace("isNativeAvailable called"),!B.system.allowNativeBroker)return z.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!de)return z.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(Fe)switch(Fe){case l.me.BEARER:case l.me.POP:return z.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return z.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class pr{constructor(B,z,de,Fe,Te){this.authModule=B,this.browserStorage=z,this.authCodeRequest=de,this.logger=Fe,this.performanceClient=Te}handleCodeResponse(B,z){var de=this;return(0,n.c)(function*(){let Fe;de.performanceClient.addQueueMeasurement(h.Xv.HandleCodeResponse,z.correlationId);try{Fe=de.authModule.handleFragmentResponse(B,z.state)}catch(Te){throw Te instanceof H.s&&Te.subError===je.userCancelled?(0,Pe.Wq)(je.userCancelled):Te}return(0,C.C)(de.handleCodeResponseFromServer.bind(de),h.Xv.HandleCodeResponseFromServer,de.logger,de.performanceClient,z.correlationId)(Fe,z)})()}handleCodeResponseFromServer(B,z,de=!0){var Fe=this;return(0,n.c)(function*(){if(Fe.performanceClient.addQueueMeasurement(h.Xv.HandleCodeResponseFromServer,z.correlationId),Fe.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),Fe.authCodeRequest.code=B.code,B.cloud_instance_host_name&&(yield(0,C.C)(Fe.authModule.updateAuthority.bind(Fe.authModule),h.Xv.UpdateTokenEndpointAuthority,Fe.logger,Fe.performanceClient,z.correlationId)(B.cloud_instance_host_name,z.correlationId)),de&&(B.nonce=z.nonce||void 0),B.state=z.state,B.client_info)Fe.authCodeRequest.clientInfo=B.client_info;else{const me=Fe.createCcsCredentials(z);me&&(Fe.authCodeRequest.ccsCredential=me)}return yield(0,C.C)(Fe.authModule.acquireToken.bind(Fe.authModule),h.Xv.AuthClientAcquireToken,Fe.logger,Fe.performanceClient,z.correlationId)(Fe.authCodeRequest,B)})()}createCcsCredentials(B){return B.account?{credential:B.account.homeAccountId,type:ue.s.HOME_ACCOUNT_ID}:B.loginHint?{credential:B.loginHint,type:ue.s.UPN}:null}}var Jn=o(33680),er=o(99632);function Or(un,B,z){const de=Jn.u(un);if(!de)throw Jn.w(un)?(z.error(`A ${B} is present in the iframe but it does not contain known properties. It's likely that the ${B} has been replaced by code running on the redirectUri page.`),z.errorPii(`The ${B} detected is: ${un}`),(0,Pe.Wq)(je.hashDoesNotContainKnownProperties)):(z.error(`The request has returned to the redirectUri but a ${B} is not present. It's likely that the ${B} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,Pe.Wq)(je.hashEmptyError));return de}class qt extends Yt{constructor(B,z,de,Fe,Te,me,Ae,et,pt,At){super(B,z,de,Fe,Te,me,Ae,pt,At),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=et}acquireToken(B){try{const z=this.generatePopupName(B.scopes||l.ac,B.authority||this.config.auth.authority),de=B.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(B,z,de);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const Fe=this.openSizedPopup("about:blank",z,de);return this.acquireTokenPopupAsync(B,z,de,Fe)}}catch(z){return Promise.reject(z)}}logout(B){try{this.logger.verbose("logoutPopup called");const z=this.initializeLogoutRequest(B),de=this.generateLogoutPopupName(z),Fe=B&&B.authority,Te=B&&B.mainWindowRedirectUri,me=B?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(z,de,me,Fe,void 0,Te);{this.logger.verbose("asyncPopup set to false, opening popup");const Ae=this.openSizedPopup("about:blank",de,me);return this.logoutPopupAsync(z,de,me,Fe,Ae,Te)}}catch(z){return Promise.reject(z)}}acquireTokenPopupAsync(B,z,de,Fe){var Te=this;return(0,n.c)(function*(){Te.logger.verbose("acquireTokenPopupAsync called");const me=Te.initializeServerTelemetryManager(X.Ed.acquireTokenPopup),Ae=yield(0,C.C)(Te.initializeAuthorizationRequest.bind(Te),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,Te.logger,Te.performanceClient,Te.correlationId)(B,X.wV.Popup);(0,ce.preconnect)(Ae.authority);try{const et=yield(0,C.C)(Te.initializeAuthorizationCodeRequest.bind(Te),h.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Te.logger,Te.performanceClient,Te.correlationId)(Ae),pt=yield(0,C.C)(Te.createAuthCodeClient.bind(Te),h.Xv.StandardInteractionClientCreateAuthCodeClient,Te.logger,Te.performanceClient,Te.correlationId)(me,Ae.authority,Ae.azureCloudOptions,Ae.account),At=Sr.isNativeAvailable(Te.config,Te.logger,Te.nativeMessageHandler,B.authenticationScheme);let Nt;At&&(Nt=Te.performanceClient.startMeasurement(h.Xv.FetchAccountIdWithNativeBroker,B.correlationId));const Jt=yield pt.getAuthCodeUrl({...Ae,nativeBroker:At}),mn=new pr(pt,Te.browserStorage,et,Te.logger,Te.performanceClient),Cn=Te.initiateAuthRequest(Jt,{popup:Fe,popupName:z,popupWindowAttributes:de});Te.eventHandler.emitEvent(Q.W.POPUP_OPENED,X.wV.Popup,{popupWindow:Cn},null);const fn=yield Te.monitorPopupForHash(Cn),Gt=(0,C.q)(Or,h.Xv.DeserializeResponse,Te.logger,Te.performanceClient,Te.correlationId)(fn,Te.config.auth.OIDCOptions.serverResponseType,Te.logger);if(ae.removeThrottle(Te.browserStorage,Te.config.auth.clientId,et),Gt.accountId){if(Te.logger.verbose("Account id found in hash, calling WAM for token"),Nt&&Nt.end({success:!0,isNativeBroker:!0}),!Te.nativeMessageHandler)throw(0,Pe.Wq)(je.nativeConnectionNotEstablished);const lr=new oi(Te.config,Te.browserStorage,Te.browserCrypto,Te.logger,Te.eventHandler,Te.navigationClient,X.Ed.acquireTokenPopup,Te.performanceClient,Te.nativeMessageHandler,Gt.accountId,Te.nativeStorage,Ae.correlationId),{userRequestState:cr}=J.c.parseRequestState(Te.browserCrypto,Ae.state);return yield lr.acquireToken({...Ae,state:cr,prompt:void 0})}return yield mn.handleCodeResponse(Gt,Ae)}catch(et){throw Fe&&Fe.close(),et instanceof M.WM&&(et.setCorrelationId(Te.correlationId),me.cacheFailedRequest(et)),et}})()}logoutPopupAsync(B,z,de,Fe,Te,me){var Ae=this;return(0,n.c)(function*(){Ae.logger.verbose("logoutPopupAsync called"),Ae.eventHandler.emitEvent(Q.W.LOGOUT_START,X.wV.Popup,B);const et=Ae.initializeServerTelemetryManager(X.Ed.logoutPopup);try{yield Ae.clearCacheOnLogout(B.account);const At=(yield(0,C.C)(Ae.createAuthCodeClient.bind(Ae),h.Xv.StandardInteractionClientCreateAuthCodeClient,Ae.logger,Ae.performanceClient,Ae.correlationId)(et,Fe,void 0,B.account||void 0)).getLogoutUri(B);Ae.eventHandler.emitEvent(Q.W.LOGOUT_SUCCESS,X.wV.Popup,B);const Nt=Ae.openPopup(At,{popupName:z,popupWindowAttributes:de,popup:Te});if(Ae.eventHandler.emitEvent(Q.W.POPUP_OPENED,X.wV.Popup,{popupWindow:Nt},null),yield Ae.monitorPopupForHash(Nt).catch(()=>{}),me){const Jt={apiId:X.Ed.logoutPopup,timeout:Ae.config.system.redirectNavigationTimeout,noHistory:!1},mn=e._.getAbsoluteUrl(me,(0,ce.getCurrentUri)());Ae.logger.verbose("Redirecting main window to url specified in the request"),Ae.logger.verbosePii(`Redirecting main window to: ${mn}`),yield Ae.navigationClient.navigateInternal(mn,Jt)}else Ae.logger.verbose("No main window navigation requested")}catch(pt){throw Te&&Te.close(),pt instanceof M.WM&&(pt.setCorrelationId(Ae.correlationId),et.cacheFailedRequest(pt)),Ae.browserStorage.setInteractionInProgress(!1),Ae.eventHandler.emitEvent(Q.W.LOGOUT_FAILURE,X.wV.Popup,null,pt),Ae.eventHandler.emitEvent(Q.W.LOGOUT_END,X.wV.Popup),pt}Ae.eventHandler.emitEvent(Q.W.LOGOUT_END,X.wV.Popup)})()}initiateAuthRequest(B,z){if(B)return this.logger.infoPii(`Navigate to: ${B}`),this.openPopup(B,z);throw this.logger.error("Navigate url is empty"),(0,Pe.Wq)(je.emptyNavigateUri)}monitorPopupForHash(B){return new Promise((z,de)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const Fe=setInterval(()=>{if(B.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(Fe),void de((0,Pe.Wq)(je.userCancelled));let Te="";try{Te=B.location.href}catch{}if(!Te||"about:blank"===Te)return;clearInterval(Fe);let me="";B&&(me=this.config.auth.OIDCOptions.serverResponseType===l.eE.QUERY?B.location.search:B.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),z(me)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(B)})}openPopup(B,z){try{let de;if(z.popup?(de=z.popup,this.logger.verbosePii(`Navigating popup window to: ${B}`),de.location.assign(B)):typeof z.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${B}`),de=this.openSizedPopup(B,z.popupName,z.popupWindowAttributes)),!de)throw(0,Pe.Wq)(je.emptyWindowError);return de.focus&&de.focus(),this.currentWindow=de,window.addEventListener("beforeunload",this.unloadWindow),de}catch(de){throw this.logger.error("error opening popup "+de.message),this.browserStorage.setInteractionInProgress(!1),(0,Pe.Wq)(je.popupWindowError)}}openSizedPopup(B,z,de){const Fe=window.screenLeft?window.screenLeft:window.screenX,Te=window.screenTop?window.screenTop:window.screenY,me=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Ae=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let et=de.popupSize?.width,pt=de.popupSize?.height,At=de.popupPosition?.top,Nt=de.popupPosition?.left;return(!et||et<0||et>me)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),et=X.ig.POPUP_WIDTH),(!pt||pt<0||pt>Ae)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),pt=X.ig.POPUP_HEIGHT),(!At||At<0||At>Ae)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),At=Math.max(0,Ae/2-X.ig.POPUP_HEIGHT/2+Te)),(!Nt||Nt<0||Nt>me)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Nt=Math.max(0,me/2-X.ig.POPUP_WIDTH/2+Fe)),window.open(B,z,`width=${et}, height=${pt}, top=${At}, left=${Nt}, scrollbars=yes`)}unloadWindow(B){this.browserStorage.cleanRequestByInteractionType(X.wV.Popup),this.currentWindow&&this.currentWindow.close(),B.preventDefault()}cleanPopup(B){B&&B.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(B,z){return`${X.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${B.join("-")}.${z}.${this.correlationId}`}generateLogoutPopupName(B){return`${X.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${B.account&&B.account.homeAccountId}.${this.correlationId}`}}class jn{constructor(B,z,de,Fe,Te){this.authModule=B,this.browserStorage=z,this.authCodeRequest=de,this.logger=Fe,this.performanceClient=Te}initiateAuthRequest(B,z){var de=this;return(0,n.c)(function*(){if(de.logger.verbose("RedirectHandler.initiateAuthRequest called"),B){z.redirectStartPage&&(de.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),de.browserStorage.setTemporaryCache(X.zH.ORIGIN_URI,z.redirectStartPage,!0)),de.browserStorage.setTemporaryCache(X.zH.CORRELATION_ID,de.authCodeRequest.correlationId,!0),de.browserStorage.cacheCodeRequest(de.authCodeRequest),de.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${B}`);const Fe={apiId:X.Ed.acquireTokenRedirect,timeout:z.redirectTimeout,noHistory:!1};return"function"==typeof z.onRedirectNavigate?(de.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==z.onRedirectNavigate(B)?(de.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield z.navigationClient.navigateExternal(B,Fe))):void de.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(de.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield z.navigationClient.navigateExternal(B,Fe)))}throw de.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,Pe.Wq)(je.emptyNavigateUri)})()}handleCodeResponse(B,z){var de=this;return(0,n.c)(function*(){de.logger.verbose("RedirectHandler.handleCodeResponse called"),de.browserStorage.setInteractionInProgress(!1);const Fe=de.browserStorage.generateStateKey(z),Te=de.browserStorage.getTemporaryCache(Fe);if(!Te)throw(0,c.mQ)(A.stateNotFound,"Cached State");let me;try{me=de.authModule.handleFragmentResponse(B,Te)}catch(At){throw At instanceof H.s&&At.subError===je.userCancelled?(0,Pe.Wq)(je.userCancelled):At}const Ae=de.browserStorage.generateNonceKey(Te),et=de.browserStorage.getTemporaryCache(Ae);if(de.authCodeRequest.code=me.code,me.cloud_instance_host_name&&(yield(0,C.C)(de.authModule.updateAuthority.bind(de.authModule),h.Xv.UpdateTokenEndpointAuthority,de.logger,de.performanceClient,de.authCodeRequest.correlationId)(me.cloud_instance_host_name,de.authCodeRequest.correlationId)),me.nonce=et||void 0,me.state=Te,me.client_info)de.authCodeRequest.clientInfo=me.client_info;else{const At=de.checkCcsCredentials();At&&(de.authCodeRequest.ccsCredential=At)}const pt=yield de.authModule.acquireToken(de.authCodeRequest,me);return de.browserStorage.cleanRequestByState(z),pt})()}checkCcsCredentials(){const B=this.browserStorage.getTemporaryCache(X.zH.CCS_CREDENTIAL,!0);if(B)try{return JSON.parse(B)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${B}`)}return null}}class Qn extends Yt{constructor(B,z,de,Fe,Te,me,Ae,et,pt,At){super(B,z,de,Fe,Te,me,Ae,pt,At),this.nativeStorage=et}acquireToken(B){var z=this;return(0,n.c)(function*(){const de=yield(0,C.C)(z.initializeAuthorizationRequest.bind(z),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,z.correlationId)(B,X.wV.Redirect);z.browserStorage.updateCacheEntries(de.state,de.nonce,de.authority,de.loginHint||"",de.account||null);const Fe=z.initializeServerTelemetryManager(X.Ed.acquireTokenRedirect),Te=me=>{me.persisted&&(z.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),z.browserStorage.cleanRequestByState(de.state),z.eventHandler.emitEvent(Q.W.RESTORE_FROM_BFCACHE,X.wV.Redirect))};try{const me=yield(0,C.C)(z.initializeAuthorizationCodeRequest.bind(z),h.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,z.logger,z.performanceClient,z.correlationId)(de),Ae=yield(0,C.C)(z.createAuthCodeClient.bind(z),h.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(Fe,de.authority,de.azureCloudOptions,de.account),et=new jn(Ae,z.browserStorage,me,z.logger,z.performanceClient),pt=yield Ae.getAuthCodeUrl({...de,nativeBroker:Sr.isNativeAvailable(z.config,z.logger,z.nativeMessageHandler,B.authenticationScheme)}),At=z.getRedirectStartPage(B.redirectStartPage);return z.logger.verbosePii(`Redirect start page: ${At}`),window.addEventListener("pageshow",Te),yield et.initiateAuthRequest(pt,{navigationClient:z.navigationClient,redirectTimeout:z.config.system.redirectNavigationTimeout,redirectStartPage:At,onRedirectNavigate:B.onRedirectNavigate})}catch(me){throw me instanceof M.WM&&(me.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(me)),window.removeEventListener("pageshow",Te),z.browserStorage.cleanRequestByState(de.state),me}})()}handleRedirectPromise(B,z,de){var Fe=this;return(0,n.c)(function*(){const Te=Fe.initializeServerTelemetryManager(X.Ed.handleRedirectPromise);try{if(!Fe.browserStorage.isInteractionInProgress(!0))return Fe.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[me,Ae]=Fe.getRedirectResponse(B||"");if(!me)return Fe.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),Fe.browserStorage.cleanRequestByInteractionType(X.wV.Redirect),z&&de&&z?.addFields({errorCode:"no_server_response"},de),null;const et=Fe.browserStorage.getTemporaryCache(X.zH.ORIGIN_URI,!0)||l.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(et)===e._.removeHashFromUrl(window.location.href)&&Fe.config.auth.navigateToLoginRequestUrl)return Fe.logger.verbose("Current page is loginRequestUrl, handling response"),et.indexOf("#")>-1&&(0,ce.replaceHash)(et),yield Fe.handleResponse(me,Te);if(!Fe.config.auth.navigateToLoginRequestUrl)return Fe.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield Fe.handleResponse(me,Te);if(!(0,ce.isInIframe)()||Fe.config.system.allowRedirectInIframe){Fe.browserStorage.setTemporaryCache(X.zH.URL_HASH,Ae,!0);const Nt={apiId:X.Ed.handleRedirectPromise,timeout:Fe.config.system.redirectNavigationTimeout,noHistory:!0};let Jt=!0;if(et&&"null"!==et)Fe.logger.verbose(`Navigating to loginRequestUrl: ${et}`),Jt=yield Fe.navigationClient.navigateInternal(et,Nt);else{const mn=(0,ce.getHomepage)();Fe.browserStorage.setTemporaryCache(X.zH.ORIGIN_URI,mn,!0),Fe.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),Jt=yield Fe.navigationClient.navigateInternal(mn,Nt)}if(!Jt)return yield Fe.handleResponse(me,Te)}return null}catch(me){throw me instanceof M.WM&&(me.setCorrelationId(Fe.correlationId),Te.cacheFailedRequest(me)),Fe.browserStorage.cleanRequestByInteractionType(X.wV.Redirect),me}})()}getRedirectResponse(B){this.logger.verbose("getRedirectResponseHash called");let z=B;z||(z=this.config.auth.OIDCOptions.serverResponseType===l.eE.QUERY?window.location.search:window.location.hash);let de=Jn.u(z);if(de){try{!function pi(un,B,z){if(!un.state)throw(0,Pe.Wq)(je.noStateInHash);const de=(0,er.Q)(B,un.state);if(!de)throw(0,Pe.Wq)(je.unableToParseState);if(de.interactionType!==z)throw(0,Pe.Wq)(je.stateInteractionTypeMismatch)}(de,this.browserCrypto,X.wV.Redirect)}catch(Te){return Te instanceof M.WM&&this.logger.error(`Interaction type validation failed due to ${Te.errorCode}: ${Te.errorMessage}`),[null,""]}return(0,ce.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[de,z]}const Fe=this.browserStorage.getTemporaryCache(X.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(X.zH.URL_HASH)),Fe&&(de=Jn.u(Fe),de)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[de,Fe]):[null,""]}handleResponse(B,z){var de=this;return(0,n.c)(function*(){const Fe=B.state;if(!Fe)throw(0,Pe.Wq)(je.noStateInHash);const Te=de.browserStorage.getCachedRequest(Fe);if(de.logger.verbose("handleResponse called, retrieved cached request"),B.accountId){if(de.logger.verbose("Account id found in hash, calling WAM for token"),!de.nativeMessageHandler)throw(0,Pe.Wq)(je.nativeConnectionNotEstablished);const pt=new oi(de.config,de.browserStorage,de.browserCrypto,de.logger,de.eventHandler,de.navigationClient,X.Ed.acquireTokenPopup,de.performanceClient,de.nativeMessageHandler,B.accountId,de.nativeStorage,Te.correlationId),{userRequestState:At}=J.c.parseRequestState(de.browserCrypto,Fe);return pt.acquireToken({...Te,state:At,prompt:void 0}).finally(()=>{de.browserStorage.cleanRequestByState(Fe)})}const me=de.browserStorage.getCachedAuthority(Fe);if(!me)throw(0,Pe.Wq)(je.noCachedAuthorityError);const Ae=yield(0,C.C)(de.createAuthCodeClient.bind(de),h.Xv.StandardInteractionClientCreateAuthCodeClient,de.logger,de.performanceClient,de.correlationId)(z,me);return ae.removeThrottle(de.browserStorage,de.config.auth.clientId,Te),new jn(Ae,de.browserStorage,Te,de.logger,de.performanceClient).handleCodeResponse(B,Fe)})()}logout(B){var z=this;return(0,n.c)(function*(){z.logger.verbose("logoutRedirect called");const de=z.initializeLogoutRequest(B),Fe=z.initializeServerTelemetryManager(X.Ed.logout);try{z.eventHandler.emitEvent(Q.W.LOGOUT_START,X.wV.Redirect,B),yield z.clearCacheOnLogout(de.account);const Te={apiId:X.Ed.logout,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},Ae=(yield(0,C.C)(z.createAuthCodeClient.bind(z),h.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(Fe,B&&B.authority,void 0,B&&B.account||void 0)).getLogoutUri(de);if(z.eventHandler.emitEvent(Q.W.LOGOUT_SUCCESS,X.wV.Redirect,de),!B||"function"!=typeof B.onRedirectNavigate)return z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(Ae,Te));if(!1!==B.onRedirectNavigate(Ae))return z.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(Ae,Te));z.browserStorage.setInteractionInProgress(!1),z.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(Te){throw Te instanceof M.WM&&(Te.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(Te)),z.eventHandler.emitEvent(Q.W.LOGOUT_FAILURE,X.wV.Redirect,null,Te),z.eventHandler.emitEvent(Q.W.LOGOUT_END,X.wV.Redirect),Te}z.eventHandler.emitEvent(Q.W.LOGOUT_END,X.wV.Redirect)})()}getRedirectStartPage(B){const z=B||window.location.href;return e._.getAbsoluteUrl(z,(0,ce.getCurrentUri)())}}var or=o(48124);function ui(un,B,z,de,Fe){return Ir.apply(this,arguments)}function Ir(){return(Ir=(0,n.c)(function*(un,B,z,de,Fe){if(B.addQueueMeasurement(h.Xv.SilentHandlerInitiateAuthRequest,de),!un)throw z.info("Navigate url is empty"),(0,Pe.Wq)(je.emptyNavigateUri);return Fe?(0,C.C)(Pt,h.Xv.SilentHandlerLoadFrame,z,B,de)(un,Fe,B,de):(0,C.q)(rn,h.Xv.SilentHandlerLoadFrameSync,z,B,de)(un)})).apply(this,arguments)}function at(un,B,z,de,Fe,Te,me){return Ot.apply(this,arguments)}function Ot(){return(Ot=(0,n.c)(function*(un,B,z,de,Fe,Te,me){return de.addQueueMeasurement(h.Xv.SilentHandlerMonitorIframeForHash,Te),new Promise((Ae,et)=>{B{window.clearInterval(At),et((0,Pe.Wq)(je.monitorWindowTimeout))},B),At=window.setInterval(()=>{let Nt="";const Jt=un.contentWindow;try{Nt=Jt?Jt.location.href:""}catch{}if(!Nt||"about:blank"===Nt)return;let mn="";Jt&&(mn=me===l.eE.QUERY?Jt.location.search:Jt.location.hash),window.clearTimeout(pt),window.clearInterval(At),Ae(mn)},z)}).finally(()=>{(0,C.q)(En,h.Xv.RemoveHiddenIframe,Fe,de,Te)(un)})})).apply(this,arguments)}function Pt(un,B,z,de){return z.addQueueMeasurement(h.Xv.SilentHandlerLoadFrame,de),new Promise((Fe,Te)=>{const me=dn();window.setTimeout(()=>{me?(me.src=un,Fe(me)):Te("Unable to load iframe")},B)})}function rn(un){const B=dn();return B.src=un,B}function dn(){const un=document.createElement("iframe");return un.style.visibility="hidden",un.style.position="absolute",un.style.width=un.style.height="0",un.style.border="0",un.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(un),un}function En(un){document.body===un.parentNode&&document.body.removeChild(un)}class Mn extends Yt{constructor(B,z,de,Fe,Te,me,Ae,et,pt,At,Nt){super(B,z,de,Fe,Te,me,et,At,Nt),this.apiId=Ae,this.nativeStorage=pt}acquireToken(B){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(h.Xv.SilentIframeClientAcquireToken,B.correlationId),!B.loginHint&&!B.sid&&(!B.account||!B.account.username)&&z.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const de={...B};de.prompt?de.prompt!==l.GI.NONE&&de.prompt!==l.GI.NO_SESSION&&(z.logger.warning(`SilentIframeClient. Replacing invalid prompt ${de.prompt} with ${l.GI.NONE}`),de.prompt=l.GI.NONE):de.prompt=l.GI.NONE;const Fe=yield(0,C.C)(z.initializeAuthorizationRequest.bind(z),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,B.correlationId)(de,X.wV.Silent);(0,ce.preconnect)(Fe.authority);const Te=z.initializeServerTelemetryManager(z.apiId);try{const me=yield(0,C.C)(z.createAuthCodeClient.bind(z),h.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,B.correlationId)(Te,Fe.authority,Fe.azureCloudOptions,Fe.account);return yield(0,C.C)(z.silentTokenHelper.bind(z),h.Xv.SilentIframeClientTokenHelper,z.logger,z.performanceClient,B.correlationId)(me,Fe)}catch(me){throw me instanceof M.WM&&(me.setCorrelationId(z.correlationId),Te.cacheFailedRequest(me)),me}})()}logout(){return Promise.reject((0,Pe.Wq)(je.silentLogoutUnsupported))}silentTokenHelper(B,z){var de=this;return(0,n.c)(function*(){const Fe=z.correlationId;de.performanceClient.addQueueMeasurement(h.Xv.SilentIframeClientTokenHelper,Fe);const Te=yield(0,C.C)(de.initializeAuthorizationCodeRequest.bind(de),h.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,de.logger,de.performanceClient,Fe)(z),me=yield(0,C.C)(B.getAuthCodeUrl.bind(B),h.Xv.GetAuthCodeUrl,de.logger,de.performanceClient,Fe)({...z,nativeBroker:Sr.isNativeAvailable(de.config,de.logger,de.nativeMessageHandler,z.authenticationScheme)}),Ae=new pr(B,de.browserStorage,Te,de.logger,de.performanceClient),et=yield(0,C.C)(ui,h.Xv.SilentHandlerInitiateAuthRequest,de.logger,de.performanceClient,Fe)(me,de.performanceClient,de.logger,Fe,de.config.system.navigateFrameWait),pt=de.config.auth.OIDCOptions.serverResponseType,At=yield(0,C.C)(at,h.Xv.SilentHandlerMonitorIframeForHash,de.logger,de.performanceClient,Fe)(et,de.config.system.iframeHashTimeout,de.config.system.pollIntervalMilliseconds,de.performanceClient,de.logger,Fe,pt),Nt=(0,C.q)(Or,h.Xv.DeserializeResponse,de.logger,de.performanceClient,de.correlationId)(At,pt,de.logger);if(Nt.accountId){if(de.logger.verbose("Account id found in hash, calling WAM for token"),!de.nativeMessageHandler)throw(0,Pe.Wq)(je.nativeConnectionNotEstablished);const Jt=new oi(de.config,de.browserStorage,de.browserCrypto,de.logger,de.eventHandler,de.navigationClient,de.apiId,de.performanceClient,de.nativeMessageHandler,Nt.accountId,de.browserStorage,Fe),{userRequestState:mn}=J.c.parseRequestState(de.browserCrypto,z.state);return(0,C.C)(Jt.acquireToken.bind(Jt),h.Xv.NativeInteractionClientAcquireToken,de.logger,de.performanceClient,Fe)({...z,state:mn,prompt:z.prompt||l.GI.NONE})}return(0,C.C)(Ae.handleCodeResponse.bind(Ae),h.Xv.HandleCodeResponse,de.logger,de.performanceClient,Fe)(Nt,z)})()}}class Xn extends Yt{acquireToken(B){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(h.Xv.SilentRefreshClientAcquireToken,B.correlationId);const de=yield(0,C.C)(z.initializeBaseRequest.bind(z),h.Xv.InitializeBaseRequest,z.logger,z.performanceClient,B.correlationId)(B),Fe={...B,...de};B.redirectUri&&(Fe.redirectUri=z.getRedirectUri(B.redirectUri));const Te=z.initializeServerTelemetryManager(X.Ed.acquireTokenSilent_silentFlow),me=yield z.createRefreshTokenClient(Te,Fe.authority,Fe.azureCloudOptions,Fe.account);return(0,C.C)(me.acquireTokenByRefreshToken.bind(me),h.Xv.RefreshTokenClientAcquireTokenByRefreshToken,z.logger,z.performanceClient,B.correlationId)(Fe).catch(Ae=>{throw Ae.setCorrelationId(z.correlationId),Te.cacheFailedRequest(Ae),Ae})})()}logout(){return Promise.reject((0,Pe.Wq)(je.silentLogoutUnsupported))}createRefreshTokenClient(B,z,de,Fe){var Te=this;return(0,n.c)(function*(){const me=yield(0,C.C)(Te.getClientConfiguration.bind(Te),h.Xv.StandardInteractionClientGetClientConfiguration,Te.logger,Te.performanceClient,Te.correlationId)(B,z,de,Fe);return new sr(me,Te.performanceClient)})()}}class Yn{constructor(B,z,de,Fe){this.isBrowserEnvironment=typeof window<"u",this.config=B,this.storage=z,this.logger=de,this.cryptoObj=Fe}loadExternalTokens(B,z,de){if(this.logger.info("TokenCache - loadExternalTokens called"),!z.id_token)throw(0,Pe.Wq)(je.unableToLoadToken);const Fe=mt.aw(z.id_token,qn.W);let Te,me,Ae;if(B.account)Ae=V.M.createFromAccountInfo(B.account),Te=new nt.O(Ae,this.loadIdToken(z.id_token,Ae.homeAccountId,B.account.environment,B.account.tenantId),this.loadAccessToken(B,z,Ae.homeAccountId,B.account.environment,B.account.tenantId,de),this.loadRefreshToken(B,z,Ae.homeAccountId,B.account.environment));else{if(!B.authority)throw(0,Pe.Wq)(je.unableToLoadToken);{const et=R.generateAuthority(B.authority,B.azureCloudOptions);if(me=new R(et,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},this.logger,B.correlationId||(0,Ue.E5)()),de.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),Ae=this.loadAccount(Fe,me,de.clientInfo),Te=new nt.O(Ae,this.loadIdToken(z.id_token,Ae.homeAccountId,me.hostnameAndPort,me.tenant),this.loadAccessToken(B,z,Ae.homeAccountId,me.hostnameAndPort,me.tenant,de),this.loadRefreshToken(B,z,Ae.homeAccountId,me.hostnameAndPort));else{if(!z.client_info)throw(0,Pe.Wq)(je.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),Ae=this.loadAccount(Fe,me,z.client_info),Te=new nt.O(Ae,this.loadIdToken(z.id_token,Ae.homeAccountId,me.hostnameAndPort,me.tenant),this.loadAccessToken(B,z,Ae.homeAccountId,me.hostnameAndPort,me.tenant,de),this.loadRefreshToken(B,z,Ae.homeAccountId,me.hostnameAndPort))}}}return this.generateAuthenticationResult(B,Fe,Te,Ae,me)}loadAccount(B,z,de,Fe){if(this.isBrowserEnvironment){let Te;if(this.logger.verbose("TokenCache - loading account"),Fe?Te=Fe:void 0!==z.authorityType&&de&&(Te=V.M.generateHomeAccountId(de,z.authorityType,this.logger,this.cryptoObj,B)),!Te)throw(0,Pe.Wq)(je.unableToLoadToken);const Ae=an(this.storage,z,Te,B,qn.W,de,z.hostnameAndPort,B.tid,void 0,void 0,this.logger);return this.storage.setAccount(Ae),Ae}throw(0,Pe.Wq)(je.unableToLoadToken)}loadIdToken(B,z,de,Fe){const Te=E.YF(z,de,B,this.config.auth.clientId,Fe);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(Te),Te;throw(0,Pe.Wq)(je.unableToLoadToken)}loadAccessToken(B,z,de,Fe,Te,me){if(!z.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!z.expires_in||!me.extendedExpiresOn)throw(0,Pe.Wq)(je.unableToLoadToken);const Ae=new qe.k(B.scopes).printScopes(),et=me.expiresOn||z.expires_in+(new Date).getTime()/1e3,At=E.MJ(de,Fe,z.access_token,this.config.auth.clientId,Te,Ae,et,me.extendedExpiresOn,qn.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(At),At;throw(0,Pe.Wq)(je.unableToLoadToken)}loadRefreshToken(B,z,de,Fe){if(!z.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const Te=E._c(de,Fe,z.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(Te),Te;throw(0,Pe.Wq)(je.unableToLoadToken)}generateAuthenticationResult(B,z,de,Fe,Te){let pt,me=l.Mv.EMPTY_STRING,Ae=[],et=null;return de?.accessToken&&(me=de.accessToken.secret,Ae=qe.k.fromString(de.accessToken.target).asArray(),et=new Date(1e3*Number(de.accessToken.expiresOn)),pt=new Date(1e3*Number(de.accessToken.extendedExpiresOn))),{authority:Te?Te.canonicalAuthority:l.Mv.EMPTY_STRING,uniqueId:z.oid||z.sub||l.Mv.EMPTY_STRING,tenantId:z.tid||l.Mv.EMPTY_STRING,scopes:Ae,account:Fe.getAccountInfo(),idToken:de.idToken?.secret||"",idTokenClaims:z||{},accessToken:me,fromCache:!0,expiresOn:et,correlationId:B.correlationId||l.Mv.EMPTY_STRING,requestId:l.Mv.EMPTY_STRING,extExpiresOn:pt,familyId:l.Mv.EMPTY_STRING,tokenType:de?.accessToken?.tokenType||l.Mv.EMPTY_STRING,state:l.Mv.EMPTY_STRING,cloudGraphHostName:Fe.cloudGraphHostName||l.Mv.EMPTY_STRING,msGraphHost:Fe.msGraphHost||l.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class Tr extends vn{constructor(B){super(B),this.includeRedirectUri=!1}}class Er extends Yt{constructor(B,z,de,Fe,Te,me,Ae,et,pt,At){super(B,z,de,Fe,Te,me,et,pt,At),this.apiId=Ae}acquireToken(B){var z=this;return(0,n.c)(function*(){if(!B.code)throw(0,Pe.Wq)(je.authCodeRequired);const de=yield(0,C.C)(z.initializeAuthorizationRequest.bind(z),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,B.correlationId)(B,X.wV.Silent),Fe=z.initializeServerTelemetryManager(z.apiId);try{const Te={...de,code:B.code},me=yield(0,C.C)(z.getClientConfiguration.bind(z),h.Xv.StandardInteractionClientGetClientConfiguration,z.logger,z.performanceClient,B.correlationId)(Fe,de.authority,de.azureCloudOptions,de.account),Ae=new Tr(me);z.logger.verbose("Auth code client created");const et=new pr(Ae,z.browserStorage,Te,z.logger,z.performanceClient);return yield(0,C.C)(et.handleCodeResponseFromServer.bind(et),h.Xv.HandleCodeResponseFromServer,z.logger,z.performanceClient,B.correlationId)({code:B.code,msgraph_host:B.msGraphHost,cloud_graph_host_name:B.cloudGraphHostName,cloud_instance_host_name:B.cloudInstanceHostName},de,!1)}catch(Te){throw Te instanceof M.WM&&(Te.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(Te)),Te}})()}logout(){return Promise.reject((0,Pe.Wq)(je.silentLogoutUnsupported))}}var zn=o(85288);class ur{constructor(B){this.atsAsyncMeasurement=void 0,this.operatingContext=B,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=B.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new i.A(this.logger,this.performanceClient):d.K,this.eventHandler=new Y.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new ee.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function L(un){const B=un.cloudDiscoveryMetadata;let z;if(B)try{z=JSON.parse(B)}catch{throw(0,b.QN)(T.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:un.authority?P(un.authority):void 0,knownAuthorities:un.knownAuthorities,cloudDiscoveryMetadata:z}}(this.config.auth)):(0,ee.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new ee.Y(this.config.auth.clientId,{cacheLocation:X.Ir.MemoryStorage,temporaryCacheLocation:X.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Yn(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}static createController(B){return(0,n.c)(function*(){const z=new ur(B);return yield z.initialize(),z})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var B=this;return(0,n.c)(function*(){if(B.logger.trace("initialize called"),B.initialized)return void B.logger.info("initialize has already been called, exiting early.");const z=B.config.system.allowNativeBroker,de=B.performanceClient.startMeasurement(h.Xv.InitializeClientApplication);if(B.eventHandler.emitEvent(Q.W.INITIALIZE_START),z)try{B.nativeExtensionProvider=yield Sr.createProvider(B.logger,B.config.system.nativeBrokerHandshakeTimeout,B.performanceClient)}catch(Fe){B.logger.verbose(Fe)}B.config.cache.claimsBasedCachingEnabled||(B.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,C.C)(B.browserStorage.clearTokensAndKeysWithClaims.bind(B.browserStorage),h.Xv.ClearTokensAndKeysWithClaims,B.logger,B.performanceClient)(B.performanceClient)),B.initialized=!0,B.eventHandler.emitEvent(Q.W.INITIALIZE_END),de.end({allowNativeBroker:z,success:!0})})()}handleRedirectPromise(B){var z=this;return(0,n.c)(function*(){z.logger.verbose("handleRedirectPromise called"),(0,ce.blockAPICallsBeforeInitialize)(z.initialized);const de=z.getAllAccounts();if(z.isBrowserEnvironment){const Fe=B||"";let Te=z.redirectResponse.get(Fe);if(typeof Te>"u"){const me=z.browserStorage.getCachedNativeRequest(),Ae=me&&Sr.isNativeAvailable(z.config,z.logger,z.nativeExtensionProvider)&&z.nativeExtensionProvider&&!B,et=Ae?me?.correlationId:z.browserStorage.getTemporaryCache(X.zH.CORRELATION_ID,!0)||"",pt=z.performanceClient.startMeasurement("acquireTokenRedirect",et);let At;if(z.eventHandler.emitEvent(Q.W.HANDLE_REDIRECT_START,X.wV.Redirect),z.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),Ae&&z.nativeExtensionProvider){z.logger.trace("handleRedirectPromise - acquiring token from native platform");const Nt=new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,X.Ed.handleRedirectPromise,z.performanceClient,z.nativeExtensionProvider,me.accountId,z.nativeInternalStorage,me.correlationId);At=(0,C.C)(Nt.handleRedirectPromise.bind(Nt),h.Xv.HandleNativeRedirectPromiseMeasurement,z.logger,z.performanceClient,pt.event.correlationId)(z.performanceClient,pt.event.correlationId)}else{z.logger.trace("handleRedirectPromise - acquiring token from web flow");const Nt=z.createRedirectClient(et);At=(0,C.C)(Nt.handleRedirectPromise.bind(Nt),h.Xv.HandleRedirectPromiseMeasurement,z.logger,z.performanceClient,pt.event.correlationId)(B,z.performanceClient,pt.event.correlationId)}Te=At.then(Nt=>(Nt&&(de.length{const Jt=Nt;throw z.eventHandler.emitEvent(de.length>0?Q.W.ACQUIRE_TOKEN_FAILURE:Q.W.LOGIN_FAILURE,X.wV.Redirect,null,Jt),z.eventHandler.emitEvent(Q.W.HANDLE_REDIRECT_END,X.wV.Redirect),pt.end(Jt instanceof M.WM?{success:!1,errorCode:Jt.errorCode,subErrorCode:Jt.subError}:{success:!1}),Nt}),z.redirectResponse.set(Fe,Te)}else z.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return Te}return z.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B);z.logger.verbose("acquireTokenRedirect called",de),z.preflightBrowserEnvironmentCheck(X.wV.Redirect);const Fe=z.getAllAccounts().length>0;let Te;return z.eventHandler.emitEvent(Fe?Q.W.ACQUIRE_TOKEN_START:Q.W.LOGIN_START,X.wV.Redirect,B),Te=z.nativeExtensionProvider&&z.canUseNative(B)?new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,X.Ed.acquireTokenRedirect,z.performanceClient,z.nativeExtensionProvider,z.getNativeAccountId(B),z.nativeInternalStorage,de).acquireTokenRedirect(B).catch(Ae=>{if(Ae instanceof nn&&nr(Ae))return z.nativeExtensionProvider=void 0,z.createRedirectClient(de).acquireToken(B);if(Ae instanceof x.uw)return z.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),z.createRedirectClient(de).acquireToken(B);throw z.getBrowserStorage().setInteractionInProgress(!1),Ae}):z.createRedirectClient(de).acquireToken(B),Te.catch(me=>{throw z.eventHandler.emitEvent(Fe?Q.W.ACQUIRE_TOKEN_FAILURE:Q.W.LOGIN_FAILURE,X.wV.Redirect,null,me),me})})()}acquireTokenPopup(B){const z=this.getRequestCorrelationId(B),de=this.performanceClient.startMeasurement(h.Xv.AcquireTokenPopup,z);try{this.logger.verbose("acquireTokenPopup called",z),this.preflightBrowserEnvironmentCheck(X.wV.Popup)}catch(me){return Promise.reject(me)}const Fe=this.getAllAccounts();let Te;return this.eventHandler.emitEvent(Fe.length>0?Q.W.ACQUIRE_TOKEN_START:Q.W.LOGIN_START,X.wV.Popup,B),Te=this.canUseNative(B)?this.acquireTokenNative({...B,correlationId:z},X.Ed.acquireTokenPopup).then(me=>(this.getBrowserStorage().setInteractionInProgress(!1),de.end({success:!0,isNativeBroker:!0,requestId:me.requestId}),me)).catch(me=>{if(me instanceof nn&&nr(me))return this.nativeExtensionProvider=void 0,this.createPopupClient(z).acquireToken(B);if(me instanceof x.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(z).acquireToken(B);throw this.getBrowserStorage().setInteractionInProgress(!1),me}):this.createPopupClient(z).acquireToken(B),Te.then(me=>(Fe.length(this.eventHandler.emitEvent(Fe.length>0?Q.W.ACQUIRE_TOKEN_FAILURE:Q.W.LOGIN_FAILURE,X.wV.Popup,null,me),de.end({errorCode:me.errorCode,subErrorCode:me.subError,success:!1}),Promise.reject(me)))}trackPageVisibilityWithMeasurement(){const B=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;B&&(this.logger.info("Perf: Visibility change detected in ",B.event.name),B.increment({visibilityChangeCount:1}))}ssoSilent(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B),Fe={...B,prompt:B.prompt,correlationId:de};let Te;return z.preflightBrowserEnvironmentCheck(X.wV.Silent),z.ssoSilentMeasurement=z.performanceClient.startMeasurement(h.Xv.SsoSilent,de),z.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),z.logger.verbose("ssoSilent called",de),z.eventHandler.emitEvent(Q.W.SSO_SILENT_START,X.wV.Silent,Fe),Te=z.canUseNative(Fe)?z.acquireTokenNative(Fe,X.Ed.ssoSilent).catch(me=>{if(me instanceof nn&&nr(me))return z.nativeExtensionProvider=void 0,z.createSilentIframeClient(Fe.correlationId).acquireToken(Fe);throw me}):z.createSilentIframeClient(Fe.correlationId).acquireToken(Fe),Te.then(me=>(z.eventHandler.emitEvent(Q.W.SSO_SILENT_SUCCESS,X.wV.Silent,me),z.ssoSilentMeasurement?.add({accessTokenSize:me.accessToken.length,idTokenSize:me.idToken.length}),z.ssoSilentMeasurement?.end({success:!0,isNativeBroker:me.fromNativeBroker,requestId:me.requestId}),me)).catch(me=>{throw z.eventHandler.emitEvent(Q.W.SSO_SILENT_FAILURE,X.wV.Silent,null,me),z.ssoSilentMeasurement?.end({errorCode:me.errorCode,subErrorCode:me.subError,success:!1}),me}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B);z.preflightBrowserEnvironmentCheck(X.wV.Silent),z.logger.trace("acquireTokenByCode called",de),z.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_BY_CODE_START,X.wV.Silent,B);const Fe=z.performanceClient.startMeasurement(h.Xv.AcquireTokenByCode,de);try{if(B.code&&B.nativeAccountId)throw(0,Pe.Wq)(je.spaCodeAndNativeAccountIdPresent);if(B.code){const Te=B.code;let me=z.hybridAuthCodeResponses.get(Te);return me?(z.logger.verbose("Existing acquireTokenByCode request found",de),Fe.discard()):(z.logger.verbose("Initiating new acquireTokenByCode request",de),me=z.acquireTokenByCodeAsync({...B,correlationId:de}).then(Ae=>(z.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,X.wV.Silent,Ae),z.hybridAuthCodeResponses.delete(Te),Fe.add({accessTokenSize:Ae.accessToken.length,idTokenSize:Ae.idToken.length}),Fe.end({success:!0,isNativeBroker:Ae.fromNativeBroker,requestId:Ae.requestId}),Ae)).catch(Ae=>{throw z.hybridAuthCodeResponses.delete(Te),z.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,X.wV.Silent,null,Ae),Fe.end({errorCode:Ae.errorCode,subErrorCode:Ae.subError,success:!1}),Ae}),z.hybridAuthCodeResponses.set(Te,me)),yield me}if(B.nativeAccountId){if(z.canUseNative(B,B.nativeAccountId))return yield z.acquireTokenNative({...B,correlationId:de},X.Ed.acquireTokenByCode,B.nativeAccountId).catch(Te=>{throw Te instanceof nn&&nr(Te)&&(z.nativeExtensionProvider=void 0),Te});throw(0,Pe.Wq)(je.unableToAcquireTokenFromNativePlatform)}throw(0,Pe.Wq)(je.authCodeOrNativeAccountIdRequired)}catch(Te){throw z.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,X.wV.Silent,null,Te),Fe.end({errorCode:Te instanceof M.WM&&Te.errorCode||void 0,subErrorCode:Te instanceof M.WM&&Te.subError||void 0,success:!1}),Te}})()}acquireTokenByCodeAsync(B){var z=this;return(0,n.c)(function*(){return z.logger.trace("acquireTokenByCodeAsync called",B.correlationId),z.acquireTokenByCodeAsyncMeasurement=z.performanceClient.startMeasurement(h.Xv.AcquireTokenByCodeAsync,B.correlationId),z.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),yield z.createSilentAuthCodeClient(B.correlationId).acquireToken(B).then(Te=>(z.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:Te.fromCache,isNativeBroker:Te.fromNativeBroker,requestId:Te.requestId}),Te)).catch(Te=>{throw z.acquireTokenByCodeAsyncMeasurement?.end({errorCode:Te.errorCode,subErrorCode:Te.subError,success:!1}),Te}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(B,z,de){var Fe=this;return(0,n.c)(function*(){switch(Fe.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenFromCache,z.correlationId),de){case X.wd.Default:case X.wd.AccessToken:case X.wd.AccessTokenAndRefreshToken:return(0,C.C)(B.acquireToken.bind(B),h.Xv.SilentCacheClientAcquireToken,Fe.logger,Fe.performanceClient,z.correlationId)(z);default:throw(0,c.mQ)(A.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(B,z){var de=this;return(0,n.c)(function*(){switch(de.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenByRefreshToken,B.correlationId),z){case X.wd.Default:case X.wd.AccessTokenAndRefreshToken:case X.wd.RefreshToken:case X.wd.RefreshTokenAndNetwork:const Fe=de.createSilentRefreshClient(B.correlationId);return(0,C.C)(Fe.acquireToken.bind(Fe),h.Xv.SilentRefreshClientAcquireToken,de.logger,de.performanceClient,B.correlationId)(B);default:throw(0,c.mQ)(A.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(B){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenBySilentIframe,B.correlationId);const de=z.createSilentIframeClient(B.correlationId);return(0,C.C)(de.acquireToken.bind(de),h.Xv.SilentIframeClientAcquireToken,z.logger,z.performanceClient,B.correlationId)(B)})()}logout(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B);return z.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",de),z.logoutRedirect({correlationId:de,...B})})()}logoutRedirect(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B);return z.preflightBrowserEnvironmentCheck(X.wV.Redirect),z.createRedirectClient(de).logout(B)})()}logoutPopup(B){try{const z=this.getRequestCorrelationId(B);return this.preflightBrowserEnvironmentCheck(X.wV.Popup),this.createPopupClient(z).logout(B)}catch(z){return Promise.reject(z)}}clearCache(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B);return z.createSilentCacheClient(de).logout(B)})()}getAllAccounts(B){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(B):[]}getAccount(B){if(this.logger.trace("getAccount called"),0===Object.keys(B).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy(B);return z?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),z):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(B){if(this.logger.trace("getAccountByUsername called"),!B)return this.logger.warning("getAccountByUsername: No username provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({username:B});return z?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${B}`),z):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(B){if(this.logger.trace("getAccountByHomeId called"),!B)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:B});return z?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${B}`),z):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(B){if(this.logger.trace("getAccountByLocalId called"),!B)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({localAccountId:B});return z?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${B}`),z):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(B){this.browserStorage.setActiveAccount(B)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(B,z){var de=this;return(0,n.c)(function*(){de.logger.verbose("hydrateCache called");const Fe=V.M.createFromAccountInfo(B.account,B.cloudGraphHostName,B.msGraphHost);return de.browserStorage.setAccount(Fe),B.fromNativeBroker?(de.logger.verbose("Response was from native broker, storing in-memory"),de.nativeInternalStorage.hydrateCache(B,z)):de.browserStorage.hydrateCache(B,z)})()}preflightBrowserEnvironmentCheck(B,z=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,ce.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,ce.blockRedirectInIframe)(B,this.config.system.allowRedirectInIframe),(0,ce.blockReloadInHiddenIframes)(),(0,ce.blockAcquireTokenInPopups)(),(0,ce.blockAPICallsBeforeInitialize)(this.initialized),B===X.wV.Redirect&&this.config.cache.cacheLocation===X.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,ne.cf)(zn.inMemRedirectUnavailable);(B===X.wV.Redirect||B===X.wV.Popup)&&this.preflightInteractiveRequest(!z)}preflightInteractiveRequest(B){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,ce.blockReloadInHiddenIframes)(),B&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(B,z,de){var Fe=this;return(0,n.c)(function*(){if(Fe.logger.trace("acquireTokenNative called"),!Fe.nativeExtensionProvider)throw(0,Pe.Wq)(je.nativeConnectionNotEstablished);return new oi(Fe.config,Fe.browserStorage,Fe.browserCrypto,Fe.logger,Fe.eventHandler,Fe.navigationClient,z,Fe.performanceClient,Fe.nativeExtensionProvider,de||Fe.getNativeAccountId(B),Fe.nativeInternalStorage,B.correlationId).acquireToken(B)})()}canUseNative(B,z){if(this.logger.trace("canUseNative called"),!Sr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,B.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(B.prompt)switch(B.prompt){case l.GI.NONE:case l.GI.CONSENT:case l.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${B.prompt} is not compatible with native flow, returning false`),!1}return!(!z&&!this.getNativeAccountId(B)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(B){const z=B.account||this.getAccount({loginHint:B.loginHint,sid:B.sid})||this.getActiveAccount();return z&&z.nativeAccountId||""}createPopupClient(B){return new qt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,B)}createRedirectClient(B){return new Qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,B)}createSilentIframeClient(B){return new Mn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,X.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,B)}createSilentCacheClient(B){return new yr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,B)}createSilentRefreshClient(B){return new Xn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,B)}createSilentAuthCodeClient(B){return new Er(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,X.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,B)}addEventCallback(B){return this.eventHandler.addEventCallback(B)}removeEventCallback(B){this.eventHandler.removeEventCallback(B)}addPerformanceCallback(B){return this.performanceClient.addPerformanceCallback(B)}removePerformanceCallback(B){return this.performanceClient.removePerformanceCallback(B)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(B){this.logger=B}initializeWrapperLibrary(B,z){this.browserStorage.setWrapperMetadata(B,z)}setNavigationClient(B){this.navigationClient=B}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(B){return B?.correlationId?B.correlationId:this.isBrowserEnvironment?(0,Ue.E5)():l.Mv.EMPTY_STRING}loginRedirect(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B);return z.logger.verbose("loginRedirect called",de),z.acquireTokenRedirect({correlationId:de,...B||X.wv})})()}loginPopup(B){const z=this.getRequestCorrelationId(B);return this.logger.verbose("loginPopup called",z),this.acquireTokenPopup({correlationId:z,...B||X.wv})}acquireTokenSilent(B){var z=this;return(0,n.c)(function*(){const de=z.getRequestCorrelationId(B),Fe=z.performanceClient.startMeasurement(h.Xv.AcquireTokenSilent,de);Fe.add({cacheLookupPolicy:B.cacheLookupPolicy}),z.preflightBrowserEnvironmentCheck(X.wV.Silent),z.logger.verbose("acquireTokenSilent called",de);const Te=B.account||z.getActiveAccount();if(!Te)throw(0,Pe.Wq)(je.noAccountError);const Ae=JSON.stringify({clientId:z.config.auth.clientId,authority:B.authority||l.Mv.EMPTY_STRING,scopes:B.scopes,homeAccountIdentifier:Te.homeAccountId,claims:B.claims,authenticationScheme:B.authenticationScheme,resourceRequestMethod:B.resourceRequestMethod,resourceRequestUri:B.resourceRequestUri,shrClaims:B.shrClaims,sshKid:B.sshKid,shrOptions:B.shrOptions}),et=z.activeSilentTokenRequests.get(Ae);if(typeof et>"u"){z.logger.verbose("acquireTokenSilent called for the first time, storing active request",de);const pt=(0,C.C)(z.acquireTokenSilentAsync.bind(z),h.Xv.AcquireTokenSilentAsync,z.logger,z.performanceClient,de)({...B,correlationId:de},Te).then(At=>(z.activeSilentTokenRequests.delete(Ae),Fe.add({accessTokenSize:At.accessToken.length,idTokenSize:At.idToken.length}),Fe.end({success:!0,fromCache:At.fromCache,isNativeBroker:At.fromNativeBroker,cacheLookupPolicy:B.cacheLookupPolicy,requestId:At.requestId}),At)).catch(At=>{throw z.activeSilentTokenRequests.delete(Ae),Fe.end({errorCode:At.errorCode,subErrorCode:At.subError,success:!1}),At});return z.activeSilentTokenRequests.set(Ae,pt),{...yield pt,state:B.state}}return z.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",de),Fe.discard(),{...yield et,state:B.state}})()}acquireTokenSilentAsync(B,z){var de=this;return(0,n.c)(function*(){let Fe;if(de.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenSilentAsync,B.correlationId),de.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_START,X.wV.Silent,B),de.atsAsyncMeasurement=de.performanceClient.startMeasurement(h.Xv.AcquireTokenSilentAsync,B.correlationId),de.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",de.trackPageVisibility),Sr.isNativeAvailable(de.config,de.logger,de.nativeExtensionProvider,B.authenticationScheme)&&z.nativeAccountId){de.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const Te={...B,account:z};Fe=de.acquireTokenNative(Te,X.Ed.acquireTokenSilent_silentFlow).catch(function(){var me=(0,n.c)(function*(Ae){if(Ae instanceof nn&&nr(Ae))return de.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),de.nativeExtensionProvider=void 0,de.createSilentIframeClient(B.correlationId).acquireToken(B);throw Ae});return function(Ae){return me.apply(this,arguments)}}())}else{de.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const Te=de.createSilentCacheClient(B.correlationId),me=yield(0,C.C)(Te.initializeSilentRequest.bind(Te),h.Xv.InitializeSilentRequest,de.logger,de.performanceClient,B.correlationId)(B,z),Ae=B.cacheLookupPolicy||X.wd.Default;Fe=(0,C.C)(de.acquireTokenFromCache.bind(de),h.Xv.AcquireTokenFromCache,de.logger,de.performanceClient,me.correlationId)(Te,me,Ae).catch(et=>{if(B.cacheLookupPolicy===X.wd.AccessToken)throw et;return(0,ce.blockReloadInHiddenIframes)(),de.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_NETWORK_START,X.wV.Silent,me),(0,C.C)(de.acquireTokenByRefreshToken.bind(de),h.Xv.AcquireTokenByRefreshToken,de.logger,de.performanceClient,me.correlationId)(me,Ae).catch(pt=>{if(function Ei(un,B,z){const Te=!(un instanceof x.uw&&un.subError!==F.badToken)&&(un.errorCode===X.ig.INVALID_GRANT_ERROR||un.errorCode===A.tokenRefreshRequired)||un.errorCode===F.noTokensFound||un.errorCode===F.refreshTokenExpired,me=X.a.includes(z);return Te&&me}(pt,0,Ae))return de.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",me.correlationId),(0,C.C)(de.acquireTokenBySilentIframe.bind(de),h.Xv.AcquireTokenBySilentIframe,de.logger,de.performanceClient,me.correlationId)(me);throw pt})})}return Fe.then(Te=>(de.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_SUCCESS,X.wV.Silent,Te),de.atsAsyncMeasurement?.end({success:!0,fromCache:Te.fromCache,isNativeBroker:Te.fromNativeBroker,requestId:Te.requestId}),Te)).catch(Te=>{throw de.eventHandler.emitEvent(Q.W.ACQUIRE_TOKEN_FAILURE,X.wV.Silent,null,Te),de.atsAsyncMeasurement?.end({errorCode:Te.errorCode,subErrorCode:Te.subError,success:!1}),Te}).finally(()=>{document.removeEventListener("visibilitychange",de.trackPageVisibility)})})()}}},27880:(ve,f,o)=>{"use strict";o.d(f,{E5:()=>M,G0:()=>E,IT:()=>C,YD:()=>m,_k:()=>N,eY:()=>y,em:()=>T,kq:()=>L});var n=o(1528),i=o(4792),d=o(85348),u=o(26956),a=o(32828);const c="SHA-256",g=new Uint8Array([1,0,1]),b="0123456789abcdef",p=new Uint32Array(1),S={name:"RSASSA-PKCS1-v1_5",hash:c,modulusLength:2048,publicExponent:g};function y(V){if(!("crypto"in window))throw V.error("BrowserCrypto: crypto interface is unavailable"),(0,i.Wq)(a.cryptoNonExistent);V.verbose("BrowserCrypto: modern crypto interface available")}function m(V,F,ee){return h.apply(this,arguments)}function h(){return(h=(0,n.c)(function*(V,F,ee){F?.addQueueMeasurement(d.Xv.Sha256Digest,ee);const ce=(new TextEncoder).encode(V);return window.crypto.subtle.digest(c,ce)})).apply(this,arguments)}function C(V){return window.crypto.getRandomValues(V)}function v(){return window.crypto.getRandomValues(p),p[0]}function M(){const V=Date.now(),F=1024*v()+(1023&v()),ee=new Uint8Array(16),X=Math.trunc(F/2**30),ce=F&2**30-1,Q=v();ee[0]=V/2**40,ee[1]=V/2**32,ee[2]=V/2**24,ee[3]=V/65536,ee[4]=V/256,ee[5]=V,ee[6]=112|X>>>8,ee[7]=X,ee[8]=128|ce>>>24,ee[9]=ce>>>16,ee[10]=ce>>>8,ee[11]=ce,ee[12]=Q>>>24,ee[13]=Q>>>16,ee[14]=Q>>>8,ee[15]=Q;let ne="";for(let Y=0;Y>>4),ne+=b.charAt(15&ee[Y]),(3===Y||5===Y||7===Y||9===Y)&&(ne+="-");return ne}function E(V,F){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(V,F){return window.crypto.subtle.generateKey(S,V,F)})).apply(this,arguments)}function T(V){return R.apply(this,arguments)}function R(){return(R=(0,n.c)(function*(V){return window.crypto.subtle.exportKey(u.eG,V)})).apply(this,arguments)}function N(V,F,ee){return P.apply(this,arguments)}function P(){return(P=(0,n.c)(function*(V,F,ee){return window.crypto.subtle.importKey(u.eG,V,S,F,ee)})).apply(this,arguments)}function L(V,F){return x.apply(this,arguments)}function x(){return(x=(0,n.c)(function*(V,F){return window.crypto.subtle.sign(S,V,F)})).apply(this,arguments)}},7184:(ve,f,o)=>{"use strict";o.d(f,{A:()=>R});var n=o(1528),i=o(85348),d=o(66936);const u="missing_kid_error",a="missing_alg_error",e={[u]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[a]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class c extends d.WM{constructor(L,x){super(L,x),this.name="JoseHeaderError",Object.setPrototypeOf(this,c.prototype)}}function l(P){return new c(P,e[P])}var g=o(34739);class b{constructor(L){this.typ=L.typ,this.alg=L.alg,this.kid=L.kid}static getShrHeaderString(L){if(!L.kid)throw l(u);if(!L.alg)throw l(a);const x=new b({typ:L.typ||g.Gu.Pop,kid:L.kid,alg:L.alg});return JSON.stringify(x)}}var p=o(37988),S=o(55084),y=o(27880),m=o(4792),h=o(26956),C=o(32828);class v{constructor(){this.dbName=h.f6,this.version=h.gV,this.tableName=h.eQ,this.dbOpen=!1}open(){var L=this;return(0,n.c)(function*(){return new Promise((x,V)=>{const F=window.indexedDB.open(L.dbName,L.version);F.addEventListener("upgradeneeded",ee=>{ee.target.result.createObjectStore(L.tableName)}),F.addEventListener("success",ee=>{L.db=ee.target.result,L.dbOpen=!0,x()}),F.addEventListener("error",()=>V((0,m.Wq)(C.databaseUnavailable)))})})()}closeConnection(){const L=this.db;L&&this.dbOpen&&(L.close(),this.dbOpen=!1)}validateDbIsOpen(){var L=this;return(0,n.c)(function*(){if(!L.dbOpen)return L.open()})()}getItem(L){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((V,F)=>{if(!x.db)return F((0,m.Wq)(C.databaseNotOpen));const ce=x.db.transaction([x.tableName],"readonly").objectStore(x.tableName).get(L);ce.addEventListener("success",Q=>{const ne=Q;x.closeConnection(),V(ne.target.result)}),ce.addEventListener("error",Q=>{x.closeConnection(),F(Q)})})})()}setItem(L,x){var V=this;return(0,n.c)(function*(){return yield V.validateDbIsOpen(),new Promise((F,ee)=>{if(!V.db)return ee((0,m.Wq)(C.databaseNotOpen));const Q=V.db.transaction([V.tableName],"readwrite").objectStore(V.tableName).put(x,L);Q.addEventListener("success",()=>{V.closeConnection(),F()}),Q.addEventListener("error",ne=>{V.closeConnection(),ee(ne)})})})()}removeItem(L){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((V,F)=>{if(!x.db)return F((0,m.Wq)(C.databaseNotOpen));const ce=x.db.transaction([x.tableName],"readwrite").objectStore(x.tableName).delete(L);ce.addEventListener("success",()=>{x.closeConnection(),V()}),ce.addEventListener("error",Q=>{x.closeConnection(),F(Q)})})})()}getKeys(){var L=this;return(0,n.c)(function*(){return yield L.validateDbIsOpen(),new Promise((x,V)=>{if(!L.db)return V((0,m.Wq)(C.databaseNotOpen));const X=L.db.transaction([L.tableName],"readonly").objectStore(L.tableName).getAllKeys();X.addEventListener("success",ce=>{const Q=ce;L.closeConnection(),x(Q.target.result)}),X.addEventListener("error",ce=>{L.closeConnection(),V(ce)})})})()}containsKey(L){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((V,F)=>{if(!x.db)return F((0,m.Wq)(C.databaseNotOpen));const ce=x.db.transaction([x.tableName],"readonly").objectStore(x.tableName).count(L);ce.addEventListener("success",Q=>{const ne=Q;x.closeConnection(),V(1===ne.target.result)}),ce.addEventListener("error",Q=>{x.closeConnection(),F(Q)})})})()}deleteDatabase(){var L=this;return(0,n.c)(function*(){return L.db&&L.dbOpen&&L.closeConnection(),new Promise((x,V)=>{const F=window.indexedDB.deleteDatabase(h.f6);F.addEventListener("success",()=>x(!0)),F.addEventListener("blocked",()=>x(!0)),F.addEventListener("error",()=>V(!1))})})()}}var M=o(61744);class E{constructor(L,x){this.inMemoryCache=new M.W,this.indexedDBCache=new v,this.logger=L,this.storeName=x}handleDatabaseAccessError(L){if(!(L instanceof m.G&&L.errorCode===C.databaseUnavailable))throw L;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}getItem(L){var x=this;return(0,n.c)(function*(){const V=x.inMemoryCache.getItem(L);if(!V)try{return x.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield x.indexedDBCache.getItem(L)}catch(F){x.handleDatabaseAccessError(F)}return V})()}setItem(L,x){var V=this;return(0,n.c)(function*(){V.inMemoryCache.setItem(L,x);try{yield V.indexedDBCache.setItem(L,x)}catch(F){V.handleDatabaseAccessError(F)}})()}removeItem(L){var x=this;return(0,n.c)(function*(){x.inMemoryCache.removeItem(L);try{yield x.indexedDBCache.removeItem(L)}catch(V){x.handleDatabaseAccessError(V)}})()}getKeys(){var L=this;return(0,n.c)(function*(){const x=L.inMemoryCache.getKeys();if(0===x.length)try{return L.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield L.indexedDBCache.getKeys()}catch(V){L.handleDatabaseAccessError(V)}return x})()}containsKey(L){var x=this;return(0,n.c)(function*(){const V=x.inMemoryCache.containsKey(L);if(!V)try{return x.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield x.indexedDBCache.containsKey(L)}catch(F){x.handleDatabaseAccessError(F)}return V})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var L=this;return(0,n.c)(function*(){try{L.logger.verbose("Deleting persistent keystore");const x=yield L.indexedDBCache.deleteDatabase();return x&&L.logger.verbose("Persistent keystore deleted"),x}catch(x){return L.handleDatabaseAccessError(x),!1}})()}}class T{constructor(L){this.logger=L,this.asymmetricKeys=new E(this.logger,"asymmetricKeys"),this.symmetricKeys=new E(this.logger,"symmetricKeys")}clear(){var L=this;return(0,n.c)(function*(){L.asymmetricKeys.clearInMemory(),L.symmetricKeys.clearInMemory();try{return yield L.asymmetricKeys.clearPersistent(),!0}catch(x){return x instanceof Error?L.logger.error(`Clearing keystore failed with error: ${x.message}`):L.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let R=(()=>{class P{constructor(x,V){this.logger=x,(0,y.eY)(x),this.cache=new T(this.logger),this.performanceClient=V}createNewGuid(){return(0,y.E5)()}base64Encode(x){return(0,p.c9)(x)}base64Decode(x){return(0,S.W)(x)}getPublicKeyThumbprint(x){var V=this;return(0,n.c)(function*(){const F=V.performanceClient?.startMeasurement(i.Xv.CryptoOptsGetPublicKeyThumbprint,x.correlationId),ee=yield(0,y.G0)(P.EXTRACTABLE,P.POP_KEY_USAGES),X=yield(0,y.em)(ee.publicKey),Q=N({e:X.e,kty:X.kty,n:X.n}),ne=yield V.hashString(Q),Y=yield(0,y.em)(ee.privateKey),H=yield(0,y._k)(Y,!1,["sign"]);return yield V.cache.asymmetricKeys.setItem(ne,{privateKey:H,publicKey:ee.publicKey,requestMethod:x.resourceRequestMethod,requestUri:x.resourceRequestUri}),F&&F.end({success:!0}),ne})()}removeTokenBindingKey(x){var V=this;return(0,n.c)(function*(){return yield V.cache.asymmetricKeys.removeItem(x),!(yield V.cache.asymmetricKeys.containsKey(x))})()}clearKeystore(){var x=this;return(0,n.c)(function*(){return x.cache.clear()})()}signJwt(x,V,F,ee){var X=this;return(0,n.c)(function*(){const ce=X.performanceClient?.startMeasurement(i.Xv.CryptoOptsSignJwt,ee),Q=yield X.cache.asymmetricKeys.getItem(V);if(!Q)throw(0,m.Wq)(C.cryptoKeyNotFound);const ne=yield(0,y.em)(Q.publicKey),Y=N(ne),H=(0,p.OW)(JSON.stringify({kid:V})),ae=b.getShrHeaderString({...F?.header,alg:ne.alg,kid:H}),J=(0,p.OW)(ae);x.cnf={jwk:JSON.parse(Y)};const W=`${J}.${(0,p.OW)(JSON.stringify(x))}`,G=(new TextEncoder).encode(W),ue=yield(0,y.kq)(Q.privateKey,G),Ie=`${W}.${(0,p.gV)(new Uint8Array(ue))}`;return ce&&ce.end({success:!0}),Ie})()}hashString(x){return(0,n.c)(function*(){const V=yield(0,y.YD)(x),F=new Uint8Array(V);return(0,p.gV)(F)})()}}return P.POP_KEY_USAGES=["sign","verify"],P.EXTRACTABLE=!0,P})();function N(P){return JSON.stringify(P,Object.keys(P).sort())}},55084:(ve,f,o)=>{"use strict";o.d(f,{W:()=>d});var n=o(4792),i=o(32828);function d(a){return(new TextDecoder).decode(function u(a){let e=a.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(i.invalidBase64String)}const c=atob(e);return Uint8Array.from(c,l=>l.codePointAt(0)||0)}(a))}},37988:(ve,f,o)=>{"use strict";function n(a){return encodeURIComponent(d(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function i(a){return u(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(a){return u((new TextEncoder).encode(a))}function u(a){const e=Array.from(a,c=>String.fromCodePoint(c)).join("");return btoa(e)}o.d(f,{OW:()=>n,c9:()=>d,gV:()=>i})},4792:(ve,f,o)=>{"use strict";o.d(f,{G:()=>e,Wq:()=>c,aC:()=>a});var n=o(66936),i=o(32828);const d="For more visit: aka.ms/msaljs/browser-errors",u={[i.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[i.cryptoNonExistent]:"The crypto object or function is not available.",[i.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[i.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${d}`,[i.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[i.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${d}`,[i.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[i.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[i.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${d}`,[i.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[i.emptyWindowError]:"window.open returned null or undefined window object.",[i.userCancelled]:"User cancelled the flow.",[i.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${d}`,[i.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${d}`,[i.redirectInIframe]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[i.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${d}`,[i.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[i.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[i.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[i.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[i.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[i.noTokenRequestCacheError]:"No token request found in cache.",[i.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[i.noCachedAuthorityError]:"No cached authority found.",[i.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[i.invalidCacheType]:"Invalid cache type",[i.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[i.databaseNotOpen]:"Database is not open!",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.postRequestFailed]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[i.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[i.failedToParseResponse]:"Failed to parse network response. Check network trace.",[i.unableToLoadToken]:"Error loading token to cache.",[i.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[i.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[i.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[i.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[i.databaseUnavailable]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[i.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${d}`,[i.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[i.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[i.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${d}`,[i.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${d}`,[i.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[i.invalidBase64String]:"Invalid base64 encoded string."},a={pkceNotGenerated:{code:i.pkceNotCreated,desc:u[i.pkceNotCreated]},cryptoDoesNotExist:{code:i.cryptoNonExistent,desc:u[i.cryptoNonExistent]},emptyNavigateUriError:{code:i.emptyNavigateUri,desc:u[i.emptyNavigateUri]},hashEmptyError:{code:i.hashEmptyError,desc:u[i.hashEmptyError]},hashDoesNotContainStateError:{code:i.noStateInHash,desc:u[i.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:i.hashDoesNotContainKnownProperties,desc:u[i.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:i.unableToParseState,desc:u[i.unableToParseState]},stateInteractionTypeMismatchError:{code:i.stateInteractionTypeMismatch,desc:u[i.stateInteractionTypeMismatch]},interactionInProgress:{code:i.interactionInProgress,desc:u[i.interactionInProgress]},popupWindowError:{code:i.popupWindowError,desc:u[i.popupWindowError]},emptyWindowError:{code:i.emptyWindowError,desc:u[i.emptyWindowError]},userCancelledError:{code:i.userCancelled,desc:u[i.userCancelled]},monitorPopupTimeoutError:{code:i.monitorPopupTimeout,desc:u[i.monitorPopupTimeout]},monitorIframeTimeoutError:{code:i.monitorWindowTimeout,desc:u[i.monitorWindowTimeout]},redirectInIframeError:{code:i.redirectInIframe,desc:u[i.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:i.blockIframeReload,desc:u[i.blockIframeReload]},blockAcquireTokenInPopupsError:{code:i.blockNestedPopups,desc:u[i.blockNestedPopups]},iframeClosedPrematurelyError:{code:i.iframeClosedPrematurely,desc:u[i.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:i.silentLogoutUnsupported,desc:u[i.silentLogoutUnsupported]},noAccountError:{code:i.noAccountError,desc:u[i.noAccountError]},silentPromptValueError:{code:i.silentPromptValueError,desc:u[i.silentPromptValueError]},noTokenRequestCacheError:{code:i.noTokenRequestCacheError,desc:u[i.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:i.unableToParseTokenRequestCacheError,desc:u[i.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:i.noCachedAuthorityError,desc:u[i.noCachedAuthorityError]},authRequestNotSet:{code:i.authRequestNotSetError,desc:u[i.authRequestNotSetError]},invalidCacheType:{code:i.invalidCacheType,desc:u[i.invalidCacheType]},notInBrowserEnvironment:{code:i.nonBrowserEnvironment,desc:u[i.nonBrowserEnvironment]},databaseNotOpen:{code:i.databaseNotOpen,desc:u[i.databaseNotOpen]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:u[i.noNetworkConnectivity]},postRequestFailed:{code:i.postRequestFailed,desc:u[i.postRequestFailed]},getRequestFailed:{code:i.getRequestFailed,desc:u[i.getRequestFailed]},failedToParseNetworkResponse:{code:i.failedToParseResponse,desc:u[i.failedToParseResponse]},unableToLoadTokenError:{code:i.unableToLoadToken,desc:u[i.unableToLoadToken]},signingKeyNotFoundInStorage:{code:i.cryptoKeyNotFound,desc:u[i.cryptoKeyNotFound]},authCodeRequired:{code:i.authCodeRequired,desc:u[i.authCodeRequired]},authCodeOrNativeAccountRequired:{code:i.authCodeOrNativeAccountIdRequired,desc:u[i.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:i.spaCodeAndNativeAccountIdPresent,desc:u[i.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:i.databaseUnavailable,desc:u[i.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:i.unableToAcquireTokenFromNativePlatform,desc:u[i.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:i.nativeHandshakeTimeout,desc:u[i.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:i.nativeExtensionNotInstalled,desc:u[i.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:i.nativeConnectionNotEstablished,desc:u[i.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:i.uninitializedPublicClientApplication,desc:u[i.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:i.nativePromptNotSupported,desc:u[i.nativePromptNotSupported]},invalidBase64StringError:{code:i.invalidBase64String,desc:u[i.invalidBase64String]}};class e extends n.WM{constructor(g){super(g,u[g]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function c(l){return new e(l)}},32828:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{authCodeOrNativeAccountIdRequired:()=>ae,authCodeRequired:()=>H,authRequestNotSetError:()=>L,blockIframeReload:()=>C,blockNestedPopups:()=>v,cryptoKeyNotFound:()=>Y,cryptoNonExistent:()=>i,databaseNotOpen:()=>F,databaseUnavailable:()=>K,emptyNavigateUri:()=>d,emptyWindowError:()=>p,failedToParseResponse:()=>Q,getRequestFailed:()=>ce,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>u,iframeClosedPrematurely:()=>M,interactionInProgress:()=>g,invalidBase64String:()=>be,invalidCacheType:()=>x,monitorPopupTimeout:()=>y,monitorWindowTimeout:()=>m,nativeConnectionNotEstablished:()=>ue,nativeExtensionNotInstalled:()=>G,nativeHandshakeTimeout:()=>re,nativePromptNotSupported:()=>Ie,noAccountError:()=>A,noCachedAuthorityError:()=>P,noNetworkConnectivity:()=>ee,noStateInHash:()=>a,noTokenRequestCacheError:()=>R,nonBrowserEnvironment:()=>V,pkceNotCreated:()=>n,popupWindowError:()=>b,postRequestFailed:()=>X,redirectInIframe:()=>h,silentLogoutUnsupported:()=>E,silentPromptValueError:()=>T,spaCodeAndNativeAccountIdPresent:()=>J,stateInteractionTypeMismatch:()=>l,unableToAcquireTokenFromNativePlatform:()=>W,unableToLoadToken:()=>ne,unableToParseState:()=>c,unableToParseTokenRequestCacheError:()=>N,uninitializedPublicClientApplication:()=>ye,userCancelled:()=>S});const n="pkce_not_created",i="crypto_nonexistent",d="empty_navigate_uri",u="hash_empty_error",a="no_state_in_hash",e="hash_does_not_contain_known_properties",c="unable_to_parse_state",l="state_interaction_type_mismatch",g="interaction_in_progress",b="popup_window_error",p="empty_window_error",S="user_cancelled",y="monitor_popup_timeout",m="monitor_window_timeout",h="redirect_in_iframe",C="block_iframe_reload",v="block_nested_popups",M="iframe_closed_prematurely",E="silent_logout_unsupported",A="no_account_error",T="silent_prompt_value_error",R="no_token_request_cache_error",N="unable_to_parse_token_request_cache_error",P="no_cached_authority_error",L="auth_request_not_set_error",x="invalid_cache_type",V="non_browser_environment",F="database_not_open",ee="no_network_connectivity",X="post_request_failed",ce="get_request_failed",Q="failed_to_parse_response",ne="unable_to_load_token",Y="crypto_key_not_found",H="auth_code_required",ae="auth_code_or_nativeAccountId_required",J="spa_code_and_nativeAccountId_present",K="database_unavailable",W="unable_to_acquire_token_from_native_platform",re="native_handshake_timeout",G="native_extension_not_installed",ue="native_connection_not_established",ye="uninitialized_public_client_application",Ie="native_prompt_not_supported",be="invalid_base64_string"},72592:(ve,f,o)=>{"use strict";o.d(f,{aO:()=>a,c9:()=>u,cf:()=>e});var n=o(66936),i=o(85288);const d={[i.storageNotSupported]:"Given storage configuration option was not supported.",[i.stubbedPublicClientApplicationCalled]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[i.inMemRedirectUnavailable]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},u={storageNotSupportedError:{code:i.storageNotSupported,desc:d[i.storageNotSupported]},stubPcaInstanceCalled:{code:i.stubbedPublicClientApplicationCalled,desc:d[i.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:i.inMemRedirectUnavailable,desc:d[i.inMemRedirectUnavailable]}};class a extends n.WM{constructor(l,g){super(l,g),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,a.prototype)}}function e(c){return new a(c,d[c])}},85288:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{inMemRedirectUnavailable:()=>d,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>i});const n="storage_not_supported",i="stubbed_public_client_application_called",d="in_mem_redirect_unavailable"},85968:(ve,f,o)=>{"use strict";o.d(f,{c:()=>e});var n=o(34739),i=o(98416),d=o(6536),u=o(28612),a=o(27880);class e{constructor(l,g){this.eventCallbacks=new Map,this.logger=l,this.browserCrypto=g,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(l){if(typeof window<"u"){const g=(0,a.E5)();return this.eventCallbacks.set(g,l),this.logger.verbose(`Event callback registered with id: ${g}`),g}return null}removeEventCallback(l){this.eventCallbacks.delete(l),this.logger.verbose(`Event callback ${l} removed.`)}enableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}emitEvent(l,g,b,p){if(typeof window<"u"){const S={eventType:l,interactionType:g||null,payload:b||null,error:p||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${l}`),this.eventCallbacks.forEach((y,m)=>{this.logger.verbose(`Emitting event to callback ${m}: ${l}`),y.apply(null,[S])})}}handleAccountCacheChange(l){try{l.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(u.W.ACTIVE_ACCOUNT_CHANGED);const g=l.newValue||l.oldValue;if(!g)return;const b=JSON.parse(g);if("object"!=typeof b||!i.M.isAccountEntity(b))return;const S=d.B.toObject(new i.M,b).getAccountInfo();!l.oldValue&&l.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(u.W.ACCOUNT_ADDED,void 0,S)):!l.newValue&&l.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(u.W.ACCOUNT_REMOVED,void 0,S))}catch{return}}}},88904:(ve,f,o)=>{"use strict";o.d(f,{M:()=>d});var n=o(28612),i=o(26956);class d{static getInteractionStatusFromEvent(a,e){switch(a.eventType){case n.W.LOGIN_START:return i.Yz.Login;case n.W.SSO_SILENT_START:return i.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(a.interactionType===i.wV.Redirect||a.interactionType===i.wV.Popup)return i.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return i.Yz.HandleRedirect;case n.W.LOGOUT_START:return i.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==i.Yz.SsoSilent)break;return i.Yz.None;case n.W.LOGOUT_END:if(e&&e!==i.Yz.Logout)break;return i.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==i.Yz.HandleRedirect)break;return i.Yz.None;case n.W.LOGIN_SUCCESS:case n.W.LOGIN_FAILURE:case n.W.ACQUIRE_TOKEN_SUCCESS:case n.W.ACQUIRE_TOKEN_FAILURE:case n.W.RESTORE_FROM_BFCACHE:if(a.interactionType===i.wV.Redirect||a.interactionType===i.wV.Popup){if(e&&e!==i.Yz.Login&&e!==i.Yz.AcquireToken)break;return i.Yz.None}}return null}}},28612:(ve,f,o)=>{"use strict";o.d(f,{W:()=>n});const n={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},21112:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{AccountEntity:()=>qe.M,ApiId:()=>e.Ed,AuthError:()=>nt.WM,AuthErrorCodes:()=>ft,AuthErrorMessage:()=>nt.GM,AuthenticationHeaderParser:()=>ze,AuthenticationScheme:()=>W.me,AzureCloudInstance:()=>rt.C,BrowserAuthError:()=>L.G,BrowserAuthErrorCodes:()=>vn,BrowserAuthErrorMessage:()=>L.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>x.aO,BrowserConfigurationAuthErrorCodes:()=>V,BrowserConfigurationAuthErrorMessage:()=>x.c9,BrowserPerformanceClient:()=>Ie,BrowserPerformanceMeasurement:()=>be.BrowserPerformanceMeasurement,BrowserStorage:()=>ce.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>mt.oJ,ClientAuthErrorCodes:()=>Wt,ClientAuthErrorMessage:()=>mt.m6,ClientConfigurationError:()=>ie.Ou,ClientConfigurationErrorCodes:()=>De,ClientConfigurationErrorMessage:()=>ie.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>u.Ks,EventMessageUtils:()=>Q.M,EventType:()=>ne.W,InteractionRequiredAuthError:()=>bt.uw,InteractionRequiredAuthErrorCodes:()=>Bt,InteractionRequiredAuthErrorMessage:()=>bt.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>W.Gu,LogLevel:()=>d.G,Logger:()=>d.Y,MemoryStorage:()=>X.W,NavigationClient:()=>ee.m,OIDC_DEFAULT_SCOPES:()=>W.ac,PerformanceEvents:()=>ae.Xv,PromptValue:()=>W.GI,ProtocolMode:()=>an.g,PublicClientApplication:()=>v,PublicClientNext:()=>P,ServerError:()=>hn.s,ServerResponseType:()=>W.eE,SignedHttpRequest:()=>H,StringUtils:()=>wn.e,UrlString:()=>An._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>F,version:()=>a.W});var n=o(84644),i=o(1528),d=o(73364),u=o(48124),a=o(69096),e=o(26956);class c{static loggerCallback(dt,Ue){switch(dt){case d.G.Error:return void console.error(Ue);case d.G.Info:return void console.info(Ue);case d.G.Verbose:return void console.debug(Ue);case d.G.Warning:return void console.warn(Ue);default:return void console.log(Ue)}}constructor(dt){let Ue;this.browserEnvironment=typeof window<"u",this.config=(0,u.k5)(dt,this.browserEnvironment);try{Ue=window[e.Ir.SessionStorage]}catch{}const we=Ue?.getItem(e.Ip),Pe=Ue?.getItem(e.k9)?.toLowerCase(),Ge="true"===Pe||"false"!==Pe&&void 0,je={...this.config.system.loggerOptions},ht=we&&Object.keys(d.G).includes(we)?d.G[we]:void 0;ht&&(je.loggerCallback=c.loggerCallback,je.logLevel=ht),void 0!==Ge&&(je.piiLoggingEnabled=Ge),this.logger=new d.Y(je,a.N,a.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var l=o(59048);let g=(()=>{class en{static initializeNestedAppAuthBridge(){return(0,i.c)(function*(){if(void 0===window)throw new Error("window is undefined");if(void 0===window.nestedAppAuthBridge)throw new Error("window.nestedAppAuthBridge is undefined");if(void 0===window.crypto)throw new Error("window.crypto is undefined");try{en.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",we=>{const Ge=JSON.parse("string"==typeof we?we:we.data),je=en.bridgeRequests.find(ht=>ht.requestId===Ge.requestId);void 0!==je&&(en.bridgeRequests.splice(en.bridgeRequests.indexOf(je),1),Ge.success?je.resolve(Ge):je.reject(Ge.error))});const Ue=yield new Promise((we,Pe)=>{const Ge={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:en.getRandomId()};en.bridgeRequests.push({requestId:Ge.requestId,method:Ge.method,resolve:we,reject:Pe}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Ge))});return en.validateBridgeResultOrThrow(Ue.initContext)}catch(Ue){throw window.console.log(Ue),Ue}})()}static getRandomId(){return en.crypto.randomUUID()}getTokenInteractive(Ue){return this.getToken("GetTokenPopup",Ue)}getTokenSilent(Ue){return this.getToken("GetToken",Ue)}getToken(Ue,we){var Pe=this;return(0,i.c)(function*(){const Ge=yield Pe.sendRequest(Ue,{tokenParams:we});return{token:en.validateBridgeResultOrThrow(Ge.token),account:en.validateBridgeResultOrThrow(Ge.account)}})()}getActiveAccount(){var Ue=this;return(0,i.c)(function*(){const we=yield Ue.sendRequest("GetActiveAccount");return en.validateBridgeResultOrThrow(we.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Ue,we){const Pe={messageType:"NestedAppAuthRequest",method:Ue,requestId:en.getRandomId(),...we};return new Promise((je,ht)=>{en.bridgeRequests.push({requestId:Pe.requestId,method:Pe.method,resolve:je,reject:ht}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Pe))})}static validateBridgeResultOrThrow(Ue){if(void 0===Ue)throw{status:l.I.NestedAppAuthUnavailable};return Ue}constructor(Ue,we,Pe){this.sdkName=Ue,this.sdkVersion=we,this.capabilities=Pe}static create(){return(0,i.c)(function*(){const Ue=yield en.initializeNestedAppAuthBridge();return new en(Ue.sdkName,Ue.sdkVersion,Ue.capabilities)})()}}return en.bridgeRequests=[],en})(),b=(()=>{class en extends c{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return en.MODULE_NAME}getId(){return en.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Ue){this.activeAccount=Ue}initialize(){var Ue=this;return(0,i.c)(function*(){try{if(typeof window<"u"){const we=yield g.create();try{we.getHostCapabilities()?.queryAccount&&(Ue.activeAccount=yield we.getActiveAccount())}catch{Ue.activeAccount=void 0}Ue.bridgeProxy=we,Ue.available=void 0!==we}else Ue.available=!1}catch{Ue.available=!1}finally{return Ue.available}})()}}return en.MODULE_NAME="",en.ID="TeamsAppOperatingContext",en})(),p=(()=>{class en extends c{getModuleName(){return en.MODULE_NAME}getId(){return en.ID}initialize(){var Ue=this;return(0,i.c)(function*(){return Ue.available=typeof window<"u",Ue.available})()}}return en.MODULE_NAME="",en.ID="StandardOperatingContext",en})();function y(){return(y=(0,i.c)(function*(en){const dt=new p(en);return yield dt.initialize(),(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(dt)})).apply(this,arguments)}function m(en){return h.apply(this,arguments)}function h(){return(h=(0,i.c)(function*(en){const dt=new p(en),Ue=new b(en),we=[dt.initialize(),Ue.initialize()];return yield Promise.all(we),Ue.isAvailable()&&Ue.getConfig().auth.supportsNestedAppAuth?(yield o.e(1620).then(o.bind(o,61620))).NestedAppAuthController.createController(Ue):dt.isAvailable()?(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(dt):null})).apply(this,arguments)}var C=o(65304);class v{static createPublicClientApplication(dt){return(0,i.c)(function*(){const Ue=yield function S(en){return y.apply(this,arguments)}(dt);return new v(dt,Ue)})()}constructor(dt,Ue){if(Ue)this.controller=Ue;else{const we=new p(dt);this.controller=new C.StandardController(we)}}initialize(){var dt=this;return(0,i.c)(function*(){return dt.controller.initialize()})()}acquireTokenPopup(dt){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(dt)})()}acquireTokenRedirect(dt){return this.controller.acquireTokenRedirect(dt)}acquireTokenSilent(dt){return this.controller.acquireTokenSilent(dt)}acquireTokenByCode(dt){return this.controller.acquireTokenByCode(dt)}addEventCallback(dt){return this.controller.addEventCallback(dt)}removeEventCallback(dt){return this.controller.removeEventCallback(dt)}addPerformanceCallback(dt){return this.controller.addPerformanceCallback(dt)}removePerformanceCallback(dt){return this.controller.removePerformanceCallback(dt)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(dt){return this.controller.getAccount(dt)}getAccountByHomeId(dt){return this.controller.getAccountByHomeId(dt)}getAccountByLocalId(dt){return this.controller.getAccountByLocalId(dt)}getAccountByUsername(dt){return this.controller.getAccountByUsername(dt)}getAllAccounts(dt){return this.controller.getAllAccounts(dt)}handleRedirectPromise(dt){return this.controller.handleRedirectPromise(dt)}loginPopup(dt){return this.controller.loginPopup(dt)}loginRedirect(dt){return this.controller.loginRedirect(dt)}logout(dt){return this.controller.logout(dt)}logoutRedirect(dt){return this.controller.logoutRedirect(dt)}logoutPopup(dt){return this.controller.logoutPopup(dt)}ssoSilent(dt){return this.controller.ssoSilent(dt)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(dt){this.controller.setLogger(dt)}setActiveAccount(dt){this.controller.setActiveAccount(dt)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(dt,Ue){return this.controller.initializeWrapperLibrary(dt,Ue)}setNavigationClient(dt){this.controller.setNavigationClient(dt)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(dt,Ue){var we=this;return(0,i.c)(function*(){return we.controller.hydrateCache(dt,Ue)})()}clearCache(dt){return this.controller.clearCache(dt)}}var M=o(65172),E=o(69812),A=o(7184),T=o(85968);class R{constructor(dt){this.initialized=!1,this.operatingContext=dt,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=dt.getConfig(),this.logger=dt.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new A.A(this.logger,this.performanceClient):M.K,this.browserStorage=this.isBrowserEnvironment?new E.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,E.S)(this.config.auth.clientId,this.logger),this.eventHandler=new T.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(dt){return null}getAccountByHomeId(dt){return null}getAccountByLocalId(dt){return null}getAccountByUsername(dt){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(dt,Ue,we){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(dt,Ue){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(dt){return this.eventHandler.addEventCallback(dt)}removeEventCallback(dt){this.eventHandler.removeEventCallback(dt)}addPerformanceCallback(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}enableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}disableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}handleRedirectPromise(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(dt){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getTokenCache(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getLogger(){return this.logger}setLogger(dt){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(dt){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(dt,Ue){this.browserStorage.setWrapperMetadata(dt,Ue)}setNavigationClient(dt){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getConfiguration(){return this.config}isBrowserEnv(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}getBrowserCrypto(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getPerformanceClient(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getRedirectResponse(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}preflightBrowserEnvironmentCheck(dt,Ue){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(dt){var Ue=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ue.initialized),(0,n.blockNonBrowserEnvironment)(Ue.isBrowserEnvironment)})()}hydrateCache(dt,Ue){var we=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(we.initialized),(0,n.blockNonBrowserEnvironment)(we.isBrowserEnvironment)})()}}let N=(()=>{class en extends c{getModuleName(){return en.MODULE_NAME}getId(){return en.ID}initialize(){return(0,i.c)(function*(){return!0})()}}return en.MODULE_NAME="",en.ID="UnknownOperatingContext",en})();class P{static createPublicClientApplication(dt){return(0,i.c)(function*(){const Ue=yield m(dt);let we;return we=null!==Ue?new P(dt,Ue):new P(dt),we})()}constructor(dt,Ue){if(this.configuration=dt,Ue)this.controller=Ue;else{const we=new N(dt);this.controller=new R(we)}}initialize(){var dt=this;return(0,i.c)(function*(){if(dt.controller instanceof R){const Ue=yield m(dt.configuration);return null!==Ue&&(dt.controller=Ue),dt.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(dt){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(dt)})()}acquireTokenRedirect(dt){return this.controller.acquireTokenRedirect(dt)}acquireTokenSilent(dt){return this.controller.acquireTokenSilent(dt)}acquireTokenByCode(dt){return this.controller.acquireTokenByCode(dt)}addEventCallback(dt){return this.controller.addEventCallback(dt)}removeEventCallback(dt){return this.controller.removeEventCallback(dt)}addPerformanceCallback(dt){return this.controller.addPerformanceCallback(dt)}removePerformanceCallback(dt){return this.controller.removePerformanceCallback(dt)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(dt){return this.controller.getAccount(dt)}getAccountByHomeId(dt){return this.controller.getAccountByHomeId(dt)}getAccountByLocalId(dt){return this.controller.getAccountByLocalId(dt)}getAccountByUsername(dt){return this.controller.getAccountByUsername(dt)}getAllAccounts(dt){return this.controller.getAllAccounts(dt)}handleRedirectPromise(dt){return this.controller.handleRedirectPromise(dt)}loginPopup(dt){return this.controller.loginPopup(dt)}loginRedirect(dt){return this.controller.loginRedirect(dt)}logout(dt){return this.controller.logout(dt)}logoutRedirect(dt){return this.controller.logoutRedirect(dt)}logoutPopup(dt){return this.controller.logoutPopup(dt)}ssoSilent(dt){return this.controller.ssoSilent(dt)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(dt){this.controller.setLogger(dt)}setActiveAccount(dt){this.controller.setActiveAccount(dt)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(dt,Ue){return this.controller.initializeWrapperLibrary(dt,Ue)}setNavigationClient(dt){this.controller.setNavigationClient(dt)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(dt,Ue){var we=this;return(0,i.c)(function*(){return we.controller.hydrateCache(dt,Ue)})()}clearCache(dt){return this.controller.clearCache(dt)}}var L=o(4792),x=o(72592),V=o(85288);const F={initialize:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,x.cf)(V.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,x.cf)(V.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,x.cf)(V.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,x.cf)(V.stubbedPublicClientApplicationCalled))};var ee=o(64952),X=o(61744),ce=o(71720),Q=o(88904),ne=o(28612),Y=o(46392);class H{constructor(dt,Ue){this.logger=new d.Y(Ue&&Ue.loggerOptions||{},a.N,a.W),this.cryptoOps=new A.A(this.logger),this.popTokenGenerator=new Y.w(this.cryptoOps),this.shrParameters=dt}generatePublicKeyThumbprint(){var dt=this;return(0,i.c)(function*(){const{kid:Ue}=yield dt.popTokenGenerator.generateKid(dt.shrParameters);return Ue})()}signRequest(dt,Ue,we){var Pe=this;return(0,i.c)(function*(){return Pe.popTokenGenerator.signPayload(dt,Ue,Pe.shrParameters,we)})()}removeKeys(dt){var Ue=this;return(0,i.c)(function*(){return Ue.cryptoOps.removeTokenBindingKey(dt)})()}}var ae=o(85348),J=o(35128);class K{constructor(dt,Ue,we,Pe,Ge,je,ht){this.authority=Ue,this.libraryName=Pe,this.libraryVersion=Ge,this.applicationTelemetry=je,this.clientId=dt,this.logger=we,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=ht||new Set;for(const He of ae.ol)this.intFields.add(He)}startPerformanceMeasurement(dt,Ue){return{}}getPreQueueTime(dt,Ue){const we=this.preQueueTimeByCorrelationId.get(Ue);if(we){if(we.name===dt)return we.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${dt}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Ue}, unable to add queue measurement`)}calculateQueuedTime(dt,Ue){return dt<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${dt}`),0):Ue<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Ue}`),0):Uethis.endMeasurement({...Pe,...Ge}),discard:()=>this.discardMeasurements(Pe.correlationId),add:Ge=>this.addFields(Ge,Pe.correlationId),increment:Ge=>this.incrementFields(Ge,Pe.correlationId),event:Pe,measurement:new J.W}}endMeasurement(dt){const Ue=this.eventsByCorrelationId.get(dt.correlationId);if(!Ue)return this.logger.trace(`PerformanceClient: Measurement not found for ${dt.eventId}`,dt.correlationId),null;const we=dt.eventId===Ue.eventId;let Pe={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};we?(Pe=this.getQueueInfo(dt.correlationId),this.discardCache(Ue.correlationId)):Ue.incompleteSubMeasurements?.delete(dt.eventId);const Ge=dt.durationMs||this.getDurationMs(dt.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${dt.name}: ${Ge} ms`,dt.correlationId),!we)return Ue[dt.name+"DurationMs"]=Math.floor(Ge),{...Ue};let je={...Ue,...dt},ht=0;return je.incompleteSubMeasurements?.forEach(He=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${He.name} found for ${dt.name}`,je.correlationId),ht++}),je.incompleteSubMeasurements=void 0,je={...je,durationMs:Math.round(Ge),queuedTimeMs:Pe.totalQueueTime,queuedCount:Pe.totalQueueCount,queuedManuallyCompletedCount:Pe.manuallyCompletedCount,status:ae.W8.Completed,incompleteSubsCount:ht},this.truncateIntegralFields(je),this.emitEvents([je],dt.correlationId),je}addFields(dt,Ue){this.logger.trace("PerformanceClient: Updating static fields");const we=this.eventsByCorrelationId.get(Ue);we?this.eventsByCorrelationId.set(Ue,{...we,...dt}):this.logger.trace("PerformanceClient: Event not found for",Ue)}incrementFields(dt,Ue){this.logger.trace("PerformanceClient: Updating counters");const we=this.eventsByCorrelationId.get(Ue);if(we)for(const Pe in dt){if(we.hasOwnProperty(Pe)){if(isNaN(Number(we[Pe])))return}else we[Pe]=0;we[Pe]+=dt[Pe]}else this.logger.trace("PerformanceClient: Event not found for",Ue)}cacheEventByCorrelationId(dt){const Ue=this.eventsByCorrelationId.get(dt.correlationId);Ue?(this.logger.trace(`PerformanceClient: Performance measurement for ${dt.name} added/updated`,dt.correlationId),Ue.incompleteSubMeasurements=Ue.incompleteSubMeasurements||new Map,Ue.incompleteSubMeasurements.set(dt.eventId,{name:dt.name,startTimeMs:dt.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${dt.name} started`,dt.correlationId),this.eventsByCorrelationId.set(dt.correlationId,{...dt}))}getQueueInfo(dt){const Ue=this.queueMeasurements.get(dt);Ue||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${dt}`);let we=0,Pe=0,Ge=0;return Ue?.forEach(je=>{we+=je.queueTime,Pe++,Ge+=je.manuallyCompleted?1:0}),{totalQueueTime:we,totalQueueCount:Pe,manuallyCompletedCount:Ge}}discardMeasurements(dt){this.logger.trace("PerformanceClient: Performance measurements discarded",dt),this.eventsByCorrelationId.delete(dt)}discardCache(dt){this.discardMeasurements(dt),this.logger.trace("PerformanceClient: QueueMeasurements discarded",dt),this.queueMeasurements.delete(dt),this.logger.trace("PerformanceClient: Pre-queue times discarded",dt),this.preQueueTimeByCorrelationId.delete(dt)}addPerformanceCallback(dt){const Ue=this.generateId();return this.callbacks.set(Ue,dt),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Ue}`),Ue}removePerformanceCallback(dt){const Ue=this.callbacks.delete(dt);return this.logger.verbose(Ue?`PerformanceClient: Performance callback ${dt} removed.`:`PerformanceClient: Performance callback ${dt} not removed.`),Ue}emitEvents(dt,Ue){this.logger.verbose("PerformanceClient: Emitting performance events",Ue),this.callbacks.forEach((we,Pe)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${Pe}`,Ue),we.apply(null,[dt])})}truncateIntegralFields(dt){this.intFields.forEach(Ue=>{Ue in dt&&"number"==typeof dt[Ue]&&(dt[Ue]=Math.floor(dt[Ue]))})}getDurationMs(dt){const Ue=Date.now()-dt;return Ue<0?Ue:0}}var W=o(34739),re=o(27880);function G(){let en;try{en=window[e.Ir.SessionStorage];const dt=en?.getItem(e.OG);if(1===Number(dt))return Promise.resolve().then(o.bind(o,18156))}catch{}}function ue(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function ye(en){if(en&&ue())return Math.round(window.performance.now()-en)}class Ie extends K{constructor(dt,Ue){super(dt.auth.clientId,dt.auth.authority||`${W.Mv.DEFAULT_AUTHORITY}`,new d.Y(dt.system?.loggerOptions||{},a.N,a.W),a.N,a.W,dt.telemetry?.application||{appName:"",appVersion:""},Ue)}generateId(){return(0,re.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(dt){G()?.then(Ue=>{const we=this.eventsByCorrelationId.get(dt.event.correlationId),Ge=[];we&&we.eventId===dt.event.eventId&&we?.incompleteSubMeasurements&&we.incompleteSubMeasurements.forEach(je=>{Ge.push({...je})}),Ue.BrowserPerformanceMeasurement.flushMeasurements(dt.event.correlationId,Ge)})}startMeasurement(dt,Ue){const we=this.getPageVisibility(),Pe=super.startMeasurement(dt,Ue),Ge=ue()?window.performance.now():void 0,je=G()?.then(ht=>new ht.BrowserPerformanceMeasurement(dt,Pe.event.correlationId));return je?.then(ht=>ht.startMeasurement()),{...Pe,end:ht=>{const He=Pe.end({...ht,startPageVisibility:we,endPageVisibility:this.getPageVisibility(),durationMs:ye(Ge)});return je?.then(_t=>_t.endMeasurement()),this.deleteIncompleteSubMeasurements(Pe),He},discard:()=>{Pe.discard(),je?.then(ht=>ht.flushMeasurement()),this.deleteIncompleteSubMeasurements(Pe)}}}setPreQueueTime(dt,Ue){if(!ue())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${dt}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${dt} not provided, unable to set telemetry queue time`);const we=this.preQueueTimeByCorrelationId.get(Ue);we&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${we.name} found`,Ue),this.addQueueMeasurement(we.name,Ue,void 0,!0)),this.preQueueTimeByCorrelationId.set(Ue,{name:dt,time:window.performance.now()})}addQueueMeasurement(dt,Ue,we,Pe){if(!ue())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${dt}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${dt} not provided, unable to add queue measurement`);const Ge=super.getPreQueueTime(dt,Ue);if(!Ge)return;const je=window.performance.now(),ht=we||super.calculateQueuedTime(Ge,je);return super.addQueueMeasurement(dt,Ue,ht,Pe)}}var be=o(18156),ie=o(59684),De=o(32336);class ze{constructor(dt){this.headers=dt}getShrNonce(){const dt=this.headers[W.MF.AuthenticationInfo];if(dt){const we=this.parseChallenges(dt);if(we.nextnonce)return we.nextnonce;throw(0,ie.QN)(De.invalidAuthenticationHeader)}const Ue=this.headers[W.MF.WWWAuthenticate];if(Ue){const we=this.parseChallenges(Ue);if(we.nonce)return we.nonce;throw(0,ie.QN)(De.invalidAuthenticationHeader)}throw(0,ie.QN)(De.missingNonceAuthenticationHeader)}parseChallenges(dt){const Ue=dt.indexOf(" "),we=dt.substr(Ue+1).split(","),Pe={};return we.forEach(Ge=>{const[je,ht]=Ge.split("=");Pe[je]=unescape(ht.replace(/['"]+/g,W.Mv.EMPTY_STRING))}),Pe}}var qe=o(98416),nt=o(66936),ft=o(83228),rt=o(67952),mt=o(28876),Wt=o(71408),bt=o(53408),Bt=o(72896),an=o(65072),hn=o(76944),wn=o(7828),An=o(67648),vn=o(32828)},59048:(ve,f,o)=>{"use strict";o.d(f,{I:()=>n});const n={UserInteractionRequired:"USER_INTERACTION_REQUIRED",UserCancel:"USER_CANCEL",NoNetwork:"NO_NETWORK",TransientError:"TRANSIENT_ERROR",PersistentError:"PERSISTENT_ERROR",Disabled:"DISABLED",AccountUnavailable:"ACCOUNT_UNAVAILABLE",NestedAppAuthUnavailable:"NESTED_APP_AUTH_UNAVAILABLE"}},64952:(ve,f,o)=>{"use strict";o.d(f,{m:()=>n});class n{navigateInternal(d,u){return n.defaultNavigateWindow(d,u)}navigateExternal(d,u){return n.defaultNavigateWindow(d,u)}static defaultNavigateWindow(d,u){return u.noHistory?window.location.replace(d):window.location.assign(d),new Promise(a=>{setTimeout(()=>{a(!0)},u.timeout)})}}},69096:(ve,f,o)=>{"use strict";o.d(f,{N:()=>n,W:()=>i});const n="@azure/msal-browser",i="3.10.0"},18156:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{BrowserPerformanceMeasurement:()=>n});class n{constructor(d,u){this.correlationId=u,this.measureName=n.makeMeasureName(d,u),this.startMark=n.makeStartMark(d,u),this.endMark=n.makeEndMark(d,u)}static makeMeasureName(d,u){return`msal.measure.${d}.${u}`}static makeStartMark(d,u){return`msal.start.${d}.${u}`}static makeEndMark(d,u){return`msal.end.${d}.${u}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.measure&&"function"==typeof window.performance.clearMarks&&"function"==typeof window.performance.clearMeasures&&"function"==typeof window.performance.getEntriesByName}static flushMeasurements(d,u){if(n.supportsBrowserPerformance())try{u.forEach(a=>{const e=n.makeMeasureName(a.name,d);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,d)),window.performance.clearMarks(n.makeEndMark(e,d)))})}catch{}}startMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(n.supportsBrowserPerformance())try{const d=window.performance.getEntriesByName(this.measureName,"measure");if(d.length>0){const u=d[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),u}}catch{}return null}}},26956:(ve,f,o)=>{"use strict";o.d(f,{CM:()=>g,Ce:()=>u,Ed:()=>b,Ip:()=>T,Ir:()=>a,Lm:()=>h,OG:()=>N,UZ:()=>l,Yz:()=>S,a:()=>A,eG:()=>m,eQ:()=>M,f6:()=>C,gV:()=>v,ig:()=>i,k9:()=>R,sJ:()=>d,wV:()=>p,wd:()=>E,wv:()=>y,yI:()=>e,zH:()=>c});var n=o(34739);const i={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},d={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},u={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},a={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},c={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},l={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},g={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},b={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var p=function(P){return P.Redirect="redirect",P.Popup="popup",P.Silent="silent",P.None="none",P}(p||{});const S={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},y={scopes:n.ac},m="jwk",h={React:"@azure/msal-react",Angular:"@azure/msal-angular"},C="msal.db",v=1,M=`${C}.keys`,E={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},A=[E.Default,E.Skip,E.RefreshTokenAndNetwork],T="msal.browser.log.level",R="msal.browser.log.pii",N="msal.browser.performance.enabled"},99632:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>u});var n=o(86144),i=o(28876),d=o(71408);function u(a,e){if(!e)return null;try{return n.c.parseRequestState(a,e).libraryState.meta}catch{throw(0,i.mQ)(d.invalidState)}}},84644:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{blockAPICallsBeforeInitialize:()=>C,blockAcquireTokenInPopups:()=>m,blockNonBrowserEnvironment:()=>h,blockRedirectInIframe:()=>y,blockReloadInHiddenIframes:()=>S,clearHash:()=>e,createGuid:()=>M,getCurrentUri:()=>b,getHomepage:()=>p,isInIframe:()=>l,isInPopup:()=>g,preconnect:()=>v,replaceHash:()=>c});var n=o(67648),i=o(4792),d=o(26956),u=o(27880),a=o(32828);function e(E){E.location.hash="","function"==typeof E.history.replaceState&&E.history.replaceState(null,"",`${E.location.origin}${E.location.pathname}${E.location.search}`)}function c(E){const A=E.split("#");A.shift(),window.location.hash=A.length>0?A.join("#"):""}function l(){return window.parent!==window}function g(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${d.ig.POPUP_NAME_PREFIX}.`)}function b(){return window.location.href.split("?")[0].split("#")[0]}function p(){const A=new n._(window.location.href).getUrlComponents();return`${A.Protocol}//${A.HostNameAndPort}/`}function S(){if(n._.hashContainsKnownProperties(window.location.hash)&&l())throw(0,i.Wq)(a.blockIframeReload)}function y(E,A){const T=l();if(E===d.wV.Redirect&&T&&!A)throw(0,i.Wq)(a.redirectInIframe)}function m(){if(g())throw(0,i.Wq)(a.blockNestedPopups)}function h(E){if(!E)throw(0,i.Wq)(a.nonBrowserEnvironment)}function C(E){if(!E)throw(0,i.Wq)(a.uninitializedPublicClientApplication)}function v(E){const A=document.createElement("link");A.rel="preconnect",A.href=new URL(E).origin,A.crossOrigin="anonymous",document.head.appendChild(A),window.setTimeout(()=>{try{document.head.removeChild(A)}catch{}},1e4)}function M(){return(0,u.E5)()}},60928:(ve,f,o)=>{"use strict";function n(u,a){return!!u&&!!a&&u===a.split(".")[1]}function i(u,a){const{oid:e,sub:c,tid:l,name:g,tfp:b,acr:p}=a,S=l||b||p||"";return{tenantId:S,localAccountId:e||c||"",name:g,isHomeTenant:n(S,u)}}function d(u,a,e,c){let l=u;if(a){const{isHomeTenant:g,...b}=a;l={...u,...b}}if(e){const{isHomeTenant:g,...b}=i(u.homeAccountId,e);return l={...l,...b,idTokenClaims:e,idToken:c},l}return l}o.d(f,{EJ:()=>i,Ho:()=>d,Wo:()=>n})},6400:(ve,f,o)=>{"use strict";o.d(f,{UH:()=>a,aw:()=>d});var n=o(28876),i=o(71408);function d(e,c){const l=function u(e){if(!e)throw(0,n.mQ)(i.nullOrEmptyToken);const l=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!l||l.length<4)throw(0,n.mQ)(i.tokenParsingError);return l[2]}(e);try{const g=c(l);return JSON.parse(g)}catch{throw(0,n.mQ)(i.tokenParsingError)}}function a(e,c){if(0===c||Date.now()-3e5>e+c)throw(0,n.mQ)(i.maxAgeTranspired)}},16256:(ve,f,o)=>{"use strict";o.d(f,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(ve,f,o)=>{"use strict";o.d(f,{G:()=>u,k:()=>a});var n=o(28876),i=o(34739),d=o(71408);function u(e,c){if(!e)throw(0,n.mQ)(d.clientInfoEmptyError);try{const l=c(e);return JSON.parse(l)}catch{throw(0,n.mQ)(d.clientInfoDecodingError)}}function a(e){if(!e)throw(0,n.mQ)(d.clientInfoDecodingError);const c=e.split(i.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:c[0],utid:c.length<2?i.Mv.EMPTY_STRING:c[1]}}},79032:(ve,f,o)=>{"use strict";function n(i){return i&&(i.tid||i.tfp||i.acr)||null}o.d(f,{c:()=>n})},74968:(ve,f,o)=>{"use strict";o.d(f,{ET:()=>c,IP:()=>e,UD:()=>g,_8:()=>b,gB:()=>u});var n=o(67648),i=o(34739);const u={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},a={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},e=new Set;function c(p,S){let y;const m=p.canonicalAuthority;if(m){const h=new n._(m).getUrlComponents().HostNameAndPort;y=l(h,p.cloudDiscoveryMetadata?.metadata,i.cv.CONFIG,S)||l(h,a.metadata,i.cv.HARDCODED_VALUES,S)||p.knownAuthorities}return y||[]}function l(p,S,y,m){if(m?.trace(`getAliasesFromMetadata called with source: ${y}`),p&&S){const h=b(S,p);if(h)return m?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${y}, returning aliases`),h.aliases;m?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${y}`)}return null}function g(p){return b(a.metadata,p)}function b(p,S){for(let y=0;y{p.aliases.forEach(S=>{e.add(S)})})},67952:(ve,f,o)=>{"use strict";o.d(f,{C:()=>n});const n={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"}},25988:(ve,f,o)=>{"use strict";o.d(f,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(ve,f,o)=>{"use strict";o.d(f,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(ve,f,o)=>{"use strict";o.d(f,{B:()=>S,K:()=>y});var n=o(1528),i=o(34739),d=o(72584),u=o(95248),a=o(98416),e=o(28876),c=o(60928),l=o(6400),g=o(75205),b=o(74968),p=o(71408);class S{constructor(h,C,v,M){this.clientId=h,this.cryptoImpl=C,this.commonLogger=v.clone(g.N,g.W),this.staticAuthorityOptions=M}getAllAccounts(h){return this.buildTenantProfiles(this.getAccountsFilteredBy(h||{}),h)}getAccountInfoFilteredBy(h){const C=this.getAllAccounts(h);return C.length>1?C.sort(M=>M.idTokenClaims?-1:1)[0]:1===C.length?C[0]:null}getBaseAccountInfo(h){const C=this.getAccountsFilteredBy(h);return C.length>0?C[0].getAccountInfo():null}buildTenantProfiles(h,C){return h.flatMap(v=>this.getAccountInfoForTenantProfiles(v,C))}getAccountInfoForTenantProfiles(h,C){return this.getTenantProfilesFromAccountEntity(h,C?.tenantId,C)}getTenantedAccountInfoByFilter(h,C,v,M){let A,E=null;if(M&&!this.tenantProfileMatchesFilter(v,M))return null;const T=this.getIdToken(h,C,v.tenantId);return T&&(A=(0,l.aw)(T.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(A,M))?null:(E=(0,c.Ho)(h,v,A,T?.secret),E)}getTenantProfilesFromAccountEntity(h,C,v){const M=h.getAccountInfo();let E=M.tenantProfiles||new Map;const A=this.getTokenKeys();if(C){const R=E.get(C);if(!R)return[];E=new Map([[C,R]])}const T=[];return E.forEach(R=>{const N=this.getTenantedAccountInfoByFilter(M,A,R,v);N&&T.push(N)}),T}tenantProfileMatchesFilter(h,C){return!(C.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(h,C.localAccountId)||C.name&&h.name!==C.name||void 0!==C.isHomeTenant&&h.isHomeTenant!==C.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(h,C){return!(C&&(C.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(h,C.localAccountId)||C.loginHint&&!this.matchLoginHintFromTokenClaims(h,C.loginHint)||C.username&&!this.matchUsername(h.preferred_username,C.username)||C.name&&!this.matchName(h,C.name)||C.sid&&!this.matchSid(h,C.sid)))}saveCacheRecord(h,C){var v=this;return(0,n.c)(function*(){if(!h)throw(0,e.mQ)(p.invalidCacheRecord);h.account&&v.setAccount(h.account),h.idToken&&!1!==C?.idToken&&v.setIdTokenCredential(h.idToken),h.accessToken&&!1!==C?.accessToken&&(yield v.saveAccessToken(h.accessToken)),h.refreshToken&&!1!==C?.refreshToken&&v.setRefreshTokenCredential(h.refreshToken),h.appMetadata&&v.setAppMetadata(h.appMetadata)})()}saveAccessToken(h){var C=this;return(0,n.c)(function*(){const v={clientId:h.clientId,credentialType:h.credentialType,environment:h.environment,homeAccountId:h.homeAccountId,realm:h.realm,tokenType:h.tokenType,requestedClaimsHash:h.requestedClaimsHash},M=C.getTokenKeys(),E=u.k.fromString(h.target),A=[];M.accessToken.forEach(T=>{if(!C.accessTokenKeyMatchesFilter(T,v,!1))return;const R=C.getAccessTokenCredential(T);R&&C.credentialMatchesFilter(R,v)&&u.k.fromString(R.target).intersectingScopeSets(E)&&A.push(C.removeAccessToken(T))}),yield Promise.all(A),C.setAccessTokenCredential(h)})()}getAccountsFilteredBy(h){const C=this.getAccountKeys(),v=[];return C.forEach(M=>{if(!this.isAccountKey(M,h.homeAccountId))return;const E=this.getAccount(M,this.commonLogger);if(!E||h.homeAccountId&&!this.matchHomeAccountId(E,h.homeAccountId)||h.username&&!this.matchUsername(E.username,h.username)||h.environment&&!this.matchEnvironment(E,h.environment)||h.realm&&!this.matchRealm(E,h.realm)||h.nativeAccountId&&!this.matchNativeAccountId(E,h.nativeAccountId)||h.authorityType&&!this.matchAuthorityType(E,h.authorityType))return;const A={localAccountId:h?.localAccountId,name:h?.name},T=E.tenantProfiles?.filter(R=>this.tenantProfileMatchesFilter(R,A));T&&0===T.length||v.push(E)}),v}isAccountKey(h,C,v){return!(h.split(i.Mj.CACHE_KEY_SEPARATOR).length<3||C&&!h.toLowerCase().includes(C.toLowerCase())||v&&!h.toLowerCase().includes(v.toLowerCase()))}isCredentialKey(h){if(h.split(i.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const C=h.toLowerCase();if(-1===C.indexOf(i.yu.ID_TOKEN.toLowerCase())&&-1===C.indexOf(i.yu.ACCESS_TOKEN.toLowerCase())&&-1===C.indexOf(i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===C.indexOf(i.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(C.indexOf(i.yu.REFRESH_TOKEN.toLowerCase())>-1){const M=`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${i.wj}${i.Mj.CACHE_KEY_SEPARATOR}`;if(-1===C.indexOf(`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${i.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===C.indexOf(M.toLowerCase()))return!1}else if(-1===C.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(h,C){return!(C.clientId&&!this.matchClientId(h,C.clientId)||C.userAssertionHash&&!this.matchUserAssertionHash(h,C.userAssertionHash)||"string"==typeof C.homeAccountId&&!this.matchHomeAccountId(h,C.homeAccountId)||C.environment&&!this.matchEnvironment(h,C.environment)||C.realm&&!this.matchRealm(h,C.realm)||C.credentialType&&!this.matchCredentialType(h,C.credentialType)||C.familyId&&!this.matchFamilyId(h,C.familyId)||C.target&&!this.matchTarget(h,C.target)||(C.requestedClaimsHash||h.requestedClaimsHash)&&h.requestedClaimsHash!==C.requestedClaimsHash||h.credentialType===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(C.tokenType&&!this.matchTokenType(h,C.tokenType)||C.tokenType===i.me.SSH&&C.keyId&&!this.matchKeyId(h,C.keyId)))}getAppMetadataFilteredBy(h){return this.getAppMetadataFilteredByInternal(h.environment,h.clientId)}getAppMetadataFilteredByInternal(h,C){const v=this.getKeys(),M={};return v.forEach(E=>{if(!this.isAppMetadata(E))return;const A=this.getAppMetadata(E);A&&(h&&!this.matchEnvironment(A,h)||C&&!this.matchClientId(A,C)||(M[E]=A))}),M}getAuthorityMetadataByAlias(h){const C=this.getAuthorityMetadataKeys();let v=null;return C.forEach(M=>{if(!this.isAuthorityMetadata(M)||-1===M.indexOf(this.clientId))return;const E=this.getAuthorityMetadata(M);E&&-1!==E.aliases.indexOf(h)&&(v=E)}),v}removeAllAccounts(){var h=this;return(0,n.c)(function*(){const C=h.getAccountKeys(),v=[];C.forEach(M=>{v.push(h.removeAccount(M))}),yield Promise.all(v)})()}removeAccount(h){var C=this;return(0,n.c)(function*(){const v=C.getAccount(h,C.commonLogger);v&&(yield C.removeAccountContext(v),C.removeItem(h))})()}removeAccountContext(h){var C=this;return(0,n.c)(function*(){const v=C.getTokenKeys(),M=h.generateAccountId(),E=[];v.idToken.forEach(A=>{0===A.indexOf(M)&&C.removeIdToken(A)}),v.accessToken.forEach(A=>{0===A.indexOf(M)&&E.push(C.removeAccessToken(A))}),v.refreshToken.forEach(A=>{0===A.indexOf(M)&&C.removeRefreshToken(A)}),yield Promise.all(E)})()}updateOutdatedCachedAccount(h,C,v){if(C&&C.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const M=this.getAccountKeys().filter(N=>N.startsWith(C.homeAccountId)),E=[];M.forEach(N=>{const P=this.getCachedAccountEntity(N);P&&E.push(P)});const A=E.find(N=>(0,c.Wo)(N.realm,N.homeAccountId))||E[0];A.tenantProfiles=E.map(N=>({tenantId:N.realm,localAccountId:N.localAccountId,name:N.name,isHomeTenant:(0,c.Wo)(N.realm,N.homeAccountId)}));const T=S.toObject(new a.M,{...A}),R=T.generateAccountKey();return M.forEach(N=>{N!==R&&this.removeOutdatedAccount(h)}),this.setAccount(T),v?.verbose("Updated an outdated account entity in the cache"),T}return C}removeAccessToken(h){var C=this;return(0,n.c)(function*(){const v=C.getAccessTokenCredential(h);if(v){if(v.credentialType.toLowerCase()===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&v.tokenType===i.me.POP){const E=v.keyId;if(E)try{yield C.cryptoImpl.removeTokenBindingKey(E)}catch{throw(0,e.mQ)(p.bindingKeyNotRemoved)}}return C.removeItem(h)}})()}removeAppMetadata(){return this.getKeys().forEach(C=>{this.isAppMetadata(C)&&this.removeItem(C)}),!0}readAccountFromCache(h){const C=a.M.generateAccountCacheKey(h);return this.getAccount(C,this.commonLogger)}getIdToken(h,C,v,M,E){this.commonLogger.trace("CacheManager - getIdToken called");const T=this.getIdTokensByFilter({homeAccountId:h.homeAccountId,environment:h.environment,credentialType:i.yu.ID_TOKEN,clientId:this.clientId,realm:v},C),R=T.size;if(R<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(R>1){let N=T;if(!v){const P=new Map;T.forEach((x,V)=>{x.realm===h.tenantId&&P.set(V,x)});const L=P.size;if(L<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),T.values().next().value;if(1===L)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),P.values().next().value;N=P}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),N.forEach((P,L)=>{this.removeIdToken(L)}),M&&E&&M.addFields({multiMatchedID:T.size},E),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),T.values().next().value}getIdTokensByFilter(h,C){const v=C&&C.idToken||this.getTokenKeys().idToken,M=new Map;return v.forEach(E=>{if(!this.idTokenKeyMatchesFilter(E,{clientId:this.clientId,...h}))return;const A=this.getIdTokenCredential(E);A&&this.credentialMatchesFilter(A,h)&&M.set(E,A)}),M}idTokenKeyMatchesFilter(h,C){const v=h.toLowerCase();return!(C.clientId&&-1===v.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===v.indexOf(C.homeAccountId.toLowerCase()))}removeIdToken(h){this.removeItem(h)}removeRefreshToken(h){this.removeItem(h)}getAccessToken(h,C,v,M,E,A){this.commonLogger.trace("CacheManager - getAccessToken called");const T=u.k.createSearchScopes(C.scopes),R=C.authenticationScheme||i.me.BEARER,N=R&&R.toLowerCase()!==i.me.BEARER.toLowerCase()?i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:i.yu.ACCESS_TOKEN,P={homeAccountId:h.homeAccountId,environment:h.environment,credentialType:N,clientId:this.clientId,realm:M||h.tenantId,target:T,tokenType:R,keyId:C.sshKid,requestedClaimsHash:C.requestedClaimsHash},L=v&&v.accessToken||this.getTokenKeys().accessToken,x=[];L.forEach(F=>{if(this.accessTokenKeyMatchesFilter(F,P,!0)){const ee=this.getAccessTokenCredential(F);ee&&this.credentialMatchesFilter(ee,P)&&x.push(ee)}});const V=x.length;return V<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):V>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),x.forEach(F=>{this.removeAccessToken((0,d.AZ)(F))}),E&&A&&E.addFields({multiMatchedAT:x.length},A),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),x[0])}accessTokenKeyMatchesFilter(h,C,v){const M=h.toLowerCase();if(C.clientId&&-1===M.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===M.indexOf(C.homeAccountId.toLowerCase())||C.realm&&-1===M.indexOf(C.realm.toLowerCase())||C.requestedClaimsHash&&-1===M.indexOf(C.requestedClaimsHash.toLowerCase()))return!1;if(C.target){const E=C.target.asArray();for(let A=0;A{if(!this.accessTokenKeyMatchesFilter(M,h,!0))return;const E=this.getAccessTokenCredential(M);E&&this.credentialMatchesFilter(E,h)&&v.push(E)}),v}getRefreshToken(h,C,v,M,E){this.commonLogger.trace("CacheManager - getRefreshToken called");const T={homeAccountId:h.homeAccountId,environment:h.environment,credentialType:i.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:C?i.wj:void 0},R=v&&v.refreshToken||this.getTokenKeys().refreshToken,N=[];R.forEach(L=>{if(this.refreshTokenKeyMatchesFilter(L,T)){const x=this.getRefreshTokenCredential(L);x&&this.credentialMatchesFilter(x,T)&&N.push(x)}});const P=N.length;return P<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(P>1&&M&&E&&M.addFields({multiMatchedRT:P},E),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),N[0])}refreshTokenKeyMatchesFilter(h,C){const v=h.toLowerCase();return!(C.familyId&&-1===v.indexOf(C.familyId.toLowerCase())||!C.familyId&&C.clientId&&-1===v.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===v.indexOf(C.homeAccountId.toLowerCase()))}readAppMetadataFromCache(h){const v=this.getAppMetadataFilteredBy({environment:h,clientId:this.clientId}),M=Object.keys(v).map(A=>v[A]),E=M.length;if(E<1)return null;if(E>1)throw(0,e.mQ)(p.multipleMatchingAppMetadata);return M[0]}isAppMetadataFOCI(h){const C=this.readAppMetadataFromCache(h);return!(!C||C.familyId!==i.wj)}matchHomeAccountId(h,C){return"string"==typeof h.homeAccountId&&C===h.homeAccountId}matchLocalAccountIdFromTokenClaims(h,C){return C===(h.oid||h.sub)}matchLocalAccountIdFromTenantProfile(h,C){return h.localAccountId===C}matchName(h,C){return C.toLowerCase()===h.name?.toLowerCase()}matchUsername(h,C){return!(!h||"string"!=typeof h||C?.toLowerCase()!==h.toLowerCase())}matchUserAssertionHash(h,C){return!(!h.userAssertionHash||C!==h.userAssertionHash)}matchEnvironment(h,C){if(this.staticAuthorityOptions){const M=(0,b.ET)(this.staticAuthorityOptions,this.commonLogger);if(M.includes(C)&&M.includes(h.environment))return!0}const v=this.getAuthorityMetadataByAlias(C);return!!(v&&v.aliases.indexOf(h.environment)>-1)}matchCredentialType(h,C){return h.credentialType&&C.toLowerCase()===h.credentialType.toLowerCase()}matchClientId(h,C){return!(!h.clientId||C!==h.clientId)}matchFamilyId(h,C){return!(!h.familyId||C!==h.familyId)}matchRealm(h,C){return h.realm?.toLowerCase()===C.toLowerCase()}matchNativeAccountId(h,C){return!(!h.nativeAccountId||C!==h.nativeAccountId)}matchLoginHintFromTokenClaims(h,C){return h.login_hint===C||h.preferred_username===C||h.upn===C}matchSid(h,C){return h.sid===C}matchAuthorityType(h,C){return!(!h.authorityType||C.toLowerCase()!==h.authorityType.toLowerCase())}matchTarget(h,C){return!(h.credentialType!==i.yu.ACCESS_TOKEN&&h.credentialType!==i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!h.target)&&u.k.fromString(h.target).containsScopeSet(C)}matchTokenType(h,C){return!(!h.tokenType||h.tokenType!==C)}matchKeyId(h,C){return!(!h.keyId||h.keyId!==C)}isAppMetadata(h){return-1!==h.indexOf(i.cz)}isAuthorityMetadata(h){return-1!==h.indexOf(i.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(h){return`${i.Ni.CACHE_KEY}-${this.clientId}-${h}`}static toObject(h,C){for(const v in C)h[v]=C[v];return h}}class y extends S{setAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getCachedAccountEntity(){throw(0,e.mQ)(p.methodNotImplemented)}setIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}setServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}getServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}setAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadataKeys(){throw(0,e.mQ)(p.methodNotImplemented)}setThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}getThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}removeItem(){throw(0,e.mQ)(p.methodNotImplemented)}containsKey(){throw(0,e.mQ)(p.methodNotImplemented)}getKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getAccountKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getTokenKeys(){throw(0,e.mQ)(p.methodNotImplemented)}clear(){return(0,n.c)(function*(){throw(0,e.mQ)(p.methodNotImplemented)})()}updateCredentialCacheKey(){throw(0,e.mQ)(p.methodNotImplemented)}removeOutdatedAccount(){throw(0,e.mQ)(p.methodNotImplemented)}}},98416:(ve,f,o)=>{"use strict";o.d(f,{M:()=>g});var n=o(34739),i=o(22045),d=o(60928),u=o(28876),a=o(25988),e=o(79032),c=o(65072),l=o(71408);class g{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return g.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map(p=>[p.tenantId,p]))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(p){const S=p.homeAccountId.split(".")[1];return[p.homeAccountId,p.environment||"",S||p.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(p,S,y){const m=new g;let h;m.authorityType=S.authorityType===a.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:S.protocolMode===c.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,p.clientInfo&&y&&(h=(0,i.G)(p.clientInfo,y)),m.clientInfo=p.clientInfo,m.homeAccountId=p.homeAccountId,m.nativeAccountId=p.nativeAccountId;const C=p.environment||S&&S.getPreferredCache();if(!C)throw(0,u.mQ)(l.invalidCacheEnvironment);if(m.environment=C,m.realm=h?.utid||(0,e.c)(p.idTokenClaims)||"",m.localAccountId=h?.uid||p.idTokenClaims.oid||p.idTokenClaims.sub||"",m.username=p.idTokenClaims.preferred_username||p.idTokenClaims.upn||(p.idTokenClaims.emails?p.idTokenClaims.emails[0]:null)||"",m.name=p.idTokenClaims.name,m.cloudGraphHostName=p.cloudGraphHostName,m.msGraphHost=p.msGraphHost,p.tenantProfiles)m.tenantProfiles=p.tenantProfiles;else{const E=[];if(p.idTokenClaims){const A=(0,d.EJ)(p.homeAccountId,p.idTokenClaims);E.push(A)}m.tenantProfiles=E}return m}static createFromAccountInfo(p,S,y){const m=new g;return m.authorityType=p.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,m.homeAccountId=p.homeAccountId,m.localAccountId=p.localAccountId,m.nativeAccountId=p.nativeAccountId,m.realm=p.tenantId,m.environment=p.environment,m.username=p.username,m.name=p.name,m.cloudGraphHostName=S,m.msGraphHost=y,m.tenantProfiles=Array.from(p.tenantProfiles?.values()||[]),m}static generateHomeAccountId(p,S,y,m,h){if(S!==a.O.Adfs&&S!==a.O.Dsts){if(p)try{const C=(0,i.G)(p,m.base64Decode);if(C.uid&&C.utid)return`${C.uid}.${C.utid}`}catch{}y.warning("No client info in response")}return h?.sub||""}static isAccountEntity(p){return!!p&&p.hasOwnProperty("homeAccountId")&&p.hasOwnProperty("environment")&&p.hasOwnProperty("realm")&&p.hasOwnProperty("localAccountId")&&p.hasOwnProperty("username")&&p.hasOwnProperty("authorityType")}static accountInfoIsEqual(p,S,y){if(!p||!S)return!1;let m=!0;if(y){const h=p.idTokenClaims||{},C=S.idTokenClaims||{};m=h.iat===C.iat&&h.nonce===C.nonce}return p.homeAccountId===S.homeAccountId&&p.localAccountId===S.localAccountId&&p.username===S.username&&p.tenantId===S.tenantId&&p.environment===S.environment&&p.nativeAccountId===S.nativeAccountId&&m}}},9488:(ve,f,o)=>{"use strict";o.d(f,{O:()=>n});class n{constructor(d,u,a,e,c){this.account=d||null,this.idToken=u||null,this.accessToken=a||null,this.refreshToken=e||null,this.appMetadata=c||null}}},72584:(ve,f,o)=>{"use strict";o.d(f,{AZ:()=>e,LS:()=>S,MJ:()=>l,S:()=>T,U5:()=>y,Ul:()=>p,YF:()=>c,_c:()=>g,aA:()=>N,cb:()=>x,gv:()=>P,mk:()=>V,q6:()=>R,s7:()=>A,sH:()=>L,sX:()=>E});var n=o(6400),i=o(28876),d=o(34739),u=o(50160),a=o(71408);function e(F){return[m(F),h(F),C(F),v(F),M(F)].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function c(F,ee,X,ce,Q){return{credentialType:d.yu.ID_TOKEN,homeAccountId:F,environment:ee,clientId:ce,secret:X,realm:Q}}function l(F,ee,X,ce,Q,ne,Y,H,ae,J,K,W,re,G,ue){const ye={homeAccountId:F,credentialType:d.yu.ACCESS_TOKEN,secret:X,cachedAt:(0,u.GO)().toString(),expiresOn:Y.toString(),extendedExpiresOn:H.toString(),environment:ee,clientId:ce,realm:Q,target:ne,tokenType:K||d.me.BEARER};if(W&&(ye.userAssertionHash=W),J&&(ye.refreshOn=J.toString()),G&&(ye.requestedClaims=G,ye.requestedClaimsHash=ue),ye.tokenType?.toLowerCase()!==d.me.BEARER.toLowerCase())switch(ye.credentialType=d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,ye.tokenType){case d.me.POP:const Ie=(0,n.aw)(X,ae);if(!Ie?.cnf?.kid)throw(0,i.mQ)(a.tokenClaimsCnfRequiredForSignedJwt);ye.keyId=Ie.cnf.kid;break;case d.me.SSH:ye.keyId=re}return ye}function g(F,ee,X,ce,Q,ne,Y){const H={credentialType:d.yu.REFRESH_TOKEN,homeAccountId:F,environment:ee,clientId:ce,secret:X};return ne&&(H.userAssertionHash=ne),Q&&(H.familyId=Q),Y&&(H.expiresOn=Y.toString()),H}function b(F){return F.hasOwnProperty("homeAccountId")&&F.hasOwnProperty("environment")&&F.hasOwnProperty("credentialType")&&F.hasOwnProperty("clientId")&&F.hasOwnProperty("secret")}function p(F){return!!F&&b(F)&&F.hasOwnProperty("realm")&&F.hasOwnProperty("target")&&(F.credentialType===d.yu.ACCESS_TOKEN||F.credentialType===d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function S(F){return!!F&&b(F)&&F.hasOwnProperty("realm")&&F.credentialType===d.yu.ID_TOKEN}function y(F){return!!F&&b(F)&&F.credentialType===d.yu.REFRESH_TOKEN}function m(F){return[F.homeAccountId,F.environment].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function h(F){return[F.credentialType,F.credentialType===d.yu.REFRESH_TOKEN&&F.familyId||F.clientId,F.realm||""].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function C(F){return(F.target||"").toLowerCase()}function v(F){return(F.requestedClaimsHash||"").toLowerCase()}function M(F){return F.tokenType&&F.tokenType.toLowerCase()!==d.me.BEARER.toLowerCase()?F.tokenType.toLowerCase():""}function E(F,ee){const X=0===F.indexOf(d.ic.CACHE_KEY);let ce=!0;return ee&&(ce=ee.hasOwnProperty("failedRequests")&&ee.hasOwnProperty("errors")&&ee.hasOwnProperty("cacheHits")),X&&ce}function A(F,ee){let X=!1;F&&(X=0===F.indexOf(d.gr.THROTTLING_PREFIX));let ce=!0;return ee&&(ce=ee.hasOwnProperty("throttleTime")),X&&ce}function T({environment:F,clientId:ee}){return[d.cz,F,ee].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function R(F,ee){return!!ee&&0===F.indexOf(d.cz)&&ee.hasOwnProperty("clientId")&&ee.hasOwnProperty("environment")}function N(F,ee){return!!ee&&0===F.indexOf(d.Ni.CACHE_KEY)&&ee.hasOwnProperty("aliases")&&ee.hasOwnProperty("preferred_cache")&&ee.hasOwnProperty("preferred_network")&&ee.hasOwnProperty("canonical_authority")&&ee.hasOwnProperty("authorization_endpoint")&&ee.hasOwnProperty("token_endpoint")&&ee.hasOwnProperty("issuer")&&ee.hasOwnProperty("aliasesFromNetwork")&&ee.hasOwnProperty("endpointsFromNetwork")&&ee.hasOwnProperty("expiresAt")&&ee.hasOwnProperty("jwks_uri")}function P(){return(0,u.GO)()+d.Ni.REFRESH_TIME_SECONDS}function L(F,ee,X){F.authorization_endpoint=ee.authorization_endpoint,F.token_endpoint=ee.token_endpoint,F.end_session_endpoint=ee.end_session_endpoint,F.issuer=ee.issuer,F.endpointsFromNetwork=X,F.jwks_uri=ee.jwks_uri}function x(F,ee,X){F.aliases=ee.aliases,F.preferred_cache=ee.preferred_cache,F.preferred_network=ee.preferred_network,F.aliasesFromNetwork=X}function V(F){return F.expiresAt<=(0,u.GO)()}},80660:(ve,f,o)=>{"use strict";o.d(f,{cJ:()=>A,k5:()=>S,qW:()=>R});var n=o(1528),i=o(65172),d=o(73364),u=o(34739),a=o(75205),e=o(67952),c=o(6536),l=o(65072),g=o(28876),b=o(71408);const S={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},y={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:d.G.Info,correlationId:u.Mv.EMPTY_STRING},m={claimsBasedCachingEnabled:!1},h={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(b.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(b.methodNotImplemented)})()},C={sku:u.Mv.SKU,version:a.W,cpu:u.Mv.EMPTY_STRING,os:u.Mv.EMPTY_STRING},v={clientSecret:u.Mv.EMPTY_STRING,clientAssertion:void 0},M={azureCloudInstance:e.C.None,tenant:`${u.Mv.DEFAULT_COMMON_TENANT}`},E={application:{appName:"",appVersion:""}};function A({authOptions:N,systemOptions:P,loggerOptions:L,cacheOptions:x,storageInterface:V,networkInterface:F,cryptoInterface:ee,clientCredentials:X,libraryInfo:ce,telemetry:Q,serverTelemetryManager:ne,persistencePlugin:Y,serializableCache:H}){const ae={...y,...L};return{authOptions:T(N),systemOptions:{...S,...P},loggerOptions:ae,cacheOptions:{...m,...x},storageInterface:V||new c.K(N.clientId,i.K,new d.Y(ae)),networkInterface:F||h,cryptoInterface:ee||i.K,clientCredentials:X||v,libraryInfo:{...C,...ce},telemetry:{...E,...Q},serverTelemetryManager:ne||null,persistencePlugin:Y||null,serializableCache:H||null}}function T(N){return{clientCapabilities:[],azureCloudOptions:M,skipAuthorityMetadataCache:!1,...N}}function R(N){return N.authOptions.authority.options.protocolMode===l.g.OIDC}},91076:(ve,f,o)=>{"use strict";o.d(f,{Bz:()=>c,CS:()=>H,E$:()=>v,Gs:()=>ye,Ku:()=>u,MZ:()=>A,N2:()=>nt,O0:()=>Q,Ok:()=>rt,S1:()=>S,SS:()=>De,U3:()=>d,UJ:()=>R,WG:()=>T,WM:()=>ft,YR:()=>J,Yc:()=>ze,Yr:()=>x,_E:()=>ce,_k:()=>n,aw:()=>Y,cD:()=>a,cf:()=>G,cx:()=>V,e6:()=>L,e8:()=>e,eU:()=>P,eo:()=>ae,gL:()=>W,gt:()=>N,iK:()=>K,k1:()=>ue,kB:()=>i,kT:()=>re,n:()=>C,op:()=>ne,qA:()=>X,sp:()=>qe,sx:()=>ee,uQ:()=>F,y2:()=>h});const n="client_id",i="redirect_uri",d="response_type",u="response_mode",a="grant_type",e="claims",c="scope",S="refresh_token",h="state",C="nonce",v="prompt",A="code",T="code_challenge",R="code_challenge_method",N="code_verifier",P="client-request-id",L="x-client-SKU",x="x-client-VER",V="x-client-OS",F="x-client-CPU",ee="x-client-current-telemetry",X="x-client-last-telemetry",ce="x-ms-lib-capability",Q="x-app-name",ne="x-app-ver",Y="post_logout_redirect_uri",H="id_token_hint",ae="device_code",J="client_secret",K="client_assertion",W="client_assertion_type",re="token_type",G="req_cnf",ue="assertion",ye="requested_token_use",De="return_spa_code",ze="nativebroker",qe="logout_hint",nt="sid",ft="login_hint",rt="domain_hint"},65172:(ve,f,o)=>{"use strict";o.d(f,{K:()=>u});var n=o(1528),i=o(28876),d=o(71408);const u={createNewGuid:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Decode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Encode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})()}},46392:(ve,f,o)=>{"use strict";o.d(f,{w:()=>c});var n=o(1528),i=o(50160),d=o(67648),u=o(85348),a=o(14035);class c{constructor(g,b){this.cryptoUtils=g,this.performanceClient=b}generateCnf(g,b){var p=this;return(0,n.c)(function*(){p.performanceClient?.addQueueMeasurement(u.Xv.PopTokenGenerateCnf,g.correlationId);const S=yield(0,a.C)(p.generateKid.bind(p),u.Xv.PopTokenGenerateCnf,b,p.performanceClient,g.correlationId)(g),y=p.cryptoUtils.base64Encode(JSON.stringify(S));return{kid:S.kid,reqCnfString:y,reqCnfHash:yield p.cryptoUtils.hashString(y)}})()}generateKid(g){var b=this;return(0,n.c)(function*(){return b.performanceClient?.addQueueMeasurement(u.Xv.PopTokenGenerateKid,g.correlationId),{kid:yield b.cryptoUtils.getPublicKeyThumbprint(g),xms_ksl:"sw"}})()}signPopToken(g,b,p){var S=this;return(0,n.c)(function*(){return S.signPayload(g,b,p)})()}signPayload(g,b,p,S){var y=this;return(0,n.c)(function*(){const{resourceRequestMethod:m,resourceRequestUri:h,shrClaims:C,shrNonce:v,shrOptions:M}=p,A=(h?new d._(h):void 0)?.getUrlComponents();return y.cryptoUtils.signJwt({at:g,ts:(0,i.GO)(),m:m?.toUpperCase(),u:A?.HostNameAndPort,nonce:v||y.cryptoUtils.createNewGuid(),p:A?.AbsolutePath,q:A?.QueryString?[[],A.QueryString]:void 0,client_claims:C||void 0,...S},b,M,p.correlationId)})()}}},66936:(ve,f,o)=>{"use strict";o.d(f,{GM:()=>u,Ub:()=>e,WM:()=>a});var n=o(34739),i=o(83228);const d={[i.unexpectedError]:"Unexpected error in authentication.",[i.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},u={unexpectedError:{code:i.unexpectedError,desc:d[i.unexpectedError]},postRequestFailed:{code:i.postRequestFailed,desc:d[i.postRequestFailed]}};class a extends Error{constructor(l,g,b){super(g?`${l}: ${g}`:l),Object.setPrototypeOf(this,a.prototype),this.errorCode=l||n.Mv.EMPTY_STRING,this.errorMessage=g||n.Mv.EMPTY_STRING,this.subError=b||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(l){this.correlationId=l}}function e(c,l){return new a(c,l?`${d[c]} ${l}`:d[c])}},83228:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{postRequestFailed:()=>i,unexpectedError:()=>n});const n="unexpected_error",i="post_request_failed"},28876:(ve,f,o)=>{"use strict";o.d(f,{m6:()=>u,mQ:()=>e,oJ:()=>a});var n=o(66936),i=o(71408);const d={[i.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[i.clientInfoEmptyError]:"The client info was empty",[i.tokenParsingError]:"Token cannot be parsed",[i.nullOrEmptyToken]:"The token is null or empty",[i.endpointResolutionError]:"Endpoints cannot be resolved",[i.networkError]:"Network request failed",[i.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[i.hashNotDeserialized]:"The hash parameters could not be deserialized",[i.invalidState]:"State was not the expected format",[i.stateMismatch]:"State mismatch error",[i.stateNotFound]:"State not found",[i.nonceMismatch]:"Nonce mismatch error",[i.authTimeNotFound]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[i.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[i.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[i.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[i.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[i.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[i.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[i.cannotAppendScopeSet]:"Cannot append ScopeSet",[i.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[i.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[i.deviceCodeExpired]:"Device code is expired.",[i.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[i.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[i.invalidCacheRecord]:"Cache record object was null or undefined.",[i.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[i.noAccountFound]:"No account found in cache for given key.",[i.noCryptoObject]:"No crypto object detected.",[i.unexpectedCredentialType]:"Unexpected credential type.",[i.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[i.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[i.tokenRefreshRequired]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[i.userTimeoutReached]:"User defined timeout for device code polling reached",[i.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[i.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[i.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[i.endSessionEndpointNotSupported]:"The provided authority does not support logout",[i.keyIdMissing]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.userCanceled]:"User cancelled the flow.",[i.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[i.methodNotImplemented]:"This method has not been implemented",[i.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},u={clientInfoDecodingError:{code:i.clientInfoDecodingError,desc:d[i.clientInfoDecodingError]},clientInfoEmptyError:{code:i.clientInfoEmptyError,desc:d[i.clientInfoEmptyError]},tokenParsingError:{code:i.tokenParsingError,desc:d[i.tokenParsingError]},nullOrEmptyToken:{code:i.nullOrEmptyToken,desc:d[i.nullOrEmptyToken]},endpointResolutionError:{code:i.endpointResolutionError,desc:d[i.endpointResolutionError]},networkError:{code:i.networkError,desc:d[i.networkError]},unableToGetOpenidConfigError:{code:i.openIdConfigError,desc:d[i.openIdConfigError]},hashNotDeserialized:{code:i.hashNotDeserialized,desc:d[i.hashNotDeserialized]},invalidStateError:{code:i.invalidState,desc:d[i.invalidState]},stateMismatchError:{code:i.stateMismatch,desc:d[i.stateMismatch]},stateNotFoundError:{code:i.stateNotFound,desc:d[i.stateNotFound]},nonceMismatchError:{code:i.nonceMismatch,desc:d[i.nonceMismatch]},authTimeNotFoundError:{code:i.authTimeNotFound,desc:d[i.authTimeNotFound]},maxAgeTranspired:{code:i.maxAgeTranspired,desc:d[i.maxAgeTranspired]},multipleMatchingTokens:{code:i.multipleMatchingTokens,desc:d[i.multipleMatchingTokens]},multipleMatchingAccounts:{code:i.multipleMatchingAccounts,desc:d[i.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:i.multipleMatchingAppMetadata,desc:d[i.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:i.requestCannotBeMade,desc:d[i.requestCannotBeMade]},removeEmptyScopeError:{code:i.cannotRemoveEmptyScope,desc:d[i.cannotRemoveEmptyScope]},appendScopeSetError:{code:i.cannotAppendScopeSet,desc:d[i.cannotAppendScopeSet]},emptyInputScopeSetError:{code:i.emptyInputScopeSet,desc:d[i.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:i.deviceCodePollingCancelled,desc:d[i.deviceCodePollingCancelled]},DeviceCodeExpired:{code:i.deviceCodeExpired,desc:d[i.deviceCodeExpired]},DeviceCodeUnknownError:{code:i.deviceCodeUnknownError,desc:d[i.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:i.noAccountInSilentRequest,desc:d[i.noAccountInSilentRequest]},invalidCacheRecord:{code:i.invalidCacheRecord,desc:d[i.invalidCacheRecord]},invalidCacheEnvironment:{code:i.invalidCacheEnvironment,desc:d[i.invalidCacheEnvironment]},noAccountFound:{code:i.noAccountFound,desc:d[i.noAccountFound]},noCryptoObj:{code:i.noCryptoObject,desc:d[i.noCryptoObject]},unexpectedCredentialType:{code:i.unexpectedCredentialType,desc:d[i.unexpectedCredentialType]},invalidAssertion:{code:i.invalidAssertion,desc:d[i.invalidAssertion]},invalidClientCredential:{code:i.invalidClientCredential,desc:d[i.invalidClientCredential]},tokenRefreshRequired:{code:i.tokenRefreshRequired,desc:d[i.tokenRefreshRequired]},userTimeoutReached:{code:i.userTimeoutReached,desc:d[i.userTimeoutReached]},tokenClaimsRequired:{code:i.tokenClaimsCnfRequiredForSignedJwt,desc:d[i.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:i.authorizationCodeMissingFromServerResponse,desc:d[i.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:i.bindingKeyNotRemoved,desc:d[i.bindingKeyNotRemoved]},logoutNotSupported:{code:i.endSessionEndpointNotSupported,desc:d[i.endSessionEndpointNotSupported]},keyIdMissing:{code:i.keyIdMissing,desc:d[i.keyIdMissing]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:d[i.noNetworkConnectivity]},userCanceledError:{code:i.userCanceled,desc:d[i.userCanceled]},missingTenantIdError:{code:i.missingTenantIdError,desc:d[i.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:i.nestedAppAuthBridgeDisabled,desc:d[i.nestedAppAuthBridgeDisabled]}};class a extends n.WM{constructor(l,g){super(l,g?`${d[l]}: ${g}`:d[l]),this.name="ClientAuthError",Object.setPrototypeOf(this,a.prototype)}}function e(c,l){return new a(c,l)}},71408:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{authTimeNotFound:()=>y,authorizationCodeMissingFromServerResponse:()=>ae,bindingKeyNotRemoved:()=>J,cannotAppendScopeSet:()=>A,cannotRemoveEmptyScope:()=>E,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>i,deviceCodeExpired:()=>N,deviceCodePollingCancelled:()=>R,deviceCodeUnknownError:()=>P,emptyInputScopeSet:()=>T,endSessionEndpointNotSupported:()=>K,endpointResolutionError:()=>a,hashNotDeserialized:()=>l,invalidAssertion:()=>ce,invalidCacheEnvironment:()=>V,invalidCacheRecord:()=>x,invalidClientCredential:()=>Q,invalidState:()=>g,keyIdMissing:()=>W,maxAgeTranspired:()=>m,methodNotImplemented:()=>ye,missingTenantIdError:()=>ue,multipleMatchingAccounts:()=>C,multipleMatchingAppMetadata:()=>v,multipleMatchingTokens:()=>h,nestedAppAuthBridgeDisabled:()=>Ie,networkError:()=>e,noAccountFound:()=>F,noAccountInSilentRequest:()=>L,noCryptoObject:()=>ee,noNetworkConnectivity:()=>re,nonceMismatch:()=>S,nullOrEmptyToken:()=>u,openIdConfigError:()=>c,requestCannotBeMade:()=>M,stateMismatch:()=>b,stateNotFound:()=>p,tokenClaimsCnfRequiredForSignedJwt:()=>H,tokenParsingError:()=>d,tokenRefreshRequired:()=>ne,unexpectedCredentialType:()=>X,userCanceled:()=>G,userTimeoutReached:()=>Y});const n="client_info_decoding_error",i="client_info_empty_error",d="token_parsing_error",u="null_or_empty_token",a="endpoints_resolution_error",e="network_error",c="openid_config_error",l="hash_not_deserialized",g="invalid_state",b="state_mismatch",p="state_not_found",S="nonce_mismatch",y="auth_time_not_found",m="max_age_transpired",h="multiple_matching_tokens",C="multiple_matching_accounts",v="multiple_matching_appMetadata",M="request_cannot_be_made",E="cannot_remove_empty_scope",A="cannot_append_scopeset",T="empty_input_scopeset",R="device_code_polling_cancelled",N="device_code_expired",P="device_code_unknown_error",L="no_account_in_silent_request",x="invalid_cache_record",V="invalid_cache_environment",F="no_account_found",ee="no_crypto_object",X="unexpected_credential_type",ce="invalid_assertion",Q="invalid_client_credential",ne="token_refresh_required",Y="user_timeout_reached",H="token_claims_cnf_required_for_signedjwt",ae="authorization_code_missing_from_server_response",J="binding_key_not_removed",K="end_session_endpoint_not_supported",W="key_id_missing",re="no_network_connectivity",G="user_canceled",ue="missing_tenant_id_error",ye="method_not_implemented",Ie="nested_app_auth_bridge_disabled"},59684:(ve,f,o)=>{"use strict";o.d(f,{OA:()=>u,Ou:()=>a,QN:()=>e});var n=o(66936),i=o(32336);const d={[i.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[i.claimsRequestParsingError]:"Could not parse the given claims request object.",[i.authorityUriInsecure]:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[i.urlParseError]:"URL could not be parsed into appropriate segments.",[i.urlEmptyError]:"URL was empty or null.",[i.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[i.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[i.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[i.tokenRequestEmpty]:"Token request was empty and not found in cache.",[i.logoutRequestEmpty]:"The logout request was null or undefined.",[i.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[i.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[i.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[i.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[i.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[i.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[i.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[i.missingNonceAuthenticationHeader]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[i.invalidAuthenticationHeader]:"Invalid authentication header provided",[i.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[i.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[i.authorityMismatch]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."},u={redirectUriNotSet:{code:i.redirectUriEmpty,desc:d[i.redirectUriEmpty]},claimsRequestParsingError:{code:i.claimsRequestParsingError,desc:d[i.claimsRequestParsingError]},authorityUriInsecure:{code:i.authorityUriInsecure,desc:d[i.authorityUriInsecure]},urlParseError:{code:i.urlParseError,desc:d[i.urlParseError]},urlEmptyError:{code:i.urlEmptyError,desc:d[i.urlEmptyError]},emptyScopesError:{code:i.emptyInputScopesError,desc:d[i.emptyInputScopesError]},invalidPrompt:{code:i.invalidPromptValue,desc:d[i.invalidPromptValue]},invalidClaimsRequest:{code:i.invalidClaims,desc:d[i.invalidClaims]},tokenRequestEmptyError:{code:i.tokenRequestEmpty,desc:d[i.tokenRequestEmpty]},logoutRequestEmptyError:{code:i.logoutRequestEmpty,desc:d[i.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:i.invalidCodeChallengeMethod,desc:d[i.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:i.pkceParamsMissing,desc:d[i.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:i.invalidCloudDiscoveryMetadata,desc:d[i.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:i.invalidAuthorityMetadata,desc:d[i.invalidAuthorityMetadata]},untrustedAuthority:{code:i.untrustedAuthority,desc:d[i.untrustedAuthority]},missingSshJwk:{code:i.missingSshJwk,desc:d[i.missingSshJwk]},missingSshKid:{code:i.missingSshKid,desc:d[i.missingSshKid]},missingNonceAuthenticationHeader:{code:i.missingNonceAuthenticationHeader,desc:d[i.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:i.invalidAuthenticationHeader,desc:d[i.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:i.cannotSetOIDCOptions,desc:d[i.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:i.cannotAllowNativeBroker,desc:d[i.cannotAllowNativeBroker]},authorityMismatch:{code:i.authorityMismatch,desc:d[i.authorityMismatch]}};class a extends n.WM{constructor(l){super(l,d[l]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,a.prototype)}}function e(c){return new a(c)}},32336:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{authorityMismatch:()=>R,authorityUriInsecure:()=>d,cannotAllowNativeBroker:()=>T,cannotSetOIDCOptions:()=>A,claimsRequestParsingError:()=>i,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>E,invalidAuthorityMetadata:()=>m,invalidClaims:()=>l,invalidCloudDiscoveryMetadata:()=>y,invalidCodeChallengeMethod:()=>p,invalidPromptValue:()=>c,logoutRequestEmpty:()=>b,missingNonceAuthenticationHeader:()=>M,missingSshJwk:()=>C,missingSshKid:()=>v,pkceParamsMissing:()=>S,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>g,untrustedAuthority:()=>h,urlEmptyError:()=>a,urlParseError:()=>u});const n="redirect_uri_empty",i="claims_request_parsing_error",d="authority_uri_insecure",u="url_parse_error",a="empty_url_error",e="empty_input_scopes_error",c="invalid_prompt_value",l="invalid_claims",g="token_request_empty",b="logout_request_empty",p="invalid_code_challenge_method",S="pkce_params_missing",y="invalid_cloud_discovery_metadata",m="invalid_authority_metadata",h="untrusted_authority",C="missing_ssh_jwk",v="missing_ssh_kid",M="missing_nonce_authentication_header",E="invalid_authentication_header",A="cannot_set_OIDCOptions",T="cannot_allow_native_broker",R="authority_mismatch"},53408:(ve,f,o)=>{"use strict";o.d(f,{A6:()=>b,aq:()=>g,gx:()=>c,uw:()=>l});var n=o(34739),i=o(66936),d=o(72896);const u=[d.interactionRequired,d.consentRequired,d.loginRequired,d.badToken],a=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[d.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[d.nativeAccountUnavailable]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[d.refreshTokenExpired]:"Refresh token has expired.",[d.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},c={noTokensFoundError:{code:d.noTokensFound,desc:e[d.noTokensFound]},native_account_unavailable:{code:d.nativeAccountUnavailable,desc:e[d.nativeAccountUnavailable]},bad_token:{code:d.badToken,desc:e[d.badToken]}};class l extends i.WM{constructor(S,y,m,h,C,v,M){super(S,y,m),Object.setPrototypeOf(this,l.prototype),this.timestamp=h||n.Mv.EMPTY_STRING,this.traceId=C||n.Mv.EMPTY_STRING,this.correlationId=v||n.Mv.EMPTY_STRING,this.claims=M||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function g(p,S,y){const m=!!p&&u.indexOf(p)>-1,h=!!y&&a.indexOf(y)>-1,C=!!S&&u.some(v=>S.indexOf(v)>-1);return m||C||h}function b(p){return new l(p,e[p])}},72896:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{badToken:()=>c,consentRequired:()=>a,interactionRequired:()=>u,loginRequired:()=>e,nativeAccountUnavailable:()=>i,noTokensFound:()=>n,refreshTokenExpired:()=>d});const n="no_tokens_found",i="native_account_unavailable",d="refresh_token_expired",u="interaction_required",a="consent_required",e="login_required",c="bad_token"},76944:(ve,f,o)=>{"use strict";o.d(f,{s:()=>i});var n=o(66936);class i extends n.WM{constructor(u,a,e){super(u,a,e),this.name="ServerError",Object.setPrototypeOf(this,i.prototype)}}},73364:(ve,f,o)=>{"use strict";o.d(f,{G:()=>i,Y:()=>d});var n=o(34739),i=function(u){return u[u.Error=0]="Error",u[u.Warning=1]="Warning",u[u.Info=2]="Info",u[u.Verbose=3]="Verbose",u[u.Trace=4]="Trace",u}(i||{});class d{constructor(a,e,c){this.level=i.Info;const g=a||d.createDefaultLoggerOptions();this.localCallback=g.loggerCallback||(()=>{}),this.piiLoggingEnabled=g.piiLoggingEnabled||!1,this.level="number"==typeof g.logLevel?g.logLevel:i.Info,this.correlationId=g.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=c||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:i.Info}}clone(a,e,c){return new d({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:c||this.correlationId},a,e)}logMessage(a,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const g=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${i[e.logLevel]} - ${a}`;this.executeCallback(e.logLevel,g,e.containsPii||!1)}executeCallback(a,e,c){this.localCallback&&this.localCallback(a,e,c)}error(a,e){this.logMessage(a,{logLevel:i.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(a,e){this.logMessage(a,{logLevel:i.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(a,e){this.logMessage(a,{logLevel:i.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(a,e){this.logMessage(a,{logLevel:i.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(a,e){this.logMessage(a,{logLevel:i.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(a,e){this.logMessage(a,{logLevel:i.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(a,e){this.logMessage(a,{logLevel:i.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(a,e){this.logMessage(a,{logLevel:i.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(a,e){this.logMessage(a,{logLevel:i.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(a,e){this.logMessage(a,{logLevel:i.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(ve,f,o)=>{"use strict";o.d(f,{N:()=>n,W:()=>i});const n="@azure/msal-common",i="14.7.1"},33363:(ve,f,o)=>{"use strict";o.d(f,{I:()=>c});var n=o(34739),i=o(91076),d=o(95248),u=o(59684),a=o(77768),e=o(32336);class c{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(i.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(i.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(g){this.parameters.set(i.Ku,encodeURIComponent(g||n.oh.QUERY))}addNativeBroker(){this.parameters.set(i.Yc,encodeURIComponent("1"))}addScopes(g,b=!0,p=n.ac){b&&!p.includes("openid")&&!g.includes("openid")&&p.push("openid");const S=b?[...g||[],...p]:g||[],y=new d.k(S);this.parameters.set(i.Bz,encodeURIComponent(y.printScopes()))}addClientId(g){this.parameters.set(i._k,encodeURIComponent(g))}addRedirectUri(g){a.e.validateRedirectUri(g),this.parameters.set(i.kB,encodeURIComponent(g))}addPostLogoutRedirectUri(g){a.e.validateRedirectUri(g),this.parameters.set(i.aw,encodeURIComponent(g))}addIdTokenHint(g){this.parameters.set(i.CS,encodeURIComponent(g))}addDomainHint(g){this.parameters.set(i.Ok,encodeURIComponent(g))}addLoginHint(g){this.parameters.set(i.WM,encodeURIComponent(g))}addCcsUpn(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${g}`))}addCcsOid(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${g.uid}@${g.utid}`))}addSid(g){this.parameters.set(i.N2,encodeURIComponent(g))}addClaims(g,b){const p=this.addClientCapabilitiesToClaims(g,b);a.e.validateClaims(p),this.parameters.set(i.e8,encodeURIComponent(p))}addCorrelationId(g){this.parameters.set(i.eU,encodeURIComponent(g))}addLibraryInfo(g){this.parameters.set(i.e6,g.sku),this.parameters.set(i.Yr,g.version),g.os&&this.parameters.set(i.cx,g.os),g.cpu&&this.parameters.set(i.uQ,g.cpu)}addApplicationTelemetry(g){g?.appName&&this.parameters.set(i.O0,g.appName),g?.appVersion&&this.parameters.set(i.op,g.appVersion)}addPrompt(g){a.e.validatePrompt(g),this.parameters.set(`${i.E$}`,encodeURIComponent(g))}addState(g){g&&this.parameters.set(i.y2,encodeURIComponent(g))}addNonce(g){this.parameters.set(i.n,encodeURIComponent(g))}addCodeChallengeParams(g,b){if(a.e.validateCodeChallengeParams(g,b),!g||!b)throw(0,u.QN)(e.pkceParamsMissing);this.parameters.set(i.WG,encodeURIComponent(g)),this.parameters.set(i.UJ,encodeURIComponent(b))}addAuthorizationCode(g){this.parameters.set(i.MZ,encodeURIComponent(g))}addDeviceCode(g){this.parameters.set(i.eo,encodeURIComponent(g))}addRefreshToken(g){this.parameters.set(i.S1,encodeURIComponent(g))}addCodeVerifier(g){this.parameters.set(i.gt,encodeURIComponent(g))}addClientSecret(g){this.parameters.set(i.YR,encodeURIComponent(g))}addClientAssertion(g){g&&this.parameters.set(i.iK,encodeURIComponent(g))}addClientAssertionType(g){g&&this.parameters.set(i.gL,encodeURIComponent(g))}addOboAssertion(g){this.parameters.set(i.k1,encodeURIComponent(g))}addRequestTokenUse(g){this.parameters.set(i.Gs,encodeURIComponent(g))}addGrantType(g){this.parameters.set(i.cD,encodeURIComponent(g))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(g){const b=a.e.sanitizeEQParams(g,this.parameters);Object.keys(b).forEach(p=>{this.parameters.set(p,g[p])})}addClientCapabilitiesToClaims(g,b){let p;if(g)try{p=JSON.parse(g)}catch{throw(0,u.QN)(e.invalidClaims)}else p={};return b&&b.length>0&&(p.hasOwnProperty(n.ai.ACCESS_TOKEN)||(p[n.ai.ACCESS_TOKEN]={}),p[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:b}),JSON.stringify(p)}addUsername(g){this.parameters.set(n.uU.username,encodeURIComponent(g))}addPassword(g){this.parameters.set(n.uU.password,encodeURIComponent(g))}addPopToken(g){g&&(this.parameters.set(i.kT,n.me.POP),this.parameters.set(i.cf,encodeURIComponent(g)))}addSshJwk(g){g&&(this.parameters.set(i.kT,n.me.SSH),this.parameters.set(i.cf,encodeURIComponent(g)))}addServerTelemetry(g){this.parameters.set(i.sx,g.generateCurrentRequestHeaderValue()),this.parameters.set(i.qA,g.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(i._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(g){this.parameters.set(i.sp,encodeURIComponent(g))}createQueryString(){const g=new Array;return this.parameters.forEach((b,p)=>{g.push(`${p}=${b}`)}),g.join("&")}}},77768:(ve,f,o)=>{"use strict";o.d(f,{e:()=>u});var n=o(59684),i=o(34739),d=o(32336);class u{static validateRedirectUri(e){if(!e)throw(0,n.QN)(d.redirectUriEmpty)}static validatePrompt(e){const c=[];for(const l in i.GI)c.push(i.GI[l]);if(c.indexOf(e)<0)throw(0,n.QN)(d.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(d.invalidClaims)}}static validateCodeChallengeParams(e,c){if(!e||!c)throw(0,n.QN)(d.pkceParamsMissing);this.validateCodeChallengeMethod(c)}static validateCodeChallengeMethod(e){if([i.a2.PLAIN,i.a2.S256].indexOf(e)<0)throw(0,n.QN)(d.invalidCodeChallengeMethod)}static sanitizeEQParams(e,c){return e?(c.forEach((l,g)=>{e[g]&&delete e[g]}),Object.fromEntries(Object.entries(e).filter(l=>""!==l[1]))):{}}}},95248:(ve,f,o)=>{"use strict";o.d(f,{k:()=>c});var n=o(59684),i=o(7828),d=o(28876),u=o(34739),a=o(32336),e=o(71408);class c{constructor(g){const b=g?i.e.trimArrayEntries([...g]):[],p=b?i.e.removeEmptyStringsFromArray(b):[];this.validateInputScopes(p),this.scopes=new Set,p.forEach(S=>this.scopes.add(S))}static fromString(g){const p=(g||u.Mv.EMPTY_STRING).split(" ");return new c(p)}static createSearchScopes(g){const b=new c(g);return b.containsOnlyOIDCScopes()?b.removeScope(u.Mv.OFFLINE_ACCESS_SCOPE):b.removeOIDCScopes(),b}validateInputScopes(g){if(!g||g.length<1)throw(0,n.QN)(a.emptyInputScopesError)}containsScope(g){const b=this.printScopesLowerCase().split(" "),p=new c(b);return!!g&&p.scopes.has(g.toLowerCase())}containsScopeSet(g){return!(!g||g.scopes.size<=0)&&this.scopes.size>=g.scopes.size&&g.asArray().every(b=>this.containsScope(b))}containsOnlyOIDCScopes(){let g=0;return u.sj.forEach(b=>{this.containsScope(b)&&(g+=1)}),this.scopes.size===g}appendScope(g){g&&this.scopes.add(g.trim())}appendScopes(g){try{g.forEach(b=>this.appendScope(b))}catch{throw(0,d.mQ)(e.cannotAppendScopeSet)}}removeScope(g){if(!g)throw(0,d.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(g.trim())}removeOIDCScopes(){u.sj.forEach(g=>{this.scopes.delete(g)})}unionScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);const b=new Set;return g.scopes.forEach(p=>b.add(p.toLowerCase())),this.scopes.forEach(p=>b.add(p.toLowerCase())),b}intersectingScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);g.containsOnlyOIDCScopes()||g.removeOIDCScopes();const b=this.unionScopeSets(g),p=g.getScopeCount(),S=this.getScopeCount();return b.sizeg.push(b)),g}printScopes(){return this.scopes?this.asArray().join(" "):u.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(ve,f,o)=>{"use strict";o.d(f,{W8:()=>i,Xv:()=>n,ol:()=>d});const n={AcquireTokenByCode:"acquireTokenByCode",AcquireTokenByRefreshToken:"acquireTokenByRefreshToken",AcquireTokenSilent:"acquireTokenSilent",AcquireTokenSilentAsync:"acquireTokenSilentAsync",AcquireTokenPopup:"acquireTokenPopup",AcquireTokenRedirect:"acquireTokenRedirect",CryptoOptsGetPublicKeyThumbprint:"cryptoOptsGetPublicKeyThumbprint",CryptoOptsSignJwt:"cryptoOptsSignJwt",SilentCacheClientAcquireToken:"silentCacheClientAcquireToken",SilentIframeClientAcquireToken:"silentIframeClientAcquireToken",SilentRefreshClientAcquireToken:"silentRefreshClientAcquireToken",SsoSilent:"ssoSilent",StandardInteractionClientGetDiscoveredAuthority:"standardInteractionClientGetDiscoveredAuthority",FetchAccountIdWithNativeBroker:"fetchAccountIdWithNativeBroker",NativeInteractionClientAcquireToken:"nativeInteractionClientAcquireToken",BaseClientCreateTokenRequestHeaders:"baseClientCreateTokenRequestHeaders",RefreshTokenClientExecutePostToTokenEndpoint:"refreshTokenClientExecutePostToTokenEndpoint",AuthorizationCodeClientExecutePostToTokenEndpoint:"authorizationCodeClientExecutePostToTokenEndpoint",BrokerHandhshake:"brokerHandshake",AcquireTokenByRefreshTokenInBroker:"acquireTokenByRefreshTokenInBroker",AcquireTokenByBroker:"acquireTokenByBroker",RefreshTokenClientExecuteTokenRequest:"refreshTokenClientExecuteTokenRequest",RefreshTokenClientAcquireToken:"refreshTokenClientAcquireToken",RefreshTokenClientAcquireTokenWithCachedRefreshToken:"refreshTokenClientAcquireTokenWithCachedRefreshToken",RefreshTokenClientAcquireTokenByRefreshToken:"refreshTokenClientAcquireTokenByRefreshToken",RefreshTokenClientCreateTokenRequestBody:"refreshTokenClientCreateTokenRequestBody",AcquireTokenFromCache:"acquireTokenFromCache",SilentFlowClientAcquireCachedToken:"silentFlowClientAcquireCachedToken",SilentFlowClientGenerateResultFromCacheRecord:"silentFlowClientGenerateResultFromCacheRecord",AcquireTokenBySilentIframe:"acquireTokenBySilentIframe",InitializeBaseRequest:"initializeBaseRequest",InitializeSilentRequest:"initializeSilentRequest",InitializeClientApplication:"initializeClientApplication",SilentIframeClientTokenHelper:"silentIframeClientTokenHelper",SilentHandlerInitiateAuthRequest:"silentHandlerInitiateAuthRequest",SilentHandlerMonitorIframeForHash:"silentHandlerMonitorIframeForHash",SilentHandlerLoadFrame:"silentHandlerLoadFrame",SilentHandlerLoadFrameSync:"silentHandlerLoadFrameSync",StandardInteractionClientCreateAuthCodeClient:"standardInteractionClientCreateAuthCodeClient",StandardInteractionClientGetClientConfiguration:"standardInteractionClientGetClientConfiguration",StandardInteractionClientInitializeAuthorizationRequest:"standardInteractionClientInitializeAuthorizationRequest",StandardInteractionClientInitializeAuthorizationCodeRequest:"standardInteractionClientInitializeAuthorizationCodeRequest",GetAuthCodeUrl:"getAuthCodeUrl",HandleCodeResponseFromServer:"handleCodeResponseFromServer",HandleCodeResponse:"handleCodeResponse",UpdateTokenEndpointAuthority:"updateTokenEndpointAuthority",AuthClientAcquireToken:"authClientAcquireToken",AuthClientExecuteTokenRequest:"authClientExecuteTokenRequest",AuthClientCreateTokenRequestBody:"authClientCreateTokenRequestBody",AuthClientCreateQueryString:"authClientCreateQueryString",PopTokenGenerateCnf:"popTokenGenerateCnf",PopTokenGenerateKid:"popTokenGenerateKid",HandleServerTokenResponse:"handleServerTokenResponse",DeserializeResponse:"deserializeResponse",AuthorityFactoryCreateDiscoveredInstance:"authorityFactoryCreateDiscoveredInstance",AuthorityResolveEndpointsAsync:"authorityResolveEndpointsAsync",AuthorityResolveEndpointsFromLocalSources:"authorityResolveEndpointsFromLocalSources",AuthorityGetCloudDiscoveryMetadataFromNetwork:"authorityGetCloudDiscoveryMetadataFromNetwork",AuthorityUpdateCloudDiscoveryMetadata:"authorityUpdateCloudDiscoveryMetadata",AuthorityGetEndpointMetadataFromNetwork:"authorityGetEndpointMetadataFromNetwork",AuthorityUpdateEndpointMetadata:"authorityUpdateEndpointMetadata",AuthorityUpdateMetadataWithRegionalInformation:"authorityUpdateMetadataWithRegionalInformation",RegionDiscoveryDetectRegion:"regionDiscoveryDetectRegion",RegionDiscoveryGetRegionFromIMDS:"regionDiscoveryGetRegionFromIMDS",RegionDiscoveryGetCurrentVersion:"regionDiscoveryGetCurrentVersion",AcquireTokenByCodeAsync:"acquireTokenByCodeAsync",GetEndpointMetadataFromNetwork:"getEndpointMetadataFromNetwork",GetCloudDiscoveryMetadataFromNetworkMeasurement:"getCloudDiscoveryMetadataFromNetworkMeasurement",HandleRedirectPromiseMeasurement:"handleRedirectPromise",HandleNativeRedirectPromiseMeasurement:"handleNativeRedirectPromise",UpdateCloudDiscoveryMetadataMeasurement:"updateCloudDiscoveryMetadataMeasurement",UsernamePasswordClientAcquireToken:"usernamePasswordClientAcquireToken",NativeMessageHandlerHandshake:"nativeMessageHandlerHandshake",NativeGenerateAuthResult:"nativeGenerateAuthResult",RemoveHiddenIframe:"removeHiddenIframe",ClearTokensAndKeysWithClaims:"clearTokensAndKeysWithClaims",CacheManagerGetRefreshToken:"cacheManagerGetRefreshToken",GeneratePkceCodes:"generatePkceCodes",GenerateCodeVerifier:"generateCodeVerifier",GenerateCodeChallengeFromVerifier:"generateCodeChallengeFromVerifier",Sha256Digest:"sha256Digest",GetRandomValues:"getRandomValues"},i={NotStarted:0,InProgress:1,Completed:2},d=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(ve,f,o)=>{"use strict";o.d(f,{W:()=>i,_:()=>d});var n=o(85348);class i{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class d{generateId(){return"callback-id"}startMeasurement(a,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:a,startTimeMs:Date.now(),correlationId:e||""},measurement:new i}}startPerformanceMeasurement(){return new i}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(ve,f,o)=>{"use strict";o.d(f,{_:()=>e});var n=o(59684),i=o(7828),d=o(34739),u=o(33680),a=o(32336);class e{get urlString(){return this._urlString}constructor(l){if(this._urlString=l,!this._urlString)throw(0,n.QN)(a.urlEmptyError);l.includes("#")||(this._urlString=e.canonicalizeUri(l))}static canonicalizeUri(l){if(l){let g=l.toLowerCase();return i.e.endsWith(g,"?")?g=g.slice(0,-1):i.e.endsWith(g,"?/")&&(g=g.slice(0,-2)),i.e.endsWith(g,"/")||(g+="/"),g}return l}validateAsUri(){let l;try{l=this.getUrlComponents()}catch{throw(0,n.QN)(a.urlParseError)}if(!l.HostNameAndPort||!l.PathSegments)throw(0,n.QN)(a.urlParseError);if(!l.Protocol||"https:"!==l.Protocol.toLowerCase())throw(0,n.QN)(a.authorityUriInsecure)}static appendQueryString(l,g){return g?l.indexOf("?")<0?`${l}?${g}`:`${l}&${g}`:l}static removeHashFromUrl(l){return e.canonicalizeUri(l.split("#")[0])}replaceTenantPath(l){const g=this.getUrlComponents(),b=g.PathSegments;return l&&0!==b.length&&(b[0]===d.sN.COMMON||b[0]===d.sN.ORGANIZATIONS)&&(b[0]=l),e.constructAuthorityUriFromObject(g)}getUrlComponents(){const l=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),g=this.urlString.match(l);if(!g)throw(0,n.QN)(a.urlParseError);const b={Protocol:g[1],HostNameAndPort:g[4],AbsolutePath:g[5],QueryString:g[7]};let p=b.AbsolutePath.split("/");return p=p.filter(S=>S&&S.length>0),b.PathSegments=p,b.QueryString&&b.QueryString.endsWith("/")&&(b.QueryString=b.QueryString.substring(0,b.QueryString.length-1)),b}static getDomainFromUrl(l){const g=RegExp("^([^:/?#]+://)?([^/?#]*)"),b=l.match(g);if(!b)throw(0,n.QN)(a.urlParseError);return b[2]}static getAbsoluteUrl(l,g){if(l[0]===d.Mv.FORWARD_SLASH){const p=new e(g).getUrlComponents();return p.Protocol+"//"+p.HostNameAndPort+l}return l}static constructAuthorityUriFromObject(l){return new e(l.Protocol+"//"+l.HostNameAndPort+"/"+l.PathSegments.join("/"))}static hashContainsKnownProperties(l){return!!(0,u.u)(l)}}},34739:(ve,f,o)=>{"use strict";o.d(f,{A9:()=>m,GI:()=>g,Gu:()=>Q,IH:()=>e,Ku:()=>y,MF:()=>a,Mf:()=>ce,Mj:()=>h,Mv:()=>n,Ni:()=>T,Q$:()=>ee,Q3:()=>i,Y$:()=>E,a2:()=>b,ac:()=>d,ai:()=>l,cv:()=>R,cz:()=>M,eE:()=>p,gr:()=>L,ic:()=>N,me:()=>P,oh:()=>S,rF:()=>x,sL:()=>F,sN:()=>c,sj:()=>u,uU:()=>V,wR:()=>X,wj:()=>A,yu:()=>C});const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},i={SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR_RANGE_START:400,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR_RANGE_START:500,SERVER_ERROR_RANGE_END:599},d=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],u=[...d,n.EMAIL_SCOPE],a={CONTENT_TYPE:"Content-Type",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},e={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},c={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},l={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},g={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},b={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},S={...p,FORM_POST:"form_post"},y={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},m={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},h={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},C={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},M="appmetadata",E="client_info",A="1",T={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},R={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},N={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},P={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},L={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},x={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},V={username:"username",password:"password"},F={httpSuccess:200,httpBadRequest:400},ee={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},X={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ce={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},Q={Jwt:"JWT",Jwk:"JWK",Pop:"pop"}},14035:(ve,f,o)=>{"use strict";o.d(f,{C:()=>i,q:()=>n});const n=(d,u,a,e,c)=>(...l)=>{a.trace(`Executing function ${u}`);const g=e?.startMeasurement(u,c);if(c){const b=u+"CallCount";e?.incrementFields({[b]:1},c)}try{const b=d(...l);return g?.end({success:!0}),a.trace(`Returning result from ${u}`),b}catch(b){a.trace(`Error occurred in ${u}`);try{a.trace(JSON.stringify(b))}catch{a.trace("Unable to print error message.")}throw g?.end({success:!1}),b}},i=(d,u,a,e,c)=>(...l)=>{a.trace(`Executing function ${u}`);const g=e?.startMeasurement(u,c);if(c){const b=u+"CallCount";e?.incrementFields({[b]:1},c)}return e?.setPreQueueTime(u,c),d(...l).then(b=>(a.trace(`Returning result from ${u}`),g?.end({success:!0}),b)).catch(b=>{a.trace(`Error occurred in ${u}`);try{a.trace(JSON.stringify(b))}catch{a.trace("Unable to print error message.")}throw g?.end({success:!1}),b})}},86144:(ve,f,o)=>{"use strict";o.d(f,{c:()=>u});var n=o(34739),i=o(28876),d=o(71408);class u{static setRequestState(e,c,l){const g=u.generateLibraryState(e,l);return c?`${g}${n.Mv.RESOURCE_DELIM}${c}`:g}static generateLibraryState(e,c){if(!e)throw(0,i.mQ)(d.noCryptoObject);const l={id:e.createNewGuid()};c&&(l.meta=c);const g=JSON.stringify(l);return e.base64Encode(g)}static parseRequestState(e,c){if(!e)throw(0,i.mQ)(d.noCryptoObject);if(!c)throw(0,i.mQ)(d.invalidState);try{const l=c.split(n.Mv.RESOURCE_DELIM),g=l[0],b=l.length>1?l.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,p=e.base64Decode(g),S=JSON.parse(p);return{userRequestState:b||n.Mv.EMPTY_STRING,libraryState:S}}catch{throw(0,i.mQ)(d.invalidState)}}}},7828:(ve,f,o)=>{"use strict";o.d(f,{e:()=>n});class n{static isEmptyObj(d){if(d)try{const u=JSON.parse(d);return 0===Object.keys(u).length}catch{}return!0}static startsWith(d,u){return 0===d.indexOf(u)}static endsWith(d,u){return d.length>=u.length&&d.lastIndexOf(u)===d.length-u.length}static queryStringToObject(d){const u={},a=d.split("&"),e=c=>decodeURIComponent(c.replace(/\+/g," "));return a.forEach(c=>{if(c.trim()){const[l,g]=c.split(/=(.+)/g,2);l&&g&&(u[e(l)]=e(g))}}),u}static trimArrayEntries(d){return d.map(u=>u.trim())}static removeEmptyStringsFromArray(d){return d.filter(u=>!!u)}static jsonParseHelper(d){try{return JSON.parse(d)}catch{return null}}static matchPattern(d,u){return new RegExp(d.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(u)}}},50160:(ve,f,o)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function i(a,e){const c=Number(a)||0;return n()+e>c}function d(a){return Number(a)>n()}o.d(f,{G4:()=>d,GO:()=>n,WY:()=>i})},33680:(ve,f,o)=>{"use strict";o.d(f,{u:()=>u,w:()=>d});var n=o(28876),i=o(71408);function d(a){return a.startsWith("#/")?a.substring(2):a.startsWith("#")||a.startsWith("?")?a.substring(1):a}function u(a){if(!a||a.indexOf("=")<0)return null;try{const e=d(a),c=Object.fromEntries(new URLSearchParams(e));if(c.code||c.error||c.error_description||c.state)return c}catch{throw(0,n.mQ)(i.hashNotDeserialized)}return null}},57848:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>Sn,FaIconComponent:()=>Ji,FaIconLibrary:()=>Ai,FaLayersComponent:()=>Qi,FaLayersCounterComponent:()=>Pi,FaLayersTextComponent:()=>ei,FaStackComponent:()=>Ti,FaStackItemSizeDirective:()=>ji,FontAwesomeModule:()=>oo});var n=o(54496);function i(Be,ot){var O=Object.keys(Be);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(Be);ot&&(te=te.filter(function(j){return Object.getOwnPropertyDescriptor(Be,j).enumerable})),O.push.apply(O,te)}return O}function d(Be){for(var ot=1;otBe.length)&&(ot=Be.length);for(var O=0,te=new Array(ot);O0;)ot+=yn[62*Math.random()|0];return ot}function nn(Be){for(var ot=[],O=(Be||[]).length>>>0;O--;)ot[O]=Be[O];return ot}function nr(Be){return Be.classList?nn(Be.classList):(Be.getAttribute("class")||"").split(" ").filter(function(ot){return ot})}function kr(Be){return"".concat(Be).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sr(Be){return Object.keys(Be||{}).reduce(function(ot,O){return ot+"".concat(O,": ").concat(Be[O].trim(),";")},"")}function Mr(Be){return Be.size!==It.size||Be.x!==It.x||Be.y!==It.y||Be.rotate!==It.rotate||Be.flipX||Be.flipY}var Rn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function oi(){var Be=Ie,ot=be,O=Zt.cssPrefix,te=Zt.replacementClass,j=Rn;if(O!==Be||te!==ot){var he=new RegExp("\\.".concat(Be,"\\-"),"g"),Oe=new RegExp("\\--".concat(Be,"\\-"),"g"),vt=new RegExp("\\.".concat(ot),"g");j=j.replace(he,".".concat(O,"-")).replace(Oe,"--".concat(O,"-")).replace(vt,".".concat(te))}return j}var Sr=!1;function pr(){Zt.autoAddCss&&!Sr&&(function tn(Be){if(Be&&H){var ot=ce.createElement("style");ot.setAttribute("type","text/css"),ot.innerHTML=Be;for(var O=ce.head.childNodes,te=null,j=O.length-1;j>-1;j--){var he=O[j],Oe=(he.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Oe)>-1&&(te=he)}ce.head.insertBefore(ot,te)}}(oi()),Sr=!0)}var Jn={mixout:function(){return{dom:{css:oi,insertCss:pr}}},hooks:function(){return{beforeDOMElementCreation:function(){pr()},beforeI2svg:function(){pr()}}}},er=X||{};er[ue]||(er[ue]={}),er[ue].styles||(er[ue].styles={}),er[ue].hooks||(er[ue].hooks={}),er[ue].shims||(er[ue].shims=[]);var Or=er[ue],pi=[],jn=!1;function or(Be){var ot=Be.tag,O=Be.attributes,te=void 0===O?{}:O,j=Be.children,he=void 0===j?[]:j;return"string"==typeof Be?kr(Be):"<".concat(ot," ").concat(function Br(Be){return Object.keys(Be||{}).reduce(function(ot,O){return ot+"".concat(O,'="').concat(kr(Be[O]),'" ')},"").trim()}(te),">").concat(he.map(or).join(""),"")}function ui(Be,ot,O){if(Be&&Be[ot]&&Be[ot][O])return{prefix:ot,iconName:O,icon:Be[ot][O]}}H&&((jn=(ce.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ce.readyState))||ce.addEventListener("DOMContentLoaded",function Be(){ce.removeEventListener("DOMContentLoaded",Be),jn=1,pi.map(function(ot){return ot()})}));var at=function(ot,O,te,j){var Ft,cn,q,he=Object.keys(ot),Oe=he.length,vt=void 0!==j?function(ot,O){return function(te,j,he,Oe){return ot.call(O,te,j,he,Oe)}}(O,j):O;for(void 0===te?(Ft=1,q=ot[he[0]]):(Ft=0,q=te);Ft=55296&&j<=56319&&O2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,j=void 0!==te&&te,he=dn(ot);"function"!=typeof Or.hooks.addPack||j?Or.styles[Be]=d(d({},Or.styles[Be]||{}),he):Or.hooks.addPack(Be,dn(ot)),"fas"===Be&&En("fa",ot)}var Xn,Yn,Tr,Er=Or.styles,zn=Or.shims,ur=(g(Xn={},bt,Object.values(vn[bt])),g(Xn,Bt,Object.values(vn[Bt])),Xn),Ei=null,un={},B={},z={},de={},Fe={},Te=(g(Yn={},bt,Object.keys(wn[bt])),g(Yn,Bt,Object.keys(wn[Bt])),Yn);var et=function(){var ot=function(he){return at(Er,function(Oe,vt,Ft){return Oe[Ft]=at(vt,he,{}),Oe},{})};un=ot(function(j,he,Oe){return he[3]&&(j[he[3]]=Oe),he[2]&&he[2].filter(function(Ft){return"number"==typeof Ft}).forEach(function(Ft){j[Ft.toString(16)]=Oe}),j}),B=ot(function(j,he,Oe){return j[Oe]=Oe,he[2]&&he[2].filter(function(Ft){return"string"==typeof Ft}).forEach(function(Ft){j[Ft]=Oe}),j}),Fe=ot(function(j,he,Oe){var vt=he[2];return j[Oe]=Oe,vt.forEach(function(Ft){j[Ft]=Oe}),j});var O="far"in Er||Zt.autoFetchSvg,te=at(zn,function(j,he){var Oe=he[0],vt=he[1],Ft=he[2];return"far"===vt&&!O&&(vt="fas"),"string"==typeof Oe&&(j.names[Oe]={prefix:vt,iconName:Ft}),"number"==typeof Oe&&(j.unicodes[Oe.toString(16)]={prefix:vt,iconName:Ft}),j},{names:{},unicodes:{}});z=te.names,de=te.unicodes,Ei=fn(Zt.styleDefault,{family:Zt.familyDefault})};function pt(Be,ot){return(un[Be]||{})[ot]}function Nt(Be,ot){return(Fe[Be]||{})[ot]}function Jt(Be){return z[Be]||{prefix:null,iconName:null}}function _n(){return Ei}(function $t(Be){wt.push(Be)})(function(Be){Ei=fn(Be.styleDefault,{family:Zt.familyDefault})}),et();var Cn=function(){return{prefix:null,iconName:null,rest:[]}};function fn(Be){var O=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,te=void 0===O?bt:O;return An[te][Be]||An[te][wn[te][Be]]||(Be in Or.styles?Be:null)||null}var Gt=(g(Tr={},bt,Object.keys(vn[bt])),g(Tr,Bt,Object.keys(vn[Bt])),Tr);function Nn(Be){var ot,te=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,j=void 0!==te&&te,he=(g(ot={},bt,"".concat(Zt.cssPrefix,"-").concat(bt)),g(ot,Bt,"".concat(Zt.cssPrefix,"-").concat(Bt)),ot),Oe=null,vt=bt;(Be.includes(he[bt])||Be.some(function(cn){return Gt[bt].includes(cn)}))&&(vt=bt),(Be.includes(he[Bt])||Be.some(function(cn){return Gt[Bt].includes(cn)}))&&(vt=Bt);var Ft=Be.reduce(function(cn,q){var Ve=function Ae(Be,ot){var O=ot.split("-"),te=O[0],j=O.slice(1).join("-");return te!==Be||""===j||function me(Be){return~lt.indexOf(Be)}(j)?null:j}(Zt.cssPrefix,q);if(Er[q]?(q=ur[vt].includes(q)?en[vt][q]:q,Oe=q,cn.prefix=q):Te[vt].indexOf(q)>-1?(Oe=q,cn.prefix=fn(q,{family:vt})):Ve?cn.iconName=Ve:q!==Zt.replacementClass&&q!==he[bt]&&q!==he[Bt]&&cn.rest.push(q),!j&&cn.prefix&&cn.iconName){var Se="fa"===Oe?Jt(cn.iconName):{},Re=Nt(cn.prefix,cn.iconName);Se.prefix&&(Oe=null),cn.iconName=Se.iconName||Re||cn.iconName,cn.prefix=Se.prefix||cn.prefix,"far"===cn.prefix&&!Er.far&&Er.fas&&!Zt.autoFetchSvg&&(cn.prefix="fas")}return cn},Cn());return(Be.includes("fa-brands")||Be.includes("fab"))&&(Ft.prefix="fab"),(Be.includes("fa-duotone")||Be.includes("fad"))&&(Ft.prefix="fad"),!Ft.prefix&&vt===Bt&&(Er.fass||Zt.autoFetchSvg)&&(Ft.prefix="fass",Ft.iconName=Nt(Ft.prefix,Ft.iconName)||Ft.iconName),("fa"===Ft.prefix||"fa"===Oe)&&(Ft.prefix=_n()||"fas"),Ft}var lr=function(){function Be(){(function e(Be,ot){if(!(Be instanceof ot))throw new TypeError("Cannot call a class as a function")})(this,Be),this.definitions={}}return function l(Be,ot,O){ot&&c(Be.prototype,ot),O&&c(Be,O),Object.defineProperty(Be,"prototype",{writable:!1})}(Be,[{key:"add",value:function(){for(var O=this,te=arguments.length,j=new Array(te),he=0;he0&&q.forEach(function(Ve){"string"==typeof Ve&&(O[vt][Ve]=cn)}),O[vt][Ft]=cn}),O}}]),Be}(),cr=[],Nr={},Lr={},ct=Object.keys(Lr);function vi(Be,ot){for(var O=arguments.length,te=new Array(O>2?O-2:0),j=2;j1?ot-1:0),te=1;te0&&void 0!==arguments[0]?arguments[0]:{};return H?(_r("beforeI2svg",ot),Pn("pseudoElements2svg",ot),Pn("i2svg",ot)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ot=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},O=ot.autoReplaceSvgRoot;!1===Zt.autoReplaceSvg&&(Zt.autoReplaceSvg=!0),Zt.observeMutations=!0,function Qn(Be){H&&(jn?setTimeout(Be,0):pi.push(Be))}(function(){Xr({autoReplaceSvgRoot:O}),_r("watch",ot)})}},ti={noAuto:function(){Zt.autoReplaceSvg=!1,Zt.observeMutations=!1,_r("noAuto")},config:Zt,dom:ai,parse:{icon:function(ot){if(null===ot)return null;if("object"===u(ot)&&ot.prefix&&ot.iconName)return{prefix:ot.prefix,iconName:Nt(ot.prefix,ot.iconName)||ot.iconName};if(Array.isArray(ot)&&2===ot.length){var O=0===ot[1].indexOf("fa-")?ot[1].slice(3):ot[1],te=fn(ot[0]);return{prefix:te,iconName:Nt(te,O)||O}}if("string"==typeof ot&&(ot.indexOf("".concat(Zt.cssPrefix,"-"))>-1||ot.match(dt))){var j=Nn(ot.split(" "),{skipLookups:!0});return{prefix:j.prefix||_n(),iconName:Nt(j.prefix,j.iconName)||j.iconName}}if("string"==typeof ot){var he=_n();return{prefix:he,iconName:Nt(he,ot)||ot}}}},library:si,findIconDefinition:Gn,toHtml:or},Xr=function(){var O=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,te=void 0===O?ce:O;(Object.keys(Or.styles).length>0||Zt.autoFetchSvg)&&H&&Zt.autoReplaceSvg&&ti.dom.i2svg({node:te})};function Zr(Be,ot){return Object.defineProperty(Be,"abstract",{get:ot}),Object.defineProperty(Be,"html",{get:function(){return Be.abstract.map(function(te){return or(te)})}}),Object.defineProperty(Be,"node",{get:function(){if(H){var te=ce.createElement("div");return te.innerHTML=Be.html,te.children}}}),Be}function Yi(Be){var ot=Be.icons,O=ot.main,te=ot.mask,j=Be.prefix,he=Be.iconName,Oe=Be.transform,vt=Be.symbol,Ft=Be.title,cn=Be.maskId,q=Be.titleId,Ve=Be.extra,Se=Be.watchable,Re=void 0!==Se&&Se,Mt=te.found?te:O,Xt=Mt.width,sn=Mt.height,In="fak"===j,gr=[Zt.replacementClass,he?"".concat(Zt.cssPrefix,"-").concat(he):""].filter(function(eo){return-1===Ve.classes.indexOf(eo)}).filter(function(eo){return""!==eo||!!eo}).concat(Ve.classes).join(" "),br={children:[],attributes:d(d({},Ve.attributes),{},{"data-prefix":j,"data-icon":he,class:gr,role:Ve.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Xt," ").concat(sn)})},Wr=In&&!~Ve.classes.indexOf("fa-fw")?{width:"".concat(Xt/sn*16*.0625,"em")}:{};Re&&(br.attributes[ie]=""),Ft&&(br.children.push({tag:"title",attributes:{id:br.attributes["aria-labelledby"]||"title-".concat(q||Tn())},children:[Ft]}),delete br.attributes.title);var Cr=d(d({},br),{},{prefix:j,iconName:he,main:O,mask:te,maskId:cn,transform:Oe,symbol:vt,styles:d(d({},Wr),Ve.styles)}),Qr=te.found&&O.found?Pn("generateAbstractMask",Cr)||{children:[],attributes:{}}:Pn("generateAbstractIcon",Cr)||{children:[],attributes:{}},Ri=Qr.attributes;return Cr.children=Qr.children,Cr.attributes=Ri,vt?function hr(Be){var O=Be.iconName,te=Be.children,j=Be.attributes,he=Be.symbol,Oe=!0===he?"".concat(Be.prefix,"-").concat(Zt.cssPrefix,"-").concat(O):he;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},j),{},{id:Oe}),children:te}]}]}(Cr):function Vi(Be){var ot=Be.children,O=Be.main,te=Be.mask,j=Be.attributes,he=Be.styles,Oe=Be.transform;if(Mr(Oe)&&O.found&&!te.found){var cn={x:O.width/O.height/2,y:.5};j.style=sr(d(d({},he),{},{"transform-origin":"".concat(cn.x+Oe.x/16,"em ").concat(cn.y+Oe.y/16,"em")}))}return[{tag:"svg",attributes:j,children:ot}]}(Cr)}function ko(Be){var ot=Be.content,O=Be.width,te=Be.height,j=Be.transform,he=Be.title,Oe=Be.extra,vt=Be.watchable,Ft=void 0!==vt&&vt,cn=d(d(d({},Oe.attributes),he?{title:he}:{}),{},{class:Oe.classes.join(" ")});Ft&&(cn[ie]="");var q=d({},Oe.styles);Mr(j)&&(q.transform=function qn(Be){var ot=Be.transform,O=Be.width,j=Be.height,he=void 0===j?16:j,Oe=Be.startCentered,vt=void 0!==Oe&&Oe,Ft="";return Ft+=vt&&ae?"translate(".concat(ot.x/16-(void 0===O?16:O)/2,"em, ").concat(ot.y/16-he/2,"em) "):vt?"translate(calc(-50% + ".concat(ot.x/16,"em), calc(-50% + ").concat(ot.y/16,"em)) "):"translate(".concat(ot.x/16,"em, ").concat(ot.y/16,"em) "),(Ft+="scale(".concat(ot.size/16*(ot.flipX?-1:1),", ").concat(ot.size/16*(ot.flipY?-1:1),") "))+"rotate(".concat(ot.rotate,"deg) ")}({transform:j,startCentered:!0,width:O,height:te}),q["-webkit-transform"]=q.transform);var Ve=sr(q);Ve.length>0&&(cn.style=Ve);var Se=[];return Se.push({tag:"span",attributes:cn,children:[ot]}),he&&Se.push({tag:"span",attributes:{class:"sr-only"},children:[he]}),Se}var Jr=Or.styles;function zi(Be){var ot=Be[0],O=Be[1],he=S(Be.slice(4),1)[0];return{found:!0,width:ot,height:O,icon:Array.isArray(he)?{tag:"g",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(He.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(He.SECONDARY),fill:"currentColor",d:he[0]}},{tag:"path",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(He.PRIMARY),fill:"currentColor",d:he[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:he}}}}var qi={found:!1,width:512,height:512};function Rr(Be,ot){var O=ot;return"fa"===ot&&null!==Zt.styleDefault&&(ot=_n()),new Promise(function(te,j){if(Pn("missingIconAbstract"),"fa"===O){var Oe=Jt(Be)||{};Be=Oe.iconName||Be,ot=Oe.prefix||ot}if(Be&&ot&&Jr[ot]&&Jr[ot][Be])return te(zi(Jr[ot][Be]));(function ro(Be,ot){!Wt&&!Zt.showMissingIcons&&Be&&console.error('Icon with name "'.concat(Be,'" and prefix "').concat(ot,'" is missing.'))})(Be,ot),te(d(d({},qi),{},{icon:Zt.showMissingIcons&&Be&&Pn("missingIconAbstract")||{}}))})}var mo=function(){},_i=Zt.measurePerformance&&ne&&ne.mark&&ne.measure?ne:{mark:mo,measure:mo},xi='FA "6.5.1"',ar=function(ot){_i.mark("".concat(xi," ").concat(ot," ends")),_i.measure("".concat(xi," ").concat(ot),"".concat(xi," ").concat(ot," begins"),"".concat(xi," ").concat(ot," ends"))},bo={begin:function(ot){return _i.mark("".concat(xi," ").concat(ot," begins")),function(){return ar(ot)}},end:ar},wi=function(){};function bi(Be){return"string"==typeof(Be.getAttribute?Be.getAttribute(ie):null)}function yo(Be){return ce.createElementNS("http://www.w3.org/2000/svg",Be)}function Ni(Be){return ce.createElement(Be)}function Gr(Be){var O=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,te=void 0===O?"svg"===Be.tag?yo:Ni:O;if("string"==typeof Be)return ce.createTextNode(Be);var j=te(Be.tag);return Object.keys(Be.attributes||[]).forEach(function(Oe){j.setAttribute(Oe,Be.attributes[Oe])}),(Be.children||[]).forEach(function(Oe){j.appendChild(Gr(Oe,{ceFn:te}))}),j}var Oi={replace:function(ot){var O=ot[0];if(O.parentNode)if(ot[1].forEach(function(j){O.parentNode.insertBefore(Gr(j),O)}),null===O.getAttribute(ie)&&Zt.keepOriginalSource){var te=ce.createComment(function Lo(Be){var ot=" ".concat(Be.outerHTML," ");return"".concat(ot,"Font Awesome fontawesome.com ")}(O));O.parentNode.replaceChild(te,O)}else O.remove()},nest:function(ot){var O=ot[0],te=ot[1];if(~nr(O).indexOf(Zt.replacementClass))return Oi.replace(ot);var j=new RegExp("".concat(Zt.cssPrefix,"-.*"));if(delete te[0].attributes.id,te[0].attributes.class){var he=te[0].attributes.class.split(" ").reduce(function(vt,Ft){return Ft===Zt.replacementClass||Ft.match(j)?vt.toSvg.push(Ft):vt.toNode.push(Ft),vt},{toNode:[],toSvg:[]});te[0].attributes.class=he.toSvg.join(" "),0===he.toNode.length?O.removeAttribute("class"):O.setAttribute("class",he.toNode.join(" "))}var Oe=te.map(function(vt){return or(vt)}).join("\n");O.setAttribute(ie,""),O.innerHTML=Oe}};function Xi(Be){Be()}function Li(Be,ot){var O="function"==typeof ot?ot:wi;if(0===Be.length)O();else{var te=Xi;Zt.mutateApproach===rt&&(te=X.requestAnimationFrame||Xi),te(function(){var j=function zr(){return!0===Zt.autoReplaceSvg?Oi.replace:Oi[Zt.autoReplaceSvg]||Oi.replace}(),he=bo.begin("mutate");Be.map(j),he(),O()})}}var Gi=!1;function Wo(){Gi=!0}function Co(){Gi=!1}var Ro=null;function wo(Be){if(Q&&Zt.observeMutations){var ot=Be.treeCallback,O=void 0===ot?wi:ot,te=Be.nodeCallback,j=void 0===te?wi:te,he=Be.pseudoElementsCallback,Oe=void 0===he?wi:he,vt=Be.observeMutationsRoot,Ft=void 0===vt?ce:vt;Ro=new Q(function(cn){if(!Gi){var q=_n();nn(cn).forEach(function(Ve){if("childList"===Ve.type&&Ve.addedNodes.length>0&&!bi(Ve.addedNodes[0])&&(Zt.searchPseudoElements&&Oe(Ve.target),O(Ve.target)),"attributes"===Ve.type&&Ve.target.parentNode&&Zt.searchPseudoElements&&Oe(Ve.target.parentNode),"attributes"===Ve.type&&bi(Ve.target)&&~ht.indexOf(Ve.attributeName))if("class"===Ve.attributeName&&function Eo(Be){var ot=Be.getAttribute?Be.getAttribute(qe):null,O=Be.getAttribute?Be.getAttribute(nt):null;return ot&&O}(Ve.target)){var Se=Nn(nr(Ve.target)),Mt=Se.iconName;Ve.target.setAttribute(qe,Se.prefix||q),Mt&&Ve.target.setAttribute(nt,Mt)}else(function po(Be){return Be&&Be.classList&&Be.classList.contains&&Be.classList.contains(Zt.replacementClass)})(Ve.target)&&j(Ve.target)})}}),H&&Ro.observe(Ft,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function uo(Be){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},O=function ns(Be){var ot=Be.getAttribute("data-prefix"),O=Be.getAttribute("data-icon"),te=void 0!==Be.innerText?Be.innerText.trim():"",j=Nn(nr(Be));return j.prefix||(j.prefix=_n()),ot&&O&&(j.prefix=ot,j.iconName=O),j.iconName&&j.prefix||(j.prefix&&te.length>0&&(j.iconName=function At(Be,ot){return(B[Be]||{})[ot]}(j.prefix,Be.innerText)||pt(j.prefix,Pt(Be.innerText))),!j.iconName&&Zt.autoFetchSvg&&Be.firstChild&&Be.firstChild.nodeType===Node.TEXT_NODE&&(j.iconName=Be.firstChild.data)),j}(Be),te=O.iconName,j=O.prefix,he=O.rest,Oe=function rs(Be){var ot=nn(Be.attributes).reduce(function(j,he){return"class"!==j.name&&"style"!==j.name&&(j[he.name]=he.value),j},{}),O=Be.getAttribute("title"),te=Be.getAttribute("data-fa-title-id");return Zt.autoA11y&&(O?ot["aria-labelledby"]="".concat(Zt.replacementClass,"-title-").concat(te||Tn()):(ot["aria-hidden"]="true",ot.focusable="false")),ot}(Be),vt=vi("parseNodeAttributes",{},Be),Ft=ot.styleParser?function Go(Be){var ot=Be.getAttribute("style"),O=[];return ot&&(O=ot.split(";").reduce(function(te,j){var he=j.split(":"),Oe=he[0],vt=he.slice(1);return Oe&&vt.length>0&&(te[Oe]=vt.join(":").trim()),te},{})),O}(Be):[];return d({iconName:te,title:Be.getAttribute("title"),titleId:Be.getAttribute("data-fa-title-id"),prefix:j,transform:It,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:he,styles:Ft,attributes:Oe}},vt)}var So=Or.styles;function cs(Be){var ot="nest"===Zt.autoReplaceSvg?uo(Be,{styleParser:!1}):uo(Be);return~ot.extra.classes.indexOf(Ue)?Pn("generateLayersText",Be,ot):Pn("generateSvgReplacementMutation",Be,ot)}var co=new Set;function Fo(Be){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!H)return Promise.resolve();var O=ce.documentElement.classList,te=function(Ve){return O.add("".concat(ft,"-").concat(Ve))},j=function(Ve){return O.remove("".concat(ft,"-").concat(Ve))},he=Zt.autoFetchSvg?co:an.map(function(q){return"fa-".concat(q)}).concat(Object.keys(So));he.includes("fa")||he.push("fa");var Oe=[".".concat(Ue,":not([").concat(ie,"])")].concat(he.map(function(q){return".".concat(q,":not([").concat(ie,"])")})).join(", ");if(0===Oe.length)return Promise.resolve();var vt=[];try{vt=nn(Be.querySelectorAll(Oe))}catch{}if(!(vt.length>0))return Promise.resolve();te("pending"),j("complete");var Ft=bo.begin("onTree"),cn=vt.reduce(function(q,Ve){try{var Se=cs(Ve);Se&&q.push(Se)}catch(Re){Wt||"MissingIcon"===Re.name&&console.error(Re)}return q},[]);return new Promise(function(q,Ve){Promise.all(cn).then(function(Se){Li(Se,function(){te("active"),te("complete"),j("pending"),"function"==typeof ot&&ot(),Ft(),q()})}).catch(function(Se){Ft(),Ve(Se)})})}function Do(Be){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;cs(Be).then(function(O){O&&Li([O],ot)})}an.map(function(Be){co.add("fa-".concat(Be))}),Object.keys(wn[bt]).map(co.add.bind(co)),Object.keys(wn[Bt]).map(co.add.bind(co)),co=y(co);var hs=function(ot){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=O.transform,j=void 0===te?It:te,he=O.symbol,Oe=void 0!==he&&he,vt=O.mask,Ft=void 0===vt?null:vt,cn=O.maskId,q=void 0===cn?null:cn,Ve=O.title,Se=void 0===Ve?null:Ve,Re=O.titleId,Mt=void 0===Re?null:Re,Xt=O.classes,sn=void 0===Xt?[]:Xt,In=O.attributes,gr=void 0===In?{}:In,br=O.styles,Wr=void 0===br?{}:br;if(ot){var Cr=ot.prefix,Qr=ot.iconName,Hr=ot.icon;return Zr(d({type:"icon"},ot),function(){return _r("beforeDOMElementCreation",{iconDefinition:ot,params:O}),Zt.autoA11y&&(Se?gr["aria-labelledby"]="".concat(Zt.replacementClass,"-title-").concat(Mt||Tn()):(gr["aria-hidden"]="true",gr.focusable="false")),Yi({icons:{main:zi(Hr),mask:Ft?zi(Ft.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cr,iconName:Qr,transform:d(d({},It),j),symbol:Oe,title:Se,maskId:q,titleId:Mt,extra:{attributes:gr,styles:Wr,classes:sn}})})}},Qo={mixout:function(){return{icon:(Be=hs,function(ot){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=(ot||{}).icon?ot:Gn(ot||{}),j=O.mask;return j&&(j=(j||{}).icon?j:Gn(j||{})),Be(te,d(d({},O),{},{mask:j}))})};var Be},hooks:function(){return{mutationObserverCallbacks:function(O){return O.treeCallback=Fo,O.nodeCallback=Do,O}}},provides:function(ot){ot.i2svg=function(O){var te=O.node,he=O.callback;return Fo(void 0===te?ce:te,void 0===he?function(){}:he)},ot.generateSvgReplacementMutation=function(O,te){var j=te.iconName,he=te.title,Oe=te.titleId,vt=te.prefix,Ft=te.transform,cn=te.symbol,q=te.mask,Ve=te.maskId,Se=te.extra;return new Promise(function(Re,Mt){Promise.all([Rr(j,vt),q.iconName?Rr(q.iconName,q.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Xt){var sn=S(Xt,2);Re([O,Yi({icons:{main:sn[0],mask:sn[1]},prefix:vt,iconName:j,transform:Ft,symbol:cn,maskId:Ve,title:he,titleId:Oe,extra:Se,watchable:!0})])}).catch(Mt)})},ot.generateAbstractIcon=function(O){var cn,te=O.children,j=O.attributes,he=O.main,Oe=O.transform,Ft=sr(O.styles);return Ft.length>0&&(j.style=Ft),Mr(Oe)&&(cn=Pn("generateAbstractTransformGrouping",{main:he,transform:Oe,containerWidth:he.width,iconWidth:he.width})),te.push(cn||he.icon),{children:te,attributes:j}}}},Ye={mixout:function(){return{layer:function(O){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=te.classes,he=void 0===j?[]:j;return Zr({type:"layer"},function(){_r("beforeDOMElementCreation",{assembler:O,params:te});var Oe=[];return O(function(vt){Array.isArray(vt)?vt.map(function(Ft){Oe=Oe.concat(Ft.abstract)}):Oe=Oe.concat(vt.abstract)}),[{tag:"span",attributes:{class:["".concat(Zt.cssPrefix,"-layers")].concat(y(he)).join(" ")},children:Oe}]})}}}},Qe={mixout:function(){return{counter:function(O){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=te.title,he=void 0===j?null:j,Oe=te.classes,vt=void 0===Oe?[]:Oe,Ft=te.attributes,cn=void 0===Ft?{}:Ft,q=te.styles,Ve=void 0===q?{}:q;return Zr({type:"counter",content:O},function(){return _r("beforeDOMElementCreation",{content:O,params:te}),function go(Be){var ot=Be.content,O=Be.title,te=Be.extra,j=d(d(d({},te.attributes),O?{title:O}:{}),{},{class:te.classes.join(" ")}),he=sr(te.styles);he.length>0&&(j.style=he);var Oe=[];return Oe.push({tag:"span",attributes:j,children:[ot]}),O&&Oe.push({tag:"span",attributes:{class:"sr-only"},children:[O]}),Oe}({content:O.toString(),title:he,extra:{attributes:cn,styles:Ve,classes:["".concat(Zt.cssPrefix,"-layers-counter")].concat(y(vt))}})})}}}},ke={mixout:function(){return{text:function(O){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=te.transform,he=void 0===j?It:j,Oe=te.title,vt=void 0===Oe?null:Oe,Ft=te.classes,cn=void 0===Ft?[]:Ft,q=te.attributes,Ve=void 0===q?{}:q,Se=te.styles,Re=void 0===Se?{}:Se;return Zr({type:"text",content:O},function(){return _r("beforeDOMElementCreation",{content:O,params:te}),ko({content:O,transform:d(d({},It),he),title:vt,extra:{attributes:Ve,styles:Re,classes:["".concat(Zt.cssPrefix,"-layers-text")].concat(y(cn))}})})}}},provides:function(ot){ot.generateLayersText=function(O,te){var j=te.title,he=te.transform,Oe=te.extra,vt=null,Ft=null;if(ae){var cn=parseInt(getComputedStyle(O).fontSize,10),q=O.getBoundingClientRect();vt=q.width/cn,Ft=q.height/cn}return Zt.autoA11y&&!j&&(Oe.attributes["aria-hidden"]="true"),Promise.resolve([O,ko({content:O.innerHTML,width:vt,height:Ft,transform:he,title:j,extra:Oe,watchable:!0})])}}},ut=new RegExp('"',"ug"),kt=[1105920,1112319];function Vn(Be,ot){var O="".concat(ze).concat(ot.replace(":","-"));return new Promise(function(te,j){if(null!==Be.getAttribute(O))return te();var Oe=nn(Be.children).filter(function(Hr){return Hr.getAttribute(De)===ot})[0],vt=X.getComputedStyle(Be,ot),Ft=vt.getPropertyValue("font-family").match(we),cn=vt.getPropertyValue("font-weight"),q=vt.getPropertyValue("content");if(Oe&&!Ft)return Be.removeChild(Oe),te();if(Ft&&"none"!==q&&""!==q){var Ve=vt.getPropertyValue("content"),Se=~["Sharp"].indexOf(Ft[2])?Bt:bt,Re=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Ft[2])?An[Se][Ft[2].toLowerCase()]:Pe[Se][cn],Mt=function $n(Be){var ot=Be.replace(ut,""),O=function rn(Be,ot){var j,O=Be.length,te=Be.charCodeAt(ot);return te>=55296&&te<=56319&&O>ot+1&&(j=Be.charCodeAt(ot+1))>=56320&&j<=57343?1024*(te-55296)+j-56320+65536:te}(ot,0),te=O>=kt[0]&&O<=kt[1],j=2===ot.length&&ot[0]===ot[1];return{value:Pt(j?ot[0]:ot),isSecondary:te||j}}(Ve),Xt=Mt.value,sn=Mt.isSecondary,In=Ft[0].startsWith("FontAwesome"),gr=pt(Re,Xt),br=gr;if(In){var Wr=function mn(Be){var ot=de[Be],O=pt("fas",Be);return ot||(O?{prefix:"fas",iconName:O}:null)||{prefix:null,iconName:null}}(Xt);Wr.iconName&&Wr.prefix&&(gr=Wr.iconName,Re=Wr.prefix)}if(!gr||sn||Oe&&Oe.getAttribute(qe)===Re&&Oe.getAttribute(nt)===br)te();else{Be.setAttribute(O,br),Oe&&Be.removeChild(Oe);var Cr=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:It,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Qr=Cr.extra;Qr.attributes[De]=ot,Rr(gr,Re).then(function(Hr){var Ri=Yi(d(d({},Cr),{},{icons:{main:Hr,mask:Cn()},prefix:Re,iconName:br,extra:Qr,watchable:!0})),eo=ce.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===ot?Be.insertBefore(eo,Be.firstChild):Be.appendChild(eo),eo.outerHTML=Ri.map(function(Vo){return or(Vo)}).join("\n"),Be.removeAttribute(O),te()}).catch(j)}}else te()})}function $i(Be){return Promise.all([Vn(Be,"::before"),Vn(Be,"::after")])}function Mo(Be){return!(Be.parentNode===document.head||~mt.indexOf(Be.tagName.toUpperCase())||Be.getAttribute(De)||Be.parentNode&&"svg"===Be.parentNode.tagName)}function Ao(Be){if(H)return new Promise(function(ot,O){var te=nn(Be.querySelectorAll("*")).filter(Mo).map($i),j=bo.begin("searchPseudoElements");Wo(),Promise.all(te).then(function(){j(),Co(),ot()}).catch(function(){j(),Co(),O()})})}var Ur=!1,is=function(ot){return ot.toLowerCase().split(" ").reduce(function(te,j){var he=j.toLowerCase().split("-"),Oe=he[0],vt=he.slice(1).join("-");if(Oe&&"h"===vt)return te.flipX=!0,te;if(Oe&&"v"===vt)return te.flipY=!0,te;if(vt=parseFloat(vt),isNaN(vt))return te;switch(Oe){case"grow":te.size=te.size+vt;break;case"shrink":te.size=te.size-vt;break;case"left":te.x=te.x-vt;break;case"right":te.x=te.x+vt;break;case"up":te.y=te.y-vt;break;case"down":te.y=te.y+vt;break;case"rotate":te.rotate=te.rotate+vt}return te},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Zo={x:0,y:0,width:"100%",height:"100%"};function xo(Be){return Be.attributes&&(Be.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Be.attributes.fill="black"),Be}!function lo(Be,ot){var O=ot.mixoutsTo;cr=Be,Nr={},Object.keys(Lr).forEach(function(te){-1===ct.indexOf(te)&&delete Lr[te]}),cr.forEach(function(te){var j=te.mixout?te.mixout():{};if(Object.keys(j).forEach(function(Oe){"function"==typeof j[Oe]&&(O[Oe]=j[Oe]),"object"===u(j[Oe])&&Object.keys(j[Oe]).forEach(function(vt){O[Oe]||(O[Oe]={}),O[Oe][vt]=j[Oe][vt]})}),te.hooks){var he=te.hooks();Object.keys(he).forEach(function(Oe){Nr[Oe]||(Nr[Oe]=[]),Nr[Oe].push(he[Oe])})}te.provides&&te.provides(Lr)})}([Jn,Qo,Ye,Qe,ke,{hooks:function(){return{mutationObserverCallbacks:function(O){return O.pseudoElementsCallback=Ao,O}}},provides:function(ot){ot.pseudoElements2svg=function(O){var te=O.node;Zt.searchPseudoElements&&Ao(void 0===te?ce:te)}}},{mixout:function(){return{dom:{unwatch:function(){Wo(),Ur=!0}}}},hooks:function(){return{bootstrap:function(){wo(vi("mutationObserverCallbacks",{}))},noAuto:function(){!function ys(){Ro&&Ro.disconnect()}()},watch:function(O){var te=O.observeMutationsRoot;Ur?Co():wo(vi("mutationObserverCallbacks",{observeMutationsRoot:te}))}}}},{mixout:function(){return{parse:{transform:function(O){return is(O)}}}},hooks:function(){return{parseNodeAttributes:function(O,te){var j=te.getAttribute("data-fa-transform");return j&&(O.transform=is(j)),O}}},provides:function(ot){ot.generateAbstractTransformGrouping=function(O){var te=O.main,j=O.transform,Oe=O.iconWidth,vt={transform:"translate(".concat(O.containerWidth/2," 256)")},Ft="translate(".concat(32*j.x,", ").concat(32*j.y,") "),cn="scale(".concat(j.size/16*(j.flipX?-1:1),", ").concat(j.size/16*(j.flipY?-1:1),") "),q="rotate(".concat(j.rotate," 0 0)"),Re={outer:vt,inner:{transform:"".concat(Ft," ").concat(cn," ").concat(q)},path:{transform:"translate(".concat(Oe/2*-1," -256)")}};return{tag:"g",attributes:d({},Re.outer),children:[{tag:"g",attributes:d({},Re.inner),children:[{tag:te.icon.tag,children:te.icon.children,attributes:d(d({},te.icon.attributes),Re.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(O,te){var j=te.getAttribute("data-fa-mask"),he=j?Nn(j.split(" ").map(function(Oe){return Oe.trim()})):Cn();return he.prefix||(he.prefix=_n()),O.mask=he,O.maskId=te.getAttribute("data-fa-mask-id"),O}}},provides:function(ot){ot.generateAbstractMask=function(O){var Be,te=O.children,j=O.attributes,he=O.main,Oe=O.mask,vt=O.maskId,q=he.icon,Se=Oe.icon,Re=function yr(Be){var ot=Be.transform,te=Be.iconWidth,j={transform:"translate(".concat(Be.containerWidth/2," 256)")},he="translate(".concat(32*ot.x,", ").concat(32*ot.y,") "),Oe="scale(".concat(ot.size/16*(ot.flipX?-1:1),", ").concat(ot.size/16*(ot.flipY?-1:1),") "),vt="rotate(".concat(ot.rotate," 0 0)");return{outer:j,inner:{transform:"".concat(he," ").concat(Oe," ").concat(vt)},path:{transform:"translate(".concat(te/2*-1," -256)")}}}({transform:O.transform,containerWidth:Oe.width,iconWidth:he.width}),Mt={tag:"rect",attributes:d(d({},Zo),{},{fill:"white"})},Xt=q.children?{children:q.children.map(xo)}:{},sn={tag:"g",attributes:d({},Re.inner),children:[xo(d({tag:q.tag,attributes:d(d({},q.attributes),Re.path)},Xt))]},In={tag:"g",attributes:d({},Re.outer),children:[sn]},gr="mask-".concat(vt||Tn()),br="clip-".concat(vt||Tn()),Wr={tag:"mask",attributes:d(d({},Zo),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Mt,In]},Cr={tag:"defs",children:[{tag:"clipPath",attributes:{id:br},children:(Be=Se,"g"===Be.tag?Be.children:[Be])},Wr]};return te.push(Cr,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(br,")"),mask:"url(#".concat(gr,")")},Zo)}),{children:te,attributes:j}}}},{provides:function(ot){var O=!1;X.matchMedia&&(O=X.matchMedia("(prefers-reduced-motion: reduce)").matches),ot.missingIconAbstract=function(){var te=[],j={fill:"currentColor"},he={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};te.push({tag:"path",attributes:d(d({},j),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Oe=d(d({},he),{},{attributeName:"opacity"}),vt={tag:"circle",attributes:d(d({},j),{},{cx:"256",cy:"364",r:"28"}),children:[]};return O||vt.children.push({tag:"animate",attributes:d(d({},he),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},Oe),{},{values:"1;0;1;1;0;1;"})}),te.push(vt),te.push({tag:"path",attributes:d(d({},j),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:O?[]:[{tag:"animate",attributes:d(d({},Oe),{},{values:"1;0;0;0;0;1;"})}]}),O||te.push({tag:"path",attributes:d(d({},j),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},Oe),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:te}}}},{hooks:function(){return{parseNodeAttributes:function(O,te){var j=te.getAttribute("data-fa-symbol");return O.symbol=null!==j&&(""===j||j),O}}}}],{mixoutsTo:ti});var pe=ti.parse,Dt=ti.icon,Ut=ti.text,zt=ti.counter,bn=o(14476);const Wn=["*"],fr=Be=>{const ot={[`fa-${Be.animation}`]:null!=Be.animation&&!Be.animation.startsWith("spin"),"fa-spin":"spin"===Be.animation||"spin-reverse"===Be.animation,"fa-spin-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-spin-reverse":"spin-reverse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-fw":Be.fixedWidth,"fa-border":Be.border,"fa-inverse":Be.inverse,"fa-layers-counter":Be.counter,"fa-flip-horizontal":"horizontal"===Be.flip||"both"===Be.flip,"fa-flip-vertical":"vertical"===Be.flip||"both"===Be.flip,[`fa-${Be.size}`]:null!==Be.size,[`fa-rotate-${Be.rotate}`]:null!==Be.rotate,[`fa-pull-${Be.pull}`]:null!==Be.pull,[`fa-stack-${Be.stackItemSize}`]:null!=Be.stackItemSize};return Object.keys(ot).map(O=>ot[O]?O:null).filter(O=>O)};let mi=(()=>{class Be{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),Ai=(()=>{class Be{constructor(){this.definitions={}}addIcons(...O){for(const te of O){te.prefix in this.definitions||(this.definitions[te.prefix]={}),this.definitions[te.prefix][te.iconName]=te;for(const j of te.icon[2])"string"==typeof j&&(this.definitions[te.prefix][j]=te)}}addIconPacks(...O){for(const te of O){const j=Object.keys(te).map(he=>te[he]);this.addIcons(...j)}}getIconDefinition(O,te){return O in this.definitions&&te in this.definitions[O]?this.definitions[O][te]:null}static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),ji=(()=>{class Be{constructor(){this.stackItemSize="1x"}ngOnChanges(O){if("size"in O)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Be,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Be})(),Ti=(()=>{class Be{constructor(O,te){this.renderer=O,this.elementRef=te}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(O){"size"in O&&(null!=O.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${O.size.currentValue}`),null!=O.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${O.size.previousValue}`))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:Wn,decls:1,vars:0,template:function(te,j){1&te&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Ji=(()=>{class Be{set spin(O){this.animation=O?"spin":void 0}set pulse(O){this.animation=O?"spin-pulse":void 0}constructor(O,te,j,he,Oe){this.sanitizer=O,this.config=te,this.iconLibrary=j,this.stackItem=he,this.classes=[],null!=Oe&&null==he&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(O){if(null!=this.icon||null!=this.config.fallbackIcon){if(O){const j=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=j){const he=this.buildParams();this.renderIcon(j,he)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(O){const te=((Be,ot)=>(Be=>void 0!==Be.prefix&&void 0!==Be.iconName)(Be)?Be:"string"==typeof Be?{prefix:ot,iconName:Be}:{prefix:Be[0],iconName:Be[1]})(O,this.config.defaultPrefix);return"icon"in te?te:this.iconLibrary.getIconDefinition(te.prefix,te.iconName)??((Be=>{throw new Error(`Could not find icon with iconName=${Be.iconName} and prefix=${Be.prefix} in the icon library.`)})(te),null)}buildParams(){const O={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},te="string"==typeof this.transform?pe.transform(this.transform):this.transform;return{title:this.title,transform:te,classes:[...fr(O),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(O,te){const j=Dt(O,te);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(j.html.join("\n"))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(bn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(Ai),n.\u0275\u0275directiveInject(ji,8),n.\u0275\u0275directiveInject(Ti,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(te,j){2&te&&(n.\u0275\u0275hostProperty("innerHTML",j.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",j.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})(),Sn=(()=>{class Be extends Ji{findIconDefinition(O){const te=super.findIconDefinition(O);if(null!=te&&!Array.isArray(te.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: or use: instead.`);return te}buildParams(){const O=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&O.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(O.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(O.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(O.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(O.styles["--fa-secondary-color"]=this.secondaryColor),O}static#e=this.\u0275fac=(()=>{let O;return function(j){return(O||(O=n.\u0275\u0275getInheritedFactory(Be)))(j||Be)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},standalone:!0,features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})();const wr=(Be,ot,O)=>{if(!Be)throw new Error(`${O} should be used as child of ${ot} only.`)};let Qi=(()=>{class Be{constructor(O,te,j){this.renderer=O,this.elementRef=te,this.config=j}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(O){"size"in O&&(null!=O.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${O.size.currentValue}`),null!=O.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${O.size.previousValue}`))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(te,j){2&te&&n.\u0275\u0275classProp("fa-fw",j.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:Wn,decls:1,vars:0,template:function(te,j){1&te&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Pi=(()=>{class Be{constructor(O,te){this.parent=O,this.sanitizer=te,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(O){if(O){const te=this.buildParams();this.updateContent(te)}}buildParams(){const O=[];return null!=this.classes&&O.push(...this.classes),null!=this.position&&O.push(`fa-layers-${this.position}`),{title:this.title,classes:O,styles:this.styles}}updateContent(O){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(zt(this.content||"",O).html.join(""))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(bn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(te,j){2&te&&n.\u0275\u0275hostProperty("innerHTML",j.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})(),ei=(()=>{class Be{set spin(O){this.animation=O?"spin":void 0}set pulse(O){this.animation=O?"spin-pulse":void 0}constructor(O,te){this.parent=O,this.sanitizer=te,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(O){if(O){const te=this.buildParams();this.updateContent(te)}}buildParams(){const O={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?pe.transform(this.transform):this.transform,classes:[...fr(O),...this.classes],title:this.title,styles:this.styles}}updateContent(O){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ut(this.content||"",O).html.join("\n"))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(bn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(te,j){2&te&&n.\u0275\u0275hostProperty("innerHTML",j.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})(),oo=(()=>{class Be{static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Be});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Be})()},10716:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ActionSheetController:()=>Ai,AlertController:()=>vr,AngularDelegate:()=>ht,AnimationController:()=>mi,BooleanValueAccessor:()=>ct,Config:()=>we,DomController:()=>Bt,GestureController:()=>ji,ION_MAX_VALIDATOR:()=>Kn,ION_MIN_VALIDATOR:()=>fr,IonAccordion:()=>ti,IonAccordionGroup:()=>Xr,IonActionSheet:()=>Zr,IonAlert:()=>Vi,IonApp:()=>hr,IonAvatar:()=>Yi,IonBackButton:()=>Dt,IonBackButtonDelegate:()=>Dt,IonBackdrop:()=>ko,IonBadge:()=>go,IonBreadcrumb:()=>Jr,IonBreadcrumbs:()=>zi,IonButton:()=>qi,IonButtons:()=>ro,IonCard:()=>Rr,IonCardContent:()=>mo,IonCardHeader:()=>_i,IonCardSubtitle:()=>xi,IonCardTitle:()=>qr,IonCheckbox:()=>ar,IonChip:()=>bo,IonCol:()=>wi,IonContent:()=>bi,IonDatetime:()=>Eo,IonDatetimeButton:()=>po,IonFab:()=>zr,IonFabButton:()=>yo,IonFabList:()=>Ni,IonFooter:()=>Gr,IonGrid:()=>Lo,IonHeader:()=>Oi,IonIcon:()=>Xi,IonImg:()=>Li,IonInfiniteScroll:()=>Gi,IonInfiniteScrollContent:()=>Wo,IonInput:()=>Co,IonItem:()=>Ro,IonItemDivider:()=>wo,IonItemGroup:()=>ys,IonItemOption:()=>Go,IonItemOptions:()=>ns,IonItemSliding:()=>rs,IonLabel:()=>Ki,IonList:()=>uo,IonListHeader:()=>So,IonLoading:()=>cs,IonMaxValidator:()=>$r,IonMenu:()=>co,IonMenuButton:()=>Fo,IonMenuToggle:()=>Do,IonMinValidator:()=>tr,IonModal:()=>bn,IonNav:()=>Rt,IonNavLink:()=>Ko,IonNote:()=>hs,IonPicker:()=>Qo,IonPopover:()=>Wn,IonProgressBar:()=>Ye,IonRadio:()=>Qe,IonRadioGroup:()=>ke,IonRange:()=>ut,IonRefresher:()=>kt,IonRefresherContent:()=>$n,IonReorder:()=>Vn,IonReorderGroup:()=>$i,IonRippleEffect:()=>Mo,IonRouterOutlet:()=>Le,IonRow:()=>Ao,IonSearchbar:()=>ho,IonSegment:()=>Ur,IonSegmentButton:()=>Xo,IonSelect:()=>is,IonSelectOption:()=>Zi,IonSkeletonText:()=>Zo,IonSpinner:()=>xo,IonSplitPane:()=>_o,IonTabBar:()=>Di,IonTabButton:()=>To,IonTabs:()=>Ze,IonText:()=>Cs,IonTextarea:()=>os,IonThumbnail:()=>io,IonTitle:()=>fs,IonToast:()=>Je,IonToggle:()=>oe,IonToolbar:()=>pe,IonicModule:()=>ot,IonicRouteStrategy:()=>Er,IonicSafeString:()=>Te.I,IonicSlides:()=>mn,LoadingController:()=>Ti,MenuController:()=>Ji,ModalController:()=>Sn,NavController:()=>vn,NavParams:()=>je,NumericValueAccessor:()=>lo,PickerController:()=>wr,Platform:()=>hn,PopoverController:()=>Qi,RadioValueAccessor:()=>vi,RouterLinkDelegate:()=>Ut,RouterLinkWithHrefDelegate:()=>zt,SelectValueAccessor:()=>_r,TextValueAccessor:()=>Pn,ToastController:()=>Pi,createAnimation:()=>ur.c,createGesture:()=>de.createGesture,getIonPageElement:()=>Ei.g,getPlatforms:()=>Fe.g,getTimeGivenProgression:()=>z.g,iosTransitionAnimation:()=>un.iosTransitionAnimation,isPlatform:()=>Fe.a,mdTransitionAnimation:()=>B.mdTransitionAnimation,openURL:()=>me.o});var n=o(54496),i=o(44716),d=o(1528),u=o(56568),a=o(91368);class e{constructor(){this.m=new Map}reset(te){this.m=new Map(Object.entries(te))}get(te,j){const he=this.m.get(te);return void 0!==he?he:j}getBoolean(te,j=!1){const he=this.m.get(te);return void 0===he?j:"string"==typeof he?"true"===he:!!he}getNumber(te,j){const he=parseFloat(this.m.get(te));return isNaN(he)?void 0!==j?j:NaN:he}set(te,j){this.m.set(te,j)}}const c=new e,m=O=>C(O),C=(O=window)=>{if(typeof O>"u")return[];O.Ionic=O.Ionic||{};let te=O.Ionic.platforms;return null==te&&(te=O.Ionic.platforms=v(O),te.forEach(j=>O.document.documentElement.classList.add(`plt-${j}`))),te},v=O=>{const te=c.get("platform");return Object.keys(H).filter(j=>{const he=te?.[j];return"function"==typeof he?he(O):H[j](O)})},E=O=>!!(ne(O,/iPad/i)||ne(O,/Macintosh/i)&&x(O)),R=O=>ne(O,/android|sink/i),x=O=>Y(O,"(any-pointer:coarse)"),F=O=>ee(O)||X(O),ee=O=>!!(O.cordova||O.phonegap||O.PhoneGap),X=O=>{const te=O.Capacitor;return!!te?.isNative},ne=(O,te)=>te.test(O.navigator.userAgent),Y=(O,te)=>{var j;return null===(j=O.matchMedia)||void 0===j?void 0:j.call(O,te).matches},H={ipad:E,iphone:O=>ne(O,/iPhone/i),ios:O=>ne(O,/iPhone|iPod/i)||E(O),android:R,phablet:O=>{const te=O.innerWidth,j=O.innerHeight,he=Math.min(te,j),Oe=Math.max(te,j);return he>390&&he<520&&Oe>620&&Oe<800},tablet:O=>{const te=O.innerWidth,j=O.innerHeight,he=Math.min(te,j),Oe=Math.max(te,j);return E(O)||(O=>R(O)&&!ne(O,/mobile/i))(O)||he>460&&he<820&&Oe>780&&Oe<1400},cordova:ee,capacitor:X,electron:O=>ne(O,/electron/i),pwa:O=>{var te;return!!(null!==(te=O.matchMedia)&&void 0!==te&&te.call(O,"(display-mode: standalone)").matches||O.navigator.standalone)},mobile:x,mobileweb:O=>x(O)&&!F(O),desktop:O=>!x(O),hybrid:F};var W=o(51896),re=o(19248),G=o(95657),ue=o(70800),ye=o(46700),Ie=o(56040),be=o(82700),ie=o(81316),De=o(66684),ze=o(17368),qe=o(528),nt=o(95448),ft=o(87773);function mt(O,te){return O===te}const Wt=["tabsInner"];class bt{constructor(te){this.menuController=te}open(te){return this.menuController.open(te)}close(te){return this.menuController.close(te)}toggle(te){return this.menuController.toggle(te)}enable(te,j){return this.menuController.enable(te,j)}swipeGesture(te,j){return this.menuController.swipeGesture(te,j)}isOpen(te){return this.menuController.isOpen(te)}isEnabled(te){return this.menuController.isEnabled(te)}get(te){return this.menuController.get(te)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(te,j){return this.menuController.registerAnimation(te,j)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(te,j){return this.menuController._createAnimation(te,j)}_register(te){return this.menuController._register(te)}_unregister(te){return this.menuController._unregister(te)}_setOpen(te,j,he){return this.menuController._setOpen(te,j,he)}}let Bt=(()=>{class O{read(j){an().read(j)}write(j){an().write(j)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const an=()=>{const O=typeof window<"u"?window:null;if(null!=O){const te=O.Ionic;return te?.queue?te.queue:{read:j=>O.requestAnimationFrame(j),write:j=>O.requestAnimationFrame(j)}}return{read:te=>te(),write:te=>te()}};let hn=(()=>{class O{constructor(j,he){this.doc=j,this.backButton=new G.E,this.keyboardDidShow=new G.E,this.keyboardDidHide=new G.E,this.pause=new G.E,this.resume=new G.E,this.resize=new G.E,he.run(()=>{let Oe;this.win=j.defaultView,this.backButton.subscribeWithPriority=function(vt,Ft){return this.subscribe(cn=>cn.register(vt,q=>he.run(()=>Ft(q))))},An(this.pause,j,"pause",he),An(this.resume,j,"resume",he),An(this.backButton,j,"ionBackButton",he),An(this.resize,this.win,"resize",he),An(this.keyboardDidShow,this.win,"ionKeyboardDidShow",he),An(this.keyboardDidHide,this.win,"ionKeyboardDidHide",he),this._readyPromise=new Promise(vt=>{Oe=vt}),this.win?.cordova?j.addEventListener("deviceready",()=>{Oe("cordova")},{once:!0}):Oe("dom")})}is(j){return((O,te)=>("string"==typeof O&&(te=O,O=void 0),m(O).includes(te)))(this.win,j)}platforms(){return m(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(j){return wn(this.win.location.href,j)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(j){const he=this.win.navigator;return!!(he?.userAgent&&he.userAgent.indexOf(j)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275inject(a.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const wn=(O,te)=>{te=te.replace(/[[\]\\]/g,"\\$&");const he=new RegExp("[\\?&]"+te+"=([^&#]*)").exec(O);return he?decodeURIComponent(he[1].replace(/\+/g," ")):null},An=(O,te,j,he)=>{te&&te.addEventListener(j,Oe=>{he.run(()=>{const vt=Oe?.detail;O.next(vt)})})};let vn=(()=>{class O{constructor(j,he,Oe,vt){this.location=he,this.serializer=Oe,this.router=vt,this.direction=dt,this.animated=Ue,this.guessDirection="forward",this.lastNavId=-1,vt&&vt.events.subscribe(Ft=>{if(Ft instanceof u.NavigationStart){const cn=Ft.restoredState?Ft.restoredState.navigationId:Ft.id;this.guessDirection=cn{this.pop(),Ft()})}navigateForward(j,he={}){return this.setDirection("forward",he.animated,he.animationDirection,he.animation),this.navigate(j,he)}navigateBack(j,he={}){return this.setDirection("back",he.animated,he.animationDirection,he.animation),this.navigate(j,he)}navigateRoot(j,he={}){return this.setDirection("root",he.animated,he.animationDirection,he.animation),this.navigate(j,he)}back(j={animated:!0,animationDirection:"back"}){return this.setDirection("back",j.animated,j.animationDirection,j.animation),this.location.back()}pop(){var j=this;return(0,d.c)(function*(){let he=j.topOutlet;for(;he;){if(yield he.pop())return!0;he=he.parentOutlet}return!1})()}setDirection(j,he,Oe,vt){this.direction=j,this.animated=en(j,he,Oe),this.animationBuilder=vt}setTopOutlet(j){this.topOutlet=j}consumeTransition(){let he,j="root";const Oe=this.animationBuilder;return"auto"===this.direction?(j=this.guessDirection,he=this.guessAnimation):(he=this.animated,j=this.direction),this.direction=dt,this.animated=Ue,this.animationBuilder=void 0,{direction:j,animation:he,animationBuilder:Oe}}navigate(j,he){if(Array.isArray(j))return this.router.navigate(j,he);{const Oe=this.serializer.parse(j.toString());return void 0!==he.queryParams&&(Oe.queryParams={...he.queryParams}),void 0!==he.fragment&&(Oe.fragment=he.fragment),this.router.navigateByUrl(Oe,he)}}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275inject(hn),n.\u0275\u0275inject(a.Location),n.\u0275\u0275inject(u.UrlSerializer),n.\u0275\u0275inject(u.Router,8))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const en=(O,te,j)=>{if(!1!==te){if(void 0!==j)return j;if("forward"===O||"back"===O)return O;if("root"===O&&!0===te)return"forward"}},dt="auto",Ue=void 0;let we=(()=>{class O{get(j,he){const Oe=Ge();return Oe?Oe.get(j,he):null}getBoolean(j,he){const Oe=Ge();return!!Oe&&Oe.getBoolean(j,he)}getNumber(j,he){const Oe=Ge();return Oe?Oe.getNumber(j,he):0}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Pe=new n.InjectionToken("USERCONFIG"),Ge=()=>{if(typeof window<"u"){const O=window.Ionic;if(O?.config)return O.config}return null};class je{constructor(te={}){this.data=te}get(te){return this.data[te]}}let ht=(()=>{class O{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(j,he,Oe){return new He(j,he,this.applicationRef,this.zone,Oe)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();class He{constructor(te,j,he,Oe,vt){this.environmentInjector=te,this.injector=j,this.applicationRef=he,this.zone=Oe,this.elementReferenceKey=vt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(te,j,he,Oe){return this.zone.run(()=>new Promise(vt=>{const Ft={...he};void 0!==this.elementReferenceKey&&(Ft[this.elementReferenceKey]=te),vt(_t(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,te,j,Ft,Oe,this.elementReferenceKey))}))}removeViewFromDom(te,j){return this.zone.run(()=>new Promise(he=>{const Oe=this.elRefMap.get(j);if(Oe){Oe.destroy(),this.elRefMap.delete(j);const vt=this.elEventsMap.get(j);vt&&(vt(),this.elEventsMap.delete(j))}he()}))}}const _t=(O,te,j,he,Oe,vt,Ft,cn,q,Ve,Se)=>{const Re=n.Injector.create({providers:Yt(q),parent:j}),Mt=(0,n.createComponent)(cn,{environmentInjector:te,elementInjector:Re}),Xt=Mt.instance,sn=Mt.location.nativeElement;if(q&&(Se&&void 0!==Xt[Se]&&console.error(`[Ionic Error]: ${Se} is a reserved property when using ${Ft.tagName.toLowerCase()}. Rename or remove the "${Se}" property from ${cn.name}.`),Object.assign(Xt,q)),Ve)for(const gr of Ve)sn.classList.add(gr);const In=Et(O,Xt,sn);return Ft.appendChild(sn),he.attachView(Mt.hostView),Oe.set(sn,Mt),vt.set(sn,In),sn},lt=[W.L,W.a,W.b,W.c,W.d],Et=(O,te,j)=>O.run(()=>{const he=lt.filter(Oe=>"function"==typeof te[Oe]).map(Oe=>{const vt=Ft=>te[Oe](Ft.detail);return j.addEventListener(Oe,vt),()=>j.removeEventListener(Oe,vt)});return()=>he.forEach(Oe=>Oe())}),it=new n.InjectionToken("NavParamsToken"),Yt=O=>[{provide:it,useValue:O},{provide:je,useFactory:gt,deps:[it]}],gt=O=>new je(O),Tt=(O,te)=>{const j=O.prototype;te.forEach(he=>{Object.defineProperty(j,he,{get(){return this.el[he]},set(Oe){this.z.runOutsideAngular(()=>this.el[he]=Oe)}})})},Ht=(O,te)=>{const j=O.prototype;te.forEach(he=>{j[he]=function(){const Oe=arguments;return this.z.runOutsideAngular(()=>this.el[he].apply(this.el,Oe))}})},Zt=(O,te,j)=>{j.forEach(he=>O[he]=(0,ue.w)(te,he))};function wt(O){return function(j){const{defineCustomElementFn:he,inputs:Oe,methods:vt}=O;return void 0!==he&&he(),Oe&&Tt(j,Oe),vt&&Ht(j,vt),j}}const $t=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Ct=["present","dismiss","onDidDismiss","onWillDismiss"];let It=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,this.isCmpOpen=!1,this.el=he.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,j.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,j.detectChanges()}),Zt(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-popover"]],contentQueries:function(j,he,Oe){if(1&j&&n.\u0275\u0275contentQuery(Oe,n.TemplateRef,5),2&j){let vt;n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.template=vt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),O=(0,ie.__decorate)([wt({inputs:$t,methods:Ct})],O),O})();const tn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],yn=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Tn=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,this.isCmpOpen=!1,this.el=he.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,j.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,j.detectChanges()}),Zt(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-modal"]],contentQueries:function(j,he,Oe){if(1&j&&n.\u0275\u0275contentQuery(Oe,n.TemplateRef,5),2&j){let vt;n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.template=vt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),O=(0,ie.__decorate)([wt({inputs:tn,methods:yn})],O),O})();const nr=(O,te)=>((O=O.filter(j=>j.stackId!==te.stackId)).push(te),O),sr=(O,te)=>{const j=O.createUrlTree(["."],{relativeTo:te});return O.serializeUrl(j)},Mr=(O,te)=>!te||O.stackId!==te.stackId,yr=(O,te)=>{if(!O)return;const j=qn(te);for(let he=0;he=O.length)return j[he];if(j[he]!==O[he])return}},qn=O=>O.split("/").map(te=>te.trim()).filter(te=>""!==te),Rn=O=>{O&&(O.ref.destroy(),O.unlistenEvents())};class oi{constructor(te,j,he,Oe,vt,Ft){this.containerEl=j,this.router=he,this.navCtrl=Oe,this.zone=vt,this.location=Ft,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==te?qn(te):void 0}createView(te,j){const he=sr(this.router,j),Oe=te?.location?.nativeElement,vt=Et(this.zone,te.instance,Oe);return{id:this.nextId++,stackId:yr(this.tabsPrefix,he),unlistenEvents:vt,element:Oe,ref:te,url:he}}getExistingView(te){const j=sr(this.router,te),he=this.views.find(Oe=>Oe.url===j);return he&&he.ref.changeDetectorRef.reattach(),he}setActive(te){const j=this.navCtrl.consumeTransition();let{direction:he,animation:Oe,animationBuilder:vt}=j;const Ft=this.activeView,cn=Mr(te,Ft);cn&&(he="back",Oe=void 0);const q=this.views.slice();let Ve;const Se=this.router;Se.getCurrentNavigation?Ve=Se.getCurrentNavigation():Se.navigations?.value&&(Ve=Se.navigations.value),Ve?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Re=this.views.includes(te),Mt=this.insertView(te,he);Re||te.ref.changeDetectorRef.detectChanges();const Xt=te.animationBuilder;return void 0===vt&&"back"===he&&!cn&&void 0!==Xt&&(vt=Xt),Ft&&(Ft.animationBuilder=vt),this.zone.runOutsideAngular(()=>this.wait(()=>(Ft&&Ft.ref.changeDetectorRef.detach(),te.ref.changeDetectorRef.reattach(),this.transition(te,Ft,Oe,this.canGoBack(1),!1,vt).then(()=>Sr(te,Mt,q,this.location,this.zone)).then(()=>({enteringView:te,direction:he,animation:Oe,tabSwitch:cn})))))}canGoBack(te,j=this.getActiveStackId()){return this.getStack(j).length>te}pop(te,j=this.getActiveStackId()){return this.zone.run(()=>{const he=this.getStack(j);if(he.length<=te)return Promise.resolve(!1);const Oe=he[he.length-te-1];let vt=Oe.url;const Ft=Oe.savedData;if(Ft){const q=Ft.get("primary");q?.route?._routerState?.snapshot.url&&(vt=q.route._routerState.snapshot.url)}const{animationBuilder:cn}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(vt,{...Oe.savedExtras,animation:cn}).then(()=>!0)})}startBackTransition(){const te=this.activeView;if(te){const j=this.getStack(te.stackId),he=j[j.length-2],Oe=he.animationBuilder;return this.wait(()=>this.transition(he,te,"back",this.canGoBack(2),!0,Oe))}return Promise.resolve()}endBackTransition(te){te?(this.skipTransition=!0,this.pop(1)):this.activeView&&pr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(te){const j=this.getStack(te);return j.length>0?j[j.length-1]:void 0}getRootUrl(te){const j=this.getStack(te);return j.length>0?j[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Rn),this.activeView=void 0,this.views=[]}getStack(te){return this.views.filter(j=>j.stackId===te)}insertView(te,j){return this.activeView=te,this.views=((O,te,j)=>"root"===j?nr(O,te):"forward"===j?((O,te)=>(O.indexOf(te)>=0?O=O.filter(he=>he.stackId!==te.stackId||he.id<=te.id):O.push(te),O))(O,te):((O,te)=>O.indexOf(te)>=0?O.filter(he=>he.stackId!==te.stackId||he.id<=te.id):nr(O,te))(O,te))(this.views,te,j),this.views.slice()}transition(te,j,he,Oe,vt,Ft){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(j===te)return Promise.resolve(!1);const cn=te?te.element:void 0,q=j?j.element:void 0,Ve=this.containerEl;return cn&&cn!==q&&(cn.classList.add("ion-page"),cn.classList.add("ion-page-invisible"),cn.parentElement!==Ve&&Ve.appendChild(cn),Ve.commit)?Ve.commit(cn,q,{duration:void 0===he?0:void 0,direction:he,showGoBack:Oe,progressAnimation:vt,animationBuilder:Ft}):Promise.resolve(!1)}wait(te){var j=this;return(0,d.c)(function*(){void 0!==j.runningTask&&(yield j.runningTask,j.runningTask=void 0);const he=j.runningTask=te();return he.finally(()=>j.runningTask=void 0),he})()}}const Sr=(O,te,j,he,Oe)=>"function"==typeof requestAnimationFrame?new Promise(vt=>{requestAnimationFrame(()=>{pr(O,te,j,he,Oe),vt()})}):Promise.resolve(),pr=(O,te,j,he,Oe)=>{Oe.run(()=>j.filter(vt=>!te.includes(vt)).forEach(Rn)),te.forEach(vt=>{const cn=he.path().split("?")[0].split("#")[0];if(vt!==O&&vt.url!==cn){const q=vt.element;q.setAttribute("aria-hidden","true"),q.classList.add("ion-page-hidden"),vt.ref.changeDetectorRef.detach()}})};let Jn=(()=>{class O{constructor(j,he,Oe,vt,Ft,cn,q,Ve){this.parentOutlet=Ve,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new ye.g(null),this.activated=null,this._activatedRoute=null,this.name=u.PRIMARY_OUTLET,this.stackWillChange=new n.EventEmitter,this.stackDidChange=new n.EventEmitter,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(u.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Or,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(we),this.navCtrl=(0,n.inject)(vn),this.nativeEl=vt.nativeElement,this.name=j||u.PRIMARY_OUTLET,this.tabsPrefix="true"===he?sr(Ft,q):void 0,this.stackCtrl=new oi(this.tabsPrefix,this.nativeEl,Ft,this.navCtrl,cn,Oe),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(j){this.nativeEl.animation=j}set animated(j){this.nativeEl.animated=j}set swipeGesture(j){this._swipeGesture=j,this.nativeEl.swipeHandler=j?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:he=>this.stackCtrl.endBackTransition(he)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const j=this.getContext();j?.route&&this.activateWith(j.route,j.injector)}new Promise(j=>(0,re.c)(this.nativeEl,j)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(j,he){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const he=this.getContext();this.activatedView.savedData=new Map(he.children.contexts);const Oe=this.activatedView.savedData.get("primary");if(Oe&&he.route&&(Oe.route={...he.route}),this.activatedView.savedExtras={},he.route){const vt=he.route.snapshot;this.activatedView.savedExtras.queryParams=vt.queryParams,this.activatedView.savedExtras.fragment=vt.fragment}}const j=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(j)}}activateWith(j,he){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=j;let Oe,vt=this.stackCtrl.getExistingView(j);if(vt){Oe=this.activated=vt.ref;const cn=vt.savedData;cn&&(this.getContext().children.contexts=cn),this.updateActivatedRouteProxy(Oe.instance,j)}else{const cn=j._futureSnapshot,q=this.parentContexts.getOrCreateContext(this.name).children,Ve=new ye.g(null),Se=this.createActivatedRouteProxy(Ve,j),Re=new er(Se,q,this.location.injector);Oe=this.activated=this.location.createComponent(cn.routeConfig.component??cn.component,{index:this.location.length,injector:Re,environmentInjector:he??this.environmentInjector}),Ve.next(Oe.instance),vt=this.stackCtrl.createView(this.activated,j),this.proxyMap.set(Oe.instance,Se),this.currentActivatedRoute$.next({component:Oe.instance,activatedRoute:j})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=vt,this.navCtrl.setTopOutlet(this);const Ft=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:vt,tabSwitch:Mr(vt,Ft)}),this.stackCtrl.setActive(vt).then(cn=>{this.activateEvents.emit(Oe.instance),this.stackDidChange.emit(cn)})}canGoBack(j=1,he){return this.stackCtrl.canGoBack(j,he)}pop(j=1,he){return this.stackCtrl.pop(j,he)}getLastUrl(j){const he=this.stackCtrl.getLastUrl(j);return he?he.url:void 0}getLastRouteView(j){return this.stackCtrl.getLastUrl(j)}getRootView(j){return this.stackCtrl.getRootUrl(j)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(j,he){const Oe=new u.ActivatedRoute;return Oe._futureSnapshot=he._futureSnapshot,Oe._routerState=he._routerState,Oe.snapshot=he.snapshot,Oe.outlet=he.outlet,Oe.component=he.component,Oe._paramMap=this.proxyObservable(j,"paramMap"),Oe._queryParamMap=this.proxyObservable(j,"queryParamMap"),Oe.url=this.proxyObservable(j,"url"),Oe.params=this.proxyObservable(j,"params"),Oe.queryParams=this.proxyObservable(j,"queryParams"),Oe.fragment=this.proxyObservable(j,"fragment"),Oe.data=this.proxyObservable(j,"data"),Oe}proxyObservable(j,he){return j.pipe((0,De.I)(Oe=>!!Oe),(0,ze.G)(Oe=>this.currentActivatedRoute$.pipe((0,De.I)(vt=>null!==vt&&vt.component===Oe),(0,ze.G)(vt=>vt&&vt.activatedRoute[he]),function rt(O,te=qe.Z){return O=O??mt,(0,nt.i)((j,he)=>{let Oe,vt=!0;j.subscribe((0,ft.e)(he,Ft=>{const cn=te(Ft);(vt||!O(Oe,cn))&&(vt=!1,Oe=cn,he.next(Ft))}))})}())))}updateActivatedRouteProxy(j,he){const Oe=this.proxyMap.get(j);if(!Oe)throw new Error("Could not find activated route proxy for view");Oe._futureSnapshot=he._futureSnapshot,Oe._routerState=he._routerState,Oe.snapshot=he.snapshot,Oe.outlet=he.outlet,Oe.component=he.component,this.currentActivatedRoute$.next({component:j,activatedRoute:he})}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(a.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(u.ActivatedRoute),n.\u0275\u0275directiveInject(O,12))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),O})();class er{constructor(te,j,he){this.route=te,this.childContexts=j,this.parent=he}get(te,j){return te===u.ActivatedRoute?this.route:te===u.ChildrenOutletContexts?this.childContexts:this.parent.get(te,j)}}const Or=new n.InjectionToken("");let pi=(()=>{class O{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(j){this.unsubscribeFromRouteData(j),this.subscribeToRouteData(j)}unsubscribeFromRouteData(j){this.outletDataSubscriptions.get(j)?.unsubscribe(),this.outletDataSubscriptions.delete(j)}subscribeToRouteData(j){const{activatedRoute:he}=j,Oe=(0,Ie.E)([he.queryParams,he.params,he.data]).pipe((0,ze.G)(([vt,Ft,cn],q)=>(cn={...vt,...Ft,...cn},0===q?(0,be.of)(cn):Promise.resolve(cn)))).subscribe(vt=>{if(!j.isActivated||!j.activatedComponentRef||j.activatedRoute!==he||null===he.component)return void this.unsubscribeFromRouteData(j);const Ft=(0,n.reflectComponentType)(he.component);if(Ft)for(const{templateName:cn}of Ft.inputs)j.activatedComponentRef.setInput(cn,vt[cn]);else this.unsubscribeFromRouteData(j)});this.outletDataSubscriptions.set(j,Oe)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();function jn(O){return O?.componentInputBindingEnabled?new pi:null}const Qn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let or=(()=>{let O=class{constructor(j,he,Oe,vt,Ft,cn){this.routerOutlet=j,this.navCtrl=he,this.config=Oe,this.r=vt,this.z=Ft,cn.detach(),this.el=this.r.nativeElement}onClick(j){const he=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),j.preventDefault()):null!=he&&(this.navCtrl.navigateBack(he,{animation:this.routerAnimation}),j.preventDefault())}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(Jn,8),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("click",function(vt){return he.onClick(vt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),O=(0,ie.__decorate)([wt({inputs:Qn})],O),O})(),ui=(()=>{class O{constructor(j,he,Oe,vt,Ft){this.locationStrategy=j,this.navCtrl=he,this.elementRef=Oe,this.router=vt,this.routerLink=Ft,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const j=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=j}}onClick(j){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),j.preventDefault()}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(a.LocationStrategy),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(u.RouterLink,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("click",function(vt){return he.onClick(vt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),O})(),Ir=(()=>{class O{constructor(j,he,Oe,vt,Ft){this.locationStrategy=j,this.navCtrl=he,this.elementRef=Oe,this.router=vt,this.routerLink=Ft,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const j=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=j}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(a.LocationStrategy),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(u.RouterLink,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("click",function(){return he.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),O})();const at=["animated","animation","root","rootParams","swipeGesture"],Ot=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Pt=(()=>{let O=class{constructor(j,he,Oe,vt,Ft,cn){this.z=Ft,cn.detach(),this.el=j.nativeElement,j.nativeElement.delegate=vt.create(he,Oe),Zt(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(ht),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),O=(0,ie.__decorate)([wt({inputs:at,methods:Ot})],O),O})(),rn=(()=>{class O{constructor(j){this.navCtrl=j,this.ionTabsWillChange=new n.EventEmitter,this.ionTabsDidChange=new n.EventEmitter,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:j,tabSwitch:he}){const Oe=j.stackId;he&&void 0!==Oe&&this.ionTabsWillChange.emit({tab:Oe})}onStackDidChange({enteringView:j,tabSwitch:he}){const Oe=j.stackId;he&&void 0!==Oe&&(this.tabBar&&(this.tabBar.selectedTab=Oe),this.ionTabsDidChange.emit({tab:Oe}))}select(j){const he="string"==typeof j,Oe=he?j:j.detail.tab,vt=this.outlet.getActiveStackId()===Oe,Ft=`${this.outlet.tabsPrefix}/${Oe}`;if(he||j.stopPropagation(),vt){const cn=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(cn)?.url===Ft)return;const Ve=this.outlet.getRootView(Oe);return this.navCtrl.navigateRoot(Ft,{...Ve&&Ft===Ve.url&&Ve.savedExtras,animated:!0,animationDirection:"back"})}{const cn=this.outlet.getLastRouteView(Oe),q=cn?.url||Ft,Ve=cn?.savedExtras;return this.navCtrl.navigateRoot(q,{...Ve,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(j=>{const he=j.el.getAttribute("slot");he!==this.tabBarSlot&&(this.tabBarSlot=he,this.relocateTabBar())})}relocateTabBar(){const j=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(j):this.tabsInner.nativeElement.after(j)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(vn))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-tabs"]],viewQuery:function(j,he){if(1&j&&n.\u0275\u0275viewQuery(Wt,7,n.ElementRef),2&j){let Oe;n.\u0275\u0275queryRefresh(Oe=n.\u0275\u0275loadQuery())&&(he.tabsInner=Oe.first)}},hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionTabButtonClick",function(vt){return he.select(vt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),O})();const dn=O=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(O):"function"==typeof requestAnimationFrame?requestAnimationFrame(O):setTimeout(O);let En=(()=>{class O{constructor(j,he){this.injector=j,this.elementRef=he,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(j){this.elementRef.nativeElement.value=this.lastValue=j,Mn(this.elementRef)}handleValueChange(j,he){j===this.elementRef.nativeElement&&(he!==this.lastValue&&(this.lastValue=he,this.onChange(he)),Mn(this.elementRef))}_handleBlurEvent(j){j===this.elementRef.nativeElement&&(this.onTouched(),Mn(this.elementRef))}registerOnChange(j){this.onChange=j}registerOnTouched(j){this.onTouched=j}setDisabledState(j){this.elementRef.nativeElement.disabled=j}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let j;try{j=this.injector.get(i.NgControl)}catch{}if(!j)return;j.statusChanges&&(this.statusChanges=j.statusChanges.subscribe(()=>Mn(this.elementRef)));const he=j.control;he&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(vt=>{if(typeof he[vt]<"u"){const Ft=he[vt].bind(he);he[vt]=(...cn)=>{Ft(...cn),Mn(this.elementRef)}}})}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionBlur",function(vt){return he._handleBlurEvent(vt.target)})}}),O})();const Mn=O=>{dn(()=>{const te=O.nativeElement,j=null!=te.value&&te.value.toString().length>0,he=Xn(te);Yn(te,he);const Oe=te.closest("ion-item");Oe&&Yn(Oe,j?[...he,"item-has-value"]:he)})},Xn=O=>{const te=O.classList,j=[];for(let he=0;he{const j=O.classList;j.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),j.add(...te)},Tr=(O,te)=>O.substring(0,te.length)===te;class Er{shouldDetach(te){return!1}shouldAttach(te){return!1}store(te,j){}retrieve(te){return null}shouldReuseRoute(te,j){if(te.routeConfig!==j.routeConfig)return!1;const he=te.params,Oe=j.params,vt=Object.keys(he),Ft=Object.keys(Oe);if(vt.length!==Ft.length)return!1;for(const cn of vt)if(Oe[cn]!==he[cn])return!1;return!0}}class zn{constructor(te){this.ctrl=te}create(te){return this.ctrl.create(te||{})}dismiss(te,j,he){return this.ctrl.dismiss(te,j,he)}getTop(){return this.ctrl.getTop()}}var ur=o(30388),Ei=o(76256),un=o(68512),B=o(96556),z=o(86944),de=o(62528),Fe=o(88523),Te=o(59637),me=o(45256),Ae=o(43452),et=o(63816),At=(o(14829),o(62992));o(66560),o(72784);const mn=O=>{const{swiper:te,extendParams:j}=O,he={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};te.pagination&&(he.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),te.scrollbar&&(he.scrollbar={hide:!0}),j(he)},Cn=Fe.i,fn=function(){var O=(0,d.c)(function*(te,j){if(!(typeof window>"u"))return yield Cn(),(0,At.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),j)});return function(j,he){return O.apply(this,arguments)}}(),Gt=["*"],Nn=["outlet"],lr=[[["","slot","top"]],"*"],cr=["[slot=top]","*"];function Nr(O,te){if(1&O&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&O){const j=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",j.template)}}function Lr(O,te){if(1&O&&n.\u0275\u0275elementContainer(0,1),2&O){const j=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",j.template)}}let ct=(()=>{class O extends En{constructor(j,he){super(j,he)}writeValue(j){this.elementRef.nativeElement.checked=this.lastValue=j,Mn(this.elementRef)}_handleIonChange(j){this.handleValueChange(j,j.checked)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionChange",function(vt){return he._handleIonChange(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:O,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),lo=(()=>{class O extends En{constructor(j,he){super(j,he)}handleInputEvent(j){this.handleValueChange(j,j.value)}registerOnChange(j){super.registerOnChange(he=>{j(""===he?null:parseFloat(he))})}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-input","type","number"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionInput",function(vt){return he.handleInputEvent(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:O,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),vi=(()=>{class O extends En{constructor(j,he){super(j,he)}_handleIonSelect(j){this.handleValueChange(j,j.checked)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-radio"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionSelect",function(vt){return he._handleIonSelect(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:O,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),_r=(()=>{class O extends En{constructor(j,he){super(j,he)}_handleChangeEvent(j){this.handleValueChange(j,j.value)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionChange",function(vt){return he._handleChangeEvent(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:O,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Pn=(()=>{class O extends En{constructor(j,he){super(j,he)}_handleInputEvent(j){this.handleValueChange(j,j.value)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionInput",function(vt){return he._handleInputEvent(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:O,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),O})();const Gn=(O,te)=>{const j=O.prototype;te.forEach(he=>{Object.defineProperty(j,he,{get(){return this.el[he]},set(Oe){this.z.runOutsideAngular(()=>this.el[he]=Oe)},configurable:!0})})},si=(O,te)=>{const j=O.prototype;te.forEach(he=>{j[he]=function(){const Oe=arguments;return this.z.runOutsideAngular(()=>this.el[he].apply(this.el,Oe))}})},Pr=(O,te,j)=>{j.forEach(he=>O[he]=(0,ue.w)(te,he))};function Fn(O){return function(j){const{defineCustomElementFn:he,inputs:Oe,methods:vt}=O;return void 0!==he&&he(),Oe&&Gn(j,Oe),vt&&si(j,vt),j}}let ti=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],O),O})(),Xr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],O),O})(),Zr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],O),O})(),Vi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],O),O})(),hr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-app"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({})],O),O})(),Yi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-avatar"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({})],O),O})(),ko=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionBackdropTap"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["stopPropagation","tappable","visible"]})],O),O})(),go=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode"]})],O),O})(),Jr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],O),O})(),zi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionCollapsedClick"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],O),O})(),qi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],O),O})(),ro=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["collapse"]})],O),O})(),Rr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],O),O})(),mo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["mode"]})],O),O})(),_i=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode","translucent"]})],O),O})(),xi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode"]})],O),O})(),qr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode"]})],O),O})(),ar=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],O),O})(),bo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","disabled","mode","outline"]})],O),O})(),wi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],O),O})(),bi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],O),O})(),Eo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],O),O})(),po=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","datetime","disabled","mode"]})],O),O})(),zr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],O),O})(),yo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],O),O})(),Ni=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["activated","side"]})],O),O})(),Gr=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["collapse","mode","translucent"]})],O),O})(),Lo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["fixed"]})],O),O})(),Oi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["collapse","mode","translucent"]})],O),O})(),Xi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],O),O})(),Li=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["alt","src"]})],O),O})(),Gi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionInfinite"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled","position","threshold"],methods:["complete"]})],O),O})(),Wo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["loadingSpinner","loadingText"]})],O),O})(),Co=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],O),O})(),Ro=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],O),O})(),wo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode","sticky"]})],O),O})(),ys=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-item-group"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({})],O),O})(),Go=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],O),O})(),ns=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionSwipe"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["side"]})],O),O})(),rs=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionDrag"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],O),O})(),Ki=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode","position"]})],O),O})(),uo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],O),O})(),So=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","lines","mode"]})],O),O})(),cs=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],O),O})(),co=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],O),O})(),Fo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["autoHide","color","disabled","menu","mode","type"]})],O),O})(),Do=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["autoHide","menu"]})],O),O})(),Ko=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["component","componentProps","routerAnimation","routerDirection"]})],O),O})(),hs=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode"]})],O),O})(),Qo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-picker"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],O),O})(),Ye=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["buffer","color","mode","reversed","type","value"]})],O),O})(),Qe=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],O),O})(),ke=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["allowEmptySelection","compareWith","name","value"]})],O),O})(),ut=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],O),O})(),kt=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionRefresh","ionPull","ionStart"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],O),O})(),$n=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],O),O})(),Vn=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-reorder"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({})],O),O})(),$i=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionItemReorder"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled"],methods:["complete"]})],O),O})(),Mo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["type"],methods:["addRipple"]})],O),O})(),Ao=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-row"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({})],O),O})(),ho=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],O),O})(),Ur=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],O),O})(),Xo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled","layout","mode","type","value"]})],O),O})(),is=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],O),O})(),Zi=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled","value"]})],O),O})(),Zo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated"]})],O),O})(),xo=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","duration","name","paused"]})],O),O})(),_o=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionSplitPaneVisible"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["contentId","disabled","when"]})],O),O})(),Di=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode","selectedTab","translucent"]})],O),O})(),To=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],O),O})(),Cs=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode"]})],O),O})(),os=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],O),O})(),io=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-thumbnail"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({})],O),O})(),fs=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","size"]})],O),O})(),Je=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],O),O})(),oe=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Pr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],O),O})(),pe=(()=>{let O=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O=(0,ie.__decorate)([Fn({inputs:["color","mode"]})],O),O})(),Le=(()=>{class O extends Jn{constructor(j,he,Oe,vt,Ft,cn,q,Ve){super(j,he,Oe,vt,Ft,cn,q,Ve),this.parentOutlet=Ve}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(a.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(u.ActivatedRoute),n.\u0275\u0275directiveInject(O,12))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),Ze=(()=>{class O extends rn{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-tabs"]],contentQueries:function(j,he,Oe){if(1&j&&(n.\u0275\u0275contentQuery(Oe,Di,5),n.\u0275\u0275contentQuery(Oe,Di,4)),2&j){let vt;n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.tabBar=vt.first),n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.tabBars=vt)}},viewQuery:function(j,he){if(1&j&&n.\u0275\u0275viewQuery(Nn,5,Le),2&j){let Oe;n.\u0275\u0275queryRefresh(Oe=n.\u0275\u0275loadQuery())&&(he.outlet=Oe.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(lr),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(vt){return he.onStackWillChange(vt)})("stackDidChange",function(vt){return he.onStackDidChange(vt)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[Le],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),O})(),Dt=(()=>{class O extends or{constructor(j,he,Oe,vt,Ft,cn){super(j,he,Oe,vt,Ft,cn)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(Le,8),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O})(),Rt=(()=>{class O extends Pt{constructor(j,he,Oe,vt,Ft,cn){super(j,he,Oe,vt,Ft,cn)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(ht),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),O})(),Ut=(()=>{class O extends ui{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),zt=(()=>{class O extends Ir{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),bn=(()=>{class O extends Tn{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-modal"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(j,he){1&j&&n.\u0275\u0275template(0,Nr,2,1,"div",0),2&j&&n.\u0275\u0275property("ngIf",he.isCmpOpen||he.keepContentsMounted)},dependencies:[a.NgIf,a.NgTemplateOutlet],encapsulation:2,changeDetection:0}),O})(),Wn=(()=>{class O extends It{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(j,he){1&j&&n.\u0275\u0275template(0,Lr,1,1,"ng-container",0),2&j&&n.\u0275\u0275property("ngIf",he.isCmpOpen||he.keepContentsMounted)},dependencies:[a.NgIf,a.NgTemplateOutlet],encapsulation:2,changeDetection:0}),O})();const Kn={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>$r),multi:!0};let $r=(()=>{class O extends i.MaxValidator{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(j,he){2&j&&n.\u0275\u0275attribute("max",he._enabled?he.max:null)},features:[n.\u0275\u0275ProvidersFeature([Kn]),n.\u0275\u0275InheritDefinitionFeature]}),O})();const fr={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>tr),multi:!0};let tr=(()=>{class O extends i.MinValidator{}return O.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(O)))(he||O)}})(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(j,he){2&j&&n.\u0275\u0275attribute("min",he._enabled?he.min:null)},features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),vr=(()=>{class O extends zn{constructor(){super(et.a)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),mi=(()=>{class O{create(j){return(0,ur.c)(j)}easingTime(j,he,Oe,vt,Ft){return(0,z.g)(j,he,Oe,vt,Ft)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ai=(()=>{class O extends zn{constructor(){super(et.b)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),ji=(()=>{class O{constructor(j){this.zone=j}create(j,he=!1){return he&&Object.getOwnPropertyNames(j).forEach(Oe=>{if("function"==typeof j[Oe]){const vt=j[Oe];j[Oe]=(...Ft)=>this.zone.run(()=>vt(...Ft))}}),(0,de.createGesture)(j)}}return O.\u0275fac=function(j){return new(j||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ti=(()=>{class O extends zn{constructor(){super(et.l)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ji=(()=>{class O extends bt{constructor(){super(Ae.m)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Sn=(()=>{class O extends zn{constructor(){super(et.m),this.angularDelegate=(0,n.inject)(ht),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(j){return super.create({...j,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),wr=(()=>{class O extends zn{constructor(){super(et.p)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();class Qi extends zn{constructor(){super(et.c),this.angularDelegate=(0,n.inject)(ht),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(te){return super.create({...te,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Pi=(()=>{class O extends zn{constructor(){super(et.t)}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const ei=(O,te,j)=>()=>{const he=te.defaultView;if(he&&typeof window<"u"){(0,Te.s)({...O,_zoneGate:vt=>j.run(vt)});const Oe="__zone_symbol__addEventListener"in te.body?"__zone_symbol__addEventListener":"addEventListener";return function _n(){var O=[];if(typeof window<"u"){var te=window;(!te.customElements||te.Element&&(!te.Element.prototype.closest||!te.Element.prototype.matches||!te.Element.prototype.remove||!te.Element.prototype.getRootNode))&&O.push(o.e(4448).then(o.t.bind(o,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||te.NodeList&&!te.NodeList.prototype.forEach||!te.fetch||!function(){try{var he=new URL("b","http://a");return he.pathname="c%20d","http://a/c%20d"===he.href&&he.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&O.push(o.e(488).then(o.t.bind(o,36304,23)))}return Promise.all(O)}().then(()=>fn(he,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:dn,jmp:vt=>j.runOutsideAngular(vt),ael(vt,Ft,cn,q){vt[Oe](Ft,cn,q)},rel(vt,Ft,cn,q){vt.removeEventListener(Ft,cn,q)}}))}};let ot=(()=>{class O{static forRoot(j){return{ngModule:O,providers:[{provide:Pe,useValue:j},{provide:n.APP_INITIALIZER,useFactory:ei,multi:!0,deps:[Pe,a.DOCUMENT,n.NgZone]},{provide:Or,useFactory:jn,deps:[u.Router]}]}}}return O.\u0275fac=function(j){return new(j||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({providers:[ht,Sn,Qi],imports:[a.CommonModule]}),O})()},2300:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{EditorComponent:()=>J,EditorModule:()=>K,TINYMCE_SCRIPT_SRC:()=>H});var n=o(54496),i=o(91368),d=o(44716),u=o(70800),a=o(41424),e=o(95657),c=o(53616),l=o(3992),g=o(32700),b=o(22540),p=o(50560),S=o(41760),y=o(95448);function h(W,re,...G){if(!0===re)return void W();if(!1===re)return;const ue=new S.ot({next:()=>{ue.unsubscribe(),W()}});return(0,p.Uv)(re(...G)).subscribe(ue)}function v(W,re){}const M=()=>{const W=typeof window<"u"?window:void 0;return W&&W.tinymce?W.tinymce:null};let E=(()=>{class W{constructor(){this.onBeforePaste=new n.EventEmitter,this.onBlur=new n.EventEmitter,this.onClick=new n.EventEmitter,this.onContextMenu=new n.EventEmitter,this.onCopy=new n.EventEmitter,this.onCut=new n.EventEmitter,this.onDblclick=new n.EventEmitter,this.onDrag=new n.EventEmitter,this.onDragDrop=new n.EventEmitter,this.onDragEnd=new n.EventEmitter,this.onDragGesture=new n.EventEmitter,this.onDragOver=new n.EventEmitter,this.onDrop=new n.EventEmitter,this.onFocus=new n.EventEmitter,this.onFocusIn=new n.EventEmitter,this.onFocusOut=new n.EventEmitter,this.onKeyDown=new n.EventEmitter,this.onKeyPress=new n.EventEmitter,this.onKeyUp=new n.EventEmitter,this.onMouseDown=new n.EventEmitter,this.onMouseEnter=new n.EventEmitter,this.onMouseLeave=new n.EventEmitter,this.onMouseMove=new n.EventEmitter,this.onMouseOut=new n.EventEmitter,this.onMouseOver=new n.EventEmitter,this.onMouseUp=new n.EventEmitter,this.onPaste=new n.EventEmitter,this.onSelectionChange=new n.EventEmitter,this.onActivate=new n.EventEmitter,this.onAddUndo=new n.EventEmitter,this.onBeforeAddUndo=new n.EventEmitter,this.onBeforeExecCommand=new n.EventEmitter,this.onBeforeGetContent=new n.EventEmitter,this.onBeforeRenderUI=new n.EventEmitter,this.onBeforeSetContent=new n.EventEmitter,this.onChange=new n.EventEmitter,this.onClearUndos=new n.EventEmitter,this.onDeactivate=new n.EventEmitter,this.onDirty=new n.EventEmitter,this.onExecCommand=new n.EventEmitter,this.onGetContent=new n.EventEmitter,this.onHide=new n.EventEmitter,this.onInit=new n.EventEmitter,this.onInitNgModel=new n.EventEmitter,this.onLoadContent=new n.EventEmitter,this.onNodeChange=new n.EventEmitter,this.onPostProcess=new n.EventEmitter,this.onPostRender=new n.EventEmitter,this.onPreInit=new n.EventEmitter,this.onPreProcess=new n.EventEmitter,this.onProgressState=new n.EventEmitter,this.onRedo=new n.EventEmitter,this.onRemove=new n.EventEmitter,this.onReset=new n.EventEmitter,this.onResizeEditor=new n.EventEmitter,this.onSaveContent=new n.EventEmitter,this.onSetAttrib=new n.EventEmitter,this.onObjectResizeStart=new n.EventEmitter,this.onObjectResized=new n.EventEmitter,this.onObjectSelected=new n.EventEmitter,this.onSetContent=new n.EventEmitter,this.onShow=new n.EventEmitter,this.onSubmit=new n.EventEmitter,this.onUndo=new n.EventEmitter,this.onVisualAid=new n.EventEmitter}}return W.\u0275fac=function(G){return new(G||W)},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),W})();const A=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],T=(W,re,G)=>(0,u.w)(W,re).pipe((0,c.a)(G)),P=(W,re)=>"string"==typeof W?W.split(",").map(G=>G.trim()):Array.isArray(W)?W:re;let L=0;const V=W=>typeof W<"u"&&"textarea"===W.tagName.toLowerCase(),F=W=>typeof W>"u"||""===W?[]:Array.isArray(W)?W:W.split(" "),ee=(W,re)=>F(W).concat(F(re)),X=()=>{},ce=W=>null==W,Y=(()=>{let W={script$:null};return{load:(ue,ye)=>W.script$||(W.script$=(0,a.Q)(()=>{const Ie=ue.createElement("script");return Ie.referrerPolicy="origin",Ie.type="application/javascript",Ie.src=ye,ue.head.appendChild(Ie),(0,u.w)(Ie,"load").pipe((0,l.U)(1),(0,g.e)(void 0))}).pipe(function C(W,re,G){let ue,ye=!1;return W&&"object"==typeof W?({bufferSize:ue=1/0,windowTime:re=1/0,refCount:ye=!1,scheduler:G}=W):ue=W??1/0,function m(W={}){const{connector:re=(()=>new e.E),resetOnError:G=!0,resetOnComplete:ue=!0,resetOnRefCountZero:ye=!0}=W;return Ie=>{let be,ie,De,ze=0,qe=!1,nt=!1;const ft=()=>{ie?.unsubscribe(),ie=void 0},rt=()=>{ft(),be=De=void 0,qe=nt=!1},mt=()=>{const Wt=be;rt(),Wt?.unsubscribe()};return(0,y.i)((Wt,bt)=>{ze++,!nt&&!qe&&ft();const Bt=De=De??re();bt.add(()=>{ze--,0===ze&&!nt&&!qe&&(ie=h(mt,ye))}),Bt.subscribe(bt),!be&&ze>0&&(be=new S.ot({next:an=>Bt.next(an),error:an=>{nt=!0,ft(),ie=h(rt,G,an),Bt.error(an)},complete:()=>{qe=!0,ft(),ie=h(rt,ue),Bt.complete()}}),(0,p.Uv)(Wt).subscribe(be))})(Ie)}}({connector:()=>new b.o(ue,re,G),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ye})}({bufferSize:1,refCount:!0}))),reinitialize:()=>{W={script$:null}}}})(),H=new n.InjectionToken("TINYMCE_SCRIPT_SRC"),ae={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>J),multi:!0};let J=(()=>{class W extends E{constructor(G,ue,ye,Ie){super(),this.platformId=ye,this.tinymceScriptSrc=Ie,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=X,this.destroy$=new e.E,this.initialise=()=>{const be={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:ee(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:ie=>{this._editor=ie,T(ie,"init",this.destroy$).subscribe(()=>{this.initEditor(ie)}),((W,re,G)=>{(W=>{const re=P(W.ignoreEvents,[]);return P(W.allowedEvents,A).filter(ue=>A.includes(ue)&&!re.includes(ue))})(W).forEach(ye=>{const Ie=W[ye];T(re,ye.substring(2),G).subscribe(be=>{Ie.observers.length>0&&W.ngZone.run(()=>Ie.emit({event:be,editor:re}))})})})(this,ie,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(ie)}};V(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{M().init(be)})},this._elementRef=G,this.ngZone=ue}set disabled(G){this._disabled=G,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(G?"readonly":"design"):this._editor.setMode(G?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(G){this._editor&&this._editor.initialized?this._editor.setContent(ce(G)?"":G):this.initialValue=null===G?void 0:G}registerOnChange(G){this.onChangeCallback=G}registerOnTouched(G){this.onTouchedCallback=G}setDisabledState(G){this.disabled=G}ngAfterViewInit(){(0,i.isPlatformBrowser)(this.platformId)&&(this.id=this.id||(W=>{const G=(new Date).getTime(),ue=Math.floor(1e9*Math.random());return L++,"tiny-angular_"+ue+L+String(G)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==M()?this.initialise():this._element&&this._element.ownerDocument&&Y.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,c.a)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==M()&&M().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,V(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return ce(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(G){T(G,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),T(G,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(G))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{G.setContent(this.initialValue),G.getContent()!==this.initialValue&&this.emitOnChange(G),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(G)})}emitOnChange(G){this.onChangeCallback&&this.onChangeCallback(G.getContent({format:this.outputFormat}))}}return W.\u0275fac=function(G){return new(G||W)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(H,8))},W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[n.\u0275\u0275ProvidersFeature([ae]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(G,ue){1&G&&n.\u0275\u0275template(0,v,0,0,"ng-template")},dependencies:[i.CommonModule,d.FormsModule],styles:["[_nghost-%COMP%]{display:block}"]}),W})(),K=(()=>{class W{}return W.\u0275fac=function(G){return new(G||W)},W.\u0275mod=n.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=n.\u0275\u0275defineInjector({imports:[J]}),W})()},17964:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{add:()=>ye,after:()=>Ge,ary:()=>wr,assign:()=>Ps,assignIn:()=>Vr,assignInWith:()=>al,assignWith:()=>Bd,at:()=>Fb,attempt:()=>nh,before:()=>Qg,bind:()=>pl,bindAll:()=>jb,bindKey:()=>dc,camelCase:()=>Cl,capitalize:()=>uh,castArray:()=>My,ceil:()=>wy,chain:()=>gm,chunk:()=>bc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>$m,cloneWith:()=>d0,commit:()=>Nh,compact:()=>f0,concat:()=>Es,cond:()=>O0,conforms:()=>ap,conformsTo:()=>Pc,constant:()=>Jr,countBy:()=>j0,create:()=>up,curry:()=>Pl,curryRight:()=>Ju,debounce:()=>fp,deburr:()=>Ta,default:()=>vI,defaultTo:()=>gp,defaults:()=>zs,defaultsDeep:()=>vp,defer:()=>bp,delay:()=>mA,difference:()=>X0,differenceBy:()=>xc,differenceWith:()=>Z0,divide:()=>J0,drop:()=>eC,dropRight:()=>Sp,dropRightWhile:()=>Oo,dropWhile:()=>tf,each:()=>rd,eachRight:()=>id,endsWith:()=>Il,entries:()=>na,entriesIn:()=>Ap,eq:()=>oo,escape:()=>af,escapeRegExp:()=>hC,every:()=>mC,extend:()=>Vr,extendWith:()=>al,fill:()=>cf,filter:()=>CC,find:()=>MC,findIndex:()=>ld,findKey:()=>kp,findLast:()=>AC,findLastIndex:()=>df,findLastKey:()=>PC,first:()=>cd,flatMap:()=>xC,flatMapDeep:()=>LC,flatMapDepth:()=>Np,flatten:()=>Zd,flattenDeep:()=>RC,flattenDepth:()=>jp,flip:()=>jC,floor:()=>Fc,flow:()=>HC,flowRight:()=>Bp,forEach:()=>rd,forEachRight:()=>id,forIn:()=>YC,forInRight:()=>zC,forOwn:()=>Up,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>gf,functionsIn:()=>WC,get:()=>Tu,groupBy:()=>GC,gt:()=>Yp,gte:()=>nT,has:()=>eS,hasIn:()=>zh,head:()=>cd,identity:()=>ht,inRange:()=>nS,includes:()=>Xa,indexOf:()=>oS,initial:()=>$p,intersection:()=>Io,intersectionBy:()=>xl,intersectionWith:()=>Uc,invert:()=>pd,invertBy:()=>uS,invoke:()=>hS,invokeMap:()=>Df,isArguments:()=>ss,isArray:()=>Y,isArrayBuffer:()=>Af,isArrayLike:()=>Xt,isArrayLikeObject:()=>Po,isBoolean:()=>qp,isBuffer:()=>Jo,isDate:()=>_S,isElement:()=>vS,isEmpty:()=>Tf,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>Yt,isInteger:()=>Pf,isLength:()=>Re,isMap:()=>Uu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>s_,isNative:()=>a_,isNil:()=>Yc,isNull:()=>Ll,isNumber:()=>If,isObject:()=>ft,isObjectLike:()=>P,isPlainObject:()=>Aa,isRegExp:()=>Fa,isSafeInteger:()=>Nl,isSet:()=>Xy,isString:()=>hd,isSymbol:()=>V,isTypedArray:()=>fe,isUndefined:()=>jl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RS,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>to,keysIn:()=>ps,last:()=>ks,lastIndexOf:()=>FS,lodash:()=>ct,lowerCase:()=>jS,lowerFirst:()=>p_,lt:()=>US,lte:()=>v_,map:()=>Rc,mapKeys:()=>VS,mapValues:()=>b_,matches:()=>CT,matchesProperty:()=>jf,max:()=>M_,maxBy:()=>Ws,mean:()=>WS,meanBy:()=>Xc,memoize:()=>Lb,merge:()=>w_,mergeWith:()=>_p,method:()=>GS,methodOf:()=>D_,min:()=>QS,minBy:()=>A_,mixin:()=>Hf,multiply:()=>T_,negate:()=>Ul,next:()=>Yf,noop:()=>Te,now:()=>Ic,nth:()=>x_,nthArg:()=>O_,omit:()=>vd,omitBy:()=>Gf,once:()=>cM,orderBy:()=>Qf,over:()=>hM,overArgs:()=>qa,overEvery:()=>bd,overSome:()=>ws,pad:()=>Sd,padEnd:()=>MM,padStart:()=>ru,parseInt:()=>wM,partial:()=>qf,partialRight:()=>iu,partition:()=>G_,pick:()=>K_,pickBy:()=>Jc,plant:()=>Md,property:()=>x0,propertyOf:()=>Q_,pull:()=>IM,pullAll:()=>J_,pullAllBy:()=>kM,pullAllWith:()=>xM,pullAt:()=>eg,random:()=>_P,range:()=>tg,rangeRight:()=>ng,rearg:()=>rg,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>gv,repeat:()=>mv,replace:()=>pv,rest:()=>_v,result:()=>ig,reverse:()=>ou,round:()=>og,sample:()=>sg,sampleSize:()=>lg,set:()=>cg,setWith:()=>ug,shuffle:()=>eE,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>Uv,sortedIndex:()=>aE,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>zv,sortedLastIndexOf:()=>$v,sortedUniq:()=>Wv,sortedUniqBy:()=>Gv,split:()=>vE,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>lu,stubArray:()=>Sm,stubFalse:()=>Ks,stubObject:()=>Xv,stubString:()=>bs,stubTrue:()=>EE,subtract:()=>wE,sum:()=>uu,sumBy:()=>fg,tail:()=>Zv,take:()=>Jv,takeRight:()=>gg,takeRightWhile:()=>IE,takeWhile:()=>pg,tap:()=>qv,template:()=>rb,templateSettings:()=>Ad,throttle:()=>WE,thru:()=>du,times:()=>KE,toArray:()=>Vf,toFinite:()=>en,toInteger:()=>Ue,toIterator:()=>ob,toJSON:()=>zl,toLength:()=>ad,toLower:()=>XE,toNumber:()=>hn,toPairs:()=>na,toPairsIn:()=>Ap,toPath:()=>ZE,toPlainObject:()=>V0,toSafeInteger:()=>ew,toString:()=>Si,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>sw,trimStart:()=>lw,truncate:()=>JP,unary:()=>ab,unescape:()=>db,union:()=>fb,unionBy:()=>ja,unionWith:()=>kd,uniq:()=>bg,uniqBy:()=>vw,uniqWith:()=>yw,uniqueId:()=>Mw,unset:()=>gb,unzip:()=>xd,unzipWith:()=>mb,update:()=>Dw,updateWith:()=>Cg,upperCase:()=>Ba,upperFirst:()=>rm,value:()=>zl,valueOf:()=>zl,values:()=>vs,valuesIn:()=>vb,without:()=>bb,words:()=>hm,wrap:()=>Od,wrapperAt:()=>Iw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>ct,wrapperNext:()=>Yf,wrapperPlant:()=>Md,wrapperReverse:()=>Ow,wrapperToIterator:()=>ob,wrapperValue:()=>zl,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Mg,zip:()=>Nw,zipObject:()=>Cb,zipObjectDeep:()=>Eg,zipWith:()=>wg});const i="object"==typeof global&&global&&global.Object===Object&&global;var d="object"==typeof self&&self&&self.Object===Object&&self;const a=i||d||Function("return this")(),c=a.Symbol;var l=Object.prototype,g=l.hasOwnProperty,b=l.toString,p=c?c.toStringTag:void 0;var h=Object.prototype.toString;var A=c?c.toStringTag:void 0;const R=function T(w){return null==w?void 0===w?"[object Undefined]":"[object Null]":A&&A in Object(w)?function S(w){var I=g.call(w,p),Z=w[p];try{w[p]=void 0;var Ee=!0}catch{}var Ke=b.call(w);return Ee&&(I?w[p]=Z:delete w[p]),Ke}(w):function C(w){return h.call(w)}(w)},P=function N(w){return null!=w&&"object"==typeof w},V=function x(w){return"symbol"==typeof w||P(w)&&"[object Symbol]"==R(w)},X=function ee(w){return"number"==typeof w?w:V(w)?NaN:+w},Q=function ce(w,I){for(var Z=-1,Ee=null==w?0:w.length,Ke=Array(Ee);++Z0){if(++I>=800)return arguments[0]}else I=0;return w.apply(void 0,arguments)}},Fn=Pr(qt);var ti=/\{\n\/\* \[wrapped with (.+)\] \*/,Xr=/,? & /;var hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const Jr=function go(w){return function(){return w}};var zi=function(){try{var w=Sr(Object,"defineProperty");return w({},"",{}),w}catch{}}();const qi=zi;var ro=qi?function(w,I){return qi(w,"toString",{configurable:!0,enumerable:!1,value:Jr(I),writable:!0})}:ht;const _i=Pr(ro),qr=function xi(w,I){for(var Z=-1,Ee=null==w?0:w.length;++Z-1};var ys=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ki=function rs(w,I,Z){var Ee=I+"";return _i(w,function Yi(w,I){var Z=I.length;if(!Z)return w;var Ee=Z-1;return I[Ee]=(Z>1?"& ":"")+I[Ee],I=I.join(Z>2?", ":" "),w.replace(hr,"{\n/* [wrapped with "+I+"] */\n")}(Ee,function Go(w,I){return qr(ys,function(Z){var Ee="_."+Z[0];I&Z[1]&&!Gr(w,Ee)&&w.push(Ee)}),w.sort()}(function Zr(w){var I=w.match(ti);return I?I[1].split(Xr):[]}(Ee),Z)))},hs=function Ko(w,I,Z,Ee,Ke,yt,Lt,Kt,on,xn){var On=8&I;I|=On?32:64,4&(I&=~(On?64:32))||(I&=-4);var gi=[w,I,Ke,On?yt:void 0,On?Lt:void 0,On?void 0:yt,On?void 0:Lt,Kt,on,xn],jr=Z.apply(void 0,gi);return vi(w)&&Fn(jr,gi),jr.placeholder=Ee,Ki(jr,w,I)},Ye=function Qo(w){return w.placeholder};var ke=/^(?:0|[1-9]\d*)$/;const kt=function ut(w,I){var Z=typeof w;return!!(I=I??9007199254740991)&&("number"==Z||"symbol"!=Z&&ke.test(w))&&w>-1&&w%1==0&&w1&&Mi.reverse(),On&&on-1&&w%1==0&&w<=9007199254740991},Xt=function Mt(w){return null!=w&&Re(w.length)&&!Yt(w)},In=function sn(w,I,Z){if(!ft(Z))return!1;var Ee=typeof I;return!!("number"==Ee?Xt(Z)&&kt(I,Z.length):"string"==Ee&&I in Z)&&oo(Z[I],w)},br=function gr(w){return q(function(I,Z){var Ee=-1,Ke=Z.length,yt=Ke>1?Z[Ke-1]:void 0,Lt=Ke>2?Z[2]:void 0;for(yt=w.length>3&&"function"==typeof yt?(Ke--,yt):void 0,Lt&&In(Z[0],Z[1],Lt)&&(yt=Ke<3?void 0:yt,Ke=1),I=Object(I);++Ee-1},ma.prototype.set=function Rg(w,I){var Z=this.__data__,Ee=fi(Z,w);return Ee<0?(++this.size,Z.push([w,I])):Z[Ee][1]=I,this};const dl=ma,hl=Sr(a,"Map"),wu=function Eu(w,I){var Z=w.__data__;return function bI(w){var I=typeof w;return"string"==I||"number"==I||"symbol"==I||"boolean"==I?"__proto__"!==w:null===w}(I)?Z["string"==typeof I?"string":"hash"]:Z.map};function fl(w){var I=-1,Z=null==w?0:w.length;for(this.clear();++I0&&Z(Kt)?I>1?Pu(Kt,I-1,Z,Ee,Ke):Is(Ke,Kt):Ee||(Ke[Ke.length]=Kt)}return Ke},Zd=function zg(w){return null!=w&&w.length?ds(w,1):[]},za=function Jd(w){return _i(Ft(w,void 0,Zd),w+"")},Fb=za(Kd),Iu=ln(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const Aa=function Gg(w){if(!P(w)||"[object Object]"!=R(w))return!1;var I=Iu(w);if(null===I)return!0;var Z=eh.call(I,"constructor")&&I.constructor;return"function"==typeof Z&&Z instanceof Z&&qd.call(Z)==tD},th=function Kg(w){if(!P(w))return!1;var I=R(w);return"[object Error]"==I||"[object DOMException]"==I||"string"==typeof w.message&&"string"==typeof w.name&&!Aa(w)};var nD=q(function(w,I){try{return dn(w,void 0,I)}catch(Z){return th(Z)?Z:new Error(Z)}});const nh=nD,Qg=function rD(w,I){var Z;if("function"!=typeof I)throw new TypeError("Expected a function");return w=Ue(w),function(){return--w>0&&(Z=I.apply(this,arguments)),w<=1&&(I=void 0),Z}};var Zg=q(function(w,I,Z){var Ee=1;if(Z.length){var Ke=ho(Z,Ye(Zg));Ee|=32}return Ti(w,Ee,I,Z,Ke)});Zg.placeholder={};const pl=Zg;var _l=za(function(w,I){return qr(I,function(Z){Z=Ss(Z),Pi(w,Z,pl(w[Z],w))}),w});const jb=_l;var rh=q(function(w,I,Z){var Ee=3;if(Z.length){var Ke=ho(Z,Ye(rh));Ee|=32}return Ti(I,Ee,w,Z,Ke)});rh.placeholder={};const dc=rh,Vs=function sD(w,I,Z){var Ee=-1,Ke=w.length;I<0&&(I=-I>Ke?0:Ke+I),(Z=Z>Ke?Ke:Z)<0&&(Z+=Ke),Ke=I>Z?0:Z-I>>>0,I>>>=0;for(var yt=Array(Ke);++Ee=Ee?w:Vs(w,I,Z)};var Yb=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const hc=function cD(w){return Yb.test(w)};var Wb="\\ud800-\\udfff",sh="["+Wb+"]",fc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ku="\\ud83c[\\udffb-\\udfff]",tm="[^"+Wb+"]",Kb="(?:\\ud83c[\\udde6-\\uddff]){2}",vl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qb="(?:"+fc+"|"+ku+")?",ah="[\\ufe0e\\ufe0f]?",fD=ah+Qb+"(?:\\u200d(?:"+[tm,Kb,vl].join("|")+")"+ah+Qb+")*",gD="(?:"+[tm+fc+"?",fc,Kb,vl,sh].join("|")+")",yI=RegExp(ku+"(?="+ku+")|"+gD+fD,"g");const qs=function Ou(w){return hc(w)?function CI(w){return w.match(yI)||[]}(w):function zb(w){return w.split("")}(w)},lh=function Lu(w){return function(I){I=Si(I);var Z=hc(I)?qs(I):void 0,Ee=Z?Z[0]:I.charAt(0),Ke=Z?$a(Z,1).join(""):I.slice(1);return Ee[w]()+Ke}},rm=lh("toUpperCase"),uh=function Xb(w){return rm(Si(w).toLowerCase())},Ys=function mD(w,I,Z,Ee){var Ke=-1,yt=null==w?0:w.length;for(Ee&&yt&&(Z=w[++Ke]);++Ke=I?w:I)),w},LD=function Ay(w,I,Z){return void 0===Z&&(Z=I,I=void 0),void 0!==Z&&(Z=(Z=hn(Z))==Z?Z:0),void 0!==I&&(I=(I=hn(I))==I?I:0),Wa(hn(w),I,Z)};function Sl(w){var I=this.__data__=new dl(w);this.size=I.size}Sl.prototype.clear=function MI(){this.__data__=new dl,this.size=0},Sl.prototype.delete=function mm(w){var I=this.__data__,Z=I.delete(w);return this.size=I.size,Z},Sl.prototype.get=function wI(w){return this.__data__.get(w)},Sl.prototype.has=function Ty(w){return this.__data__.has(w)},Sl.prototype.set=function ND(w,I){var Z=this.__data__;if(Z instanceof dl){var Ee=Z.__data__;if(!hl||Ee.length<199)return Ee.push([w,I]),this.size=++Z.size,this;Z=this.__data__=new ac(Ee)}return Z.set(w,I),this.size=Z.size,this};const ka=Sl,yh=function Py(w,I){return w&&he(I,to(I),w)};var _m="object"==typeof exports&&exports&&!exports.nodeType&&exports,vm=_m&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vm&&vm.exports===_m?a.Buffer:void 0,ym=Ch?Ch.allocUnsafe:void 0;const Cm=function Iy(w,I){if(I)return w.slice();var Z=w.length,Ee=ym?ym(Z):new w.constructor(Z);return w.copy(Ee),Ee},xa=function UD(w,I){for(var Z=-1,Ee=null==w?0:w.length,Ke=0,yt=[];++ZKt))return!1;var xn=yt.get(w),On=yt.get(I);if(xn&&On)return xn==I&&On==w;var Bn=-1,ir=!0,Ar=2&Z?new Bh:void 0;for(yt.set(w,I),yt.set(I,w);++Bn=I||ia<0||Bn&&Ho-xn>=yt}function yi(){var Ho=Ic();if(jr(Ho))return Mi(Ho);Kt=setTimeout(yi,function gi(Ho){var Ag=I-(Ho-on);return Bn?qu(Ag,yt-(Ho-xn)):Ag}(Ho))}function Mi(Ho){return Kt=void 0,ir&&Ee?Ar(Ho):(Ee=Ke=void 0,Lt)}function Bs(){var Ho=Ic(),ia=jr(Ho);if(Ee=arguments,Ke=this,on=Ho,ia){if(void 0===Kt)return function Yr(Ho){return xn=Ho,Kt=setTimeout(yi,I),On?Ar(Ho):Lt}(on);if(Bn)return clearTimeout(Kt),Kt=setTimeout(yi,I),Ar(on)}return void 0===Kt&&(Kt=setTimeout(yi,I)),Lt}return I=hn(I)||0,ft(Z)&&(On=!!Z.leading,yt=(Bn="maxWait"in Z)?oA(hn(Z.maxWait)||0,I):yt,ir="trailing"in Z?!!Z.trailing:ir),Bs.cancel=function Gs(){void 0!==Kt&&clearTimeout(Kt),xn=0,Ee=on=Ke=Kt=void 0},Bs.flush=function As(){return void 0===Kt?Lt:Mi(Ic())},Bs},gp=function sA(w,I){return null==w||w!=w?I:w};var ed=Object.prototype,mp=ed.hasOwnProperty,U0=q(function(w,I){w=Object(w);var Z=-1,Ee=I.length,Ke=Ee>2?I[2]:void 0;for(Ke&&In(I[0],I[1],Ke)&&(Ee=1);++Z=200&&(yt=Vu,Lt=!1,I=new Bh(I));e:for(;++Ke=0&&w.slice(Z,Ke)==I},sd=function DA(w){return function(I){var Z=_a(I);return"[object Map]"==Z?Km(I):"[object Set]"==Z?function of(w){var I=-1,Z=Array(w.size);return w.forEach(function(Ee){Z[++I]=[Ee,Ee]}),Z}(I):function Dp(w,I){return Q(I,function(Z){return[Z,w[Z]]})}(I,w(I))}},na=sd(to),Ap=sd(ps),cC=gc({"&":"&","<":"<",">":">",'"':""","'":"'"});var uC=/[&<>"']/g,AA=RegExp(uC.source);const af=function Lc(w){return(w=Si(w))&&AA.test(w)?w.replace(uC,cC):w};var dC=/[\\^$.*+?()[\]{}|]/g,TA=RegExp(dC.source);const hC=function PA(w){return(w=Si(w))&&TA.test(w)?w.replace(dC,"\\$&"):w},fC=function IA(w,I){for(var Z=-1,Ee=null==w?0:w.length;++ZKe?0:Ke+Z),(Ee=void 0===Ee||Ee>Ke?Ke:Ue(Ee))<0&&(Ee+=Ke),Ee=Z>Ee?0:ad(Ee);Z-1?Ke[yt?I[Lt]:Lt]:void 0}};var Pp=Math.max;const ld=function SC(w,I,Z){var Ee=null==w?0:w.length;if(!Ee)return-1;var Ke=null==Z?0:Ue(Z);return Ke<0&&(Ke=Pp(Ee+Ke,0)),bo(w,li(I),Ke)},MC=uf(ld),EC=function RA(w,I,Z){var Ee;return Z(w,function(Ke,yt,Lt){if(I(Ke,yt,Lt))return Ee=yt,!1}),Ee},kp=function FA(w,I){return EC(w,li(I),ba)};var xp=Math.max,Op=Math.min;const df=function wC(w,I,Z){var Ee=null==w?0:w.length;if(!Ee)return-1;var Ke=Ee-1;return void 0!==Z&&(Ke=Ue(Z),Ke=Z<0?xp(Ee+Ke,0):Op(Ke,Ee-1)),bo(w,li(I),Ke,!0)},AC=uf(df),PC=function TC(w,I){return EC(w,li(I),nf)},cd=function Lp(w){return w&&w.length?w[0]:void 0},Fp=function Rp(w,I){var Z=-1,Ee=Xt(w)?Array(w.length):[];return ta(w,function(Ke,yt,Lt){Ee[++Z]=I(Ke,yt,Lt)}),Ee},Rc=function IC(w,I){return(Y(w)?Q:Fp)(w,li(I))},xC=function kC(w,I){return ds(Rc(w,I),1)},LC=function NA(w,I){return ds(Rc(w,I),1/0)},Np=function jA(w,I,Z){return Z=void 0===Z?1:Ue(Z),ds(Rc(w,I),Z)},RC=function UA(w){return null!=w&&w.length?ds(w,1/0):[]},jp=function FC(w,I){return null!=w&&w.length?(I=void 0===I?1:Ue(I),ds(w,I)):[]},jC=function HA(w){return Ti(w,512)},Fc=fm("floor"),jc=function Nc(w){return za(function(I){var Z=I.length,Ee=Z,Ke=Cn.prototype.thru;for(w&&I.reverse();Ee--;){var yt=I[Ee];if("function"!=typeof yt)throw new TypeError("Expected a function");if(Ke&&!Lt&&"wrapper"==mn(yt))var Lt=new Cn([],!0)}for(Ee=Lt?Ee:Z;++EeI},dd=function KC(w){return function(I,Z){return"string"==typeof I&&"string"==typeof Z||(I=hn(I),Z=hn(Z)),w(I,Z)}},Yp=dd(Vp);var tT=dd(function(w,I){return w>=I});const nT=tT;var ZC=Object.prototype.hasOwnProperty;const JC=function kl(w,I){return null!=w&&ZC.call(w,I)},eS=function qC(w,I){return null!=w&&Tl(w,I,JC)};var pf=Math.max,_f=Math.min;const nS=function zp(w,I,Z){return I=en(I),void 0===Z?(Z=I,I=0):Z=en(Z),function rT(w,I,Z){return w>=_f(I,Z)&&w-1:!!Ke&&yo(w,I,Z)>-1};var bf=Math.max;const oS=function $s(w,I,Z){var Ee=null==w?0:w.length;if(!Ee)return-1;var Ke=null==Z?0:Ue(Z);return Ke<0&&(Ke=bf(Ee+Ke,0)),yo(w,I,Ke)},$p=function Bc(w){return null!=w&&w.length?Vs(w,0,-1):[]};var sS=Math.min;const Wp=function oT(w,I,Z){for(var Ee=Z?nd:Gr,Ke=w[0].length,yt=w.length,Lt=yt,Kt=Array(yt),on=1/0,xn=[];Lt--;){var On=w[Lt];Lt&&I&&(On=Q(On,ni(I))),on=sS(On.length,on),Kt[Lt]=!Z&&(I||Ke>=120&&On.length>=120)?new Bh(Lt&&On):void 0}On=w[0];var Bn=-1,ir=Kt[0];e:for(;++Bn=-Fl&&w<=Fl},jl=function Gc(w){return void 0===w},xf=function c_(w){return P(w)&&"[object WeakMap]"==_a(w)},Of=function d_(w){return P(w)&&"[object WeakSet]"==R(w)},Lf=function f_(w){return li("function"==typeof w?w:ea(w,1))};var Rf=Array.prototype.join;const RS=function Ja(w,I){return null==w?"":Rf.call(w,I)};var mT=vc(function(w,I,Z){return w+(Z?"-":"")+I.toLowerCase()});const Ff=mT;var Bl=Xh(function(w,I,Z){Pi(w,Z,I)});const Nf=Bl;var VI=Math.max,YI=Math.min;const FS=function _T(w,I,Z){var Ee=null==w?0:w.length;if(!Ee)return-1;var Ke=Ee;return void 0!==Z&&(Ke=(Ke=Ue(Z))<0?VI(Ee+Ke,0):YI(Ke,Ee-1)),I==I?function pT(w,I,Z){for(var Ee=Z+1;Ee--;)if(w[Ee]===I)return Ee;return Ee}(w,I,Ke):bo(w,bi,Ke,!0)};var NS=vc(function(w,I,Z){return w+(Z?" ":"")+I.toLowerCase()});const jS=NS,p_=lh("toLowerCase"),__=function vT(w,I){return w=this.__values__.length;return{done:w,value:w?void 0:this.__values__[this.__index__++]}},oM=function iM(w,I){var Z=w.length;if(Z)return kt(I+=I<0?Z:0,Z)?w[I]:void 0},x_=function sM(w,I){return w&&w.length?oM(w,Ue(I)):void 0},O_=function TT(w){return w=Ue(w),q(function(I){return oM(I,w)})},zf=function PT(w,I){return I=Ls(I,w),null==(w=Qp(w,I))||delete w[Ss(ks(I))]},IT=function L_(w){return Aa(w)?void 0:w};var $f=za(function(w,I){var Z={};if(null==w)return Z;var Ee=!1;I=Q(I,function(yt){return yt=Ls(yt,w),Ee||(Ee=yt.length>1),yt}),he(w,Nu(w),Z),Ee&&(Z=ea(Z,7,IT));for(var Ke=I.length;Ke--;)zf(Z,I[Ke]);return Z});const vd=$f,Zc=function F_(w,I,Z,Ee){if(!ft(w))return w;for(var Ke=-1,yt=(I=Ls(I,w)).length,Lt=yt-1,Kt=w;null!=Kt&&++KeI||yt&&Lt&&on&&!Kt&&!xn||Ee&&Lt&&on||!Z&&on||!Ke)return 1;if(!Ee&&!yt&&!xn&&w=Kt?on:on*("desc"==Z[Ee]?-1:1)}return w.index-I.index}(yt,Lt,Z)})},Qf=function jT(w,I,Z,Ee){return null==w?[]:(Y(I)||(I=null==I?[]:[I]),Y(Z=Ee?void 0:Z)||(Z=null==Z?[]:[Z]),Vl(w,I,Z))},Xf=function BT(w){return za(function(I){return I=Q(I,ni(li)),q(function(Z){var Ee=this;return w(I,function(Ke){return dn(Ke,Ee,Z)})})})},hM=Xf(Q);var HT=Math.min,VT=q(function(w,I){var Z=(I=1==I.length&&Y(I[0])?Q(I[0],ni(li)):Q(ds(I,1),ni(li))).length;return q(function(Ee){for(var Ke=-1,yt=HT(Ee.length,Z);++Ke9007199254740991)return Z;do{I%2&&(Z+=w),(I=j_(I/2))&&(w+=w)}while(I);return Z},mM=k0("length");var B_="\\ud800-\\udfff",QT="["+B_+"]",U_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_M="[\\ud800-\\udbff][\\udc00-\\udfff]",tu="(?:"+U_+"|"+eu+")?",vM="[\\ufe0e\\ufe0f]?",ZT=vM+tu+"(?:\\u200d(?:"+[H_,V_,_M].join("|")+")"+vM+tu+")*",bM="(?:"+[H_+U_+"?",U_,V_,_M,QT].join("|")+")",Y_=RegExp(eu+"(?="+eu+")|"+bM+ZT,"g");const nu=function CM(w){return hc(w)?function yM(w){for(var I=Y_.lastIndex=0;Y_.test(w);)++I;return I}(w):mM(w)};var qT=Math.ceil;const z_=function zI(w,I){var Z=(I=void 0===I?" ":W(I)).length;if(Z<2)return Z?Jf(I,w):I;var Ee=Jf(I,qT(w/nu(I)));return hc(I)?$a(qs(Ee),0,w).join(""):Ee.slice(0,w)};var $I=Math.ceil,WI=Math.floor;const Sd=function SM(w,I,Z){w=Si(w);var Ee=(I=Ue(I))?nu(w):0;if(!I||Ee>=I)return w;var Ke=(I-Ee)/2;return z_(WI(Ke),Z)+w+z_($I(Ke),Z)},MM=function eP(w,I,Z){w=Si(w);var Ee=(I=Ue(I))?nu(w):0;return I&&Ee-1;)Kt!==w&&TM.call(Kt,on,1),TM.call(w,on,1);return w},J_=function PM(w,I){return w&&w.length&&I&&I.length?Z_(w,I):w},IM=q(J_),kM=function fP(w,I,Z){return w&&w.length&&I&&I.length?Z_(w,I,li(Z)):w},xM=function gP(w,I,Z){return w&&w.length&&I&&I.length?Z_(w,I,void 0,Z):w};var q_=Array.prototype.splice;const tv=function ev(w,I){for(var Z=w?I.length:0,Ee=Z-1;Z--;){var Ke=I[Z];if(Z==Ee||Ke!==yt){var yt=Ke;kt(Ke)?q_.call(w,Ke,1):zf(w,Ke)}}return w};var OM=za(function(w,I){var Z=null==w?0:w.length,Ee=Kd(w,I);return tv(w,Q(I,function(Ke){return kt(Ke,Z)?+Ke:Ke}).sort(Kf)),Ee});const eg=OM;var LM=Math.floor,RM=Math.random;const Ed=function nv(w,I){return w+LM(RM()*(I-w+1))};var pP=parseFloat,rv=Math.min,FM=Math.random;const _P=function NM(w,I,Z){if(Z&&"boolean"!=typeof Z&&In(w,I,Z)&&(I=Z=void 0),void 0===Z&&("boolean"==typeof I?(Z=I,I=void 0):"boolean"==typeof w&&(Z=w,w=void 0)),void 0===w&&void 0===I?(w=0,I=1):(w=en(w),void 0===I?(I=w,w=0):I=en(I)),w>I){var Ee=w;w=I,I=Ee}if(Z||w%1||I%1){var Ke=FM();return rv(w+Ke*(I-w+pP("1e-"+((Ke+"").length-1))),I)}return Ed(w,I)};var jM=Math.ceil,vP=Math.max;const wd=function iv(w){return function(I,Z,Ee){return Ee&&"number"!=typeof Ee&&In(I,Z,Ee)&&(Z=Ee=void 0),I=en(I),void 0===Z?(Z=I,I=0):Z=en(Z),function BM(w,I,Z,Ee){for(var Ke=-1,yt=vP(jM((I-w)/(Z||1)),0),Lt=Array(yt);yt--;)Lt[Ee?yt:++Ke]=w,w+=Z;return Lt}(I,Z,Ee=void 0===Ee?I1&&In(w,I[0],I[1])?I=[]:Z>2&&In(I[0],I[1],I[2])&&(I=[I[0]]),Vl(w,ds(I,1),[])});const Uv=rE;var oE=Math.floor,DP=Math.min;const Dd=function AP(w,I,Z,Ee){var Ke=0,yt=null==w?0:w.length;if(0===yt)return 0;for(var Lt=(I=Z(I))!=I,Kt=null===I,on=V(I),xn=void 0===I;Ke>>1,Lt=w[yt];null!==Lt&&!V(Lt)&&(Z?Lt<=I:Lt>>0)?(w=Si(w))&&("string"==typeof I||null!=I&&!Fa(I))&&!(I=W(I))&&hc(w)?$a(qs(w),0,Z):w.split(I,Z):[]};var ZI=Math.max;const Kv=function bE(w,I){if("function"!=typeof w)throw new TypeError("Expected a function");return I=null==I?0:ZI(Ue(I),0),q(function(Z){var Ee=Z[I],Ke=$a(Z,0,I);return Ee&&Is(Ke,Ee),dn(w,this,Ke)})};var yE=vc(function(w,I,Z){return w+(Z?" ":"")+rm(I)});const Qv=yE,lu=function CE(w,I,Z){return w=Si(w),Z=null==Z?0:Wa(Ue(Z),0,w.length),I=W(I),w.slice(Z,Z+I.length)==I},Xv=function SE(){return{}},bs=function ME(){return""},EE=function cu(){return!0};var PP=G(function(w,I){return w-I},0);const wE=PP,uu=function JI(w){return w&&w.length?Bf(w,ht):0},fg=function IP(w,I){return w&&w.length?Bf(w,li(I)):0},Zv=function DE(w){var I=null==w?0:w.length;return I?Vs(w,1,I):[]},Jv=function AE(w,I,Z){return w&&w.length?(I=Z||void 0===I?1:Ue(I),Vs(w,0,I<0?0:I)):[]},gg=function TE(w,I,Z){var Ee=null==w?0:w.length;return Ee?(I=Z||void 0===I?1:Ue(I),Vs(w,(I=Ee-I)<0?0:I,Ee)):[]},IE=function PE(w,I){return w&&w.length?ef(w,li(I),!1,!0):[]},pg=function mg(w,I){return w&&w.length?ef(w,li(I)):[]},qv=function kP(w,I){return I(w),w};var kE=Object.prototype,eb=kE.hasOwnProperty;const xE=function Yl(w,I,Z,Ee){return void 0===w||oo(w,kE[Z])&&!eb.call(Ee,Z)?I:w};var OE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LE=function tb(w){return"\\"+OE[w]},RE=/<%=([\s\S]+?)%>/g,Ad={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RE,variable:"",imports:{_:{escape:af}}};var LP=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,RP=/(__e\(.*?\)|\b__t\)) \+\n'';/g,UE=/[()=,{}\[\]\/\s]/,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Td=/($^)/,VE=/['\n\r\u2028\u2029\\]/g,YE=Object.prototype.hasOwnProperty;const rb=function zE(w,I,Z){var Ee=Ad.imports._.templateSettings||Ad;Z&&In(w,I,Z)&&(I=void 0),w=Si(w),I=al({},I,Ee,xE);var Kt,on,Ke=al({},I.imports,Ee.imports,xE),yt=to(Ke),Lt=iS(Ke,yt),xn=0,On=I.interpolate||Td,Bn="__p += '",ir=RegExp((I.escape||Td).source+"|"+On.source+"|"+(On===RE?HE:Td).source+"|"+(I.evaluate||Td).source+"|$","g"),Ar=YE.call(I,"sourceURL")?"//# sourceURL="+(I.sourceURL+"").replace(/\s/g," ")+"\n":"";w.replace(ir,function(jr,yi,Mi,Gs,As,Bs){return Mi||(Mi=Gs),Bn+=w.slice(xn,Bs).replace(VE,LE),yi&&(Kt=!0,Bn+="' +\n__e("+yi+") +\n'"),As&&(on=!0,Bn+="';\n"+As+";\n__p += '"),Mi&&(Bn+="' +\n((__t = ("+Mi+")) == null ? '' : __t) +\n'"),xn=Bs+jr.length,jr}),Bn+="';\n";var Yr=YE.call(I,"variable")&&I.variable;if(Yr){if(UE.test(Yr))throw new Error("Invalid `variable` option passed into `_.template`")}else Bn="with (obj) {\n"+Bn+"\n}\n";Bn=(on?Bn.replace(LP,""):Bn).replace(BE,"$1").replace(RP,"$1;"),Bn="function("+(Yr||"obj")+") {\n"+(Yr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Kt?", __e = _.escape":"")+(on?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Bn+"return __p\n}";var gi=nh(function(){return Function(yt,Ar+"return "+Bn).apply(void 0,Lt)});if(gi.source=Bn,th(gi))throw gi;return gi},WE=function NP(w,I,Z){var Ee=!0,Ke=!0;if("function"!=typeof w)throw new TypeError("Expected a function");return ft(Z)&&(Ee="leading"in Z?!!Z.leading:Ee,Ke="trailing"in Z?!!Z.trailing:Ke),fp(w,I,{leading:Ee,maxWait:I,trailing:Ke})},du=function jP(w,I){return I(w)};var ib=4294967295,UP=Math.min;const KE=function GE(w,I){if((w=Ue(w))<1||w>9007199254740991)return[];var Z=ib,Ee=UP(w,ib);I=ya(I),w-=ib;for(var Ke=Ri(Ee,I);++Z-1;);return Z},iw=function GP(w,I){for(var Z=-1,Ee=w.length;++Z-1;);return Z},ow=function KP(w,I,Z){if((w=Si(w))&&(Z||void 0===I))return qe(w);if(!w||!(I=W(I)))return w;var Ee=qs(w),Ke=qs(I),yt=iw(Ee,Ke),Lt=rw(Ee,Ke)+1;return $a(Ee,yt,Lt).join("")},sw=function QP(w,I,Z){if((w=Si(w))&&(Z||void 0===I))return w.slice(0,ie(w)+1);if(!w||!(I=W(I)))return w;var Ee=qs(w),Ke=rw(Ee,qs(I))+1;return $a(Ee,0,Ke).join("")};var aw=/^\s+/;const lw=function sb(w,I,Z){if((w=Si(w))&&(Z||void 0===I))return w.replace(aw,"");if(!w||!(I=W(I)))return w;var Ee=qs(w),Ke=iw(Ee,qs(I));return $a(Ee,Ke).join("")};var ZP=/\w*$/;const JP=function uw(w,I){var Z=30,Ee="...";if(ft(I)){var Ke="separator"in I?I.separator:Ke;Z="length"in I?Ue(I.length):Z,Ee="omission"in I?W(I.omission):Ee}var yt=(w=Si(w)).length;if(hc(w)){var Lt=qs(w);yt=Lt.length}if(Z>=yt)return w;var Kt=Z-nu(Ee);if(Kt<1)return Ee;var on=Lt?$a(Lt,0,Kt).join(""):w.slice(0,Kt);if(void 0===Ke)return on+Ee;if(Lt&&(Kt+=on.length-Kt),Fa(Ke)){if(w.slice(Kt).search(Ke)){var xn,On=on;for(Ke.global||(Ke=RegExp(Ke.source,Si(ZP.exec(Ke))+"g")),Ke.lastIndex=0;xn=Ke.exec(On);)var Bn=xn.index;on=on.slice(0,void 0===Bn?Kt:Bn)}}else if(w.indexOf(W(Ke),Kt)!=Kt){var ir=on.lastIndexOf(Ke);ir>-1&&(on=on.slice(0,ir))}return on+Ee},ab=function qP(w){return wr(w,1)},hw=gc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var lb=/&(?:amp|lt|gt|quot|#39);/g,cb=RegExp(lb.source);const db=function ub(w){return(w=Si(w))&&cb.test(w)?w.replace(lb,hw):w};var _g=wl&&1/wc(new wl([,-0]))[1]==1/0?function(w){return new wl(w)}:Te;const hb=_g,Na=function gw(w,I,Z){var Ee=-1,Ke=Gr,yt=w.length,Lt=!0,Kt=[],on=Kt;if(Z)Lt=!1,Ke=nd;else if(yt>=200){var xn=I?null:hb(w);if(xn)return wc(xn);Lt=!1,Ke=Vu,on=new Bh}else on=I?[]:Kt;e:for(;++Ee1||this.__actions__.length)&&Ee instanceof de&&kt(Z)?((Ee=Ee.slice(Z,+Z+(I?1:0))).__actions__.push({func:du,args:[Ke],thisArg:void 0}),new Cn(Ee,this.__chain__).thru(function(yt){return I&&!yt.length&&yt.push(void 0),yt})):this.thru(Ke)});const Iw=oI,xw=function kw(){return gm(this)},Ow=function sI(){var w=this.__wrapped__;if(w instanceof de){var I=w;return this.__actions__.length&&(I=new de(this)),(I=I.reverse()).__actions__.push({func:du,args:[ou],thisArg:void 0}),new Cn(I,this.__chain__)}return this.thru(ou)},Sg=function aI(w,I,Z){var Ee=w.length;if(Ee<2)return Ee?Na(w[0]):[];for(var Ke=-1,yt=Array(Ee);++Ke1?w[I-1]:void 0;return Z="function"==typeof Z?(w.pop(),Z):void 0,mb(w,Z)});const wg=uI,mr={chunk:bc,compact:f0,concat:Es,difference:X0,differenceBy:xc,differenceWith:Z0,drop:eC,dropRight:Sp,dropRightWhile:Oo,dropWhile:tf,fill:cf,findIndex:ld,findLastIndex:df,first:cd,flatten:Zd,flattenDeep:RC,flattenDepth:jp,fromPairs:Hp,head:cd,indexOf:oS,initial:$p,intersection:Io,intersectionBy:xl,intersectionWith:Uc,join:RS,last:ks,lastIndexOf:FS,nth:x_,pull:IM,pullAll:J_,pullAllBy:kM,pullAllWith:xM,pullAt:eg,remove:gv,reverse:ou,slice:Fv,sortedIndex:aE,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:zv,sortedLastIndexOf:$v,sortedUniq:Wv,sortedUniqBy:Gv,tail:Zv,take:Jv,takeRight:gg,takeRightWhile:IE,takeWhile:pg,union:fb,unionBy:ja,unionWith:kd,uniq:bg,uniqBy:vw,uniqWith:yw,unzip:xd,unzipWith:mb,without:bb,xor:Rw,xorBy:Fw,xorWith:Mg,zip:Nw,zipObject:Cb,zipObjectDeep:Eg,zipWith:wg},Ui={countBy:j0,each:rd,eachRight:id,every:mC,filter:CC,find:MC,findLast:AC,flatMap:xC,flatMapDeep:LC,flatMapDepth:Np,forEach:rd,forEachRight:id,groupBy:GC,includes:Xa,invokeMap:Df,keyBy:Nf,map:Rc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:sg,sampleSize:lg,shuffle:eE,size:Rv,some:Bv,sortBy:Uv},rk={now:Ic},Uo={after:Ge,ary:wr,before:Qg,bind:pl,bindKey:dc,curry:Pl,curryRight:Ju,debounce:fp,defer:bp,delay:mA,flip:jC,memoize:Lb,negate:Ul,once:cM,overArgs:qa,partial:qf,partialRight:iu,rearg:rg,rest:_v,spread:Kv,throttle:WE,unary:ab,wrap:Od},Fr={castArray:My,clone:Rh,cloneDeep:Fh,cloneDeepWith:$m,cloneWith:d0,conformsTo:Pc,eq:oo,gt:Yp,gte:nT,isArguments:ss,isArray:Y,isArrayBuffer:Af,isArrayLike:Xt,isArrayLikeObject:Po,isBoolean:qp,isBuffer:Jo,isDate:_S,isElement:vS,isEmpty:Tf,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:Yt,isInteger:Pf,isLength:Re,isMap:Uu,isMatch:i_,isMatchWith:o_,isNaN:s_,isNative:a_,isNil:Yc,isNull:Ll,isNumber:If,isObject:ft,isObjectLike:P,isPlainObject:Aa,isRegExp:Fa,isSafeInteger:Nl,isSet:Xy,isString:hd,isSymbol:V,isTypedArray:fe,isUndefined:jl,isWeakMap:xf,isWeakSet:Of,lt:US,lte:v_,toArray:Vf,toFinite:en,toInteger:Ue,toLength:ad,toNumber:hn,toPlainObject:V0,toSafeInteger:ew,toString:Si},Ds={add:ye,ceil:wy,divide:J0,floor:Fc,max:M_,maxBy:Ws,mean:WS,meanBy:Xc,min:QS,minBy:A_,multiply:T_,round:og,subtract:wE,sum:uu,sumBy:fg},Mb={clamp:LD,inRange:nS,random:_P},ii={assign:Ps,assignIn:Vr,assignInWith:al,assignWith:Bd,at:Fb,create:up,defaults:zs,defaultsDeep:vp,entries:na,entriesIn:Ap,extend:Vr,extendWith:al,findKey:kp,findLastKey:PC,forIn:YC,forInRight:zC,forOwn:Up,forOwnRight:ff,functions:gf,functionsIn:WC,get:Tu,has:eS,hasIn:zh,invert:pd,invertBy:uS,invoke:hS,keys:to,keysIn:ps,mapKeys:VS,mapValues:b_,merge:w_,mergeWith:_p,omit:vd,omitBy:Gf,pick:K_,pickBy:Jc,result:ig,set:cg,setWith:ug,toPairs:na,toPairsIn:Ap,transform:nw,unset:gb,update:Dw,updateWith:Cg,values:vs,valuesIn:vb},ao={at:Iw,chain:gm,commit:Nh,lodash:ct,next:Yf,plant:Md,reverse:Ow,tap:qv,thru:du,toIterator:ob,toJSON:zl,value:zl,valueOf:zl,wrapperChain:xw},Ii={camelCase:Cl,capitalize:uh,deburr:Ta,endsWith:Il,escape:af,escapeRegExp:hC,kebabCase:Ff,lowerCase:jS,lowerFirst:p_,pad:Sd,padEnd:MM,padStart:ru,parseInt:wM,repeat:mv,replace:pv,snakeCase:Nv,split:vE,startCase:Qv,startsWith:lu,template:rb,templateSettings:Ad,toLower:XE,toUpper:tw,trim:ow,trimEnd:sw,trimStart:lw,truncate:JP,unescape:db,upperCase:Ba,upperFirst:rm,words:hm},Hi={attempt:nh,bindAll:jb,cond:O0,conforms:ap,constant:Jr,defaultTo:gp,flow:HC,flowRight:Bp,identity:ht,iteratee:Lf,matches:CT,matchesProperty:jf,method:GS,methodOf:D_,mixin:Hf,noop:Te,nthArg:O_,over:hM,overEvery:bd,overSome:ws,property:x0,propertyOf:Q_,range:tg,rangeRight:ng,stubArray:Sm,stubFalse:Ks,stubObject:Xv,stubString:bs,stubTrue:EE,times:KE,toPath:ZE,uniqueId:Mw};var ok=Math.max,sk=Math.min;var Hw=Math.min;var Rd=4294967295,Fd=Array.prototype,wb=Object.prototype.hasOwnProperty,pI=c?c.iterator:void 0,ak=Math.max,_I=Math.min,Db=function(w){return function(I,Z,Ee){if(null==Ee){var Ke=ft(Z),yt=Ke&&to(Z),Lt=yt&&yt.length&&ud(Z,yt);(Lt?Lt.length:Ke)||(Ee=Z,Z=I,I=this)}return w(I,Z,Ee)}}(Hf);ct.after=Uo.after,ct.ary=Uo.ary,ct.assign=ii.assign,ct.assignIn=ii.assignIn,ct.assignInWith=ii.assignInWith,ct.assignWith=ii.assignWith,ct.at=ii.at,ct.before=Uo.before,ct.bind=Uo.bind,ct.bindAll=Hi.bindAll,ct.bindKey=Uo.bindKey,ct.castArray=Fr.castArray,ct.chain=ao.chain,ct.chunk=mr.chunk,ct.compact=mr.compact,ct.concat=mr.concat,ct.cond=Hi.cond,ct.conforms=Hi.conforms,ct.constant=Hi.constant,ct.countBy=Ui.countBy,ct.create=ii.create,ct.curry=Uo.curry,ct.curryRight=Uo.curryRight,ct.debounce=Uo.debounce,ct.defaults=ii.defaults,ct.defaultsDeep=ii.defaultsDeep,ct.defer=Uo.defer,ct.delay=Uo.delay,ct.difference=mr.difference,ct.differenceBy=mr.differenceBy,ct.differenceWith=mr.differenceWith,ct.drop=mr.drop,ct.dropRight=mr.dropRight,ct.dropRightWhile=mr.dropRightWhile,ct.dropWhile=mr.dropWhile,ct.fill=mr.fill,ct.filter=Ui.filter,ct.flatMap=Ui.flatMap,ct.flatMapDeep=Ui.flatMapDeep,ct.flatMapDepth=Ui.flatMapDepth,ct.flatten=mr.flatten,ct.flattenDeep=mr.flattenDeep,ct.flattenDepth=mr.flattenDepth,ct.flip=Uo.flip,ct.flow=Hi.flow,ct.flowRight=Hi.flowRight,ct.fromPairs=mr.fromPairs,ct.functions=ii.functions,ct.functionsIn=ii.functionsIn,ct.groupBy=Ui.groupBy,ct.initial=mr.initial,ct.intersection=mr.intersection,ct.intersectionBy=mr.intersectionBy,ct.intersectionWith=mr.intersectionWith,ct.invert=ii.invert,ct.invertBy=ii.invertBy,ct.invokeMap=Ui.invokeMap,ct.iteratee=Hi.iteratee,ct.keyBy=Ui.keyBy,ct.keys=to,ct.keysIn=ii.keysIn,ct.map=Ui.map,ct.mapKeys=ii.mapKeys,ct.mapValues=ii.mapValues,ct.matches=Hi.matches,ct.matchesProperty=Hi.matchesProperty,ct.memoize=Uo.memoize,ct.merge=ii.merge,ct.mergeWith=ii.mergeWith,ct.method=Hi.method,ct.methodOf=Hi.methodOf,ct.mixin=Db,ct.negate=Ul,ct.nthArg=Hi.nthArg,ct.omit=ii.omit,ct.omitBy=ii.omitBy,ct.once=Uo.once,ct.orderBy=Ui.orderBy,ct.over=Hi.over,ct.overArgs=Uo.overArgs,ct.overEvery=Hi.overEvery,ct.overSome=Hi.overSome,ct.partial=Uo.partial,ct.partialRight=Uo.partialRight,ct.partition=Ui.partition,ct.pick=ii.pick,ct.pickBy=ii.pickBy,ct.property=Hi.property,ct.propertyOf=Hi.propertyOf,ct.pull=mr.pull,ct.pullAll=mr.pullAll,ct.pullAllBy=mr.pullAllBy,ct.pullAllWith=mr.pullAllWith,ct.pullAt=mr.pullAt,ct.range=Hi.range,ct.rangeRight=Hi.rangeRight,ct.rearg=Uo.rearg,ct.reject=Ui.reject,ct.remove=mr.remove,ct.rest=Uo.rest,ct.reverse=mr.reverse,ct.sampleSize=Ui.sampleSize,ct.set=ii.set,ct.setWith=ii.setWith,ct.shuffle=Ui.shuffle,ct.slice=mr.slice,ct.sortBy=Ui.sortBy,ct.sortedUniq=mr.sortedUniq,ct.sortedUniqBy=mr.sortedUniqBy,ct.split=Ii.split,ct.spread=Uo.spread,ct.tail=mr.tail,ct.take=mr.take,ct.takeRight=mr.takeRight,ct.takeRightWhile=mr.takeRightWhile,ct.takeWhile=mr.takeWhile,ct.tap=ao.tap,ct.throttle=Uo.throttle,ct.thru=du,ct.toArray=Fr.toArray,ct.toPairs=ii.toPairs,ct.toPairsIn=ii.toPairsIn,ct.toPath=Hi.toPath,ct.toPlainObject=Fr.toPlainObject,ct.transform=ii.transform,ct.unary=Uo.unary,ct.union=mr.union,ct.unionBy=mr.unionBy,ct.unionWith=mr.unionWith,ct.uniq=mr.uniq,ct.uniqBy=mr.uniqBy,ct.uniqWith=mr.uniqWith,ct.unset=ii.unset,ct.unzip=mr.unzip,ct.unzipWith=mr.unzipWith,ct.update=ii.update,ct.updateWith=ii.updateWith,ct.values=ii.values,ct.valuesIn=ii.valuesIn,ct.without=mr.without,ct.words=Ii.words,ct.wrap=Uo.wrap,ct.xor=mr.xor,ct.xorBy=mr.xorBy,ct.xorWith=mr.xorWith,ct.zip=mr.zip,ct.zipObject=mr.zipObject,ct.zipObjectDeep=mr.zipObjectDeep,ct.zipWith=mr.zipWith,ct.entries=ii.toPairs,ct.entriesIn=ii.toPairsIn,ct.extend=ii.assignIn,ct.extendWith=ii.assignInWith,Db(ct,ct),ct.add=Ds.add,ct.attempt=Hi.attempt,ct.camelCase=Ii.camelCase,ct.capitalize=Ii.capitalize,ct.ceil=Ds.ceil,ct.clamp=Mb.clamp,ct.clone=Fr.clone,ct.cloneDeep=Fr.cloneDeep,ct.cloneDeepWith=Fr.cloneDeepWith,ct.cloneWith=Fr.cloneWith,ct.conformsTo=Fr.conformsTo,ct.deburr=Ii.deburr,ct.defaultTo=Hi.defaultTo,ct.divide=Ds.divide,ct.endsWith=Ii.endsWith,ct.eq=Fr.eq,ct.escape=Ii.escape,ct.escapeRegExp=Ii.escapeRegExp,ct.every=Ui.every,ct.find=Ui.find,ct.findIndex=mr.findIndex,ct.findKey=ii.findKey,ct.findLast=Ui.findLast,ct.findLastIndex=mr.findLastIndex,ct.findLastKey=ii.findLastKey,ct.floor=Ds.floor,ct.forEach=Ui.forEach,ct.forEachRight=Ui.forEachRight,ct.forIn=ii.forIn,ct.forInRight=ii.forInRight,ct.forOwn=ii.forOwn,ct.forOwnRight=ii.forOwnRight,ct.get=ii.get,ct.gt=Fr.gt,ct.gte=Fr.gte,ct.has=ii.has,ct.hasIn=ii.hasIn,ct.head=mr.head,ct.identity=ht,ct.includes=Ui.includes,ct.indexOf=mr.indexOf,ct.inRange=Mb.inRange,ct.invoke=ii.invoke,ct.isArguments=Fr.isArguments,ct.isArray=Y,ct.isArrayBuffer=Fr.isArrayBuffer,ct.isArrayLike=Fr.isArrayLike,ct.isArrayLikeObject=Fr.isArrayLikeObject,ct.isBoolean=Fr.isBoolean,ct.isBuffer=Fr.isBuffer,ct.isDate=Fr.isDate,ct.isElement=Fr.isElement,ct.isEmpty=Fr.isEmpty,ct.isEqual=Fr.isEqual,ct.isEqualWith=Fr.isEqualWith,ct.isError=Fr.isError,ct.isFinite=Fr.isFinite,ct.isFunction=Fr.isFunction,ct.isInteger=Fr.isInteger,ct.isLength=Fr.isLength,ct.isMap=Fr.isMap,ct.isMatch=Fr.isMatch,ct.isMatchWith=Fr.isMatchWith,ct.isNaN=Fr.isNaN,ct.isNative=Fr.isNative,ct.isNil=Fr.isNil,ct.isNull=Fr.isNull,ct.isNumber=Fr.isNumber,ct.isObject=ft,ct.isObjectLike=Fr.isObjectLike,ct.isPlainObject=Fr.isPlainObject,ct.isRegExp=Fr.isRegExp,ct.isSafeInteger=Fr.isSafeInteger,ct.isSet=Fr.isSet,ct.isString=Fr.isString,ct.isSymbol=Fr.isSymbol,ct.isTypedArray=Fr.isTypedArray,ct.isUndefined=Fr.isUndefined,ct.isWeakMap=Fr.isWeakMap,ct.isWeakSet=Fr.isWeakSet,ct.join=mr.join,ct.kebabCase=Ii.kebabCase,ct.last=ks,ct.lastIndexOf=mr.lastIndexOf,ct.lowerCase=Ii.lowerCase,ct.lowerFirst=Ii.lowerFirst,ct.lt=Fr.lt,ct.lte=Fr.lte,ct.max=Ds.max,ct.maxBy=Ds.maxBy,ct.mean=Ds.mean,ct.meanBy=Ds.meanBy,ct.min=Ds.min,ct.minBy=Ds.minBy,ct.stubArray=Hi.stubArray,ct.stubFalse=Hi.stubFalse,ct.stubObject=Hi.stubObject,ct.stubString=Hi.stubString,ct.stubTrue=Hi.stubTrue,ct.multiply=Ds.multiply,ct.nth=mr.nth,ct.noop=Hi.noop,ct.now=rk.now,ct.pad=Ii.pad,ct.padEnd=Ii.padEnd,ct.padStart=Ii.padStart,ct.parseInt=Ii.parseInt,ct.random=Mb.random,ct.reduce=Ui.reduce,ct.reduceRight=Ui.reduceRight,ct.repeat=Ii.repeat,ct.replace=Ii.replace,ct.result=ii.result,ct.round=Ds.round,ct.sample=Ui.sample,ct.size=Ui.size,ct.snakeCase=Ii.snakeCase,ct.some=Ui.some,ct.sortedIndex=mr.sortedIndex,ct.sortedIndexBy=mr.sortedIndexBy,ct.sortedIndexOf=mr.sortedIndexOf,ct.sortedLastIndex=mr.sortedLastIndex,ct.sortedLastIndexBy=mr.sortedLastIndexBy,ct.sortedLastIndexOf=mr.sortedLastIndexOf,ct.startCase=Ii.startCase,ct.startsWith=Ii.startsWith,ct.subtract=Ds.subtract,ct.sum=Ds.sum,ct.sumBy=Ds.sumBy,ct.template=Ii.template,ct.times=Hi.times,ct.toFinite=Fr.toFinite,ct.toInteger=Ue,ct.toLength=Fr.toLength,ct.toLower=Ii.toLower,ct.toNumber=Fr.toNumber,ct.toSafeInteger=Fr.toSafeInteger,ct.toString=Fr.toString,ct.toUpper=Ii.toUpper,ct.trim=Ii.trim,ct.trimEnd=Ii.trimEnd,ct.trimStart=Ii.trimStart,ct.truncate=Ii.truncate,ct.unescape=Ii.unescape,ct.uniqueId=Hi.uniqueId,ct.upperCase=Ii.upperCase,ct.upperFirst=Ii.upperFirst,ct.each=Ui.forEach,ct.eachRight=Ui.forEachRight,ct.first=mr.head,Db(ct,function(){var w={};return ba(ct,function(I,Z){wb.call(ct.prototype,Z)||(w[Z]=I)}),w}(),{chain:!1}),ct.VERSION="4.17.21",(ct.templateSettings=Ii.templateSettings).imports._=ct,qr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){ct[w].placeholder=ct}),qr(["drop","take"],function(w,I){de.prototype[w]=function(Z){Z=void 0===Z?1:ak(Ue(Z),0);var Ee=this.__filtered__&&!I?new de(this):this.clone();return Ee.__filtered__?Ee.__takeCount__=_I(Z,Ee.__takeCount__):Ee.__views__.push({size:_I(Z,Rd),type:w+(Ee.__dir__<0?"Right":"")}),Ee},de.prototype[w+"Right"]=function(Z){return this.reverse()[w](Z).reverse()}}),qr(["filter","map","takeWhile"],function(w,I){var Z=I+1,Ee=1==Z||3==Z;de.prototype[w]=function(Ke){var yt=this.clone();return yt.__iteratees__.push({iteratee:li(Ke),type:Z}),yt.__filtered__=yt.__filtered__||Ee,yt}}),qr(["head","last"],function(w,I){var Z="take"+(I?"Right":"");de.prototype[w]=function(){return this[Z](1).value()[0]}}),qr(["initial","tail"],function(w,I){var Z="drop"+(I?"":"Right");de.prototype[w]=function(){return this.__filtered__?new de(this):this[Z](1)}}),de.prototype.compact=function(){return this.filter(ht)},de.prototype.find=function(w){return this.filter(w).head()},de.prototype.findLast=function(w){return this.reverse().find(w)},de.prototype.invokeMap=q(function(w,I){return"function"==typeof w?new de(this):this.map(function(Z){return _d(Z,w,I)})}),de.prototype.reject=function(w){return this.filter(Ul(li(w)))},de.prototype.slice=function(w,I){w=Ue(w);var Z=this;return Z.__filtered__&&(w>0||I<0)?new de(Z):(w<0?Z=Z.takeRight(-w):w&&(Z=Z.drop(w)),void 0!==I&&(Z=(I=Ue(I))<0?Z.dropRight(-I):Z.take(I-w)),Z)},de.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},de.prototype.toArray=function(){return this.take(Rd)},ba(de.prototype,function(w,I){var Z=/^(?:filter|find|map|reject)|While$/.test(I),Ee=/^(?:head|last)$/.test(I),Ke=ct[Ee?"take"+("last"==I?"Right":""):I],yt=Ee||/^find/.test(I);Ke&&(ct.prototype[I]=function(){var Lt=this.__wrapped__,Kt=Ee?[1]:arguments,on=Lt instanceof de,xn=Kt[0],On=on||Y(Lt),Bn=function(yi){var Mi=Ke.apply(ct,Is([yi],Kt));return Ee&&ir?Mi[0]:Mi};On&&Z&&"function"==typeof xn&&1!=xn.length&&(on=On=!1);var ir=this.__chain__,Yr=yt&&!ir,gi=on&&!this.__actions__.length;if(!yt&&On){Lt=gi?Lt:new de(this);var jr=w.apply(Lt,Kt);return jr.__actions__.push({func:du,args:[Bn],thisArg:void 0}),new Cn(jr,ir)}return Yr&&gi?w.apply(this,Kt):(jr=this.thru(Bn),Yr?Ee?jr.value()[0]:jr.value():jr)})}),qr(["pop","push","shift","sort","splice","unshift"],function(w){var I=Fd[w],Z=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Ee=/^(?:pop|shift)$/.test(w);ct.prototype[w]=function(){var Ke=arguments;if(Ee&&!this.__chain__){var yt=this.value();return I.apply(Y(yt)?yt:[],Ke)}return this[Z](function(Lt){return I.apply(Y(Lt)?Lt:[],Ke)})}}),ba(de.prototype,function(w,I){var Z=ct[I];if(Z){var Ee=Z.name+"";wb.call(pt,Ee)||(pt[Ee]=[]),pt[Ee].push({name:I,func:Z})}}),pt[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],de.prototype.clone=function Dg(){var w=new de(this.__wrapped__);return w.__actions__=Gt(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=Gt(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=Gt(this.__views__),w},de.prototype.reverse=function ik(){if(this.__filtered__){var w=new de(this);w.__dir__=-1,w.__filtered__=!0}else(w=this.clone()).__dir__*=-1;return w},de.prototype.value=function Vw(){var w=this.__wrapped__.value(),I=this.__dir__,Z=Y(w),Ee=I<0,Ke=Z?w.length:0,yt=function Eb(w,I,Z){for(var Ee=-1,Ke=Z.length;++Ee{"use strict";o.r(f),o.d(f,{PdfViewerComponent:()=>X,PdfViewerModule:()=>ce,RenderTextMode:()=>ee});var n=o(54496),i=o(70800),d=o(95657),u=o(74496),a=o(53616),e=o(46928);class c extends e.wH{constructor(ne,Y){super()}schedule(ne,Y=0){return this}}const l={setInterval(Q,ne,...Y){const{delegate:H}=l;return H?.setInterval?H.setInterval(Q,ne,...Y):setInterval(Q,ne,...Y)},clearInterval(Q){const{delegate:ne}=l;return(ne?.clearInterval||clearInterval)(Q)},delegate:void 0};var g=o(41248),p=o(35960);class S{constructor(ne,Y=S.now){this.schedulerActionCtor=ne,this.now=Y}schedule(ne,Y=0,H){return new this.schedulerActionCtor(this,ne).schedule(H,Y)}}S.now=p.K.now;const m=new class y extends S{constructor(ne,Y=S.now){super(ne,Y),this.actions=[],this._active=!1}flush(ne){const{actions:Y}=this;if(this._active)return void Y.push(ne);let H;this._active=!0;do{if(H=ne.execute(ne.state,ne.delay))break}while(ne=Y.shift());if(this._active=!1,H){for(;ne=Y.shift();)ne.unsubscribe();throw H}}}(class b extends c{constructor(ne,Y){super(ne,Y),this.scheduler=ne,this.work=Y,this.pending=!1}schedule(ne,Y=0){var H;if(this.closed)return this;this.state=ne;const ae=this.id,J=this.scheduler;return null!=ae&&(this.id=this.recycleAsyncId(J,ae,Y)),this.pending=!0,this.delay=Y,this.id=null!==(H=this.id)&&void 0!==H?H:this.requestAsyncId(J,this.id,Y),this}requestAsyncId(ne,Y,H=0){return l.setInterval(ne.flush.bind(ne,this),H)}recycleAsyncId(ne,Y,H=0){if(null!=H&&this.delay===H&&!1===this.pending)return Y;null!=Y&&l.clearInterval(Y)}execute(ne,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const H=this._execute(ne,Y);if(H)return H;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ne,Y){let ae,H=!1;try{this.work(ne)}catch(J){H=!0,ae=J||new Error("Scheduled action threw falsy error")}if(H)return this.unsubscribe(),ae}unsubscribe(){if(!this.closed){const{id:ne,scheduler:Y}=this,{actions:H}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.k)(H,this),null!=ne&&(this.id=this.recycleAsyncId(Y,ne,null)),this.delay=null,super.unsubscribe()}}});var C=o(95448),v=o(87773),E=o(66684),A=o(35584),T=o.t(A,2),R=o(6472),N=o.t(R,2);const P=["pdfViewerContainer"];function V(Q,ne,Y){Q[ne]=Y}function F(){return typeof window>"u"}F()||V(T,"verbosity",A.VerbosityLevel.INFOS);var ee=function(Q){return Q[Q.DISABLED=0]="DISABLED",Q[Q.ENABLED=1]="ENABLED",Q[Q.ENHANCED=2]="ENHANCED",Q}(ee||{});let X=(()=>{class Q{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof T<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/cmaps/`:null;_imageResourcesPath=typeof T<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/web/images/`:void 0;_renderText=!0;_renderTextMode=ee.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;resizeTimeout=null;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new d.E;afterLoadComplete=new n.EventEmitter;pageRendered=new n.EventEmitter;pageInitialized=new n.EventEmitter;textLayerRendered=new n.EventEmitter;onError=new n.EventEmitter;onProgress=new n.EventEmitter;pageChange=new n.EventEmitter(!0);src;set cMapsUrl(Y){this._cMapsUrl=Y}set page(Y){const H=Y=parseInt(Y,10)||1;this._pdf&&(Y=this.getValidPageNumber(Y)),this._page=Y,H!==Y&&this.pageChange.emit(Y)}set renderText(Y){this._renderText=Y}set renderTextMode(Y){this._renderTextMode=Y}set originalSize(Y){this._originalSize=Y}set showAll(Y){this._showAll=Y}set stickToPage(Y){this._stickToPage=Y}set zoom(Y){Y<=0||(this._zoom=Y)}get zoom(){return this._zoom}set zoomScale(Y){this._zoomScale=Y}get zoomScale(){return this._zoomScale}set rotation(Y){"number"==typeof Y&&Y%90==0?this._rotation=Y:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(Y){this._externalLinkTarget=Y}set autoresize(Y){this._canAutoResize=!!Y}set fitToPage(Y){this._fitToPage=!!Y}set showBorders(Y){this._showBorders=!!Y}static getLinkTarget(Y){switch(Y){case"blank":return R.LinkTarget.BLANK;case"none":return R.LinkTarget.NONE;case"self":return R.LinkTarget.SELF;case"parent":return R.LinkTarget.PARENT;case"top":return R.LinkTarget.TOP}return null}constructor(Y,H){if(this.element=Y,this.ngZone=H,F())return;let ae;const J=A.version;ae=window[`pdfWorkerSrc${J}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${J}/legacy/build/pdf.worker.min.js`),V(A.GlobalWorkerOptions,"workerSrc",ae)}ngAfterViewChecked(){if(this.isInitialized)return;const Y=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=Y?!1===this.isVisible&&null!=Y&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(Y){if(!F()&&this.isVisible)if("src"in Y)this.loadPDF();else if(this._pdf){if("renderText"in Y?(this.pdfViewer.textLayerMode=this._renderText?this._renderTextMode:ee.DISABLED,this.resetPdfDocument()):"showAll"in Y&&(this.setupViewer(),this.resetPdfDocument()),"page"in Y){const{page:H}=Y;if(H.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,u.Q)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,a.a)(this.destroy$)).subscribe({next:Y=>{const H=this._rotation+Y.rotate,ae=Y.getViewport({scale:this._zoom,rotation:H}).width*Q.CSS_UNITS;let J=this._zoom,K=!0;if(!this._originalSize||this._fitToPage&&ae>this.pdfViewerContainer.nativeElement.clientWidth){const W=Y.getViewport({scale:1,rotation:H});J=this.getScale(W.width,W.height),K=!this._stickToPage}this.pdfViewer._setScale(J,K)}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const Y=Q.getLinkTarget(this._externalLinkTarget);return Y?{externalLinkTarget:Y}:{}}initEventBus(){this.eventBus=function L(Q,ne){const Y=new Q.EventBus;return function x(Q,ne){(0,i.w)(Q,"documentload").pipe((0,a.a)(ne)).subscribe(()=>{const Y=document.createEvent("CustomEvent");Y.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(Y)}),(0,i.w)(Q,"pagerendered").pipe((0,a.a)(ne)).subscribe(({pageNumber:Y,cssTransform:H,source:ae})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("pagerendered",!0,!0,{pageNumber:Y,cssTransform:H}),ae.div.dispatchEvent(J)}),(0,i.w)(Q,"textlayerrendered").pipe((0,a.a)(ne)).subscribe(({pageNumber:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:Y}),H.textLayerDiv.dispatchEvent(ae)}),(0,i.w)(Q,"pagechanging").pipe((0,a.a)(ne)).subscribe(({pageNumber:Y,source:H})=>{const ae=document.createEvent("UIEvents");ae.initEvent("pagechanging",!0,!0),ae.pageNumber=Y,H.container.dispatchEvent(ae)}),(0,i.w)(Q,"pagesinit").pipe((0,a.a)(ne)).subscribe(({source:Y})=>{const H=document.createEvent("CustomEvent");H.initCustomEvent("pagesinit",!0,!0,null),Y.container.dispatchEvent(H)}),(0,i.w)(Q,"pagesloaded").pipe((0,a.a)(ne)).subscribe(({pagesCount:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("pagesloaded",!0,!0,{pagesCount:Y}),H.container.dispatchEvent(ae)}),(0,i.w)(Q,"scalechange").pipe((0,a.a)(ne)).subscribe(({scale:Y,presetValue:H,source:ae})=>{const J=document.createEvent("UIEvents");J.initEvent("scalechange",!0,!0),J.scale=Y,J.presetValue=H,ae.container.dispatchEvent(J)}),(0,i.w)(Q,"updateviewarea").pipe((0,a.a)(ne)).subscribe(({location:Y,source:H})=>{const ae=document.createEvent("UIEvents");ae.initEvent("updateviewarea",!0,!0),ae.location=Y,H.container.dispatchEvent(ae)}),(0,i.w)(Q,"find").pipe((0,a.a)(ne)).subscribe(({source:Y,type:H,query:ae,phraseSearch:J,caseSensitive:K,highlightAll:W,findPrevious:re})=>{if(Y===window)return;const G=document.createEvent("CustomEvent");G.initCustomEvent("find"+H,!0,!0,{query:ae,phraseSearch:J,caseSensitive:K,highlightAll:W,findPrevious:re}),window.dispatchEvent(G)}),(0,i.w)(Q,"attachmentsloaded").pipe((0,a.a)(ne)).subscribe(({attachmentsCount:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:Y}),H.container.dispatchEvent(ae)}),(0,i.w)(Q,"sidebarviewchanged").pipe((0,a.a)(ne)).subscribe(({view:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("sidebarviewchanged",!0,!0,{view:Y}),H.outerContainer.dispatchEvent(ae)}),(0,i.w)(Q,"pagemode").pipe((0,a.a)(ne)).subscribe(({mode:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("pagemode",!0,!0,{mode:Y}),H.pdfViewer.container.dispatchEvent(ae)}),(0,i.w)(Q,"namedaction").pipe((0,a.a)(ne)).subscribe(({action:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("namedaction",!0,!0,{action:Y}),H.pdfViewer.container.dispatchEvent(ae)}),(0,i.w)(Q,"presentationmodechanged").pipe((0,a.a)(ne)).subscribe(({active:Y,switchInProgress:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("presentationmodechanged",!0,!0,{active:Y,switchInProgress:H}),window.dispatchEvent(ae)}),(0,i.w)(Q,"outlineloaded").pipe((0,a.a)(ne)).subscribe(({outlineCount:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("outlineloaded",!0,!0,{outlineCount:Y}),H.container.dispatchEvent(ae)})}(Y,ne),Y}(N,this.destroy$),(0,i.w)(this.eventBus,"pagerendered").pipe((0,a.a)(this.destroy$)).subscribe(Y=>{this.pageRendered.emit(Y)}),(0,i.w)(this.eventBus,"pagesinit").pipe((0,a.a)(this.destroy$)).subscribe(Y=>{this.pageInitialized.emit(Y)}),(0,i.w)(this.eventBus,"pagechanging").pipe((0,a.a)(this.destroy$)).subscribe(({pageNumber:Y})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=Y,this.pageChange.emit(Y)},100)}),(0,i.w)(this.eventBus,"textlayerrendered").pipe((0,a.a)(this.destroy$)).subscribe(Y=>{this.textLayerRendered.emit(Y)})}initPDFServices(){this.pdfLinkService=new R.PDFLinkService({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new R.PDFFindController({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:ee.DISABLED,findController:this.pdfFindController,l10n:new R.GenericL10n("en"),imageResourcesPath:this._imageResourcesPath}}setupViewer(){V(T,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new R.PDFViewer(this.getPDFOptions()):new R.PDFSinglePageViewer(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(Y){return Y<1?1:Y>this._pdf.numPages?this._pdf.numPages:Y}getDocumentParams(){const Y=typeof this.src;if(!this._cMapsUrl)return this.src;const H={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0};return"string"===Y?H.url=this.src:"object"===Y&&(void 0!==this.src.byteLength?H.data=this.src:Object.assign(H,this.src)),H}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=A.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=H=>{this.onProgress.emit(H)};const Y=this.src;(0,u.Q)(this.loadingTask.promise).pipe((0,a.a)(this.destroy$)).subscribe({next:H=>{this._pdf=H,this.lastLoaded=Y,this.afterLoadComplete.emit(H),this.resetPdfDocument(),this.update()},error:H=>{this.lastLoaded=null,this.onError.emit(H)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(Y,H){const ae=this._showBorders?2*Q.BORDER_WIDTH:0,J=this.pdfViewerContainer.nativeElement.clientWidth-ae,K=this.pdfViewerContainer.nativeElement.clientHeight-ae;if(0===K||0===H||0===J||0===Y)return 1;let W=1;switch(this._zoomScale){case"page-fit":W=Math.min(K/H,J/Y);break;case"page-height":W=K/H;break;default:W=J/Y}return this._zoom*W/Q.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){F()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){F()||this.ngZone.runOutsideAngular(()=>{(0,i.w)(window,"resize").pipe(function M(Q,ne=m){return(0,C.i)((Y,H)=>{let ae=null,J=null,K=null;const W=()=>{if(ae){ae.unsubscribe(),ae=null;const G=J;J=null,H.next(G)}};function re(){const G=K+Q,ue=ne.now();if(ue{J=G,K=ne.now(),ae||(ae=ne.schedule(re,Q),H.add(ae))},()=>{W(),H.complete()},void 0,()=>{J=ae=null}))})}(100),(0,E.I)(()=>this._canAutoResize&&!!this._pdf),(0,a.a)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(H){return new(H||Q)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:Q,selectors:[["pdf-viewer"]],viewQuery:function(H,ae){if(1&H&&n.\u0275\u0275viewQuery(P,5),2&H){let J;n.\u0275\u0275queryRefresh(J=n.\u0275\u0275loadQuery())&&(ae.pdfViewerContainer=J.first)}},inputs:{src:"src",cMapsUrl:[n.\u0275\u0275InputFlags.None,"c-maps-url","cMapsUrl"],page:"page",renderText:[n.\u0275\u0275InputFlags.None,"render-text","renderText"],renderTextMode:[n.\u0275\u0275InputFlags.None,"render-text-mode","renderTextMode"],originalSize:[n.\u0275\u0275InputFlags.None,"original-size","originalSize"],showAll:[n.\u0275\u0275InputFlags.None,"show-all","showAll"],stickToPage:[n.\u0275\u0275InputFlags.None,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[n.\u0275\u0275InputFlags.None,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[n.\u0275\u0275InputFlags.None,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[n.\u0275\u0275InputFlags.None,"fit-to-page","fitToPage"],showBorders:[n.\u0275\u0275InputFlags.None,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[n.\u0275\u0275NgOnChangesFeature],decls:3,vars:0,consts:[[1,"ng2-pdf-viewer-container"],["pdfViewerContainer",""],[1,"pdfViewer"]],template:function(H,ae){1&H&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2),n.\u0275\u0275elementEnd())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%] {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%] {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%] .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%] .textLayer span, [_nghost-%COMP%] .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%] .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.appended{position:initial}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .textLayer br::selection{background:transparent}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%] .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%] .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%] .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .freeTextAnnotation, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .caretAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%] .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%] .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%] .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%] .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%] .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%] .xfaContentarea{position:absolute}[_nghost-%COMP%] .xfaPrintOnly{display:none}[_nghost-%COMP%] .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%] .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%] .xfaLayer div{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%] .xfaLayer a{color:#00f}[_nghost-%COMP%] .xfaRich li{margin-left:3em}[_nghost-%COMP%] .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%] .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%] .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%] .xfaLabel{height:100%;width:100%}[_nghost-%COMP%] .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%] .xfaLeft>.xfaCaption, [_nghost-%COMP%] .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaRight>.xfaCaption, [_nghost-%COMP%] .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%] .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%] .xfaTop>.xfaCaption, [_nghost-%COMP%] .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaBottom>.xfaCaption, [_nghost-%COMP%] .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%] .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%] .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%] .xfaTextfield:focus, [_nghost-%COMP%] .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%] .xfaCheckbox:focus, [_nghost-%COMP%] .xfaRadio:focus{outline:auto}[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%] .xfaTop>.xfaTextfield, [_nghost-%COMP%] .xfaTop>.xfaSelect, [_nghost-%COMP%] .xfaBottom>.xfaTextfield, [_nghost-%COMP%] .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%] .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%] .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%] .xfaCheckbox, [_nghost-%COMP%] .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%] .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%] .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .xfaLrTb, [_nghost-%COMP%] .xfaRlTb, [_nghost-%COMP%] .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%] .xfaTb>div{justify-content:left}[_nghost-%COMP%] .xfaPosition{position:relative}[_nghost-%COMP%] .xfaArea{position:relative}[_nghost-%COMP%] .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%] .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%] .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%] .xfaNonInteractive input, [_nghost-%COMP%] .xfaNonInteractive textarea, [_nghost-%COMP%] .xfaDisabled input, [_nghost-%COMP%] .xfaDisabled textarea, [_nghost-%COMP%] .xfaReadOnly input, [_nghost-%COMP%] .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{background:transparent}[_nghost-%COMP%] .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%] [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%] [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%] [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%] .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%] .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%] .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%] .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%] .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%] [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%] [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%] [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%] .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%] .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped, [_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .spread .dummyPage, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%] .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%] .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%] .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return Q})(),ce=(()=>{class Q{static \u0275fac=function(H){return new(H||Q)};static \u0275mod=n.\u0275\u0275defineNgModule({type:Q});static \u0275inj=n.\u0275\u0275defineInjector({})}return Q})()},1528:(ve,f,o)=>{"use strict";function n(d,u,a,e,c,l,g){try{var b=d[l](g),p=b.value}catch(S){return void a(S)}b.done?u(p):Promise.resolve(p).then(e,c)}function i(d){return function(){var u=this,a=arguments;return new Promise(function(e,c){var l=d.apply(u,a);function g(p){n(l,e,c,g,b,"next",p)}function b(p){n(l,e,c,g,b,"throw",p)}g(void 0)})}}o.d(f,{c:()=>i})},81316:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{__addDisposableResource:()=>Q,__assign:()=>d,__asyncDelegator:()=>N,__asyncGenerator:()=>R,__asyncValues:()=>P,__await:()=>T,__awaiter:()=>S,__classPrivateFieldGet:()=>ee,__classPrivateFieldIn:()=>ce,__classPrivateFieldSet:()=>X,__createBinding:()=>m,__decorate:()=>a,__disposeResources:()=>Y,__esDecorate:()=>c,__exportStar:()=>h,__extends:()=>i,__generator:()=>y,__importDefault:()=>F,__importStar:()=>V,__makeTemplateObject:()=>L,__metadata:()=>p,__param:()=>e,__propKey:()=>g,__read:()=>v,__rest:()=>u,__runInitializers:()=>l,__setFunctionName:()=>b,__spread:()=>M,__spreadArray:()=>A,__spreadArrays:()=>E,__values:()=>C,default:()=>H});var n=function(ae,J){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,W){K.__proto__=W}||function(K,W){for(var re in W)Object.prototype.hasOwnProperty.call(W,re)&&(K[re]=W[re])})(ae,J)};function i(ae,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function K(){this.constructor=ae}n(ae,J),ae.prototype=null===J?Object.create(J):(K.prototype=J.prototype,new K)}var d=function(){return d=Object.assign||function(J){for(var K,W=1,re=arguments.length;W=0;ye--)(ue=ae[ye])&&(G=(re<3?ue(G):re>3?ue(J,K,G):ue(J,K))||G);return re>3&&G&&Object.defineProperty(J,K,G),G}function e(ae,J){return function(K,W){J(K,W,ae)}}function c(ae,J,K,W,re,G){function ue(mt){if(void 0!==mt&&"function"!=typeof mt)throw new TypeError("Function expected");return mt}for(var De,ye=W.kind,Ie="getter"===ye?"get":"setter"===ye?"set":"value",be=!J&&ae?W.static?ae:ae.prototype:null,ie=J||(be?Object.getOwnPropertyDescriptor(be,W.name):{}),ze=!1,qe=K.length-1;qe>=0;qe--){var nt={};for(var ft in W)nt[ft]="access"===ft?{}:W[ft];for(var ft in W.access)nt.access[ft]=W.access[ft];nt.addInitializer=function(mt){if(ze)throw new TypeError("Cannot add initializers after decoration has completed");G.push(ue(mt||null))};var rt=(0,K[qe])("accessor"===ye?{get:ie.get,set:ie.set}:ie[Ie],nt);if("accessor"===ye){if(void 0===rt)continue;if(null===rt||"object"!=typeof rt)throw new TypeError("Object expected");(De=ue(rt.get))&&(ie.get=De),(De=ue(rt.set))&&(ie.set=De),(De=ue(rt.init))&&re.unshift(De)}else(De=ue(rt))&&("field"===ye?re.unshift(De):ie[Ie]=De)}be&&Object.defineProperty(be,W.name,ie),ze=!0}function l(ae,J,K){for(var W=arguments.length>2,re=0;re0&&G[G.length-1])&&(6===be[0]||2===be[0])){K=0;continue}if(3===be[0]&&(!G||be[1]>G[0]&&be[1]=ae.length&&(ae=void 0),{value:ae&&ae[W++],done:!ae}}};throw new TypeError(J?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(ae,J){var K="function"==typeof Symbol&&ae[Symbol.iterator];if(!K)return ae;var re,ue,W=K.call(ae),G=[];try{for(;(void 0===J||J-- >0)&&!(re=W.next()).done;)G.push(re.value)}catch(ye){ue={error:ye}}finally{try{re&&!re.done&&(K=W.return)&&K.call(W)}finally{if(ue)throw ue.error}}return G}function M(){for(var ae=[],J=0;J1||ye(ze,qe)})})}function ye(ze,qe){try{!function Ie(ze){ze.value instanceof T?Promise.resolve(ze.value.v).then(be,ie):De(G[0][2],ze)}(W[ze](qe))}catch(nt){De(G[0][3],nt)}}function be(ze){ye("next",ze)}function ie(ze){ye("throw",ze)}function De(ze,qe){ze(qe),G.shift(),G.length&&ye(G[0][0],G[0][1])}}function N(ae){var J,K;return J={},W("next"),W("throw",function(re){throw re}),W("return"),J[Symbol.iterator]=function(){return this},J;function W(re,G){J[re]=ae[re]?function(ue){return(K=!K)?{value:T(ae[re](ue)),done:!1}:G?G(ue):ue}:G}}function P(ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var K,J=ae[Symbol.asyncIterator];return J?J.call(ae):(ae=C(ae),K={},W("next"),W("throw"),W("return"),K[Symbol.asyncIterator]=function(){return this},K);function W(G){K[G]=ae[G]&&function(ue){return new Promise(function(ye,Ie){!function re(G,ue,ye,Ie){Promise.resolve(Ie).then(function(be){G({value:be,done:ye})},ue)}(ye,Ie,(ue=ae[G](ue)).done,ue.value)})}}}function L(ae,J){return Object.defineProperty?Object.defineProperty(ae,"raw",{value:J}):ae.raw=J,ae}var x=Object.create?function(ae,J){Object.defineProperty(ae,"default",{enumerable:!0,value:J})}:function(ae,J){ae.default=J};function V(ae){if(ae&&ae.__esModule)return ae;var J={};if(null!=ae)for(var K in ae)"default"!==K&&Object.prototype.hasOwnProperty.call(ae,K)&&m(J,ae,K);return x(J,ae),J}function F(ae){return ae&&ae.__esModule?ae:{default:ae}}function ee(ae,J,K,W){if("a"===K&&!W)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof J?ae!==J||!W:!J.has(ae))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===K?W:"a"===K?W.call(ae):W?W.value:J.get(ae)}function X(ae,J,K,W,re){if("m"===W)throw new TypeError("Private method is not writable");if("a"===W&&!re)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof J?ae!==J||!re:!J.has(ae))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===W?re.call(ae,K):re?re.value=K:J.set(ae,K),K}function ce(ae,J){if(null===J||"object"!=typeof J&&"function"!=typeof J)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof ae?J===ae:ae.has(J)}function Q(ae,J,K){if(null!=J){if("object"!=typeof J&&"function"!=typeof J)throw new TypeError("Object expected.");var W;if(K){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");W=J[Symbol.asyncDispose]}if(void 0===W){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");W=J[Symbol.dispose]}if("function"!=typeof W)throw new TypeError("Object not disposable.");ae.stack.push({value:J,dispose:W,async:K})}else K&&ae.stack.push({async:!0});return J}var ne="function"==typeof SuppressedError?SuppressedError:function(ae,J,K){var W=new Error(K);return W.name="SuppressedError",W.error=ae,W.suppressed=J,W};function Y(ae){function J(W){ae.error=ae.hasError?new ne(W,ae.error,"An error was suppressed during disposal."):W,ae.hasError=!0}return function K(){for(;ae.stack.length;){var W=ae.stack.pop();try{var re=W.dispose&&W.dispose.call(W.value);if(W.async)return Promise.resolve(re).then(K,function(G){return J(G),K()})}catch(G){J(G)}}if(ae.hasError)throw ae.error}()}const H={__extends:i,__assign:d,__rest:u,__decorate:a,__param:e,__metadata:p,__awaiter:S,__generator:y,__createBinding:m,__exportStar:h,__values:C,__read:v,__spread:M,__spreadArrays:E,__spreadArray:A,__await:T,__asyncGenerator:R,__asyncDelegator:N,__asyncValues:P,__makeTemplateObject:L,__importStar:V,__importDefault:F,__classPrivateFieldGet:ee,__classPrivateFieldSet:X,__classPrivateFieldIn:ce,__addDisposableResource:Q,__disposeResources:Y}}},ve=>{ve(ve.s=27460)}]); \ No newline at end of file diff --git a/www/main.a020b5d94f265622.js b/www/main.a020b5d94f265622.js new file mode 100644 index 00000000..5f57f332 --- /dev/null +++ b/www/main.a020b5d94f265622.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(ve,f,o)=>{"use strict";o.d(f,{c:()=>d,r:()=>_});const d=(L,O)=>{L.componentOnReady?L.componentOnReady().then(z=>O(z)):_(()=>O(L))},_=L=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(L):"function"==typeof requestAnimationFrame?requestAnimationFrame(L):setTimeout(L)},51896:(ve,f,o)=>{"use strict";o.d(f,{L:()=>n,a:()=>i,b:()=>d,c:()=>u,d:()=>a,g:()=>L});const n="ionViewWillEnter",i="ionViewDidEnter",d="ionViewWillLeave",u="ionViewDidLeave",a="ionViewWillUnload",L=O=>O.classList.contains("ion-page")?O:O.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||O},30388:(ve,f,o)=>{"use strict";o.d(f,{c:()=>C});var n=o(14829),i=o(46384);let d;const a=v=>v.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=v=>(void 0===d&&(d=void 0===v.style.animationName&&void 0!==v.style.webkitAnimationName?"-webkit-":""),d),c=(v,M,E)=>{const A=M.startsWith("animation")?e(v):"";v.style.setProperty(A+M,E)},l=(v,M)=>{const E=M.startsWith("animation")?e(v):"";v.style.removeProperty(E+M)},_=[],h=(v=[],M)=>{if(void 0!==M){const E=Array.isArray(M)?M:[M];return[...v,...E]}return v},C=v=>{let M,E,A,T,R,N,F,ae,re,W,ee,be,Ae,I=[],L=[],O=[],z=!1,q={},X=[],ce=[],K={},ne=0,Y=!1,H=!1,J=!0,G=!1,de=!0,ye=!1;const le=v,Me=[],$e=[],qe=[],tt=[],mt=[],st=[],ft=[],Qt=[],bt=[],Vt=[],sn=[],dn="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,wn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&dn,vn=()=>sn,Pe=(Ie,me)=>{const Te=me.findIndex(et=>et.c===Ie);Te>-1&&me.splice(Te,1)},Re=(Ie,me)=>((me?.oneTimeCallback?$e:Me).push({c:Ie,o:me}),Ae),He=()=>{if(wn)sn.forEach(Ie=>{Ie.cancel()}),sn.length=0;else{const Ie=tt.slice();(0,i.r)(()=>{Ie.forEach(me=>{l(me,"animation-name"),l(me,"animation-duration"),l(me,"animation-timing-function"),l(me,"animation-iteration-count"),l(me,"animation-delay"),l(me,"animation-play-state"),l(me,"animation-fill-mode"),l(me,"animation-direction")})})}},gt=()=>{st.forEach(Ie=>{Ie?.parentNode&&Ie.parentNode.removeChild(Ie)}),st.length=0},tn=()=>void 0!==R?R:F?F.getFill():"both",bn=()=>void 0!==re?re:void 0!==N?N:F?F.getDirection():"normal",Tn=()=>Y?"linear":void 0!==A?A:F?F.getEasing():"linear",nn=()=>H?0:void 0!==W?W:void 0!==E?E:F?F.getDuration():0,tr=()=>void 0!==T?T:F?F.getIterations():1,Ir=()=>void 0!==ee?ee:void 0!==M?M:F?F.getDelay():0,jn=()=>{0!==ne&&(ne--,0===ne&&((()=>{Er(),bt.forEach(_t=>_t()),Vt.forEach(_t=>_t());const Ie=J?1:0,me=X,Te=ce,et=K;tt.forEach(_t=>{const At=_t.classList;me.forEach(Nt=>At.add(Nt)),Te.forEach(Nt=>At.remove(Nt));for(const Nt in et)et.hasOwnProperty(Nt)&&c(_t,Nt,et[Nt])}),W=void 0,re=void 0,ee=void 0,Me.forEach(_t=>_t.c(Ie,Ae)),$e.forEach(_t=>_t.c(Ie,Ae)),$e.length=0,de=!0,J&&(G=!0),J=!0})(),F&&F.animationFinish()))},Zn=(Ie=!0)=>{gt();const me=(v=>(v.forEach(M=>{for(const E in M)if(M.hasOwnProperty(E)){const A=M[E];if("easing"===E)M["animation-timing-function"]=A,delete M[E];else{const T=a(E);T!==E&&(M[T]=A,delete M[E])}}}),v))(I);tt.forEach(Te=>{if(me.length>0){const et=((v=[])=>v.map(M=>{const E=M.offset,A=[];for(const T in M)M.hasOwnProperty(T)&&"offset"!==T&&A.push(`${T}: ${M[T]};`);return`${100*E}% { ${A.join(" ")} }`}).join(" "))(me);be=void 0!==v?v:(v=>{let M=_.indexOf(v);return M<0&&(M=_.push(v)-1),`ion-animation-${M}`})(et);const _t=((v,M,E)=>{var A;const T=(v=>{const M=void 0!==v.getRootNode?v.getRootNode():v;return M.head||M})(E),R=e(E),N=T.querySelector("#"+v);if(N)return N;const I=(null!==(A=E.ownerDocument)&&void 0!==A?A:document).createElement("style");return I.id=v,I.textContent=`@${R}keyframes ${v} { ${M} } @${R}keyframes ${v}-alt { ${M} }`,T.appendChild(I),I})(be,et,Te);st.push(_t),c(Te,"animation-duration",`${nn()}ms`),c(Te,"animation-timing-function",Tn()),c(Te,"animation-delay",`${Ir()}ms`),c(Te,"animation-fill-mode",tn()),c(Te,"animation-direction",bn());const At=tr()===1/0?"infinite":tr().toString();c(Te,"animation-iteration-count",At),c(Te,"animation-play-state","paused"),Ie&&c(Te,"animation-name",`${_t.id}-alt`),(0,i.r)(()=>{c(Te,"animation-name",_t.id||null)})}})},si=(Ie=!0)=>{(()=>{ft.forEach(et=>et()),Qt.forEach(et=>et());const Ie=L,me=O,Te=q;tt.forEach(et=>{const _t=et.classList;Ie.forEach(At=>_t.add(At)),me.forEach(At=>_t.remove(At));for(const At in Te)Te.hasOwnProperty(At)&&c(et,At,Te[At])})})(),I.length>0&&(wn?(tt.forEach(Ie=>{const me=Ie.animate(I,{id:le,delay:Ir(),duration:nn(),easing:Tn(),iterations:tr(),fill:tn(),direction:bn()});me.pause(),sn.push(me)}),sn.length>0&&(sn[0].onfinish=()=>{jn()})):Zn(Ie)),z=!0},kr=Ie=>{if(Ie=Math.min(Math.max(Ie,0),.9999),wn)sn.forEach(me=>{me.currentTime=me.effect.getComputedTiming().delay+nn()*Ie,me.pause()});else{const me=`-${nn()*Ie}ms`;tt.forEach(Te=>{I.length>0&&(c(Te,"animation-delay",me),c(Te,"animation-play-state","paused"))})}},ot=Ie=>{sn.forEach(me=>{me.effect.updateTiming({delay:Ir(),duration:nn(),easing:Tn(),iterations:tr(),fill:tn(),direction:bn()})}),void 0!==Ie&&kr(Ie)},Ot=(Ie=!0,me)=>{(0,i.r)(()=>{tt.forEach(Te=>{c(Te,"animation-name",be||null),c(Te,"animation-duration",`${nn()}ms`),c(Te,"animation-timing-function",Tn()),c(Te,"animation-delay",void 0!==me?`-${me*nn()}ms`:`${Ir()}ms`),c(Te,"animation-fill-mode",tn()||null),c(Te,"animation-direction",bn()||null);const et=tr()===1/0?"infinite":tr().toString();c(Te,"animation-iteration-count",et),Ie&&c(Te,"animation-name",`${be}-alt`),(0,i.r)(()=>{c(Te,"animation-name",be||null)})})})},It=(Ie=!1,me=!0,Te)=>(Ie&&mt.forEach(et=>{et.update(Ie,me,Te)}),wn?ot(Te):Ot(me,Te),Ae),En=()=>{z&&(wn?sn.forEach(Ie=>{Ie.pause()}):tt.forEach(Ie=>{c(Ie,"animation-play-state","paused")}),ye=!0)},zn=()=>{ae=void 0,jn()},Er=()=>{ae&&clearTimeout(ae)},un=Ie=>new Promise(me=>{Ie?.sync&&(H=!0,Re(()=>H=!1,{oneTimeCallback:!0})),z||si(),G&&(wn?(kr(0),ot()):Ot(),G=!1),de&&(ne=mt.length+1,de=!1);const Te=()=>{Pe(et,$e),me()},et=()=>{Pe(Te,qe),me()};Re(et,{oneTimeCallback:!0}),((Ie,me)=>{qe.push({c:Ie,o:{oneTimeCallback:!0}})})(Te),mt.forEach(_t=>{_t.play()}),wn?(sn.forEach(Ie=>{Ie.play()}),(0===I.length||0===tt.length)&&jn()):(()=>{if(Er(),(0,i.r)(()=>{tt.forEach(Ie=>{I.length>0&&c(Ie,"animation-play-state","running")})}),0===I.length||0===tt.length)jn();else{const Ie=Ir()||0,me=nn()||0,Te=tr()||1;isFinite(Te)&&(ae=setTimeout(zn,Ie+me*Te+100)),((v,M)=>{let E;const A={passive:!0},R=N=>{v===N.target&&(E&&E(),Er(),(0,i.r)(()=>{tt.forEach(Ie=>{l(Ie,"animation-duration"),l(Ie,"animation-delay"),l(Ie,"animation-play-state")}),(0,i.r)(jn)}))};v&&(v.addEventListener("webkitAnimationEnd",R,A),v.addEventListener("animationend",R,A),E=()=>{v.removeEventListener("webkitAnimationEnd",R,A),v.removeEventListener("animationend",R,A)})})(tt[0])}})(),ye=!1}),V=(Ie,me)=>{const Te=I[0];return void 0===Te||void 0!==Te.offset&&0!==Te.offset?I=[{offset:0,[Ie]:me},...I]:Te[Ie]=me,Ae};return Ae={parentAnimation:F,elements:tt,childAnimations:mt,id:le,animationFinish:jn,from:V,to:(Ie,me)=>{const Te=I[I.length-1];return void 0===Te||void 0!==Te.offset&&1!==Te.offset?I=[...I,{offset:1,[Ie]:me}]:Te[Ie]=me,Ae},fromTo:(Ie,me,Te)=>V(Ie,me).to(Ie,Te),parent:Ie=>(F=Ie,Ae),play:un,pause:()=>(mt.forEach(Ie=>{Ie.pause()}),En(),Ae),stop:()=>{mt.forEach(Ie=>{Ie.stop()}),z&&(He(),z=!1),Y=!1,H=!1,de=!0,re=void 0,W=void 0,ee=void 0,ne=0,G=!1,J=!0,ye=!1,qe.forEach(Ie=>Ie.c(0,Ae)),qe.length=0},destroy:Ie=>(mt.forEach(me=>{me.destroy(Ie)}),(Ie=>{He(),Ie&>()})(Ie),tt.length=0,mt.length=0,I.length=0,Me.length=0,$e.length=0,z=!1,de=!0,Ae),keyframes:Ie=>{const me=I!==Ie;return I=Ie,me&&(Ie=>{wn?vn().forEach(me=>{const Te=me.effect;if(Te.setKeyframes)Te.setKeyframes(Ie);else{const et=new KeyframeEffect(Te.target,Ie,Te.getTiming());me.effect=et}}):Zn()})(I),Ae},addAnimation:Ie=>{if(null!=Ie)if(Array.isArray(Ie))for(const me of Ie)me.parent(Ae),mt.push(me);else Ie.parent(Ae),mt.push(Ie);return Ae},addElement:Ie=>{if(null!=Ie)if(1===Ie.nodeType)tt.push(Ie);else if(Ie.length>=0)for(let me=0;me(R=Ie,It(!0),Ae),direction:Ie=>(N=Ie,It(!0),Ae),iterations:Ie=>(T=Ie,It(!0),Ae),duration:Ie=>(!wn&&0===Ie&&(Ie=1),E=Ie,It(!0),Ae),easing:Ie=>(A=Ie,It(!0),Ae),delay:Ie=>(M=Ie,It(!0),Ae),getWebAnimations:vn,getKeyframes:()=>I,getFill:tn,getDirection:bn,getDelay:Ir,getIterations:tr,getEasing:Tn,getDuration:nn,afterAddRead:Ie=>(bt.push(Ie),Ae),afterAddWrite:Ie=>(Vt.push(Ie),Ae),afterClearStyles:(Ie=[])=>{for(const me of Ie)K[me]="";return Ae},afterStyles:(Ie={})=>(K=Ie,Ae),afterRemoveClass:Ie=>(ce=h(ce,Ie),Ae),afterAddClass:Ie=>(X=h(X,Ie),Ae),beforeAddRead:Ie=>(ft.push(Ie),Ae),beforeAddWrite:Ie=>(Qt.push(Ie),Ae),beforeClearStyles:(Ie=[])=>{for(const me of Ie)q[me]="";return Ae},beforeStyles:(Ie={})=>(q=Ie,Ae),beforeRemoveClass:Ie=>(O=h(O,Ie),Ae),beforeAddClass:Ie=>(L=h(L,Ie),Ae),onFinish:Re,isRunning:()=>0!==ne&&!ye,progressStart:(Ie=!1,me)=>(mt.forEach(Te=>{Te.progressStart(Ie,me)}),En(),Y=Ie,z||si(),It(!1,!0,me),Ae),progressStep:Ie=>(mt.forEach(me=>{me.progressStep(Ie)}),kr(Ie),Ae),progressEnd:(Ie,me,Te)=>(Y=!1,mt.forEach(et=>{et.progressEnd(Ie,me,Te)}),void 0!==Te&&(W=Te),G=!1,J=!0,0===Ie?(re="reverse"===bn()?"normal":"reverse","reverse"===re&&(J=!1),wn?(It(),kr(1-me)):(ee=(1-me)*nn()*-1,It(!1,!1))):1===Ie&&(wn?(It(),kr(me)):(ee=me*nn()*-1,It(!1,!1))),void 0!==Ie&&!F&&un(),Ae)}}},59637:(ve,f,o)=>{"use strict";o.d(f,{E:()=>b,I:()=>c,a:()=>n,s:()=>l});const n=_=>{try{if(_ instanceof c)return _.value;if(!u()||"string"!=typeof _||""===_)return _;if(_.includes("onload="))return"";const S=document.createDocumentFragment(),y=document.createElement("div");S.appendChild(y),y.innerHTML=_,e.forEach(v=>{const M=S.querySelectorAll(v);for(let E=M.length-1;E>=0;E--){const A=M[E];A.parentNode?A.parentNode.removeChild(A):S.removeChild(A);const T=d(A);for(let R=0;R{if(_.nodeType&&1!==_.nodeType)return;if(typeof NamedNodeMap<"u"&&!(_.attributes instanceof NamedNodeMap))return void _.remove();for(let y=_.attributes.length-1;y>=0;y--){const m=_.attributes.item(y),h=m.name;if(!a.includes(h.toLowerCase())){_.removeAttribute(h);continue}const C=m.value,v=_[h];(null!=C&&C.toLowerCase().includes("javascript:")||null!=v&&v.toLowerCase().includes("javascript:"))&&_.removeAttribute(h)}const S=d(_);for(let y=0;ynull!=_.children?_.children:_.childNodes,u=()=>{var _;const S=window,y=null===(_=S?.Ionic)||void 0===_?void 0:_.config;return!y||(y.get?y.get("sanitizerEnabled",!0):!0===y.sanitizerEnabled||void 0===y.sanitizerEnabled)},a=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class c{constructor(S){this.value=S}}const l=_=>{const S=window,y=S.Ionic;if(!y||!y.config||"Object"===y.config.constructor.name)return S.Ionic=S.Ionic||{},S.Ionic.config=Object.assign(Object.assign({},S.Ionic.config),_),S.Ionic.config},b=!1},86944:(ve,f,o)=>{"use strict";o.d(f,{g:()=>n});const n=(e,c,l,g,b)=>d(e[1],c[1],l[1],g[1],b).map(_=>i(e[0],c[0],l[0],g[0],_)),i=(e,c,l,g,b)=>b*(3*c*Math.pow(b-1,2)+b*(-3*l*b+3*l+g*b))-e*Math.pow(b-1,3),d=(e,c,l,g,b)=>a((g-=b)-3*(l-=b)+3*(c-=b)-(e-=b),3*l-6*c+3*e,3*c-3*e,e).filter(S=>S>=0&&S<=1),a=(e,c,l,g)=>{if(0===e)return((e,c,l)=>{const g=c*c-4*e*l;return g<0?[]:[(-c+Math.sqrt(g))/(2*e),(-c-Math.sqrt(g))/(2*e)]})(c,l,g);const b=(3*(l/=e)-(c/=e)*c)/3,_=(2*c*c*c-9*c*l+27*(g/=e))/27;if(0===b)return[Math.pow(-_,1/3)];if(0===_)return[Math.sqrt(-b),-Math.sqrt(-b)];const S=Math.pow(_/2,2)+Math.pow(b/3,3);if(0===S)return[Math.pow(_/2,.5)-c/3];if(S>0)return[Math.pow(-_/2+Math.sqrt(S),1/3)-Math.pow(_/2+Math.sqrt(S),1/3)-c/3];const y=Math.sqrt(Math.pow(-b/3,3)),m=Math.acos(-_/(2*Math.sqrt(Math.pow(-b/3,3)))),h=2*Math.pow(y,1/3);return[h*Math.cos(m/3)-c/3,h*Math.cos((m+2*Math.PI)/3)-c/3,h*Math.cos((m+4*Math.PI)/3)-c/3]}},10495:(ve,f,o)=>{"use strict";o.d(f,{C:()=>a,a:()=>d,d:()=>u});var n=o(1528),i=o(46384);const d=function(){var e=(0,n.c)(function*(c,l,g,b,_,S){var y;if(c)return c.attachViewToDom(l,g,_,b);if(!(S||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const m="string"==typeof g?null===(y=l.ownerDocument)||void 0===y?void 0:y.createElement(g):g;return b&&b.forEach(h=>m.classList.add(h)),_&&Object.assign(m,_),l.appendChild(m),yield new Promise(h=>(0,i.c)(m,h)),m});return function(l,g,b,_,S,y){return e.apply(this,arguments)}}(),u=(e,c)=>{if(c){if(e)return e.removeViewFromDom(c.parentElement,c);c.remove()}return Promise.resolve()},a=()=>{let e,c;return{attachViewToDom:function(){var b=(0,n.c)(function*(_,S,y={},m=[]){var h,C;let v;if(e=_,S){const E="string"==typeof S?null===(h=e.ownerDocument)||void 0===h?void 0:h.createElement(S):S;m.forEach(A=>E.classList.add(A)),Object.assign(E,y),e.appendChild(E),v=E,yield new Promise(A=>(0,i.c)(E,A))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(v=e.children[0]).classList.contains("ion-delegate-host")){const A=null===(C=e.ownerDocument)||void 0===C?void 0:C.createElement("div");A.classList.add("ion-delegate-host"),m.forEach(T=>A.classList.add(T)),A.append(...e.children),e.appendChild(A),v=A}const M=document.querySelector("ion-app")||document.body;return c=document.createComment("ionic teleport"),e.parentNode.insertBefore(c,e),M.appendChild(e),v??e});return function(S,y){return b.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&c&&(c.parentNode.insertBefore(e,c),c.remove()),Promise.resolve())}}},66560:(ve,f,o)=>{"use strict";o.d(f,{G:()=>a});class i{constructor(c,l,g,b,_){this.id=l,this.name=g,this.disableScroll=_,this.priority=1e6*b+l,this.ctrl=c}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const c=this.ctrl.capture(this.name,this.id,this.priority);return c&&this.disableScroll&&this.ctrl.disableScroll(this.id),c}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class d{constructor(c,l,g,b){this.id=l,this.disable=g,this.disableScroll=b,this.ctrl=c}block(){if(this.ctrl){if(this.disable)for(const c of this.disable)this.ctrl.disableGesture(c,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const c of this.disable)this.ctrl.enableGesture(c,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const u="backdrop-no-scroll",a=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(c){var l;return new i(this,this.newID(),c.name,null!==(l=c.priority)&&void 0!==l?l:0,!!c.disableScroll)}createBlocker(c={}){return new d(this,this.newID(),c.disable,!!c.disableScroll)}start(c,l,g){return this.canStart(c)?(this.requestedStart.set(l,g),!0):(this.requestedStart.delete(l),!1)}capture(c,l,g){if(!this.start(c,l,g))return!1;const b=this.requestedStart;let _=-1e4;if(b.forEach(S=>{_=Math.max(_,S)}),_===g){this.capturedId=l,b.clear();const S=new CustomEvent("ionGestureCaptured",{detail:{gestureName:c}});return document.dispatchEvent(S),!0}return b.delete(l),!1}release(c){this.requestedStart.delete(c),this.capturedId===c&&(this.capturedId=void 0)}disableGesture(c,l){let g=this.disabledGestures.get(c);void 0===g&&(g=new Set,this.disabledGestures.set(c,g)),g.add(l)}enableGesture(c,l){const g=this.disabledGestures.get(c);void 0!==g&&g.delete(l)}disableScroll(c){this.disabledScroll.add(c),1===this.disabledScroll.size&&document.body.classList.add(u)}enableScroll(c){this.disabledScroll.delete(c),0===this.disabledScroll.size&&document.body.classList.remove(u)}canStart(c){return!(void 0!==this.capturedId||this.isDisabled(c))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(c){const l=this.disabledGestures.get(c);return!!(l&&l.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{MENU_BACK_BUTTON_PRIORITY:()=>g,OVERLAY_BACK_BUTTON_PRIORITY:()=>l,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>a,startHardwareBackButton:()=>c});var n=o(1528),i=o(14829),d=o(88523);o(62992);const a=()=>d.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,e=()=>{document.addEventListener("backbutton",()=>{})},c=()=>{const b=document;let _=!1;const S=()=>{if(_)return;let y=0,m=[];const h=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,E){m.push({priority:M,handler:E,id:y++})}}});b.dispatchEvent(h);const C=function(){var M=(0,n.c)(function*(E){try{if(E?.handler){const A=E.handler(v);null!=A&&(yield A)}}catch(A){console.error(A)}});return function(A){return M.apply(this,arguments)}}(),v=()=>{if(m.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};m.forEach(E=>{E.priority>=M.priority&&(M=E)}),_=!0,m=m.filter(E=>E.id!==M.id),C(M).then(()=>_=!1)}};v()};if(a()){let y;const m=()=>{y?.destroy(),y=new i.w.CloseWatcher,y.onclose=()=>{S(),m()}};m()}else b.addEventListener("backbutton",S)},l=100,g=99},46384:(ve,f,o)=>{"use strict";o.d(f,{a:()=>l,b:()=>g,c:()=>d,d:()=>C,e:()=>h,f:()=>m,g:()=>b,h:()=>y,i:()=>c,j:()=>R,k:()=>a,l:()=>v,m:()=>u,n:()=>S,o:()=>M,p:()=>T,q:()=>N,r:()=>_,s:()=>I,t:()=>n,u:()=>E,v:()=>A});const n=(L,O=0)=>new Promise(z=>{i(L,O,z)}),i=(L,O=0,z)=>{let F,q;const X={passive:!0},K=()=>{F&&F()},ne=Y=>{(void 0===Y||L===Y.target)&&(K(),z(Y))};return L&&(L.addEventListener("webkitTransitionEnd",ne,X),L.addEventListener("transitionend",ne,X),q=setTimeout(ne,O+500),F=()=>{void 0!==q&&(clearTimeout(q),q=void 0),L.removeEventListener("webkitTransitionEnd",ne,X),L.removeEventListener("transitionend",ne,X)}),K},d=(L,O)=>{L.componentOnReady?L.componentOnReady().then(z=>O(z)):_(()=>O(L))},u=L=>void 0!==L.componentOnReady,a=(L,O=[])=>{const z={};return O.forEach(F=>{L.hasAttribute(F)&&(null!==L.getAttribute(F)&&(z[F]=L.getAttribute(F)),L.removeAttribute(F))}),z},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],c=(L,O)=>{let z=e;return O&&O.length>0&&(z=z.filter(F=>!O.includes(F))),a(L,z)},l=(L,O,z,F)=>{var q;if(typeof window<"u"){const X=window,ce=null===(q=X?.Ionic)||void 0===q?void 0:q.config;if(ce){const K=ce.get("_ael");if(K)return K(L,O,z,F);if(ce._ael)return ce._ael(L,O,z,F)}}return L.addEventListener(O,z,F)},g=(L,O,z,F)=>{var q;if(typeof window<"u"){const X=window,ce=null===(q=X?.Ionic)||void 0===q?void 0:q.config;if(ce){const K=ce.get("_rel");if(K)return K(L,O,z,F);if(ce._rel)return ce._rel(L,O,z,F)}}return L.removeEventListener(O,z,F)},b=(L,O=L)=>L.shadowRoot||O,_=L=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(L):"function"==typeof requestAnimationFrame?requestAnimationFrame(L):setTimeout(L),S=L=>!!L.shadowRoot&&!!L.attachShadow,y=L=>{const O=L.closest("ion-item");return O?O.querySelector("ion-label"):null},m=L=>{if(L.focus(),L.classList.contains("ion-focusable")){const O=L.closest("ion-app");O&&O.setFocus([L])}},h=(L,O)=>{let z;const F=L.getAttribute("aria-labelledby"),q=L.id;let X=null!==F&&""!==F.trim()?F:O+"-lbl",ce=null!==F&&""!==F.trim()?document.getElementById(F):y(L);return ce?(null===F&&(ce.id=X),z=ce.textContent,ce.setAttribute("aria-hidden","true")):""!==q.trim()&&(ce=document.querySelector(`label[for="${q}"]`),ce&&(""!==ce.id?X=ce.id:ce.id=X=`${q}-lbl`,z=ce.textContent)),{label:ce,labelId:X,labelText:z}},C=(L,O,z,F,q)=>{if(L||S(O)){let X=O.querySelector("input.aux-input");X||(X=O.ownerDocument.createElement("input"),X.type="hidden",X.classList.add("aux-input"),O.appendChild(X)),X.disabled=q,X.name=z,X.value=F||""}},v=(L,O,z)=>Math.max(L,Math.min(O,z)),M=(L,O)=>{if(!L){const z="ASSERT: "+O;throw console.error(z),new Error(z)}},E=L=>L.timeStamp||Date.now(),A=L=>{if(L){const O=L.changedTouches;if(O&&O.length>0){const z=O[0];return{x:z.clientX,y:z.clientY}}if(void 0!==L.pageX)return{x:L.pageX,y:L.pageY}}return{x:0,y:0}},T=L=>{const O="rtl"===document.dir;switch(L){case"start":return O;case"end":return!O;default:throw new Error(`"${L}" is not a valid value for [side]. Use "start" or "end" instead.`)}},R=(L,O)=>{const z=L._original||L;return{_original:L,emit:N(z.emit.bind(z),O)}},N=(L,O=0)=>{let z;return(...F)=>{clearTimeout(z),z=setTimeout(L,O,...F)}},I=(L,O)=>{if(L??(L={}),O??(O={}),L===O)return!0;const z=Object.keys(L);if(z.length!==Object.keys(O).length)return!1;for(const F of z)if(!(F in O)||L[F]!==O[F])return!1;return!0}},62528:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>g});var n=o(66560);const i=(y,m,h,C)=>{const v=d(y)?{capture:!!C.capture,passive:!!C.passive}:!!C.capture;let M,E;return y.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",E="__zone_symbol__removeEventListener"):(M="addEventListener",E="removeEventListener"),y[M](m,h,v),()=>{y[E](m,h,v)}},d=y=>{if(void 0===u)try{const m=Object.defineProperty({},"passive",{get:()=>{u=!0}});y.addEventListener("optsTest",()=>{},m)}catch{u=!1}return!!u};let u;const c=y=>y instanceof Document?y:y.ownerDocument,g=y=>{let m=!1,h=!1,C=!0,v=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},y),E=M.canStart,A=M.onWillStart,T=M.onStart,R=M.onEnd,N=M.notCaptured,I=M.onMove,L=M.threshold,O=M.passive,z=M.blurOnStart,F={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},q=((y,m,h)=>{const C=h*(Math.PI/180),v="x"===y,M=Math.cos(C),E=m*m;let A=0,T=0,R=!1,N=0;return{start(I,L){A=I,T=L,N=0,R=!0},detect(I,L){if(!R)return!1;const O=I-A,z=L-T,F=O*O+z*z;if(FM?1:X<-M?-1:0,R=!1,!0},isGesture:()=>0!==N,getDirection:()=>N}})(M.direction,M.threshold,M.maxAngle),X=n.G.createGesture({name:y.gestureName,priority:y.gesturePriority,disableScroll:y.disableScroll}),ne=()=>{m&&(v=!1,I&&I(F))},Y=()=>!!X.capture()&&(m=!0,C=!1,F.startX=F.currentX,F.startY=F.currentY,F.startTime=F.currentTime,A?A(F).then(ae):ae(),!0),ae=()=>{z&&(()=>{if(typeof document<"u"){const G=document.activeElement;G?.blur&&G.blur()}})(),T&&T(F),C=!0},re=()=>{m=!1,h=!1,v=!1,C=!0,X.release()},W=G=>{const de=m,be=C;if(re(),be){if(b(F,G),de)return void(R&&R(F));N&&N(F)}},ee=((y,m,h,C,v)=>{let M,E,A,T,R,N,I,L=0;const O=H=>{L=Date.now()+2e3,m(H)&&(!E&&h&&(E=i(y,"touchmove",h,v)),A||(A=i(H.target,"touchend",F,v)),T||(T=i(H.target,"touchcancel",F,v)))},z=H=>{L>Date.now()||m(H)&&(!N&&h&&(N=i(c(y),"mousemove",h,v)),I||(I=i(c(y),"mouseup",q,v)))},F=H=>{X(),C&&C(H)},q=H=>{ce(),C&&C(H)},X=()=>{E&&E(),A&&A(),T&&T(),E=A=T=void 0},ce=()=>{N&&N(),I&&I(),N=I=void 0},K=()=>{X(),ce()},ne=(H=!0)=>{H?(M||(M=i(y,"touchstart",O,v)),R||(R=i(y,"mousedown",z,v))):(M&&M(),R&&R(),M=R=void 0,K())};return{enable:ne,stop:K,destroy:()=>{ne(!1),C=h=m=void 0}}})(M.el,G=>{const de=S(G);return!(h||!C||(_(G,F),F.startX=F.currentX,F.startY=F.currentY,F.startTime=F.currentTime=de,F.velocityX=F.velocityY=F.deltaX=F.deltaY=0,F.event=G,E&&!1===E(F))||(X.release(),!X.start()))&&(h=!0,0===L?Y():(q.start(F.startX,F.startY),!0))},G=>{m?!v&&C&&(v=!0,b(F,G),requestAnimationFrame(ne)):(b(F,G),q.detect(F.currentX,F.currentY)&&(!q.isGesture()||!Y())&&J())},W,{capture:!1,passive:O}),J=()=>{re(),ee.stop(),N&&N(F)};return{enable(G=!0){G||(m&&W(void 0),re()),ee.enable(G)},destroy(){X.destroy(),ee.destroy()}}},b=(y,m)=>{if(!m)return;const h=y.currentX,C=y.currentY,v=y.currentTime;_(m,y);const M=y.currentX,E=y.currentY,T=(y.currentTime=S(m))-v;if(T>0&&T<100){const N=(E-C)/T;y.velocityX=(M-h)/T*.7+.3*y.velocityX,y.velocityY=.7*N+.3*y.velocityY}y.deltaX=M-y.startX,y.deltaY=E-y.startY,y.event=m},_=(y,m)=>{let h=0,C=0;if(y){const v=y.changedTouches;if(v&&v.length>0){const M=v[0];h=M.clientX,C=M.clientY}else void 0!==y.pageX&&(h=y.pageX,C=y.pageY)}m.currentX=h,m.currentY=C},S=y=>y.timeStamp||Date.now()},76256:(ve,f,o)=>{"use strict";o.d(f,{b:()=>e,c:()=>c,d:()=>l,e:()=>L,g:()=>F,l:()=>N,s:()=>O,t:()=>_,w:()=>I});var n=o(1528),i=o(62992),d=o(46384);const e="ionViewWillLeave",c="ionViewDidLeave",l="ionViewWillUnload",_=q=>new Promise((X,ce)=>{(0,i.w)(()=>{S(q),y(q).then(K=>{K.animation&&K.animation.destroy(),m(q),X(K)},K=>{m(q),ce(K)})})}),S=q=>{const X=q.enteringEl,ce=q.leavingEl;z(X,ce,q.direction),q.showGoBack?X.classList.add("can-go-back"):X.classList.remove("can-go-back"),O(X,!1),X.style.setProperty("pointer-events","none"),ce&&(O(ce,!1),ce.style.setProperty("pointer-events","none"))},y=function(){var q=(0,n.c)(function*(X){const ce=yield h(X);return ce&&i.B.isBrowser?C(ce,X):v(X)});return function(ce){return q.apply(this,arguments)}}(),m=q=>{const X=q.enteringEl,ce=q.leavingEl;X.classList.remove("ion-page-invisible"),X.style.removeProperty("pointer-events"),void 0!==ce&&(ce.classList.remove("ion-page-invisible"),ce.style.removeProperty("pointer-events"))},h=function(){var q=(0,n.c)(function*(X){return X.leavingEl&&X.animated&&0!==X.duration?X.animationBuilder?X.animationBuilder:"ios"===X.mode?(yield Promise.resolve().then(o.bind(o,68512))).iosTransitionAnimation:(yield Promise.resolve().then(o.bind(o,96556))).mdTransitionAnimation:void 0});return function(ce){return q.apply(this,arguments)}}(),C=function(){var q=(0,n.c)(function*(X,ce){yield M(ce,!0);const K=X(ce.baseEl,ce);T(ce.enteringEl,ce.leavingEl);const ne=yield A(K,ce);return ce.progressCallback&&ce.progressCallback(void 0),ne&&R(ce.enteringEl,ce.leavingEl),{hasCompleted:ne,animation:K}});return function(ce,K){return q.apply(this,arguments)}}(),v=function(){var q=(0,n.c)(function*(X){const ce=X.enteringEl,K=X.leavingEl;return yield M(X,!1),T(ce,K),R(ce,K),{hasCompleted:!0}});return function(ce){return q.apply(this,arguments)}}(),M=function(){var q=(0,n.c)(function*(X,ce){(void 0!==X.deepWait?X.deepWait:ce)&&(yield Promise.all([L(X.enteringEl),L(X.leavingEl)])),yield E(X.viewIsReady,X.enteringEl)});return function(ce,K){return q.apply(this,arguments)}}(),E=function(){var q=(0,n.c)(function*(X,ce){X&&(yield X(ce))});return function(ce,K){return q.apply(this,arguments)}}(),A=(q,X)=>{const ce=X.progressCallback,K=new Promise(ne=>{q.onFinish(Y=>ne(1===Y))});return ce?(q.progressStart(!0),ce(q)):q.play(),K},T=(q,X)=>{N(X,e),N(q,"ionViewWillEnter")},R=(q,X)=>{N(q,"ionViewDidEnter"),N(X,c)},N=(q,X)=>{if(q){const ce=new CustomEvent(X,{bubbles:!1,cancelable:!1});q.dispatchEvent(ce)}},I=()=>new Promise(q=>(0,d.r)(()=>(0,d.r)(()=>q()))),L=function(){var q=(0,n.c)(function*(X){const ce=X;if(ce){if(null!=ce.componentOnReady){if(null!=(yield ce.componentOnReady()))return}else if(null!=ce.__registerHost)return void(yield new Promise(ne=>(0,d.r)(ne)));yield Promise.all(Array.from(ce.children).map(L))}});return function(ce){return q.apply(this,arguments)}}(),O=(q,X)=>{X?(q.setAttribute("aria-hidden","true"),q.classList.add("ion-page-hidden")):(q.hidden=!1,q.removeAttribute("aria-hidden"),q.classList.remove("ion-page-hidden"))},z=(q,X,ce)=>{void 0!==q&&(q.style.zIndex="back"===ce?"99":"101"),void 0!==X&&(X.style.zIndex="100")},F=q=>q.classList.contains("ion-page")?q:q.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||q},62992:(ve,f,o)=>{"use strict";o.d(f,{B:()=>S,H:()=>Y,a:()=>Xn,b:()=>vr,c:()=>be,d:()=>Me,e:()=>Ne,f:()=>le,g:()=>Ae,h:()=>K,i:()=>tn,j:()=>y,r:()=>Zn,w:()=>Ie});var n=o(1528);let u,a,e,c=!1,l=!1,g=!1,b=!1,_=!1;const S={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},y=me=>{const Te=new URL(me,En.$resourcesUrl$);return Te.origin!==hn.location.origin?Te.href:Te.pathname},A="s-id",T="sty-id",R="c-id",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",L="http://www.w3.org/1999/xlink",O={},X=me=>"object"==(me=typeof me)||"function"===me;function ce(me){var Te,et,_t;return null!==(_t=null===(et=null===(Te=me.head)||void 0===Te?void 0:Te.querySelector('meta[name="csp-nonce"]'))||void 0===et?void 0:et.getAttribute("content"))&&void 0!==_t?_t:void 0}const K=(me,Te,...et)=>{let _t=null,At=null,Nt=null,Jt=!1,mn=!1;const _n=[],yn=Gt=>{for(let Nn=0;NnGt[Nn]).join(" "))}}if("function"==typeof me)return me(null===Te?{}:Te,_n,ae);const gn=ne(me,null);return gn.$attrs$=Te,_n.length>0&&(gn.$children$=_n),gn.$key$=At,gn.$name$=Nt,gn},ne=(me,Te)=>({$flags$:0,$tag$:me,$text$:Te,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Y={},ae={forEach:(me,Te)=>me.map(re).forEach(Te),map:(me,Te)=>me.map(re).map(Te).map(W)},re=me=>({vattrs:me.$attrs$,vchildren:me.$children$,vkey:me.$key$,vname:me.$name$,vtag:me.$tag$,vtext:me.$text$}),W=me=>{if("function"==typeof me.vtag){const et=Object.assign({},me.vattrs);return me.vkey&&(et.key=me.vkey),me.vname&&(et.name=me.vname),K(me.vtag,et,...me.vchildren||[])}const Te=ne(me.vtag,me.vtext);return Te.$attrs$=me.vattrs,Te.$children$=me.vchildren,Te.$key$=me.vkey,Te.$name$=me.vname,Te},J=(me,Te,et,_t,At,Nt,Jt)=>{let mn,_n,yn,gn;if(1===Nt.nodeType){for(mn=Nt.getAttribute(R),mn&&(_n=mn.split("."),(_n[0]===Jt||"0"===_n[0])&&(yn={$flags$:0,$hostId$:_n[0],$nodeId$:_n[1],$depth$:_n[2],$index$:_n[3],$tag$:Nt.tagName.toLowerCase(),$elm$:Nt,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Te.push(yn),Nt.removeAttribute(R),me.$children$||(me.$children$=[]),me.$children$[yn.$index$]=yn,me=yn,_t&&"0"===yn.$depth$&&(_t[yn.$index$]=yn.$elm$))),gn=Nt.childNodes.length-1;gn>=0;gn--)J(me,Te,et,_t,At,Nt.childNodes[gn],Jt);if(Nt.shadowRoot)for(gn=Nt.shadowRoot.childNodes.length-1;gn>=0;gn--)J(me,Te,et,_t,At,Nt.shadowRoot.childNodes[gn],Jt)}else if(8===Nt.nodeType)_n=Nt.nodeValue.split("."),(_n[1]===Jt||"0"===_n[1])&&(mn=_n[0],yn={$flags$:0,$hostId$:_n[1],$nodeId$:_n[2],$depth$:_n[3],$index$:_n[4],$elm$:Nt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===mn?(yn.$elm$=Nt.nextSibling,yn.$elm$&&3===yn.$elm$.nodeType&&(yn.$text$=yn.$elm$.textContent,Te.push(yn),Nt.remove(),me.$children$||(me.$children$=[]),me.$children$[yn.$index$]=yn,_t&&"0"===yn.$depth$&&(_t[yn.$index$]=yn.$elm$))):yn.$hostId$===Jt&&("s"===mn?(yn.$tag$="slot",Nt["s-sn"]=_n[5]?yn.$name$=_n[5]:"",Nt["s-sr"]=!0,_t&&(yn.$elm$=Mn.createElement(yn.$tag$),yn.$name$&&yn.$elm$.setAttribute("name",yn.$name$),Nt.parentNode.insertBefore(yn.$elm$,Nt),Nt.remove(),"0"===yn.$depth$&&(_t[yn.$index$]=yn.$elm$)),et.push(yn),me.$children$||(me.$children$=[]),me.$children$[yn.$index$]=yn):"r"===mn&&(_t?Nt.remove():(At["s-cr"]=Nt,Nt["s-cn"]=!0))));else if(me&&"style"===me.$tag$){const Gt=ne(null,Nt.textContent);Gt.$elm$=Nt,Gt.$index$="0",me.$children$=[Gt]}},G=(me,Te)=>{if(1===me.nodeType){let et=0;for(;etrn.push(me),Ae=me=>jn(me).$modeName$,le=me=>jn(me).$hostElement$,Me=(me,Te,et)=>{const _t=le(me);return{emit:At=>$e(_t,Te,{bubbles:!!(4&et),composed:!!(2&et),cancelable:!!(1&et),detail:At})}},$e=(me,Te,et)=>{const _t=En.ce(Te,et);return me.dispatchEvent(_t),_t},qe=new WeakMap,tt=(me,Te,et)=>{let _t=It.get(me);wr&&et?(_t=_t||new CSSStyleSheet,"string"==typeof _t?_t=Te:_t.replaceSync(Te)):_t=Te,It.set(me,_t)},mt=(me,Te,et)=>{var _t;const At=ft(Te,et),Nt=It.get(At);if(me=11===me.nodeType?me:Mn,Nt)if("string"==typeof Nt){let mn,Jt=qe.get(me=me.head||me);if(Jt||qe.set(me,Jt=new Set),!Jt.has(At)){if(me.host&&(mn=me.querySelector(`[${T}="${At}"]`)))mn.innerHTML=Nt;else{mn=Mn.createElement("style"),mn.innerHTML=Nt;const _n=null!==(_t=En.$nonce$)&&void 0!==_t?_t:ce(Mn);null!=_n&&mn.setAttribute("nonce",_n),me.insertBefore(mn,me.querySelector("link"))}4&Te.$flags$&&(mn.innerHTML+=I),Jt&&Jt.add(At)}}else me.adoptedStyleSheets.includes(Nt)||(me.adoptedStyleSheets=[...me.adoptedStyleSheets,Nt]);return At},ft=(me,Te)=>"sc-"+(Te&&32&me.$flags$?me.$tagName$+"-"+Te:me.$tagName$),Qt=me=>me.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),bt=(me,Te,et,_t,At,Nt)=>{if(et!==_t){let Jt=si(me,Te),mn=Te.toLowerCase();if("class"===Te){const _n=me.classList,yn=sn(et),gn=sn(_t);_n.remove(...yn.filter(Gt=>Gt&&!gn.includes(Gt))),_n.add(...gn.filter(Gt=>Gt&&!yn.includes(Gt)))}else if("style"===Te){for(const _n in et)(!_t||null==_t[_n])&&(_n.includes("-")?me.style.removeProperty(_n):me.style[_n]="");for(const _n in _t)(!et||_t[_n]!==et[_n])&&(_n.includes("-")?me.style.setProperty(_n,_t[_n]):me.style[_n]=_t[_n])}else if("key"!==Te)if("ref"===Te)_t&&_t(me);else if(Jt||"o"!==Te[0]||"n"!==Te[1]){const _n=X(_t);if((Jt||_n&&null!==_t)&&!At)try{if(me.tagName.includes("-"))me[Te]=_t;else{const gn=_t??"";"list"===Te?Jt=!1:(null==et||me[Te]!=gn)&&(me[Te]=gn)}}catch{}let yn=!1;mn!==(mn=mn.replace(/^xlink\:?/,""))&&(Te=mn,yn=!0),null==_t||!1===_t?(!1!==_t||""===me.getAttribute(Te))&&(yn?me.removeAttributeNS(L,Te):me.removeAttribute(Te)):(!Jt||4&Nt||At)&&!_n&&(_t=!0===_t?"":_t,yn?me.setAttributeNS(L,Te,_t):me.setAttribute(Te,_t))}else if(Te="-"===Te[2]?Te.slice(3):si(hn,mn)?mn.slice(2):mn[2]+Te.slice(3),et||_t){const _n=Te.endsWith(dn);Te=Te.replace(wn,""),et&&En.rel(me,Te,et,_n),_t&&En.ael(me,Te,_t,_n)}}},Vt=/\s/,sn=me=>me?me.split(Vt):[],dn="Capture",wn=new RegExp(dn+"$"),An=(me,Te,et,_t)=>{const At=11===Te.$elm$.nodeType&&Te.$elm$.host?Te.$elm$.host:Te.$elm$,Nt=me&&me.$attrs$||O,Jt=Te.$attrs$||O;for(_t in Nt)_t in Jt||bt(At,_t,Nt[_t],void 0,et,Te.$flags$);for(_t in Jt)bt(At,_t,Nt[_t],Jt[_t],et,Te.$flags$)},vn=(me,Te,et,_t)=>{const At=Te.$children$[et];let Jt,mn,_n,Nt=0;if(c||(g=!0,"slot"===At.$tag$&&(u&&_t.classList.add(u+"-s"),At.$flags$|=At.$children$?2:1)),null!==At.$text$)Jt=At.$elm$=Mn.createTextNode(At.$text$);else if(1&At.$flags$)Jt=At.$elm$=Mn.createTextNode("");else{if(b||(b="svg"===At.$tag$),Jt=At.$elm$=Mn.createElementNS(b?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&At.$flags$?"slot-fb":At.$tag$),b&&"foreignObject"===At.$tag$&&(b=!1),An(null,At,b),(me=>null!=me)(u)&&Jt["s-si"]!==u&&Jt.classList.add(Jt["s-si"]=u),At.$children$)for(Nt=0;Nt{En.$flags$|=1;const et=me.childNodes;for(let _t=et.length-1;_t>=0;_t--){const At=et[_t];At["s-hn"]!==e&&At["s-ol"]&&(Re(At).insertBefore(At,Qe(At)),At["s-ol"].remove(),At["s-ol"]=void 0,At["s-sh"]=void 0,g=!0),Te&&qt(At,Te)}En.$flags$&=-2},ut=(me,Te,et,_t,At,Nt)=>{let mn,Jt=me["s-cr"]&&me["s-cr"].parentNode||me;for(Jt.shadowRoot&&Jt.tagName===e&&(Jt=Jt.shadowRoot);At<=Nt;++At)_t[At]&&(mn=vn(null,et,At,me),mn&&(_t[At].$elm$=mn,Jt.insertBefore(mn,Qe(Te))))},Ue=(me,Te,et)=>{for(let _t=Te;_t<=et;++_t){const At=me[_t];if(At){const Nt=At.$elm$;nt(At),Nt&&(l=!0,Nt["s-ol"]?Nt["s-ol"].remove():qt(Nt,!0),Nt.remove())}}},Pe=(me,Te,et=!1)=>me.$tag$===Te.$tag$&&("slot"===me.$tag$?me.$name$===Te.$name$:!!et||me.$key$===Te.$key$),Qe=me=>me&&me["s-ol"]||me,Re=me=>(me["s-ol"]?me["s-ol"]:me).parentNode,lt=(me,Te,et=!1)=>{const _t=Te.$elm$=me.$elm$,At=me.$children$,Nt=Te.$children$,Jt=Te.$tag$,mn=Te.$text$;let _n;null===mn?(b="svg"===Jt||"foreignObject"!==Jt&&b,"slot"===Jt&&!c||An(me,Te,b),null!==At&&null!==Nt?((me,Te,et,_t,At=!1)=>{let Ur,Hr,Nt=0,Jt=0,mn=0,_n=0,yn=Te.length-1,gn=Te[0],Gt=Te[yn],Nn=_t.length-1,cr=_t[0],rr=_t[Nn];for(;Nt<=yn&&Jt<=Nn;)if(null==gn)gn=Te[++Nt];else if(null==Gt)Gt=Te[--yn];else if(null==cr)cr=_t[++Jt];else if(null==rr)rr=_t[--Nn];else if(Pe(gn,cr,At))lt(gn,cr,At),gn=Te[++Nt],cr=_t[++Jt];else if(Pe(Gt,rr,At))lt(Gt,rr,At),Gt=Te[--yn],rr=_t[--Nn];else if(Pe(gn,rr,At))("slot"===gn.$tag$||"slot"===rr.$tag$)&&qt(gn.$elm$.parentNode,!1),lt(gn,rr,At),me.insertBefore(gn.$elm$,Gt.$elm$.nextSibling),gn=Te[++Nt],rr=_t[--Nn];else if(Pe(Gt,cr,At))("slot"===gn.$tag$||"slot"===rr.$tag$)&&qt(Gt.$elm$.parentNode,!1),lt(Gt,cr,At),me.insertBefore(Gt.$elm$,gn.$elm$),Gt=Te[--yn],cr=_t[++Jt];else{for(mn=-1,_n=Nt;_n<=yn;++_n)if(Te[_n]&&null!==Te[_n].$key$&&Te[_n].$key$===cr.$key$){mn=_n;break}mn>=0?(Hr=Te[mn],Hr.$tag$!==cr.$tag$?Ur=vn(Te&&Te[Jt],et,mn,me):(lt(Hr,cr,At),Te[mn]=void 0,Ur=Hr.$elm$),cr=_t[++Jt]):(Ur=vn(Te&&Te[Jt],et,Jt,me),cr=_t[++Jt]),Ur&&Re(gn.$elm$).insertBefore(Ur,Qe(gn.$elm$))}Nt>yn?ut(me,null==_t[Nn+1]?null:_t[Nn+1].$elm$,et,_t,Jt,Nn):Jt>Nn&&Ue(Te,Nt,yn)})(_t,At,Te,Nt,et):null!==Nt?(null!==me.$text$&&(_t.textContent=""),ut(_t,null,Te,Nt,0,Nt.length-1)):null!==At&&Ue(At,0,At.length-1),b&&"svg"===Jt&&(b=!1)):(_n=_t["s-cr"])?_n.parentNode.textContent=mn:me.$text$!==mn&&(_t.data=mn)},He=me=>{const Te=me.childNodes;for(const et of Te)if(1===et.nodeType){if(et["s-sr"]){const _t=et["s-sn"];et.hidden=!1;for(const At of Te)if(At!==et)if(At["s-hn"]!==et["s-hn"]||""!==_t){if(1===At.nodeType&&(_t===At.getAttribute("slot")||_t===At["s-sn"])){et.hidden=!0;break}}else if(1===At.nodeType||3===At.nodeType&&""!==At.textContent.trim()){et.hidden=!0;break}}He(et)}},gt=[],dt=me=>{let Te,et,_t;for(const At of me.childNodes){if(At["s-sr"]&&(Te=At["s-cr"])&&Te.parentNode){et=Te.parentNode.childNodes;const Nt=At["s-sn"];for(_t=et.length-1;_t>=0;_t--)if(Te=et[_t],!Te["s-cn"]&&!Te["s-nr"]&&Te["s-hn"]!==At["s-hn"])if(Mt(Te,Nt)){let Jt=gt.find(mn=>mn.$nodeToRelocate$===Te);l=!0,Te["s-sn"]=Te["s-sn"]||Nt,Jt?(Jt.$nodeToRelocate$["s-sh"]=At["s-hn"],Jt.$slotRefNode$=At):(Te["s-sh"]=At["s-hn"],gt.push({$slotRefNode$:At,$nodeToRelocate$:Te})),Te["s-sr"]&>.map(mn=>{Mt(mn.$nodeToRelocate$,Te["s-sn"])&&(Jt=gt.find(_n=>_n.$nodeToRelocate$===Te),Jt&&!mn.$slotRefNode$&&(mn.$slotRefNode$=Jt.$slotRefNode$))})}else gt.some(Jt=>Jt.$nodeToRelocate$===Te)||gt.push({$nodeToRelocate$:Te})}1===At.nodeType&&dt(At)}},Mt=(me,Te)=>1===me.nodeType?null===me.getAttribute("slot")&&""===Te||me.getAttribute("slot")===Te:me["s-sn"]===Te||""===Te,nt=me=>{me.$attrs$&&me.$attrs$.ref&&me.$attrs$.ref(null),me.$children$&&me.$children$.map(nt)},pt=(me,Te)=>{Te&&!me.$onRenderResolve$&&Te["s-p"]&&Te["s-p"].push(new Promise(et=>me.$onRenderResolve$=et))},Tt=(me,Te)=>{if(me.$flags$|=16,!(4&me.$flags$))return pt(me,me.$ancestorComponent$),Ie(()=>Ut(me,Te));me.$flags$|=512},Ut=(me,Te)=>{const _t=me.$lazyInstance$;let At;return Te&&(me.$flags$|=256,me.$queuedListeners$&&(me.$queuedListeners$.map(([Nt,Jt])=>Tn(_t,Nt,Jt)),me.$queuedListeners$=void 0),At=Tn(_t,"componentWillLoad")),At=Zt(At,()=>Tn(_t,"componentWillRender")),Zt(At,()=>zt(me,_t,Te))},Zt=(me,Te)=>Dt(me)?me.then(Te):Te(),Dt=me=>me instanceof Promise||me&&me.then&&"function"==typeof me.then,zt=function(){var me=(0,n.c)(function*(Te,et,_t){var At;const Nt=Te.$hostElement$,mn=Nt["s-rc"];_t&&(me=>{const Te=me.$cmpMeta$,et=me.$hostElement$,_t=Te.$flags$,Nt=mt(et.shadowRoot?et.shadowRoot:et.getRootNode(),Te,me.$modeName$);10&_t&&(et["s-sc"]=Nt,et.classList.add(Nt+"-h"),2&_t&&et.classList.add(Nt+"-s"))})(Te);Ct(Te,et,Nt,_t),mn&&(mn.map(yn=>yn()),Nt["s-rc"]=void 0);{const yn=null!==(At=Nt["s-p"])&&void 0!==At?At:[],gn=()=>Pt(Te);0===yn.length?gn():(Promise.all(yn).then(gn),Te.$flags$|=4,yn.length=0)}});return function(et,_t,At){return me.apply(this,arguments)}}(),Ct=(me,Te,et,_t)=>{try{Te=Te.render&&Te.render(),me.$flags$&=-17,me.$flags$|=2,((me,Te,et=!1)=>{var _t,At,Nt,Jt;const mn=me.$hostElement$,_n=me.$cmpMeta$,yn=me.$vnode$||ne(null,null),gn=(me=>me&&me.$tag$===Y)(Te)?Te:K(null,null,Te);if(e=mn.tagName,_n.$attrsToReflect$&&(gn.$attrs$=gn.$attrs$||{},_n.$attrsToReflect$.map(([Gt,Nn])=>gn.$attrs$[Nn]=mn[Gt])),et&&gn.$attrs$)for(const Gt of Object.keys(gn.$attrs$))mn.hasAttribute(Gt)&&!["key","ref","style","class"].includes(Gt)&&(gn.$attrs$[Gt]=mn[Gt]);if(gn.$tag$=null,gn.$flags$|=4,me.$vnode$=gn,gn.$elm$=yn.$elm$=mn.shadowRoot||mn,u=mn["s-sc"],c=0!=(1&_n.$flags$),a=mn["s-cr"],l=!1,lt(yn,gn,et),En.$flags$|=1,g){dt(gn.$elm$);for(const Gt of gt){const Nn=Gt.$nodeToRelocate$;if(!Nn["s-ol"]){const cr=Mn.createTextNode("");cr["s-nr"]=Nn,Nn.parentNode.insertBefore(Nn["s-ol"]=cr,Nn)}}for(const Gt of gt){const Nn=Gt.$nodeToRelocate$,cr=Gt.$slotRefNode$;if(cr){const rr=cr.parentNode;let Ur=cr.nextSibling;{let Hr=null===(_t=Nn["s-ol"])||void 0===_t?void 0:_t.previousSibling;for(;Hr;){let at=null!==(At=Hr["s-nr"])&&void 0!==At?At:null;if(at&&at["s-sn"]===Nn["s-sn"]&&rr===at.parentNode&&(at=at.nextSibling,!at||!at["s-nr"])){Ur=at;break}Hr=Hr.previousSibling}}(!Ur&&rr!==Nn.parentNode||Nn.nextSibling!==Ur)&&Nn!==Ur&&(!Nn["s-hn"]&&Nn["s-ol"]&&(Nn["s-hn"]=Nn["s-ol"].parentNode.nodeName),rr.insertBefore(Nn,Ur),1===Nn.nodeType&&(Nn.hidden=null!==(Nt=Nn["s-ih"])&&void 0!==Nt&&Nt))}else 1===Nn.nodeType&&(et&&(Nn["s-ih"]=null!==(Jt=Nn.hidden)&&void 0!==Jt&&Jt),Nn.hidden=!0)}}l&&He(gn.$elm$),En.$flags$&=-2,gt.length=0,a=void 0})(me,Te,_t)}catch(At){kr(At,me.$hostElement$)}return null},Pt=me=>{const et=me.$hostElement$,At=me.$lazyInstance$,Nt=me.$ancestorComponent$;Tn(At,"componentDidRender"),64&me.$flags$?Tn(At,"componentDidUpdate"):(me.$flags$|=64,nn(et),Tn(At,"componentDidLoad"),me.$onReadyResolve$(et),Nt||bn()),me.$onInstanceResolve$(et),me.$onRenderResolve$&&(me.$onRenderResolve$(),me.$onRenderResolve$=void 0),512&me.$flags$&&ue(()=>Tt(me,!1)),me.$flags$&=-517},tn=me=>{{const Te=jn(me),et=Te.$hostElement$.isConnected;return et&&2==(18&Te.$flags$)&&Tt(Te,!1),et}},bn=me=>{nn(Mn.documentElement),ue(()=>$e(hn,"appload",{detail:{namespace:"ionic"}}))},Tn=(me,Te,et)=>{if(me&&me[Te])try{return me[Te](et)}catch(_t){kr(_t)}},nn=me=>me.classList.add("hydrated"),Rr=(me,Te,et)=>{var _t;const At=me.prototype;if(Te.$members$){me.watchers&&(Te.$watchers$=me.watchers);const Nt=Object.entries(Te.$members$);if(Nt.map(([Jt,[mn]])=>{31&mn||2&et&&32&mn?Object.defineProperty(At,Jt,{get(){return((me,Te)=>jn(this).$instanceValues$.get(Te))(0,Jt)},set(_n){((me,Te,et,_t)=>{const At=jn(me),Nt=At.$hostElement$,Jt=At.$instanceValues$.get(Te),mn=At.$flags$,_n=At.$lazyInstance$;et=((me,Te)=>null==me||X(me)?me:4&Te?"false"!==me&&(""===me||!!me):2&Te?parseFloat(me):1&Te?String(me):me)(et,_t.$members$[Te][0]);const yn=Number.isNaN(Jt)&&Number.isNaN(et);if((!(8&mn)||void 0===Jt)&&et!==Jt&&!yn&&(At.$instanceValues$.set(Te,et),_n)){if(_t.$watchers$&&128&mn){const Gt=_t.$watchers$[Te];Gt&&Gt.map(Nn=>{try{_n[Nn](et,Jt,Te)}catch(cr){kr(cr,Nt)}})}2==(18&mn)&&Tt(At,!1)}})(this,Jt,_n,Te)},configurable:!0,enumerable:!0}):1&et&&64&mn&&Object.defineProperty(At,Jt,{value(..._n){var yn;const gn=jn(this);return null===(yn=gn?.$onInstancePromise$)||void 0===yn?void 0:yn.then(()=>{var Gt;return null===(Gt=gn.$lazyInstance$)||void 0===Gt?void 0:Gt[Jt](..._n)})}})}),1&et){const Jt=new Map;At.attributeChangedCallback=function(mn,_n,yn){En.jmp(()=>{var gn;const Gt=Jt.get(mn);if(this.hasOwnProperty(Gt))yn=this[Gt],delete this[Gt];else{if(At.hasOwnProperty(Gt)&&"number"==typeof this[Gt]&&this[Gt]==yn)return;if(null==Gt){const Nn=jn(this),cr=Nn?.$flags$;if(cr&&!(8&cr)&&128&cr&&yn!==_n){const rr=Nn.$lazyInstance$,Ur=null===(gn=Te.$watchers$)||void 0===gn?void 0:gn[mn];Ur?.forEach(Hr=>{null!=rr[Hr]&&rr[Hr].call(rr,yn,_n,mn)})}return}}this[Gt]=(null!==yn||"boolean"!=typeof this[Gt])&&yn})},me.observedAttributes=Array.from(new Set([...Object.keys(null!==(_t=Te.$watchers$)&&void 0!==_t?_t:{}),...Nt.filter(([mn,_n])=>15&_n[0]).map(([mn,_n])=>{var yn;const gn=_n[1]||mn;return Jt.set(gn,mn),512&_n[0]&&(null===(yn=Te.$attrsToReflect$)||void 0===yn||yn.push([mn,gn])),gn})]))}}return me},ar=function(){var me=(0,n.c)(function*(Te,et,_t,At){let Nt;if(!(32&et.$flags$)){et.$flags$|=32;{if(Nt=Ot(_t),Nt.then){const yn=()=>{};Nt=yield Nt,yn()}Nt.isProxied||(_t.$watchers$=Nt.watchers,Rr(Nt,_t,2),Nt.isProxied=!0);const _n=()=>{};et.$flags$|=8;try{new Nt(et)}catch(yn){kr(yn)}et.$flags$&=-9,et.$flags$|=128,_n(),yr(et.$lazyInstance$)}if(Nt.style){let _n=Nt.style;"string"!=typeof _n&&(_n=_n[et.$modeName$=(me=>rn.map(Te=>Te(me)).find(Te=>!!Te))(Te)]);const yn=ft(_t,et.$modeName$);if(!It.has(yn)){const gn=()=>{};tt(yn,_n,!!(1&_t.$flags$)),gn()}}}const Jt=et.$ancestorComponent$,mn=()=>Tt(et,!0);Jt&&Jt["s-rc"]?Jt["s-rc"].push(mn):mn()});return function(et,_t,At,Nt){return me.apply(this,arguments)}}(),yr=me=>{Tn(me,"connectedCallback")},qn=me=>{const Te=me["s-cr"]=Mn.createComment("");Te["s-cn"]=!0,me.insertBefore(Te,me.firstChild)},Fn=me=>{Tn(me,"disconnectedCallback")},oi=function(){var me=(0,n.c)(function*(Te){if(!(1&En.$flags$)){const et=jn(Te);et.$rmListeners$&&(et.$rmListeners$.map(_t=>_t()),et.$rmListeners$=void 0),et?.$lazyInstance$?Fn(et.$lazyInstance$):et?.$onReadyPromise$&&et.$onReadyPromise$.then(()=>Fn(et.$lazyInstance$))}});return function(et){return me.apply(this,arguments)}}(),vr=(me,Te={})=>{var et;const At=[],Nt=Te.exclude||[],Jt=hn.customElements,mn=Mn.head,_n=mn.querySelector("meta[charset]"),yn=Mn.createElement("style"),gn=[],Gt=Mn.querySelectorAll(`[${T}]`);let Nn,cr=!0,rr=0;for(Object.assign(En,Te),En.$resourcesUrl$=new URL(Te.resourcesUrl||"./",Mn.baseURI).href,En.$flags$|=2;rr{Hr[1].map(at=>{var uo;const vi={$flags$:at[0],$tagName$:at[1],$members$:at[2],$listeners$:at[3]};4&vi.$flags$&&(Ur=!0),vi.$members$=at[2],vi.$listeners$=at[3],vi.$attrsToReflect$=[],vi.$watchers$=null!==(uo=at[4])&&void 0!==uo?uo:{};const Pr=vi.$tagName$,In=class extends HTMLElement{constructor(Gn){super(Gn),sr(Gn=this,vi),1&vi.$flags$&&Gn.attachShadow({mode:"open",delegatesFocus:!!(16&vi.$flags$)})}connectedCallback(){Nn&&(clearTimeout(Nn),Nn=null),cr?gn.push(this):En.jmp(()=>(me=>{if(!(1&En.$flags$)){const Te=jn(me),et=Te.$cmpMeta$,_t=()=>{};if(1&Te.$flags$)Mr(me,Te,et.$listeners$),Te?.$lazyInstance$?yr(Te.$lazyInstance$):Te?.$onReadyPromise$&&Te.$onReadyPromise$.then(()=>yr(Te.$lazyInstance$));else{let At;if(Te.$flags$|=1,At=me.getAttribute(A),At){if(1&et.$flags$){const Nt=mt(me.shadowRoot,et,me.getAttribute("s-mode"));me.classList.remove(Nt+"-h",Nt+"-s")}((me,Te,et,_t)=>{const Nt=me.shadowRoot,Jt=[],_n=Nt?[]:null,yn=_t.$vnode$=ne(Te,null);En.$orgLocNodes$||G(Mn.body,En.$orgLocNodes$=new Map),me[A]=et,me.removeAttribute(A),J(yn,Jt,[],_n,me,me,et),Jt.map(gn=>{const Gt=gn.$hostId$+"."+gn.$nodeId$,Nn=En.$orgLocNodes$.get(Gt),cr=gn.$elm$;Nn&&zn&&""===Nn["s-en"]&&Nn.parentNode.insertBefore(cr,Nn.nextSibling),Nt||(cr["s-hn"]=Te,Nn&&(cr["s-ol"]=Nn,cr["s-ol"]["s-nr"]=cr)),En.$orgLocNodes$.delete(Gt)}),Nt&&_n.map(gn=>{gn&&Nt.appendChild(gn)})})(me,et.$tagName$,At,Te)}At||12&et.$flags$&&qn(me);{let Nt=me;for(;Nt=Nt.parentNode||Nt.host;)if(1===Nt.nodeType&&Nt.hasAttribute("s-id")&&Nt["s-p"]||Nt["s-p"]){pt(Te,Te.$ancestorComponent$=Nt);break}}et.$members$&&Object.entries(et.$members$).map(([Nt,[Jt]])=>{if(31&Jt&&me.hasOwnProperty(Nt)){const mn=me[Nt];delete me[Nt],me[Nt]=mn}}),ar(me,Te,et)}_t()}})(this))}disconnectedCallback(){En.jmp(()=>oi(this))}componentOnReady(){return jn(this).$onReadyPromise$}};vi.$lazyBundleId$=Hr[0],!Nt.includes(Pr)&&!Jt.get(Pr)&&(At.push(Pr),Jt.define(Pr,Rr(In,vi,1)))})}),At.length>0&&(Ur&&(yn.innerHTML+=I),yn.innerHTML+=At+"{visibility:hidden}.hydrated{visibility:inherit}",yn.innerHTML.length)){yn.setAttribute("data-styles","");const Hr=null!==(et=En.$nonce$)&&void 0!==et?et:ce(Mn);null!=Hr&&yn.setAttribute("nonce",Hr),mn.insertBefore(yn,_n?_n.nextSibling:mn.firstChild)}cr=!1,gn.length?gn.map(Hr=>Hr.connectedCallback()):En.jmp(()=>Nn=setTimeout(bn,30))},Mr=(me,Te,et,_t)=>{et&&et.map(([At,Nt,Jt])=>{const mn=er(me,At),_n=Qn(Te,Jt),yn=xr(At);En.ael(mn,Nt,_n,yn),(Te.$rmListeners$=Te.$rmListeners$||[]).push(()=>En.rel(mn,Nt,_n,yn))})},Qn=(me,Te)=>et=>{try{256&me.$flags$?me.$lazyInstance$[Te](et):(me.$queuedListeners$=me.$queuedListeners$||[]).push([Te,et])}catch(_t){kr(_t)}},er=(me,Te)=>4&Te?Mn:8&Te?hn:16&Te?Mn.body:me,xr=me=>Er?{passive:0!=(1&me),capture:0!=(2&me)}:0!=(2&me),en=new WeakMap,jn=me=>en.get(me),Zn=(me,Te)=>en.set(Te.$lazyInstance$=me,Te),sr=(me,Te)=>{const et={$flags$:0,$hostElement$:me,$cmpMeta$:Te,$instanceValues$:new Map};return et.$onInstancePromise$=new Promise(_t=>et.$onInstanceResolve$=_t),et.$onReadyPromise$=new Promise(_t=>et.$onReadyResolve$=_t),me["s-p"]=[],me["s-rc"]=[],Mr(me,et,Te.$listeners$),en.set(me,et)},si=(me,Te)=>Te in me,kr=(me,Te)=>(0,console.error)(me,Te),ot=new Map,Ot=(me,Te,et)=>{const _t=me.$tagName$.replace(/-/g,"_"),At=me.$lazyBundleId$,Nt=ot.get(At);return Nt?Nt[_t]:o(21480)(`./${At}.entry.js`).then(Jt=>(ot.set(At,Jt),Jt[_t]),kr)},It=new Map,rn=[],hn=typeof window<"u"?window:{},Mn=hn.document||{head:{}},En={$flags$:0,$resourcesUrl$:"",jmp:me=>me(),raf:me=>requestAnimationFrame(me),ael:(me,Te,et,_t)=>me.addEventListener(Te,et,_t),rel:(me,Te,et,_t)=>me.removeEventListener(Te,et,_t),ce:(me,Te)=>new CustomEvent(me,Te)},Xn=me=>{Object.assign(En,me)},zn=!0,Er=(()=>{let me=!1;try{Mn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){me=!0}}))}catch{}return me})(),wr=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Yn=[],di=[],un=(me,Te)=>et=>{me.push(et),_||(_=!0,Te&&4&En.$flags$?ue(V):En.raf(V))},B=me=>{for(let Te=0;Te{B(Yn),B(di),(_=Yn.length>0)&&En.raf(V)},ue=me=>Promise.resolve(void 0).then(me),Ne=un(Yn,!1),Ie=un(di,!0)},52032:(ve,f,o)=>{"use strict";o.d(f,{a:()=>i,b:()=>d,p:()=>n});const n=(u,...a)=>console.warn(`[Ionic Warning]: ${u}`,...a),i=(u,...a)=>console.error(`[Ionic Error]: ${u}`,...a),d=(u,...a)=>console.error(`<${u.tagName.toLowerCase()}> must be used inside ${a.join(" or ")}.`)},14829:(ve,f,o)=>{"use strict";o.d(f,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},43452:(ve,f,o)=>{"use strict";o.d(f,{m:()=>y});var n=o(1528),i=o(14829),d=o(72784),u=o(52032),a=o(46384),e=o(88523),c=o(30388);const l=m=>(0,c.c)().duration(m?400:300),g=m=>{let h,C;const v=m.width+8,M=(0,c.c)(),E=(0,c.c)();m.isEndSide?(h=v+"px",C="0px"):(h=-v+"px",C="0px"),M.addElement(m.menuInnerEl).fromTo("transform",`translateX(${h})`,`translateX(${C})`);const T="ios"===(0,e.b)(m),R=T?.2:.25;return E.addElement(m.backdropEl).fromTo("opacity",.01,R),l(T).addAnimation([M,E])},b=m=>{let h,C;const v=(0,e.b)(m),M=m.width;m.isEndSide?(h=-M+"px",C=M+"px"):(h=M+"px",C=-M+"px");const E=(0,c.c)().addElement(m.menuInnerEl).fromTo("transform",`translateX(${C})`,"translateX(0px)"),A=(0,c.c)().addElement(m.contentEl).fromTo("transform","translateX(0px)",`translateX(${h})`),T=(0,c.c)().addElement(m.backdropEl).fromTo("opacity",.01,.32);return l("ios"===v).addAnimation([E,A,T])},_=m=>{const h=(0,e.b)(m),C=m.width*(m.isEndSide?-1:1)+"px",v=(0,c.c)().addElement(m.contentEl).fromTo("transform","translateX(0px)",`translateX(${C})`);return l("ios"===h).addAnimation(v)},y=(()=>{const m=new Map,h=[],C=function(){var re=(0,n.c)(function*(W){const ee=yield N(W,!0);return!!ee&&ee.open()});return function(ee){return re.apply(this,arguments)}}(),v=function(){var re=(0,n.c)(function*(W){const ee=yield void 0!==W?N(W,!0):I();return void 0!==ee&&ee.close()});return function(ee){return re.apply(this,arguments)}}(),M=function(){var re=(0,n.c)(function*(W){const ee=yield N(W,!0);return!!ee&&ee.toggle()});return function(ee){return re.apply(this,arguments)}}(),E=function(){var re=(0,n.c)(function*(W,ee){const J=yield N(ee);return J&&(J.disabled=!W),J});return function(ee,J){return re.apply(this,arguments)}}(),A=function(){var re=(0,n.c)(function*(W,ee){const J=yield N(ee);return J&&(J.swipeGesture=W),J});return function(ee,J){return re.apply(this,arguments)}}(),T=function(){var re=(0,n.c)(function*(W){if(null!=W){const ee=yield N(W);return void 0!==ee&&ee.isOpen()}return void 0!==(yield I())});return function(ee){return re.apply(this,arguments)}}(),R=function(){var re=(0,n.c)(function*(W){const ee=yield N(W);return!!ee&&!ee.disabled});return function(ee){return re.apply(this,arguments)}}(),N=function(){var re=(0,n.c)(function*(W,ee=!1){if(yield ae(),"start"===W||"end"===W){const G=h.filter(be=>be.side===W&&!be.disabled);if(G.length>=1)return G.length>1&&ee&&(0,u.p)(`menuController queried for a menu on the "${W}" side, but ${G.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,G.map(be=>be.el)),G[0].el;const de=h.filter(be=>be.side===W);if(de.length>=1)return de.length>1&&ee&&(0,u.p)(`menuController queried for a menu on the "${W}" side, but ${de.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,de.map(be=>be.el)),de[0].el}else if(null!=W)return H(G=>G.menuId===W);return H(G=>!G.disabled)||(h.length>0?h[0].el:void 0)});return function(ee){return re.apply(this,arguments)}}(),I=function(){var re=(0,n.c)(function*(){return yield ae(),K()});return function(){return re.apply(this,arguments)}}(),L=function(){var re=(0,n.c)(function*(){return yield ae(),ne()});return function(){return re.apply(this,arguments)}}(),O=function(){var re=(0,n.c)(function*(){return yield ae(),Y()});return function(){return re.apply(this,arguments)}}(),z=(re,W)=>{m.set(re,W)},X=function(){var re=(0,n.c)(function*(W,ee,J){if(Y())return!1;if(ee){const G=yield I();G&&W.el!==G&&(yield G.setOpen(!1,!1))}return W._setOpen(ee,J)});return function(ee,J,G){return re.apply(this,arguments)}}(),K=()=>H(re=>re._isOpen),ne=()=>h.map(re=>re.el),Y=()=>h.some(re=>re.isAnimating),H=re=>{const W=h.find(re);if(void 0!==W)return W.el},ae=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(re=>new Promise(W=>(0,a.c)(re,W))));return z("reveal",_),z("push",b),z("overlay",g),null==i.d||i.d.addEventListener("ionBackButton",re=>{const W=K();W&&re.detail.register(d.MENU_BACK_BUTTON_PRIORITY,()=>W.close())}),{registerAnimation:z,get:N,getMenus:L,getOpen:I,isEnabled:R,swipeGesture:A,isAnimating:O,isOpen:T,enable:E,toggle:M,close:v,open:C,_getOpenSync:K,_createAnimation:(re,W)=>{const ee=m.get(re);if(!ee)throw new Error("animation not registered");return ee(W)},_register:re=>{h.indexOf(re)<0&&h.push(re)},_unregister:re=>{const W=h.indexOf(re);W>-1&&h.splice(W,1)},_setOpen:X}})()},88523:(ve,f,o)=>{"use strict";o.d(f,{a:()=>_,b:()=>ne,c:()=>d,g:()=>b,i:()=>Y});var n=o(62992);class i{constructor(){this.m=new Map}reset(ae){this.m=new Map(Object.entries(ae))}get(ae,re){const W=this.m.get(ae);return void 0!==W?W:re}getBoolean(ae,re=!1){const W=this.m.get(ae);return void 0===W?re:"string"==typeof W?"true"===W:!!W}getNumber(ae,re){const W=parseFloat(this.m.get(ae));return isNaN(W)?void 0!==re?re:NaN:W}set(ae,re){this.m.set(ae,re)}}const d=new i,l="ionic:",g="ionic-persist-config",b=H=>S(H),_=(H,ae)=>("string"==typeof H&&(ae=H,H=void 0),b(H).includes(ae)),S=(H=window)=>{if(typeof H>"u")return[];H.Ionic=H.Ionic||{};let ae=H.Ionic.platforms;return null==ae&&(ae=H.Ionic.platforms=y(H),ae.forEach(re=>H.document.documentElement.classList.add(`plt-${re}`))),ae},y=H=>{const ae=d.get("platform");return Object.keys(ce).filter(re=>{const W=ae?.[re];return"function"==typeof W?W(H):ce[re](H)})},h=H=>!!(q(H,/iPad/i)||q(H,/Macintosh/i)&&R(H)),M=H=>q(H,/android|sink/i),R=H=>X(H,"(any-pointer:coarse)"),I=H=>L(H)||O(H),L=H=>!!(H.cordova||H.phonegap||H.PhoneGap),O=H=>{const ae=H.Capacitor;return!!ae?.isNative},q=(H,ae)=>ae.test(H.navigator.userAgent),X=(H,ae)=>{var re;return null===(re=H.matchMedia)||void 0===re?void 0:re.call(H,ae).matches},ce={ipad:h,iphone:H=>q(H,/iPhone/i),ios:H=>q(H,/iPhone|iPod/i)||h(H),android:M,phablet:H=>{const ae=H.innerWidth,re=H.innerHeight,W=Math.min(ae,re),ee=Math.max(ae,re);return W>390&&W<520&&ee>620&&ee<800},tablet:H=>{const ae=H.innerWidth,re=H.innerHeight,W=Math.min(ae,re),ee=Math.max(ae,re);return h(H)||(H=>M(H)&&!q(H,/mobile/i))(H)||W>460&&W<820&&ee>780&&ee<1400},cordova:L,capacitor:O,electron:H=>q(H,/electron/i),pwa:H=>{var ae;return!!(null!==(ae=H.matchMedia)&&void 0!==ae&&ae.call(H,"(display-mode: standalone)").matches||H.navigator.standalone)},mobile:R,mobileweb:H=>R(H)&&!I(H),desktop:H=>!R(H),hybrid:I};let K;const ne=H=>H&&(0,n.g)(H)||K,Y=(H={})=>{if(typeof window>"u")return;const ae=window.document,re=window,W=re.Ionic=re.Ionic||{},ee={};H._ael&&(ee.ael=H._ael),H._rel&&(ee.rel=H._rel),H._ce&&(ee.ce=H._ce),(0,n.a)(ee);const J=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(H=>{try{const ae=H.sessionStorage.getItem(g);return null!==ae?JSON.parse(ae):{}}catch{return{}}})(re)),{persistConfig:!1}),W.config),(H=>{const ae={};return H.location.search.slice(1).split("&").map(re=>re.split("=")).map(([re,W])=>[decodeURIComponent(re),decodeURIComponent(W)]).filter(([re])=>((H,ae)=>H.substr(0,ae.length)===ae)(re,l)).map(([re,W])=>[re.slice(6),W]).forEach(([re,W])=>{ae[re]=W}),ae})(re)),H);d.reset(J),d.getBoolean("persistConfig")&&((H,ae)=>{try{H.sessionStorage.setItem(g,JSON.stringify(ae))}catch{return}})(re,J),S(re),W.config=d,W.mode=K=d.get("mode",ae.documentElement.getAttribute("mode")||(_(re,"ios")?"ios":"md")),d.set("mode",K),ae.documentElement.setAttribute("mode",K),ae.documentElement.classList.add(K),d.getBoolean("_testing")&&d.set("animated",!1);const G=be=>{var Ae;return null===(Ae=be.tagName)||void 0===Ae?void 0:Ae.startsWith("ION-")},de=be=>["ios","md"].includes(be);(0,n.c)(be=>{for(;be;){const Ae=be.mode||be.getAttribute("mode");if(Ae){if(de(Ae))return Ae;G(be)&&console.warn('Invalid ionic mode: "'+Ae+'", expected: "ios" or "md"')}be=be.parentElement}return K})}},68512:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{iosTransitionAnimation:()=>y,shadow:()=>c});var n=o(30388),i=o(76256);o(14829),o(62992);const e=h=>document.querySelector(`${h}.ion-cloned-element`),c=h=>h.shadowRoot||h,l=h=>{const C="ION-TABS"===h.tagName?h:h.querySelector("ion-tabs"),v="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=C){const M=C.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=M?M.querySelector(v):null}return h.querySelector(v)},g=(h,C)=>{const v="ION-TABS"===h.tagName?h:h.querySelector("ion-tabs");let M=[];if(null!=v){const E=v.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=E&&(M=E.querySelectorAll("ion-buttons"))}else M=h.querySelectorAll("ion-buttons");for(const E of M){const A=E.closest("ion-header"),T=A&&!A.classList.contains("header-collapse-condense-inactive"),R=E.querySelector("ion-back-button"),N=E.classList.contains("buttons-collapse");if(null!==R&&("start"===E.slot||""===E.slot)&&(N&&T&&C||!N))return R}return null},_=(h,C,v,M,E,A,T,R,N)=>{var I,L;const O=C?`calc(100% - ${E.right+4}px)`:E.left-4+"px",z=C?"right":"left",F=C?"left":"right",q=C?"right":"left",X=(null===(I=A.textContent)||void 0===I?void 0:I.trim())===(null===(L=R.textContent)||void 0===L?void 0:L.trim()),K=(N.height-m)/T.height,ne=X?`scale(${N.width/T.width}, ${K})`:`scale(${K})`,Y="scale(1)",ae=c(M).querySelector("ion-icon").getBoundingClientRect(),re=C?ae.width/2-(ae.right-E.right)+"px":E.left-ae.width/2+"px",W=C?`-${window.innerWidth-E.right}px`:`${E.left}px`,ee=`${N.top}px`,J=`${E.top}px`,be=v?[{offset:0,transform:`translate3d(${W}, ${J}, 0)`},{offset:1,transform:`translate3d(${re}, ${ee}, 0)`}]:[{offset:0,transform:`translate3d(${re}, ${ee}, 0)`},{offset:1,transform:`translate3d(${W}, ${J}, 0)`}],le=v?[{offset:0,opacity:1,transform:Y},{offset:1,opacity:0,transform:ne}]:[{offset:0,opacity:0,transform:ne},{offset:1,opacity:1,transform:Y}],qe=v?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],tt=(0,n.c)(),mt=(0,n.c)(),st=(0,n.c)(),ft=e("ion-back-button"),Qt=c(ft).querySelector(".button-text"),bt=c(ft).querySelector("ion-icon");ft.text=M.text,ft.mode=M.mode,ft.icon=M.icon,ft.color=M.color,ft.disabled=M.disabled,ft.style.setProperty("display","block"),ft.style.setProperty("position","fixed"),mt.addElement(bt),tt.addElement(Qt),st.addElement(ft),st.beforeStyles({position:"absolute",top:"0px",[q]:"0px"}).keyframes(be),tt.beforeStyles({"transform-origin":`${z} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),ft.style.setProperty(z,O)}).afterAddWrite(()=>{M.style.setProperty("display",""),ft.style.setProperty("display","none"),ft.style.removeProperty(z)}).keyframes(le),mt.beforeStyles({"transform-origin":`${F} center`}).keyframes(qe),h.addAnimation([tt,mt,st])},S=(h,C,v,M,E,A,T,R)=>{var N,I;const L=C?"right":"left",O=C?`calc(100% - ${E.right}px)`:`${E.left}px`,F=`${E.top}px`,X=C?`-${window.innerWidth-R.right-8}px`:R.x-8+"px",K=R.y-2+"px",ne=(null===(N=T.textContent)||void 0===N?void 0:N.trim())===(null===(I=M.textContent)||void 0===I?void 0:I.trim()),H=R.height/(A.height-m),ae="scale(1)",re=ne?`scale(${R.width/A.width}, ${H})`:`scale(${H})`,J=v?[{offset:0,opacity:0,transform:`translate3d(${X}, ${K}, 0) ${re}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${F}, 0) ${ae}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${F}, 0) ${ae}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${X}, ${K}, 0) ${re}`}],G=e("ion-title"),de=(0,n.c)();G.innerText=M.innerText,G.size=M.size,G.color=M.color,de.addElement(G),de.beforeStyles({"transform-origin":`${L} top`,height:`${E.height}px`,display:"",position:"relative",[L]:O}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),G.style.setProperty("display","none")}).keyframes(J),h.addAnimation(de)},y=(h,C)=>{var v;try{const M="cubic-bezier(0.32,0.72,0,1)",E="opacity",A="transform",T="0%",N="rtl"===h.ownerDocument.dir,I=N?"-99.5%":"99.5%",L=N?"33%":"-33%",O=C.enteringEl,z=C.leavingEl,F="back"===C.direction,q=O.querySelector(":scope > ion-content"),X=O.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ce=O.querySelectorAll(":scope > ion-header > ion-toolbar"),K=(0,n.c)(),ne=(0,n.c)();if(K.addElement(O).duration((null!==(v=C.duration)&&void 0!==v?v:0)||540).easing(C.easing||M).fill("both").beforeRemoveClass("ion-page-invisible"),z&&null!=h){const re=(0,n.c)();re.addElement(h),K.addAnimation(re)}if(q||0!==ce.length||0!==X.length?(ne.addElement(q),ne.addElement(X)):ne.addElement(O.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),K.addAnimation(ne),F?ne.beforeClearStyles([E]).fromTo("transform",`translateX(${L})`,`translateX(${T})`).fromTo(E,.8,1):ne.beforeClearStyles([E]).fromTo("transform",`translateX(${I})`,`translateX(${T})`),q){const re=c(q).querySelector(".transition-effect");if(re){const W=re.querySelector(".transition-cover"),ee=re.querySelector(".transition-shadow"),J=(0,n.c)(),G=(0,n.c)(),de=(0,n.c)();J.addElement(re).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),G.addElement(W).beforeClearStyles([E]).fromTo(E,0,.1),de.addElement(ee).beforeClearStyles([E]).fromTo(E,.03,.7),J.addAnimation([G,de]),ne.addAnimation([J])}}const Y=O.querySelector("ion-header.header-collapse-condense"),{forward:H,backward:ae}=((h,C,v,M,E)=>{const A=g(M,v),T=l(E),R=l(M),N=g(E,v),I=null!==A&&null!==T&&!v,L=null!==R&&null!==N&&v;if(I){const O=T.getBoundingClientRect(),z=A.getBoundingClientRect(),F=c(A).querySelector(".button-text"),q=F.getBoundingClientRect(),ce=c(T).querySelector(".toolbar-title").getBoundingClientRect();S(h,C,v,T,O,ce,F,q),_(h,C,v,A,z,F,q,T,ce)}else if(L){const O=R.getBoundingClientRect(),z=N.getBoundingClientRect(),F=c(N).querySelector(".button-text"),q=F.getBoundingClientRect(),ce=c(R).querySelector(".toolbar-title").getBoundingClientRect();S(h,C,v,R,O,ce,F,q),_(h,C,v,N,z,F,q,R,ce)}return{forward:I,backward:L}})(K,N,F,O,z);if(ce.forEach(re=>{const W=(0,n.c)();W.addElement(re),K.addAnimation(W);const ee=(0,n.c)();ee.addElement(re.querySelector("ion-title"));const J=(0,n.c)(),G=Array.from(re.querySelectorAll("ion-buttons,[menuToggle]")),de=re.closest("ion-header"),be=de?.classList.contains("header-collapse-condense-inactive");let Ae;Ae=G.filter(F?qe=>{const tt=qe.classList.contains("buttons-collapse");return tt&&!be||!tt}:qe=>!qe.classList.contains("buttons-collapse")),J.addElement(Ae);const ye=(0,n.c)();ye.addElement(re.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const le=(0,n.c)();le.addElement(c(re).querySelector(".toolbar-background"));const Me=(0,n.c)(),$e=re.querySelector("ion-back-button");if($e&&Me.addElement($e),W.addAnimation([ee,J,ye,le,Me]),J.fromTo(E,.01,1),ye.fromTo(E,.01,1),F)be||ee.fromTo("transform",`translateX(${L})`,`translateX(${T})`).fromTo(E,.01,1),ye.fromTo("transform",`translateX(${L})`,`translateX(${T})`),Me.fromTo(E,.01,1);else if(Y||ee.fromTo("transform",`translateX(${I})`,`translateX(${T})`).fromTo(E,.01,1),ye.fromTo("transform",`translateX(${I})`,`translateX(${T})`),le.beforeClearStyles([E,"transform"]),de?.translucent?le.fromTo("transform",N?"translateX(-100%)":"translateX(100%)","translateX(0px)"):le.fromTo(E,.01,"var(--opacity)"),H||Me.fromTo(E,.01,1),$e&&!H){const tt=(0,n.c)();tt.addElement(c($e).querySelector(".button-text")).fromTo("transform",N?"translateX(-100px)":"translateX(100px)","translateX(0px)"),W.addAnimation(tt)}}),z){const re=(0,n.c)(),W=z.querySelector(":scope > ion-content"),ee=z.querySelectorAll(":scope > ion-header > ion-toolbar"),J=z.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(W||0!==ee.length||0!==J.length?(re.addElement(W),re.addElement(J)):re.addElement(z.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),K.addAnimation(re),F){re.beforeClearStyles([E]).fromTo("transform",`translateX(${T})`,N?"translateX(-100%)":"translateX(100%)");const G=(0,i.g)(z);K.afterAddWrite(()=>{"normal"===K.getDirection()&&G.style.setProperty("display","none")})}else re.fromTo("transform",`translateX(${T})`,`translateX(${L})`).fromTo(E,1,.8);if(W){const G=c(W).querySelector(".transition-effect");if(G){const de=G.querySelector(".transition-cover"),be=G.querySelector(".transition-shadow"),Ae=(0,n.c)(),ye=(0,n.c)(),le=(0,n.c)();Ae.addElement(G).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ye.addElement(de).beforeClearStyles([E]).fromTo(E,.1,0),le.addElement(be).beforeClearStyles([E]).fromTo(E,.7,.03),Ae.addAnimation([ye,le]),re.addAnimation([Ae])}}ee.forEach(G=>{const de=(0,n.c)();de.addElement(G);const be=(0,n.c)();be.addElement(G.querySelector("ion-title"));const Ae=(0,n.c)(),ye=G.querySelectorAll("ion-buttons,[menuToggle]"),le=G.closest("ion-header"),Me=le?.classList.contains("header-collapse-condense-inactive"),$e=Array.from(ye).filter(Qt=>{const bt=Qt.classList.contains("buttons-collapse");return bt&&!Me||!bt});Ae.addElement($e);const qe=(0,n.c)(),tt=G.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");tt.length>0&&qe.addElement(tt);const mt=(0,n.c)();mt.addElement(c(G).querySelector(".toolbar-background"));const st=(0,n.c)(),ft=G.querySelector("ion-back-button");if(ft&&st.addElement(ft),de.addAnimation([be,Ae,qe,st,mt]),K.addAnimation(de),st.fromTo(E,.99,0),Ae.fromTo(E,.99,0),qe.fromTo(E,.99,0),F){if(Me||be.fromTo("transform",`translateX(${T})`,N?"translateX(-100%)":"translateX(100%)").fromTo(E,.99,0),qe.fromTo("transform",`translateX(${T})`,N?"translateX(-100%)":"translateX(100%)"),mt.beforeClearStyles([E,"transform"]),le?.translucent?mt.fromTo("transform","translateX(0px)",N?"translateX(-100%)":"translateX(100%)"):mt.fromTo(E,"var(--opacity)",0),ft&&!ae){const bt=(0,n.c)();bt.addElement(c(ft).querySelector(".button-text")).fromTo("transform",`translateX(${T})`,`translateX(${(N?-124:124)+"px"})`),de.addAnimation(bt)}}else Me||be.fromTo("transform",`translateX(${T})`,`translateX(${L})`).fromTo(E,.99,0).afterClearStyles([A,E]),qe.fromTo("transform",`translateX(${T})`,`translateX(${L})`).afterClearStyles([A,E]),st.afterClearStyles([E]),be.afterClearStyles([E]),Ae.afterClearStyles([E])})}return K}catch(M){throw M}},m=10},96556:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{mdTransitionAnimation:()=>a});var n=o(30388),i=o(76256);o(14829),o(62992);const a=(e,c)=>{var l,g,b;const _="40px",y="back"===c.direction,h=c.leavingEl,C=(0,i.g)(c.enteringEl),v=C.querySelector("ion-toolbar"),M=(0,n.c)();if(M.addElement(C).fill("both").beforeRemoveClass("ion-page-invisible"),y?M.duration((null!==(l=c.duration)&&void 0!==l?l:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):M.duration((null!==(g=c.duration)&&void 0!==g?g:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${_})`,"translateY(0px)").fromTo("opacity",.01,1),v){const E=(0,n.c)();E.addElement(v),M.addAnimation(E)}if(h&&y){M.duration((null!==(b=c.duration)&&void 0!==b?b:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const E=(0,n.c)();E.addElement((0,i.g)(h)).onFinish(A=>{1===A&&E.elements.length>0&&E.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${_})`).fromTo("opacity",1,0),M.addAnimation(E)}return M}},63816:(ve,f,o)=>{"use strict";o.d(f,{B:()=>Ae,G:()=>ye,O:()=>le,a:()=>S,b:()=>y,c:()=>v,d:()=>Me,e:()=>$e,f:()=>Y,g:()=>ae,h:()=>ee,i:()=>G,j:()=>E,k:()=>A,l:()=>m,m:()=>h,n:()=>I,o:()=>K,p:()=>C,s:()=>be,t:()=>M});var n=o(1528),i=o(14829),d=o(72784),u=o(88523),a=o(10495),e=o(46384),c=o(52032);let l=0,g=0;const b=new WeakMap,_=qe=>({create:tt=>T(qe,tt),dismiss:(tt,mt,st)=>q(document,tt,mt,qe,st),getTop:()=>(0,n.c)(function*(){return K(document,qe)})()}),S=_("ion-alert"),y=_("ion-action-sheet"),m=_("ion-loading"),h=_("ion-modal"),C=_("ion-picker"),v=_("ion-popover"),M=_("ion-toast"),E=qe=>{typeof document<"u"&&F(document);const tt=l++;qe.overlayIndex=tt},A=qe=>(qe.hasAttribute("id")||(qe.id="ion-overlay-"+ ++g),qe.id),T=(qe,tt)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(qe).then(()=>{const mt=document.createElement(qe);return mt.classList.add("overlay-hidden"),Object.assign(mt,Object.assign(Object.assign({},tt),{hasController:!0})),re(document).appendChild(mt),new Promise(st=>(0,e.c)(mt,st))}):Promise.resolve(),R='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',I=(qe,tt)=>{const mt=qe.querySelector(R);O(mt,tt)},L=(qe,tt)=>{const mt=Array.from(qe.querySelectorAll(R));O(mt.length>0?mt[mt.length-1]:null,tt)},O=(qe,tt)=>{let mt=qe;const st=qe?.shadowRoot;st&&(mt=st.querySelector(R)||qe),mt?(0,e.f)(mt):tt.focus()},F=qe=>{0===l&&(l=1,qe.addEventListener("focus",tt=>{((qe,tt)=>{const mt=K(tt,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),st=qe.target;mt&&st&&!mt.classList.contains("ion-disable-focus-trap")&&(mt.shadowRoot?(()=>{if(mt.contains(st))mt.lastFocus=st;else if("ION-TOAST"===st.tagName)O(mt.lastFocus,mt);else{const bt=mt.lastFocus;I(mt,mt),bt===tt.activeElement&&L(mt,mt),mt.lastFocus=tt.activeElement}})():(()=>{if(mt===st)mt.lastFocus=void 0;else if("ION-TOAST"===st.tagName)O(mt.lastFocus,mt);else{const bt=(0,e.g)(mt);if(!bt.contains(st))return;const Vt=bt.querySelector(".ion-overlay-wrapper");if(!Vt)return;if(Vt.contains(st)||st===bt.querySelector("ion-backdrop"))mt.lastFocus=st;else{const sn=mt.lastFocus;I(Vt,mt),sn===tt.activeElement&&L(Vt,mt),mt.lastFocus=tt.activeElement}}})())})(tt,qe)},!0),qe.addEventListener("ionBackButton",tt=>{const mt=K(qe);mt?.backdropDismiss&&tt.detail.register(d.OVERLAY_BACK_BUTTON_PRIORITY,()=>{mt.dismiss(void 0,Ae)})}),(0,d.shoudUseCloseWatcher)()||qe.addEventListener("keydown",tt=>{if("Escape"===tt.key){const mt=K(qe);mt?.backdropDismiss&&mt.dismiss(void 0,Ae)}}))},q=(qe,tt,mt,st,ft)=>{const Qt=K(qe,st,ft);return Qt?Qt.dismiss(tt,mt):Promise.reject("overlay does not exist")},ce=(qe,tt)=>((qe,tt)=>(void 0===tt&&(tt="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(qe.querySelectorAll(tt)).filter(mt=>mt.overlayIndex>0)))(qe,tt).filter(mt=>!(qe=>qe.classList.contains("overlay-hidden"))(mt)),K=(qe,tt,mt)=>{const st=ce(qe,tt);return void 0===mt?st[st.length-1]:st.find(ft=>ft.id===mt)},ne=(qe=!1)=>{const mt=re(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");mt&&(qe?mt.setAttribute("aria-hidden","true"):mt.removeAttribute("aria-hidden"))},Y=function(){var qe=(0,n.c)(function*(tt,mt,st,ft,Qt){var bt,Vt;if(tt.presented)return;ne(!0),void 0!==i.d&&ce(i.d).forEach(vn=>vn.setAttribute("aria-hidden","true")),tt.presented=!0,tt.willPresent.emit(),null===(bt=tt.willPresentShorthand)||void 0===bt||bt.emit();const sn=(0,u.b)(tt),dn=tt.enterAnimation?tt.enterAnimation:u.c.get(mt,"ios"===sn?st:ft);(yield W(tt,dn,tt.el,Qt))&&(tt.didPresent.emit(),null===(Vt=tt.didPresentShorthand)||void 0===Vt||Vt.emit()),"ION-TOAST"!==tt.el.tagName&&H(tt.el),tt.keyboardClose&&(null===document.activeElement||!tt.el.contains(document.activeElement))&&tt.el.focus(),tt.el.removeAttribute("aria-hidden")});return function(mt,st,ft,Qt,bt){return qe.apply(this,arguments)}}(),H=function(){var qe=(0,n.c)(function*(tt){let mt=document.activeElement;if(!mt)return;const st=mt?.shadowRoot;st&&(mt=st.querySelector(R)||mt),yield tt.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&mt.focus()});return function(mt){return qe.apply(this,arguments)}}(),ae=function(){var qe=(0,n.c)(function*(tt,mt,st,ft,Qt,bt,Vt){var sn,dn,wn;if(!tt.presented)return!1;void 0!==i.d&&1===ce(i.d).length&&ne(!1),tt.presented=!1;try{tt.el.style.setProperty("pointer-events","none"),tt.willDismiss.emit({data:mt,role:st}),null===(sn=tt.willDismissShorthand)||void 0===sn||sn.emit({data:mt,role:st});const An=(0,u.b)(tt),vn=tt.leaveAnimation?tt.leaveAnimation:u.c.get(ft,"ios"===An?Qt:bt);st!==ye&&(yield W(tt,vn,tt.el,Vt)),tt.didDismiss.emit({data:mt,role:st}),null===(dn=tt.didDismissShorthand)||void 0===dn||dn.emit({data:mt,role:st}),(b.get(tt)||[]).forEach(ut=>ut.destroy()),b.delete(tt),tt.el.classList.add("overlay-hidden"),tt.el.style.removeProperty("pointer-events"),void 0!==tt.el.lastFocus&&(tt.el.lastFocus=void 0)}catch(An){console.error(An)}return tt.el.remove(),void 0!==i.d&&(null===(wn=K(i.d))||void 0===wn||wn.removeAttribute("aria-hidden")),!0});return function(mt,st,ft,Qt,bt,Vt,sn){return qe.apply(this,arguments)}}(),re=qe=>qe.querySelector("ion-app")||qe.body,W=function(){var qe=(0,n.c)(function*(tt,mt,st,ft){st.classList.remove("overlay-hidden");const bt=mt(tt.el,ft);(!tt.animated||!u.c.getBoolean("animated",!0))&&bt.duration(0),tt.keyboardClose&&bt.beforeAddWrite(()=>{const sn=st.ownerDocument.activeElement;sn?.matches("input,ion-input, ion-textarea")&&sn.blur()});const Vt=b.get(tt)||[];return b.set(tt,[...Vt,bt]),yield bt.play(),!0});return function(mt,st,ft,Qt){return qe.apply(this,arguments)}}(),ee=(qe,tt)=>{let mt;const st=new Promise(ft=>mt=ft);return J(qe,tt,ft=>{mt(ft.detail)}),st},J=(qe,tt,mt)=>{const st=ft=>{(0,e.b)(qe,tt,st),mt(ft)};(0,e.a)(qe,tt,st)},G=qe=>"cancel"===qe||qe===Ae,de=qe=>qe(),be=(qe,tt)=>{if("function"==typeof qe)return u.c.get("_zoneGate",de)(()=>{try{return qe(tt)}catch(st){throw st}})},Ae="backdrop",ye="gesture",le=39,Me=qe=>{let mt,tt=!1;const st=(0,a.C)(),ft=(Vt=!1)=>{if(mt&&!Vt)return{delegate:mt,inline:tt};const{el:sn,hasController:dn,delegate:wn}=qe;return tt=null!==sn.parentNode&&!dn,mt=tt?wn||st:wn,{inline:tt,delegate:mt}};return{attachViewToDom:function(){var Vt=(0,n.c)(function*(sn){const{delegate:dn}=ft(!0);if(dn)return yield dn.attachViewToDom(qe.el,sn);const{hasController:wn}=qe;if(wn&&void 0!==sn)throw new Error("framework delegate is missing");return null});return function(dn){return Vt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Vt}=ft();Vt&&void 0!==qe.el&&Vt.removeViewFromDom(qe.el.parentElement,qe.el)}}},$e=()=>{let qe;const tt=()=>{qe&&(qe(),qe=void 0)};return{addClickListener:(st,ft)=>{tt();const Qt=void 0!==ft?document.getElementById(ft):null;Qt?qe=((Vt,sn)=>{const dn=()=>{sn.present()};return Vt.addEventListener("click",dn),()=>{Vt.removeEventListener("click",dn)}})(Qt,st):(0,c.p)(`A trigger element with the ID "${ft}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,st)},removeClickListener:tt}}},45256:(ve,f,o)=>{"use strict";o.d(f,{c:()=>d,g:()=>a,h:()=>i,o:()=>c});var n=o(1528);const i=(l,g)=>null!==g.closest(l),d=(l,g)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},g):g,a=l=>{const g={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(b=>null!=b).map(b=>b.trim()).filter(b=>""!==b):[])(l).forEach(b=>g[b]=!0),g},e=/^[a-z][a-z0-9+\-.]*:/,c=function(){var l=(0,n.c)(function*(g,b,_,S){if(null!=g&&"#"!==g[0]&&!e.test(g)){const y=document.querySelector("ion-router");if(y)return b?.preventDefault(),y.push(g,_,S)}return!1});return function(b,_,S,y){return l.apply(this,arguments)}}()},57140:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{AuthenticationHandler:()=>L,AuthenticationHandlerOptions:()=>R,BatchRequestContent:()=>d,BatchResponseContent:()=>u,ChaosHandler:()=>ee,ChaosHandlerOptions:()=>ae,ChaosStrategy:()=>H,Client:()=>ut,CustomAuthenticationProvider:()=>bt,FeatureUsageFlag:()=>N,FileUpload:()=>$e,GraphClientError:()=>l,GraphError:()=>Vt,GraphRequest:()=>dn,HTTPMessageHandler:()=>O,LargeFileUploadTask:()=>Me,MiddlewareFactory:()=>Y,OneDriveLargeFileUploadTask:()=>st,PageIterator:()=>Qt,Range:()=>ye,RedirectHandler:()=>X,RedirectHandlerOptions:()=>q,ResponseType:()=>J,RetryHandler:()=>F,RetryHandlerOptions:()=>z,StreamUpload:()=>ft,TelemetryHandler:()=>K,TelemetryHandlerOptions:()=>I,UploadResult:()=>le,getValidRangeSize:()=>mt});var n=o(81316),i=function(Ue){return Ue.GET="GET",Ue.PATCH="PATCH",Ue.POST="POST",Ue.PUT="PUT",Ue.DELETE="DELETE",Ue}(i||{});let d=(()=>{class Ue{static validateDependencies(Pe){if(0===Pe.size){const He=new Error("Empty requests map, Please provide at least one request.");throw He.name="Empty Requests Error",He}return(He=>{const gt=He.entries();let dt=gt.next();for(;!dt.done;){const Mt=dt.value[1];if(void 0!==Mt.dependsOn&&Mt.dependsOn.length>0)return!1;dt=gt.next()}return!0})(Pe)||(He=>{const gt=He.entries();let dt=gt.next();const Mt=dt.value[1];if(void 0!==Mt.dependsOn&&Mt.dependsOn.length>0)return!1;let nt=dt;for(dt=gt.next();!dt.done;){const $t=dt.value[1];if(void 0===$t.dependsOn||1!==$t.dependsOn.length||$t.dependsOn[0]!==nt.value[1].id)return!1;nt=dt,dt=gt.next()}return!0})(Pe)||(He=>{const gt=He.entries();let dt=gt.next();const Mt=dt.value[1];let nt;if(void 0===Mt.dependsOn||0===Mt.dependsOn.length)nt=Mt.id;else{if(1!==Mt.dependsOn.length)return!1;{const $t=Mt.dependsOn[0];if($t===Mt.id||!He.has($t))return!1;nt=$t}}for(dt=gt.next();!dt.done;){const $t=dt.value[1];if((void 0===$t.dependsOn||0===$t.dependsOn.length)&&nt!==$t.id||void 0!==$t.dependsOn&&0!==$t.dependsOn.length&&(1===$t.dependsOn.length&&($t.id===nt||$t.dependsOn[0]!==nt)||$t.dependsOn.length>1))return!1;dt=gt.next()}return!0})(Pe)}static getRequestData(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Qe={url:""},Re=new RegExp("^https?://");Qe.url=Re.test(Pe.url)?"/"+Pe.url.split(/.*?\/\/.*?\//)[1]:Pe.url,Qe.method=Pe.method;const lt={};return Pe.headers.forEach((He,gt)=>{lt[gt]=He}),Object.keys(lt).length&&(Qe.headers=lt),(Pe.method===i.PATCH||Pe.method===i.POST||Pe.method===i.PUT)&&(Qe.body=yield Ue.getRequestBody(Pe)),Qe})}static getRequestBody(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Re,Qe=!1;try{Re=yield Pe.clone().json(),Qe=!0}catch{}if(!Qe)try{if(typeof Blob<"u"){const lt=yield Pe.blob(),He=new FileReader;Re=yield new Promise(gt=>{He.addEventListener("load",()=>{const dt=He.result,nt=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(dt);gt(nt[4])},!1),He.readAsDataURL(lt)})}else typeof Buffer<"u"&&(Re=(yield Pe.buffer()).toString("base64"));Qe=!0}catch{}return Re})}constructor(Pe){if(this.requests=new Map,typeof Pe<"u"){const Qe=Ue.requestLimit;if(Pe.length>Qe){const Re=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Qe}`);throw Re.name="Limit Exceeded Error",Re}for(const Re of Pe)this.addRequest(Re)}}addRequest(Pe){const Qe=Ue.requestLimit;if(""===Pe.id){const Re=new Error("Id for a request is empty, Please provide an unique id");throw Re.name="Empty Id For Request",Re}if(this.requests.size===Qe){const Re=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Qe}`);throw Re.name="Limit Exceeded Error",Re}if(this.requests.has(Pe.id)){const Re=new Error(`Adding request with duplicate id ${Pe.id}, Make the id of the requests unique`);throw Re.name="Duplicate RequestId Error",Re}return this.requests.set(Pe.id,Pe),Pe.id}removeRequest(Pe){const Qe=this.requests.delete(Pe),Re=this.requests.entries();let lt=Re.next();for(;!lt.done;){const He=lt.value[1].dependsOn;if(typeof He<"u"){const gt=He.indexOf(Pe);-1!==gt&&He.splice(gt,1),0===He.length&&delete lt.value[1].dependsOn}lt=Re.next()}return Qe}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Pe=[],Qe={requests:Pe},Re=this.requests.entries();let lt=Re.next();if(lt.done){const He=new Error("No requests added yet, Please add at least one request.");throw He.name="Empty Payload",He}if(!Ue.validateDependencies(this.requests)){const He=new Error("Invalid dependency found, Dependency should be:\n1. Parallel - no individual request states a dependency in the dependsOn property.\n2. Serial - all individual requests depend on the previous individual request.\n3. Same - all individual requests that state a dependency in the dependsOn property, state the same dependency.");throw He.name="Invalid Dependency",He}for(;!lt.done;){const He=lt.value[1],gt=yield Ue.getRequestData(He.request);if(void 0!==gt.body&&(void 0===gt.headers||void 0===gt.headers["content-type"])){const dt=new Error(`Content-type header is not mentioned for request #${He.id}, For request having body, Content-type header should be mentioned`);throw dt.name="Invalid Content-type header",dt}gt.id=He.id,void 0!==He.dependsOn&&He.dependsOn.length>0&&(gt.dependsOn=He.dependsOn),Pe.push(gt),lt=Re.next()}return Qe.requests=Pe,Qe})}addDependency(Pe,Qe){if(!this.requests.has(Pe)){const Re=new Error(`Dependent ${Pe} does not exists, Please check the id`);throw Re.name="Invalid Dependent",Re}if(typeof Qe<"u"&&!this.requests.has(Qe)){const Re=new Error(`Dependency ${Qe} does not exists, Please check the id`);throw Re.name="Invalid Dependency",Re}if(typeof Qe<"u"){const Re=this.requests.get(Pe);if(void 0===Re.dependsOn&&(Re.dependsOn=[]),-1!==Re.dependsOn.indexOf(Qe)){const lt=new Error(`Dependency ${Qe} is already added for the request ${Pe}`);throw lt.name="Duplicate Dependency",lt}Re.dependsOn.push(Qe)}else{const Re=this.requests.entries();let lt,He=Re.next();for(;!He.done&&He.value[1].id!==Pe;)lt=He,He=Re.next();if(!(typeof lt<"u")){const gt=new Error(`Can't add dependency ${Qe}, There is only a dependent request in the batch`);throw gt.name="Invalid Dependency Addition",gt}{const gt=lt.value[0];if(void 0===He.value[1].dependsOn&&(He.value[1].dependsOn=[]),-1!==He.value[1].dependsOn.indexOf(gt)){const dt=new Error(`Dependency ${gt} is already added for the request ${Pe}`);throw dt.name="Duplicate Dependency",dt}He.value[1].dependsOn.push(gt)}}}removeDependency(Pe,Qe){const Re=this.requests.get(Pe);if(typeof Re>"u"||void 0===Re.dependsOn||0===Re.dependsOn.length)return!1;if(typeof Qe<"u"){const lt=Re.dependsOn.indexOf(Qe);return-1!==lt&&(Re.dependsOn.splice(lt,1),!0)}return delete Re.dependsOn,!0}}return Ue.requestLimit=20,Ue})();class u{constructor(De){this.responses=new Map,this.update(De)}createResponseObject(De){const Pe=De.body,Qe={};if(Qe.status=De.status,void 0!==De.statusText&&(Qe.statusText=De.statusText),Qe.headers=De.headers,void 0!==Qe.headers&&void 0!==Qe.headers["Content-Type"]&&"application/json"===Qe.headers["Content-Type"].split(";")[0]){const Re=JSON.stringify(Pe);return new Response(Re,Qe)}return new Response(Pe,Qe)}update(De){this.nextLink=De["@odata.nextLink"];const Pe=De.responses;for(let Qe=0,Re=Pe.length;Qe{const De=Ue&&Ue.constructor&&Ue.constructor.name;if("Buffer"===De||"Blob"===De||"File"===De||"FormData"===De||"string"==typeof Ue)return Ue;if("ArrayBuffer"===De)Ue=Buffer.from(Ue);else if("Int8Array"===De||"Int16Array"===De||"Int32Array"===De||"Uint8Array"===De||"Uint16Array"===De||"Uint32Array"===De||"Uint8ClampedArray"===De||"Float32Array"===De||"Float64Array"===De||"DataView"===De)Ue=Buffer.from(Ue.buffer);else try{Ue=JSON.stringify(Ue)}catch{throw new Error("Unable to stringify the content")}return Ue},S=Ue=>m(Ue),y=(Ue,De)=>(De.forEach(Pe=>h(Pe)),m(Ue,De)),m=(Ue,De=c)=>{if(-1!==(Ue=Ue.toLowerCase()).indexOf("https://")){const Pe=(Ue=Ue.replace("https://","")).indexOf(":"),Qe=Ue.indexOf("/");let Re="";if(-1!==Qe)return-1!==Pe&&Pe{if(-1!==Ue.indexOf("/"))throw new l("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class C{constructor(De=[]){this.middlewareOptions=new Map;for(const Pe of De)this.middlewareOptions.set(Pe.constructor,Pe)}getMiddlewareOptions(De){return this.middlewareOptions.get(De)}setMiddlewareOptions(De,Pe){this.middlewareOptions.set(De,Pe)}}const v=()=>{let Ue="";for(let De=0;De<32;De++)(8===De||12===De||16===De||20===De)&&(Ue+="-"),Ue+=Math.floor(16*Math.random()).toString(16);return Ue},M=(Ue,De,Pe)=>{let Qe=null;if(typeof Request<"u"&&Ue instanceof Request)Qe=Ue.headers.get(Pe);else if(typeof De<"u"&&void 0!==De.headers)if(typeof Headers<"u"&&De.headers instanceof Headers)Qe=De.headers.get(Pe);else if(De.headers instanceof Array){const Re=De.headers;for(let lt=0,He=Re.length;lt{if(typeof Request<"u"&&Ue instanceof Request)Ue.headers.set(Pe,Qe);else if(typeof De<"u")if(void 0===De.headers)De.headers=new Headers({[Pe]:Qe});else if(typeof Headers<"u"&&De.headers instanceof Headers)De.headers.set(Pe,Qe);else if(De.headers instanceof Array){let Re=0;const lt=De.headers.length;for(;Re{typeof Request<"u"&&Ue instanceof Request?Ue.headers.append(Pe,Qe):typeof De<"u"&&(void 0===De.headers?De.headers=new Headers({[Pe]:Qe}):typeof Headers<"u"&&De.headers instanceof Headers?De.headers.append(Pe,Qe):De.headers instanceof Array?De.headers.push([Pe,Qe]):void 0===De.headers?De.headers={[Pe]:Qe}:void 0===De.headers[Pe]?De.headers[Pe]=Qe:De.headers[Pe]+=`, ${Qe}`)};class R{constructor(De,Pe){this.authenticationProvider=De,this.authenticationProviderOptions=Pe}}var N=function(Ue){return Ue[Ue.NONE=0]="NONE",Ue[Ue.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Ue[Ue.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Ue[Ue.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Ue}(N||{});class I{constructor(){this.featureUsage=N.NONE}static updateFeatureUsageFlag(De,Pe){let Qe;De.middlewareControl instanceof C?Qe=De.middlewareControl.getMiddlewareOptions(I):De.middlewareControl=new C,typeof Qe>"u"&&(Qe=new I,De.middlewareControl.setMiddlewareOptions(I,Qe)),Qe.setFeatureUsage(Pe)}setFeatureUsage(De){this.featureUsage=this.featureUsage|De}getFeatureUsage(){return this.featureUsage.toString(16)}}let L=(()=>{class Ue{constructor(Pe){this.authenticationProvider=Pe}execute(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Qe="string"==typeof Pe.request?Pe.request:Pe.request.url;if(S(Qe)||Pe.customHosts&&y(Qe,Pe.customHosts)){let Re,lt,He;Pe.middlewareControl instanceof C&&(Re=Pe.middlewareControl.getMiddlewareOptions(R)),Re&&(lt=Re.authenticationProvider,He=Re.authenticationProviderOptions),lt||(lt=this.authenticationProvider);const dt=`Bearer ${yield lt.getAccessToken(He)}`;A(Pe.request,Pe.options,Ue.AUTHORIZATION_HEADER,dt),I.updateFeatureUsageFlag(Pe,N.AUTHENTICATION_HANDLER_ENABLED)}else Pe.options.headers&&delete Pe.options.headers[Ue.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(Pe)})}setNext(Pe){this.nextMiddleware=Pe}}return Ue.AUTHORIZATION_HEADER="Authorization",Ue})();class O{execute(De){return(0,n.__awaiter)(this,void 0,void 0,function*(){De.response=yield fetch(De.request,De.options)})}}let z=(()=>{class Ue{constructor(Pe=Ue.DEFAULT_DELAY,Qe=Ue.DEFAULT_MAX_RETRIES,Re=Ue.defaultShouldRetry){if(Pe>Ue.MAX_DELAY&&Qe>Ue.MAX_MAX_RETRIES){const lt=new Error(`Delay and MaxRetries should not be more than ${Ue.MAX_DELAY} and ${Ue.MAX_MAX_RETRIES}`);throw lt.name="MaxLimitExceeded",lt}if(Pe>Ue.MAX_DELAY){const lt=new Error(`Delay should not be more than ${Ue.MAX_DELAY}`);throw lt.name="MaxLimitExceeded",lt}if(Qe>Ue.MAX_MAX_RETRIES){const lt=new Error(`MaxRetries should not be more than ${Ue.MAX_MAX_RETRIES}`);throw lt.name="MaxLimitExceeded",lt}if(Pe<0&&Qe<0){const lt=new Error("Delay and MaxRetries should not be negative");throw lt.name="MinExpectationNotMet",lt}if(Pe<0){const lt=new Error("Delay should not be negative");throw lt.name="MinExpectationNotMet",lt}if(Qe<0){const lt=new Error("MaxRetries should not be negative");throw lt.name="MinExpectationNotMet",lt}this.delay=Math.min(Pe,Ue.MAX_DELAY),this.maxRetries=Math.min(Qe,Ue.MAX_MAX_RETRIES),this.shouldRetry=Re}getMaxDelay(){return Ue.MAX_DELAY}}return Ue.DEFAULT_DELAY=3,Ue.DEFAULT_MAX_RETRIES=3,Ue.MAX_DELAY=180,Ue.MAX_MAX_RETRIES=10,Ue.defaultShouldRetry=()=>!0,Ue})(),F=(()=>{class Ue{constructor(Pe=new z){this.options=Pe}isRetry(Pe){return-1!==Ue.RETRY_STATUS_CODES.indexOf(Pe.status)}isBuffered(Pe,Qe){const Re="string"==typeof Pe?Qe.method:Pe.method;return!((Re===i.PUT||Re===i.PATCH||Re===i.POST)&&"application/octet-stream"===M(Pe,Qe,"Content-Type"))}getDelay(Pe,Qe,Re){const lt=()=>Number(Math.random().toFixed(3)),He=void 0!==Pe.headers?Pe.headers.get(Ue.RETRY_AFTER_HEADER):null;let gt;return gt=null!==He?Number.isNaN(Number(He))?Math.round((new Date(He).getTime()-Date.now())/1e3):Number(He):Qe>=2?this.getExponentialBackOffTime(Qe)+Re+lt():Re+lt(),Math.min(gt,this.options.getMaxDelay()+lt())}getExponentialBackOffTime(Pe){return Math.round(.5*(Math.pow(2,Pe)-1))}sleep(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Qe=1e3*Pe;return new Promise(Re=>setTimeout(Re,Qe))})}getOptions(Pe){let Qe;return Pe.middlewareControl instanceof C&&(Qe=Pe.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof Qe>"u"&&(Qe=Object.assign(new z,this.options)),Qe}executeWithRetry(Pe,Qe,Re){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(Pe),Qe{class Ue{constructor(Pe=Ue.DEFAULT_MAX_REDIRECTS,Qe=Ue.defaultShouldRedirect){if(Pe>Ue.MAX_MAX_REDIRECTS){const Re=new Error(`MaxRedirects should not be more than ${Ue.MAX_MAX_REDIRECTS}`);throw Re.name="MaxLimitExceeded",Re}if(Pe<0){const Re=new Error("MaxRedirects should not be negative");throw Re.name="MinExpectationNotMet",Re}this.maxRedirects=Pe,this.shouldRedirect=Qe}}return Ue.DEFAULT_MAX_REDIRECTS=5,Ue.MAX_MAX_REDIRECTS=20,Ue.defaultShouldRedirect=()=>!0,Ue})(),X=(()=>{class Ue{constructor(Pe=new q){this.options=Pe}isRedirect(Pe){return-1!==Ue.REDIRECT_STATUS_CODES.indexOf(Pe.status)}hasLocationHeader(Pe){return Pe.headers.has(Ue.LOCATION_HEADER)}getLocationHeader(Pe){return Pe.headers.get(Ue.LOCATION_HEADER)}isRelativeURL(Pe){return-1===Pe.indexOf("://")}shouldDropAuthorizationHeader(Pe,Qe){const Re=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,lt=Re.exec(Pe);let He,gt;null!==lt&&(He=lt[0]);const dt=Re.exec(Qe);return null!==dt&&(gt=dt[0]),typeof He<"u"&&typeof gt<"u"&&He!==gt}updateRequestUrl(Pe,Qe){return(0,n.__awaiter)(this,void 0,void 0,function*(){Qe.request="string"==typeof Qe.request?Pe:yield((Ue,De)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const Pe=De.headers.get("Content-Type")?yield De.blob():yield Promise.resolve(void 0),{method:Qe,headers:Re,referrer:lt,referrerPolicy:He,mode:gt,credentials:dt,cache:Mt,redirect:nt,integrity:$t,keepalive:pt,signal:Tt}=De;return new Request(Ue,{method:Qe,headers:Re,body:Pe,referrer:lt,referrerPolicy:He,mode:gt,credentials:dt,cache:Mt,redirect:nt,integrity:$t,keepalive:pt,signal:Tt})}))(Pe,Qe.request)})}getOptions(Pe){let Qe;return Pe.middlewareControl instanceof C&&(Qe=Pe.middlewareControl.getMiddlewareOptions(q)),typeof Qe>"u"&&(Qe=Object.assign(new q,this.options)),Qe}executeWithRedirect(Pe,Qe,Re){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(Pe);const lt=Pe.response;if(Qe{class Ue{execute(Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Qe="string"==typeof Pe.request?Pe.request:Pe.request.url;if(S(Qe)||Pe.customHosts&&y(Qe,Pe.customHosts)){let Re=M(Pe.request,Pe.options,Ue.CLIENT_REQUEST_ID_HEADER);Re||(Re=v(),E(Pe.request,Pe.options,Ue.CLIENT_REQUEST_ID_HEADER,Re));let He,lt=`${Ue.PRODUCT_NAME}/3.0.7`;if(Pe.middlewareControl instanceof C&&(He=Pe.middlewareControl.getMiddlewareOptions(I)),He){const gt=He.getFeatureUsage();lt+=` (${Ue.FEATURE_USAGE_STRING}=${gt})`}A(Pe.request,Pe.options,Ue.SDK_VERSION_HEADER,lt)}else delete Pe.options.headers[Ue.CLIENT_REQUEST_ID_HEADER],delete Pe.options.headers[Ue.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(Pe)})}setNext(Pe){this.nextMiddleware=Pe}}return Ue.CLIENT_REQUEST_ID_HEADER="client-request-id",Ue.SDK_VERSION_HEADER="SdkVersion",Ue.PRODUCT_NAME="graph-js",Ue.FEATURE_USAGE_STRING="featureUsage",Ue})();class Y{static getDefaultMiddlewareChain(De){const Pe=[],Qe=new L(De),Re=new F(new z),lt=new K,He=new O;if(Pe.push(Qe),Pe.push(Re),"object"==typeof process){const gt=new X(new q);Pe.push(gt)}return Pe.push(lt),Pe.push(He),Pe}}var H=function(Ue){return Ue[Ue.MANUAL=0]="MANUAL",Ue[Ue.RANDOM=1]="RANDOM",Ue}(H||{});class ae{constructor(De=H.RANDOM,Pe="Some error Happened",Qe,Re,lt,He){if(this.chaosStrategy=De,this.statusCode=Qe,this.statusMessage=Pe,this.chaosPercentage=void 0!==Re?Re:10,this.responseBody=lt,this.headers=He,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const re={GET:[429,500,502,503,504],POST:[429,500,502,503,504,507],PUT:[429,500,502,503,504,507],PATCH:[429,500,502,503,504],DELETE:[429,500,502,503,504,507]},W={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};class ee{constructor(De=new ae,Pe){this.options=De,this.manualMap=Pe}createResponseHeaders(De,Pe,Qe){const Re=De.headers?new Headers(De.headers):new Headers;return Re.append("Cache-Control","no-store"),Re.append("request-id",Pe),Re.append("client-request-id",Pe),Re.append("x-ms-ags-diagnostic",""),Re.append("Date",Qe),Re.append("Strict-Transport-Security",""),429===De.statusCode&&Re.append("retry-after","3"),Re}createResponseBody(De,Pe,Qe){if(De.responseBody)return De.responseBody;let Re;return Re=De.statusCode>=400?{error:{code:W[De.statusCode],message:De.statusMessage,innerError:{"request-id":Pe,date:Qe}}}:{},Re}createResponse(De,Pe){const Qe=Pe.request,Re=v(),lt=new Date,He=this.createResponseHeaders(De,Re,lt.toString()),gt=this.createResponseBody(De,Re,lt.toString()),dt={url:Qe,status:De.statusCode,statusText:De.statusMessage,headers:He};Pe.response=new Response("string"==typeof gt?gt:JSON.stringify(gt),dt)}sendRequest(De,Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(De,Pe.request,Pe.options.method),De.chaosStrategy===H.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(He+"$").test(Re)&&void 0!==this.manualMap.get(He).get(Qe)&&(De.statusCode=this.manualMap.get(He).get(Qe))})}}else De.statusCode=this.getRandomStatusCode(Qe)}getOptions(De){let Pe;return De.middlewareControl instanceof C&&(Pe=De.middlewareControl.getMiddlewareOptions(ae)),typeof Pe>"u"&&(Pe=Object.assign(new ae,this.options)),Pe}execute(De){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Pe=this.getOptions(De);return yield this.sendRequest(Pe,De)})}setNext(De){this.nextMiddleware=De}}var J=function(Ue){return Ue.ARRAYBUFFER="arraybuffer",Ue.BLOB="blob",Ue.DOCUMENT="document",Ue.JSON="json",Ue.RAW="raw",Ue.STREAM="stream",Ue.TEXT="text",Ue}(J||{}),G=function(Ue){return Ue.TEXT_HTML="text/html",Ue.TEXT_XML="text/xml",Ue.APPLICATION_XML="application/xml",Ue.APPLICATION_XHTML="application/xhtml+xml",Ue}(G||{}),de=function(Ue){return Ue.TEXT_PLAIN="text/plain",Ue.APPLICATION_JSON="application/json",Ue}(de||{}),be=function(Ue){return Ue.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Ue.IMAGE="^image\\/.+",Ue}(be||{});class Ae{static parseDocumentResponse(De,Pe){return typeof DOMParser<"u"?new Promise((Qe,Re)=>{De.text().then(lt=>{try{const gt=(new DOMParser).parseFromString(lt,Pe);Qe(gt)}catch(He){Re(He)}})}):Promise.resolve(De.body)}static convertResponse(De,Pe){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===De.status)return Promise.resolve();let Qe;const Re=De.headers.get("Content-type");switch(Pe){case J.ARRAYBUFFER:Qe=yield De.arrayBuffer();break;case J.BLOB:Qe=yield De.blob();break;case J.DOCUMENT:Qe=yield Ae.parseDocumentResponse(De,G.TEXT_XML);break;case J.JSON:Qe=yield De.json();break;case J.STREAM:Qe=yield Promise.resolve(De.body);break;case J.TEXT:Qe=yield De.text();break;default:if(null!==Re){const lt=Re.split(";")[0];Qe=new RegExp(be.DOCUMENT).test(lt)?yield Ae.parseDocumentResponse(De,lt):new RegExp(be.IMAGE).test(lt)?De.blob():lt===de.TEXT_PLAIN?yield De.text():lt===de.APPLICATION_JSON?yield De.json():Promise.resolve(De.body)}else Qe=Promise.resolve(De.body)}return Qe})}static getResponse(De,Pe,Qe){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(Pe===J.RAW)return Promise.resolve(De);{const Re=yield Ae.convertResponse(De,Pe);if(!De.ok)throw Re;if("function"!=typeof Qe)return Re;Qe(null,Re)}})}}class ye{constructor(De=-1,Pe=-1){this.minValue=De,this.maxValue=Pe}}class le{get location(){return this._location}set location(De){this._location=De}get responseBody(){return this._responseBody}set responseBody(De){this._responseBody=De}constructor(De,Pe){this._location=Pe,this._responseBody=De}static CreateUploadResult(De,Pe){return new le(De,Pe.get("location"))}}class Me{static createUploadSession(De,Pe,Qe,Re={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const lt=yield De.api(Pe).headers(Re).post(Qe);return{url:lt.uploadUrl,expiry:new Date(lt.expirationDateTime),isCancelled:!1}})}constructor(De,Pe,Qe,Re={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=De,!Pe.sliceFile)throw new l("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=Pe,this.file=Pe,Re.rangeSize||(Re.rangeSize=this.DEFAULT_FILE_SIZE),this.options=Re,this.uploadSession=Qe,this.nextRange=new ye(0,this.options.rangeSize-1)}parseRange(De){const Pe=De[0];if(typeof Pe>"u"||""===Pe)return new ye;const Qe=Pe.split("-"),Re=parseInt(Qe[0],10);let lt=parseInt(Qe[1],10);return Number.isNaN(lt)&&(lt=this.file.size-1),new ye(Re,lt)}updateTaskStatus(De){this.uploadSession.expiry=new Date(De.expirationDateTime),this.nextRange=this.parseRange(De.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const De=this.nextRange.minValue;let Pe=De+this.options.rangeSize-1;return Pe>=this.file.size&&(Pe=this.file.size-1),new ye(De,Pe)}sliceFile(De){if(console.warn("The LargeFileUploadTask.sliceFile() function has been deprecated and moved into the FileObject interface."),this.file.content instanceof ArrayBuffer||this.file.content instanceof Blob||this.file.content instanceof Uint8Array)return this.file.content.slice(De.minValue,De.maxValue+1);throw new l("The LargeFileUploadTask.sliceFile() function expects only Blob, ArrayBuffer or Uint8Array file content. Please note that the sliceFile() function is deprecated.")}upload(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const De=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const Pe=this.getNextRange();if(-1===Pe.maxValue){const gt=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw gt.name="Invalid Session",gt}const Qe=yield this.file.sliceFile(Pe),Re=yield this.uploadSliceGetRawResponse(Qe,Pe,this.file.size);if(!Re)throw new l("Something went wrong! Large file upload slice response is null.");const lt=yield Ae.getResponse(Re);if(201===Re.status||200===Re.status&<.id)return this.reportProgress(De,Pe),le.CreateUploadResult(lt,Re.headers);this.updateTaskStatus({expirationDateTime:lt.expirationDateTime||lt.ExpirationDateTime,nextExpectedRanges:lt.NextExpectedRanges||lt.nextExpectedRanges}),this.reportProgress(De,Pe)}})}reportProgress(De,Pe){De&&De.progress&&De.progress(Pe,De.extraCallbackParam)}uploadSlice(De,Pe,Qe){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Pe.maxValue-Pe.minValue+1),"Content-Range":`bytes ${Pe.minValue}-${Pe.maxValue}/${Qe}`,"Content-Type":"application/octet-stream"}).put(De)})}uploadSliceGetRawResponse(De,Pe,Qe){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Pe.maxValue-Pe.minValue+1),"Content-Range":`bytes ${Pe.minValue}-${Pe.maxValue}/${Qe}`,"Content-Type":"application/octet-stream"}).responseType(J.RAW).put(De)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const De=yield this.client.api(this.uploadSession.url).responseType(J.RAW).delete();return 204===De.status&&(this.uploadSession.isCancelled=!0),De})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const De=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(De),De})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class $e{constructor(De,Pe,Qe){if(this.content=De,this.name=Pe,this.size=Qe,!De||!Pe||!Qe)throw new l("Please provide the upload content, name of the file and size of the file")}sliceFile(De){return this.content.slice(De.minValue,De.maxValue+1)}}const mt=(Ue=5242880)=>(Ue>62914560&&(Ue=62914560),(Ue=>(Ue>327680&&(Ue=320*Math.floor(Ue/327680)*1024),Ue))(Ue));let st=(()=>{class Ue extends Me{static constructCreateSessionUrl(Pe,Qe=Ue.DEFAULT_UPLOAD_PATH){return Pe=Pe.trim(),""===(Qe=Qe.trim())&&(Qe="/"),"/"!==Qe[0]&&(Qe=`/${Qe}`),"/"!==Qe[Qe.length-1]&&(Qe=`${Qe}/`),`/me/drive/root:${Qe.split("/").map(Re=>encodeURIComponent(Re)).join("/")}${encodeURIComponent(Pe)}:/createUploadSession`}static getFileInfo(Pe,Qe){let Re,lt;return typeof Blob<"u"&&Pe instanceof Blob?(Re=new File([Pe],Qe),lt=Re.size):typeof File<"u"&&Pe instanceof File?(Re=Pe,lt=Re.size):typeof Uint8Array<"u"&&Pe instanceof Uint8Array&&(lt=Pe.byteLength,Re=Pe.buffer.slice(Pe.byteOffset,Pe.byteOffset+Pe.byteLength)),{content:Re,size:lt}}static create(Pe,Qe,Re){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Pe||!Qe||!Re)throw new l("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const lt=Re.fileName,He=Ue.getFileInfo(Qe,lt),gt=new $e(He.content,lt,He.size);return this.createTaskWithFileObject(Pe,gt,Re)})}static createTaskWithFileObject(Pe,Qe,Re){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Pe||!Qe||!Re)throw new l("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const lt=Re.uploadSessionURL?Re.uploadSessionURL:Ue.constructCreateSessionUrl(Re.fileName,Re.path),He={fileName:Re.fileName,fileDescription:Re.fileDescription,conflictBehavior:Re.conflictBehavior},gt=yield Ue.createUploadSession(Pe,lt,He),dt=mt(Re.rangeSize);return new Ue(Pe,Qe,gt,{rangeSize:dt,uploadEventHandlers:Re.uploadEventHandlers})})}static createUploadSession(Pe,Qe,Re){const lt=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return lt.createUploadSession.call(this,Pe,Qe,{item:{"@microsoft.graph.conflictBehavior":Re?.conflictBehavior||"rename",name:Re?.fileName,description:Re?.fileDescription}})})}constructor(Pe,Qe,Re,lt){super(Pe,Qe,Re,lt)}commit(Pe,Qe="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Re={name:this.file.name,"@microsoft.graph.conflictBehavior":Qe,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(Pe).put(Re)})}}return Ue.DEFAULT_UPLOAD_PATH="/",Ue})();class ft{constructor(De,Pe,Qe){if(this.content=De,this.name=Pe,this.size=Qe,!De||!Pe||!Qe)throw new l("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(De){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Pe=De.maxValue-De.minValue+1;const Qe=[];if(this.previousSlice){if(De.minValue=Pe?this.content.read(Pe):yield this.readNBytesFromStream(Pe));const Re=Buffer.concat(Qe);return this.previousSlice={fileSlice:Re,range:De},Re})}readNBytesFromStream(De){return new Promise((Pe,Qe)=>{const Re=[];let lt=De,He=0;this.content.on("end",()=>{if(lt>0)return Qe(new l("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let gt;for(;He0&&(lt=De-He);return He===De?Pe(Buffer.concat(Re)):this.content&&this.content.readable?void 0:Qe(new l("Error encountered while reading the stream during the upload"))})})}}class Qt{constructor(De,Pe,Qe,Re){this.client=De,this.collection=Pe.value,this.nextLink=Pe["@odata.nextLink"],this.deltaLink=Pe["@odata.deltaLink"],this.callback=Qe,this.cursor=0,this.complete=!1,this.requestOptions=Re}iterationHelper(){if(void 0===this.collection)return!1;let De=!0;for(;De&&this.cursor=this.collection.length&&(this.complete=!0)})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return this.iterate()})}isComplete(){return this.complete}}class bt{constructor(De){this.provider=De}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((De,Pe)=>{this.provider((Qe,Re)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(Re)De(Re);else{Qe||(Qe=new l("Access token is undefined or empty.\t\t\t\t\t\tPlease provide a valid token.\t\t\t\t\t\tFor more help - https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/docs/CustomAuthenticationProvider.md"));const lt=yield l.setGraphClientError(Qe);Pe(lt)}}))})})}}class Vt extends Error{constructor(De=-1,Pe,Qe){super(Pe||Qe&&Qe.message),Object.setPrototypeOf(this,Vt.prototype),this.statusCode=De,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=Qe?Qe.stack:this.stack}}class sn{static constructError(De,Pe,Qe){const Re=new Vt(Pe,"",De);return void 0!==De.name&&(Re.code=De.name),Re.body=De.toString(),Re.date=new Date,Re.headers=Qe?.headers,Re}static constructErrorFromResponse(De,Pe,Qe){const Re=De.error,lt=new Vt(Pe,Re.message);return lt.code=Re.code,void 0!==Re.innerError&&(lt.requestId=Re.innerError["request-id"],lt.date=new Date(Re.innerError.date)),lt.body=JSON.stringify(Re),lt.headers=Qe?.headers,lt}static getError(De=null,Pe=-1,Qe,Re){return(0,n.__awaiter)(this,void 0,void 0,function*(){let lt;if(De&&De.error?lt=sn.constructErrorFromResponse(De,Pe,Re):De instanceof Error?lt=sn.constructError(De,Pe,Re):(lt=new Vt(Pe),lt.body=De),"function"!=typeof Qe)return lt;Qe(lt,null)})}}class dn{constructor(De,Pe,Qe){this.parsePath=Re=>{if(-1!==Re.indexOf("https://")){const He=(Re=Re.replace("https://","")).indexOf("/");-1!==He&&(this.urlComponents.host="https://"+Re.substring(0,He),Re=Re.substring(He+1,Re.length));const gt=Re.indexOf("/");-1!==gt&&(this.urlComponents.version=Re.substring(0,gt),Re=Re.substring(gt+1,Re.length))}"/"===Re.charAt(0)&&(Re=Re.substr(1));const lt=Re.indexOf("?");if(-1===lt)this.urlComponents.path=Re;else{this.urlComponents.path=Re.substr(0,lt);const He=Re.substring(lt+1,Re.length).split("&");for(const gt of He)this.parseQueryParameter(gt)}},this.httpClient=De,this.config=Pe,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath(Qe)}addCsvQueryParameter(De,Pe,Qe){this.urlComponents.oDataQueryParams[De]=this.urlComponents.oDataQueryParams[De]?this.urlComponents.oDataQueryParams[De]+",":"";let Re=[];Qe.length>1&&"string"==typeof Pe?Re=Array.prototype.slice.call(Qe):"string"==typeof Pe?Re.push(Pe):Re=Re.concat(Pe),this.urlComponents.oDataQueryParams[De]+=Re.join(",")}buildFullUrl(){const De=(Ue=>{const De=lt=>lt.replace(/\/+$/,""),Pe=lt=>lt.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((lt,He)=>[De(lt),Pe(He)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(De),De}createQueryString(){const De=this.urlComponents,Pe=[];if(0!==Object.keys(De.oDataQueryParams).length)for(const Qe in De.oDataQueryParams)Object.prototype.hasOwnProperty.call(De.oDataQueryParams,Qe)&&Pe.push(Qe+"="+De.oDataQueryParams[Qe]);if(0!==Object.keys(De.otherURLQueryParams).length)for(const Qe in De.otherURLQueryParams)Object.prototype.hasOwnProperty.call(De.otherURLQueryParams,Qe)&&Pe.push(Qe+"="+De.otherURLQueryParams[Qe]);if(0!==De.otherURLQueryOptions.length)for(const Qe of De.otherURLQueryOptions)Pe.push(Qe);return Pe.length>0?"?"+Pe.join("&"):""}parseQueryParameter(De){if("string"==typeof De)if("?"===De.charAt(0)&&(De=De.substring(1)),-1!==De.indexOf("&")){const Pe=De.split("&");for(const Qe of Pe)this.parseQueryParamenterString(Qe)}else this.parseQueryParamenterString(De);else if(De.constructor===Object)for(const Pe in De)Object.prototype.hasOwnProperty.call(De,Pe)&&this.setURLComponentsQueryParamater(Pe,De[Pe]);return this}parseQueryParamenterString(De){if(this.isValidQueryKeyValuePair(De)){const Pe=De.indexOf("="),Qe=De.substring(0,Pe),Re=De.substring(Pe+1);this.setURLComponentsQueryParamater(Qe,Re)}else this.urlComponents.otherURLQueryOptions.push(De)}setURLComponentsQueryParamater(De,Pe){if(-1!==g.indexOf(De)){const Qe=this.urlComponents.oDataQueryParams[De];this.urlComponents.oDataQueryParams[De]=!Qe||"$expand"!==De&&"$select"!==De&&"$orderby"!==De?Pe:Qe+","+Pe}else this.urlComponents.otherURLQueryParams[De]=Pe}isValidQueryKeyValuePair(De){const Pe=De.indexOf("=");return!(-1===Pe||-1!==De.indexOf("(")&&De.indexOf("(")1?this.parseMiddleWareArray(De):this.middleware=De[0]}parseMiddleWareArray(De){De.forEach((Pe,Qe)=>{Qe{if(typeof Promise>"u"&&typeof fetch>"u"){const Ue=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof Promise>"u"){const Ue=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof fetch>"u"){const Ue=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}})();for(const Qe in De)Object.prototype.hasOwnProperty.call(De,Qe)&&(this.config[Qe]=De[Qe]);let Pe;if(void 0!==De.authProvider&&void 0!==De.middleware){const Qe=new Error;throw Qe.name="AmbiguityInInitialization",Qe.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",Qe}if(void 0!==De.authProvider)Pe=vn.createWithAuthenticationProvider(De.authProvider);else{if(void 0===De.middleware){const Qe=new Error;throw Qe.name="InvalidMiddlewareChain",Qe.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",Qe}Pe=new wn(...[].concat(De.middleware))}this.httpClient=Pe}api(De){return new dn(this.httpClient,this.config,De)}}},80484:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AppRoutingModule=void 0;const n=o(81316),i=o(84588),d=n.__importStar(o(54496)),a=(n.__importStar(o(84588)),[{path:"TestPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(79112))).then(c=>c.CommonTestseitePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(c=>c.CommonHomePageModule)},{path:"DebugPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(37724))).then(c=>c.CommonDebugPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(66068))).then(c=>c.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(74484))).then(c=>c.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(19204))).then(c=>c.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubsgesamtuebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(98348))).then(c=>c.CommonUrlaubsgesamtuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(5884))).then(c=>c.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(53964))).then(c=>c.CommonUrlaubEinstellungenPageModule)},{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(96012))).then(c=>c.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(99988))).then(c=>c.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(c=>c.CommonHomePageModule)},{path:"PDFViewerPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(64316))).then(c=>c.CommonPdfViewerPageModule)}]);f.AppRoutingModule=(()=>{class c{static \u0275fac=function(b){return new(b||c)};static \u0275mod=d.\u0275\u0275defineNgModule({type:c});static \u0275inj=d.\u0275\u0275defineInjector({imports:[i.RouterModule.forRoot(a,{preloadingStrategy:i.PreloadAllModules}),i.RouterModule]})}return c})()},86108:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.AppComponent=void 0;const i=o(81316),d=o(80103),u=o(21112),a=i.__importStar(o(17964)),e=i.__importStar(o(54496)),c=i.__importStar(o(10716)),l=i.__importStar(o(7992)),g=i.__importStar(o(59460)),b=i.__importStar(o(97092)),_=i.__importStar(o(42348)),S=i.__importStar(o(14652)),y=i.__importStar(o(19668)),m=i.__importStar(o(29743)),h=i.__importStar(o(22848)),C=i.__importStar(o(15024)),v=i.__importStar(o(58864)),M=i.__importStar(o(9544)),E=i.__importStar(o(8608)),A=i.__importStar(o(34388));f.AppComponent=(()=>{class R{platform;Pool;Menuservice;AuthService;changeDetector;MSALService;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;Debug;AuthSubscription;isIframe;Destroying=new d.Subject;Zoomfaktor;Settingssubscription;constructor(I,L,O,z,F,q,X,ce,K,ne,Y,H,ae,re,W,ee,J){this.platform=I,this.Pool=L,this.Menuservice=O,this.AuthService=z,this.changeDetector=F,this.MSALService=q,this.Basics=X,this.Tools=ce,this.Const=K,this.authService=ne,this.msalBroadcastService=Y,this.MitarbeiterDB=H,this.MitarbeitersettingsDB=ae,this.StandortDB=re,this.UrlaubDB=W,this.GraphService=ee,this.Debug=J;try{this.AuthSubscription=null,this.isIframe=!1,this.Zoomfaktor=100,this.Settingssubscription=null}catch(G){this.Debug.ShowErrorMessage(G.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService()}catch(I){this.Debug.ShowErrorMessage(I.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled?(this.isIframe=window!==window.parent&&!window.opener,this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,d.filter)(I=>(this.Debug.ShowMessage("Interaction Status: "+I,"App Component","StartApp",this.Debug.Typen.Component),I===u.InteractionStatus.None)),(0,d.takeUntil)(this.Destroying)).subscribe(I=>{this.Debug.ShowMessage("Interaction Status: "+I,"App Component","StartApp",this.Debug.Typen.Component),this.AuthService.SetShowLoginStatus()}),this.AuthService.LoginSuccessEvent.subscribe(()=>{this.Debug.ShowMessage("LoginSuccessEvent -> Start App","App Component","StartApp",this.Debug.Typen.Component),this.StartApp()}),this.StartApp()})):this.StartApp()}catch(I){this.Debug.ShowErrorMessage(I.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var I=this;return n(function*(){try{let L,O;if(I.Debug.ShowMessage("Start App","App Component","StartApp",I.Debug.Typen.Component),yield I.platform.ready(),yield I.AuthService.SetActiveUser(),I.Basics.Contentbreite=I.platform.width(),I.Basics.Contenthoehe=I.platform.height(),null!==I.AuthService.ActiveUser){I.AuthService.SetShowLoginStatus(),I.Debug.ShowMessage("Benutzer ist angemeldet: "+I.AuthService.ActiveUser.username,"App Component","StartApp",I.Debug.Typen.Component),I.Pool.ShowProgress=!0,I.Pool.MaxProgressValue=8,I.Pool.CurrentProgressValue=0;try{!0===I.AuthService.SecurityEnabled&&(I.Pool.ProgressMessage="Lade eigene Daten",yield I.GraphService.GetOwnUserinfo(),I.Pool.CurrentProgressValue++),!0===I.AuthService.SecurityEnabled&&(I.Pool.ProgressMessage="Lade eigens Bild",yield I.GraphService.GetOwnUserimage(),I.Pool.CurrentProgressValue++),I.Pool.ProgressMessage="Lade Change Log",yield I.Pool.ReadChangelogliste(),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Standortliste",yield I.Pool.ReadStandorteliste(),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield I.Pool.ReadMitarbeiterliste(),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Positionenliste",yield I.Pool.ReadMitarbeiterpositionenliste(),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let z=yield I.GraphService.GetAllUsers();I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield I.UrlaubDB.ReadRegionen("DE"),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Ferien Deutschland",yield I.UrlaubDB.ReadFerien("DE"),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Ferien Bulgarien",yield I.UrlaubDB.ReadFerien("BG"),I.Pool.CurrentProgressValue++;for(let F of z)L=a.find(I.Pool.Mitarbeiterliste,q=>q.UserID===F.id),a.isUndefined(L)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(F),-1===F.mail.toLowerCase().indexOf("admin")&&(L=I.MitarbeiterDB.ConvertGraphuserToMitarbeiter(F),console.log("Neuer Mitrabeiter:"),console.log(L),yield I.MitarbeiterDB.AddMitarbeiter(L)))}catch{}!1===I.MitarbeiterDB.CheckMitarbeiterExists(I.GraphService.Graphuser.mail)?(I.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",I.Debug.Typen.Component),L=I.MitarbeiterDB.ConvertGraphuserToMitarbeiter(I.GraphService.Graphuser),L=yield I.MitarbeiterDB.AddMitarbeiter(L)):(I.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",I.Debug.Typen.Component),L=a.find(I.Pool.Mitarbeiterliste,{UserID:I.GraphService.Graphuser.id})),I.Pool.Mitarbeiterdaten=I.Pool.InitMitarbeiter(L),I.Pool.CheckMitarbeiterdaten(),I.UrlaubDB.SetMitarbeiter(I.Pool.Mitarbeiterdaten),I.Pool.ProgressMessage="Lade Feiertage Deutschland",yield I.UrlaubDB.ReadFeiertage("DE"),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield I.UrlaubDB.ReadFeiertage("BG"),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Lade Einstellungen",yield I.Pool.ReadSettingsliste(),I.Pool.CurrentProgressValue++,I.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",I.Pool.Mitarbeitersettings=I.Pool.InitMitarbeitersettings(),I.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield I.MitarbeitersettingsDB.SaveMitarbeitersettings(),I.Pool.CurrentProgressValue++,I.Zoomfaktor=I.Pool.Mitarbeitersettings.Zoomfaktor,I.Pool.MitarbeitersettingsChanged.emit(),null===I.Pool.Mitarbeiterdaten.SettingsID&&(I.Pool.Mitarbeiterdaten.SettingsID=I.Pool.Mitarbeitersettings._id,yield I.MitarbeiterDB.UpdateMitarbeiter(I.Pool.Mitarbeiterdaten)),I.MitarbeiterDB.InitService(),I.StandortDB.InitService(),I.Pool.ShowProgress=!1,O=!0===I.Pool.Mitarbeiterdaten.Planeradministrator?I.Const.Pages.HomePage:I.Const.Pages.UrlaubPlanungPage,I.Pool.ProjektdatenLoaded=!0,I.SetProjekteMenuebereich(O),I.Tools.SetRootPage(O).then(()=>{I.Pool.LoadingAllDataFinished.emit()})}else I.AuthService.SetShowLoginStatus(),I.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",I.Debug.Typen.Component)}catch(L){I.Debug.ShowErrorMessage(L.message,"App Component","StartApp",I.Debug.Typen.Component)}})()}SetProjekteMenuebereich(I){try{switch(I){case this.Const.Pages.HomePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home,this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.EmaillistePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Email;break;case this.Const.Pages.UrlaubPlanungPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung;break;case this.Const.Pages.UrlaubUebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Uebersicht;break;case this.Const.Pages.UrlaubsgesamtuebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Gesamtplanung;break;case this.Const.Pages.UrlaubFreigabenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Freigaben;break;case this.Const.Pages.UrlaubEinstellungenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Einstellungen;break;default:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte}switch(I){case this.Const.Pages.PjAufgabenlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.PjProtokolleListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Protokolle;break;case this.Const.Pages.PjBaustelleLoplistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.LOPListe;break;case this.Const.Pages.PjBaustelleTagebuchlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Bautagebuch;break;case this.Const.Pages.PjFestlegungslistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Festlegungen;break;case this.Const.Pages.PjPlanungsmatrixPage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Planungsmatrix;break;case this.Const.Pages.PjSimontabellelistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Simontabelle;break;case this.Const.Pages.PjNotizenListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Notizen}}catch(L){this.Debug.ShowErrorMessage(L,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(L){return new(L||R)(e.\u0275\u0275directiveInject(c.Platform),e.\u0275\u0275directiveInject(l.DatabasePoolService),e.\u0275\u0275directiveInject(g.MenueService),e.\u0275\u0275directiveInject(b.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(_.MsalService),e.\u0275\u0275directiveInject(S.BasicsProvider),e.\u0275\u0275directiveInject(y.ToolsProvider),e.\u0275\u0275directiveInject(m.ConstProvider),e.\u0275\u0275directiveInject(_.MsalService),e.\u0275\u0275directiveInject(_.MsalBroadcastService),e.\u0275\u0275directiveInject(h.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabaseStandorteService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(E.Graphservice),e.\u0275\u0275directiveInject(A.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:R,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(L,O){1&L&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&L&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",O.Zoomfaktor,"%"))},dependencies:[c.IonApp,c.IonRouterOutlet],styles:['ngx-material-timepicker-content{--body-background-color: #7b6a58;--primary-font-family: "Roboto",sans-serif;--button-color: none !important;--dial-active-color: #fff;--dial-inactive-color: rgba(255, 255, 255, .5);--dial-background-color: #354547 !important;--dial-editable-active-color: #c7d304 !important;--dial-editable-background-color: #fff;--clock-face-time-active-color: #fff;--clock-face-time-inactive-color: #6c6c6c;--clock-face-inner-time-inactive-color: #929292;--clock-face-time-disabled-color: #c5c5c5;--clock-face-background-color: #354547;--clock-hand-color: #c7d304 !important}']})}return R})()},5204:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AppModule=f.MSALInstanceFactory=void 0;const n=o(81316),i=o(14476),d=o(10716),u=o(86108),a=o(80484),e=o(19668),c=o(34388),l=o(29743),g=o(14652),b=o(33940),_=o(59460),S=o(21052),y=o(44556),m=o(97048),h=o(42348),C=o(21112),v=o(36716),M=o(57848),E=n.__importStar(o(54496)),T=(n.__importStar(o(10716)),!1===v.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),N=!1===v.environment.production?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",F=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,q=(Y,H)=>{console.log(H)};f.MSALInstanceFactory=()=>new C.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:T},cache:{cacheLocation:C.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:F},system:{loggerOptions:{loggerCallback:q,logLevel:C.LogLevel.Error,piiLoggingEnabled:!1}}});const ce=()=>{const Y=new Map;return Y.set("https://graph.microsoft.com/v1.0/me",["user.read"]),Y.set(N,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:C.InteractionType.Redirect,protectedResourceMap:Y}},K=()=>({interactionType:C.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email"]}});f.AppModule=(()=>{class Y{static \u0275fac=function(re){return new(re||Y)};static \u0275mod=E.\u0275\u0275defineNgModule({type:Y,bootstrap:[u.AppComponent,h.MsalRedirectComponent]});static \u0275inj=E.\u0275\u0275defineInjector({providers:[{provide:m.HTTP_INTERCEPTORS,useClass:h.MsalInterceptor,multi:!0},{provide:h.MSAL_INSTANCE,useFactory:f.MSALInstanceFactory},{provide:h.MSAL_GUARD_CONFIG,useFactory:K},{provide:h.MSAL_INTERCEPTOR_CONFIG,useFactory:ce},h.MsalService,h.MsalGuard,h.MsalBroadcastService,e.ToolsProvider,c.DebugProvider,l.ConstProvider,g.BasicsProvider,_.MenueService,b.LoadingAnimationService,S.DisplayService],imports:[i.BrowserModule,d.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),a.AppRoutingModule,y.BrowserAnimationsModule,m.HttpClientModule,h.MsalModule,M.FontAwesomeModule]})}return Y})()},64168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiChangelogEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),u=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(21052)),l=n.__importStar(o(29743)),g=n.__importStar(o(19668)),b=n.__importStar(o(51708)),_=n.__importStar(o(91368)),S=n.__importStar(o(10716)),y=n.__importStar(o(38056)),m=n.__importStar(o(90212)),h=n.__importStar(o(25856)),C=n.__importStar(o(29856));function v(A,T){if(1&A){const R=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),a.\u0275\u0275listener("CheckChanged",function(I){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(L.CanDeleteCheckedChanged(I))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",17),a.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(R);const I=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(I.DeleteButtonClicked())}),a.\u0275\u0275element(9,"ion-icon",19),a.\u0275\u0275elementStart(10,"ion-text"),a.\u0275\u0275text(11,"Eintrag l\xf6schen"),a.\u0275\u0275elementEnd()()()()()()()}if(2&A){const R=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",R.CanDelete),a.\u0275\u0275advance(3),a.\u0275\u0275property("disabled",!R.CanDelete)}}function M(A,T){if(1&A){const R=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),a.\u0275\u0275twoWayListener("ValueChange",function(I){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(L.DB.CurrentChangelog.Version,I)||(L.DB.CurrentChangelog.Version=I),a.\u0275\u0275resetView(I)}),a.\u0275\u0275listener("TextChanged",function(I){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(L.TextChanged(I))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),a.\u0275\u0275twoWayListener("ValueChange",function(I){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(L.DB.CurrentChangelog.Beschreibung,I)||(L.DB.CurrentChangelog.Beschreibung=I),a.\u0275\u0275resetView(I)}),a.\u0275\u0275listener("TextChanged",function(I){a.\u0275\u0275restoreView(R);const L=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(L.TextChanged(I))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),a.\u0275\u0275element(9,"input-clone",14),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(10,"ion-col"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),a.\u0275\u0275element(13,"br")(14,"br"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(15,v,12,2,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&A){const R=a.\u0275\u0275nextContext();a.\u0275\u0275advance(3),a.\u0275\u0275twoWayProperty("Value",R.DB.CurrentChangelog.Version),a.\u0275\u0275property("Required",!1)("MaxLength",100),a.\u0275\u0275advance(3),a.\u0275\u0275twoWayProperty("Value",R.DB.CurrentChangelog.Beschreibung),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),a.\u0275\u0275advance(3),a.\u0275\u0275property("Value",R.GetDatum())("Enabled",!1),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",null!==R.DB.CurrentChangelog._id)}}f.FiChangelogEditorComponent=(()=>{class A{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(R,N,I,L,O){this.Debug=R,this.Displayservice=N,this.Const=I,this.Tools=L,this.DB=O;try{this.Valid=!0,this.Valid=!0,this.Titel="Change Log bearbeiten",this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(z){this.Debug.ShowErrorMessage(z.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Beschreibung:d.string().required().max(100)}).options({stripUnknown:!0})}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentChangelog).error,this.ValidChange.emit(this.Valid)}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(R){try{this.ValidateInput()}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(R=>{this.Tools.ShowHinweisDialog(R.error.message)})}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(R=>{this.OkClickedEvent.emit()}).catch(R=>{this.Tools.ShowHinweisDialog(R.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(R=>{this.Tools.ShowHinweisDialog(R.error.message)})}catch(R){this.Debug.ShowErrorMessage(R.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(R){R.preventDefault(),R.stopPropagation()}CanDeleteCheckedChanged(R){try{this.CanDelete=R.status}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,u.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(R){this.Debug.ShowErrorMessage(R,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(N){return new(N||A)(a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(l.ConstProvider),a.\u0275\u0275directiveInject(g.ToolsProvider),a.\u0275\u0275directiveInject(b.DatabaseChangelogService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:A,selectors:[["fi-changelog-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Version",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Beschreibung",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Datum",3,"Value","Enabled"],["size","12"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(N,I){1&N&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(O){return I.ContentClicked(O)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(O){return I.ContentClicked(O)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,M,16,10,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return I.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===I.Valid?I.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&N&&(a.\u0275\u0275styleProp("z-index",I.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",I.Displayservice.ShowOpacity(I.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",I.Dialogbreite,"px")("height",I.Dialoghoehe,"px")("top",I.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",I.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(I.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",I.DB.CurrentChangelog),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===I.Valid?"weiss":"grau"))},dependencies:[_.NgIf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonIcon,S.IonRow,S.IonText,y.InputCloneComponent,m.PageHeaderComponent,h.CheckboxClonComponent,C.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #354547;border-right:3px solid #354547;width:100%;height:100%;display:flex;flex-direction:row}"]})}return A})()},12095:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiChangelogEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(33780),a=o(61540),e=o(6512),c=o(70216),l=o(7388),g=o(90520),b=n.__importStar(o(54496));f.FiChangelogEditorModule=(()=>{class S{static \u0275fac=function(h){return new(h||S)};static \u0275mod=b.\u0275\u0275defineNgModule({type:S});static \u0275inj=b.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.InputCloneModule,a.InputCloneKeeperModule,e.AbstandElementFixedModule,c.PageHeaderModule,l.CheckboxClonModule,g.PageFooterModule]})}return S})()},80887:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterAuswahlComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),u=n.__importStar(o(54496)),a=n.__importStar(o(14652)),e=n.__importStar(o(34388)),c=n.__importStar(o(19668)),l=n.__importStar(o(58864)),g=n.__importStar(o(29743)),b=n.__importStar(o(21052)),_=n.__importStar(o(7992)),S=["SmallAlphabet"];function y(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()()()),2&T){const N=u.\u0275\u0275nextContext().index,I=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(I.Mitarbeiterbuchstabenliste[N])}}function m(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate3(" ",N.Name," ",N.Vorname," / ",N.Kuerzel," ")}}function h(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"td")(1,"span"),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"span",34),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"span"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275text(7),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Text_A),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Text_B),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Text_C),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" / ",N.Kuerzel," ")}}function C(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),u.\u0275\u0275listener("CheckChanged",function(L){u.\u0275\u0275restoreView(N);const O=u.\u0275\u0275nextContext(3);return u.\u0275\u0275resetView(O.CheckedChanged(L))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(4,m,2,3,"td",11)(5,h,8,4,"td",11),u.\u0275\u0275elementEnd()()}if(2&T){const N=u.\u0275\u0275nextContext(),I=N.index,L=N.$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275property("Index",I)("Checked",L.Selected),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!L.Filtered),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",L.Filtered)}}function v(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-item",22),u.\u0275\u0275listener("click",function(){const O=u.\u0275\u0275restoreView(N).$implicit,z=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(z.MitrabeiterButtonClicked(O))}),u.\u0275\u0275elementStart(1,"ion-grid",23),u.\u0275\u0275template(2,y,5,1,"ion-row",11),u.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),u.\u0275\u0275template(9,C,6,4,"table",26),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),u.\u0275\u0275element(14,"td",28),u.\u0275\u0275elementStart(15,"td",29),u.\u0275\u0275text(16,"Stadort:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(17,"td"),u.\u0275\u0275text(18),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(19,"td",30),u.\u0275\u0275elementEnd()()()()()()()()()()}if(2&T){const N=R.$implicit,I=R.index,L=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",""!==L.Mitarbeiterbuchstabenliste[I]),u.\u0275\u0275advance(7),u.\u0275\u0275property("ngIf",null!==N),u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(L.DBStandort.GetStandort(N.StandortID))}}function M(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"ion-list"),u.\u0275\u0275template(1,v,20,3,"ion-item",21),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",N.Anzeigeliste)}}function E(T,R){1&T&&(u.\u0275\u0275elementStart(0,"div",35),u.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),u.\u0275\u0275elementEnd())}f.FiMitarbeiterAuswahlComponent=(()=>{class T{Basics;Debug;Tools;DBStandort;Const;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;StandortfilterClickedEvent=new i.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(N,I,L,O,z,F,q){this.Basics=N,this.Debug=I,this.Tools=L,this.DBStandort=O,this.Const=z,this.Displayservice=F,this.Pool=q;try{this.AuswahlIDliste=[],this.Mitarbeiterbuchstabenliste=[],this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiteralphabet=this.Standardalphabet,this.Alphapetbreite=44,this.Mitarbeiterfiltertext="",this.Multiselect=!1,this.Titel=this.Const.NONE,this.Iconname="people-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=3e3,this.Mitarbeiterliste=[],this.FilterSubscription=null,this.OnlyProjektmitarbeiter=!0}catch(X){this.Debug.ShowErrorMessage(X.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=d.cloneDeep(this.AuswahlIDliste),this.Alphabetcomponent&&this.Alphabetcomponent.InitScreen(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl,this.ZIndex),this.FilterSubscription=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let N,I,L,O,z,F,q,X,ce,K,ne,Y;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=d.cloneDeep(this.Pool.Mitarbeiterliste)),N=d.cloneDeep(this.Mitarbeiterliste),N=d.filter(N,H=>!1===H.Archiviert),N.sort((H,ae)=>H.Nameae.Name?1:0),null!==this.DBStandort.CurrentStandortfilter){I=d.cloneDeep(N),N=[];for(let H of I)H.StandortID===this.DBStandort.CurrentStandortfilter._id&&N.push(H)}if(N.length>6){this.Mitarbeiteralphabet=["Alle"];for(let H of N)L=H.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(L)&&this.Mitarbeiteralphabet.push(L)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){I=d.cloneDeep(N),N=[];for(let H of I)L=H.Name.substring(0,1).toUpperCase(),L="\xc4"===L?"A":L,L="\xd6"===L?"O":L,L="\xdc"===L?"U":L,this.Mitarbeiteralphabetauswahl===L&&N.push(H)}if(""!==this.Mitarbeiterfiltertext){I=d.cloneDeep(N),N=[];for(let H of I)K=this.Mitarbeiterfiltertext.toLowerCase(),ne=H.Name.toLowerCase(),ce=ne.indexOf(K),-1!==ce&&(O=H.Name.length,X=K.length,z=H.Name.substr(0,ce),F=H.Name.substr(ce,X),X=O-X-ce,q=H.Name.substr(O-X,X),H.Filtered=!0,H.Text_A=z,H.Text_B=F,H.Text_C=q,N.push(H))}this.Mitarbeiterbuchstabenliste=[];for(let H of N)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(H));for(Y of N)Y.Selected=!1;for(let H of this.AuswahlIDliste)Y=d.find(N,{_id:H}),d.isUndefined(Y)||(Y.Selected=!0);this.Anzeigeliste=d.cloneDeep(N)}}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(N){try{let I=N.Name.substring(0,1).toUpperCase();return I!==this.Lastletter?(this.Lastletter=I,I):""}catch(I){this.Debug.ShowErrorMessage(I.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(N){}AlphabetClicked(N){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=N,this.PrepareDaten()}catch(I){this.Debug.ShowErrorMessage(I.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(N){try{let I;if(!1===this.Multiselect){for(I of this.Mitarbeiterliste)I.Selected=!1;for(I of this.Anzeigeliste)I.Selected=!1}I=d.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[N.index]._id}),d.isUndefined(I)||(I.Selected=N.status,!0===N.status?this.AuswahlIDliste.push(I._id):this.AuswahlIDliste=d.filter(this.AuswahlIDliste,L=>L!==I._id)),this.Anzeigeliste[N.index].Selected=N.status}catch(I){this.Debug.ShowErrorMessage(I.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=d.cloneDeep(this.AuswahlIDListeSicherung)}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(N){N.preventDefault(),N.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","StandortfilterButtonClicked",this.Debug.Typen.Component)}}GetStandortfiller(){try{return null===this.DBStandort.CurrentStandortfilter?"kein Standortfilter":this.DBStandort.CurrentStandortfilter.Kuerzel+" / "+this.DBStandort.CurrentStandortfilter.Standort}catch(N){this.Debug.ShowErrorMessage(N.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(I){return new(I||T)(u.\u0275\u0275directiveInject(a.BasicsProvider),u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(c.ToolsProvider),u.\u0275\u0275directiveInject(l.DatabaseStandorteService),u.\u0275\u0275directiveInject(g.ConstProvider),u.\u0275\u0275directiveInject(b.DisplayService),u.\u0275\u0275directiveInject(_.DatabasePoolService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:T,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(I,L){if(1&I&&u.\u0275\u0275viewQuery(S,7),2&I){let O;u.\u0275\u0275queryRefresh(O=u.\u0275\u0275loadQuery())&&(L.Alphabetcomponent=O.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter"},outputs:{OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent",StandortfilterClickedEvent:"StandortfilterClickedEvent"},decls:36,vars:20,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],[2,"width","4px"],["color","weiss",3,"name"],["colspan","3"],["size","small","color","grau",3,"click"],["name","funnel-outline"],[1,"innerkeeperclass"],[1,"innerkeeperlisteclass"],[4,"ngIf"],["class","emptymessageclass",4,"ngIf"],[1,"innerkeeperalphabetclass"],[3,"Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["SmallAlphabet",""],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["color","weiss","name","checkmark-outline",2,"font-size","28px"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","28px"],[1,"ergonametextclass"],[2,"width","20px"],["color","orange"],["cellspacing","0","cellpadding","0"],[3,"Index","Checked","CheckChanged"],[2,"color","green"],[1,"emptymessageclass"]],template:function(I,L){1&I&&(u.\u0275\u0275elementStart(0,"div",0)(1,"div",1),u.\u0275\u0275listener("click",function(z){return L.ContentClicked(z)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275listener("click",function(z){return L.ContentClicked(z)}),u.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),u.\u0275\u0275element(7,"td",4),u.\u0275\u0275elementStart(8,"td"),u.\u0275\u0275element(9,"ion-icon",5),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"td"),u.\u0275\u0275text(11),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),u.\u0275\u0275listener("click",function(){return L.StandortfilterButtonClicked()}),u.\u0275\u0275element(15,"ion-icon",8),u.\u0275\u0275text(16),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),u.\u0275\u0275template(20,M,2,1,"ion-list",11)(21,E,2,0,"div",12),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),u.\u0275\u0275listener("AlphabetClicked",function(z){return L.AlphabetClicked(z)}),u.\u0275\u0275elementEnd()()()(),u.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),u.\u0275\u0275listener("click",function(){return L.CancelButtonClicked()}),u.\u0275\u0275element(31,"ion-icon",18),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(32,"td",19),u.\u0275\u0275elementStart(33,"td")(34,"div",17),u.\u0275\u0275listener("click",function(){return L.OkButtonClicked()}),u.\u0275\u0275element(35,"ion-icon",20),u.\u0275\u0275elementEnd()()()()()()()()()),2&I&&(u.\u0275\u0275styleProp("z-index",L.ZIndex),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",L.Displayservice.ShowOpacity(L.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",L.Dialogbreite,"px")("bottom",L.PositionY,"px")("top",L.PositionY,"px"),u.\u0275\u0275advance(7),u.\u0275\u0275property("name",L.Iconname),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","white"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(L.Titel),u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate1(" ",L.GetStandortfiller()," "),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngIf",L.Mitarbeiterliste&&L.Anzeigeliste.length>0),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",L.Mitarbeiterliste&&0===L.Anzeigeliste.length),u.\u0275\u0275advance(2),u.\u0275\u0275property("Buchstabenliste",L.Mitarbeiteralphabet)("Breite",L.Alphapetbreite)("Auswahl",L.Mitarbeiteralphabetauswahl))},styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}.emptymessageclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding-top:100px}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #354547}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}.innerkeeperlisteclass[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto}.innerkeeperalphabetclass[_ngcontent-%COMP%]{width:44px;height:100%;overflow:auto}"]})}return T})()},26668:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterAuswahlModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(33780),a=o(61540),e=o(6512),c=o(7388),l=o(80887),g=o(87143),b=o(72160),_=o(70216),S=o(90520),y=n.__importStar(o(54496)),m=n.__importStar(o(91368)),h=n.__importStar(o(10716)),C=n.__importStar(o(25856)),v=n.__importStar(o(1215)),M=n.__importStar(o(90212)),E=n.__importStar(o(29856));f.FiMitarbeiterAuswahlModule=(()=>{class T{static \u0275fac=function(I){return new(I||T)};static \u0275mod=y.\u0275\u0275defineNgModule({type:T});static \u0275inj=y.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.InputCloneModule,a.InputCloneKeeperModule,e.AbstandElementFixedModule,c.CheckboxClonModule,g.AlphabetModule,b.AlphabetRelativeModule,_.PageHeaderModule,S.PageFooterModule]})}return T})(),y.\u0275\u0275setComponentScope(l.FiMitarbeiterAuswahlComponent,[m.NgForOf,m.NgIf,h.IonButton,h.IonCol,h.IonContent,h.IonFooter,h.IonGrid,h.IonHeader,h.IonIcon,h.IonItem,h.IonList,h.IonRow,h.IonText,C.CheckboxClonComponent,v.AlphabetRelativeComponent,M.PageHeaderComponent,E.PageFooterComponent],[])},82384:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterEditorComponent=void 0;const i=o(81316),d=o(54496),u=i.__importStar(o(78776)),a=i.__importStar(o(17964)),e=i.__importStar(o(54496)),c=i.__importStar(o(34388)),l=i.__importStar(o(19668)),g=i.__importStar(o(7992)),b=i.__importStar(o(29743)),_=i.__importStar(o(14652)),S=i.__importStar(o(21052)),y=i.__importStar(o(58864)),m=i.__importStar(o(9544)),h=i.__importStar(o(22848));function C(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",31)(3,"tr")(4,"td")(5,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.PlaneradministratorCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Administrator"),e.\u0275\u0275elementEnd()()()()()}if(2&X){const K=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Enabled",!0===K.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",K.DB.CurrentMitarbeiter.Planeradministrator)}}function v(X,ce){if(1&X&&(e.\u0275\u0275elementStart(0,"td",37),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&X){const K=ce.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(K.Ort)}}function M(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(H.UrlaubsfreigabeChanged(Y))}),e.\u0275\u0275elementEnd()()}if(2&X){const K=ce.$implicit,ne=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",ne.DB.CurrentMitarbeiter.Urlaubsfreigaben)("Value",K._id)("Checked",ne.UrlaubsfreigabeChecked(K._id))}}function E(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(H.HomeofficefreigabeChanged(Y))}),e.\u0275\u0275elementEnd()()}if(2&X){const K=ce.$implicit,ne=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",ne.DB.CurrentMitarbeiter.Homeofficefreigaben)("Value",K._id)("Checked",ne.HomeofficefreigabeChecked(K._id))}}function A(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",33),e.\u0275\u0275element(3,"td",34),e.\u0275\u0275template(4,v,2,1,"td",35),e.\u0275\u0275elementStart(5,"tr")(6,"td")(7,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.UrlaubsfreigabenCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Urlaub Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,M,2,3,"td",36),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.HomeofficefreigabenCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td"),e.\u0275\u0275text(15,"Homeoffice Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(16,E,2,3,"td",36),e.\u0275\u0275elementEnd()()()()}if(2&X){const K=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",K.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===K.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",K.DB.CurrentMitarbeiter.Urlaubsfreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",K.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===K.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",K.DB.CurrentMitarbeiter.Homeofficefreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",K.Pool.Standorteliste)}}function T(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",40),e.\u0275\u0275listener("CheckChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(H.ArchivierenCheckboxChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(6,"td",41),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Eintrag archivieren"),e.\u0275\u0275elementEnd()()()()()}if(2&X){const K=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Checked",K.DB.CurrentMitarbeiter.Archiviert)}}function R(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",18)(4,"b"),e.\u0275\u0275text(5,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",19)(8,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.AnredeClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",21)(11,"input-clone",22),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Vorname,Y)||(H.DB.CurrentMitarbeiter.Vorname=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"ion-col",21)(13,"input-clone",23),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Name,Y)||(H.DB.CurrentMitarbeiter.Name=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",21)(16,"input-clone",24),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Kuerzel,Y)||(H.DB.CurrentMitarbeiter.Kuerzel=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"ion-col",21)(18,"input-clone",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.PositionClicked())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",21)(21,"input-clone",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.StandortClicked())})("TextChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(22,"ion-col",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"ion-row")(24,"ion-col",21)(25,"input-clone",27),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Email,Y)||(H.DB.CurrentMitarbeiter.Email=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.TextChanged(Y))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(26,"ion-row")(27,"ion-col")(28,"ion-text",18)(29,"b"),e.\u0275\u0275text(30,"Kontakt"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"ion-row")(32,"ion-col",21)(33,"input-clone",28),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Telefon,Y)||(H.DB.CurrentMitarbeiter.Telefon=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-col",21)(35,"input-clone",29),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentMitarbeiter.Mobil,Y)||(H.DB.CurrentMitarbeiter.Mobil=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(36,"ion-row"),e.\u0275\u0275element(37,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"ion-row")(39,"ion-col")(40,"ion-text",18)(41,"b"),e.\u0275\u0275text(42,"Urlaub"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(43,"ion-row")(44,"ion-col",19)(45,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.UrlaubClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col",19)(48,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.ResturlaubEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(49,C,8,2,"ion-row",12)(50,A,17,7,"ion-row",12),e.\u0275\u0275elementStart(51,"ion-row"),e.\u0275\u0275element(52,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"ion-row")(54,"ion-col")(55,"ion-text",18)(56,"b"),e.\u0275\u0275text(57,"Sonstiges"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(58,T,9,1,"ion-row",12),e.\u0275\u0275elementEnd()}if(2&X){const K=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275property("Buttontext","Anrede")("Wert_A",K.GetAnrede()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentMitarbeiter.Vorname),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentMitarbeiter.Name),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentMitarbeiter.Kuerzel),e.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),e.\u0275\u0275advance(),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",K.DB.GetPositionsbezeichnung(K.DB.CurrentMitarbeiter.PositionID))("DisabledColor","gray"),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==K.DB.CurrentMitarbeiter.StandortID?K.Basics.Farben.Burnicklgrau:K.Basics.Farben.Orange)("Value",K.StandortDB.GetStandort(K.DB.CurrentMitarbeiter.StandortID)),e.\u0275\u0275advance(),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentMitarbeiter.Email),e.\u0275\u0275property("Enabled",K.EmailinputEnabled),e.\u0275\u0275advance(7),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentMitarbeiter.Telefon),e.\u0275\u0275advance(),e.\u0275\u0275property("size",K.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentMitarbeiter.Mobil),e.\u0275\u0275advance(10),e.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",K.DB.CurrentMitarbeiter.Urlaub+" Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub")("Wert_A",K.DB.CurrentMitarbeiter.Resturlaub.toString()),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==K.DB.CurrentMitarbeiter._id&&null!==K.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==K.DB.CurrentMitarbeiter._id&&null!==K.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",null!==K.DB.CurrentMitarbeiter._id)}}function N(X,ce){if(1&X&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,R,59,43,"ion-grid",12),e.\u0275\u0275elementContainerEnd()),2&X){const K=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",K.DB.CurrentMitarbeiter)}}function I(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-item",44),e.\u0275\u0275listener("click",function(){const H=e.\u0275\u0275restoreView(K).$implicit,ae=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ae.PositionButtonClicked(H))}),e.\u0275\u0275elementStart(1,"table",31)(2,"tr")(3,"td")(4,"div",45),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()}if(2&X){const K=ce.$implicit;e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(K.Bezeichnung)}}function L(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"ion-button",46),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.NeuePositionButtonClicked())}),e.\u0275\u0275text(3,"Neue Position eintragen"),e.\u0275\u0275elementEnd()()()}}function O(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",47)(2,"input-clone",48),e.\u0275\u0275twoWayListener("ValueChange",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(H.DB.CurrentPosition.Bezeichnung,Y)||(H.DB.CurrentPosition.Bezeichnung=Y),e.\u0275\u0275resetView(Y)}),e.\u0275\u0275listener("TextChanged",function(Y){e.\u0275\u0275restoreView(K);const H=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(H.NewPositionTextChanged(Y))}),e.\u0275\u0275elementEnd()()()}if(2&X){const K=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("Value",K.DB.CurrentPosition.Bezeichnung),e.\u0275\u0275property("Required",!0)("MaxLength",200)("Titel",K.AddNewPosition?"Neue Position":"Position bearbeiten")}}function z(X,ce){if(1&X){const K=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",31)(3,"tr")(4,"td")(5,"ion-button",49),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.PositionCancelButtonClicked())}),e.\u0275\u0275element(6,"ion-icon",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td")(8,"ion-button",51),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(K);const Y=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Y.PositionOkButtonClicked())}),e.\u0275\u0275element(9,"ion-icon",52),e.\u0275\u0275elementEnd()()()()()()}}function F(X,ce){if(1&X&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",16)(2,"tr")(3,"td",42)(4,"ion-list"),e.\u0275\u0275template(5,I,6,1,"ion-item",43),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td",42)(7,"table",31),e.\u0275\u0275template(8,L,4,0,"tr",12)(9,O,3,4,"tr",12)(10,z,10,0,"tr",12),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()),2&X){const K=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",K.Pool.Mitarbeiterpositionenliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===K.AddNewPosition&&!1===K.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===K.AddNewPosition||!0===K.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",K.AddNewPosition||!0===K.EditPosition)}}f.FiMitarbeiterEditorComponent=(()=>{class X{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;UrlaubDB;DB;Valid;ValidChanged=new d.EventEmitter;StandortClickedEvent=new d.EventEmitter;AnredeClickedEvent=new d.EventEmitter;UrlaubClickedEvent=new d.EventEmitter;PositionClickedEvent=new d.EventEmitter;CancelClickedEvent=new d.EventEmitter;OkClickedEvent=new d.EventEmitter;ErrorEvent=new d.EventEmitter;ResturlaubEvent=new d.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;Bereich;AddNewPosition;EditPosition;Bereiche={Allgemein:"Allgemein",Positionen:"Positionen"};constructor(K,ne,Y,H,ae,re,W,ee,J){this.Debug=K,this.Tools=ne,this.Pool=Y,this.Const=H,this.Basics=ae,this.Displayservice=re,this.StandortDB=W,this.UrlaubDB=ee,this.DB=J;try{this.Valid=!0,this.DeleteEnabled=!1,this.Titel=this.Const.NONE,this.Iconname="help-circle-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=2e3,this.SkipOkButtonAction=!1,this.EmailinputEnabled=!0,this.Teamsliste=[],this.ErrorMessage=null,this.AddNewPosition=!1,this.EditPosition=!1,this.Bereich=this.Bereiche.Allgemein}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=u.object({Name:u.string().required().max(100),Vorname:u.string().required().max(100),Kuerzel:u.string().required().min(3).max(10),Jobtitel:u.string().required().min(3).max(100),Email:u.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","SetupValidation",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentMitarbeiter).error,""===this.DB.CurrentMitarbeiter.StandortID&&(this.Valid=!1),this.ValidChanged.emit(this.Valid)}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(K){try{this.ValidateInput()}catch(ne){this.Debug.ShowErrorMessage(ne.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(K){this.Debug.ShowErrorMessage(K.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(K){try{this.DeleteEnabled=K.status}catch(ne){this.Debug.ShowErrorMessage(ne.message,"Mitarbeiter Editor","LoeschenCheckboxChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.ResetEditor(),this.CancelClickedEvent.emit()}OkButtonClicked(){this.SkipOkButtonAction?this.OkClickedEvent.emit():null===this.DB.CurrentMitarbeiter._id?this.DB.AddMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(K=>{this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(K=>{this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(K){K.preventDefault(),K.stopPropagation()}ArchivierenCheckboxChanged(K){try{this.DB.CurrentMitarbeiter.Archiviert=K.status}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(K){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=K.status,!1===K.status&&(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=[])}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(K){try{this.DB.CurrentMitarbeiter.Planeradministrator=K.status}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(K){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=K.status,!1===K.status&&(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=[])}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","UrlaubsfreigabenCheckboxChanged",this.Debug.Typen.Component)}}GetAnrede(){try{return null!==this.DB.CurrentMitarbeiter?this.DB.CurrentMitarbeiter.Anrede===this.Const.NONE?"unbekannt":this.DB.CurrentMitarbeiter.Anrede:"null"}catch(K){this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(K){try{return-1!==a.indexOf(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,K)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Page)}}UrlaubsfreigabeChanged(K){try{!0===K.status?this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte.push(K.value):this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=a.filter(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,ne=>ne!==K.value)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","UrlaubsfreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChanged(K){try{!0===K.status?this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte.push(K.value):this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=a.filter(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,ne=>ne!==K.value)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","HomeofficefreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(K){try{return-1!==a.indexOf(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,K)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}AllgemeinMenuButtonClicked(){try{this.Bereich=this.Bereiche.Allgemein}catch(K){this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","AllgemeinMenuButtonClicked",this.Debug.Typen.Component)}}PositionenMenuButtonClicked(){try{this.Bereich=this.Bereiche.Positionen}catch(K){this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","PositionenMenuButtonClicked",this.Debug.Typen.Component)}}NeuePositionButtonClicked(){try{this.AddNewPosition=!0,this.DB.CurrentPosition=this.DB.GetEmptyMitarbeiterposition()}catch(K){this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","NeuePositionButtonClicked",this.Debug.Typen.Component)}}NewPositionTextChanged(K){try{this.DB.CurrentPosition.Bezeichnung=K.Text}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","NewPositionTextChanged",this.Debug.Typen.Component)}}PositionOkButtonClicked(){var K=this;return n(function*(){try{K.AddNewPosition&&(yield K.DB.AddMitarbeiterposition(K.DB.CurrentPosition),K.AddNewPosition=!1,K.DB.CurrentPosition=null),K.EditPosition&&(yield K.DB.UpdateMitarbeiterposition(K.DB.CurrentPosition),K.EditPosition=!1,K.DB.CurrentPosition=null)}catch(ne){K.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","PositionOkButtonClicked",K.Debug.Typen.Component)}})()}PositionCancelButtonClicked(){try{this.AddNewPosition&&(this.AddNewPosition=!1,this.DB.CurrentPosition=null)}catch(K){this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","PositionCancelButtonClicked",this.Debug.Typen.Component)}}PositionButtonClicked(K){try{!this.EditPosition&&!this.AddNewPosition&&(this.DB.CurrentPosition=a.cloneDeep(K),this.EditPosition=!0)}catch(ne){this.Debug.ShowErrorMessage(ne,"Mitarbeiter Editor","PositionButtonClicked",this.Debug.Typen.Component)}}PositionClicked(){try{this.PositionClickedEvent.emit()}catch(K){this.Debug.ShowErrorMessage(K,"Mitarbeiter Editor","PositionClicked",this.Debug.Typen.Component)}}static \u0275fac=function(ne){return new(ne||X)(e.\u0275\u0275directiveInject(c.DebugProvider),e.\u0275\u0275directiveInject(l.ToolsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(_.BasicsProvider),e.\u0275\u0275directiveInject(S.DisplayService),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(m.DatabaseUrlaubService),e.\u0275\u0275directiveInject(h.DatabaseMitarbeiterService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:X,selectors:[["fi-mitarbeiter-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",SkipOkButtonAction:"SkipOkButtonAction",EmailinputEnabled:"EmailinputEnabled"},outputs:{ValidChanged:"ValidChanged",StandortClickedEvent:"StandortClickedEvent",AnredeClickedEvent:"AnredeClickedEvent",UrlaubClickedEvent:"UrlaubClickedEvent",PositionClickedEvent:"PositionClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent",ResturlaubEvent:"ResturlaubEvent"},decls:45,vars:25,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","reader-outline",3,"color"],[2,"width","20px"],["name","briefcase-outline",3,"color"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],[3,"size"],["Titel","Vorname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Name",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Mitarbeiterk\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Possition",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[1,"paddingtable"],[3,"Enabled","Checked","CheckChanged"],["border","1",1,"paddingtable"],["colspan","2"],["style","width: 100px; text-align: center",4,"ngFor","ngForOf"],["align","center",4,"ngFor","ngForOf"],[2,"width","100px","text-align","center"],["align","center"],[3,"Enabled","Value","Checked","CheckChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],["valign","top",2,"width","50%"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"positionclass"],["color","grau","size","small",3,"click"],[2,"width","400px"],[3,"Value","Required","MaxLength","Titel","ValueChange","TextChanged"],["color","rot","size","small",3,"click"],["name","close-outline"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"]],template:function(ne,Y){1&ne&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275listener("click",function(ae){return Y.ContentClicked(ae)}),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275listener("click",function(ae){return Y.ContentClicked(ae)}),e.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",5),e.\u0275\u0275element(12,"div",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td")(14,"div",7),e.\u0275\u0275listener("click",function(){return Y.AllgemeinMenuButtonClicked()}),e.\u0275\u0275elementStart(15,"table",3)(16,"tr")(17,"td"),e.\u0275\u0275element(18,"ion-icon",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"td"),e.\u0275\u0275text(20,"Allgemein"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(21,"td",9),e.\u0275\u0275elementStart(22,"td")(23,"div",7),e.\u0275\u0275listener("click",function(){return Y.PositionenMenuButtonClicked()}),e.\u0275\u0275elementStart(24,"table",3)(25,"tr")(26,"td"),e.\u0275\u0275element(27,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"td"),e.\u0275\u0275text(29,"Positionen"),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275elementStart(30,"ion-content")(31,"div",11),e.\u0275\u0275template(32,N,2,1,"ng-container",12)(33,F,11,4,"ng-container",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-footer")(35,"page-footer")(36,"table",13)(37,"tr")(38,"td")(39,"div",14),e.\u0275\u0275listener("click",function(){return Y.CancelButtonClicked()}),e.\u0275\u0275element(40,"ion-icon",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(41,"td",16),e.\u0275\u0275elementStart(42,"td")(43,"div",14),e.\u0275\u0275listener("click",function(){return!0===Y.Valid?Y.OkButtonClicked():null}),e.\u0275\u0275element(44,"ion-icon",17),e.\u0275\u0275elementEnd()()()()()()()()()),2&ne&&(e.\u0275\u0275styleProp("z-index",Y.ZIndex),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",Y.Displayservice.ShowOpacity(Y.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("width",Y.Dialogbreite,"px")("top",Y.PositionY,"px")("bottom",Y.PositionY,"px")("top",Y.PositionY,"px"),e.\u0275\u0275advance(6),e.\u0275\u0275property("name",Y.Iconname),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","white"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Y.Titel),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Y.Bereich===Y.Bereiche.Allgemein?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Y.Bereich===Y.Bereiche.Allgemein?"#000000":"white"),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Y.Bereich===Y.Bereiche.Positionen?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Y.Bereich===Y.Bereiche.Positionen?"#000000":"white"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",Y.Bereich===Y.Bereiche.Allgemein),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Y.Bereich===Y.Bereiche.Positionen),e.\u0275\u0275advance(11),e.\u0275\u0275property("color",!0===Y.Valid?"weiss":"grau"))},styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;width:100%;height:100%;display:flex;flex-direction:row}.menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.trennertdclass[_ngcontent-%COMP%]{width:30px}.positionclass[_ngcontent-%COMP%]{background:#fff;height:30px;width:300px}.positionclass[_ngcontent-%COMP%]:hover{background:silver}"]})}return X})()},27328:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(82384),a=o(33780),e=o(61540),c=o(6512),l=o(7388),g=o(70216),b=o(90520),_=o(72284),S=n.__importStar(o(54496)),y=n.__importStar(o(91368)),m=n.__importStar(o(10716)),h=n.__importStar(o(38056)),C=n.__importStar(o(25856)),v=n.__importStar(o(90212)),M=n.__importStar(o(29856)),E=n.__importStar(o(13228));f.FiMitarbeiterEditorModule=(()=>{class T{static \u0275fac=function(I){return new(I||T)};static \u0275mod=S.\u0275\u0275defineNgModule({type:T});static \u0275inj=S.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,e.InputCloneKeeperModule,c.AbstandElementFixedModule,l.CheckboxClonModule,g.PageHeaderModule,b.PageFooterModule,_.ButtonValueModule]})}return T})(),S.\u0275\u0275setComponentScope(u.FiMitarbeiterEditorComponent,[y.NgForOf,y.NgIf,m.IonButton,m.IonCol,m.IonContent,m.IonFooter,m.IonGrid,m.IonHeader,m.IonIcon,m.IonItem,m.IonList,m.IonRow,m.IonText,h.InputCloneComponent,C.CheckboxClonComponent,v.PageHeaderComponent,M.PageFooterComponent,E.ButtonValueComponent],[])},41656:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),u=n.__importStar(o(17964)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(21052)),l=n.__importStar(o(29743)),g=n.__importStar(o(19668)),b=n.__importStar(o(7992)),_=n.__importStar(o(9544)),S=n.__importStar(o(22848)),y=n.__importStar(o(58864)),m=n.__importStar(o(91368)),h=n.__importStar(o(10716)),C=n.__importStar(o(38056)),v=n.__importStar(o(90212)),M=n.__importStar(o(25856)),E=n.__importStar(o(29856)),A=n.__importStar(o(13228));function T(F,q){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-col",18)(1,"button-value",19),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(X);const K=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(K.BundeslandClickedEvent.emit())}),a.\u0275\u0275elementEnd()()}if(2&F){const X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",X.GetBundesland())}}function R(F,q){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",18)(2,"button-value",19),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(X);const K=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(K.KonfessionClickedEvent.emit())}),a.\u0275\u0275elementEnd()()()}if(2&F){const X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("Buttontext","Konfession")("Wert_A",X.GetKonfession())}}function N(F,q){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(K){const Y=a.\u0275\u0275restoreView(X).$implicit,H=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(H.UrlaubsfreigabeCheckChanged(K,Y._id))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(3,"td",29),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()}if(2&F){const X=q.$implicit,ce=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("Enabled",ce.Pool.Mitarbeiterdaten.Planeradministrator)("Value",X._id)("Checked",ce.UrlaubsfreigabeChecked(X._id)),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,"")}}function I(F,q){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(K){const Y=a.\u0275\u0275restoreView(X).$implicit,H=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(H.HomeofficefreigabeCheckChanged(K,Y._id))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(3,"td",29),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()}if(2&F){const X=q.$implicit,ce=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("Enabled",ce.Pool.Mitarbeiterdaten.Planeradministrator)("Value",X._id)("Checked",ce.HomeofficefreigabeChecked(X._id)),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,"")}}function L(F,q){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",30),a.\u0275\u0275listener("CheckChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ne.CanDeleteCheckedChanged(K))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",31),a.\u0275\u0275elementStart(7,"td")(8,"ion-button",32),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(X);const K=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(K.DeleteButtonClicked())}),a.\u0275\u0275element(9,"ion-icon",33),a.\u0275\u0275elementStart(10,"ion-text"),a.\u0275\u0275text(11,"Eintrag l\xf6schen"),a.\u0275\u0275elementEnd()()()()()()()}if(2&F){const X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",X.CanDelete),a.\u0275\u0275advance(3),a.\u0275\u0275property("disabled",!X.CanDelete)}}function O(F,q){if(1&F){const X=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),a.\u0275\u0275text(5,"Allgemein"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",13),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Standort,K)||(ne.DB.CurrentStandort.Standort=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(9,"ion-col")(10,"input-clone",14),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Kuerzel,K)||(ne.DB.CurrentStandort.Kuerzel=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col")(13,"input-clone",15),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Strasse,K)||(ne.DB.CurrentStandort.Strasse=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(14,"ion-col"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"input-clone",16),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.PLZ,K)||(ne.DB.CurrentStandort.PLZ=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(18,"ion-col")(19,"input-clone",17),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Ort,K)||(ne.DB.CurrentStandort.Ort=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",18)(22,"button-value",19),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(X);const K=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(K.LandClickedEvent.emit())}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(23,T,2,2,"ion-col",20),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(24,R,3,2,"ion-row",6),a.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",12)(28,"b"),a.\u0275\u0275text(29,"Kontakt"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col")(32,"input-clone",21),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Telefon,K)||(ne.DB.CurrentStandort.Telefon=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(33,"ion-col")(34,"input-clone",22),a.\u0275\u0275twoWayListener("ValueChange",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ne.DB.CurrentStandort.Email,K)||(ne.DB.CurrentStandort.Email=K),a.\u0275\u0275resetView(K)}),a.\u0275\u0275listener("TextChanged",function(K){a.\u0275\u0275restoreView(X);const ne=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ne.TextChanged(K))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col")(37,"ion-text",12)(38,"b"),a.\u0275\u0275text(39,"Urlaub + Homeoffice"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(40,"ion-row")(41,"ion-col")(42,"table",23)(43,"tr")(44,"td"),a.\u0275\u0275text(45,"Mitarbeiter/inen die die Homeoffice- und Urlaubsanfragen f\xfcr den Standort freigeben k\xf6nnen:"),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col")(48,"table",3)(49,"tr")(50,"td"),a.\u0275\u0275element(51,"ion-icon",24),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(52,"td",25),a.\u0275\u0275text(53,"Urlaubsfreigaben"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(54,"ion-col")(55,"table",3)(56,"tr")(57,"td"),a.\u0275\u0275element(58,"ion-icon",26),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(59,"td",25),a.\u0275\u0275text(60,"Homeofficefreigaben"),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(61,"ion-row")(62,"ion-col")(63,"table",3),a.\u0275\u0275template(64,N,5,5,"tr",27),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(65,"ion-col")(66,"table",3),a.\u0275\u0275template(67,I,5,5,"tr",27),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(68,L,12,2,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&F){const X=a.\u0275\u0275nextContext();a.\u0275\u0275advance(8),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Standort),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Kuerzel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),a.\u0275\u0275advance(3),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Strasse),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(4),a.\u0275\u0275property("Required",!0)("MinLength",4)("MaxLength",5),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.PLZ),a.\u0275\u0275advance(2),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Ort),a.\u0275\u0275advance(3),a.\u0275\u0275property("Buttontext","Land")("Wert_A",X.GetLand()),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf","DE"===X.DB.CurrentStandort.Land),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf","DE"===X.DB.CurrentStandort.Land),a.\u0275\u0275advance(8),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Telefon),a.\u0275\u0275advance(2),a.\u0275\u0275property("MaxLength",255)("Required",!0),a.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Email),a.\u0275\u0275advance(30),a.\u0275\u0275property("ngForOf",X.DBMitarbeiter.GetUrlausbsfreigeberliste(X.DB.CurrentStandort._id)),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngForOf",X.DBMitarbeiter.GetHomeofficefreigeberliste(X.DB.CurrentStandort._id)),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==X.DB.CurrentStandort._id)}}f.FiStandortEditorComponent=(()=>{class F{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DBMitarbeiter;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;LandClickedEvent=new i.EventEmitter;BundeslandClickedEvent=new i.EventEmitter;KonfessionClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(X,ce,K,ne,Y,H,ae,re){this.Debug=X,this.Displayservice=ce,this.Const=K,this.Tools=ne,this.Pool=Y,this.DBUrlaub=H,this.DBMitarbeiter=ae,this.DB=re;try{this.Valid=!0,this.Valid=!0,this.Titel=this.Const.NONE,this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(W){this.Debug.ShowErrorMessage(W.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Standort:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Strasse:d.string().required().max(100),Ort:d.string().required().max(100),PLZ:d.string().required().min(4).max(5),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentStandort).error,(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChange.emit(this.Valid)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(X){try{this.ValidateInput()}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error.message)})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(X=>{this.OkClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error.message)})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(X){X.preventDefault(),X.stopPropagation()}CanDeleteCheckedChanged(X){try{this.CanDelete=X.status}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Standort Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetLand(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Land){case"DE":return"Deutschland";case"BG":return"Bulgarien"}}catch(X){this.Debug.ShowErrorMessage(X,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let X;return null!==this.DB.CurrentStandort?(X=u.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),u.isUndefined(X)?"Unbekannt":X.Name):"Unbekannt"}catch(X){this.Debug.ShowErrorMessage(X,"Standort Editor","funGetBundeslandction",this.Debug.Typen.Component)}}GetKonfession(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Konfession){case"RK":return"Katholisch";case"EV":return"Evangelisch"}}catch(X){this.Debug.ShowErrorMessage(X,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(X){try{return-1!==this.DB.CurrentStandort.Urlaubfreigabepersonen.indexOf(X)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(X){try{return-1!==this.DB.CurrentStandort.Homeofficefreigabepersonen.indexOf(X)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}UrlaubsfreigabeCheckChanged(X,ce){try{!0===X.status?this.DB.CurrentStandort.Urlaubfreigabepersonen.push(ce):this.DB.CurrentStandort.Urlaubfreigabepersonen=u.filter(this.DB.CurrentStandort.Urlaubfreigabepersonen,K=>ce!==K)}catch(K){this.Debug.ShowErrorMessage(K,"Standort Editor","UrlaubsfreigabeCheckChanged",this.Debug.Typen.Component)}}HomeofficefreigabeCheckChanged(X,ce){try{!0===X.status?this.DB.CurrentStandort.Homeofficefreigabepersonen.push(ce):this.DB.CurrentStandort.Homeofficefreigabepersonen=u.filter(this.DB.CurrentStandort.Homeofficefreigabepersonen,K=>ce!==K)}catch(K){this.Debug.ShowErrorMessage(K,"Standort Editor","HomeofficefreigabeCheckChanged",this.Debug.Typen.Component)}}static \u0275fac=function(ce){return new(ce||F)(a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(l.ConstProvider),a.\u0275\u0275directiveInject(g.ToolsProvider),a.\u0275\u0275directiveInject(b.DatabasePoolService),a.\u0275\u0275directiveInject(_.DatabaseUrlaubService),a.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),a.\u0275\u0275directiveInject(y.DatabaseStandorteService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:F,selectors:[["fi-standort-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent",LandClickedEvent:"LandClickedEvent",BundeslandClickedEvent:"BundeslandClickedEvent",KonfessionClickedEvent:"KonfessionClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["Titel","Standortname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","K\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Stra\xdfe",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","PLZ",3,"Required","MinLength","MaxLength","Value","ValueChange","TextChanged"],["Titel","Ort",3,"Required","MaxLength","Value","ValueChange","TextChanged"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","6",4,"ngIf"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[1,"paddingtable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","home","color","blau",2,"font-size","20px"],[4,"ngFor","ngForOf"],[3,"Enabled","Value","Checked","CheckChanged"],[2,"font-size","100%","color","#444444"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(ce,K){1&ce&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(Y){return K.ContentClicked(Y)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(Y){return K.ContentClicked(Y)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,O,69,28,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return K.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===K.Valid?K.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&ce&&(a.\u0275\u0275styleProp("z-index",K.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",K.Displayservice.ShowOpacity(K.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",K.Dialogbreite,"px")("height",K.Dialoghoehe,"px")("top",K.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",K.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(K.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",K.DB.CurrentStandort&&null!==K.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===K.Valid?"weiss":"grau"))},dependencies:[m.NgForOf,m.NgIf,h.IonButton,h.IonCol,h.IonContent,h.IonFooter,h.IonGrid,h.IonHeader,h.IonIcon,h.IonRow,h.IonText,C.InputCloneComponent,v.PageHeaderComponent,M.CheckboxClonComponent,E.PageFooterComponent,A.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #2190df;border-right:3px solid #2190df;width:100%;height:100%;display:flex;flex-direction:row}"]})}return F})()},79664:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(33780),a=o(61540),e=o(6512),c=o(70216),l=o(7388),g=o(90520),b=o(72284),_=n.__importStar(o(54496));f.FiStandortEditorModule=(()=>{class y{static \u0275fac=function(C){return new(C||y)};static \u0275mod=_.\u0275\u0275defineNgModule({type:y});static \u0275inj=_.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.InputCloneModule,a.InputCloneKeeperModule,e.AbstandElementFixedModule,c.PageHeaderModule,l.CheckboxClonModule,g.PageFooterModule,b.ButtonValueModule]})}return y})()},73088:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AbstandElementFixedComponent=void 0;const i=o(81316).__importStar(o(54496));f.AbstandElementFixedComponent=(()=>{class u{constructor(){}ngOnInit(){}static \u0275fac=function(c){return new(c||u)};static \u0275cmp=i.\u0275\u0275defineComponent({type:u,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(c,l){1&c&&i.\u0275\u0275element(0,"div",0)}})}return u})()},6512:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AbstandElementFixedModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},72160:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetRelativeModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},1215:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetRelativeComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(34388)),a=n.__importStar(o(14652)),e=n.__importStar(o(29743)),c=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=["ImageKeeperDiv"];function _(y,m){if(1&y){const h=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(h).$implicit,E=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(E.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&y){const h=m.$implicit,C=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",C.Basics.Farben.BAEBlau)("border-color",h===C.Auswahl?C.Basics.Farben.BAEBlau:C.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",h," ")}}f.AlphabetRelativeComponent=(()=>{class y{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(h,C,v,M){this.Debug=h,this.Basics=C,this.Const=v,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(E){this.Debug.ShowErrorMessage(E.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{this.Style={width:this.Breite+"px",top:"0px",bottom:"0px",background:this.Basics.Farben.BAEHellgrau,display:"flex","flex-direction":"column","justify-content":"center"}}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(h){try{this.AlphabetClicked.emit(h),this.Auswahl=h}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(h){try{let C;C=h.Buchstabenliste,typeof C<"u"&&this.SetFilterliste(),C=h.Breite,typeof C<"u"&&this.InitScreen()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||y)(d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(c.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["alphabet-relative"]],viewQuery:function(C,v){if(1&C&&d.\u0275\u0275viewQuery(b,7),2&C){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(v.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(C,v){1&C&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,_,3,5,"div",1),d.\u0275\u0275elementEnd()),2&C&&(d.\u0275\u0275property("ngStyle",v.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.Filterliste))},dependencies:[l.NgForOf,l.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return y})()},87143:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.AlphabetModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},99031:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlphabetComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(34388)),a=n.__importStar(o(14652)),e=n.__importStar(o(29743)),c=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=["ImageKeeperDiv"];function _(y,m){if(1&y){const h=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(h).$implicit,E=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(E.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&y){const h=m.$implicit,C=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color","#2190df")("border-color",h===C.Auswahl?"#2190df":C.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",h," ")}}f.AlphabetComponent=(()=>{class y{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(h,C,v,M){this.Debug=h,this.Basics=C,this.Const=v,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(E){this.Debug.ShowErrorMessage(E.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let h=0,C=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(h=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(C=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:h+"px",bottom:C+"px",background:this.Basics.Farben.BAEHellgrau}}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(h){try{this.AlphabetClicked.emit(h),this.Auswahl=h}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(h){this.Debug.ShowErrorMessage(h.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(h){try{let C;C=h.Buchstabenliste,typeof C<"u"&&this.SetFilterliste()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||y)(d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(c.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["alphabet"]],viewQuery:function(C,v){if(1&C&&d.\u0275\u0275viewQuery(b,7),2&C){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(v.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(C,v){1&C&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,_,3,5,"div",1),d.\u0275\u0275elementEnd()),2&C&&(d.\u0275\u0275property("ngStyle",v.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.Filterliste))},dependencies:[l.NgForOf,l.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{position:absolute;background:#fff;right:0;width:12vw;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return y})()},10272:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AuswahlDialogModule=void 0;const n=o(81316),i=o(10716),d=o(56584),u=o(91368),a=o(44716),e=o(70216),c=o(90520),l=o(84104),g=n.__importStar(o(54496)),b=n.__importStar(o(10716)),_=n.__importStar(o(91368)),S=n.__importStar(o(90212)),y=n.__importStar(o(29856)),m=n.__importStar(o(66144));f.AuswahlDialogModule=(()=>{class C{static \u0275fac=function(E){return new(E||C)};static \u0275mod=g.\u0275\u0275defineNgModule({type:C});static \u0275inj=g.\u0275\u0275defineInjector({imports:[i.IonicModule,u.CommonModule,a.FormsModule,e.PageHeaderModule,c.PageFooterModule,l.SafePipeModule]})}return C})(),g.\u0275\u0275setComponentScope(d.AuswahlDialogComponent,[b.IonContent,b.IonFooter,b.IonHeader,b.IonIcon,b.IonRadio,b.IonRadioGroup,b.RadioValueAccessor,b.SelectValueAccessor,_.NgForOf,S.PageHeaderComponent,y.PageFooterComponent],[m.SafePipe])},56584:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AuswahlDialogComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),u=n.__importStar(o(54496)),a=n.__importStar(o(19668)),e=n.__importStar(o(14652)),c=n.__importStar(o(34388)),l=n.__importStar(o(21052)),g=n.__importStar(o(29743)),b=["MySelection"];function _(y,m){if(1&y&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275element(2,"ion-radio",15),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(3,"td",16),u.\u0275\u0275pipe(4,"safe"),u.\u0275\u0275element(5,"td",17),u.\u0275\u0275pipe(6,"safe"),u.\u0275\u0275elementEnd()),2&y){const h=m.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("value",h.Index),u.\u0275\u0275advance(),u.\u0275\u0275property("innerHTML",u.\u0275\u0275pipeBind2(4,3,h.FirstColumn,"html"),u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",u.\u0275\u0275pipeBind2(6,6,h.SecoundColumn,"html"),u.\u0275\u0275sanitizeHtml)}}f.AuswahlDialogComponent=(()=>{class y{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;constructor(h,C,v,M,E){this.Tools=h,this.Basics=C,this.Debug=v,this.Displayservice=M,this.Const=E;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(h){this.Debug.ShowErrorMessage(h.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(h){this.Debug.ShowErrorMessage(h.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(h,C,v){try{this.Titel=h,this.Auswahlliste=C,this.Auswahlindex=v}catch(M){this.Debug.ShowErrorMessage(M.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(h,C){try{typeof h<"u"&&!0===h&&(this.Auswahlindex=typeof C<"u"?C:-1),this.MySelection.open()}catch(v){this.Debug.ShowErrorMessage(v.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(h){}IndexChangedHandler(h){try{let C;C=""===h.detail.value||isNaN(h.detail.value)?-1:h.detail.value,this.Auswahlindex=C}catch(C){this.Debug.ShowErrorMessage(C.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){d.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(h){h.preventDefault(),h.stopPropagation()}static \u0275fac=function(C){return new(C||y)(u.\u0275\u0275directiveInject(a.ToolsProvider),u.\u0275\u0275directiveInject(e.BasicsProvider),u.\u0275\u0275directiveInject(c.DebugProvider),u.\u0275\u0275directiveInject(l.DisplayService),u.\u0275\u0275directiveInject(g.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:y,selectors:[["auswahl-dialog"]],viewQuery:function(C,v){if(1&C&&u.\u0275\u0275viewQuery(b,7),2&C){let M;u.\u0275\u0275queryRefresh(M=u.\u0275\u0275loadQuery())&&(v.MySelection=M.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[u.\u0275\u0275NgOnChangesFeature],decls:31,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"innerkeeperclass"],[3,"value","ionChange"],[1,"paddingtable"],["colspan","3",2,"height","6px"],[4,"ngFor","ngForOf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","32px"],[2,"width","100%"],["color","weiss","name","save-outline",2,"font-size","28px"],["mode","md",3,"value"],[2,"font-weight","bold",3,"innerHTML"],[3,"innerHTML"]],template:function(C,v){1&C&&(u.\u0275\u0275elementStart(0,"div",0)(1,"div",1),u.\u0275\u0275listener("click",function(E){return v.ContentClicked(E)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275listener("click",function(E){return v.ContentClicked(E)}),u.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),u.\u0275\u0275element(8,"ion-icon",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"td"),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),u.\u0275\u0275listener("ionChange",function(E){return v.IndexChangedHandler(E)}),u.\u0275\u0275elementStart(14,"table",7)(15,"tr"),u.\u0275\u0275element(16,"td",8),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(17,_,7,9,"tr",9),u.\u0275\u0275elementStart(18,"tr"),u.\u0275\u0275element(19,"td",8),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),u.\u0275\u0275listener("click",function(){return v.CancelButtonClicked()}),u.\u0275\u0275element(26,"ion-icon",12),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(27,"td",13),u.\u0275\u0275elementStart(28,"td")(29,"div",11),u.\u0275\u0275listener("click",function(){return v.OkButtonClicked()}),u.\u0275\u0275element(30,"ion-icon",14),u.\u0275\u0275elementEnd()()()()()()()()()),2&C&&(u.\u0275\u0275styleProp("z-index",v.ZIndex),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",!0===v.Displayservice.ShowOpacity(v.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",v.Dialogbreite,"px")("bottom",v.PositionY,"px")("top",v.PositionY,"px"),u.\u0275\u0275advance(6),u.\u0275\u0275property("name",v.Iconname),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","white"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(v.Titel),u.\u0275\u0275advance(3),u.\u0275\u0275property("value",v.Auswahlindex),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngForOf",v.Auswahlliste))},styles:[".keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{overflow:auto;width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #2190df;border-right:3px solid #2190df}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}"]})}return y})()},22844:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ButtonValueDateModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},72284:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ButtonValueModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.ButtonValueModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},13228:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ButtonValueComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(14652)),a=n.__importStar(o(34388)),e=n.__importStar(o(19668)),c=n.__importStar(o(29743)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716));function b(y,m){if(1&y&&(d.\u0275\u0275elementStart(0,"table",10)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd()()),2&y){const h=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",h.Wert_A_String,d.\u0275\u0275sanitizeHtml)}}function _(y,m){if(1&y&&(d.\u0275\u0275elementStart(0,"table",12)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"tr"),d.\u0275\u0275element(4,"td",13),d.\u0275\u0275elementEnd()()),2&y){const h=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",h.Wert_A_String,d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",h.Wert_B,d.\u0275\u0275sanitizeHtml)}}f.ButtonValueComponent=(()=>{class y{Basics;Debug;Tools;Const;Buttoncolor;Buttontext;Wert_A;Wert_B;Iconfile;Iconcolor;Enabled;SmallWidth;BigHeight;ShowMargin;Width;ProContent=!1;ProMessage="";Buttonvaluecolor="";Rechtebreite;Linkebreite;ButtonClicked=new i.EventEmitter;DisabledButtonClicked=new i.EventEmitter;RGB;Wert_A_String;constructor(h,C,v,M){this.Basics=h,this.Debug=C,this.Tools=v,this.Const=M;try{this.Width=0,this.ShowMargin=!0,this.BigHeight=!1,this.SmallWidth=!1,this.Buttontext="",this.Wert_A="",this.Wert_B="",this.Iconcolor="red",this.Iconfile="",this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.Enabled=!0,this.Buttonvaluecolor=this.Basics.Farben.Burnicklgrau,this.Linkebreite=40,this.Rechtebreite=60}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(h){try{let C=h.Buttoncolor,v=h.Wert_A;typeof C<"u"&&(C.firstChange||(this.RGB=this.Tools.HexToRGB(C.currentValue))),typeof v<"u"&&typeof v.currentValue<"u"&&"string"==typeof v.currentValue&&(this.Wert_A_String=v.currentValue)}catch(C){this.Debug.ShowErrorMessage(C.message,"Button Value","ngOnChanges",this.Debug.Typen.Component)}}ButtonClickedHandler(){try{!0===this.Enabled?this.ButtonClicked.emit():this.DisabledButtonClicked.emit()}catch(h){this.Debug.ShowErrorMessage(h.message,"Button Value","ButtonClickedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||y)(d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["button-value"]],inputs:{Buttoncolor:"Buttoncolor",Buttontext:"Buttontext",Wert_A:"Wert_A",Wert_B:"Wert_B",Iconfile:"Iconfile",Iconcolor:"Iconcolor",Enabled:"Enabled",SmallWidth:"SmallWidth",BigHeight:"BigHeight",ShowMargin:"ShowMargin",Width:"Width",ProContent:"ProContent",ProMessage:"ProMessage",Buttonvaluecolor:"Buttonvaluecolor",Rechtebreite:"Rechtebreite",Linkebreite:"Linkebreite"},outputs:{ButtonClicked:"ButtonClicked",DisabledButtonClicked:"DisabledButtonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:12,vars:11,consts:[["tappable","",1,"buttonclass",3,"click"],[2,"height","100%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],["cellpadding","0","cellspacing","0",4,"ngIf"],["width","100%",4,"ngIf"],["cellpadding","0","cellspacing","0"],["align","center",3,"innerHTML"],["width","100%"],["align","center",1,"ergotextclass",3,"innerHTML"]],template:function(C,v){1&C&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(){return v.ButtonClickedHandler()}),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),d.\u0275\u0275text(7),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(8,"div",6)(9,"div",7),d.\u0275\u0275template(10,b,3,1,"table",8)(11,_,5,2,"table",9),d.\u0275\u0275elementEnd()()()),2&C&&(d.\u0275\u0275styleProp("background",v.Enabled?v.Buttoncolor:v.Basics.Farben.ButtongrauDisabled),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",v.Linkebreite,"%"),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(v.Buttontext),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",v.Rechtebreite,"%"),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("background",v.Buttonvaluecolor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""===v.Wert_B),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""!==v.Wert_B))},dependencies:[l.NgIf,g.IonText],styles:[".buttonclass[_ngcontent-%COMP%]{position:relative;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:8px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;width:100%;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}"]})}return y})()},25856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CheckboxClonComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(14652)),a=n.__importStar(o(19668)),e=n.__importStar(o(34388));f.CheckboxClonComponent=(()=>{class l{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new i.EventEmitter;ImgSource;constructor(b,_,S){this.Basics=b,this.Tools=_,this.Debug=S;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(y){this.Debug.ShowErrorMessage(y.message,"Checkbox","constructor",this.Debug.Typen.Component)}}PrepareData(){try{this.Background=!1===this.Enabled?"#B2BABB":"white"}catch(b){this.Debug.ShowErrorMessage(b,"Checkbox","PrepareData",this.Debug.Typen.Component)}}ngOnInit(){try{this.PrepareData()}catch(b){this.Debug.ShowErrorMessage(b,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(b){try{b.stopPropagation(),b.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:b,value:this.Value})}catch(_){this.Debug.ShowErrorMessage(_.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}ngOnChanges(b){try{let _;_=b.Enabled,typeof _<"u"&&this.PrepareData()}catch(_){this.Debug.ShowErrorMessage(_.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(_){return new(_||l)(d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(a.ToolsProvider),d.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:l,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(_,S){1&_&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(m){return S.DivClickedHnadler(m)}),d.\u0275\u0275element(1,"img",1),d.\u0275\u0275elementEnd()),2&_&&(d.\u0275\u0275styleProp("background",S.Background),d.\u0275\u0275advance(),d.\u0275\u0275property("hidden",!S.Checked)("src",S.ImgSource,d.\u0275\u0275sanitizeUrl))},styles:[".keeperdivclass[_ngcontent-%COMP%]{padding:2px;position:relative;width:24px;height:24px;border:2px solid gray;border-radius:4px;display:flex;justify-content:center;align-items:center}"]})}return l})()},7388:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CheckboxClonModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.CheckboxClonModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},61540:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.InputCloneKeeperModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},38056:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.InputCloneComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),u=n.__importStar(o(54496)),a=n.__importStar(o(34388)),e=n.__importStar(o(14652)),c=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716));function b(T,R){1&T&&u.\u0275\u0275element(0,"td")}function _(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"tr")(1,"td",4),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"td",5),u.\u0275\u0275element(4,"ion-icon",6),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(5,b,1,0,"td",3),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275styleProp("color",N.Titelcolor),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(N.Titel),u.\u0275\u0275advance(),u.\u0275\u0275property("hidden",!1===N.Clickable),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",null!==N.Einheit)}}function S(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-input",10),u.\u0275\u0275listener("ionInput",function(L){u.\u0275\u0275restoreView(N);const O=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(O.TextChangedHandler(L))}),u.\u0275\u0275elementEnd()}if(2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("font-size",N.Textsize,"px"),u.\u0275\u0275property("inputmode",N.Inputtype)("label",N.Titel)("debounce",N.Debouncetime)("value",N.Value)("color",N.Textcolor)}}function y(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"ion-label"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(N.Value)}}function m(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"td",11),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(N.Einheit)}}function h(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"tr")(1,"td",7),u.\u0275\u0275template(2,S,1,7,"ion-input",8)(3,y,2,1,"ion-label",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(4,m,2,1,"td",9),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",!0===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!1===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",null!==N.Einheit)}}function C(T,R){if(1&T){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-textarea",15),u.\u0275\u0275listener("ionChange",function(L){u.\u0275\u0275restoreView(N);const O=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(O.TextChangedHandler(L))}),u.\u0275\u0275elementEnd()}if(2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("label",N.Titel)("debounce",N.Debouncetime)("value",N.Value)("rows",N.Lines)}}function v(T,R){if(1&T&&u.\u0275\u0275element(0,"div",16),2&T){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("height",18*N.Lines,"px"),u.\u0275\u0275property("innerHTML",N.Tools.FormatLinebreaks(N.Value),u.\u0275\u0275sanitizeHtml)}}function M(T,R){1&T&&u.\u0275\u0275element(0,"td")}function E(T,R){if(1&T&&(u.\u0275\u0275elementStart(0,"tr")(1,"td",12),u.\u0275\u0275template(2,C,1,4,"ion-textarea",13)(3,v,1,3,"div",14),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(4,M,1,0,"td",3),u.\u0275\u0275elementEnd()),2&T){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",!0===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!1===N.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",null!==N.Einheit)}}f.InputCloneComponent=(()=>{class T{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new i.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new i.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(N,I,L){this.Debug=N,this.Basics=I,this.Tools=L;try{let O=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=O+"px solid "+this.OkBorderColor,this.RequiredBorder=O+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=O+"px solid "+this.DisabledColor,this.Valid=!0,this.MinLength=0,this.MaxLength=0,this.Enabled=!0,this.Titel="",this.Value="",this.MinHeight=30,this.Inputtype="text",this.Lines=1,this.Debouncetime=0,this.Clickable=!1,this.Required=!1,this.Titelcolor="black",this.ParseToFloat=!1,this.Textsize=14,this.Einheit=null,this.Textcolor=this.Basics.Ionicfarben.Schwarz}catch(O){this.Debug.ShowErrorMessage(O.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let I;"text"===this.Inputtype||"email"===this.Inputtype?(I=d.string(),"email"===this.Inputtype&&(I=I.email({tlds:{allow:!1}}))):I=d.number(),this.MinLength>0&&(I=I.min(this.MinLength)),this.MaxLength>0&&(I=I.max(this.MaxLength)),I=!0===this.Required?I.required():I.allow(""),this.JoiShema=d.object({Text:I}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(N){this.Debug.ShowErrorMessage(N.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(N){try{let I,L;return this.JoiShema?(I=this.JoiShema.validate({Text:N}),I.error?(L=!1,this.Debug.ShowErrorMessage(I.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):L=!0):L=!1,L}catch(I){this.Debug.ShowErrorMessage(I.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(N){try{let I="text"===this.Inputtype||"email"===this.Inputtype?N.detail.value:this.ParseToFloat?parseFloat(N.detail.value):parseInt(N.detail.value);!0===this.Enabled&&(typeof I>"u"&&(I=""),this.Valid=this.CheckValid(I),this.ValueChange.emit(I),this.TextChanged.emit({Titel:this.Titel,Text:I,Valid:this.Valid})),N.stopPropagation(),N.preventDefault()}catch(I){this.Debug.ShowErrorMessage(I.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(N){try{let I=1,L=N.Value;typeof L<"u"&&(this.Valid=this.CheckValid(L.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:L.currentValue,Valid:this.Valid})),this.DisabledBorder=I+"px solid "+this.DisabledColor,this.OkBorder=I+"px solid "+this.OkBorderColor}catch(I){this.Debug.ShowErrorMessage(I.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(I){return new(I||T)(u.\u0275\u0275directiveInject(a.DebugProvider),u.\u0275\u0275directiveInject(e.BasicsProvider),u.\u0275\u0275directiveInject(c.ToolsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:T,selectors:[["input-clone"]],inputs:{Titel:"Titel",Titelcolor:"Titelcolor",Value:"Value",Debouncetime:"Debouncetime",MinLength:"MinLength",MaxLength:"MaxLength",Enabled:"Enabled",Clickable:"Clickable",MinHeight:"MinHeight",Inputtype:"Inputtype",Required:"Required",Lines:"Lines",DisabledColor:"DisabledColor",OkBorderColor:"OkBorderColor",ParseToFloat:"ParseToFloat",Textcolor:"Textcolor",Textsize:"Textsize",Einheit:"Einheit"},outputs:{ValueChange:"ValueChange",TextChanged:"TextChanged"},features:[u.\u0275\u0275NgOnChangesFeature],decls:5,vars:9,consts:[[1,"framedivclass"],["width","100%"],[3,"color",4,"ngIf"],[4,"ngIf"],[1,"uppercellclass"],[2,"text-align","right",3,"hidden"],["color","burnicklgruen","name","list-outline",2,"font-size","20px"],["colspan","2",1,"lowercellclass",2,"width","auto"],["class","inputclass","labelPlacement","stacked","autocomplete","off",3,"font-size","inputmode","label","debounce","value","color","ionInput",4,"ngIf"],["style","width: 20px; text-align: center;",4,"ngIf"],["labelPlacement","stacked","autocomplete","off",1,"inputclass",3,"inputmode","label","debounce","value","color","ionInput"],[2,"width","20px","text-align","center"],["colspan","2",1,"lowercellclass"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange",4,"ngIf"],[3,"height","innerHTML",4,"ngIf"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange"],[3,"innerHTML"]],template:function(I,L){1&I&&(u.\u0275\u0275elementStart(0,"div",0)(1,"table",1),u.\u0275\u0275template(2,_,6,5,"tr",2)(3,h,5,3,"tr",3)(4,E,5,3,"tr",3),u.\u0275\u0275elementEnd()()),2&I&&(u.\u0275\u0275styleProp("cursor",!0===L.Clickable?"pointer":"default")("min-height",L.MinHeight,"px")("border",!0===L.Enabled?!0===L.Valid?L.OkBorder:L.RequiredBorder:L.DisabledBorder),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",null!==L.Titel&&""!==L.Titel&&!1===L.Enabled),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",1===L.Lines),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",1!==L.Lines))},dependencies:[l.NgIf,g.IonIcon,g.IonInput,g.IonLabel,g.IonTextarea,g.TextValueAccessor],styles:[".framedivclass[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:flex-start}.inputclass[_ngcontent-%COMP%]{border:1px solid blue;border:none;--padding-bottom: 0px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}ion-label[_ngcontent-%COMP%]{color:#000}ion-textarea[_ngcontent-%COMP%]{margin-top:0;border:none;--padding-bottom: 100px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}.uppercellclass[_ngcontent-%COMP%]{font-size:80%;padding:4px 4px 2px}.lowercellclass[_ngcontent-%COMP%]{padding:0 4px 4px}"]})}return T})()},33780:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.InputCloneModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.InputCloneModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90520:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageFooterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.PageFooterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},29856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageFooterComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(29743)),a=n.__importStar(o(34388)),e=n.__importStar(o(14652)),c=["PageFooterFrameDiv"],l=["*"];f.PageFooterComponent=(()=>{class b{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(S,y,m){this.Const=S,this.Debug=y,this.Basics=m}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(S){this.Debug.ShowErrorMessage(S.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||b)(d.\u0275\u0275directiveInject(u.ConstProvider),d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["page-footer"]],viewQuery:function(y,m){if(1&y&&d.\u0275\u0275viewQuery(c,7,i.ElementRef),2&y){let h;d.\u0275\u0275queryRefresh(h=d.\u0275\u0275loadQuery())&&(m.PageFooterFrameDiv=h.first)}},ngContentSelectors:l,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(y,m){1&y&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd())},styles:[".keeperclass[_ngcontent-%COMP%]{background:#307ac1;color:#fff;width:100%;min-height:40px;height:100%;display:flex;align-items:center;justify-content:flex-end}"]})}return b})()},89300:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderCenterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},63792:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderMenuComponent=void 0;const i=o(81316),d=o(54496),u=i.__importDefault(o(35908)),a=o(36716),e=i.__importStar(o(54496)),c=i.__importStar(o(34388)),l=i.__importStar(o(14652)),g=i.__importStar(o(29743)),b=i.__importStar(o(22848)),_=i.__importStar(o(15024)),S=i.__importStar(o(48044)),y=i.__importStar(o(58864)),m=i.__importStar(o(9544)),h=i.__importStar(o(8608)),C=i.__importStar(o(97092)),v=i.__importStar(o(7992)),M=i.__importStar(o(59460)),E=i.__importStar(o(91368)),A=i.__importStar(o(10716)),T=["Suchleiste"],R=["Suchleiste2"],N=["ion-searchbar"];function I(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"div",5),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.HomeMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.HomeMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.MainMenueButtonClicked($e.Menuservice.MainMenuebereiche.Home))}),e.\u0275\u0275elementStart(3,"table",6)(4,"tr")(5,"td"),e.\u0275\u0275element(6,"ion-icon",7),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"td",8),e.\u0275\u0275element(8,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&Ae){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("color",le.HomeMouseOver?le.Basics.Ionicfarben.Schwarz:le.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(2),e.\u0275\u0275classMap(le.Menuservice.MainMenuebereich===le.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function L(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td")(3,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView($e.UrlaubMenueButtonClicked($e.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}),e.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Gesamtplanung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(7),e.\u0275\u0275property("color",le.GetUrlaubMenueIconcolor(le.Menuservice.UrlaubMenuebereiche.Gesamtplanung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.GetUrlaubMenueFontcolor(le.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}}function O(Ae,ye){if(1&Ae&&(e.\u0275\u0275elementStart(0,"td")(1,"ion-badge",22),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Ae){const le=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate((le.DBUrlaub.Urlaubsanfragenanzahl+le.DBUrlaub.Homeofficeanfragenanzahl).toString())}}function z(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td")(3,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView($e.UrlaubMenueButtonClicked($e.Menuservice.UrlaubMenuebereiche.Freigaben))}),e.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Anfragen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,O,3,1,"td",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(7),e.\u0275\u0275property("color",le.GetUrlaubMenueIconcolor(le.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.GetUrlaubMenueFontcolor(le.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",le.DBUrlaub.Urlaubsanfragenanzahl>0||le.DBUrlaub.Homeofficeanfragenanzahl>0)}}function F(Ae,ye){1&Ae&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",23),e.\u0275\u0275elementEnd())}function q(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",24)(1,"ion-button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView($e.UrlaubMitarbeiterClicked.emit())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null!==le.DBUrlaub.CurrentMitarbeiter?le.DBUrlaub.CurrentMitarbeiter.Vorname+" "+le.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt")}}function X(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",5),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.LogoutMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.LogoutMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.LogoutButtonClicked())}),e.\u0275\u0275elementStart(5,"table",6)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Abmelden"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(11,"td",3),e.\u0275\u0275elementStart(12,"td",8),e.\u0275\u0275element(13,"div",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td")(15,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.UrlaubMenueButtonClicked($e.Menuservice.UrlaubMenuebereiche.Planung))}),e.\u0275\u0275elementStart(16,"table",6)(17,"tr")(18,"td"),e.\u0275\u0275element(19,"ion-icon",12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",13),e.\u0275\u0275text(21,"Planung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(22,"td",14),e.\u0275\u0275elementStart(23,"td")(24,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.UrlaubMenueButtonClicked($e.Menuservice.UrlaubMenuebereiche.Uebersicht))}),e.\u0275\u0275elementStart(25,"table",6)(26,"tr")(27,"td"),e.\u0275\u0275element(28,"ion-icon",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"\xdcbersicht"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(31,L,10,3,"ng-container",0)(32,z,11,4,"ng-container",0),e.\u0275\u0275element(33,"td",14),e.\u0275\u0275elementStart(34,"td")(35,"div",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.UrlaubMenueButtonClicked($e.Menuservice.UrlaubMenuebereiche.Einstellungen))}),e.\u0275\u0275elementStart(36,"table",6)(37,"tr")(38,"td"),e.\u0275\u0275element(39,"ion-icon",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"td"),e.\u0275\u0275text(41,"Einstellungen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(42,F,2,0,"td",0),e.\u0275\u0275element(43,"td",17),e.\u0275\u0275template(44,q,3,1,"td",18),e.\u0275\u0275element(45,"td",19),e.\u0275\u0275elementEnd()()()}if(2&Ae){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("cursor",le.LogoutMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",le.LogoutMouseOver?le.Basics.Ionicfarben.Schwarz:le.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.LogoutMouseOver?"#000000":"white"),e.\u0275\u0275advance(10),e.\u0275\u0275property("color",le.GetUrlaubMenueIconcolor(le.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.GetUrlaubMenueFontcolor(le.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",le.GetUrlaubMenueIconcolor(le.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.GetUrlaubMenueFontcolor(le.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!0===le.Pool.Mitarbeiterdaten.Urlaubsfreigaben||le.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===le.DBUrlaub.CurrentMitarbeiter.Homeofficefreigaben||!0===le.DBUrlaub.CurrentMitarbeiter.Urlaubsfreigaben||le.DBUrlaub.Vertretungsanfragenanzahl>0),e.\u0275\u0275advance(7),e.\u0275\u0275property("color",le.GetUrlaubMenueIconcolor(le.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.GetUrlaubMenueFontcolor(le.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===le.DBUrlaub.CorrectSetup),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==le.Pool.Mitarbeiterdaten&&!0===le.Pool.Mitarbeiterdaten.Planeradministrator)}}function ce(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",5),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.BackMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.BackMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.BackButtonClicked())}),e.\u0275\u0275elementStart(2,"table",6)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Zur\xfcck"),e.\u0275\u0275elementEnd()()()()()}if(2&Ae){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("cursor",le.BackMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",le.BackMouseOver?le.Basics.Ionicfarben.BAEBlau:le.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",le.BackMouseOver?"#000000":"white")}}function K(Ae,ye){1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275element(3,"ion-searchbar",27,28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function ne(Ae,ye){if(1&Ae){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",14),e.\u0275\u0275elementStart(2,"td")(3,"div",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.StandortButtonClicked())}),e.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",31),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ae){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(le.DBStandort.GetStandortfiller())}}function Y(Ae,ye){if(1&Ae&&(e.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",33),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"td",3),e.\u0275\u0275elementEnd()()),2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",le.GraphService.UserimageSRC,e.\u0275\u0275sanitizeUrl)}}function H(Ae,ye){if(1&Ae&&(e.\u0275\u0275elementStart(0,"div",34),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",null!==le.Pool.Mitarbeiterdaten?le.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function ae(Ae,ye){if(1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Y,5,1,"table",0)(2,H,2,1,"div",32),e.\u0275\u0275elementContainerEnd()),2&Ae){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==le.GraphService.UserimageSRC),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null===le.GraphService.UserimageSRC)}}function re(Ae,ye){if(1&Ae&&e.\u0275\u0275element(0,"td",41),2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",le.Timelinebreite,"px")}}function W(Ae,ye){if(1&Ae&&e.\u0275\u0275element(0,"td",41),2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",le.Timelinebreite,"px")}}function ee(Ae,ye){if(1&Ae&&e.\u0275\u0275element(0,"td",41),2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",le.Timelinebreite,"px")}}function J(Ae,ye){if(1&Ae&&e.\u0275\u0275element(0,"td",41),2&Ae){const le=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",le.Timelinebreite,"px")}}function G(Ae,ye){if(1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",35),e.\u0275\u0275element(3,"div",36),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"tr")(5,"td",37)(6,"table")(7,"tr")(8,"td")(9,"div",38),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,re,1,2,"td",39),e.\u0275\u0275element(12,"td",40),e.\u0275\u0275elementStart(13,"td")(14,"div",38),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,W,1,2,"td",39),e.\u0275\u0275element(17,"td",40),e.\u0275\u0275elementStart(18,"td")(19,"div",38),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,ee,1,2,"td",39),e.\u0275\u0275element(22,"td",40),e.\u0275\u0275elementStart(23,"td")(24,"div",38),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,J,1,2,"td",39),e.\u0275\u0275element(27,"td",40),e.\u0275\u0275elementStart(28,"td")(29,"div",38),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()),2&Ae){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("width",le.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",le.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate3("Montag ",le.Timelineindex," ",le.GetDatumtext("Montag")," ",le.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===le.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",le.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",le.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Dienstag ",le.GetDatumtext("Dienstag")," ",le.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",1===le.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",le.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",le.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Mittwoch ",le.GetDatumtext("Mittwoch")," ",le.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",2===le.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",le.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",le.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Donnerstag ",le.GetDatumtext("Donnerstag")," ",le.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",3===le.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",le.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",le.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Freitag ",le.GetDatumtext("Freitag")," ",le.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function de(Ae,ye){if(1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),e.\u0275\u0275element(6,"td",3),e.\u0275\u0275template(7,I,9,3,"ng-container",0)(8,X,46,18,"td",0)(9,ce,8,5,"td",0)(10,K,5,0,"ng-container",0)(11,ne,10,1,"ng-container",0),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"td",4),e.\u0275\u0275template(13,ae,3,2,"ng-container",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(14,G,31,35,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Ae){const le=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",null!==le.Pool.Mitarbeiterdaten&&le.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",le.Menuservice.MainMenuebereich===le.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",le.Menuservice.MainMenuebereich===le.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",le.ShowSuchleiste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",le.ShowSandortfilter),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===le.AuthService.ShowLogin),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",le.Menuservice.MainMenuebereich===le.Menuservice.MainMenuebereiche.Projekte&&le.Menuservice.ProjekteMenuebereich===le.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&le.Menuservice.Aufgabenlisteansicht===le.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}f.PageHeaderMenuComponent=(()=>{class Ae{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new d.EventEmitter;StandortfilterClicked=new d.EventEmitter;ZeitspanneFilterClicked=new d.EventEmitter;LeistungsphaseFilterClicked=new d.EventEmitter;FilterChanged=new d.EventEmitter;ShowProjektauswahlEvent=new d.EventEmitter;ShowProjektfilesEvent=new d.EventEmitter;LOPListeZeitspanneEvent=new d.EventEmitter;ShowOpenFestlegungOnlyEvent=new d.EventEmitter;SendFestlegungenClicked=new d.EventEmitter;ShowUngelesenOnlyChanged=new d.EventEmitter;ProjektsortierungChanged=new d.EventEmitter;EmailDatumChanged=new d.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new d.EventEmitter;ShowLOPListeInfoeintraegeChanged=new d.EventEmitter;ExpandFestlegungeEvent=new d.EventEmitter;UrlaubMitarbeiterClicked=new d.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;constructor(le,Me,$e,qe,tt,mt,st,ft,Qt,bt,Vt,sn){this.Debug=le,this.Basics=Me,this.Const=$e,this.DBMitarbeiter=qe,this.DBMitarbeitersettings=tt,this.Auswahlservice=mt,this.DBStandort=st,this.DBUrlaub=ft,this.GraphService=Qt,this.AuthService=bt,this.Pool=Vt,this.Menuservice=sn;try{this.ShowSuchleiste=!1,this.SuchleisteClearSubscription=null,this.Suchleiste2ClearSubscription=null,this.SuchleisteInputSubscription=null,this.Suchleiste2InputSubscription=null,this.FavoritenSubscription=null,this.Inputtimer=null,this.ShowSandortfilter=!1,this.Projektauswahlbreite=200,this.Filterorigin=this.Const.NONE,this.Wochentaghoehe=30,this.Tagbreite=0,this.Timelinebreite=40,this.HomeMouseOver=!1,this.EmailMouseOver=!1,this.ShowStandorttitle=!1,this.ShowMitarbeitertitle=!1,this.ShowProjektetitle=!1,this.ShowFavoritentitle=!1,this.FilesMouseOver=!1,this.ShowOpenFestlegungOnly=!1,this.SendFestlegungenEnabled=!1,this.BackMouseOver=!1,this.LogoutMouseOver=!1,this.Timelineindex=0}catch(dn){this.Debug.ShowErrorMessage(dn.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(le){this.Debug.ShowErrorMessage(le.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(le){this.Debug.ShowErrorMessage(le,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(le){this.Debug.ShowErrorMessage(le.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ngAfterViewInit(){var le=this;return n(function*(){try{le.Tagbreite=(le.Basics.Contentbreite-4-le.Timelinebreite)/5}catch(Me){le.Debug.ShowErrorMessage(Me.message,"Page Header Menu","ngAfterViewInit",le.Debug.Typen.Component)}})()}MainMenueButtonClicked(le){try{this.Menuservice.MainMenuebereich=le,this.Menuservice.SetCurrentPage()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(le){try{this.Menuservice.FirmaMenuebereich=le,this.Menuservice.SetCurrentPage()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(le){try{this.Menuservice.ProjekteMenuebereich=le,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(le){try{this.Menuservice.UrlaubMenuebereich=le,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(le){try{return le===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(le){try{return le===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(le){try{return le===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(le){try{return le===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(le){this.Debug.ShowErrorMessage(le.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(le){try{this.ZeitspanneFilterClicked.emit(le)}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(le){this.Debug.ShowErrorMessage(le.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(le){}GetZeitfilterButtontext(){try{if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return"Seit dem Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return"Bis zum Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return"Zeitspanne";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:return"Monat";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Woche";default:return"Zeitfilter"}}catch(le){this.Debug.ShowErrorMessage(le.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let le,Me,$e="";if(null!==this.Pool.Mitarbeitersettings){if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(le=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),le.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(Me=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),Me.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(le=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),$e+=le.format("DD.MM.YYYY")):$e+="Unbekannt",$e+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(Me=(0,u.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),$e+=Me.format("DD.MM.YYYY")):$e+="Unbekannt",$e;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(le){this.Debug.ShowErrorMessage(le.message,"Page Header Menu","GetZeitfilterButtonwert",this.Debug.Typen.Component)}}MeintagClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Mein_Tag}catch(le){this.Debug.ShowErrorMessage(le,"Page Header Menu","MeintagClicked",this.Debug.Typen.Component)}}MeineWocheClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meine_Woche}catch(le){this.Debug.ShowErrorMessage(le,"Page Header Menu","MeineWocheClicked",this.Debug.Typen.Component)}}MeilensteineClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meilensteine}catch(le){this.Debug.ShowErrorMessage(le,"Page Header Menu","MeilensteineClicked",this.Debug.Typen.Component)}}ProjektClicked(){try{this.Menuservice.Aufgabenlisteansicht!==this.Menuservice.Aufgabenlisteansichten.Projekt?this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt:this.ShowProjektauswahlEvent.emit()}catch(le){this.Debug.ShowErrorMessage(le,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(le){this.Debug.ShowErrorMessage(le,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(le){try{this.ShowOpenFestlegungOnly=le.status,this.ShowOpenFestlegungOnlyEvent.emit(le.status)}catch(Me){this.Debug.ShowErrorMessage(Me,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetDatumtext(le){try{let $e=(0,u.default)().locale("de").clone().startOf("isoWeek");switch(le){case"Montag":return $e.format("DD.MM.");case"Dienstag":return $e.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return $e.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return $e.clone().add(3,"day").format("DD.MM.");case"Freitag":return $e.clone().add(4,"day").format("DD.MM.")}return""}catch(Me){this.Debug.ShowErrorMessage(Me,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}environment=a.environment;static \u0275fac=function(Me){return new(Me||Ae)(e.\u0275\u0275directiveInject(c.DebugProvider),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.ConstProvider),e.\u0275\u0275directiveInject(b.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(_.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(m.DatabaseUrlaubService),e.\u0275\u0275directiveInject(h.Graphservice),e.\u0275\u0275directiveInject(C.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.MenueService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Ae,selectors:[["page-header-menu"]],viewQuery:function(Me,$e){if(1&Me&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(R,5),e.\u0275\u0275viewQuery(N,5)),2&Me){let qe;e.\u0275\u0275queryRefresh(qe=e.\u0275\u0275loadQuery())&&($e.Suchleiste=qe.first),e.\u0275\u0275queryRefresh(qe=e.\u0275\u0275loadQuery())&&($e.Suchleiste2=qe.first),e.\u0275\u0275queryRefresh(qe=e.\u0275\u0275loadQuery())&&($e.Sucheiste3=qe)}},inputs:{ShowSandortfilter:"ShowSandortfilter",ShowSuchleiste:"ShowSuchleiste",Filterorigin:"Filterorigin",ShowStandorttitle:"ShowStandorttitle",ShowMitarbeitertitle:"ShowMitarbeitertitle",ShowProjektetitle:"ShowProjektetitle",ShowFavoritentitle:"ShowFavoritentitle",SendFestlegungenEnabled:"SendFestlegungenEnabled",Timelineindex:"Timelineindex"},outputs:{SucheChanged:"SucheChanged",StandortfilterClicked:"StandortfilterClicked",ZeitspanneFilterClicked:"ZeitspanneFilterClicked",LeistungsphaseFilterClicked:"LeistungsphaseFilterClicked",FilterChanged:"FilterChanged",ShowProjektauswahlEvent:"ShowProjektauswahlEvent",ShowProjektfilesEvent:"ShowProjektfilesEvent",LOPListeZeitspanneEvent:"LOPListeZeitspanneEvent",ShowOpenFestlegungOnlyEvent:"ShowOpenFestlegungOnlyEvent",SendFestlegungenClicked:"SendFestlegungenClicked",ShowUngelesenOnlyChanged:"ShowUngelesenOnlyChanged",ProjektsortierungChanged:"ProjektsortierungChanged",EmailDatumChanged:"EmailDatumChanged",PlanungsmatrixLeistungsphaseClicked:"PlanungsmatrixLeistungsphaseClicked",ShowLOPListeInfoeintraegeChanged:"ShowLOPListeInfoeintraegeChanged",ExpandFestlegungeEvent:"ExpandFestlegungeEvent",UrlaubMitarbeiterClicked:"UrlaubMitarbeiterClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",3,"color"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","create-outline",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",3,"color"],["name","settings-outline",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["name","apps-outline",3,"color"],["name","thumbs-up-outline",3,"color"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["name","arrow-back-circle-outline",3,"color"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss"],[2,"color","white"],["class","userkuerzelsmall",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["colspan","2",2,"padding-left","8px","padding-right","8px"],[2,"width","100%","height","1px","background","white"],["colspan","2"],[1,"wocheheaderdivclass"],["style","background: #354547;",3,"width",4,"ngIf"],[2,"width","1px","background","white"],[2,"background","#354547"]],template:function(Me,$e){1&Me&&e.\u0275\u0275template(0,de,15,7,"ng-container",0),2&Me&&e.\u0275\u0275property("ngIf",null!==$e.AuthService.ActiveUser)},dependencies:[E.NgIf,A.IonBadge,A.IonButton,A.IonIcon,A.IonSearchbar,A.TextValueAccessor],styles:[".menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#454545;border-radius:4px}.planungheaderdiv[_ngcontent-%COMP%]{border-radius:6px;width:40px;height:40px;background:#454545;color:#fff;font-size:90%;display:flex;justify-content:center;align-items:center}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.trennerbigdivclass[_ngcontent-%COMP%]{width:1px;min-height:64px;height:100%;background:silver}ion-searchbar[_ngcontent-%COMP%]{width:300px;height:50px;--border-radius: none;--box-shadow: none;--background: black}.iconboxclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:6px;width:40px;height:40px;background:#444}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:140px;min-height:34px;height:100%;padding:2px;border:1px solid white;border-radius:6px;cursor:pointer}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:50px;min-height:34px;height:100%;border:1px solid white;border-radius:6px;cursor:pointer}.statusvaianteclass[_ngcontent-%COMP%]{padding:6px;border-radius:3px;width:auto;white-space:nowrap;color:#fff;font-size:80%}.wocheheaderdivclass[_ngcontent-%COMP%]{background:#354547;color:#fff;display:flex;justify-content:center;align-items:center}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:#454545;color:#fff;font-weight:700}"]})}return Ae})()},6168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderMenuModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(72284),a=o(7388),e=o(22844),c=n.__importStar(o(54496));f.PageHeaderMenuModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=c.\u0275\u0275defineNgModule({type:g});static \u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.ButtonValueModule,a.CheckboxClonModule,e.ButtonValueDateModule]})}return g})()},70216:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=n.__importStar(o(54496));f.PageHeaderModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=u.\u0275\u0275defineNgModule({type:e});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90212:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageHeaderComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),u=n.__importStar(o(34388)),a=n.__importStar(o(14652)),e=n.__importStar(o(7992)),c=n.__importStar(o(29743)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=["PageHeaderDiv"];function _(m,h){if(1&m&&(d.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),d.\u0275\u0275text(12),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td"),d.\u0275\u0275element(15,"ion-progress-bar",9),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(16,"tr")(17,"td"),d.\u0275\u0275element(18,"div",10),d.\u0275\u0275elementEnd()()()()),2&m){const C=d.\u0275\u0275nextContext();d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate1(" ",C.ProgressMessage," "),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",C.Pool.ProgressMessage," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("value",C.Pool.CurrentProgressValue/C.Pool.MaxProgressValue)}}const S=["*"];f.PageHeaderComponent=(()=>{class m{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(C,v,M,E){this.Debug=C,this.Basics=v,this.Pool=M,this.Const=E;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(A){this.Debug.ShowErrorMessage(A.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(v){return new(v||m)(d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(e.DatabasePoolService),d.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:m,selectors:[["page-header"]],viewQuery:function(v,M){if(1&v&&d.\u0275\u0275viewQuery(b,7,i.ElementRef),2&v){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(M.PageHeaderDiv=E.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:S,decls:4,vars:1,consts:[[1,"keeperdivclass"],["PageHeaderDiv",""],["class","loadingdivclass",4,"ngIf"],[1,"loadingdivclass"],["width","100%"],[1,"headerdivclass"],[1,"contentdivclass"],["width","100%",1,"paddingtable"],[2,"text-align","center","color","black"],[3,"value"],[2,"background","#354547","width","100%","height","20px"]],template:function(v,M){1&v&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275template(3,_,19,3,"div",2),d.\u0275\u0275elementEnd()),2&v&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",M.Pool.ShowProgress))},dependencies:[l.NgIf,g.IonProgressBar],styles:["ion-progress-bar[_ngcontent-%COMP%]{--background: #444444;--progress-background: #307ac1}.keeperdivclass[_ngcontent-%COMP%]{width:100%;background:#307ac1;min-height:52px}.loadingdivclass[_ngcontent-%COMP%]{position:absolute;width:400px;height:300px;z-index:10000;top:200px;left:50%;transform:translate(-50%)}.headerdivclass[_ngcontent-%COMP%]{background:#307ac1;width:100%;height:30px;padding:4px;color:#fff;display:flex;justify-content:flex-start;align-items:center}.contentdivclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;background:#fff;width:100%;height:120px;padding:6px;display:flex;justify-content:center;align-items:center}"]})}return m})()},54588:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PageModalKeepermodule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(70216),a=n.__importStar(o(54496));f.PageModalKeepermodule=(()=>{class c{static \u0275fac=function(b){return new(b||c)};static \u0275mod=a.\u0275\u0275defineNgModule({type:c});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.PageHeaderModule]})}return c})()},6232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UrlausplanungKalenderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),u=o(44716),a=o(90520),e=o(89300),c=n.__importStar(o(54496));f.UrlausplanungKalenderModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=c.\u0275\u0275defineNgModule({type:g});static \u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,u.ReactiveFormsModule,u.FormsModule,a.PageFooterModule,e.PageHeaderCenterModule]})}return g})()},77440:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PjProjektpunktDateKWPickerComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908));o(94091);const u=n.__importStar(o(17964)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(14652)),l=n.__importStar(o(7992)),g=n.__importStar(o(21052)),b=n.__importStar(o(9544)),_=n.__importStar(o(19668)),S=n.__importStar(o(29743)),y=n.__importStar(o(91368)),m=n.__importStar(o(10716));function h(ye,le){1&ye&&a.\u0275\u0275element(0,"div",10)}function C(ye,le){1&ye&&a.\u0275\u0275element(0,"div",10)}function v(ye,le){1&ye&&a.\u0275\u0275element(0,"div",10)}function M(ye,le){1&ye&&a.\u0275\u0275element(0,"div",10)}function E(ye,le){1&ye&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"div",10),a.\u0275\u0275elementContainerEnd())}function A(ye,le){1&ye&&a.\u0275\u0275element(0,"div",14)}function T(ye,le){1&ye&&a.\u0275\u0275element(0,"div",14)}function R(ye,le){1&ye&&a.\u0275\u0275element(0,"div",14)}function N(ye,le){1&ye&&a.\u0275\u0275element(0,"div",14)}function I(ye,le){1&ye&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"div",14),a.\u0275\u0275elementContainerEnd())}function L(ye,le){if(1&ye&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",5)(2,"div",12),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,A,1,0,"div",13)(5,T,1,0,"div",13)(6,R,1,0,"div",13)(7,N,1,0,"div",13)(8,I,2,0,"ng-container",7),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&ye){const Me=a.\u0275\u0275nextContext().$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(Me.Tagnummer),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFerientage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFerientage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFeiertage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFeiertage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",$e.KalendertageExternliste)}}function O(ye,le){1&ye&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",17),a.\u0275\u0275text(2,"H"),a.\u0275\u0275elementEnd()())}function z(ye,le){1&ye&&a.\u0275\u0275element(0,"ion-icon",22)}function F(ye,le){if(1&ye){const Me=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",20),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(3).$implicit,tt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(tt.FerientagMouseOverEvent(qe,"DE"))})("mouseleave",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,z,1,0,"ion-icon",21),a.\u0275\u0275elementEnd()}if(2&ye){const Me=a.\u0275\u0275nextContext(3).$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",Me.IsFerientag_DE?$e.DB.Ferienfarbe_DE:Me.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Me.IsFerientag_DE)}}function q(ye,le){1&ye&&a.\u0275\u0275element(0,"ion-icon",24)}function X(ye,le){if(1&ye){const Me=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",20),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(3).$implicit,tt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(tt.FerientagMouseOverEvent(qe,"BG"))})("mouseleave",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,q,1,0,"ion-icon",23),a.\u0275\u0275elementEnd()}if(2&ye){const Me=a.\u0275\u0275nextContext(3).$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",Me.IsFerientag_BG?$e.DB.Ferienfarbe_BG:Me.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Me.IsFerientag_BG)}}function ce(ye,le){1&ye&&a.\u0275\u0275element(0,"ion-icon",27)}function K(ye,le){if(1&ye){const Me=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",25),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(3).$implicit,tt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(tt.FeietragMouseOverEvent(qe,"DE"))})("mouseleave",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,ce,1,0,"ion-icon",26),a.\u0275\u0275elementEnd()}if(2&ye){const Me=a.\u0275\u0275nextContext(3).$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",Me.IsFeiertag_DE?$e.DB.Feiertagefarbe_DE:Me.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Me.IsFeiertag_DE)}}function ne(ye,le){1&ye&&a.\u0275\u0275element(0,"ion-icon",29)}function Y(ye,le){if(1&ye){const Me=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"div",25),a.\u0275\u0275listener("mouseenter",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(3).$implicit,tt=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(tt.FeietragMouseOverEvent(qe,"BG"))})("mouseleave",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(6);return a.\u0275\u0275resetView(qe.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),a.\u0275\u0275template(1,ne,1,0,"ion-icon",28),a.\u0275\u0275elementEnd()}if(2&ye){const Me=a.\u0275\u0275nextContext(3).$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275styleProp("background",Me.IsFeiertag_BG?$e.DB.Feiertagefarbe_BG:Me.Background),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Me.IsFeiertag_BG)}}function H(ye,le){if(1&ye&&(a.\u0275\u0275elementStart(0,"div",32),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&ye){const Me=a.\u0275\u0275nextContext().$implicit,$e=a.\u0275\u0275nextContext(3).index,qe=a.\u0275\u0275nextContext().index;a.\u0275\u0275styleProp("background",Me[qe][$e].Background),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(Me[qe][$e].Kuerzel)}}function ae(ye,le){1&ye&&a.\u0275\u0275element(0,"div",33)}function re(ye,le){if(1&ye&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,H,2,3,"div",30)(2,ae,1,0,"div",31),a.\u0275\u0275elementContainerEnd()),2&ye){const Me=le.$implicit,$e=a.\u0275\u0275nextContext(3).index,qe=a.\u0275\u0275nextContext().index;a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Me[qe][$e].IsUrlaub),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!Me[qe][$e].IsUrlaub)}}function W(ye,le){if(1&ye){const Me=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",15),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(Me);const qe=a.\u0275\u0275nextContext(2),tt=qe.$implicit,mt=qe.index,st=a.\u0275\u0275nextContext().index,ft=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ft.TagClicked(tt,st,mt))}),a.\u0275\u0275elementStart(2,"div",16)(3,"table")(4,"tr")(5,"td",17),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(7,O,3,0,"tr",11),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(8,F,2,3,"div",18)(9,X,2,3,"div",18)(10,K,2,3,"div",19)(11,Y,2,3,"div",19)(12,re,3,2,"ng-container",7),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()}if(2&ye){const Me=a.\u0275\u0275nextContext(2).$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(2),a.\u0275\u0275styleProp("background",$e.GetTagBackground(Me))("color",Me.Color),a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(Me.Tagnummer),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Me.IsHomeoffice&&$e.Pool.Mitarbeitersettings.ShowHomeoffice),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFerientage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFerientage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFeiertage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e.DB.ShowFeiertage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",$e.KalendertageExternliste)}}function ee(ye,le){if(1&ye&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275text(1),a.\u0275\u0275elementContainerEnd()),2&ye){const Me=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate1(" ",Me.Tagnummer," ")}}function J(ye,le){if(1&ye&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,W,13,11,"ng-container",11)(2,ee,2,1,"ng-container",11),a.\u0275\u0275elementContainerEnd()),2&ye){const Me=a.\u0275\u0275nextContext().$implicit,$e=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!0===Me.Hauptmonat&&null!==$e.Pool.Mitarbeitersettings),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===Me.Hauptmonat)}}function G(ye,le){if(1&ye&&(a.\u0275\u0275elementStart(0,"td"),a.\u0275\u0275template(1,L,9,6,"ng-container",11)(2,J,3,2,"ng-container",11),a.\u0275\u0275elementEnd()),2&ye){const $e=le.index;a.\u0275\u0275styleProp("color",!0===le.$implicit.Hauptmonat?"black":"darkgray"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e>=5),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",$e<5)}}function de(ye,le){if(1&ye&&(a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",5)(3,"div",6),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,h,1,0,"div",8)(6,C,1,0,"div",8)(7,v,1,0,"div",8)(8,M,1,0,"div",8)(9,E,2,0,"ng-container",7),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(10,G,3,4,"td",9),a.\u0275\u0275elementEnd()),2&ye){const Me=le.$implicit,$e=le.index,qe=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(Me[$e].Kalenderwoche),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFerientage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFerientage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFeiertage_DE),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",qe.DB.ShowFeiertage_BG),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",qe.KalendertageExternliste),a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",Me)}}function be(ye,le){if(1&ye&&(a.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),a.\u0275\u0275text(9,"KW"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),a.\u0275\u0275text(13,"Mo"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),a.\u0275\u0275text(17,"Di"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),a.\u0275\u0275text(21,"Mi"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),a.\u0275\u0275text(25,"Do"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),a.\u0275\u0275text(29,"Fr"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),a.\u0275\u0275text(33,"Sa"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),a.\u0275\u0275text(37,"So"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275template(38,de,11,7,"tr",7),a.\u0275\u0275elementEnd()()),2&ye){const Me=a.\u0275\u0275nextContext();a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate1(" ",Me.GetMonatname()," "),a.\u0275\u0275advance(34),a.\u0275\u0275property("ngForOf",Me.Kalendertageliste)}}f.PjProjektpunktDateKWPickerComponent=(()=>{class ye{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;AddHomeofficerunning;ShowYear;FeiertagCrossedEvent=new i.EventEmitter;FerientagCrossedEvent=new i.EventEmitter;AddUrlaubFinished=new i.EventEmitter;AddHomeofficeEvent=new i.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;HomeofficeStatusSubscription;ExterneHomeofficeSubscription;constructor(Me,$e,qe,tt,mt,st,ft){this.Debug=Me,this.Basics=$e,this.Pool=qe,this.Displayservice=tt,this.DB=mt,this.Tools=st,this.Const=ft;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.AddHomeofficerunning=!1,this.Monatindex=0,this.ShowYear=!1,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription=null}catch(Qt){this.Debug.ShowErrorMessage(Qt.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(Me){try{u.isUndefined(Me.Monatindex)||this.PrepareData()}catch($e){this.Debug.ShowErrorMessage($e,"Urlaubsplanung Kalender","ngOnChanges",this.Debug.Typen.Component)}}PrepareData(){try{let Me,$e,qe,tt,mt,ft,Qt,bt,Vt,sn,dn,st=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],st=st<10?"0"+st.toString():st.toString(),Me=(0,d.default)(this.Jahr.toString()+"-"+st,"YYYY-MM").daysInMonth(),$e=Me;let wn=(0,d.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),An=(0,d.default)().set({date:Me,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");qe=wn.isoWeekday(),tt=qe-1,$e+=tt,Qt=wn.clone().subtract(tt,"day"),Vt=Qt.clone(),qe=An.isoWeekday(),tt=7-qe,$e+=tt,mt=$e/7,dn=Vt.clone(),this.Kalendertageliste=[];for(let vn=0;vn{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.ExterneHomeofficeSubscription=this.DB.ExterneHomeofficeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()}),this.HomeofficeStatusSubscription=this.DB.HomeofficeStatusChanged.subscribe(()=>{this.PrepareData()})}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Urlaubsplanung Kalender","ngOnInit",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.ProjektpunktDateKwPicker),this.DataSubscription.unsubscribe(),this.DataSubscription=null,this.MonateSubscription.unsubscribe(),this.MonateSubscription=null,this.ExterneUrlaubSubscription.unsubscribe(),this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription.unsubscribe(),this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription.unsubscribe(),this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription.unsubscribe(),this.ExterneHomeofficeSubscription=null}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(Me,$e){try{let qe="",tt=(0,d.default)(Me.Tagstempel).locale("DE"===$e?"de":"en");(Me.IsFeiertag_DE||Me.IsFeiertag_BG)&&("DE"===$e&&Me.IsFeiertag_DE?(qe=Me.Feiertagname_DE+" / "+tt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:qe,Laendercode:$e})):"BG"===$e&&Me.IsFeiertag_BG&&(qe=Me.Feiertagname_BG+" / "+tt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:qe,Laendercode:$e})))}catch(qe){this.Debug.ShowErrorMessage(qe,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(Me,$e){try{this.FerientagCrossedEvent.emit({Name:"DE"===$e?Me.Ferienname_DE:Me.Ferienname_BG,Laendercode:$e})}catch(qe){this.Debug.ShowErrorMessage(qe,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(Me,$e,qe){try{let tt,mt,st,bt,ft=0,Qt="DE"===this.DB.Laendercode?Me.IsFeiertag_DE:Me.IsFeiertag_BG,Vt=Me.IsUrlaub,sn=Me.IsHomeoffice;if(this.AddUrlaubRunning)if(!1===Qt&&!1===sn&&!1===Vt)if(null===this.DB.CurrentUrlaubzeitspanne)this.DB.CurrentUrlaubzeitspanne=this.DB.GetEmptyUrlaubszeitspanne(),this.DB.CurrentUrlaubzeitspanne.Startstempel=Me.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Startstring=Me.Datumstring,Me.Background=this.DB.Urlaubsfaben.Geplant,Me.IsUrlaub=!0,Me.Color="white";else if(mt=(0,d.default)(this.DB.CurrentUrlaubzeitspanne.Startstempel),tt=(0,d.default)(Me.Tagstempel),!0===tt.isSameOrAfter(mt,"day")&&tt.isSame(mt,"week")){this.DB.CurrentUrlaubzeitspanne.Endestempel=Me.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Endestring=Me.Datumstring;for(let dn=qe;dn>=0;dn--)st=this.Kalendertageliste[$e][dn],Qt="DE"===this.DB.Laendercode?st.IsFeiertag_DE:st.IsFeiertag_BG,!1===Qt&&(st.Background=this.DB.Urlaubsfaben.Geplant,st.IsUrlaub=!0,st.Color="white",ft++);this.DB.CurrentUrlaubzeitspanne.Tageanzahl=ft,bt=this.DB.CountResturlaub(),bt-ft>=0?this.AddUrlaubFinished.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+bt+" Tage Resturlaub."),this.DB.CurrentUrlaubzeitspanne=null,window.setTimeout(()=>{for(let dn=qe;dn>=0;dn--)st=this.Kalendertageliste[$e][dn],Qt="DE"===this.DB.Laendercode?st.IsFeiertag_DE:st.IsFeiertag_BG,!1===Qt&&(st.Background="none",st.IsUrlaub=!1,st.Color="black");this.AddUrlaubFinished.emit(!1)},3e3))}else this.Tools.ShowHinweisDialog("Bitte Tag in der gleichen Woche w\xe4hlen.");else this.Tools.ShowHinweisDialog(Qt?"Dieser Tag ist ein Feiertag.":sn?"Dieser Tag ist ein Homeofficetag.":"Dieser Tag ist bereits ein Urlaubstag.");this.AddHomeofficerunning&&(!1===Qt&&!1===Vt&&!1===sn?(this.DB.CurrentHomeofficezeitspanne=this.DB.GetEmptyHomeofficezeitspanne(),this.DB.CurrentHomeofficezeitspanne.Startstempel=Me.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Endestempel=Me.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Startstring=Me.Datumstring,this.DB.CurrentHomeofficezeitspanne.Endestring=Me.Datumstring,this.DB.CurrentHomeofficezeitspanne.Tageanzahl=1,st=this.Kalendertageliste[$e][qe],st.Background=this.DB.Homeofficefarben.Geplant,st.IsHomeoffice=!0,st.Color="white"):this.Tools.ShowHinweisDialog(Qt?"Dieser Tag ist ein Feiertag.":Vt?"Dieser Tag ist ein Urlaubstag.":"Dieser Tag ist bereits ein Homeofficetag."),this.AddHomeofficeEvent.emit(!0))}catch(tt){this.Debug.ShowErrorMessage(tt,"Urlaubsplanung Kalender","TagClicked",this.Debug.Typen.Component)}}GetMonatname(){try{let Me=this.Monatname;return this.ShowYear&&(Me+=" "+this.Jahr),Me}catch(Me){this.Debug.ShowErrorMessage(Me,"Urlaubsplanung Kalender","GetMonatname",this.Debug.Typen.Component)}}GetTagBackground(Me){try{return!0===Me.IsUrlaub||!0===Me.IsHomeoffice?Me.Background:"none"}catch($e){this.Debug.ShowErrorMessage($e,"Urlaubsplanung Kalender","GetTagBackground",this.Debug.Typen.Component)}}static \u0275fac=function($e){return new($e||ye)(a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(c.BasicsProvider),a.\u0275\u0275directiveInject(l.DatabasePoolService),a.\u0275\u0275directiveInject(g.DisplayService),a.\u0275\u0275directiveInject(b.DatabaseUrlaubService),a.\u0275\u0275directiveInject(_.ToolsProvider),a.\u0275\u0275directiveInject(S.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:ye,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",AddHomeofficerunning:"AddHomeofficerunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinished:"AddUrlaubFinished",AddHomeofficeEvent:"AddHomeofficeEvent"},features:[a.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[["class","frameclass",4,"ngIf"],[1,"frameclass"],["width","100%",1,"paddingsmalltable"],["colspan","8",2,"font-size","120%","font-weight","bold","color","black","text-align","center"],[2,"width","12%"],[1,"tagrahmenclass"],[1,"taginfodivclass"],[4,"ngFor","ngForOf"],["class","taginfospacedivclass",4,"ngIf"],[3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],[2,"text-align","center"],["class","feriendivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],["class","feiertagdivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],[1,"feriendivclass",3,"mouseenter","mouseleave"],["name","school-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","gelb",2,"font-size","18px"],[1,"feiertagdivclass",3,"mouseenter","mouseleave"],["name","flag-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","flag-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","gelb",2,"font-size","18px"],["class","tagexterndivclass",3,"background",4,"ngIf"],["class","tagexternemptydivclass",4,"ngIf"],[1,"tagexterndivclass"],[1,"tagexternemptydivclass"]],template:function($e,qe){1&$e&&a.\u0275\u0275template(0,be,39,2,"div",0),2&$e&&a.\u0275\u0275property("ngIf",null!==qe.Pool.Mitarbeitersettings)},dependencies:[y.NgForOf,y.NgIf,m.IonIcon],styles:[".frameclass[_ngcontent-%COMP%]{border:1px solid #307ac1;background:#fff;color:#fff;padding:4px;width:100%;height:100%}.tagrahmenclass[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid #444444}.feiertagdivclass[_ngcontent-%COMP%], .feriendivclass[_ngcontent-%COMP%]{width:100%;height:20px;cursor:pointer;display:flex;justify-content:center;align-items:center}.taginfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:inherit;height:26px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:30px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:30px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.tagexternemptydivclass[_ngcontent-%COMP%]{border-top:1px solid;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.buttoninfoclass[_ngcontent-%COMP%]{width:100%;height:10px;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%}.kwdivclass[_ngcontent-%COMP%]{border-radius:50px;height:38px;background:none;color:#000;display:flex;justify-content:center;align-items:center;cursor:pointer}"]})}return ye})()},37724:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonDebugPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(84588),a=o(10716),e=o(66788),c=o(70216),l=o(6512),g=o(90520),b=o(6168),_=o(15756),S=o(7388),y=n.__importStar(o(54496)),h=(n.__importStar(o(84588)),[{path:"",component:e.CommonDebugPage}]);f.CommonDebugPageModule=(()=>{class v{static \u0275fac=function(A){return new(A||v)};static \u0275mod=y.\u0275\u0275defineNgModule({type:v});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,a.IonicModule,u.RouterModule.forChild(h),c.PageHeaderModule,l.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,b.PageHeaderMenuModule,_.PrettyjsonModule,S.CheckboxClonModule]})}return v})()},66788:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonDebugPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),u=n.__importStar(o(34388)),a=n.__importStar(o(19668)),e=n.__importStar(o(29743)),c=n.__importStar(o(44716)),l=n.__importStar(o(97048)),g=n.__importStar(o(7992)),b=n.__importStar(o(97092)),_=n.__importStar(o(91368)),S=n.__importStar(o(10716)),y=n.__importStar(o(90212)),m=n.__importStar(o(73088)),h=n.__importStar(o(29856)),C=n.__importStar(o(63792)),v=n.__importStar(o(25856));function M(A,T){if(1&A&&(i.\u0275\u0275elementStart(0,"tr")(1,"td"),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td"),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()()),2&A){const R=T.$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(R.Message),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",R.Color),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(R.Message),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(R.Function)}}f.CommonDebugPage=(()=>{class A{Basics;Debug;Tools;Const;fb;http;Pool;AuthService;Title;constructor(R,N,I,L,O,z,F,q){this.Basics=R,this.Debug=N,this.Tools=I,this.Const=L,this.fb=O,this.http=z,this.Pool=F,this.AuthService=q}ngOnInit(){}ionViewDidEnter(){try{this.Title="Debug"}catch(R){this.Debug.ShowErrorMessage(R.message,"Debug","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnDestroy(){}ClearMessagesButtonCLcicked(){try{this.Debug.Debugmessageliste=[]}catch(R){this.Debug.ShowErrorMessage(R.message,"Debug","ClearMessagesButtonCLcicked",this.Debug.Typen.Page)}}ChangeShowHomeScreenInfos(R){try{this.Basics.ShowHomeScreenInfos=R.status}catch(N){this.Debug.ShowErrorMessage(N,"Debug","ChangeShowHomeScreenInfos",this.Debug.Typen.Page)}}DebugNoExternalEmailChanged(R){try{this.Basics.DebugNoExternalEmail=R.status}catch(N){this.Debug.ShowErrorMessage(N,"Debug","DebugNoExternalEmailChanged",this.Debug.Typen.Page)}}TestButtonChlicked(){}static \u0275fac=function(N){return new(N||A)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider),i.\u0275\u0275directiveInject(a.ToolsProvider),i.\u0275\u0275directiveInject(e.ConstProvider),i.\u0275\u0275directiveInject(c.FormBuilder),i.\u0275\u0275directiveInject(l.HttpClient),i.\u0275\u0275directiveInject(g.DatabasePoolService),i.\u0275\u0275directiveInject(b.DatabaseAuthenticationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:A,selectors:[["common-debug-page"]],decls:47,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[3,"click"],[1,"docinnertable"],[2,"font-weight","bold"],[4,"ngFor","ngForOf"],["PageFooter",""]],template:function(N,I){1&N&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu",2),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"ion-grid")(6,"ion-row")(7,"ion-col")(8,"table",3)(9,"tr")(10,"td")(11,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(O){return I.ChangeShowHomeScreenInfos(O)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13," Zeige Homescreen Zusatzinformationen "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"table",3)(17,"tr")(18,"td")(19,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(O){return I.DebugNoExternalEmailChanged(O)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21," Keine Emails nach au\xdfen senden -> nur an p.hornburger@gmail.com "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(22,"ion-row")(23,"ion-col")(24,"table")(25,"tr")(26,"td")(27,"ion-button",5),i.\u0275\u0275listener("click",function(){return I.TestButtonChlicked()}),i.\u0275\u0275text(28,"Test"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"td")(30,"ion-button",5),i.\u0275\u0275listener("click",function(){return I.ClearMessagesButtonCLcicked()}),i.\u0275\u0275text(31,"Clear Messages"),i.\u0275\u0275elementEnd()()()()()()(),i.\u0275\u0275elementStart(32,"table",6)(33,"tr")(34,"td",7),i.\u0275\u0275text(35,"Skpript"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td",7),i.\u0275\u0275text(37,"Message"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(38,"td",7),i.\u0275\u0275text(39,"Funktion"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(40,M,7,5,"tr",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(41,"br")(42,"br")(43,"abstand-element-fixed"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"ion-footer"),i.\u0275\u0275element(45,"page-footer",null,9),i.\u0275\u0275elementEnd()),2&N&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("ShowSuchleiste",!1),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",I.Basics.ShowHomeScreenInfos),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",I.Basics.DebugNoExternalEmail),i.\u0275\u0275advance(21),i.\u0275\u0275property("ngForOf",I.Debug.Debugmessageliste))},dependencies:[_.NgForOf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonRow,y.PageHeaderComponent,m.AbstandElementFixedComponent,h.PageFooterComponent,C.PageHeaderMenuComponent,v.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return A})()},66068:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(42764),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=o(7388),_=o(72284),S=o(10272),y=o(84104),m=n.__importStar(o(54496)),C=(n.__importStar(o(84588)),[{path:"",component:a.CommonEinstellungenPage}]);f.CommonEinstellungenPageModule=(()=>{class M{static \u0275fac=function(T){return new(T||M)};static \u0275mod=m.\u0275\u0275defineNgModule({type:M});static \u0275inj=m.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(C),l.PageHeaderMenuModule,g.PageFooterModule,b.CheckboxClonModule,_.ButtonValueModule,S.AuswahlDialogModule,y.SafePipeModule]})}return M})()},42764:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonEinstellungenPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(15024)),u=n.__importStar(o(7992)),a=n.__importStar(o(29743)),e=n.__importStar(o(14652)),c=n.__importStar(o(34388)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),b=n.__importStar(o(90212)),_=n.__importStar(o(63792)),S=n.__importStar(o(29856)),y=n.__importStar(o(25856)),m=n.__importStar(o(13228)),h=n.__importStar(o(56584)),C=n.__importStar(o(66144));function v(R,N){if(1&R&&(i.\u0275\u0275elementStart(0,"td")(1,"span"),i.\u0275\u0275text(2,"Testgr\xf6\xdfentest"),i.\u0275\u0275elementEnd()()),2&R){const I=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("font-size",I.Pool.Mitarbeitersettings.Textsize,"px")}}function M(R,N){if(1&R){const I=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",11)(3,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(I);const O=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(O.FavoritenanzahlClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(4,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"tr")(6,"td",11)(7,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(I);const O=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(O.MeilensteineNachlaufClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(8,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"tr")(10,"td",11)(11,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(I);const O=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(O.ZoomfaktorClicked())}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"tr")(13,"td",11)(14,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(I);const O=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(O.TextsizeClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(15,"td",14),i.\u0275\u0275template(16,v,3,2,"td",5),i.\u0275\u0275elementEnd()()}if(2&R){const I=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Anzahl der Favoriten pro Zeile")("Wert_A",I.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten.toString())("Buttoncolor",I.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Meilensteine anzeigen nach Erledigung")("Wert_A",I.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf.toString()+" Kalenderwochen")("Buttoncolor",I.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Zoomfaktor")("Wert_A",I.Pool.Mitarbeitersettings.Zoomfaktor.toString())("Buttoncolor",I.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Textgr\xf6\xdfe")("Wert_A",I.Pool.Mitarbeitersettings.Textsize.toString()+" Pixel")("Buttoncolor",I.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==I.Pool.Mitarbeitersettings)}}function E(R,N){if(1&R){const I=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"table",10)(4,"tr")(5,"td")(6,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Nummer"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275text(8,"Nummer"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Startdatum"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13,"Startdatum"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"tr")(15,"td")(16,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Aufgabe"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(17,"td"),i.\u0275\u0275text(18,"Aufgabe"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(19,"tr")(20,"td")(21,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Bemerkungen"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(22,"td"),i.\u0275\u0275text(23,"Bemerkungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(24,"tr")(25,"td")(26,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Fortschritt"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(27,"td"),i.\u0275\u0275text(28,"Fortschritt"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"tr")(30,"td")(31,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Zeitansatz"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(32,"td"),i.\u0275\u0275text(33,"Zeitansatz"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(34,"tr")(35,"td")(36,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Termin"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(37,"td"),i.\u0275\u0275text(38,"Termin"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(39,"tr")(40,"td")(41,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Tage"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(42,"td"),i.\u0275\u0275text(43,"Tage"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(44,"tr")(45,"td")(46,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Zustaendig"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(47,"td"),i.\u0275\u0275text(48,"Zust\xe4ndig"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(49,"tr")(50,"td")(51,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Status"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(52,"td"),i.\u0275\u0275text(53,"Status"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(54,"tr")(55,"td")(56,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Meintag"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(57,"td"),i.\u0275\u0275text(58,"Meintag"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(59,"tr")(60,"td")(61,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.ListesettingCheckChanged(O,"Meine Woche"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(62,"td"),i.\u0275\u0275text(63,"Meine Woche"),i.\u0275\u0275elementEnd()()()()()()}if(2&R){const I=i.\u0275\u0275nextContext();i.\u0275\u0275advance(6),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowNummer),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowStartdatum),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowAufgabe),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowBemerkung),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowFortschritt),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowZeitansatz),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowTermin),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowTage),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowZustaendig),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowStatus),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowMeintag),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",I.Pool.Mitarbeitersettings.AufgabenShowMeinewoche)}}function A(R,N){if(1&R){const I=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"auswahl-dialog",16),i.\u0275\u0275listener("OkClickedEvent",function(O){i.\u0275\u0275restoreView(I);const z=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(z.AuswahlOkButtonClicked(O))})("CancelClickedEvent",function(){i.\u0275\u0275restoreView(I);const O=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(O.ShowAuswahl=!1)}),i.\u0275\u0275elementEnd()}if(2&R){const I=i.\u0275\u0275nextContext();i.\u0275\u0275property("Auswahlliste",I.Auswahlliste)("Auswahlindex",I.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",I.Auswahltitel)("Iconname","apps-outline")}}f.CommonEinstellungenPage=(()=>{class R{MitarbeitersettingsDB;Pool;Const;Basics;Debug;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;Editorconfig;Signatur;Mitarbeitersubscription;constructor(I,L,O,z,F){this.MitarbeitersettingsDB=I,this.Pool=L,this.Const=O,this.Basics=z,this.Debug=F;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowAuswahl=!1,this.Signatur=this.Const.NONE,this.Auswahldialogorigin=this.Const.NONE,this.Mitarbeitersubscription=null,this.Editorconfig={menubar:!1,statusbar:!1,language:"de",browser_spellcheck:!0,height:800,auto_focus:!0,content_style:"body { color: black; margin: 0; line-height: 0.9; }, ",base_url:"assets/tinymce",suffix:".min",toolbar:[{name:"styles",items:["forecolor","backcolor"]},{name:"formatting",items:["bold","italic","underline","strikethrough"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]}]}}catch(q){this.Debug.ShowErrorMessage(q.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.Mitarbeitersubscription.unsubscribe(),this.Mitarbeitersubscription=null}catch(I){this.Debug.ShowErrorMessage(I,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Mitarbeitersubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(I){this.Debug.ShowErrorMessage(I,"Einstellungen","OnInit",this.Debug.Typen.Page)}}ListesettingCheckChanged(I,L){try{switch(L){case"Nummer":this.Pool.Mitarbeitersettings.AufgabenShowNummer=I.status;break;case"Startdatum":this.Pool.Mitarbeitersettings.AufgabenShowStartdatum=I.status;break;case"Aufgabe":this.Pool.Mitarbeitersettings.AufgabenShowAufgabe=I.status;break;case"Bemerkungen":this.Pool.Mitarbeitersettings.AufgabenShowBemerkung=I.status;break;case"Fortschritt":this.Pool.Mitarbeitersettings.AufgabenShowFortschritt=I.status;break;case"Tage":this.Pool.Mitarbeitersettings.AufgabenShowTage=I.status;break;case"Zeitansatz":this.Pool.Mitarbeitersettings.AufgabenShowZeitansatz=I.status;break;case"Termin":this.Pool.Mitarbeitersettings.AufgabenShowTermin=I.status;break;case"Zustaendig":this.Pool.Mitarbeitersettings.AufgabenShowZustaendig=I.status;break;case"Status":this.Pool.Mitarbeitersettings.AufgabenShowStatus=I.status;break;case"Meintag":this.Pool.Mitarbeitersettings.AufgabenShowMeintag=I.status;break;case"Meine Woche":this.Pool.Mitarbeitersettings.AufgabenShowMeinewoche=I.status}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{}).catch(O=>{this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)})}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)}}FavoritenanzahlClicked(){try{this.Auswahldialogorigin="Favoritenanzahl",this.ShowAuswahl=!0,this.Auswahltitel="Favoritenanzahl festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"4",SecoundColumn:"",Data:4}),this.Auswahlliste.push({Index:1,FirstColumn:"5",SecoundColumn:"",Data:5}),this.Auswahlliste.push({Index:2,FirstColumn:"6",SecoundColumn:"",Data:6}),this.Auswahlliste.push({Index:3,FirstColumn:"7",SecoundColumn:"",Data:7}),this.Auswahlliste.push({Index:4,FirstColumn:"8",SecoundColumn:"",Data:8}),this.Auswahlliste.push({Index:5,FirstColumn:"9",SecoundColumn:"",Data:9}),this.Auswahlliste.push({Index:6,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:7,FirstColumn:"11",SecoundColumn:"",Data:11}),this.Auswahlliste.push({Index:8,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlindex=this.Auswahlliste.findIndex(I=>I.Data===this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(I){this.Debug.ShowErrorMessage(I.message,"Mitarbeiter Settings","FavoritenanzahlClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(I){try{switch(this.Auswahldialogorigin){case"Favoritenanzahl":this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten=I;break;case"MeielnsteineNachlauf":this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf=I;break;case"Zoomfaktor":this.Pool.Mitarbeitersettings.Zoomfaktor=I;break;case"Textgroesse":this.Pool.Mitarbeitersettings.Textsize=I}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{switch(this.Auswahldialogorigin){case"Favoritenanzahl":case"MeielnsteineNachlauf":break;case"Zoomfaktor":this.Pool.MitarbeitersettingsChanged.emit()}}).catch(L=>{this.Debug.ShowErrorMessage(L.message,"Einstellungen","MaxFavoritenanzahlChanged",this.Debug.Typen.Page)}),this.ShowAuswahl=!1}catch(L){this.Debug.ShowErrorMessage(L.message,"Einstellungen","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}MeilensteineNachlaufClicked(){try{this.Auswahldialogorigin="MeielnsteineNachlauf",this.ShowAuswahl=!0,this.Auswahltitel="Mailensteine Nachlauf festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"1 Kalderwoche",SecoundColumn:"",Data:1}),this.Auswahlliste.push({Index:1,FirstColumn:"2 Kalenderwochen",SecoundColumn:"",Data:2}),this.Auswahlliste.push({Index:2,FirstColumn:"3 Kalenderwochen",SecoundColumn:"",Data:3}),this.Auswahlliste.push({Index:3,FirstColumn:"4 Kalenderwochen",SecoundColumn:"",Data:4}),this.Auswahlindex=this.Auswahlliste.findIndex(I=>I.Data===this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(I){this.Debug.ShowErrorMessage(I.message,"Einstellungen","MeilensteineNachlaufClicked",this.Debug.Typen.Page)}}ZoomfaktorClicked(){try{this.Auswahldialogorigin="Zoomfaktor",this.ShowAuswahl=!0,this.Auswahltitel="Zoomfaktor festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"120",SecoundColumn:"",Data:120}),this.Auswahlliste.push({Index:1,FirstColumn:"110",SecoundColumn:"",Data:110}),this.Auswahlliste.push({Index:2,FirstColumn:"100",SecoundColumn:"",Data:100}),this.Auswahlliste.push({Index:3,FirstColumn:"90",SecoundColumn:"",Data:90}),this.Auswahlliste.push({Index:4,FirstColumn:"80",SecoundColumn:"",Data:80}),this.Auswahlliste.push({Index:5,FirstColumn:"70",SecoundColumn:"",Data:70}),this.Auswahlindex=this.Auswahlliste.findIndex(I=>I.Data===this.Pool.Mitarbeitersettings.Zoomfaktor),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(I){this.Debug.ShowErrorMessage(I,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}}TextsizeClicked(){this.Auswahldialogorigin="Textgroesse",this.ShowAuswahl=!0,this.Auswahltitel="Textgr\xf6\xdfe",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlliste.push({Index:2,FirstColumn:"14",SecoundColumn:"",Data:14}),this.Auswahlliste.push({Index:3,FirstColumn:"16",SecoundColumn:"",Data:16}),this.Auswahlliste.push({Index:4,FirstColumn:"18",SecoundColumn:"",Data:18}),this.Auswahlliste.push({Index:5,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:6,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlindex=this.Auswahlliste.findIndex(I=>I.Data===this.Pool.Mitarbeitersettings.Textsize),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(I){this.Debug.ShowErrorMessage(I,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}replaceAll(I,L,O){return I.split(L).join(O)}PrepareData(){try{this.Signatur=this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0)}catch(I){this.Debug.ShowErrorMessage(I,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}static \u0275fac=function(L){return new(L||R)(i.\u0275\u0275directiveInject(d.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(u.DatabasePoolService),i.\u0275\u0275directiveInject(a.ConstProvider),i.\u0275\u0275directiveInject(e.BasicsProvider),i.\u0275\u0275directiveInject(c.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:R,selectors:[["common-einstellungen-page"]],decls:17,vars:7,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],["valign","top",2,"width","auto"],["class","paddingtable",4,"ngIf"],[4,"ngIf"],[2,"width","800px","padding","6px"],[2,"width","800px","height","800px","border","1px solid gray","padding","4px","border-radius","4px",3,"innerHTML"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[1,"paddingtable"],[2,"width","460px"],[3,"Buttontext","Wert_A","Buttoncolor","ButtonClicked"],["colspan","2"],[2,"width","10px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(L,O){1&L&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td",3),i.\u0275\u0275template(8,M,17,13,"table",4)(9,E,64,12,"ion-grid",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"td",6),i.\u0275\u0275element(11,"div",7),i.\u0275\u0275pipe(12,"safe"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(13,"ion-footer"),i.\u0275\u0275element(14,"page-footer",null,8),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(16,A,1,6,"auswahl-dialog",9)),2&L&&(i.\u0275\u0275advance(8),i.\u0275\u0275property("ngIf",null!==O.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==O.Pool.Mitarbeitersettings),i.\u0275\u0275advance(2),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(12,4,O.Signatur,"html"),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",O.ShowAuswahl))},dependencies:[l.NgIf,g.IonCol,g.IonContent,g.IonFooter,g.IonGrid,g.IonHeader,g.IonRow,b.PageHeaderComponent,_.PageHeaderMenuComponent,S.PageFooterComponent,y.CheckboxClonComponent,m.ButtonValueComponent,h.AuswahlDialogComponent,C.SafePipe],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return R})()},27735:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonHomePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(84588),a=o(10716),e=o(45884),c=o(70216),l=o(6512),g=o(90520),b=o(12095),_=n.__importStar(o(54496)),y=(n.__importStar(o(84588)),[{path:"",component:e.CommonHomePage}]);f.CommonHomePageModule=(()=>{class h{static \u0275fac=function(M){return new(M||h)};static \u0275mod=_.\u0275\u0275defineNgModule({type:h});static \u0275inj=_.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,a.IonicModule,u.RouterModule.forChild(y),c.PageHeaderModule,l.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,b.FiChangelogEditorModule]})}return h})()},45884:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonHomePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(80103),e=o(21112),c=o(36716),l=i.__importStar(o(54496)),g=i.__importStar(o(14652)),b=i.__importStar(o(34388)),_=i.__importStar(o(19668)),S=i.__importStar(o(29743)),y=i.__importStar(o(7992)),m=i.__importStar(o(42348)),h=i.__importStar(o(8608)),C=i.__importStar(o(51708)),v=i.__importStar(o(97092)),M=i.__importStar(o(15024)),E=i.__importStar(o(59460)),A=i.__importStar(o(91368)),T=i.__importStar(o(10716)),R=i.__importStar(o(90212)),N=i.__importStar(o(29856)),I=i.__importStar(o(64168));function L(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"td",12),l.\u0275\u0275element(2,"div",13),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(3,"td",7),l.\u0275\u0275elementStart(4,"td")(5,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.DebugMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.DebugMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.DebugButtonClicked())}),l.\u0275\u0275elementStart(6,"table",9)(7,"tr")(8,"td"),l.\u0275\u0275element(9,"ion-icon",14),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11,"Debug"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275element(12,"td",7),l.\u0275\u0275elementStart(13,"td")(14,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.EinstellungenMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.EinstellungenMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.EinstellungenButtonClicked())}),l.\u0275\u0275elementStart(15,"table",9)(16,"tr")(17,"td"),l.\u0275\u0275element(18,"ion-icon",15),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(19,"td"),l.\u0275\u0275text(20,"Einstellungen"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&ee){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("cursor",G.DebugMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",G.DebugMouseOver?G.Basics.Ionicfarben.Schwarz:G.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",G.DebugMouseOver?"#000000":"white"),l.\u0275\u0275advance(4),l.\u0275\u0275styleProp("cursor",G.EinstellungenMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",G.EinstellungenMouseOver?G.Basics.Ionicfarben.Schwarz:G.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",G.EinstellungenMouseOver?"#000000":"white")}}function O(ee,J){if(1&ee&&(l.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),l.\u0275\u0275element(3,"img",17),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(4,"td",7),l.\u0275\u0275elementEnd()()),2&ee){const G=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275property("src",G.GraphService.UserimageSRC,l.\u0275\u0275sanitizeUrl)}}function z(ee,J){if(1&ee&&(l.\u0275\u0275elementStart(0,"div",18),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&ee){const G=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",G.Basics.Farben.Grau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",null!==G.Pool.Mitarbeiterdaten?G.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function F(ee,J){if(1&ee&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,O,5,1,"table",2)(2,z,2,3,"div",16),l.\u0275\u0275elementContainerEnd()),2&ee){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==G.GraphService.UserimageSRC),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null===G.GraphService.UserimageSRC)}}function q(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),l.\u0275\u0275element(6,"td",7),l.\u0275\u0275elementStart(7,"td")(8,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.LogoutMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.LogoutMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.LogoutButtonClicked())}),l.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),l.\u0275\u0275element(12,"ion-icon",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(13,"td"),l.\u0275\u0275text(14,"Abmelden"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275element(15,"td",7),l.\u0275\u0275template(16,L,21,10,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(17,"td",11),l.\u0275\u0275template(18,F,3,2,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementContainerEnd()}if(2&ee){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(8),l.\u0275\u0275styleProp("cursor",G.LogoutMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",G.LogoutMouseOver?G.Basics.Ionicfarben.Schwarz:G.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",G.LogoutMouseOver?"#000000":"white"),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",!1===G.environment.production),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!1===G.AuthService.ShowLogin)}}function X(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",42),l.\u0275\u0275listener("click",function(){const Ae=l.\u0275\u0275restoreView(G).$implicit,ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.ChangelogClicked(Ae))}),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"td")(5,"div",42),l.\u0275\u0275listener("click",function(){const Ae=l.\u0275\u0275restoreView(G).$implicit,ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.ChangelogClicked(Ae))}),l.\u0275\u0275text(6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"td")(8,"div",42),l.\u0275\u0275listener("click",function(){const Ae=l.\u0275\u0275restoreView(G).$implicit,ye=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ye.ChangelogClicked(Ae))}),l.\u0275\u0275text(9),l.\u0275\u0275elementEnd()()()}if(2&ee){const G=J.$implicit,de=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(de.GetDatum(G.Zeitstempel)),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(G.Version),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(G.Beschreibung)}}function ce(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",34)(1,"table",35)(2,"tr")(3,"td",36),l.\u0275\u0275text(4,"Change Log"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"tr",37)(6,"td"),l.\u0275\u0275text(7,"Datum"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(8,"td"),l.\u0275\u0275text(9,"Version"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11,"Beschreibung"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(12,X,10,3,"tr",38),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(13,"ion-button",39),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(be.AddChangelogClicked())}),l.\u0275\u0275element(14,"ion-icon",40),l.\u0275\u0275elementStart(15,"ion-text",41),l.\u0275\u0275text(16,"Neuer Eintrag"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(17,"table",35)(18,"tr")(19,"td")(20,"b"),l.\u0275\u0275text(21,"Build:"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(22,"td"),l.\u0275\u0275text(23),l.\u0275\u0275elementEnd()()()()}if(2&ee){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(3),l.\u0275\u0275styleProp("color",G.Basics.Farben.BAEBlau),l.\u0275\u0275advance(9),l.\u0275\u0275property("ngForOf",G.Pool.Changlogliste),l.\u0275\u0275advance(),l.\u0275\u0275property("color","grau"),l.\u0275\u0275advance(10),l.\u0275\u0275textInterpolate(G.Basics.AppBuild)}}function K(ee,J){1&ee&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",52),l.\u0275\u0275element(2,"img",53),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}function ne(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",43),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.StandorteButtonClicked())})("mouseenter",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.StandortMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.StandortMouseOver=!1)}),l.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",24),l.\u0275\u0275element(7,"ion-icon",44),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(8,"tr")(9,"td",31)(10,"table")(11,"tr")(12,"td",45),l.\u0275\u0275text(13),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(14,"td",46),l.\u0275\u0275elementStart(15,"td")(16,"ion-text",47),l.\u0275\u0275text(17,"Standorte"),l.\u0275\u0275elementEnd()()()()()()()()(),l.\u0275\u0275elementStart(18,"td"),l.\u0275\u0275element(19,"div",48),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(20,"td")(21,"div",43),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.MitarbeiterButtonClicked())})("mouseenter",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.MitarbeiterMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(be.MitarbeiterMouseOver=!1)}),l.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",24)(25,"div",49)(26,"div",50),l.\u0275\u0275element(27,"ion-icon",51),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(28,K,3,0,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(29,"tr")(30,"td",31)(31,"table")(32,"tr")(33,"td",45),l.\u0275\u0275text(34),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(35,"td",46),l.\u0275\u0275elementStart(36,"td",31)(37,"ion-text",47),l.\u0275\u0275text(38,"Mitarbeiter"),l.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&ee){const G=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(7),l.\u0275\u0275property("color",G.StandortMouseOver?G.Basics.Ionicfarben.BAEBlau:G.Basics.Ionicfarben.BurnicklGrau),l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("color",G.Basics.Farben.BAEBlau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",G.Pool.Standorteliste.length," "),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(3),l.\u0275\u0275styleProp("background",G.Basics.Farben.Grau),l.\u0275\u0275advance(8),l.\u0275\u0275property("color",G.MitarbeiterMouseOver?G.Basics.Ionicfarben.BAEBlau:G.Basics.Ionicfarben.BurnicklGrau),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==G.Pool.Mitarbeiterdaten&&!1===G.CheckAllMitarbeiterdaten()),l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("color",G.Basics.Farben.BAEBlau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",G.CountMitarbeiter()," "),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau)}}function Y(ee,J){if(1&ee&&(l.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",24),l.\u0275\u0275template(3,ne,39,13,"table",2),l.\u0275\u0275elementEnd()()()),2&ee){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",null!==G.Pool.Mitarbeiterdaten&&!0===G.Pool.Mitarbeiterdaten.Planeradministrator)}}function H(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,ce,24,5,"div",19),l.\u0275\u0275elementStart(2,"div",20)(3,"div",21)(4,"ion-grid")(5,"ion-row")(6,"ion-col",22),l.\u0275\u0275element(7,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",24),l.\u0275\u0275element(13,"img",25),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",22),l.\u0275\u0275element(16,"div",26),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",27),l.\u0275\u0275template(20,Y,4,1,"table",28),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",22),l.\u0275\u0275element(23,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",22),l.\u0275\u0275element(26,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",24)(32,"table")(33,"tr")(34,"td")(35,"div",29),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.PlanerButtonClicked())}),l.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",24),l.\u0275\u0275element(39,"ion-icon",30),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(40,"tr")(41,"td",31)(42,"ion-text",32),l.\u0275\u0275text(43,"Urlaub - Homeoffice - Planer"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(44,"tr")(45,"td",33),l.\u0275\u0275text(46),l.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&ee){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",G.Basics.ShowHomeScreenInfos),l.\u0275\u0275advance(19),l.\u0275\u0275property("ngIf",!1===G.Pool.ShowProgress),l.\u0275\u0275advance(19),l.\u0275\u0275property("color",G.Basics.Ionicfarben.BAEBlau),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate2(" Version: ",G.Basics.AppVersionName," / ",G.Basics.AppVersionDatum," ")}}function ae(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",54)(2,"ion-grid")(3,"ion-row")(4,"ion-col",22),l.\u0275\u0275element(5,"div",55),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",24),l.\u0275\u0275element(11,"img",25),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),l.\u0275\u0275element(14,"div",26),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",22)(17,"table",5)(18,"tr")(19,"td",24)(20,"div",56)(21,"table",5)(22,"tr")(23,"td",24),l.\u0275\u0275element(24,"ion-icon",30),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(25,"tr")(26,"td",31)(27,"ion-text",32),l.\u0275\u0275text(28,"Urlaub - Homeoffice - Planer"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(29,"tr")(30,"td",33),l.\u0275\u0275text(31),l.\u0275\u0275elementEnd()()()()()()()()(),l.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",57)(37,"ion-button",58),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.LoginButtonClicked())}),l.\u0275\u0275text(38,"Login"),l.\u0275\u0275elementEnd()()()()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&ee){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(24),l.\u0275\u0275property("color",G.Basics.Ionicfarben.BAEBlau),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",G.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate2(" Version: ",G.Basics.AppVersionName," / ",G.Basics.AppVersionDatum," "),l.\u0275\u0275advance(6),l.\u0275\u0275property("color",G.Basics.Ionicfarben.BAEBlau)}}function re(ee,J){if(1&ee){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"fi-changelog-editor",59),l.\u0275\u0275listener("OkClickedEvent",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){l.\u0275\u0275restoreView(G);const be=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(be.ShowChangelogEditor=!1)}),l.\u0275\u0275elementEnd()}}f.CommonHomePage=(()=>{class ee{Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;DBMitarbeitersettings;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(G,de,be,Ae,ye,le,Me,$e,qe,tt,mt,st){this.Basics=G,this.Debug=de,this.Tools=be,this.Const=Ae,this.Pool=ye,this.authService=le,this.msalBroadcastService=Me,this.GraphService=$e,this.DBChangelog=qe,this.AuthService=tt,this.DBMitarbeitersettings=mt,this.Menuservice=st;try{this.StandortMouseOver=!1,this.MitarbeiterMouseOver=!1,this.ProjekteMouseOver=!1,this.FavoritenMouseOver=!1,this.LogoutMouseOver=!1,this.DebugMouseOver=!1,this.EinstellungenMouseOver=!1,this.PlayMouseOver=!1,this.BackgroundimageURL="../../../assets/background/"+d.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(ft){this.Debug.ShowErrorMessage(ft.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,a.filter)(G=>G.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(G=>{const de=G.payload;this.authService.instance.setActiveAccount(de.account),this.AuthService.ActiveUser=de.account,this.AuthService.SetShowLoginStatus(),this.AuthService.LoginSuccessEvent.emit()})}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){try{this.Backgroundinterval=null}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","ionViewDidLeave",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ChangelogSubscription.unsubscribe()}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","OnDestroy",this.Debug.Typen.Page)}}FavoritChangedHandler(G){}DebugButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.DebugPage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","DebugButtonClicked",this.Debug.Typen.Page)}}EinstellungenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.EinstellungenPage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","EinstellungenButtonClicked",this.Debug.Typen.Page)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","LogoutButtonClicked",this.Debug.Typen.Page)}}LoginButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Login()}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","LoginButtonClicked",this.Debug.Typen.Page)}}StandorteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiStandortelistePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","StandorteButtonClicked",this.Debug.Typen.Page)}}MitarbeiterButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiMitarbeiterlistePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","MitarbeiterButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung,this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","PlanerButtonClicked",this.Debug.Typen.Page)}}ProjekteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjListePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","ProjekteButtonClicked",this.Debug.Typen.Page)}}FavoritenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjFavoritenlistePage)}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","FavoritenButtonClicked",this.Debug.Typen.Page)}}PlayButtonClicked(){return n(function*(){})()}GetFavoritenlistehoehe(){try{let G=0;return null!==this.Pool.Mitarbeiterdaten&&(G=0===this.Pool.Mitarbeiterdaten.Favoritenliste.length?2:this.Pool.Mitarbeiterdaten.Favoritenliste.length),0===G&&(G=1),50*G}catch(G){this.Debug.ShowErrorMessage(G.message,"Home","GetFavoritenlistehoehe",this.Debug.Typen.Page)}}AddChangelogClicked(){try{this.DBChangelog.CurrentChangelog=this.DBChangelog.GetEmptyChangelog(),this.ShowChangelogEditor=!0}catch(G){this.Debug.ShowErrorMessage(G,"Home","AddChangelogClicked",this.Debug.Typen.Page)}}GetDatum(G){try{return(0,u.default)(G).format("DD.MM.YYYY")}catch(de){this.Debug.ShowErrorMessage(de,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(G){try{this.DBChangelog.CurrentChangelog=d.cloneDeep(G),this.ShowChangelogEditor=!0}catch(de){this.Debug.ShowErrorMessage(de,"Home","ChangelogClicked",this.Debug.Typen.Page)}}PrepareDaten(){try{let G;this.Pool.Changlogliste.length>0?(G=this.Pool.Changlogliste[0],this.Basics.AppVersionName=G.Version,this.Basics.AppVersionDatum=(0,u.default)(G.Zeitstempel).format("DD.MM.YYYY")):(this.Basics.AppVersionName="none",this.Basics.AppVersionDatum="none")}catch(G){this.Debug.ShowErrorMessage(G,"Home","PrepareDaten",this.Debug.Typen.Page)}}CountMitarbeiter(){try{return d.filter(this.Pool.Mitarbeiterliste,G=>!G.Archiviert).length.toString()}catch(G){this.Debug.ShowErrorMessage(G,"Home","CountMitarbeiter",this.Debug.Typen.Page)}}CountProjekte(){try{return 0}catch(G){this.Debug.ShowErrorMessage(G,"Home","CountProjekte",this.Debug.Typen.Page)}}RelaodButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.PlayButtonClicked()}catch(G){this.Debug.ShowErrorMessage(G,"Home","RelaodButtonClicked",this.Debug.Typen.Page)}}environment=c.environment;CheckAllMitarbeiterdaten(){try{let G=!0;for(let de of this.Pool.Mitarbeiterliste)!1===de.Archiviert&&(""===de.Kuerzel||""===de.StandortID)&&(G=!1);return G}catch(G){this.Debug.ShowErrorMessage(G,"Home","CheckAllMitarbeiterdaten",this.Debug.Typen.Page)}}static \u0275fac=function(de){return new(de||ee)(l.\u0275\u0275directiveInject(g.BasicsProvider),l.\u0275\u0275directiveInject(b.DebugProvider),l.\u0275\u0275directiveInject(_.ToolsProvider),l.\u0275\u0275directiveInject(S.ConstProvider),l.\u0275\u0275directiveInject(y.DatabasePoolService),l.\u0275\u0275directiveInject(m.MsalService),l.\u0275\u0275directiveInject(m.MsalBroadcastService),l.\u0275\u0275directiveInject(h.Graphservice),l.\u0275\u0275directiveInject(C.DatabaseChangelogService),l.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),l.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),l.\u0275\u0275directiveInject(E.MenueService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:ee,selectors:[["common-home-page"]],decls:11,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent",4,"ngIf"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","log-out-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],["name","bug-outline",3,"color"],["name","settings-outline",3,"color"],["class","userkuerzelsmall",3,"background",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["class","changelogdiv",4,"ngIf"],[2,"width","100%","height","100%","background","#F2F4F4"],[2,"position","absolute","width","100%","height","100%","z-index","2"],["size","12"],[2,"height","20px"],["align","center"],["src","assets/images/group_logo.png",2,"height","100px"],[2,"height","40px"],[2,"height","140px","width","100%","background","none"],["style","width: 100%;",4,"ngIf"],[1,"buttonbigclass",3,"click"],["name","sunny-outline",2,"font-size","120px",3,"color"],[2,"text-align","center"],[2,"font-size","26px",3,"color"],[2,"text-align","center","font-size","90%","color","gray"],[1,"changelogdiv"],[1,"paddingtable",2,"font-size","80%"],["colspan","3",2,"font-size","140%","font-weight","bold"],[2,"font-weight","bold","color","#454545"],[4,"ngFor","ngForOf"],["size","small",3,"color","click"],["name","add-circle-outline","color","weiss","slot","start",2,"font-size","90%"],["color","weiss",2,"font-size","80%"],[2,"width","100%","cursor","pointer",3,"click"],[1,"buttonclass",3,"click","mouseenter","mouseleave"],["name","location-outline",2,"font-size","80px",3,"color"],[2,"font-size","22px","font-weight","bold"],[2,"width","4px"],[2,"font-size","22px",3,"color"],[1,"trennerdiv"],[2,"height","90px","width","100px","background","none","position","relative"],[1,"projektbuttoniconclass"],["name","people-outline",2,"font-size","80px",3,"color"],[1,"projektbuttoniconerrorclass"],["src","/assets/svgs/alert.svg",2,"height","44px"],[2,"width","100%","height","100%","background","#F2F4F4","z-index","10"],[2,"height","30px"],[1,"buttonbigclass",2,"z-index","100"],[2,"text-align","center","vertical-align","center","height","100px"],[3,"color","click"],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent"]],template:function(de,be){1&de&&(l.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),l.\u0275\u0275template(3,q,19,7,"ng-container",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"ion-content"),l.\u0275\u0275template(5,H,47,6,"ng-container",2)(6,ae,39,5,"ng-container",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"ion-footer"),l.\u0275\u0275element(8,"page-footer",null,3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(10,re,1,0,"fi-changelog-editor",4)),2&de&&(l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",!1===be.AuthService.ShowLogin),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!1===be.AuthService.ShowLogin),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!0===be.AuthService.ShowLogin),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",be.ShowChangelogEditor))},dependencies:[A.NgForOf,A.NgIf,T.IonButton,T.IonCol,T.IonContent,T.IonFooter,T.IonGrid,T.IonHeader,T.IonIcon,T.IonRow,T.IonText,R.PageHeaderComponent,N.PageFooterComponent,I.FiChangelogEditorComponent],styles:[".projektbuttoniconclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:100;position:absolute;display:flex;justify-content:center;align-items:center}.projektbuttoniconerrorclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:200;position:absolute;display:flex;justify-content:center;align-items:center}.trennerdiv[_ngcontent-%COMP%]{width:100px;height:10px;border-radius:4px;margin:6px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:160px;height:140px;cursor:pointer;background:#fff}.changelogdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:360px;height:300px;position:absolute;padding:8px;left:20px;bottom:20px;background:#fff;z-index:1000;overflow:auto}.outputdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:500px;height:600px;position:absolute;padding:8px;left:20px;top:560px;background:#fff;z-index:1000;overflow:auto}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userimage[_ngcontent-%COMP%]{display:inline-block;width:60px;height:60px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700}.buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:360px;height:220px;cursor:pointer;background:#fff}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:80px;height:80px;cursor:pointer;background:#fff}.favlistedivclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:400px;cursor:pointer;background:#fff;overflow:auto}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return ee})()},64316:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonPdfViewerPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(84588),a=o(10716),e=o(95896),c=o(70216),l=o(84104),g=o(76688),b=o(90520),_=n.__importStar(o(54496)),y=(n.__importStar(o(84588)),[{path:"",component:e.CommonPdfviewPage}]);f.CommonPdfViewerPageModule=(()=>{class h{static \u0275fac=function(M){return new(M||h)};static \u0275mod=_.\u0275\u0275defineNgModule({type:h});static \u0275inj=_.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,a.IonicModule,c.PageHeaderModule,u.RouterModule.forChild(y),l.SafePipeModule,g.PdfViewerModule,b.PageFooterModule]})}return h})()},95896:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonPdfviewPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),u=n.__importStar(o(34388)),a=n.__importStar(o(29743)),e=n.__importStar(o(19668)),c=n.__importStar(o(34396)),l=n.__importStar(o(8608)),g=n.__importStar(o(33940)),b=n.__importStar(o(91368)),_=n.__importStar(o(10716)),S=n.__importStar(o(90212)),y=n.__importStar(o(76688)),m=n.__importStar(o(29856));function h(v,M){if(1&v&&i.\u0275\u0275element(0,"pdf-viewer",12),2&v){const E=i.\u0275\u0275nextContext();i.\u0275\u0275property("src",E.GraphService.CurrentPDFDownload.url)("render-text",!0)("original-size",!0)}}f.CommonPdfviewPage=(()=>{class v{Basics;Debug;Const;Tools;Fehlerservice;GraphService;LoadingAnimation;Titel="Zoomtest";BackMouseOver;constructor(E,A,T,R,N,I,L){this.Basics=E,this.Debug=A,this.Const=T,this.Tools=R,this.Fehlerservice=N,this.GraphService=I,this.LoadingAnimation=L;try{this.BackMouseOver=!1}catch(O){this.Debug.ShowErrorMessage(O.message,"Common PDF Viewer","Constructor",this.Debug.Typen.Page)}}BackButtonClicked(){try{this.Tools.PopPage()}catch(E){this.Debug.ShowErrorMessage(E.message,"Common PDF Viewer","BackButtonClicked",this.Debug.Typen.Component)}}static \u0275fac=function(A){return new(A||v)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider),i.\u0275\u0275directiveInject(a.ConstProvider),i.\u0275\u0275directiveInject(e.ToolsProvider),i.\u0275\u0275directiveInject(c.ErrorService),i.\u0275\u0275directiveInject(l.Graphservice),i.\u0275\u0275directiveInject(g.LoadingAnimationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:v,selectors:[["common-pdfview-page"]],decls:27,vars:7,consts:[[1,"ion-no-border"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","caret-back-circle-outline",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[2,"font-size","100%","color","white"],["style","width: 100%; height: 100%",3,"src","render-text","original-size",4,"ngIf"],["PageFooter",""],[2,"width","100%","height","100%",3,"src","render-text","original-size"]],template:function(A,T){1&A&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table",1)(3,"tr")(4,"td",2)(5,"table")(6,"tr"),i.\u0275\u0275element(7,"td",3),i.\u0275\u0275elementStart(8,"td")(9,"div",4),i.\u0275\u0275listener("mouseenter",function(){return T.BackMouseOver=!0})("mouseleave",function(){return T.BackMouseOver=!1})("click",function(){return T.BackButtonClicked()}),i.\u0275\u0275elementStart(10,"table",5)(11,"tr")(12,"td"),i.\u0275\u0275element(13,"ion-icon",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(16,"td",3),i.\u0275\u0275elementStart(17,"td",7),i.\u0275\u0275element(18,"div",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(19,"td",3),i.\u0275\u0275elementStart(20,"td",9),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()()()()(),i.\u0275\u0275elementStart(22,"ion-content"),i.\u0275\u0275template(23,h,1,3,"pdf-viewer",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"ion-footer"),i.\u0275\u0275element(25,"page-footer",null,11),i.\u0275\u0275elementEnd()),2&A&&(i.\u0275\u0275advance(9),i.\u0275\u0275styleProp("cursor",T.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",T.BackMouseOver?T.Basics.Ionicfarben.Schwarz:T.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",T.BackMouseOver?"black":"white"),i.\u0275\u0275advance(7),i.\u0275\u0275textInterpolate(null!==T.GraphService.CurrentPDFDownload?T.GraphService.CurrentPDFDownload.name:""),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==T.GraphService.CurrentPDFDownload))},dependencies:[b.NgIf,_.IonContent,_.IonFooter,_.IonHeader,_.IonIcon,S.PageHeaderComponent,y.PdfViewerComponent,m.PageFooterComponent],styles:[".trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return v})()},79112:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonTestseitePageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(5944),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=n.__importStar(o(54496)),S=(n.__importStar(o(84588)),[{path:"",component:a.CommonTestseitePage}]);f.CommonTestseitePageModule=(()=>{class m{static \u0275fac=function(v){return new(v||m)};static \u0275mod=b.\u0275\u0275defineNgModule({type:m});static \u0275inj=b.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(S),l.PageHeaderMenuModule,g.PageFooterModule]})}return m})()},5944:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonTestseitePage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(59460)),u=n.__importStar(o(34388)),a=n.__importStar(o(10716)),e=n.__importStar(o(90212)),c=n.__importStar(o(63792)),l=n.__importStar(o(29856));f.CommonTestseitePage=(()=>{class b{Menuservice;Debug;constructor(S,y){this.Menuservice=S,this.Debug=y}ngOnInit(){}static \u0275fac=function(y){return new(y||b)(i.\u0275\u0275directiveInject(d.MenueService),i.\u0275\u0275directiveInject(u.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:b,selectors:[["common-testseite-page"]],decls:24,vars:3,consts:[[1,"ion-no-border"],["PageHeader",""],[1,"paddingtable"],["PageFooter",""]],template:function(y,m){1&y&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td"),i.\u0275\u0275text(8,"Mainmenu Bereich: "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(11,"tr")(12,"td"),i.\u0275\u0275text(13,"Firmamenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(16,"tr")(17,"td"),i.\u0275\u0275text(18,"Projektmenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(19,"td"),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(21,"ion-footer"),i.\u0275\u0275element(22,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&y&&(i.\u0275\u0275advance(10),i.\u0275\u0275textInterpolate(m.Menuservice.MainMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(m.Menuservice.FirmaMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(m.Menuservice.ProjekteMenuebereich))},dependencies:[a.IonContent,a.IonFooter,a.IonHeader,e.PageHeaderComponent,c.PageHeaderMenuComponent,l.PageFooterComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return b})()},53964:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(79444),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=o(6232),_=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(84588)),[{path:"",component:a.CommonUrlaubEinstellungenPage}]);f.CommonUrlaubEinstellungenPageModule=(()=>{class A{static \u0275fac=function(N){return new(N||A)};static \u0275mod=C.\u0275\u0275defineNgModule({type:A});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,_.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return A})()},79444:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubEinstellungenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(14652)),l=i.__importStar(o(7992)),g=i.__importStar(o(9544)),b=i.__importStar(o(22848)),_=i.__importStar(o(29743)),S=i.__importStar(o(58864)),y=i.__importStar(o(15024)),m=i.__importStar(o(48044)),h=i.__importStar(o(34388)),C=i.__importStar(o(91368)),v=i.__importStar(o(10716)),M=i.__importStar(o(90212)),E=i.__importStar(o(63792)),A=i.__importStar(o(29856)),T=i.__importStar(o(56584)),R=i.__importStar(o(25856)),N=i.__importStar(o(80887)),I=["PageHeader"],L=["PageFooter"];function O(J,G){if(1&J&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&J){const de=G.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(de.Vorname+" "+de.Name)}}function z(J,G){if(1&J&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,O,3,1,"tr",14),e.\u0275\u0275elementContainerEnd()),2&J){const de=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",de.Projektbeteiligteliste)}}function F(J,G){1&J&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td"),e.\u0275\u0275text(5," Bitte w\xe4hle hier alle Personen aus mit denen du regelm\xe4\xdfig zusammenarbeitest,"),e.\u0275\u0275element(6,"br"),e.\u0275\u0275text(7,"oder Personen die eventuell deine Urlaubsvertretung \xfcbernehmen k\xf6nnen. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function q(J,G){1&J&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Urlaubsfreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function X(J,G){if(1&J&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&J){const de=G.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(de.Vorname+" "+de.Name)}}function ce(J,G){1&J&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Homeofficefreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function K(J,G){if(1&J&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&J){const de=G.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(de.Vorname+" "+de.Name)}}function ne(J,G){if(1&J){const de=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(Ae){const le=e.\u0275\u0275restoreView(de).$implicit,Me=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Me.FerienBlockedChanged(Ae,le.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&J){const de=G.$implicit,be=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",be.CheckFerienBlocker(de.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(be.GetDatum(de.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(be.GetDatum(de.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(de.Name)}}function Y(J,G){if(1&J){const de=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(Ae){const le=e.\u0275\u0275restoreView(de).$implicit,Me=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Me.FeiertagBlockedChanged(Ae,le.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&J){const de=G.$implicit,be=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",be.CheckFeiertagBlocker(de.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(be.GetDatum(de.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(be.GetDatum(de.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(de.Name)}}function H(J,G){if(1&J){const de=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col",8)(3,"ion-text",9)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",8)(8,"table",10),e.\u0275\u0275template(9,z,2,1,"ng-container",3)(10,F,8,0,"ng-container",3),e.\u0275\u0275elementStart(11,"tr")(12,"td",11)(13,"ion-button",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(de);const Ae=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ae.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(14,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"ion-text",9)(18,"b"),e.\u0275\u0275text(19,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",13)(22,"table",10),e.\u0275\u0275template(23,q,5,0,"tr",3)(24,X,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",9)(28,"b"),e.\u0275\u0275text(29,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col",13)(32,"table",10),e.\u0275\u0275template(33,ce,5,0,"tr",3)(34,K,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col",15)(37,"ion-text",9)(38,"b"),e.\u0275\u0275text(39,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"ion-col",15)(41,"ion-text",9)(42,"b"),e.\u0275\u0275text(43,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",15)(46,"table",10)(47,"tr",16),e.\u0275\u0275element(48,"td"),e.\u0275\u0275elementStart(49,"td"),e.\u0275\u0275text(50,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275text(52,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,ne,9,4,"tr",14),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"ion-col",15)(57,"table",10)(58,"tr",16),e.\u0275\u0275element(59,"td"),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(62,"td"),e.\u0275\u0275text(63,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"td"),e.\u0275\u0275text(65,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(66,Y,9,4,"tr",14),e.\u0275\u0275elementEnd()()()()}if(2&J){const de=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",de.Projektbeteiligteliste.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===de.Projektbeteiligteliste.length),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf",0===de.Urlaubsfreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",de.Urlaubsfreigeberliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",0===de.Homeofficefreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",de.Homeofficefreigeberliste),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",de.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",de.Feiertageliste)}}function ae(J,G){if(1&J){const de=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",19),e.\u0275\u0275listener("OkClickedEvent",function(Ae){e.\u0275\u0275restoreView(de);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.AuswahlOkButtonClicked(Ae))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(de);const Ae=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ae.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&J){const de=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",de.Auswahlliste)("Auswahlindex",de.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",de.Auswahltitel)("Iconname","")}}function re(J,G){if(1&J){const de=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",20),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(de);const Ae=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ae.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ae){e.\u0275\u0275restoreView(de);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.MitarbeiterauswahlOkButtonClicked(Ae))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(de);const Ae=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ae.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&J){const de=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",de.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",de.MitarbeiterMultiselect)("AuswahlIDliste",de.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function W(J,G){if(1&J){const de=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",21),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(de);const Ae=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ae.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ae){e.\u0275\u0275restoreView(de);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.MitarbeiterauswahlOkButtonClicked(Ae))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(de);const Ae=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ae.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&J){const de=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",de.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",de.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",de.AuswahlIDliste)}}f.CommonUrlaubEinstellungenPage=(()=>{class J{Basics;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;Urlaubsfreigeberliste;Homeofficefreigeberliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;DataSubscription;constructor(de,be,Ae,ye,le,Me,$e,qe,tt){this.Basics=de,this.Pool=be,this.DB=Ae,this.DBMitarbeiter=ye,this.Const=le,this.DBStandort=Me,this.DBMitarbeiterstettings=$e,this.Auswahlservice=qe,this.Debug=tt;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Ferienliste=[],this.Feiertageliste=[],this.Projektbeteiligteliste=[],this.Urlaubsfreigeberliste=[],this.Homeofficefreigeberliste=[]}catch(mt){this.Debug.ShowErrorMessage(mt.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter)}catch(de){this.Debug.ShowErrorMessage(de.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let de,be;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let Ae of this.DB.CurrentUrlaub.Projektbeteiligteliste)de=this.DBMitarbeiter.GetMitarbeiterByID(Ae.MitarbeiterID),null!==de&&this.Projektbeteiligteliste.push(de);this.Projektbeteiligteliste.sort((Ae,ye)=>Ae.Nameye.Name?1:0),be=d.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID}),this.Urlaubsfreigeberliste=[];for(let Ae of be.Urlaubfreigabepersonen)de=d.find(this.Pool.Mitarbeiterliste,{_id:Ae}),d.isUndefined(de)||this.Urlaubsfreigeberliste.push(de);this.Urlaubsfreigeberliste.sort((Ae,ye)=>Ae.Nameye.Name?1:0),this.Homeofficefreigeberliste=[];for(let Ae of be.Homeofficefreigabepersonen)de=d.find(this.Pool.Mitarbeiterliste,{_id:Ae}),d.isUndefined(de)||this.Homeofficefreigeberliste.push(de);this.Homeofficefreigeberliste.sort((Ae,ye)=>Ae.Nameye.Name?1:0),this.Ferienliste=[],d.isUndefined(this.DB.Ferienliste[this.DB.Laendercode])||(this.Ferienliste=d.cloneDeep(this.DB.Ferienliste[this.DB.Laendercode])),this.Feiertageliste=[],d.isUndefined(this.DB.Feiertageliste[this.DB.Laendercode])||(this.Feiertageliste=d.cloneDeep(this.DB.Feiertageliste[this.DB.Laendercode]))}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","PrepareData",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(de){try{let be,Ae,ye;switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl:this.DB.CurrentUrlaub.Projektbeteiligteliste=d.filter(this.DB.CurrentUrlaub.Projektbeteiligteliste,le=>-1!==de.indexOf(le.MitarbeiterID));for(let le of de)be=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:le}),d.isUndefined(be)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:le,Display:!1});ye=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),this.DB.CurrentMitarbeiter.Urlaubsliste[ye]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()});break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:Ae=d.find(this.Pool.Mitarbeiterliste,{_id:de[0]}),this.DB.CurrentMitarbeiter=Ae,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(be){this.Debug.ShowErrorMessage(be.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let de=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:de,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),de++;for(let be of this.Pool.Standorteliste)this.Auswahlliste.push({Index:de,FirstColumn:be.Kuerzel,SecoundColumn:be.Standort,Data:be}),de++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(de){this.Debug.ShowErrorMessage(de.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(de){var be=this;return n(function*(){try{switch(be.Auswahldialogorigin){case"Urlaub":be.DB.CurrentMitarbeiter.Urlaub=de,be.DBMitarbeiter.UpdateMitarbeiterUrlaub(be.DB.CurrentMitarbeiter);break;case be.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:be.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(de),be.Pool.Mitarbeitersettings.StandortFilter=null!==de?de._id:be.Const.NONE,be.DBMitarbeiterstettings.UpdateMitarbeitersettings(be.Pool.Mitarbeitersettings,null).then(()=>{be.PrepareData(),be.DBStandort.StandortfilterChanged.emit()})}be.ShowAuswahl=!1,be.PrepareData()}catch(Ae){be.Debug.ShowErrorMessage(Ae.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",be.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let de of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(de.MitarbeiterID)}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(de){try{return(0,u.default)(de).format("DD.MM.YYYY")}catch(be){this.Debug.ShowErrorMessage(be,"Urlaub Einstellungen Page","GetDatum",this.Debug.Typen.Page)}}UrlaubClickedEvent(){try{this.Auswahldialogorigin="Urlaub",this.Auswahlhoehe=600,this.Auswahltitel="Urlaubsanspruch festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"Tage",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"11",SecoundColumn:"Tage",Data:11}),this.Auswahlliste.push({Index:2,FirstColumn:"12",SecoundColumn:"Tage",Data:12}),this.Auswahlliste.push({Index:3,FirstColumn:"13",SecoundColumn:"Tage",Data:13}),this.Auswahlliste.push({Index:4,FirstColumn:"14",SecoundColumn:"Tage",Data:14}),this.Auswahlliste.push({Index:5,FirstColumn:"15",SecoundColumn:"Tage",Data:15}),this.Auswahlliste.push({Index:6,FirstColumn:"16",SecoundColumn:"Tage",Data:16}),this.Auswahlliste.push({Index:7,FirstColumn:"17",SecoundColumn:"Tage",Data:17}),this.Auswahlliste.push({Index:8,FirstColumn:"18",SecoundColumn:"Tage",Data:18}),this.Auswahlliste.push({Index:9,FirstColumn:"19",SecoundColumn:"Tage",Data:19}),this.Auswahlliste.push({Index:10,FirstColumn:"20",SecoundColumn:"Tage",Data:20}),this.Auswahlliste.push({Index:11,FirstColumn:"21",SecoundColumn:"Tage",Data:21}),this.Auswahlliste.push({Index:12,FirstColumn:"22",SecoundColumn:"Tage",Data:22}),this.Auswahlliste.push({Index:13,FirstColumn:"23",SecoundColumn:"Tage",Data:23}),this.Auswahlliste.push({Index:14,FirstColumn:"24",SecoundColumn:"Tage",Data:24}),this.Auswahlliste.push({Index:15,FirstColumn:"25",SecoundColumn:"Tage",Data:25}),this.Auswahlliste.push({Index:16,FirstColumn:"26",SecoundColumn:"Tage",Data:26}),this.Auswahlliste.push({Index:17,FirstColumn:"27",SecoundColumn:"Tage",Data:27}),this.Auswahlliste.push({Index:18,FirstColumn:"28",SecoundColumn:"Tage",Data:28}),this.Auswahlliste.push({Index:19,FirstColumn:"29",SecoundColumn:"Tage",Data:29}),this.Auswahlliste.push({Index:20,FirstColumn:"30",SecoundColumn:"Tage",Data:30}),this.Auswahlliste.push({Index:21,FirstColumn:"31",SecoundColumn:"Tage",Data:31}),this.Auswahlliste.push({Index:22,FirstColumn:"32",SecoundColumn:"Tage",Data:32}),this.Auswahlliste.push({Index:23,FirstColumn:"33",SecoundColumn:"Tage",Data:33}),this.Auswahlliste.push({Index:24,FirstColumn:"34",SecoundColumn:"Tage",Data:34}),this.Auswahlliste.push({Index:25,FirstColumn:"35",SecoundColumn:"Tage",Data:35}),this.Auswahlliste.push({Index:26,FirstColumn:"36",SecoundColumn:"Tage",Data:36}),this.Auswahlindex=d.findIndex(this.Auswahlliste,de=>de.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(de){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(de)}catch(be){this.Debug.ShowErrorMessage(be,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(de,be){try{let Ae;!1===de.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(be):this.DB.CurrentUrlaub.Ferienblockerliste=d.filter(this.DB.CurrentUrlaub.Ferienblockerliste,ye=>ye!==be),Ae=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Ae)||(Ae.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(de){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(de)}catch(be){this.Debug.ShowErrorMessage(be,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(de,be){try{let Ae;!1===de.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(be):this.DB.CurrentUrlaub.Feiertageblockerliste=d.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,ye=>ye!==be),Ae=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Ae)||(Ae.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetFreigeberName(de){try{let be=this.DBMitarbeiter.GetMitarbeiterByID(de);return null!==be?be.Vorname+" "+be.Name:"unbekannt"}catch(be){this.Debug.ShowErrorMessage(be,"Urlaub Einstellungen Page","GetFreigeberName",this.Debug.Typen.Page)}}static \u0275fac=function(be){return new(be||J)(e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(l.DatabasePoolService),e.\u0275\u0275directiveInject(g.DatabaseUrlaubService),e.\u0275\u0275directiveInject(b.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(m.AuswahlDialogService),e.\u0275\u0275directiveInject(h.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:J,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(be,Ae){if(1&be&&(e.\u0275\u0275viewQuery(I,5),e.\u0275\u0275viewQuery(L,5)),2&be){let ye;e.\u0275\u0275queryRefresh(ye=e.\u0275\u0275loadQuery())&&(Ae.PageHeader=ye.first),e.\u0275\u0275queryRefresh(ye=e.\u0275\u0275loadQuery())&&(Ae.PageFooter=ye.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[4,"ngIf"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","12"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],["colspan","2"],["size","small","color","grau",3,"click"],["size","6"],[4,"ngFor","ngForOf"],["size","3"],[2,"font-weight","bold"],["src","assets/svgs/alert.svg",2,"width","24px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(be,Ae){1&be&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ae.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,H,67,8,"ion-grid",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer"),e.\u0275\u0275element(7,"page-footer",null,4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,ae,1,7,"auswahl-dialog",5)(10,re,1,6,"fi-mitarbeiter-auswahl",6)(11,W,1,6,"fi-mitarbeiter-auswahl",7)),2&be&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==Ae.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",Ae.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ae.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ae.ShowMitarbeiterauswahl))},dependencies:[C.NgForOf,C.NgIf,v.IonButton,v.IonCol,v.IonContent,v.IonFooter,v.IonGrid,v.IonHeader,v.IonRow,v.IonText,M.PageHeaderComponent,E.PageHeaderMenuComponent,A.PageFooterComponent,T.AuswahlDialogComponent,R.CheckboxClonComponent,N.FiMitarbeiterAuswahlComponent],styles:[".legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return J})()},5884:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubFreigabenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(76052),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=o(6232),_=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=o(6512),v=n.__importStar(o(54496)),E=(n.__importStar(o(84588)),[{path:"",component:a.CommonUrlaubFreigabenPage}]);f.CommonUrlaubFreigabenPageModule=(()=>{class T{static \u0275fac=function(I){return new(I||T)};static \u0275mod=v.\u0275\u0275defineNgModule({type:T});static \u0275inj=v.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(E),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,_.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule,C.AbstandElementFixedModule]})}return T})()},76052:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubFreigabenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),b=i.__importStar(o(7992)),_=i.__importStar(o(9544)),S=i.__importStar(o(22848)),y=i.__importStar(o(29743)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(34388)),v=i.__importStar(o(91368)),M=i.__importStar(o(10716)),E=i.__importStar(o(90212)),A=i.__importStar(o(63792)),T=i.__importStar(o(29856)),R=i.__importStar(o(77440)),N=i.__importStar(o(56584)),I=i.__importStar(o(25856)),L=i.__importStar(o(80887)),O=["PageHeader"],z=["PageFooter"];function F(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Zt=e.\u0275\u0275restoreView(pt).index,Dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Dt.MonatButtonClicked(Zt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&nt){const pt=$t.$implicit,Tt=$t.index,Ut=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ut.GetMonatButtonColor(Tt)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(pt)}}function q(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext(2).$implicit,Dt=e.\u0275\u0275nextContext(4).$implicit,zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(zt.VerteretungStatusChangedHandler(Ut,Zt,Dt._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Vertretung annehmen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Vertretung ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function X(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1," Vertretung angenommen"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&nt){const pt=e.\u0275\u0275nextContext(3).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Tt.DB.GetVertretungsanwortAge(pt).toFixed(2)," Minuten ")}}function ce(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1," Vertretung abgelehnt"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&nt){const pt=e.\u0275\u0275nextContext(3).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Tt.DB.GetVertretungsanwortAge(pt).toFixed(2)," Minuten ")}}function K(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,X,4,1,"td",46)(4,ce,4,1,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",pt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function ne(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",6),e.\u0275\u0275element(8,"div",37),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"td",38),e.\u0275\u0275elementStart(10,"td")(11,"ion-button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(4).$implicit,Dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Dt.UrlaubSuchen(Ut,Zt))}),e.\u0275\u0275element(12,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"td"),e.\u0275\u0275template(14,q,12,3,"ng-container",19)(15,K,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&nt){const pt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(pt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(pt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(pt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Tt.DB.GetUrlaubStatuscolor(pt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",pt.Vertretungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===pt.VertreterantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.VertreterantwortSended)}}function Y(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ne,16,8,"tr",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.DB.CheckVertretungsanwortAge(pt)&&pt.UrlaubsvertreterID===Tt.DB.CurrentMitarbeiter._id&&(pt.Status===Tt.DB.Urlaubstatusvarianten.Vertreteranfrage||pt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe||pt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function H(nt,$t){1&nt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",48),e.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),e.\u0275\u0275elementEnd()())}function ae(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Y,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(2).$implicit,Dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Dt.SendVertretungUpdate(Zt,Ut))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(6,H,3,0,"tr",19),e.\u0275\u0275elementContainerEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ut=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Ut.CheckVertretungUpdateButtonEnabled(Tt,pt)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0===Ut.DB.CountUrlaubsvertretungen(Tt))}}function re(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ae,7,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===Tt.DB.Jahr)}}function W(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",33),e.\u0275\u0275text(16,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"td"),e.\u0275\u0275elementStart(18,"td",31),e.\u0275\u0275text(19,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,re,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"tr"),e.\u0275\u0275element(22,"td"),e.\u0275\u0275elementEnd()()()()),2&nt){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function ee(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,W,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Tt.DB.Vertretungsanfragenanzahl||0!==Tt.DB.Vertretungsantwortenanzahl)}}function J(nt,$t){1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function G(nt,$t){1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),e.\u0275\u0275element(3,"div",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function de(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext(2).$implicit,Dt=e.\u0275\u0275nextContext(4).$implicit,zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(zt.FreigabeStatusChangedHandler(Ut,Zt,Dt._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Urlaub genehmigen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Urlaub ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Tt.DB.Urlaubstatusvarianten.Abgelehnt)}}function be(nt,$t){1&nt&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1,"Urlaub genehmigt"),e.\u0275\u0275elementEnd())}function Ae(nt,$t){1&nt&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1,"Urlaub abgelehnt"),e.\u0275\u0275elementEnd())}function ye(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,be,2,0,"td",46)(4,Ae,2,0,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",pt.Status===Tt.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Status===Tt.DB.Urlaubstatusvarianten.Abgelehnt)}}function le(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",6),e.\u0275\u0275element(10,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"td",38),e.\u0275\u0275elementStart(12,"td")(13,"ion-button",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(4).$implicit,Dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Dt.UrlaubSuchen(Ut,Zt))}),e.\u0275\u0275element(14,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275template(16,de,12,3,"ng-container",19)(17,ye,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&nt){const pt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(pt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetDatumlangtext(pt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(pt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Tt.GetVertetungName(pt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Tt.DB.GetUrlaubStatuscolor(pt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",pt.Freigabemeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",pt.Status===Tt.DB.Urlaubstatusvarianten.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended)}}function Me(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,le,18,10,"tr",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.DB.CheckUrlaubFreigabeanwortAge(pt)&&!0===pt.VertreterantwortSended&&(pt.Status===Tt.DB.Urlaubstatusvarianten.Vertreterfreigabe||pt.Status===Tt.DB.Urlaubstatusvarianten.Genehmigt||pt.Status===Tt.DB.Urlaubstatusvarianten.Abgelehnt))}}function $e(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Me,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext().$implicit,Zt=e.\u0275\u0275nextContext(2).$implicit,Dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Dt.SendFreigabeUpdate(Zt,Ut))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ut=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Ut.CheckFreigabeUpdateButtonEnabled(Tt,pt))}}function qe(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,$e,6,2,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ut=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===Ut.DB.Jahr&&!0===Ut.DB.CheckUrlaubsfreigeberAvailable(Tt))}}function tt(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Vertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",31),e.\u0275\u0275text(16,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"td",33),e.\u0275\u0275text(18,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"td"),e.\u0275\u0275elementStart(20,"td",31),e.\u0275\u0275text(21,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(22,qe,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&nt){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(22),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function mt(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,tt,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Tt.DB.Freigabenanfragenanzahl>0||Tt.DB.Freigabenantwortenanzahl>0)}}function st(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td")(2,"td"),e.\u0275\u0275elementStart(3,"td",6)(4,"ion-button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext(2).$implicit,Zt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Zt.HomeofficeGenehmigeAll(Ut))}),e.\u0275\u0275element(5,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td",6)(7,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext(2).$implicit,Zt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Zt.HomeofficeAblehnenAll(Ut))}),e.\u0275\u0275element(8,"ion-icon",56),e.\u0275\u0275elementEnd()()()}}function ft(nt,$t){if(1&nt&&e.\u0275\u0275element(0,"ion-radio",43),2&nt){const pt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",pt.DB.Homeofficestatusvarianten.Genehmigt)}}function Qt(nt,$t){1&nt&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",62),e.\u0275\u0275elementEnd())}function bt(nt,$t){if(1&nt&&e.\u0275\u0275element(0,"ion-radio",43),2&nt){const pt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",pt.DB.Homeofficestatusvarianten.Abgelehnt)}}function Vt(nt,$t){1&nt&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",63),e.\u0275\u0275elementEnd())}function sn(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td",6),e.\u0275\u0275element(5,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",57)(7,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext().$implicit,Dt=e.\u0275\u0275nextContext(2).$implicit,zt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(zt.HomeofficeStatusChanged(Ut,Zt,Dt))}),e.\u0275\u0275elementStart(8,"table",58)(9,"tr",59)(10,"td",60),e.\u0275\u0275template(11,ft,1,1,"ion-radio",61)(12,Qt,2,0,"span",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",60),e.\u0275\u0275template(14,bt,1,1,"ion-radio",61)(15,Vt,2,0,"span",19),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(pt.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Tt.DB.GetHomeofficeStatuscolor(pt.Status)),e.\u0275\u0275advance(2),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended&&pt.Status===Tt.DB.Homeofficestatusvarianten.Genehmigt),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended&&pt.Status===Tt.DB.Homeofficestatusvarianten.Abgelehnt)}}function dn(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,sn,16,8,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.DB.CheckHomeofficeFreigabeanwortAge(pt)&&(pt.Status===Tt.DB.Homeofficestatusvarianten.Freigabeanfrage||pt.Status===Tt.DB.Homeofficestatusvarianten.Genehmigt||pt.Status===Tt.DB.Homeofficestatusvarianten.Abgelehnt))}}function wn(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",64)(2,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext(2).$implicit,Zt=e.\u0275\u0275nextContext(2).$implicit,Dt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Dt.SendHomeofficeUpdate(Ut,Zt))}),e.\u0275\u0275text(3,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()}if(2&nt){const pt=e.\u0275\u0275nextContext(2).$implicit,Tt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",!1===Tt.CheckHomeofficeUpdateButtonEnabled(pt))}}function An(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,st,9,0,"tr",19)(2,dn,2,1,"ng-container",10)(3,wn,4,1,"tr",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=e.\u0275\u0275nextContext().$implicit,Tt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Tt.CheckHasAnfragen(pt)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Homeofficezeitspannen),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Tt.CheckHasAnfragen(pt))}}function vn(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,An,4,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(2).$implicit,Ut=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===Ut.DB.Jahr&&!0===Ut.DB.CheckHomeofficefreigeberAvailable(Tt))}}function qt(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Datum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",31),e.\u0275\u0275text(12,"Genehmigt"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(15,vn,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&nt){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(15),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function ut(nt,$t){1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function Ue(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,qt,16,1,"ion-row",19)(8,ut,7,0,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Tt.DB.Homeofficeanfragenanzahl>0||Tt.DB.Homeofficantwortenanzahl>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Tt.DB.Homeofficeanfragenanzahl&&0===Tt.DB.Homeofficantwortenanzahl)}}function De(nt,$t){if(1&nt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col")(9,"table",17)(10,"tr")(11,"td",6)(12,"ion-text",18),e.\u0275\u0275text(13,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(14,Ue,9,3,"ng-container",10),e.\u0275\u0275elementContainerEnd()),2&nt){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(14),e.\u0275\u0275property("ngForOf",pt.DB.Homeofficefreigabenliste)}}function Pe(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Zt.AnsichtFeiertageCheckChanged(Ut,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",51),e.\u0275\u0275element(6,"ion-icon",68),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Zt.AnsichtFerientageCheckChanged(Ut,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",51),e.\u0275\u0275element(14,"ion-icon",69),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",pt.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",pt.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Ferien_DE)}}function Qe(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",70),e.\u0275\u0275listener("CheckChanged",function(Ut){const Zt=e.\u0275\u0275restoreView(pt),Dt=Zt.$implicit,zt=Zt.index,Ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ct.DisplayExternCheckChanged(Ut,Dt,zt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",71),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&nt){const pt=$t.$implicit,Tt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Tt.DB.CheckDisplayExternenUrlaub(pt.MitarbeiterIDExtern))("Enabled",pt.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(pt.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",pt.NameExtern," ",pt.Text,"")}}function Re(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,Pe,17,6,"ng-container",19),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.AnsichtFeiertageCheckChanged(Ut,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",51),e.\u0275\u0275element(8,"ion-icon",66),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.AnsichtFerientageCheckChanged(Ut,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",51),e.\u0275\u0275element(16,"ion-icon",67),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,Qe,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===pt.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",pt.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",pt.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",pt.DB.UrlaublisteExtern)}}function lt(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",72),e.\u0275\u0275elementEnd()),2&nt){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",pt.Flagsource,e.\u0275\u0275sanitizeUrl)}}function He(nt,$t){if(1&nt&&(e.\u0275\u0275elementStart(0,"td",73),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&nt){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(pt.Message)}}function gt(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",74),e.\u0275\u0275listener("OkClickedEvent",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.AuswahlOkButtonClicked(Ut))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",pt.Auswahlliste)("Auswahlindex",pt.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",pt.Auswahltitel)("Iconname","")}}function dt(nt,$t){if(1&nt){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",75),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ut){e.\u0275\u0275restoreView(pt);const Zt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Zt.MitarbeiterauswahlOkButtonClicked(Ut))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&nt){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",pt.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",pt.AuswahlIDliste)}}f.CommonUrlaubFreigabenPage=(()=>{class nt{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(pt,Tt,Ut,Zt,Dt,zt,Ct,Pt,tn,bn,Tn){this.Menuservice=pt,this.Basics=Tt,this.DBMitarbeitersettings=Ut,this.Pool=Zt,this.DB=Dt,this.DBMitarbeiter=zt,this.Const=Ct,this.DBStandort=Pt,this.DBMitarbeiterstettings=tn,this.Auswahlservice=bn,this.Debug=Tn;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Message="",this.Flagsource="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0}catch(nn){this.Debug.ShowErrorMessage(nn.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{let pt;for(let Tt of this.DB.Homeofficefreigabenliste){pt=d.find(Tt.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr});for(let Ut of pt.Homeofficezeitspannen)!1===Ut.FreigabeantwortSended&&(Ut.Status=this.DB.Homeofficestatusvarianten.Freigabeanfrage);Tt._id===this.DB.CurrentMitarbeiter._id&&pt.Jahr===this.DB.CurrentUrlaub.Jahr&&(this.DB.CurrentUrlaub=pt),this.DB.CountAnfragenanzahlen()}}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var pt=this;return n(function*(){try{pt.DB.Init(),pt.DB.CheckSetup(),pt.DB.SetPlanungsmonate(),pt.DB.CountAnfragenanzahlen()}catch(Tt){pt.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","PrepareData",pt.Debug.Typen.Page)}})()}GetDatumlangtext(pt){try{return(0,u.default)(pt).locale("de").format("DD. MMMM YYYY")}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(pt){try{let Tt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(Tt=d.find(this.Pool.Mitarbeiterliste,{_id:pt[0]}),this.DB.CurrentMitarbeiter=Tt,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(Tt){this.Debug.ShowErrorMessage(Tt.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let pt=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:pt,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),pt++;for(let Tt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:pt,FirstColumn:Tt.Kuerzel,SecoundColumn:Tt.Standort,Data:Tt}),pt++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(pt){this.Debug.ShowErrorMessage(pt.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(pt){var Tt=this;return n(function*(){try{Tt.Auswahldialogorigin===Tt.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter&&(Tt.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(pt),Tt.Pool.Mitarbeitersettings.StandortFilter=null!==pt?pt._id:Tt.Const.NONE,Tt.DBMitarbeitersettings.UpdateMitarbeitersettings(Tt.Pool.Mitarbeitersettings,null).then(()=>{Tt.ShowAuswahl=!1,Tt.DBStandort.StandortfilterChanged.emit()})),Tt.ShowAuswahl=!1,Tt.PrepareData()}catch(Ut){Tt.Debug.ShowErrorMessage(Ut.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",Tt.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(pt){try{return(0,u.default)(pt).format("DD.MM.YYYY")}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(pt,Tt,Ut){try{Tt.Status=pt.detail.value}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(pt,Tt,Ut){try{Tt.Status=pt.detail.value}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(pt,Tt){try{let Ut=!1,Zt=d.find(this.Pool.Standorteliste,{_id:pt.StandortID});for(let Dt of Tt.Urlaubzeitspannen)d.isUndefined(Dt.VertreterantwortSended)&&(Dt.VertreterantwortSended=!1),Zt.Urlaubfreigabepersonen.length>0&&!1===Dt.VertreterantwortSended&&Dt.UrlaubsvertreterID===this.DB.CurrentMitarbeiter._id&&(Dt.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Dt.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(Ut=!0);return Ut}catch(Ut){this.Debug.ShowErrorMessage(Ut,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(pt,Tt){try{let Ut=(0,u.default)(pt.Startstempel);this.DB.CurrentMonatindex=Ut.month(),this.DB.SetPlanungsmonate()}catch(Ut){this.Debug.ShowErrorMessage(Ut,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(pt,Tt){try{let Ut=!1;for(let Zt of Tt.Urlaubzeitspannen)d.isUndefined(Zt.FreigabeantwortSended)&&(Zt.FreigabeantwortSended=!1),!1===Zt.FreigabeantwortSended&&(Zt.Status===this.DB.Urlaubstatusvarianten.Genehmigt||Zt.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(Ut=!0);return Ut}catch(Ut){this.Debug.ShowErrorMessage(Ut,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(pt,Tt){var Ut=this;return n(function*(){try{yield Ut.DB.UpdateVertreterantworten(pt,Tt),yield Ut.PrepareData(),Ut.DB.ExterneUrlaubeChanged.emit()}catch(Zt){Ut.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","SendVertretungUpdate",Ut.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(pt){try{this.Message=pt.Name,""!==pt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===pt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(pt,Tt,Ut){try{let Zt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Tt.MitarbeiterIDExtern});d.isUndefined(Zt)||(Zt.Display=pt.status);let Dt=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Dt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(pt){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=pt.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(pt){try{this.Message=pt.Name,""!==pt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===pt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(pt){try{this.DB.CurrentMonatindex=pt,this.DB.SetPlanungsmonate()}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(pt){try{if(this.DB.CurrentMonatindex===pt)return"orange"}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(pt,Tt){try{switch(Tt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=pt.status,this.DB.ShowFerientage_DE=pt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=pt.status,this.DB.ShowFerientage_BG=pt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ut){this.Debug.ShowErrorMessage(Ut,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(pt,Tt){try{switch(Tt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=pt.status,this.DB.ShowFeiertage_DE=pt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=pt.status,this.DB.ShowFeiertage_BG=pt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ut){this.Debug.ShowErrorMessage(Ut,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetVertetungName(pt){try{let Tt;return Tt=this.DBMitarbeiter.GetMitarbeiterByID(pt.UrlaubsvertreterID),d.isUndefined(Tt)?"unbekannt":Tt.Vorname+" "+Tt.Name}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","GetVertetungName",this.Debug.Typen.Page)}}SendFreigabeUpdate(pt,Tt){var Ut=this;return n(function*(){try{yield Ut.DB.UpdateFreigabenantworten(pt,Tt),yield Ut.PrepareData(),Ut.DB.ExterneUrlaubeChanged.emit()}catch(Zt){Ut.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","SendFreigabeUpdate",Ut.Debug.Typen.Page)}})()}HomeofficeStatusChanged(pt,Tt,Ut){try{Tt.Status=pt.detail.value}catch(Zt){this.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","HomeofficeStatusChanged",this.Debug.Typen.Page)}}HomeofficeGenehmigeAll(pt){try{for(let Tt of pt.Homeofficezeitspannen)!1===Tt.FreigabeantwortSended&&(Tt.Status=this.DB.Homeofficestatusvarianten.Genehmigt)}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","HomeofficeGenehmigeAll",this.Debug.Typen.Page)}}HomeofficeAblehnenAll(pt){try{for(let Tt of pt.Homeofficezeitspannen)!1===Tt.FreigabeantwortSended&&(Tt.Status=this.DB.Homeofficestatusvarianten.Abgelehnt)}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","HomeofficeAblehnenAll",this.Debug.Typen.Page)}}SendHomeofficeUpdate(pt,Tt){var Ut=this;return n(function*(){try{yield Ut.DB.SendHomeofficeFreigabeantworten(Tt,pt),yield Ut.PrepareData(),Ut.DB.ExterneHomeofficeChanged.emit()}catch(Zt){Ut.Debug.ShowErrorMessage(Zt,"Urlaub Freigaben Page","SendHomeofficeUpdate",Ut.Debug.Typen.Page)}})()}CheckHomeofficeUpdateButtonEnabled(pt){try{let Tt=!1;for(let Ut of pt.Homeofficezeitspannen)!1===Ut.FreigabeantwortSended&&(Ut.Status===this.DB.Homeofficestatusvarianten.Abgelehnt||Ut.Status===this.DB.Homeofficestatusvarianten.Genehmigt)&&(Tt=!0);return Tt}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","CheckHomeofficeUpdateButtonEnabled",this.Debug.Typen.Page)}}CheckHasAnfragen(pt){try{let Tt=!1;for(let Ut of pt.Homeofficezeitspannen)!1===Ut.FreigabeantwortSended&&(Tt=!0);return Tt}catch(Tt){this.Debug.ShowErrorMessage(Tt,"Urlaub Freigaben Page","CheckHasAnfragen",this.Debug.Typen.Page)}}static \u0275fac=function(Tt){return new(Tt||nt)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(b.DatabasePoolService),e.\u0275\u0275directiveInject(_.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.ConstProvider),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:nt,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(Tt,Ut){if(1&Tt&&(e.\u0275\u0275viewQuery(O,5),e.\u0275\u0275viewQuery(z,5)),2&Tt){let Zt;e.\u0275\u0275queryRefresh(Zt=e.\u0275\u0275loadQuery())&&(Ut.PageHeader=Zt.first),e.\u0275\u0275queryRefresh(Zt=e.\u0275\u0275loadQuery())&&(Ut.PageFooter=Zt.first)}},decls:70,vars:30,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],["colspan","2",2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],["width","100%"],["color","baeblau",2,"font-size","120%","font-weight","bold"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],["colspan","7","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],[1,"legendedivclass",2,"color","black"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[3,"value","ionChange"],[1,"nobordertable"],[3,"value"],[2,"color","green"],[2,"color","red"],["style","color: green",4,"ngIf"],["style","color: red",4,"ngIf"],["colspan","6",2,"color","red"],[2,"text-align","center","height","30px"],[2,"height","20px"],[1,"legendedivclass"],["size","small","color","grau",3,"disabled","click"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"],["color","rot","size","small",3,"click"],["name","close-outline"],["colspan","2"],[1,"nobordertable",2,"width","100%"],[2,"height","32px"],["align","center",2,"width","50%"],[3,"value",4,"ngIf"],[2,"border-radius","50%","width","12px","height","12px","background","green"],[2,"border-radius","50%","width","12px","height","12px","background","red"],["colspan","4","align","center"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(Tt,Ut){1&Tt&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ut.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Ut.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,F,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return Ut.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Dt){return Ut.FeiertagCrossedEventHandler(Dt)})("FerientagCrossedEvent",function(Dt){return Ut.FerientagCrossedEventHandler(Dt)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Dt){return Ut.FeiertagCrossedEventHandler(Dt)})("FerientagCrossedEvent",function(Dt){return Ut.FerientagCrossedEventHandler(Dt)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Dt){return Ut.FeiertagCrossedEventHandler(Dt)})("FerientagCrossedEvent",function(Dt){return Ut.FerientagCrossedEventHandler(Dt)}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(30,"ion-grid")(31,"ion-row")(32,"ion-col")(33,"table",17)(34,"tr")(35,"td",6)(36,"ion-text",18),e.\u0275\u0275text(37,"Vertretungsanfragen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(38,ee,8,2,"ng-container",10)(39,J,7,0,"ng-container",19)(40,G,4,0,"ng-container",19),e.\u0275\u0275elementStart(41,"ion-row")(42,"ion-col")(43,"table",17)(44,"tr")(45,"td",6)(46,"ion-text",18),e.\u0275\u0275text(47,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(48,mt,8,2,"ng-container",10)(49,De,15,1,"ng-container",19),e.\u0275\u0275elementStart(50,"div",20)(51,"table")(52,"tr")(53,"td")(54,"div",21),e.\u0275\u0275listener("click",function(){return Ut.LegendeVisible=!Ut.LegendeVisible}),e.\u0275\u0275element(55,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"td",23),e.\u0275\u0275template(57,Re,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(58,"ion-footer")(59,"page-footer",null,25)(61,"table",4)(62,"tr")(63,"td",26)(64,"table",13)(65,"tr"),e.\u0275\u0275template(66,lt,2,1,"td",19)(67,He,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(68,gt,1,7,"auswahl-dialog",28)(69,dt,1,6,"fi-mitarbeiter-auswahl",29)),2&Tt&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",Ut.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Ut.DB.Jahr)("Monatindex",Ut.DB.FirstMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Ut.DB.Jahr)("ShowYear",!0)("Monatindex",Ut.DB.CurrentMonatindex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Ut.DB.Jahr)("Monatindex",Ut.DB.LastMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Ut.DB.Vertretrungliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Ut.DB.Vertretungsanfragenanzahl&&0===Ut.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Ut.DB.Vertretungsanfragenanzahl||0!==Ut.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",Ut.DB.Urlaubfreigabenliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Ut.DB.Freigabenanfragenanzahl&&0===Ut.DB.Freigabenantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ut.Legendehoehe,"px")("width",Ut.Legendebreite,"px")("right",Ut.LegendeVisible?0:-(Ut.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Ut.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Ut.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Ut.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Ut.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Ut.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ut.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ut.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonButton,M.IonCol,M.IonContent,M.IonFooter,M.IonGrid,M.IonHeader,M.IonIcon,M.IonRadio,M.IonRadioGroup,M.IonRow,M.IonText,M.RadioValueAccessor,M.SelectValueAccessor,E.PageHeaderComponent,A.PageHeaderMenuComponent,T.PageFooterComponent,R.PjProjektpunktDateKWPickerComponent,N.AuswahlDialogComponent,I.CheckboxClonComponent,L.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return nt})()},98348:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubsgesamtuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(26372),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=o(6232),_=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(84588)),n.__importStar(o(91368))),E=n.__importStar(o(10716)),A=n.__importStar(o(90212)),T=n.__importStar(o(63792)),R=n.__importStar(o(29856)),N=n.__importStar(o(56584)),I=n.__importStar(o(25856)),L=n.__importStar(o(80887)),O=[{path:"",component:a.CommonUrlaubGesamtuebersichtPage}];f.CommonUrlaubsgesamtuebersichtPageModule=(()=>{class F{static \u0275fac=function(ce){return new(ce||F)};static \u0275mod=C.\u0275\u0275defineNgModule({type:F});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(O),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,_.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return F})(),C.\u0275\u0275setComponentScope(a.CommonUrlaubGesamtuebersichtPage,function(){return[M.NgForOf,M.NgIf,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,E.IonText,A.PageHeaderComponent,T.PageHeaderMenuComponent,R.PageFooterComponent,N.AuswahlDialogComponent,I.CheckboxClonComponent,L.FiMitarbeiterAuswahlComponent]},[])},26372:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubGesamtuebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(7992)),b=i.__importStar(o(9544)),_=i.__importStar(o(29743)),S=i.__importStar(o(22848)),y=i.__importStar(o(15024)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(34388)),v=["PageHeader"],M=["PageFooter"];function E(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",9),e.\u0275\u0275listener("click",function(){const W=e.\u0275\u0275restoreView(H).index,ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ee.MonatButtonClicked(W))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&ne){const H=Y.$implicit,ae=Y.index,re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",re.GetMonatButtonColor(ae)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(H)}}function A(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",33)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ne){const H=Y.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",H.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("KW ",H.Nummer,"")}}function T(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"td",34)(1,"ion-text",35)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&ne){const H=Y.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(H.Tag)}}function R(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"td",36)(1,"ion-text",37)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("color",H.Hauptmonat?ae.Basics.Ionicfarben.Schwarz:ae.Basics.Ionicfarben.Silber),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(H.Tagnummer)}}function N(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",43),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ne){const H=e.\u0275\u0275nextContext().$implicit,ae=e.\u0275\u0275nextContext().$implicit,re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",re.DB.GetUrlaubStatuscolor(re.DB.CheckIsUrlaubstag(ae,H).Status)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",ae.Kuerzel," ")}}function I(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"td",41),e.\u0275\u0275template(1,N,3,3,"ng-container",42),e.\u0275\u0275elementEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext().$implicit,re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==re.DB.CheckIsUrlaubstag(ae,H))}}function L(ne,Y){if(1&ne&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,I,2,1,"td",40),e.\u0275\u0275elementEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",H.Vorname," ",H.Name,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ae.Kalendertageliste)}}function O(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",38)(3,"b"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(5,"td",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(6,L,4,3,"tr",11),e.\u0275\u0275elementContainerEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(H.Standort),e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",ae.Tagesumme),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ae.Mitrbeiterliste[H._id])}}function z(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(re){e.\u0275\u0275restoreView(H);const W=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(W.MitarbeiterCheckChanged(re))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&ne){const H=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Value",H._id)("Checked",H.ShowInGesamtuebersicht),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",H.Vorname," ",H.Name,"")}}function F(ne,Y){if(1&ne&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,z,4,4,"tr",42),e.\u0275\u0275elementContainerEnd()),2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",H.StandortID===ae._id&&!1===H.Archiviert)}}function q(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(re){e.\u0275\u0275restoreView(H);const W=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(W.StandortCheckChanged(re))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"ion-text",26)(6,"b"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(8,"tr"),e.\u0275\u0275element(9,"td"),e.\u0275\u0275elementStart(10,"td")(11,"table",24),e.\u0275\u0275template(12,F,2,1,"ng-container",11),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&ne){const H=Y.$implicit,ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("Value",H._id)("Checked",H.ShowInGesamtuebersicht),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(H.Standort),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",ae.Pool.Mitarbeiterliste)}}function X(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",44),e.\u0275\u0275listener("OkClickedEvent",function(re){e.\u0275\u0275restoreView(H);const W=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(W.AuswahlOkButtonClicked(re))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(H);const re=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(re.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ne){const H=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",H.Auswahlliste)("Auswahlindex",H.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",H.Auswahltitel)("Iconname","")}}function ce(ne,Y){if(1&ne){const H=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",45),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(H);const re=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(re.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(re){e.\u0275\u0275restoreView(H);const W=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(W.MitarbeiterauswahlOkButtonClicked(re))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(H);const re=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(re.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ne){const H=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",H.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",H.AuswahlIDliste)}}f.CommonUrlaubGesamtuebersichtPage=(()=>{class ne{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Ansichtvariante;Message;Auswahldialogorigin;DataSubscription;AuswahlIDliste;Auswahlliste;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Standortliste;Mitrbeiterliste;Kalendertageliste;Kalenderwochenliste;Monatname;Tagesumme;Auswahlindex;Auswahltitel;ShowAuswahl;MitarbeiterauswahlTitel;Auswahlhoehe;Headerhoehe;Contenthoehe;constructor(H,ae,re,W,ee,J,G,de,be,Ae){this.Menuservice=H,this.Basics=ae,this.Pool=re,this.DB=W,this.Const=ee,this.DBMitarbeiter=J,this.DBMitarbeitersettings=G,this.DBStandort=de,this.Auswahlservice=be,this.Debug=Ae;try{this.DataSubscription=null,this.Message="",this.MitarbeiterauswahlTitel="",this.Auswahldialogorigin=this.Const.NONE,this.AuswahlIDliste=[],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr,this.Standortliste=[],this.Mitrbeiterliste=[],this.Kalendertageliste=[],this.Kalenderwochenliste=[],this.Mitrbeiterliste=[],this.Headerhoehe=0,this.Contenthoehe=0,this.Tagesumme=0}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(H){var ae=this;return n(function*(){try{ae.Auswahldialogorigin===ae.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter&&(ae.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(H),ae.Pool.Mitarbeitersettings.StandortFilter=null!==H?H._id:ae.Const.NONE,ae.DBMitarbeitersettings.UpdateMitarbeitersettings(ae.Pool.Mitarbeitersettings,null).then(()=>{ae.ShowAuswahl=!1,ae.DBStandort.StandortfilterChanged.emit()}))}catch(re){ae.Debug.ShowErrorMessage(re.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",ae.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(H){try{let ae;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(ae=d.find(this.Pool.Mitarbeiterliste,{_id:H[0]}),this.DB.CurrentMitarbeiter=ae,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(ae){this.Debug.ShowErrorMessage(ae.message,"Urlaubsuebersicht Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let H=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:H,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),H++;for(let ae of this.Pool.Standorteliste)this.Auswahlliste.push({Index:H,FirstColumn:ae.Kuerzel,SecoundColumn:ae.Standort,Data:ae}),H++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(H){this.Debug.ShowErrorMessage(H.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,u.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var H=this;return n(function*(){try{let ae,re,W,J,G,de,be,Ae,ye,ee=H.DB.CurrentMonatindex+1;H.DB.Init(),H.DB.CheckSetup(),H.DB.CountAnfragenanzahlen(),H.Monatname=H.DB.Monateliste[H.DB.CurrentMonatindex],ee=ee<10?"0"+ee.toString():ee.toString(),ae=(0,u.default)(H.DB.Jahr.toString()+"-"+ee,"YYYY-MM").daysInMonth(),H.Tagesumme=ae;let le=(0,u.default)().set({date:1,month:H.DB.CurrentMonatindex,year:H.DB.Jahr,hour:8,minute:0}).locale("de"),Me=(0,u.default)().set({date:ae,month:H.DB.CurrentMonatindex,year:H.DB.Jahr,hour:8,minute:0}).locale("de");re=le.isoWeekday(),W=re-1,H.Tagesumme=H.Tagesumme+W,G=le.clone().subtract(W,"day"),Ae=G.clone(),re=Me.isoWeekday(),W=7-re,H.Tagesumme=H.Tagesumme+W,ye={Nummer:Ae.isoWeek(),Tageanzahl:0},H.Kalendertageliste=[],H.Kalenderwochenliste=[];for(let $e=0;$ede._id===qe._id),d.isUndefined(be)&&(H.Standortliste.push(de),H.Mitrbeiterliste[de._id]=[]),H.Mitrbeiterliste[de._id].push($e)))}catch(ae){H.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","PrepareData",H.Debug.Typen.Page)}})()}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=320,this.Legendehoehe=this.Basics.InnerContenthoehe,this.Headerhoehe=160,this.Contenthoehe=this.Basics.InnerContenthoehe-this.Headerhoehe}catch(H){this.Debug.ShowErrorMessage(H.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}StandortCheckChanged(H){try{let ae=d.find(this.Pool.Standorteliste,{_id:H.value});ae.ShowInGesamtuebersicht=H.status;for(let re of this.Pool.Mitarbeiterliste)re.StandortID===ae._id&&(re.ShowInGesamtuebersicht=H.status);this.PrepareData()}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","StandortCheckChanged",this.Debug.Typen.Page)}}MitarbeiterCheckChanged(H){try{d.find(this.Pool.Mitarbeiterliste,{_id:H.value}).ShowInGesamtuebersicht=H.status,this.PrepareData()}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","MitarbeiterCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.PrepareData())}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(H){try{if(this.DB.CurrentMonatindex===H)return"orange"}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.PrepareData())}catch(H){this.Debug.ShowErrorMessage(H,"Urlaubsuebersicht Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}MonatButtonClicked(H){try{this.DB.CurrentMonatindex=H,this.PrepareData()}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","MonatButtonClicked",this.Debug.Typen.Page)}}SettingsCheckedChanged(H){try{switch(H.value){case this.DB.Urlaubstatusvarianten.Geplant:this.DB.GesamtuebersichtSetting.ShowGeplant=H.status;break;case this.DB.Urlaubstatusvarianten.Vertreteranfrage:this.DB.GesamtuebersichtSetting.ShowVertreteranfragen=H.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.DB.GesamtuebersichtSetting.ShowVertreterfreigaben=H.status;break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:this.DB.GesamtuebersichtSetting.ShowVertreterablehnungen=H.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen=H.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen=H.status}}catch(ae){this.Debug.ShowErrorMessage(ae,"Urlaubsuebersicht Page","function",this.Debug.Typen.Page)}}static \u0275fac=function(ae){return new(ae||ne)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(b.DatabaseUrlaubService),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ne,selectors:[["common-urlaub-gesamtuebersicht-page"]],viewQuery:function(ae,re){if(1&ae&&(e.\u0275\u0275viewQuery(v,5),e.\u0275\u0275viewQuery(M,5)),2&ae){let W;e.\u0275\u0275queryRefresh(W=e.\u0275\u0275loadQuery())&&(re.PageHeader=W.first),e.\u0275\u0275queryRefresh(W=e.\u0275\u0275loadQuery())&&(re.PageFooter=W.first)}},decls:118,vars:54,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"height","100%","position","absolute","overflow","scroll"],[1,"headerdivclass"],[2,"width","100%"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],[2,"height","10px"],[1,"docinnertable"],["align","center",2,"height","40px","font-size","120%",3,"colSpan"],["rowspan","3",2,"width","200px"],["style","width: 48px;","align","center",4,"ngFor","ngForOf"],["style","width: 40px;","align","center",4,"ngFor","ngForOf"],[1,"innercontentdivclass"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],[2,"width","100%","overflow","auto"],[1,"paddingtable"],["colspan","4"],["color","schwarz"],[2,"width","32px"],[3,"Value","Checked","CheckChanged"],[1,"legendedivclass"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[2,"text-align","center",3,"colSpan"],["align","center",2,"width","48px"],["color","baeblau"],["align","center",2,"width","40px"],[3,"color"],[2,"width","200px"],[3,"colSpan"],["style","width: 48px; height: 30px;","align","center",4,"ngFor","ngForOf"],["align","center",2,"width","48px","height","30px"],[4,"ngIf"],[1,"urlaubclass"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(ae,re){1&ae&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return re.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"div",4)(7,"div",5)(8,"table",6)(9,"tr")(10,"td",7)(11,"table",8)(12,"tr")(13,"td")(14,"div",9),e.\u0275\u0275listener("click",function(){return re.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,E,3,3,"td",11),e.\u0275\u0275elementStart(17,"td")(18,"div",9),e.\u0275\u0275listener("click",function(){return re.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",12),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr"),e.\u0275\u0275element(21,"td",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"tr")(23,"td",7)(24,"table",14)(25,"tr")(26,"td",15)(27,"b"),e.\u0275\u0275text(28),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(29,"tr"),e.\u0275\u0275element(30,"td",16),e.\u0275\u0275template(31,A,4,2,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"tr"),e.\u0275\u0275template(33,T,4,1,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"tr"),e.\u0275\u0275template(35,R,4,2,"td",18),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(36,"div",19)(37,"table",6)(38,"tr")(39,"td",7)(40,"table",14),e.\u0275\u0275template(41,O,7,3,"ng-container",11),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(42,"br")(43,"br")(44,"br")(45,"br")(46,"br"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(47,"div",20)(48,"div",21),e.\u0275\u0275listener("click",function(){return re.LegendeVisible=!re.LegendeVisible}),e.\u0275\u0275element(49,"ion-icon",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(50,"div",23)(51,"table",24)(52,"tr")(53,"td",25)(54,"ion-text",26)(55,"b"),e.\u0275\u0275text(56,"Allgemein"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(57,"tr"),e.\u0275\u0275element(58,"td",27),e.\u0275\u0275elementStart(59,"td")(60,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(ee){return re.SettingsCheckedChanged(ee)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(61,"td"),e.\u0275\u0275element(62,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(63,"td"),e.\u0275\u0275text(64,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(65,"tr"),e.\u0275\u0275element(66,"td"),e.\u0275\u0275elementStart(67,"td")(68,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(ee){return re.SettingsCheckedChanged(ee)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(69,"td"),e.\u0275\u0275element(70,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"td"),e.\u0275\u0275text(72,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(73,"tr"),e.\u0275\u0275element(74,"td"),e.\u0275\u0275elementStart(75,"td")(76,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(ee){return re.SettingsCheckedChanged(ee)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"td"),e.\u0275\u0275element(78,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(79,"td"),e.\u0275\u0275text(80,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(81,"tr"),e.\u0275\u0275element(82,"td"),e.\u0275\u0275elementStart(83,"td")(84,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(ee){return re.SettingsCheckedChanged(ee)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(85,"td"),e.\u0275\u0275element(86,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"td"),e.\u0275\u0275text(88,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(89,"tr"),e.\u0275\u0275element(90,"td"),e.\u0275\u0275elementStart(91,"td")(92,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(ee){return re.SettingsCheckedChanged(ee)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(93,"td"),e.\u0275\u0275element(94,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(95,"td"),e.\u0275\u0275text(96,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(97,"tr"),e.\u0275\u0275element(98,"td"),e.\u0275\u0275elementStart(99,"td")(100,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(ee){return re.SettingsCheckedChanged(ee)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(101,"td"),e.\u0275\u0275element(102,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(103,"td"),e.\u0275\u0275text(104,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(105,"table",24),e.\u0275\u0275template(106,q,13,4,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(107,"br")(108,"br")(109,"br")(110,"br")(111,"br")(112,"br"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(113,"ion-footer"),e.\u0275\u0275element(114,"page-footer",null,30),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(116,X,1,7,"auswahl-dialog",31)(117,ce,1,6,"fi-mitarbeiter-auswahl",32)),2&ae&&(e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("width",re.Basics.Contentbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",re.Headerhoehe,"px"),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",re.DB.Monateliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("colSpan",re.Tagesumme+1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",re.Monatname," ",re.DB.Jahr,""),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",re.Kalenderwochenliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",re.Kalendertageliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",re.Kalendertageliste),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("top",re.Headerhoehe,"px")("height",re.Contenthoehe,"px"),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",re.Standortliste),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("height",re.Legendehoehe,"px")("width",re.Legendebreite,"px")("right",re.LegendeVisible?0:-(re.Legendebreite-14),"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",re.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",re.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",re.Legendehoehe,"px"),e.\u0275\u0275advance(10),e.\u0275\u0275property("Value",re.DB.Urlaubstatusvarianten.Geplant)("Checked",re.DB.GesamtuebersichtSetting.ShowGeplant),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",re.DB.Urlaubstatusvarianten.Vertreteranfrage)("Checked",re.DB.GesamtuebersichtSetting.ShowVertreteranfragen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",re.DB.Urlaubstatusvarianten.Vertreterfreigabe)("Checked",re.DB.GesamtuebersichtSetting.ShowVertreterfreigaben),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",re.DB.Urlaubstatusvarianten.Vertreterablehnung)("Checked",re.DB.GesamtuebersichtSetting.ShowVertreterablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",re.DB.Urlaubstatusvarianten.Genehmigt)("Checked",re.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",re.DB.Urlaubstatusvarianten.Abgelehnt)("Checked",re.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.Pool.Standorteliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngIf",re.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",re.ShowMitarbeiterauswahl))},styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;background:silver;right:0;top:0;bottom:0;z-index:20;overflow:visible;display:flex;flex-direction:row}.headerdivclass[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%}.innercontentdivclass[_ngcontent-%COMP%]{position:absolute;left:0;width:100%;overflow:auto}.urlaubclass[_ngcontent-%COMP%]{width:38px;height:20px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:80%}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ne})()},74484:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubsplanungPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(75908),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=o(6232),_=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(84588)),[{path:"",component:a.CommonUrlaubPlanungPage}]);f.CommonUrlaubsplanungPageModule=(()=>{class A{static \u0275fac=function(N){return new(N||A)};static \u0275mod=C.\u0275\u0275defineNgModule({type:A});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,_.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return A})()},75908:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubPlanungPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),b=i.__importStar(o(7992)),_=i.__importStar(o(9544)),S=i.__importStar(o(22848)),y=i.__importStar(o(29743)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(19668)),v=i.__importStar(o(34388)),M=i.__importStar(o(91368)),E=i.__importStar(o(10716)),A=i.__importStar(o(90212)),T=i.__importStar(o(63792)),R=i.__importStar(o(29856)),N=i.__importStar(o(77440)),I=i.__importStar(o(56584)),L=i.__importStar(o(25856)),O=i.__importStar(o(80887)),z=["PageHeader"],F=["PageFooter"];function q(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Mt=e.\u0275\u0275restoreView(He).index,nt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(nt.MonatButtonClicked(Mt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Re){const He=lt.$implicit,gt=lt.index,dt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",dt.GetMonatButtonColor(gt)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He)}}function X(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(dt.AddUrlaub())}),e.\u0275\u0275text(6,"Urlaub eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountResturlaub()<=0)}}function ce(Re,lt){if(1&Re&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",31),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",30),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Re){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Endestempel?He.DB.CurrentUrlaubzeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function K(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(dt.CancelDatumClicked())}),e.\u0275\u0275element(2,"ion-icon",33),e.\u0275\u0275elementEnd()()}}function ne(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td")(5,"div",30),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,ce,6,1,"ng-container",17)(8,K,3,0,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"tr"),e.\u0275\u0275elementEnd()()()),2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel?He.DB.CurrentUrlaubzeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning)}}function Y(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",He.DB.CountResturlaub()," Urlaubstage.")}}function H(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",47),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext().$implicit,Mt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Mt.StellvertreterFestlegenClicked(dt))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&Re){const He=e.\u0275\u0275nextContext().$implicit,gt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.UrlaubsvertreterID?gt.GetStellvertretername(He):"Festlegen")}}function ae(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Re){const He=e.\u0275\u0275nextContext().$implicit,gt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.UrlaubsvertreterID?gt.GetStellvertretername(He):"Festlegen")}}function re(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",35),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275template(8,H,2,1,"ion-button",44)(9,ae,2,1,"span",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",6)(11,"div",45),e.\u0275\u0275listener("click",function(){const Mt=e.\u0275\u0275restoreView(He).$implicit,nt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(nt.StatusClickedHandler(Mt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(12,"td",46),e.\u0275\u0275elementStart(13,"td")(14,"ion-button",47),e.\u0275\u0275listener("click",function(){const Mt=e.\u0275\u0275restoreView(He).$implicit,nt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(nt.UrlaubSuchen(Mt))}),e.\u0275\u0275element(15,"ion-icon",48),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",49),e.\u0275\u0275listener("click",function(){const Mt=e.\u0275\u0275restoreView(He).$implicit,nt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(nt.UrlaubLoeschen(Mt))}),e.\u0275\u0275element(18,"ion-icon",50),e.\u0275\u0275elementEnd()()()}if(2&Re){const He=lt.$implicit,gt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.GetDatum(He.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.GetDatum(He.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(He.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",He.Status===gt.DB.Urlaubstatusvarianten.Geplant||He.Status===gt.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.Status!==gt.DB.Urlaubstatusvarianten.Geplant&&He.Status!==gt.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===gt.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",gt.DB.GetUrlaubStatuscolor(He.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",He.Planungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===gt.CheckLoschenEnabled(He))}}function W(Re,lt){if(1&Re&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,19,11,"tr",10),e.\u0275\u0275elementContainerEnd()),2&Re){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",He.DB.CurrentUrlaub.Urlaubzeitspannen)}}function ee(Re,lt){1&Re&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function J(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",36)(3,"tr")(4,"td",37),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",37),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",38),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",37),e.\u0275\u0275text(11,"Stellvertreter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",37),e.\u0275\u0275text(13,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",39),e.\u0275\u0275text(15,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"td",40)(17,"td",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,W,2,1,"ng-container",17)(19,ee,3,0,"ng-container",17),e.\u0275\u0275elementStart(20,"tr")(21,"td",41),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",35),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"td",42),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"tr")(27,"td",43)(28,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(dt.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(29,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(He.DB.CountResturlaub()),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!1===He.CheckUrlaubUpdatesAvailable())}}function G(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(dt.AddHomeofficeStart())}),e.\u0275\u0275text(6,"Homeoffice eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountHomeoffice()<=0)}}function de(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",7)(3,"tr")(4,"td",6)(5,"div",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(dt.SaveHomeofficeEventHandler())}),e.\u0275\u0275elementStart(6,"table")(7,"tr")(8,"td",53)(9,"b"),e.\u0275\u0275text(10,"Fertig"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td"),e.\u0275\u0275element(12,"ion-icon",54),e.\u0275\u0275elementEnd()()()()()()()()()}}function be(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Homeoffice eingetragen. Du hast ",He.DB.CountHomeoffice()," Homeofficetage.")}}function Ae(Re,lt){1&Re&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function ye(Re,lt){if(1&Re&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"span"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,Ae,2,0,"span",17),e.\u0275\u0275elementContainerEnd()),2&Re){const He=lt.$implicit,gt=lt.index,dt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",He.Startstring," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeAbgelehnt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeFreigbeanfragen()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeGeplant()>0),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",He.DB.CountHomeoffice()," Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===He.CheckHomeofficeUpdatesAvailable())}}function wn(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",21)(2,"table",4)(3,"tr")(4,"td",28)(5,"table"),e.\u0275\u0275template(6,X,7,1,"tr",17)(7,ne,10,3,"tr",17)(8,Y,6,1,"tr",17)(9,J,30,4,"tr",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"td",28)(11,"table"),e.\u0275\u0275template(12,G,7,1,"tr",17)(13,de,13,0,"tr",17)(14,be,6,1,"tr",17)(15,dn,22,6,"tr",17),e.\u0275\u0275elementEnd()()()()()()),2&Re){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Homeofficezeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Homeofficezeitspannen.length>0)}}function An(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(dt){e.\u0275\u0275restoreView(He);const Mt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Mt.AnsichtFeiertageCheckChanged(dt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",59),e.\u0275\u0275element(6,"ion-icon",64),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(dt){e.\u0275\u0275restoreView(He);const Mt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Mt.AnsichtFerientageCheckChanged(dt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",59),e.\u0275\u0275element(14,"ion-icon",65),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&Re){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_DE)}}function vn(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",66),e.\u0275\u0275listener("CheckChanged",function(dt){const Mt=e.\u0275\u0275restoreView(He),nt=Mt.$implicit,$t=Mt.index,pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(pt.DisplayExternCheckChanged(dt,nt,$t))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",67),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&Re){const He=lt.$implicit,gt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",gt.DB.CheckDisplayExternenUrlaub(He.MitarbeiterIDExtern))("Enabled",He.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(He.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",He.NameExtern," ",He.Text,"")}}function qt(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,An,17,6,"ng-container",17),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(dt){e.\u0275\u0275restoreView(He);const Mt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Mt.AnsichtFeiertageCheckChanged(dt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",59),e.\u0275\u0275element(8,"ion-icon",62),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",61),e.\u0275\u0275listener("CheckChanged",function(dt){e.\u0275\u0275restoreView(He);const Mt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Mt.AnsichtFerientageCheckChanged(dt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",59),e.\u0275\u0275element(16,"ion-icon",63),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",59),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",59),e.\u0275\u0275text(59,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",59),e.\u0275\u0275text(67,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice Freigabe angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",59),e.\u0275\u0275text(74,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",59),e.\u0275\u0275text(81,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,vn,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&Re){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===He.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",He.DB.UrlaublisteExtern)}}function ut(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",68),e.\u0275\u0275elementEnd()),2&Re){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",He.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Ue(Re,lt){if(1&Re&&(e.\u0275\u0275elementStart(0,"td",69),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Re){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He.Message)}}function De(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",70),e.\u0275\u0275listener("OkClickedEvent",function(dt){e.\u0275\u0275restoreView(He);const Mt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Mt.AuswahlOkButtonClicked(dt))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(dt.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Re){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",He.Auswahlliste)("Auswahlindex",He.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",He.Auswahltitel)("Iconname","")}}function Pe(Re,lt){if(1&Re){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",71),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(dt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(dt){e.\u0275\u0275restoreView(He);const Mt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Mt.MitarbeiterauswahlOkButtonClicked(dt))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(He);const dt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(dt.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Re){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",He.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",He.AuswahlIDliste)}}f.CommonUrlaubPlanungPage=(()=>{class Re{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;Auswahlservice;Tools;Debug;PageHeader;PageFooter;Monateliste_Uebersicht;Monateliste_Mounseover;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Message;ShowMitarbeitereditor;AddUrlaubRunning;AddHomeofficeRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;constructor(He,gt,dt,Mt,nt,$t,pt,Tt,Ut,Zt,Dt){this.Menuservice=He,this.Basics=gt,this.DBMitarbeitersettings=dt,this.Pool=Mt,this.DB=nt,this.DBMitarbeiter=$t,this.Const=pt,this.DBStandort=Tt,this.Auswahlservice=Ut,this.Tools=Zt,this.Debug=Dt;try{this.Monateliste_Uebersicht=[],this.Monateliste_Uebersicht.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Uebersicht.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_Mounseover=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AddHomeofficeRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="Mitarbeiter wechseln",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource=""}catch(zt){this.Debug.ShowErrorMessage(zt.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(He){var gt=this;return n(function*(){try{let dt,Mt;switch((0,u.default)().locale("de"),gt.Auswahldialogorigin){case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:gt.DB.Bundeslandkuerzel=He;let $t=gt.DB.Bundeslandkuerzel.substring(0,2);gt.DB.ReadFeiertage($t).then(()=>{gt.ShowAuswahl=!1,gt.PrepareData()});break;case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:null!==He&&He!==gt.DB.CurrentUrlaubzeitspanne.Status&&(dt=d.find(gt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:gt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),dt.Status=He,dt.Status===gt.DB.Urlaubstatusvarianten.Geplant&&(dt.VertreteranfrageSended=!1,dt.VertreterantwortSended=!1,dt.FreigabeanfrageSended=!1,dt.FreigabeantwortSended=!1,dt.FreigabeantwortOfficeSended=!1,dt.Vertretunganfragezeitstempel=null,dt.Vertretungantwortzeitstempel=null,dt.Vertretungantwortzeitstempel=null,dt.Freigabeantwortzeitstempel=null,dt.FreigabeantwortOfficezeitstempel=null),Mt=d.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.Jahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[Mt]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.ShowAuswahl=!1}));break;case gt.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:gt.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(He),gt.Pool.Mitarbeitersettings.StandortFilter=null!==He?He._id:gt.Const.NONE,gt.DBMitarbeitersettings.UpdateMitarbeitersettings(gt.Pool.Mitarbeitersettings,null).then(()=>{gt.ShowAuswahl=!1,gt.DBStandort.StandortfilterChanged.emit()});break;case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:dt=d.find(gt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:gt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),gt.DB.CurrentUrlaubzeitspanne.UrlaubsvertreterID=He,dt.UrlaubsvertreterID=He,dt.Status=gt.DB.Urlaubstatusvarianten.Geplant,dt.FreigabeantwortSended=!1,dt.FreigabeanfrageSended=!1,dt.VertreterantwortSended=!1,Mt=d.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.Jahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[Mt]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.ShowAuswahl=!1})}}catch(dt){gt.Debug.ShowErrorMessage(dt.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",gt.Debug.Typen.Page)}})()}BundeslandClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland,this.Auswahltitel="Bundesland",this.Auswahlhoehe=600,this.Auswahlliste=this.BundeslandAuswahlliste,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.Bundeslandkuerzel}),this.ShowAuswahl=!0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","FortschrittClickedHandler",this.Debug.Typen.Page)}}PrepareData(){var He=this;return n(function*(){try{let gt=0;He.DB.Init(),He.DB.CheckSetup(),He.DB.SetPlanungsmonate(),He.DB.CountAnfragenanzahlen(),He.BundeslandAuswahlliste=[];for(let dt of He.DB.Regionenliste)He.BundeslandAuswahlliste.push({Index:gt,FirstColumn:dt.Name,SecoundColumn:dt.isoCode,Data:dt.isoCode}),gt++;He.DB.Bundesland=d.find(He.BundeslandAuswahlliste,{Data:He.DB.Bundeslandkuerzel}).FirstColumn}catch(gt){He.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","PrepareData",He.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(He){return(0,u.default)(He).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(He,gt){try{switch(gt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=He.status,this.DB.ShowFerientage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=He.status,this.DB.ShowFerientage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(dt){this.Debug.ShowErrorMessage(dt,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(He,gt){try{switch(gt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=He.status,this.DB.ShowFeiertage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=He.status,this.DB.ShowFeiertage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(dt){this.Debug.ShowErrorMessage(dt,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(He){try{if(this.DB.CurrentMonatindex===He)return"orange"}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(He){try{this.DB.CurrentMonatindex=He,this.DB.SetPlanungsmonate()}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddUrlaubRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddHomeofficeStart(){try{this.DB.CurrentHomeofficezeitspanne=null,this.AddHomeofficeRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeStart",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,null!==this.DB.CurrentUrlaubzeitspanne){this.DB.CurrentUrlaub.Urlaubzeitspannen.push(this.DB.CurrentUrlaubzeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(He){try{let gt=d.filter(this.DB.CurrentUrlaub.Urlaubzeitspannen,Mt=>Mt.ZeitspannenID!==He.ZeitspannenID);this.DB.CurrentUrlaub=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentUrlaub.Urlaubzeitspannen=gt;let dt=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[dt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(He,gt){try{switch(gt){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=He.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=He.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=He.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(dt){this.Debug.ShowErrorMessage(dt,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(He){try{let gt=(0,u.default)(He.Startstempel);this.DB.CurrentMonatindex=gt.month(),this.DB.SetPlanungsmonate()}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(He){try{return(0,u.default)(He).locale("de").format("DD. MMMM YYYY")}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(He){try{let gt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(gt=d.find(this.Pool.Mitarbeiterliste,{_id:He[0]}),this.DB.CurrentMitarbeiter=gt,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(gt){this.Debug.ShowErrorMessage(gt.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let He=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:He,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),He++;for(let gt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:He,FirstColumn:gt.Kuerzel,SecoundColumn:gt.Standort,Data:gt}),He++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(He){try{let gt,dt;this.DB.CurrentUrlaubzeitspanne=He,dt=0,this.Auswahlliste=[];for(let Mt of this.DB.CurrentUrlaub.Projektbeteiligteliste)gt=d.find(this.Pool.Mitarbeiterliste,{_id:Mt.MitarbeiterID}),d.isUndefined(gt)||(this.Auswahlliste.push({Index:dt,FirstColumn:gt.Vorname+" "+gt.Name,SecoundColumn:"",Data:gt._id}),dt++);this.Auswahltitel="Stellvertreter/in festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:He.UrlaubsvertreterID})}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(He){try{let gt=d.find(this.Pool.Mitarbeiterliste,{_id:He.UrlaubsvertreterID});return d.isUndefined(gt)?"unbekannt":gt.Vorname+" "+gt.Name}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(He,gt,dt){try{let Mt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:gt.MitarbeiterIDExtern});d.isUndefined(Mt)||(Mt.Display=He.status);let nt=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[nt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Mt){this.Debug.ShowErrorMessage(Mt,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUrlaubUpdatesAvailable(){try{let He=!1;if(null!==this.DB.CurrentUrlaub)for(let gt of this.DB.CurrentUrlaub.Urlaubzeitspannen)gt.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==gt.UrlaubsvertreterID&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckUrlaubUpdatesAvailable",this.Debug.Typen.Page)}}CheckHomeofficeUpdatesAvailable(){try{let He=!1,gt=d.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID});if(null!==this.DB.CurrentUrlaub)for(let dt of this.DB.CurrentUrlaub.Homeofficezeitspannen)dt.Status===this.DB.Urlaubstatusvarianten.Geplant&>.Homeofficefreigabepersonen.length>0&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckHomeofficeUpdatesAvailable",this.Debug.Typen.Page)}}CheckLoschenEnabled(He){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||He.Status===this.DB.Urlaubstatusvarianten.Geplant||He.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||He.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","CheckLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.DB.CurrentUrlaubzeitspanne=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(He){try{let gt=0;this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentUrlaubzeitspanne=He,this.Auswahlliste=[],this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:He.Status})}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}AddHomeoffice(){try{if(null!==this.DB.CurrentHomeofficezeitspanne){this.DB.CurrentUrlaub.Homeofficezeitspannen.push(this.DB.CurrentHomeofficezeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeFinished",this.Debug.Typen.Page)}}SaveHomeofficeEventHandler(){try{this.AddHomeofficeRunning=!1,this.DB.CurrentHomeofficezeitspanne=null,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","SaveHomeofficeEventHandler",this.Debug.Typen.Page)}}GetHomeofficezeitspannenByStataus(He){try{return d.filter(this.DB.CurrentUrlaub.Homeofficezeitspannen,{Status:He})}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetHomeofficezeitspannenByStataus",this.Debug.Typen.Page)}}static \u0275fac=function(gt){return new(gt||Re)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(b.DatabasePoolService),e.\u0275\u0275directiveInject(_.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.ConstProvider),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(v.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Re,selectors:[["common-urlaub-planung-page"]],viewQuery:function(gt,dt){if(1>&&(e.\u0275\u0275viewQuery(z,5),e.\u0275\u0275viewQuery(F,5)),2>){let Mt;e.\u0275\u0275queryRefresh(Mt=e.\u0275\u0275loadQuery())&&(dt.PageHeader=Mt.first),e.\u0275\u0275queryRefresh(Mt=e.\u0275\u0275loadQuery())&&(dt.PageFooter=Mt.first)}},decls:51,vars:29,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["valign","top","align","center",2,"width","50%","padding","4px"],["size","small",3,"disabled","click"],[1,"datumdivclass"],[2,"width","100px","text-align","center"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable",2,"width","520px"],[2,"text-align","center"],[1,"docinnertablesmall"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"width","30px"],["colspan","2",2,"text-align","right","font-weight","bold"],["colspan","5"],["align","center","colspan","8"],["size","small","color","grau",3,"click",4,"ngIf"],[1,"legendedivclass",3,"click"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],["size","small","color","rot",3,"disabled","click"],["name","trash","slot","icon-only",2,"font-size","16px"],["colspan","8"],[1,"datumokdivclass",3,"click"],[2,"color","white","font-size","120%"],["name","checkmark-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable"],[2,"font-weight","bold","text-align","left","width","500px"],[2,"font-weight","bold","text-align","center","width","50px"],["colspan","3",2,"text-align","left"],[1,"legendedivclass"],["size","small","color","rot",3,"click"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(gt,dt){1>&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return dt.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return dt.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,q,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return dt.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return dt.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return dt.AddHomeoffice()})("FeiertagCrossedEvent",function(nt){return dt.FeiertagCrossedEventHandler(nt)})("FerientagCrossedEvent",function(nt){return dt.FerientagCrossedEventHandler(nt)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("AddUrlaubFinished",function(){return dt.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return dt.AddHomeoffice()})("FeiertagCrossedEvent",function(nt){return dt.FeiertagCrossedEventHandler(nt)})("FerientagCrossedEvent",function(nt){return dt.FerientagCrossedEventHandler(nt)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return dt.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return dt.AddHomeoffice()})("FeiertagCrossedEvent",function(nt){return dt.FeiertagCrossedEventHandler(nt)})("FerientagCrossedEvent",function(nt){return dt.FerientagCrossedEventHandler(nt)}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(30,wn,16,8,"tr",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(31,"div",18)(32,"table")(33,"tr")(34,"td")(35,"div",19),e.\u0275\u0275listener("click",function(){return dt.LegendeVisible=!dt.LegendeVisible}),e.\u0275\u0275element(36,"ion-icon",20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"td",21),e.\u0275\u0275template(38,qt,85,28,"table",22),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(39,"ion-footer")(40,"page-footer",null,23)(42,"table",4)(43,"tr")(44,"td",24)(45,"table",13)(46,"tr"),e.\u0275\u0275template(47,ut,2,1,"td",17)(48,Ue,2,1,"td",25),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(49,De,1,7,"auswahl-dialog",26)(50,Pe,1,6,"fi-mitarbeiter-auswahl",27)),2>&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",dt.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",dt.DB.Jahr)("Monatindex",dt.DB.FirstMonatIndex)("AddUrlaubRunning",dt.AddUrlaubRunning)("AddHomeofficerunning",dt.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",dt.DB.Jahr)("ShowYear",!0)("Monatindex",dt.DB.CurrentMonatindex)("AddUrlaubRunning",dt.AddUrlaubRunning)("AddHomeofficerunning",dt.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",dt.DB.Jahr)("Monatindex",dt.DB.LastMonatIndex)("AddUrlaubRunning",dt.AddUrlaubRunning)("AddHomeofficerunning",dt.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==dt.DB.CurrentUrlaub),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",dt.Legendehoehe,"px")("width",dt.Legendebreite,"px")("right",dt.LegendeVisible?0:-(dt.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",dt.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",dt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==dt.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==dt.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==dt.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",dt.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",dt.ShowMitarbeiterauswahl))},dependencies:[M.NgForOf,M.NgIf,E.IonButton,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,A.PageHeaderComponent,T.PageHeaderMenuComponent,R.PageFooterComponent,N.PjProjektpunktDateKWPickerComponent,I.AuswahlDialogComponent,L.CheckboxClonComponent,O.FiMitarbeiterAuswahlComponent],styles:[".datumdivclass[_ngcontent-%COMP%]{width:200px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:#307ac1;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;padding:4px}.datumcanceldivclass[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:red;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.datumokdivclass[_ngcontent-%COMP%]{width:120px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:green;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;font-size:90%;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return Re})()},19204:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubsuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),u=o(44716),a=o(62364),e=o(70216),c=o(84588),l=o(6168),g=o(90520),b=o(6232),_=o(72284),S=o(10272),y=o(7388),m=o(27328),h=o(26668),C=n.__importStar(o(54496)),M=(n.__importStar(o(84588)),[{path:"",component:a.CommonUrlaubUebersichtPage}]);f.CommonUrlaubsuebersichtPageModule=(()=>{class A{static \u0275fac=function(N){return new(N||A)};static \u0275mod=C.\u0275\u0275defineNgModule({type:A});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,u.FormsModule,d.IonicModule,e.PageHeaderModule,c.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,b.UrlausplanungKalenderModule,_.ButtonValueModule,S.AuswahlDialogModule,y.CheckboxClonModule,m.FiMitarbeiterEditorModule,h.FiMitarbeiterAuswahlModule]})}return A})()},62364:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.CommonUrlaubUebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),a=o(17964),e=i.__importStar(o(54496)),c=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(7992)),b=i.__importStar(o(9544)),_=i.__importStar(o(29743)),S=i.__importStar(o(22848)),y=i.__importStar(o(15024)),m=i.__importStar(o(58864)),h=i.__importStar(o(48044)),C=i.__importStar(o(34388)),v=i.__importStar(o(91368)),M=i.__importStar(o(10716)),E=i.__importStar(o(90212)),A=i.__importStar(o(63792)),T=i.__importStar(o(29856)),R=i.__importStar(o(77440)),N=i.__importStar(o(56584)),I=i.__importStar(o(25856)),L=i.__importStar(o(80887)),O=["PageHeader"],z=["PageFooter"];function F(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView($e.FeiertagCrossedEventHandler(Me))})("FerientagCrossedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView($e.FerientagCrossedEventHandler(Me))}),e.\u0275\u0275elementEnd()()}if(2&be){const ye=Ae.index,le=e.\u0275\u0275nextContext().index,Me=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Me.DB.Jahr)("Monatindex",6*le+ye)}}function q(be,Ae){if(1&be&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,F,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&be){const ye=Ae.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",ye)}}function X(be,Ae){if(1&be&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,q,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",ye.Monateliste_Gesamtjahr)}}function ce(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.FeiertagCrossedEventHandler(Me))})("FerientagCrossedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.FerientagCrossedEventHandler(Me))}),e.\u0275\u0275elementEnd()()}if(2&be){const ye=Ae.index,le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",le.DB.Jahr)("Monatindex",ye)}}function K(be,Ae){if(1&be&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,ce,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ye.Monateliste_HalbjahrEins)}}function ne(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.FeiertagCrossedEventHandler(Me))})("FerientagCrossedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.FerientagCrossedEventHandler(Me))}),e.\u0275\u0275elementEnd()()}if(2&be){const ye=Ae.index,le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",le.DB.Jahr)("Monatindex",ye+6)}}function Y(be,Ae){if(1&be&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,ne,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ye.Monateliste_HalbjahrZwei)}}function H(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.AnsichtFeiertageCheckChanged(Me,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",28),e.\u0275\u0275element(6,"ion-icon",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView($e.AnsichtFerientageCheckChanged(Me,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",28),e.\u0275\u0275element(14,"ion-icon",32),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&be){const ye=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",ye.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",ye.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Ferien_DE)}}function ae(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(Me){const $e=e.\u0275\u0275restoreView(ye),qe=$e.$implicit,tt=$e.index,mt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(mt.DisplayExternCheckChanged(Me,qe,tt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",34),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&be){const ye=Ae.$implicit,le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",le.DB.CheckDisplayExternenUrlaub(ye.MitarbeiterIDExtern))("Enabled",ye.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(ye.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",ye.NameExtern," ",ye.Text,"")}}function re(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,H,17,6,"ng-container",9),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($e.AnsichtFeiertageCheckChanged(Me,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",28),e.\u0275\u0275element(8,"ion-icon",29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($e.AnsichtFerientageCheckChanged(Me,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",28),e.\u0275\u0275element(16,"ion-icon",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,ae,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===ye.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",ye.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",ye.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ye.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ye.DB.UrlaublisteExtern)}}function W(be,Ae){if(1&be&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",ye.Flagsource,e.\u0275\u0275sanitizeUrl)}}function ee(be,Ae){if(1&be&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ye.Message)}}function J(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($e.AuswahlOkButtonClicked(Me))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const Me=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Me.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",ye.Auswahlliste)("Auswahlindex",ye.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",ye.Auswahltitel)("Iconname","")}}function G(be,Ae){if(1&be){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const Me=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Me.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Me){e.\u0275\u0275restoreView(ye);const $e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($e.MitarbeiterauswahlOkButtonClicked(Me))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ye);const Me=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Me.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&be){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ye.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",ye.AuswahlIDliste)}}f.CommonUrlaubUebersichtPage=(()=>{class be{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Monateliste_Gesamtjahr;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Ansichtvariante;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;AuswahlIDliste;MitarbeiterauswahlTitel;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Monateliste_HalbjahrEins;Monateliste_HalbjahrZwei;constructor(ye,le,Me,$e,qe,tt,mt,st,ft,Qt){this.Menuservice=ye,this.Basics=le,this.Pool=Me,this.DB=$e,this.Const=qe,this.DBMitarbeiter=tt,this.DBMitarbeitersettings=mt,this.DBStandort=st,this.Auswahlservice=ft,this.Debug=Qt;try{this.Monateliste_Gesamtjahr=[],this.Monateliste_Gesamtjahr.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Gesamtjahr.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_HalbjahrEins=["Januar","Februar","M\xe4rz","April","Mai","Juni"],this.Monateliste_HalbjahrZwei=["Juli","August","September","Oktober","November","Dezember"],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,u.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(ye){try{let le;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(le=d.find(this.Pool.Mitarbeiterliste,{_id:ye[0]}),this.DB.CurrentMitarbeiter=le,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(le){this.Debug.ShowErrorMessage(le.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ye){var le=this;return n(function*(){try{switch(le.Auswahldialogorigin){case le.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:le.DB.Bundeslandkuerzel=ye;let Me=le.DB.Bundeslandkuerzel.substring(0,2);le.DB.ReadFeiertage(Me);break;case le.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:le.DBStandort.CurrentStandortfilter=(0,a.cloneDeep)(ye),le.Pool.Mitarbeitersettings.StandortFilter=null!==ye?ye._id:le.Const.NONE,le.DBMitarbeitersettings.UpdateMitarbeitersettings(le.Pool.Mitarbeitersettings,null).then(()=>{le.ShowAuswahl=!1,le.DBStandort.StandortfilterChanged.emit()})}le.ShowAuswahl=!1,le.PrepareData()}catch(Me){le.Debug.ShowErrorMessage(Me.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",le.Debug.Typen.Page)}})()}PrepareData(){var ye=this;return n(function*(){try{let le=0;ye.DB.Init(),ye.DB.CheckSetup(),ye.DB.SetPlanungsmonate(),ye.DB.CountAnfragenanzahlen(),ye.BundeslandAuswahlliste=[];for(let Me of ye.DB.Regionenliste)ye.BundeslandAuswahlliste.push({Index:le,FirstColumn:Me.Name,SecoundColumn:Me.isoCode,Data:Me.isoCode}),le++;ye.DB.Bundesland=d.find(ye.BundeslandAuswahlliste,{Data:ye.DB.Bundeslandkuerzel}).FirstColumn}catch(le){ye.Debug.ShowErrorMessage(le,"Urlaubsuebersicht Page","PrepareData",ye.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(ye){try{this.Message=ye.Name,""!==ye.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===ye.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(le){this.Debug.ShowErrorMessage(le,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(ye){try{this.Message=ye.Name,""!==ye.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===ye.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(le){this.Debug.ShowErrorMessage(le,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(ye){return(0,u.default)(ye).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let ye=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:ye,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),ye++;for(let le of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ye,FirstColumn:le.Kuerzel,SecoundColumn:le.Standort,Data:le}),ye++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(ye,le,Me){try{let $e=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:le.MitarbeiterIDExtern});d.isUndefined($e)||($e.Display=ye.status);let qe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[qe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch($e){this.Debug.ShowErrorMessage($e,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(ye,le){try{switch(le){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=ye.status,this.DB.ShowFeiertage_DE=ye.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=ye.status,this.DB.ShowFeiertage_BG=ye.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Me){this.Debug.ShowErrorMessage(Me,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(ye,le){try{switch(le){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=ye.status,this.DB.ShowFerientage_DE=ye.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=ye.status,this.DB.ShowFerientage_BG=ye.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Me){this.Debug.ShowErrorMessage(Me,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}static \u0275fac=function(le){return new(le||be)(e.\u0275\u0275directiveInject(c.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(b.DatabaseUrlaubService),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(m.DatabaseStandorteService),e.\u0275\u0275directiveInject(h.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:be,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(le,Me){if(1&le&&(e.\u0275\u0275viewQuery(O,5),e.\u0275\u0275viewQuery(z,5)),2&le){let $e;e.\u0275\u0275queryRefresh($e=e.\u0275\u0275loadQuery())&&(Me.PageHeader=$e.first),e.\u0275\u0275queryRefresh($e=e.\u0275\u0275loadQuery())&&(Me.PageFooter=$e.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],[1,"paddingtable"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"paddingsmalltable",2,"width","100%"],[4,"ngFor","ngForOf"],[2,"width","20px"],["style","width: 16%; height: inherit","valign","top",4,"ngFor","ngForOf"],["valign","top",2,"width","16%","height","inherit"],[3,"Jahr","Monatindex","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(le,Me){1&le&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Me.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Me.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return Me.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return Me.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,X,3,1,"ng-container",9)(23,K,6,1,"ng-container",9)(24,Y,6,1,"ng-container",9),e.\u0275\u0275elementStart(25,"div",10)(26,"table")(27,"tr")(28,"td")(29,"div",11),e.\u0275\u0275listener("click",function(){return Me.LegendeVisible=!Me.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,re,56,20,"table",14),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(33,"ion-footer")(34,"page-footer",null,15)(36,"table",4)(37,"tr")(38,"td",16)(39,"table",17)(40,"tr"),e.\u0275\u0275template(41,W,2,1,"td",9)(42,ee,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,J,1,7,"auswahl-dialog",19)(44,G,1,6,"fi-mitarbeiter-auswahl",20)),2&le&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",Me.Ansichtvariante===Me.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",Me.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Me.Ansichtvariante===Me.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",Me.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Me.Ansichtvariante===Me.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",Me.DB.Jahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Me.Ansichtvariante===Me.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Me.Ansichtvariante===Me.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Me.Ansichtvariante===Me.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Me.Legendehoehe,"px")("width",Me.Legendebreite,"px")("right",Me.LegendeVisible?0:-(Me.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Me.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Me.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Me.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Me.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Me.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Me.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Me.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,E.PageHeaderComponent,A.PageHeaderMenuComponent,T.PageFooterComponent,R.PjProjektpunktDateKWPickerComponent,N.AuswahlDialogComponent,I.CheckboxClonComponent,L.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:200px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return be})()},99988:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FIMitarbeiterlistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(84588),a=o(10716),e=o(54780),c=o(70216),l=o(6512),g=o(87143),b=o(90520),_=o(6168),S=o(27328),y=o(10272),m=o(7388),h=n.__importStar(o(54496)),v=(n.__importStar(o(84588)),[{path:"",component:e.FiMitarbeiterlistePage}]);f.FIMitarbeiterlistePageModule=(()=>{class E{static \u0275fac=function(R){return new(R||E)};static \u0275mod=h.\u0275\u0275defineNgModule({type:E});static \u0275inj=h.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,a.IonicModule,u.RouterModule.forChild(v),c.PageHeaderModule,b.PageFooterModule,l.AbstandElementFixedModule,g.AlphabetModule,_.PageHeaderMenuModule,S.FiMitarbeiterEditorModule,y.AuswahlDialogModule,m.CheckboxClonModule]})}return E})()},54780:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiMitarbeiterlistePage=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importStar(o(54496)),u=n.__importStar(o(14652)),a=n.__importStar(o(34388)),e=n.__importStar(o(19668)),c=n.__importStar(o(29743)),l=n.__importStar(o(22848)),g=n.__importStar(o(58864)),b=n.__importStar(o(48044)),_=n.__importStar(o(7992)),S=n.__importStar(o(91368)),y=n.__importStar(o(10716)),m=n.__importStar(o(90212)),h=n.__importStar(o(29856)),C=n.__importStar(o(99031)),v=n.__importStar(o(63792)),M=n.__importStar(o(82384)),E=n.__importStar(o(56584)),A=n.__importStar(o(25856)),T=["Alphabet"],R=["PageHeader"],N=["PageFooter"];function I(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",23)(2,"ion-text",40)(3,"b"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()()()()),2&ee){const G=d.\u0275\u0275nextContext().index,de=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(de.Mitarbeiterbuchstabenliste[G])}}function L(ee,J){1&ee&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",43),d.\u0275\u0275elementEnd())}function O(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",42),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,L,2,0,"td",11),d.\u0275\u0275elementStart(4,"td"),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()),2&ee){const G=d.\u0275\u0275nextContext(2).$implicit,de=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",G.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",G.Email===de.Pool.Mitarbeiterdaten.Email&&""===G.Kuerzel||""===G.StandortID),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate3(" ",G.Name," ",G.Vorname," / ",G.Kuerzel," ")}}function z(ee,J){1&ee&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",43),d.\u0275\u0275elementEnd())}function F(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",42),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,z,2,0,"td",11),d.\u0275\u0275elementStart(4,"td")(5,"span"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"span",44),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(9,"span"),d.\u0275\u0275text(10),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11),d.\u0275\u0275elementEnd()()),2&ee){const G=d.\u0275\u0275nextContext(2).$implicit,de=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",G.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",G.Email===de.Pool.Mitarbeiterdaten.Email&&""===G.Kuerzel||""===G.StandortID),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(G.Text_A),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(G.Text_B),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(G.Text_C),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" / ",G.Kuerzel," ")}}function q(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"table",41),d.\u0275\u0275template(1,O,6,6,"tr",11)(2,F,12,7,"tr",11),d.\u0275\u0275elementEnd()),2&ee){const G=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!G.Filtered),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",G.Filtered)}}function X(ee,J){1&ee&&(d.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),d.\u0275\u0275element(3,"ion-icon",46),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"td",47),d.\u0275\u0275text(5,"Administrator"),d.\u0275\u0275elementEnd()()())}function ce(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),d.\u0275\u0275element(3,"ion-icon",48),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"td",47),d.\u0275\u0275text(5,"Urlaubsfreigaben"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"tr"),d.\u0275\u0275element(7,"td"),d.\u0275\u0275elementStart(8,"td",49),d.\u0275\u0275text(9),d.\u0275\u0275elementEnd()()()),2&ee){const G=d.\u0275\u0275nextContext().$implicit,de=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(de.GetStandortliste(G.Urlaubsfreigabeorte))}}function K(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),d.\u0275\u0275element(3,"ion-icon",50),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"td",47),d.\u0275\u0275text(5,"Homeofficefreigaben"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"tr"),d.\u0275\u0275element(7,"td"),d.\u0275\u0275elementStart(8,"td",49),d.\u0275\u0275text(9),d.\u0275\u0275elementEnd()()()),2&ee){const G=d.\u0275\u0275nextContext().$implicit,de=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(de.GetStandortliste(G.Homeofficefreigabestandorte))}}function ne(ee,J){if(1&ee){const G=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"ion-item",21),d.\u0275\u0275listener("click",function(){const Ae=d.\u0275\u0275restoreView(G).$implicit,ye=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(ye.MitrabeiterButtonClicked(Ae))}),d.\u0275\u0275elementStart(1,"ion-grid",22),d.\u0275\u0275template(2,I,5,1,"ion-row",11),d.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",23)(5,"div",24)(6,"table",14)(7,"tr")(8,"td",25)(9,"table",26)(10,"tr")(11,"td"),d.\u0275\u0275template(12,q,3,2,"table",27),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td")(15,"table",28)(16,"tr"),d.\u0275\u0275element(17,"td",29),d.\u0275\u0275elementStart(18,"td",30),d.\u0275\u0275text(19,"Standort:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(20,"td",31),d.\u0275\u0275text(21),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(22,"td",32),d.\u0275\u0275elementStart(23,"td",33),d.\u0275\u0275text(24,"Email:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(25,"td",8),d.\u0275\u0275text(26),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(27,"td",32),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(28,"tr"),d.\u0275\u0275element(29,"td",29),d.\u0275\u0275elementStart(30,"td",30),d.\u0275\u0275text(31,"Possition:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(32,"td",31),d.\u0275\u0275text(33),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(34,"td",32)(35,"td",34),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(36,"td",35)(37,"table",36)(38,"tr")(39,"td",37),d.\u0275\u0275template(40,X,6,0,"table",38),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(41,"td",37),d.\u0275\u0275template(42,ce,10,1,"table",38),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(43,"td",37),d.\u0275\u0275template(44,K,10,1,"table",38),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(45,"td",39),d.\u0275\u0275elementEnd()()()()()()()()()()}if(2&ee){const G=J.$implicit,de=J.index,be=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",""!==be.Mitarbeiterbuchstabenliste[de]),d.\u0275\u0275advance(10),d.\u0275\u0275property("ngIf",null!==G&&null!==be.Pool.Mitarbeiterdaten),d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(be.DBStandort.GetStandort(G.StandortID)),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(G.Email),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate(be.DB.GetPositionsbezeichnung(G.PositionID)),d.\u0275\u0275advance(7),d.\u0275\u0275property("ngIf",G.Planeradministrator),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",G.Urlaubsfreigaben),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",G.Homeofficefreigaben)}}function Y(ee,J){if(1&ee&&(d.\u0275\u0275elementStart(0,"ion-list"),d.\u0275\u0275template(1,ne,46,8,"ion-item",20),d.\u0275\u0275elementEnd()),2&ee){const G=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",G.Mitarbeiterliste)}}function H(ee,J){1&ee&&(d.\u0275\u0275elementStart(0,"table",51)(1,"tr")(2,"td",52),d.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),d.\u0275\u0275elementEnd()()())}function ae(ee,J){if(1&ee){const G=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",53),d.\u0275\u0275listener("StandortClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.StandortClickedHandler())})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.ShowEditor=!1)})("OkClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.ShowEditor=!1)})("ResturlaubEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.ResturlaubClicked())})("AnredeClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.AnredeClickedEventHandler())})("PositionClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.PositionClickedEventHandler())})("UrlaubClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.UrlaubClickedEventHandler())}),d.\u0275\u0275elementEnd()}if(2&ee){const G=d.\u0275\u0275nextContext();d.\u0275\u0275property("Dialogbreite",1280)("Titel",G.GetDialogTitel())}}function re(ee,J){if(1&ee){const G=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"auswahl-dialog",54),d.\u0275\u0275listener("OkClickedEvent",function(be){d.\u0275\u0275restoreView(G);const Ae=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ae.AuswahlOkButtonClicked(be))})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(G);const be=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(be.ShowAuswahl=!1)}),d.\u0275\u0275elementEnd()}if(2&ee){const G=d.\u0275\u0275nextContext();d.\u0275\u0275property("Auswahlliste",G.Auswahlliste)("Auswahlindex",G.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",G.Auswahltitel)("Iconname",G.GetDialogTitelicon())}}f.FiMitarbeiterlistePage=(()=>{class ee{Basics;Debug;Tools;Const;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Inputtimer;Listenbreite;ShowEditor;EditorValid;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;Freigabefiltervarianten={Keiner:"keiner",Administrator:"Administrator",Urlaubsfreigaben:"Urlaubsfreigaben",Homeofficefreigaben:"Homeofficefreigaben"};Freigabefilter;constructor(G,de,be,Ae,ye,le,Me,$e){this.Basics=G,this.Debug=de,this.Tools=be,this.Const=Ae,this.DB=ye,this.DBStandort=le,this.Auswahlservice=Me,this.Pool=$e;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabet=[],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterliste=[],this.Alphapetbreite=44,this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Mitarbeiteralphabet=this.Standardalphabet,this.Mitarbeiterbuchstabenliste=[],this.Mitarbeiterfiltertext="",this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.StandortfilterSubsciption=null,this.ShowMeOnly=!1,this.ShowArchivierte=!1,this.ShowAktuelle=!0,this.Freigabefilter=this.Freigabefiltervarianten.Keiner}catch(qe){this.Debug.ShowErrorMessage(qe.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null),null!==this.StandortfilterSubsciption&&(this.StandortfilterSubsciption.unsubscribe(),this.StandortfilterSubsciption=null)}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let G=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-G-4,this.Alphabetcomponent.InitScreen()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(G){try{this.DB.CurrentMitarbeiter=i.cloneDeep(G),this.ShowEditor=!0}catch(de){this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(G){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=G,this.PrepareDaten()}catch(de){this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(G){try{let de=G.Name.substring(0,1).toUpperCase();return de!==this.Lastletter?(this.Lastletter=de,de):""}catch(de){this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let G,de,be,Ae,ye,le,Me,$e,qe,tt,mt,st;if(null!==this.Pool.Mitarbeiterliste){if(Ae=i.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",Ae.sort((ft,Qt)=>ft.Name>Qt.Name?-1:ft.Nameft.Archiviert):this.ShowAktuelle?G=i.filter(G,ft=>!ft.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(G=[])),this.Freigabefilter!==this.Freigabefiltervarianten.Keiner)switch(this.Freigabefilter){case this.Freigabefiltervarianten.Administrator:G=i.filter(G,{Planeradministrator:!0});break;case this.Freigabefiltervarianten.Urlaubsfreigaben:G=i.filter(G,{Urlaubsfreigaben:!0});break;case this.Freigabefiltervarianten.Homeofficefreigaben:G=i.filter(G,{Homeofficefreigaben:!0})}if(null!==this.DBStandort.CurrentStandortfilter&&(G=i.filter(G,ft=>ft.StandortID===this.DBStandort.CurrentStandortfilter._id)),G.sort((ft,Qt)=>ft.NameQt.Name?1:0),G.length>6){this.Mitarbeiteralphabet=["Alle"];for(let ft of G)be=ft.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(be)&&this.Mitarbeiteralphabet.push(be)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){de=i.cloneDeep(G),G=[];for(let ft of de)be=ft.Name.substring(0,1).toUpperCase(),be="\xc4"===be?"A":be,be="\xd6"===be?"O":be,be="\xdc"===be?"U":be,this.Mitarbeiteralphabetauswahl===be&&G.push(ft)}if(""!==this.Mitarbeiterfiltertext){de=i.cloneDeep(G),G=[];for(let ft of de)mt=this.Mitarbeiterfiltertext.toLowerCase(),st=ft.Name.toLowerCase(),tt=st.indexOf(mt),-1!==tt&&(ye=ft.Name.length,qe=mt.length,le=ft.Name.substr(0,tt),Me=ft.Name.substr(tt,qe),qe=ye-qe-tt,$e=ft.Name.substr(ye-qe,qe),ft.Filtered=!0,ft.Text_A=le,ft.Text_B=Me,ft.Text_C=$e,G.push(ft))}this.Mitarbeiterbuchstabenliste=[];for(let ft of G)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(ft));this.Mitarbeiterliste=i.cloneDeep(G)}}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(G){try{this.EditorValid=G}catch(de){this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let G=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let de of this.Pool.Standorteliste)this.Auswahlliste.push({Index:G,FirstColumn:de.Kuerzel,SecoundColumn:de.Ort,Data:de}),G++;this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(G){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=G;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=G;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=G._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position:this.DB.CurrentMitarbeiter.PositionID=G;break;case"Resturlaub":this.DB.CurrentMitarbeiter.Resturlaub=G;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=G,this.Pool.Mitarbeitersettings.StandortFilter=null!==G?G._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(de=>{this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(de){this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}GetDialogTitelicon(){try{if(!this.DB.CurrentMitarbeiter&&!this.Pool.Mitarbeiterdaten)return"help-outline";switch(this.Auswahltitel){case"Standort festlegen":case"Standortfilter festlegen":return"location-outline";case"Fachbereich festlegen":return"hammer-outline";default:return"help-outline"}}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(G){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=G,this.PrepareDaten()}catch(de){this.Debug.ShowErrorMessage(de.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let G=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:G,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),G++;for(let de of this.Pool.Standorteliste)this.Auswahlliste.push({Index:G,FirstColumn:de.Kuerzel,SecoundColumn:de.Ort,Data:de}),G++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(G){try{this.ShowMeOnly=G.status,!0===this.ShowMeOnly&&(this.DBStandort.CurrentStandortfilter=null,this.Pool.Mitarbeitersettings.StandortFilter=this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()})),this.PrepareDaten()}catch(de){this.Debug.ShowErrorMessage(de,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(G){try{this.ShowArchivierte=G.status,this.PrepareDaten()}catch(de){this.Debug.ShowErrorMessage(de,"Mitarbeiterliste","ShowArchivierteChanged",this.Debug.Typen.Page)}}AnredeClickedEventHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Anrede festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede,this.Auswahlliste.push({Index:0,FirstColumn:"Unbekannt",SecoundColumn:"",Data:this.Const.NONE}),this.Auswahlliste.push({Index:1,FirstColumn:"Frau",SecoundColumn:"",Data:"Frau"}),this.Auswahlliste.push({Index:2,FirstColumn:"Herr",SecoundColumn:"",Data:"Herr"}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(G){this.Debug.ShowErrorMessage(G,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub,this.Auswahlliste.push({Index:0,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:1,FirstColumn:"21",SecoundColumn:"",Data:21}),this.Auswahlliste.push({Index:2,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlliste.push({Index:3,FirstColumn:"23",SecoundColumn:"",Data:23}),this.Auswahlliste.push({Index:4,FirstColumn:"24",SecoundColumn:"",Data:24}),this.Auswahlliste.push({Index:5,FirstColumn:"25",SecoundColumn:"",Data:25}),this.Auswahlliste.push({Index:6,FirstColumn:"26",SecoundColumn:"",Data:26}),this.Auswahlliste.push({Index:7,FirstColumn:"27",SecoundColumn:"",Data:27}),this.Auswahlliste.push({Index:8,FirstColumn:"28",SecoundColumn:"",Data:28}),this.Auswahlliste.push({Index:9,FirstColumn:"29",SecoundColumn:"",Data:29}),this.Auswahlliste.push({Index:10,FirstColumn:"30",SecoundColumn:"",Data:30}),this.Auswahlliste.push({Index:11,FirstColumn:"31",SecoundColumn:"",Data:31}),this.Auswahlliste.push({Index:12,FirstColumn:"32",SecoundColumn:"",Data:32}),this.Auswahlliste.push({Index:13,FirstColumn:"33",SecoundColumn:"",Data:33}),this.Auswahlliste.push({Index:14,FirstColumn:"34",SecoundColumn:"",Data:34}),this.Auswahlliste.push({Index:15,FirstColumn:"35",SecoundColumn:"",Data:35}),this.Auswahlliste.push({Index:16,FirstColumn:"36",SecoundColumn:"",Data:36}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(G){this.Debug.ShowErrorMessage(G,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(G){try{this.ShowAktuelle=G.status,this.PrepareDaten()}catch(de){this.Debug.ShowErrorMessage(de,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}GetStandortliste(G){try{let de,be=[],Ae="",ye=0;for(let le of G)de=i.find(this.Pool.Standorteliste,{_id:le}),i.isUndefined(de)||be.push(de);for(de of(be.sort((le,Me)=>le.OrtMe.Ort?1:0),be))Ae+=de.Ort.substring(0,3).toUpperCase(),yeG.Data===this.DB.CurrentMitarbeiter.Resturlaub),this.ShowAuswahl=!0}catch(G){this.Debug.ShowErrorMessage(G,"Mitarbeiterliste","ResturlaubClicked",this.Debug.Typen.Page)}}static \u0275fac=function(de){return new(de||ee)(d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(c.ConstProvider),d.\u0275\u0275directiveInject(l.DatabaseMitarbeiterService),d.\u0275\u0275directiveInject(g.DatabaseStandorteService),d.\u0275\u0275directiveInject(b.AuswahlDialogService),d.\u0275\u0275directiveInject(_.DatabasePoolService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:ee,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(de,be){if(1&de&&(d.\u0275\u0275viewQuery(T,5),d.\u0275\u0275viewQuery(R,5),d.\u0275\u0275viewQuery(N,5)),2&de){let Ae;d.\u0275\u0275queryRefresh(Ae=d.\u0275\u0275loadQuery())&&(be.Alphabetcomponent=Ae.first),d.\u0275\u0275queryRefresh(Ae=d.\u0275\u0275loadQuery())&&(be.PageHeader=Ae.first),d.\u0275\u0275queryRefresh(Ae=d.\u0275\u0275loadQuery())&&(be.PageFooter=Ae.first)}},decls:57,vars:21,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[3,"value","ionChange"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],[2,"width","200px"],[2,"--color","white","--color-checked","white",3,"value"],["no-shadow","","no-border",""],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],[2,"width","70%"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","24px"],[1,"ergonametextclass",2,"width","80px"],[2,"width","140px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],["colspan","3"],["align","right",2,"width","auto"],["width","600px"],["valign","top",2,"width","30%"],["class","paddingsmalltable",4,"ngIf"],[2,"width","10%"],["color","orange"],["cellspacing","0","cellpadding","0"],[2,"height","20px","width","20px","border-radius","4px"],["src","/assets/svgs/alert.svg",2,"height","26px"],[2,"color","green"],[1,"paddingsmalltable"],["name","shield-half-outline","color","rot",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","80%","color","#444444"],["name","home","color","blau",2,"font-size","20px"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(de,be){if(1&de&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),d.\u0275\u0275listener("SucheChanged",function(ye){return be.SucheChanged(ye)})("StandortfilterClicked",function(){return be.StandortFilterClickedHandler()}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"ion-radio-group",3),d.\u0275\u0275listener("ionChange",function(ye){return be.FreigabefilterChanged(ye)}),d.\u0275\u0275elementStart(5,"table",4)(6,"tr")(7,"td")(8,"checkbox-clon",5),d.\u0275\u0275listener("CheckChanged",function(ye){return be.ShowMeCheckedChanged(ye)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(9,"td",6),d.\u0275\u0275text(10,"Nur meinen Eintrag anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(11,"td",7),d.\u0275\u0275elementStart(12,"td")(13,"checkbox-clon",5),d.\u0275\u0275listener("CheckChanged",function(ye){return be.ShowAktuelleChanged(ye)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(14,"td",6),d.\u0275\u0275text(15,"Aktuelle Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(16,"td",7),d.\u0275\u0275elementStart(17,"td")(18,"checkbox-clon",5),d.\u0275\u0275listener("CheckChanged",function(ye){return be.ShowArchivierteChanged(ye)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(19,"td",6),d.\u0275\u0275text(20,"Archivierte Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(21,"td",8),d.\u0275\u0275elementStart(22,"td"),d.\u0275\u0275text(23,"Freigabefilter:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(24,"td",6),d.\u0275\u0275element(25,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(26,"td"),d.\u0275\u0275text(27,"keiner"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(28,"td",7),d.\u0275\u0275elementStart(29,"td",6),d.\u0275\u0275element(30,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(31,"td"),d.\u0275\u0275text(32,"Administrator"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(33,"td",7),d.\u0275\u0275elementStart(34,"td",6),d.\u0275\u0275element(35,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(36,"td"),d.\u0275\u0275text(37,"Urlaubsfreigaben"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(38,"td",7),d.\u0275\u0275elementStart(39,"td",6),d.\u0275\u0275element(40,"ion-radio",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(41,"td"),d.\u0275\u0275text(42,"Homeofficefreigaben"),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(43,"ion-content",10),d.\u0275\u0275template(44,Y,2,1,"ion-list",11)(45,H,4,0,"table",12),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(46,"ion-footer")(47,"page-footer",null,13)(49,"table",14)(50,"tr")(51,"td",15),d.\u0275\u0275text(52),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275template(53,ae,1,2,"fi-mitarbeiter-editor",16)(54,re,1,6,"auswahl-dialog",17),d.\u0275\u0275elementStart(55,"alphabet",18,19),d.\u0275\u0275listener("AlphabetClicked",function(ye){return be.AlphabetClicked(ye)}),d.\u0275\u0275elementEnd()),2&de){const Ae=d.\u0275\u0275reference(2),ye=d.\u0275\u0275reference(48);d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),d.\u0275\u0275advance(),d.\u0275\u0275property("value",be.Freigabefilter),d.\u0275\u0275advance(4),d.\u0275\u0275property("Checked",be.ShowMeOnly),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",be.ShowAktuelle),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",be.ShowArchivierte),d.\u0275\u0275advance(7),d.\u0275\u0275property("value",be.Freigabefiltervarianten.Keiner),d.\u0275\u0275advance(5),d.\u0275\u0275property("value",be.Freigabefiltervarianten.Administrator),d.\u0275\u0275advance(5),d.\u0275\u0275property("value",be.Freigabefiltervarianten.Urlaubsfreigaben),d.\u0275\u0275advance(5),d.\u0275\u0275property("value",be.Freigabefiltervarianten.Homeofficefreigaben),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",be.Mitarbeiterliste&&be.Mitarbeiterliste.length>0),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",0===be.Mitarbeiterliste.length),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",be.Mitarbeiterliste.length," Eintr\xe4ge "),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",be.ShowEditor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",be.ShowAuswahl),d.\u0275\u0275advance(),d.\u0275\u0275property("PageHeader",Ae)("PageFooter",ye)("Breite",be.Alphapetbreite)("Buchstabenliste",be.Mitarbeiteralphabet)("Auswahl",be.Mitarbeiteralphabetauswahl)}},dependencies:[S.NgForOf,S.NgIf,y.IonCol,y.IonContent,y.IonFooter,y.IonGrid,y.IonHeader,y.IonIcon,y.IonItem,y.IonList,y.IonRadio,y.IonRadioGroup,y.IonRow,y.IonText,y.RadioValueAccessor,y.SelectValueAccessor,m.PageHeaderComponent,h.PageFooterComponent,C.AlphabetComponent,v.PageHeaderMenuComponent,M.FiMitarbeiterEditorComponent,E.AuswahlDialogComponent,A.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return ee})()},96012:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortelistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),u=o(84588),a=o(10716),e=o(90756),c=o(6512),l=o(87143),g=o(79664),b=o(70216),_=o(90520),S=o(6168),y=o(54588),m=o(10272),h=n.__importStar(o(54496)),v=(n.__importStar(o(84588)),[{path:"",component:e.FiStandortelistePage}]);f.FiStandortelistePageModule=(()=>{class E{static \u0275fac=function(R){return new(R||E)};static \u0275mod=h.\u0275\u0275defineNgModule({type:E});static \u0275inj=h.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,a.IonicModule,u.RouterModule.forChild(v),c.AbstandElementFixedModule,l.AlphabetModule,g.FiStandortEditorModule,b.PageHeaderModule,_.PageFooterModule,S.PageHeaderMenuModule,y.PageModalKeepermodule,m.AuswahlDialogModule]})}return E})()},90756:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.FiStandortelistePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),u=i.__importStar(o(54496)),a=i.__importStar(o(14652)),e=i.__importStar(o(34388)),c=i.__importStar(o(19668)),l=i.__importStar(o(29743)),g=i.__importStar(o(58864)),b=i.__importStar(o(22848)),_=i.__importStar(o(9544)),S=i.__importStar(o(48044)),y=i.__importStar(o(7992)),m=i.__importStar(o(91368)),h=i.__importStar(o(10716)),C=i.__importStar(o(99031)),v=i.__importStar(o(41656)),M=i.__importStar(o(90212)),E=i.__importStar(o(29856)),A=i.__importStar(o(63792)),T=i.__importStar(o(56584)),R=["Alphabet"],N=["PageHeader"],I=["PageFooter"];function L(W,ee){if(1&W&&(u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",15)(2,"ion-text",33)(3,"b"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()()()),2&W){const J=u.\u0275\u0275nextContext().index,G=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(G.Standortebuchstabenliste[J])}}function O(W,ee){if(1&W&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&W){const J=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1(" ",J.Ort," ")}}function z(W,ee){if(1&W&&(u.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"span",34),u.\u0275\u0275text(5),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"span"),u.\u0275\u0275text(7),u.\u0275\u0275elementEnd()()()),2&W){const J=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(J.Text_A),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(J.Text_B),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(J.Text_C)}}function F(W,ee){if(1&W&&(u.\u0275\u0275elementStart(0,"tr"),u.\u0275\u0275element(1,"td"),u.\u0275\u0275elementStart(2,"td",35),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&W){const J=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate2("",J.Vorname," ",J.Name,"")}}function q(W,ee){if(1&W&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275template(1,F,4,2,"tr",3),u.\u0275\u0275elementContainerEnd()),2&W){const J=ee.$implicit,G=u.\u0275\u0275nextContext().$implicit,de=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",de.CheckMitarbeiterIsStandortUrlaubsfreigabe(J._id,G))}}function X(W,ee){if(1&W&&(u.\u0275\u0275elementStart(0,"tr"),u.\u0275\u0275element(1,"td"),u.\u0275\u0275elementStart(2,"td",35),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&W){const J=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate2("",J.Vorname," ",J.Name,"")}}function ce(W,ee){if(1&W&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275template(1,X,4,2,"tr",3),u.\u0275\u0275elementContainerEnd()),2&W){const J=ee.$implicit,G=u.\u0275\u0275nextContext().$implicit,de=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",de.CheckMitarbeiterIsStandortHomeofficefreigabe(J._id,G))}}function K(W,ee){if(1&W){const J=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-item",13),u.\u0275\u0275listener("click",function(){const be=u.\u0275\u0275restoreView(J).$implicit,Ae=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(Ae.StandortButtonClicked(be))}),u.\u0275\u0275elementStart(1,"ion-grid",14),u.\u0275\u0275template(2,L,5,1,"ion-row",3),u.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"table",16)(6,"tr")(7,"td",17)(8,"div",18)(9,"table",19)(10,"tr")(11,"td")(12,"table",20),u.\u0275\u0275template(13,O,3,1,"tr",3)(14,z,8,3,"tr",3),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(15,"tr")(16,"td")(17,"table",21)(18,"tr")(19,"td",22),u.\u0275\u0275text(20,"K\xfcrzel:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(21,"td"),u.\u0275\u0275text(22),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(23,"td",23),u.\u0275\u0275elementStart(24,"td",22),u.\u0275\u0275text(25,"Email:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(26,"td"),u.\u0275\u0275text(27),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(28,"td",23),u.\u0275\u0275elementEnd()()()()()()(),u.\u0275\u0275elementStart(29,"td",24)(30,"table",25)(31,"tr")(32,"td",26)(33,"table",27)(34,"tr")(35,"td"),u.\u0275\u0275element(36,"ion-icon",28),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(37,"td",29),u.\u0275\u0275text(38,"Urlaubsfreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(39,q,2,1,"ng-container",30),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(40,"td",26)(41,"table",27)(42,"tr")(43,"td"),u.\u0275\u0275element(44,"ion-icon",31),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(45,"td",29),u.\u0275\u0275text(46,"Homeofficefreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(47,ce,2,1,"ng-container",30),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(48,"td",32),u.\u0275\u0275elementEnd()()()()()()()()()}if(2&W){const J=ee.$implicit,G=ee.index,de=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",""!==de.Standortebuchstabenliste[G]),u.\u0275\u0275advance(11),u.\u0275\u0275property("ngIf",!J.Filtered),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",J.Filtered),u.\u0275\u0275advance(8),u.\u0275\u0275textInterpolate(J.Kuerzel),u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate(J.Email),u.\u0275\u0275advance(12),u.\u0275\u0275property("ngForOf",de.DBMitarbeiter.GetUrlausbsfreigeberliste(J._id)),u.\u0275\u0275advance(8),u.\u0275\u0275property("ngForOf",de.DBMitarbeiter.GetHomeofficefreigeberliste(J._id))}}function ne(W,ee){if(1&W&&(u.\u0275\u0275elementStart(0,"ion-list"),u.\u0275\u0275template(1,K,49,7,"ion-item",12),u.\u0275\u0275elementEnd()),2&W){const J=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",J.Standorteliste)}}function Y(W,ee){1&W&&(u.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),u.\u0275\u0275text(3," kein Standorte vorhanden "),u.\u0275\u0275elementEnd()()())}function H(W,ee){if(1&W){const J=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"fi-standort-editor",38),u.\u0275\u0275listener("CancelClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.ShowEditor=!1)})("OkClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.ShowEditor=!1)})("DeleteClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.ShowEditor=!1)})("LandClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.LandClickedEventHandler())})("BundeslandClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.KonfessionClickedEventHandler())}),u.\u0275\u0275elementEnd()}if(2&W){const J=u.\u0275\u0275nextContext();u.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",800)("PositionY",100)("Titel",J.GetDialogTitel())}}function ae(W,ee){if(1&W){const J=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"auswahl-dialog",39),u.\u0275\u0275listener("OkClickedEvent",function(de){u.\u0275\u0275restoreView(J);const be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(be.AuswahlOkButtonClicked(de))})("CancelClickedEvent",function(){u.\u0275\u0275restoreView(J);const de=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(de.ShowAuswahl=!1)}),u.\u0275\u0275elementEnd()}if(2&W){const J=u.\u0275\u0275nextContext();u.\u0275\u0275property("Auswahlliste",J.Auswahlliste)("Auswahlindex",J.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",J.Auswahltitel)("Iconname","")}}f.FiStandortelistePage=(()=>{class W{Basics;Debug;Tools;Const;DB;DBMitarbeiter;DBUrlaub;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;Standorteliste;Standortealphabet;Alphapetbreite;Standortealphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Standortebuchstabenliste;Standardalphabet;Zusatzbuttonliste;Standortefiltertext;Standortefilter;Inputtimer;Listenbreite;ShowEditor;EditorValid;ListeSubscription;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;constructor(J,G,de,be,Ae,ye,le,Me,$e){this.Basics=J,this.Debug=G,this.Tools=de,this.Const=be,this.DB=Ae,this.DBMitarbeiter=ye,this.DBUrlaub=le,this.Auswahlservice=Me,this.Pool=$e;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Standortealphabet=[],this.Standortealphabetauswahl="Alle",this.Standorteliste=[],this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Inputtimer=null,this.Alphapetbreite=44,this.Standortefilter="",this.Standortealphabet=this.Standardalphabet,this.Standortebuchstabenliste=[],this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ListeSubscription=null,this.Auswahlliste=[],this.Auswahlindex=0,this.Auswahltitel="",this.Auswahldialogorigin=""}catch(qe){this.Debug.ShowErrorMessage(qe.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(J){this.Debug.ShowErrorMessage(J.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(J){this.Debug.ShowErrorMessage(J.message,"Standorteliste","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Listenbreite=this.Basics.Contentbreite-(typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40)-4,this.PrepareDaten(),this.Alphabetcomponent.InitScreen()}catch(J){this.Debug.ShowErrorMessage(J.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(J){try{this.DB.CurrentStandort=d.cloneDeep(J),this.ShowEditor=!0}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(J){this.Debug.ShowErrorMessage(J.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(J){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=J,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(J){try{let G=J.Ort.substring(0,1).toUpperCase();return G!==this.Lastletter?(this.Lastletter=G,G):""}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let J,G,de,be,Ae,ye,le,Me,$e,qe,tt,mt;if(null!==this.Pool.Standorteliste){if(be=d.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",J=d.cloneDeep(be),J.sort((st,ft)=>st.Ortft.Ort?1:0),null!==this.DB.CurrentStandortfilter){G=d.cloneDeep(J),J=[];for(let st of G)J.push(st)}if(J.length>6){this.Standortealphabet=["Alle"];for(let st of J)de=st.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(de)&&this.Standortealphabet.push(de)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){G=d.cloneDeep(J),J=[];for(let st of G)de=st.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===de&&J.push(st)}if(""!==this.Standortefilter){G=d.cloneDeep(J),J=[];for(let st of G)tt=this.Standortefilter.toLowerCase(),mt=st.Ort.toLowerCase(),qe=mt.indexOf(tt),-1!==qe&&(Ae=st.Ort.length,$e=tt.length,ye=st.Ort.substr(0,qe),le=st.Ort.substr(qe,$e),$e=Ae-$e-qe,Me=st.Ort.substr(Ae-$e,$e),st.Filtered=!0,st.Text_A=ye,st.Text_B=le,st.Text_C=Me,J.push(st))}this.Standortebuchstabenliste=[];for(let st of J)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(st));this.Standorteliste=d.cloneDeep(J)}}catch(J){this.Debug.ShowErrorMessage(J.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(J){try{this.EditorValid=J}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentStandort?null===this.DB.CurrentStandort._id?"Neuen Standort anlegen":"Standort bearbeiten":"Unbekannt"}catch(J){this.Debug.ShowErrorMessage(J.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(J){try{this.Standortefiltertext=J,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(J){var G=this;return n(function*(){try{switch(G.Auswahldialogorigin){case G.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:G.DB.CurrentStandort.Land=J;break;case G.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:G.DB.CurrentStandort.Bundesland=J;break;case G.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:G.DB.CurrentStandort.Konfession=J}G.ShowAuswahl=!1}catch(de){G.Debug.ShowErrorMessage(de.message,"Standorteliste","AuswahlOkButtonClicked",G.Debug.Typen.Page)}})()}LandClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land,this.Auswahltitel="Land ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Deutschland",SecoundColumn:"DE",Data:"DE"}),this.Auswahlliste.push({Index:1,FirstColumn:"Bulgarien",SecoundColumn:"BG",Data:"BG"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(J){this.Debug.ShowErrorMessage(J,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let J=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let G of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:J,FirstColumn:G.Name,SecoundColumn:G.isoCode,Data:G.isoCode}),J++;this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(J){this.Debug.ShowErrorMessage(J,"Standorteliste","BundeslandClickedEventHandler",this.Debug.Typen.Page)}}KonfessionClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession,this.Auswahltitel="Konfession ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Katholisch",SecoundColumn:"RK",Data:"RK"}),this.Auswahlliste.push({Index:1,FirstColumn:"Evangelisch",SecoundColumn:"EV",Data:"EV"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(J){this.Debug.ShowErrorMessage(J,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortUrlaubsfreigabe(J,G){try{return-1!==G.Urlaubfreigabepersonen.indexOf(J)}catch(de){this.Debug.ShowErrorMessage(de,"Standorteliste","CheckMitarbeiterIsStandortUrlaubsfreigabe",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortHomeofficefreigabe(J,G){try{return-1!==G.Homeofficefreigabepersonen.indexOf(J)}catch(de){this.Debug.ShowErrorMessage(de,"Standorteliste","CheckMitarbeiterIsStandortHomeofficefreigabe",this.Debug.Typen.Page)}}static \u0275fac=function(G){return new(G||W)(u.\u0275\u0275directiveInject(a.BasicsProvider),u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(c.ToolsProvider),u.\u0275\u0275directiveInject(l.ConstProvider),u.\u0275\u0275directiveInject(g.DatabaseStandorteService),u.\u0275\u0275directiveInject(b.DatabaseMitarbeiterService),u.\u0275\u0275directiveInject(_.DatabaseUrlaubService),u.\u0275\u0275directiveInject(S.AuswahlDialogService),u.\u0275\u0275directiveInject(y.DatabasePoolService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:W,selectors:[["fi-standorteliste-page"]],viewQuery:function(G,de){if(1&G&&(u.\u0275\u0275viewQuery(R,5),u.\u0275\u0275viewQuery(N,5),u.\u0275\u0275viewQuery(I,5)),2&G){let be;u.\u0275\u0275queryRefresh(be=u.\u0275\u0275loadQuery())&&(de.Alphabetcomponent=be.first),u.\u0275\u0275queryRefresh(be=u.\u0275\u0275loadQuery())&&(de.PageHeader=be.first),u.\u0275\u0275queryRefresh(be=u.\u0275\u0275loadQuery())&&(de.PageFooter=be.first)}},decls:16,vars:11,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowStandorttitle","SucheChanged"],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[1,"rootbuttonclass",3,"click"],["color","weiss","name","add-circle-outline",2,"font-size","28px"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[2,"width","100%"],["valign","top",2,"width","60%"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],[2,"width","auto"],["width","400px"],["valign","top",2,"width","30%"],[1,"paddingsmalltable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],[4,"ngFor","ngForOf"],["name","home","color","blau",2,"font-size","20px"],[2,"width","10%"],["color","orange"],[2,"color","green"],[2,"font-size","80%","color","#444444"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(G,de){if(1&G&&(u.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),u.\u0275\u0275listener("SucheChanged",function(Ae){return de.SucheChangedHandler(Ae)}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(4,"ion-content"),u.\u0275\u0275template(5,ne,2,1,"ion-list",3)(6,Y,4,0,"table",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),u.\u0275\u0275listener("click",function(){return de.AddStandorteButtonClicked()}),u.\u0275\u0275element(11,"ion-icon",7),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275template(12,H,1,4,"fi-standort-editor",8)(13,ae,1,7,"auswahl-dialog",9),u.\u0275\u0275elementStart(14,"alphabet",10,11),u.\u0275\u0275listener("AlphabetClicked",function(Ae){return de.AlphabetClicked(Ae)}),u.\u0275\u0275elementEnd()),2&G){const be=u.\u0275\u0275reference(2),Ae=u.\u0275\u0275reference(9);u.\u0275\u0275advance(3),u.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",de.Standorteliste&&de.Standorteliste.length>0),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",0===de.Standorteliste.length),u.\u0275\u0275advance(6),u.\u0275\u0275property("ngIf",de.ShowEditor),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",de.ShowAuswahl),u.\u0275\u0275advance(),u.\u0275\u0275property("PageHeader",be)("PageFooter",Ae)("Buchstabenliste",de.Standortealphabet)("Breite",de.Alphapetbreite)("Auswahl",de.Standortealphabetauswahl)}},dependencies:[m.NgForOf,m.NgIf,h.IonCol,h.IonContent,h.IonFooter,h.IonGrid,h.IonHeader,h.IonIcon,h.IonItem,h.IonList,h.IonRow,h.IonText,C.AlphabetComponent,v.FiStandortEditorComponent,M.PageHeaderComponent,E.PageFooterComponent,A.PageHeaderMenuComponent,T.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return W})()},15756:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PrettyjsonModule=void 0;const i=o(81316).__importStar(o(54496));f.PrettyjsonModule=(()=>{class u{static \u0275fac=function(c){return new(c||u)};static \u0275mod=i.\u0275\u0275defineNgModule({type:u});static \u0275inj=i.\u0275\u0275defineInjector({})}return u})()},84104:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SafePipeModule=void 0;const i=o(81316).__importStar(o(54496));f.SafePipeModule=(()=>{class u{static \u0275fac=function(c){return new(c||u)};static \u0275mod=i.\u0275\u0275defineNgModule({type:u});static \u0275inj=i.\u0275\u0275defineInjector({})}return u})()},66144:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SafePipe=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14476));f.SafePipe=(()=>{class a{sanitizer;constructor(c){this.sanitizer=c}transform(c,l){switch(l){case"html":return this.sanitizer.bypassSecurityTrustHtml(c);case"style":return this.sanitizer.bypassSecurityTrustStyle(c);case"script":return this.sanitizer.bypassSecurityTrustScript(c);case"url":return this.sanitizer.bypassSecurityTrustUrl(c);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(c);default:throw new Error(`Invalid safe type specified: ${l}`)}}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275directiveInject(d.DomSanitizer,16))};static \u0275pipe=i.\u0275\u0275definePipe({name:"safe",type:a,pure:!0})}return a})()},48044:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AuswahlDialogService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388));f.AuswahlDialogService=(()=>{class a{Debug;Auswahloriginvarianten={Standorteeditor_Land:"Standorteeditor_Land",Standorteeditor_Bundesland:"Standorteeditor_Bundesland",Standorteeditor_Konfession:"Standorteeditor_Konfession",Projekteliste_Standortfiler:"Projekteliste_Standortfiler",Projekteliste_Editor_Leistungsphase:"Projekteliste_Editor_Leistungsphase",Projekte_Editor_Standort:"Projekte_Editor_Standortfilter",Projekte_Editor_Mitarbeiterauswahl_Projektleiter:"Projekte_Editor_Mitarbeiterauswahl_Projektleiter",Projekte_Editor_Mitarbeiterauswahl_Stellvertreter:"Projekte_Editor_Mitarbeiterauswahl_Stellvertreter",Projekte_Editor_Mitarbeiterauswahl:"Projekte_Editor_Mitarbeiterauswahl",Projekte_Editor_Mitarbeiterauswahl_Standortfilter:"Projekte_Editor_Mitarbeiterauswahl_Standortfilter",Projekte_Editor_Projektstatus:"Projekte_Editor_Projektstatus",Projekte_Editor_Firmeneditor_Fachbereich:"Projekte_Editor_Firmeneditor_Fachbereich",Projekte_Editor_Beteiligteneditor_Fachfirma:"Projekte_Editor_Beteiligteneditor_Fachfirma",Favoriten_Editor_Projekteauswahl_Standortfilter:"Favoriten_Editor_Projekteauswahl_Standortfilter",Mitarbeiter_Editor_Standort:"Mitarbeiter_Editor_Standort",Mitarbeiter_Editor_Fachbereich:"Mitarbeiter_Editor_Fachbereich",Mitarbeiter_Editor_Anrede:"Mitarbeiter_Editor_Anrede",Mitarbeiter_Editor_Urlaub:"Mitarbeiter_Editor_Urlaub",Mitarbeiter_Liste_Standortfilter:"Mitarbeiter_Liste_Standortfilter",Mitarbeiter_Liste_Position:"Mitarbeiter_Liste_Position",Aufgabenliste_ZustaendigExtern:"Aufgabenliste_ZustaendigExtern",Aufgabenliste_ZustaendigIntern:"Aufgabenliste_ZustaendigIntern",Aufgabenliste_Fortschritt:"Aufgabenliste_Fortschritt",Aufgabenliste_Zeitfilter:"Aufgabenliste_Zeitfilter",Aufgabenliste_Filter_Zeitspanne:"Aufgabenliste_Filter_Zeitspanne",Aufgabenliste_Editor_Fachbereich:"Aufgabenliste_Editor_Fachbereich",Aufgabenliste_Editor_Status:"Aufgabenliste_Editor_Status",Aufgabenliste_Editor_Standortfilter:"Aufgabenliste_Editor_Standortfilter",Aufgabenliste_Editor_ZustaendigExtern:"Aufgabenliste_Editor_ZustaendigExtern",Aufgabenliste_Editor_ZustaendigIntern:"Aufgabenliste_Editor_ZustaendigIntern",Aufgabenliste_Editor_Leistungsphase:"Aufgabenliste_Editor_Kostengruppe",Aufgabenliste_Editor_Kostengruppe:"Aufgabenliste_Editor_Leistungsphase",Aufgabenliste_Editor_Verfasser:"Aufgabenliste_Editor_Verfasser",Aufgabenliste_Editor_AnmerkungenVerfasser:"Aufgabenliste_Editor_AnmerkungenVerfasser",Aufgabenliste_Meintageintrag_Status:"Aufgabenliste_Meintageintrag_Status",Aufgabenliste_Meintageintrag_Termin:"Aufgabenliste_Meintageintrag_Termin",Festlegungsliste_Editor_Leistungsphase:"Festlegungsliste_Editor_Leistungsphase",Festlegungsliste_Leistungsphasefilter:"Festlegungsliste_Leistungsphasefilter",Festlegungliste_Emaileditor_Standortfilter:"Festlegungliste_Emaileditor_Standortfilter",Festlegungliste_Editor_Status:"Festlegungliste_Editor_Status",Festlegungliste_Editor_Fachbereich:"Festlegungliste_Editor_Fachbereich",Festlegungliste_Editor_Kostengruppe:"Festlegungliste_Editor_Kostengruppe",Festlegungliste_Editor_ZustaendigExtern:"Festlegungliste_Editor_ZustaendigExtern",Festlegungliste_Editor_ZustaendigIntern:"Festlegungliste_Editor_ZustaendigIntern",Festlegungliste_Emaileditor_Intern_Empfaenger:"Festlegungliste_Emaileditor_Intern_Empfaenger",Festlegungliste_Emaileditor_Intern_CcEmpfaenger:"Festlegungliste_Emaileditor_Intern_CcEmpfaenger",Festlegungliste_Emaileditor_Extern_Empfaenger:"Festlegungliste_Emaileditor_Extern_Empfaenger",Festlegungliste_Emaileditor_Extern_CcEmpfaenger:"Festlegungliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Intern_Empfaenger:"Bautagebuchliste_Emaileditor_Intern_Empfaenger",Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Extern_Empfaenger:"Bautagebuchliste_Emaileditor_Extern_Empfaenger",Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Bautagebucheditor:"Bautagebuchliste_Bautagebucheditor",Protokollliste_Editor_Leistungsphase:"Protokollliste_Editor_Leistungsphase",Protokollliste_Editor_Kostengruppe:"Protokollliste_Editor_Kostengruppe",Protokollliste_Protokolleditor_Teamteilnehmer:"Protokollliste_Protokolleditor_Teamteilnehmer",Protokollliste_Projektpunkteditor_Teamteilnehmer:"Protokollliste_Projektpunkteditor_Teamteilnehmer",Protokollliste_Protokolleditor_Beteilgtenteilnehmer:"Protokollliste_Protokolleditor_Beteilgtenteilnehmer",Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer:"Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer",Urlaubsplanung_Mitarbeiter_Wechseln:"Urlaubsplanung_Mitarbeiter_Wechseln",Urlaubsplanung_Vertreter_Festlegen:"Urlaubsplanung_Vertreter_Festlegen",Urlaubsplanung_Status_Aendern:"Urlaubsplanung_Status_Aendern",UrlaubEinstellungen_Projektbeteiligte_Auswahl:"UrlaubEinstellungen_Projektbeteiligte_Auswahl",UrlaubEinstellungen_Freigeber_Auswahl:"UrlaubEinstellungen_Freigeber_Auswahl",UrlaubEinstellungen_Standort_Filter:"UrlaubEinstellungen_Standort_Filter",UrlaubPlanung_Standort_Filter:"UrlaubPlanung_Standort_Filter",UrlaubUebersicht_Standort_Filter:"UrlaubUebersicht_Standort_Filter",UrlaubAnfargen_Standort_Filter:"UrlaubAnfargen_Standort_Filter",Protokollliste_Emaileditor_Extern_Empfaenger:"Protokollliste_Emaileditor_Extern_Empfaenger",Protokollliste_Emaileditor_Extern_CcEmpfaenger:"Protokollliste_Emaileditor_Extern_CcEmpfaenger",Protokollliste_Emaileditor_Intern_Empfaenger:"Protokollliste_Emaileditor_Intern_Empfaenger",Protokollliste_Emaileditor_Intern_CcEmpfaenger:"Protokollliste_Emaileditor_Intern_CcEmpfaenger",LOPliste_Emaileditor_Extern_Empfaenger:"LOPliste_Emaileditor_Extern_Empfaenger",LOPliste_Emaileditor_Extern_CcEmpfaenger:"LOPliste_Emaileditor_Extern_CcEmpfaenger",LOPliste_Emaileditor_Intern_Empfaenger:"LOPliste_Emaileditor_Intern_Empfaenger",LOPliste_Emaileditor_Intern_CcEmpfaenger:"LOPliste_Emaileditor_Intern_CcEmpfaenger",Protokollliste_Editor_Standortfilter:"Protokollliste_Editor_Standortfilter",Protokollliste_Projektpunkteditor_Status:"Protokollliste_Projektpunkteditor_Status",Protokollliste_Projektpunkteditor_Fachbereich:"Protokollliste_Projektpunkteditor_Fachbereich",Simontabelle_Editor_Emailempfaenger:"Simontabelle_Editor_Emailempfaenger",Emailliste_Projektpunkteditor_Fachbereich:"Emailliste_Projektpunkteditor_Fachbereich",Emailliste_Editor_ZustaendigIntern:"Emailliste_Editor_ZustaendigIntern",Emailliste_Editor_ZustaendigExtern:"Emailliste_Editor_ZustaendigExtern",Emailliste_Beteiligteneditor_Projektauswahl:"Emailliste_Beteiligteneditor_Projektauswahl",Protokollliste_Filter_Leistungsphase:"Protokollliste_Filter_Leistungsphase",Protokollliste_Filter_Zeitspanne:"Protokollliste_Filter_Zeitspanne",LOPListe_LOPListeeditor_InternTeilnehmer:"LOPListe_LOPListeeditor_InternTeilnehmer",LOPListe_LOPListeeditor_ExternTeilnehmer:"LOPListe_LOPListeeditor_ExternTeilnehmer",LOPListe:"LOPListe",LOPListe_Thumnailsize:"LOPListe_Thumnailsize",LOPListe_Eintrageditor_ZustaendigExtern:"LOPListe_Eintrageditor_ZustaendigExtern",LOPListe_Eintrageditor_ZustaendigIntern:"LOPListe_Eintrageditor_ZustaendigIntern",LOPListe_Eintrageditor_Standortfilter:"LOPListe_Eintrageditor_Standortfilter",LOPListe_Eintrageditor_Fachbereich:"LOPListe_Eintrageditor_Fachbereich",LOPListe_Eintrageditor_Status:"LOPListe_Eintrageditor_Status",LOPListe_Eintrageditor_Prioritaet:"LOPListe_Eintrageditor_Prioritaet",LOPListe_Eintrageditor_AnmerkungVerfasser:"LOPListe_Eintrageditor_AnmerkungVerfasser",LOPListe_Eintrageditor_Verfasser:"LOPListe_Eintrageditor_Verfasser",LOPListe_Emaileditor_Intern_Empfaenger:"LOPListe_Emaileditor_Intern_Empfaenger",LOPListe_Emaileditor_Intern_CcEmpfaenger:"LOPListe_Emaileditor_Intern_CcEmpfaenger",LOPListe_Emaileditor_Extern_Empfaenger:"LOPListe_Emaileditor_Extern_Empfaenger",LOPListe_Emaileditor_Extern_CcEmpfaenger:"LOPListe_Emaileditor_Extern_CcEmpfaenger",Urlaubsliste_Bundesland:"Urlaubsliste_Bundesland"};constructor(c){this.Debug=c}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275inject(d.DebugProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},14652:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BasicsProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(10716)),u=n.__importStar(o(29743));f.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="07.03.2024 22:30";ShowHomeScreenInfos=!0;DebugNoExternalEmail=!0;AppVersionName="1.0";AppVersionDatum="07.03.2024";WebAppUrl="https://polite-cliff-084832d03.4.azurestaticapps.net/";Farben={BAEBlau:"#307ac1",BAEHellgrau:"#dfe5eb",Gruen:"#006400",Burnicklgruen:"#c7d304",Grau:"#454545",Buttoncolor:"#444444",Blau:"#00008B",Orange:"#FF8C00",Bordercolor:"#3880ff",Burnicklbraun:"#7b6a58",Burnicklgrau:"#354547",ButtongrauDisabled:"#444444"};Ionicfarben={BurnicklGruen:"burnicklgruen",BAEBlau:"baeblau",BurnicklGrau:"burnicklgrau",BurnicklBraun:"burnicklbraun",Gruen:"gruen",Orange:"orange",Grau:"grau",Silber:"silber",Schwarz:"schwarz",Weiss:"weiss",Rot:"rot",Blau:"blau",Dunkelblau:"dunkelblau",Braun:"braun",Teal:"teal",Gelb:"gelb"};ShowFehlerbericht=!0;constructor(l,g){this.platform=l,this.Const=g}MeassureInnercontent(l,g){try{this.Headerhoehe=typeof l<"u"&&null!==l?l.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof g<"u"&&null!==g?g.PageFooterFrameDiv.nativeElement.clientHeight:55,this.InnerContenthoehe=this.Contenthoehe-this.Headerhoehe-this.Footerhoehe,console.log("Basics MeassureScreen -> Screenbreite: "+this.platform.width()+" / Screenhoehe: "+this.platform.height()),console.log("Basics MeassureScreen -> Headerhoehe: "+this.Headerhoehe+" / Footerhoehe: "+this.Footerhoehe),console.log("Basics MeassureScreen -> InnerContenthoehe: "+this.InnerContenthoehe)}catch(b){window.console.log(b+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(g){return new(g||e)(i.\u0275\u0275inject(d.Platform),i.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ConstProvider=void 0;const i=o(81316).__importStar(o(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},M={HomePage:"HomePage",RegistrierungPage:"RegistrierungPage",EinstellungenPage:"EinstellungenPage",StartseitePage:"StartseitePage",IntroPage:"IntroPage",ShortcutsEditorPage:"ShortcutsEditorPage",EmailzentralePage:"EmailzentralePage",PasswortVergessenPage:"PasswortVergessenPage",TestPage:"TestPage",ErrorPage:"ErrorPage",DebugPage:"DebugPage",PDFViewerPage:"PDFViewerPage",EmaillistePage:"EmaillistePage",UrlaubPlanungPage:"UrlaubPlanungPage",UrlaubEinstellungenPage:"UrlaubEinstellungenPage",UrlaubUebersichtPage:"UrlaubUebersichtPage",UrlaubFreigabenPage:"UrlaubFreigabenPage",UrlaubsgesamtuebersichtPage:"UrlaubsgesamtuebersichtPage",FiMitarbeiterlistePage:"FiMitarbeiterlistePage",FiMitarbeiterauswahlPage:"FiMitarbeiterauswahlPage",FiMitarbeiterSettingsPage:"FiMitarbeiterSettingsPage",FiStandortelistePage:"FiStandortelistePage",PjListePage:"PjListePage",PjGebaeudestrukturBearbeitenPage:"PjGebaeudestrukturBearbeitenPage",PjGebaeudestrukturBauteilBearbeitenPage:"PjGebaeudestrukturBauteilBearbeitenPage",PjGebaeudestrukturGeschossBearbeitenPage:"PjGebaeudestrukturGeschossBearbeitenPage",PjGebaeudestrukturRaumBearbeitenPage:"PjGebaeudestrukturRaumBearbeitenPage",PjGebaeudestrukturRaumMarkierenPage:"PjGebaeudestrukturRaumMarkierenPage",PjFavoritenlistePage:"PjFavoritenlistePage",PJProjektbeteiligtelistePage:"PJProjektbeteiligtelistePage",PjEmailzentralePage:"PjEmailzentralePage",PjProtokollSendeberichtPage:"PjProtokollSendeberichtPage",PjFestlegungkategorieeditorPage:"PjFestlegungkategorieeditorPage",PjNotizenListePage:"PjNotizenListePage",PjAufgabenlistePage:"PjAufgabenlistePage",PjProtokolleListePage:"PjProtokolleListePage",PjFilebrowserPage:"PjFilebrowserPage",PjBaustelleLoplistePage:"PjBaustelleLoplistePage",PjBaustelleTagebuchlistePage:"PjBaustelleTagebuchlistePage",PjFestlegungslistePage:"PjFestlegungslistePage",PjPlanungsmatrixPage:"PjPlanungsmatrixPage",PjSimontabellelistePage:"PjSimontabellelistePage"},z={Person:"Person",Firma:"Firma"},F={Unbekannt:{Typnummer:0,Name:"Unbekannt",Color:"#ff6600"},Elektroinstallateur:{Typnummer:1,Name:"Elektroinstallateur",Color:"#ff6600"},Heizungsinstallateur:{Typnummer:2,Name:"Heizungsinstallateur",Color:"#ff6600"},Lueftungsinstallateur:{Typnummer:3,Name:"L\xfcftungsinstallateur",Color:"#ff6600"},Sanitaerinstallateur:{Typnummer:4,Name:"Sanit\xe4rinstallateur",Color:"#ff6600"},Rohbaufirma:{Typnummer:5,Name:"Rohbaufirma",Color:"#ff6600"},Tiefbaufirma:{Typnummer:6,Name:"Tiefbaufirma",Color:"#ff6600"},Blitschutzbauer:{Typnummer:7,Name:"Blitschutzbauer",Color:"#ff6600"},Dachdecker:{Typnummer:8,Name:"Dachdecker",Color:"#ff6600"},Zimmerei:{Typnummer:9,Name:"Zimmerei",Color:"#ff6600"},Schreiner:{Typnummer:10,Name:"Schreiner",Color:"#ff6600"},Medientechnik:{Typnummer:11,Name:"Medientechnik",Color:"#ff6600"},Fussbodenlegen:{Typnummer:12,Name:"Fu\xdfbodenlegen",Color:"#ff6600"},Estrichleger:{Typnummer:13,Name:"Estrichleger",Color:"#ff6600"},Fliesenleger:{Typnummer:14,Name:"Fliesenleger",Color:"#ff6600"},Foerderanlagenbauer:{Typnummer:15,Name:"F\xf6rderanlagenbauer",Color:"#ff6600"}},q={Anlagengruppe_1:{Nummer:1,Name:"Abwasser-, Wasser-, Gasanlagen"},Anlagengruppe_2:{Nummer:2,Name:"W\xe4rmeversorgungsanlagen"},Anlagengruppe_3:{Nummer:3,Name:"Luftechnische Anlagen"},Anlagengruppe_4:{Nummer:4,Name:"Starkstromanlage"},Anlagengruppe_5:{Nummer:5,Name:"Fernmelde- und informationstechnische Anlagen"},Anlagengruppe_6:{Nummer:6,Name:"F\xf6rderanlagen"},Anlagengruppe_7:{Nummer:7,Name:"Nutzerspezifische und verfahrenstechnische Anlagen"},Anlagengruppe_8:{Nummer:8,Name:"Geb\xe4ude- und Anlagenautomation"}},X={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},ce={Unbekannt:{Typnummer:0,Name:"Unbekannt",Kurzname:"Unbekannt",Color:"#ff6600"},Architekt:{Typnummer:1,Name:"Architekt",Kurzname:"Archtiekt",Color:"#ff6600"},Elektroplaner:{Typnummer:2,Name:"ELT Planungsb\xfcro",Kurzname:"ELT Planungsb\xfcro",Color:"#3771c8"},HLSplaner:{Typnummer:3,Name:"HLS Planungsb\xfcro",Kurzname:"HLS Planungsb\xfcro",Color:"#3771c8"},Fachplaner:{Typnummer:4,Name:"Fachplaner",Kurzname:"Fachplaner",Color:"#3771c8"},Tragwerksplaner:{Typnummer:5,Name:"Tragwerksplaner",Kurzname:"Tragwerksplaner",Color:"#3771c8"},Aussenanlagenarchitekt:{Typnummer:6,Name:"Au\xdfenanlagenarchitekt",Kurzname:"Au\xdfenanlagenarchitekt",Color:"#3771c8"},Bauherr:{Typnummer:7,Name:"Bauherr",Kurzname:"Bauherr",Color:"#008000"},Nutzer:{Typnummer:8,Name:"Nutzer",Kurzname:"Nutzer",Color:"#008000"},Pruefsachverstaendiger:{Typnummer:9,Name:"Pr\xfcfsachverst\xe4ndiger",Kurzname:"Pr\xfcfsachverst\xe4ndiger",Color:"#008000"},Projektsteurer:{Typnummer:10,Name:"Projektsteurer",Kurzname:"Projektsteurer",Color:"#008000"},Ausfuehrungsfirma:{Typnummer:11,Name:"Ausf\xfchrende Firma",Kurzname:"Ausf\xfchrende Firma",Color:"#008000"},Objektueberwacher:{Typnummer:12,Name:"Objekt\xfcberwacher",Kurzname:"O\xdc",Color:"#008000"},ITAbteilung:{Typnummer:13,Name:"IT - Abteilung",Kurzname:"IT",Color:"#008000"},Ausfuehrungsfirma_HLS:{Typnummer:14,Name:"Ausf\xfchrende Firma HLS",Kurzname:"HLS",Color:"#008000"},Ausfuehrungsfirma_ELT:{Typnummer:15,Name:"Elektroinstallation",Kurzname:"ELZ",Color:"#008000"},Ausfuehrungsfirma_BMA:{Typnummer:16,Name:"BMA Installation",Kurzname:"BMA",Color:"#008000"},Ausfuehrungsfirma_Blitzschutz:{Typnummer:17,Name:"Blitzschutzbauer",Kurzname:"Blitzschutzbaur",Color:"#008000"},Ausfuehrungsfirma_H:{Typnummer:18,Name:"Heizungsfirma",Kurzname:"Heizungsfirma",Color:"#008000"},Ausfuehrungsfirma_L:{Typnummer:19,Name:"L\xfcftungsinstallation",Kurzname:"L\xfcftung",Color:"#008000"},Ausfuehrungsfirma_S:{Typnummer:20,Name:"Sanit\xe4rinstallation",Kurzname:"Sanit\xe4r",Color:"#008000"},Ausfuehrungsfirma_Rohbau:{Typnummer:21,Name:"Rohbaufirma",Kurzname:"Rohbaufirma",Color:"#008000"},Ausfuehrungsfirma_Tiefbau:{Typnummer:22,Name:"Tiefbaufirma",Kurzname:"Tiefbaufirma",Color:"#008000"},Ausfuehrungsfirma_GALA:{Typnummer:23,Name:"GALA Baufirma",Kurzname:"GALA Baufirma",Color:"#008000"},Ausfuehrungsfirma_Aufzug:{Typnummer:24,Name:"Aufzugsfirma",Kurzname:"Aufzugsfirma",Color:"#008000"}},H={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},G={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},de={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},be={Alle:"Alle",Heute:"Heute",Morgen:"Morgen",Zweitage:"2 Tage",Woche:"Woche",Naechstewoche:"N\xe4chste Woche",Zweiwochen:"2 Wochen",Vierwochen:"4 Wochen",Monat:"Monat",Gestern:"Gestern",Vorgestern:"Vorgestern",ZweitageVorher:"Letzten 2 Tage",WocheVorher:"Letzte Woche",ZweiwochenVorher:"Letzten 2 Wochen",MonatVorher:"Letzter Monat"},le={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},Me={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},$e={Niedrig:{Statusnummer:0,Name:"Niedrig",Displayname:"Niedrig",Color:"#008000"},Mittel:{Statusnummer:1,Name:"Mittel",Displayname:"Mittel",Color:"orange"},Hoch:{Statusnummer:2,Name:"Hoch",Displayname:"Hoch",Color:"red"}},qe={Offen:{Statusnummer:0,Name:"Offen",Displayname:"Offen",Color:"#008080",LOPColor:"red"},Protokollpunkt:{Statusnummer:0,Name:"Protokollpunkt",Displayname:"Info",Color:"#34495E",LOPColor:"#307ac1"},Geschlossen:{Statusnummer:1,Name:"Geschlossen",Displayname:"Geschlossen",Color:"#008000",LOPColor:"#008000"},Bearbeitung:{Statusnummer:2,Name:"Bearbeitung",Displayname:"Bearbeitung",Color:"#616A6B",LOPColor:"#616A6B"},Ruecklauf:{Statusnummer:3,Name:"Ruecklauf",Displayname:"R\xfccklauf",Color:"#0020C2",LOPColor:"#0020C2"},Festlegung:{Statusnummer:4,Name:"Festlegung",Displayname:"Festlegung",Color:"#FF9333"}},mt={Nur_diese_Woche:"Nur diese Woche",Nur_diesen_Monat:"Nur diesen Monat",Seit_dem_Zeitpunkt:"Seit dem Zeitpunkt",Bis_zum_Zeitpunkt:"Bis zum Zeitpunkt",Zeitspanne:"Zeitspanne"},st={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};f.ConstProvider=(()=>{class Qt{NONE="none";Pages=M;Fehlermeldungtypen=H;Dialogmessages=e;Projektpunktstatustypen=qe;Zeitfilter=be;Projektstatusvarianten=G;Faelligkeitsstatus=de;Beteiligtentypen=ce;Fachfirmentypen=F;Beteiligteneintragtypen=z;Anredevariante=le;Zeitansatzeinheitvarianten=Me;Faelligkeitsterminfiltervarianten=mt;AufgabenSortiermodusvarianten=st;Projektpunktprioritaetstypen=$e;Leistungsphasenvarianten=X;Anlagengruppen=q;constructor(){}static \u0275fac=function(sn){return new(sn||Qt)};static \u0275prov=i.\u0275\u0275defineInjectable({token:Qt,factory:Qt.\u0275fac,providedIn:"root"})}return Qt})()},97092:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseAuthenticationService=void 0;const i=o(81316),d=o(54496),u=o(42348),a=o(21112),e=o(80103),c=i.__importStar(o(17964)),l=i.__importStar(o(54496)),g=i.__importStar(o(34388)),b=i.__importStar(o(42348)),_=i.__importStar(o(29743)),S=i.__importStar(o(84588));f.DatabaseAuthenticationService=(()=>{class m{msalGuardConfig;Debug;authService;Const;router;MSALService;LoginSuccessEvent=new d.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(C,v,M,E,A,T){this.msalGuardConfig=C,this.Debug=v,this.authService=M,this.Const=E,this.router=A,this.MSALService=T;try{this.SecurityEnabled=!0,this.ActiveUser=null,this.ShowLogin=!1,this.DevelopmentUser={environment:"",homeAccountId:"",localAccountId:"",tenantId:"",username:"peter.hornburger@b-a-e.eu",name:"Peter Hornburger"}}catch(R){this.Debug.ShowErrorMessage(R.message,"Database Authentication","constructor",this.Debug.Typen.Service)}}UnsetActiveUser(){try{this.Debug.ShowMessage("Unset Active User","Database Authentication","UnsetActiveUser",this.Debug.Typen.Service),this.ActiveUser=null,this.ShowLogin=!0}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var C=this;return n(function*(){try{let v,M;return C.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",C.Debug.Typen.Service),new Promise(E=>{if(C.SecurityEnabled){if(v=C.MSALService.instance.getActiveAccount(),M=C.MSALService.instance.getAllAccounts(),!c.isUndefined(M)&&null!==M&&M.length>0)for(v of M)console.log(v.username);console.log(null!==v?v.username:"Account ist null"),null===v&&(C.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",C.Debug.Typen.Service),!c.isUndefined(M)&&null!==M&&M.length>0?(C.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service),v=M[0]):C.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service)),null!==v?(C.ActiveUser=v,E(!0)):(C.UnsetActiveUser(),E(!0))}else C.ActiveUser=C.DevelopmentUser,E(!0)})}catch(v){C.Debug.ShowErrorMessage(v,"Database Authentication","SetActiveUser",C.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let C="nothing",v=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(C,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===v.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),C=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(C,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(C){var v=this;return n(function*(){try{const M={scopes:[C],account:v.ActiveUser};return new Promise((E,A)=>{v.authService.acquireTokenSilent(M).pipe((0,e.catchError)(T=>{if(T)switch(T.errorCode){case"login_required":case"monitor_window_timeout":v.Login()}return(0,e.of)(null!=T)})).subscribe(T=>{E(T.accessToken?T.accessToken:null)})})}catch(M){v.Debug.ShowErrorMessage(M,"Database Authentication","RequestToken",v.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===a.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.authService.loginPopup().subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===a.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(C){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||m)(l.\u0275\u0275inject(u.MSAL_GUARD_CONFIG),l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(b.MsalService),l.\u0275\u0275inject(_.ConstProvider),l.\u0275\u0275inject(S.Router),l.\u0275\u0275inject(b.MsalService))};static \u0275prov=l.\u0275\u0275defineInjectable({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},51708:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseChangelogService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),u=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(7992)),l=n.__importStar(o(29743)),g=n.__importStar(o(97048));f.DatabaseChangelogService=(()=>{class _{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(y,m,h,C){this.Debug=y,this.Pool=m,this.Const=h,this.http=C;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(y){try{let m;return m=i.find(this.Pool.Changlogliste,{_id:y}),i.isUndefined(m)?"unbekannt":m.Beschreibung}catch(m){this.Debug.ShowErrorMessage(m.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,u.default)().valueOf(),Deleted:!1}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let y,m;return new Promise((h,C)=>{y=this.http.post(this.ServerUrl,this.CurrentChangelog),y.subscribe({next:v=>{m=v.Changelog},complete:()=>{this.UpdateChangelogliste(m),this.Pool.ChangeloglisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(y){try{let m;m=i.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==m?(this.Pool.Changlogliste[m]=y,this.Debug.ShowMessage("Changelogliste updated: "+y.Version,"Database Changelog","UpdateChangelogliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Chnagelog nicht gefunden -> neues Changlog hinzuf\xfcgen","Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service),this.Pool.Changlogliste.unshift(y)),this.Pool.Changlogliste=i.filter(this.Pool.Changlogliste,h=>!1===h.Deleted)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let y;return(new d.HttpParams).set("id",this.CurrentChangelog._id),new Promise((h,C)=>{y=this.http.put(this.ServerUrl,this.CurrentChangelog),y.subscribe({next:v=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let y;return this.CurrentChangelog.Deleted=!0,new Promise((m,h)=>{y=this.http.put(this.ServerUrl,this.CurrentChangelog),y.subscribe({next:C=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),m(!0)},error:C=>{h(C)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(m){return new(m||_)(a.\u0275\u0275inject(e.DebugProvider),a.\u0275\u0275inject(c.DatabasePoolService),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(g.HttpClient))};static \u0275prov=a.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},22848:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseMitarbeiterService=void 0;const n=o(81316),i=n.__importDefault(o(35908)),d=n.__importStar(o(17964)),u=o(97048),a=n.__importStar(o(54496)),e=n.__importStar(o(34388)),c=n.__importStar(o(97048)),l=n.__importStar(o(29743)),g=n.__importStar(o(7992));f.DatabaseMitarbeiterService=(()=>{class _{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentPosition;ServerMitarbeiterUrl;ServerMitarbeiterpositionUrl;constructor(y,m,h,C){this.Debug=y,this.http=m,this.Const=h,this.Pool=C;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.ServerMitarbeiterpositionUrl=this.Pool.CockpitdockerURL+"/mitarbeiterpositionen",this.CurrentMitarbeiter=null,this.CurrentPosition=null}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(y){try{let m,h,C;if(m=this.GetEmptyMitarbeiter(),null===y.surname&&(y.surname=""),null===y.givenName&&(y.givenName=""),null===y.jobTitle&&(y.jobTitle=""),null===y.officeLocation&&(y.officeLocation=""),null===y.mobilePhone&&(y.mobilePhone=""),h=d.isUndefined(y.jobTitle)?"":y.jobTitle,C=d.isUndefined(y.mobilePhone)?"":y.mobilePhone,m.UserID=y.id,m.Email=y.mail,m.Vorname=d.isUndefined(y.givenName)?"":y.givenName,m.Name=d.isUndefined(y.surname)?"":y.surname,m.Mobil=null===C?"":C,m.Jobtitel=null===h?"":h,!1===d.isUndefined(y.businessPhones)&&y.businessPhones.length>0&&(m.Telefon=y.businessPhones[0]),!1===d.isUndefined(y.officeLocation)&&null!==y.officeLocation){m.Location=null!==y.officeLocation?y.officeLocation:"";for(let E of this.Pool.Standorteliste)-1!==y.officeLocation.indexOf(E.Ort)&&(m.StandortID=E._id)}if(""===m.StandortID){let E=d.find(this.Pool.Standorteliste,{Ort:"Bamberg"});d.isUndefined(E)||(m.StandortID=E._id)}let v=null!==y.surname?y.surname.substring(0,2).toUpperCase():"",M=null!==y.givenName?y.givenName.substring(0,1).toUpperCase():"";return m.Kuerzel=v+""+M,m}catch(m){this.Debug.ShowErrorMessage(m,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(y){try{let m=0,h=0;for(let C of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(y){case"Montag":C.Montagseinsatz&&(m+=C.Montagsstunden,h+=C.Montagsminuten);break;case"Dienstag":C.Dienstagseinsatz&&(m+=C.Dienstagsstunden,h+=C.Dienstagsminuten);break;case"Mittwoch":C.Mittwochseinsatz&&(m+=C.Mittwochsstunden,h+=C.Mittwochsminuten);break;case"Donnerstag":C.Donnerstagseinsatz&&(m+=C.Donnerstagsstunden,h+=C.Donnerstagsminuten);break;case"Freitag":C.Freitagseinsatz&&(m+=C.Freitagsstunden,h+=C.Freitagsminuten)}return h+=60*m,0===h?"":"["+(h/60).toFixed(2)+" Std]"}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMitarbeiterposition(){try{return{_id:null,Bezeichnung:""}}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetEmptyMitarbeiterposition",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let y=(0,i.default)();return{_id:null,UserID:null,PositionID:null,Anrede:this.Const.NONE,Urlaub:30,Resturlaub:0,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:y.format("HH:mm DD.MM.YYYY"),Zeitstempel:y.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Homeofficefreigabestandorte:[],Urlaubsfreigabeorte:[],Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(y){try{let m=d.find(this.Pool.Mitarbeiterliste,{_id:y});return d.isUndefined(m)?"Unbekannt":m.Vorname+" "+m.Name}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){try{for(let y of this.Pool.Mitarbeiterliste)y.ShowInGesamtuebersicht=y.StandortID===this.Pool.Mitarbeiterdaten.StandortID}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","InitService",this.Debug.Typen.Service)}}FinishService(){}UpdateMitarbeiter(y){try{let m,h;delete y.__v;for(let C of y.Urlaubsliste)C.Urlaubzeitspannen.sort((v,M)=>v.StartstempelM.Startstempel?1:0);return new Promise((C,v)=>{m=this.http.put(this.ServerMitarbeiterUrl,y),m.subscribe({next:M=>{h=M.Mitarbeiter},complete:()=>{null!==h?(this.CurrentMitarbeiter=h,this.Pool.Mitarbeiterdaten=h,this.Pool.MitarbeiterdatenChanged.emit(),this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):v(new Error("Mitarbeiter auf Server nicht gefunden.")),C(!0)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}GetPositionsbezeichnung(y){try{let m;if(null===y)return"Unbekannt";if(m=d.find(this.Pool.Mitarbeiterpositionenliste,{_id:y}),!d.isUndefined(m))return m.Bezeichnung}catch(m){this.Debug.ShowErrorMessage(m,"Database Mitarbeiter","GetPosition",this.Debug.Typen.Service)}}UpdateMitarbeiterposition(y){try{let m,C,h=new u.HttpParams;return delete y.__v,h.set("id",y._id),new Promise((v,M)=>{m=this.http.put(this.ServerMitarbeiterpositionUrl,y),m.subscribe({next:E=>{C=E.Mitarbeiterposition},complete:()=>{null!==C?(this.CurrentPosition=C,this.UpdateMitarbeiterpositionliste(this.CurrentPosition),this.Pool.MitarbeiterpositionenlisteChanged.emit()):M(new Error("Mitarbeiterposition auf Server nicht gefunden.")),v(!0)},error:E=>{M(E)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterposition",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(y){try{let m,C,h=new u.HttpParams;delete y.__v,h.set("id",y._id);for(let v of y.Urlaubsliste)v.Urlaubzeitspannen.sort((M,E)=>M.StartstempelE.Startstempel?1:0);return new Promise((v,M)=>{m=this.http.put(this.ServerMitarbeiterUrl,y),m.subscribe({next:E=>{C=E.Mitarbeiter},complete:()=>{null!==C?(this.UpdateMitarbeiterliste(C),this.Pool.MitarbeiterlisteChanged.emit(),v(!0)):M(new Error("Mitarbeiter auf Server nicht gefunden."))},error:E=>{M(E)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(y){try{let m;m=d.findIndex(this.Pool.Mitarbeiterliste,{_id:y._id}),-1!==m?(this.Pool.Mitarbeiterliste[m]=y,this.Debug.ShowMessage("Mitarbeiterliste updated: "+y.Name,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiter nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service),this.Pool.Mitarbeiterliste.push(y)),this.Pool.Mitarbeiterliste=d.filter(this.Pool.Mitarbeiterliste,h=>!1===h.Deleted)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}UpdateMitarbeiterpositionliste(y){try{let m;m=d.findIndex(this.Pool.Mitarbeiterpositionenliste,{_id:y._id}),-1!==m?(this.Pool.Mitarbeiterpositionenliste[m]=y,this.Debug.ShowMessage("Mitarbeiterliste updated: "+y.Bezeichnung,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiterposition nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service),this.Pool.Mitarbeiterpositionenliste.push(y)),this.Pool.Mitarbeiterpositionenliste.sort((h,C)=>h.BezeichnungC.Bezeichnung?1:0)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)}}AddMitarbeiter(y){try{let m,h;return new Promise((C,v)=>{console.log("POST new Mitarbeiter:"),console.log(y),m=this.http.post(this.ServerMitarbeiterUrl,y),m.subscribe({next:M=>{h=M.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(h),this.Pool.MitarbeiterlisteChanged.emit(),C(h)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}AddMitarbeiterposition(y){try{let m,h;return new Promise((C,v)=>{console.log("POST new Mitarbeiterposition:"),console.log(y),m=this.http.post(this.ServerMitarbeiterpositionUrl,y),m.subscribe({next:M=>{h=M.Mitarbeiterposition},complete:()=>{this.UpdateMitarbeiterpositionliste(h),this.Pool.MitarbeiterpositionenlisteChanged.emit(),C(h)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","AddMitarbeiterposition",this.Debug.Typen.Service)}}CheckMitarbeiterExists(y){try{return-1!==d.findIndex(this.Pool.Mitarbeiterliste,{Email:y})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(y){try{let m=d.find(this.Pool.Mitarbeiterliste,{Email:y});return d.isUndefined(m)?null:m}catch(m){this.Debug.ShowErrorMessage(m,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(y){try{let m=d.find(this.Pool.Mitarbeiterliste,{_id:y});return d.isUndefined(m)?null:m}catch(m){this.Debug.ShowErrorMessage(m,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(y){try{let m,C,h=new u.HttpParams({fromObject:{email:y}});return new Promise((v,M)=>{m=this.http.get(this.ServerMitarbeiterUrl,{params:h}),m.subscribe({next:E=>{C=E},complete:()=>{v(C)},error:E=>{M(E)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(y){try{return y.Deleted=!0,this.UpdateMitarbeiter(y)}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}GetHomeofficefreigeberliste(y){try{let m=d.filter(this.Pool.Mitarbeiterliste,h=>!0===h.Homeofficefreigaben);return m=d.filter(m,h=>-1!==h.Homeofficefreigabestandorte.indexOf(y)),m}catch(m){this.Debug.ShowErrorMessage(m,"Standorteliste","GetHomeofficefreigeberliste",this.Debug.Typen.Service)}}GetUrlausbsfreigeberliste(y){try{let m=d.filter(this.Pool.Mitarbeiterliste,h=>!0===h.Urlaubsfreigaben);return m=d.filter(m,h=>-1!==h.Urlaubsfreigabeorte.indexOf(y)),m}catch(m){this.Debug.ShowErrorMessage(m,"Standorteliste","GetUrlausbsfreigeberliste",this.Debug.Typen.Component)}}static \u0275fac=function(m){return new(m||_)(a.\u0275\u0275inject(e.DebugProvider),a.\u0275\u0275inject(c.HttpClient),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=a.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},15024:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseMitarbeitersettingsService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),u=n.__importStar(o(54496)),a=n.__importStar(o(34388)),e=n.__importStar(o(97048)),c=n.__importStar(o(7992));f.DatabaseMitarbeitersettingsService=(()=>{class g{Debug;http;Pool;ServerSettingsUrl;constructor(_,S,y){this.Debug=_,this.http=S,this.Pool=y;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let _;return new Promise((S,y)=>{null===this.Pool.Mitarbeitersettings._id?(_=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),_.subscribe({next:m=>{this.Pool.Mitarbeitersettings=m.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:m=>{y(m)}})):(delete this.Pool.Mitarbeitersettings.__v,_=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),_.subscribe({next:m=>{this.Pool.Mitarbeitersettings=m.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:m=>{y(m)}}))})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(_,S){try{let y,h;return(new d.HttpParams).set("id",_._id),null!==S&&null!==S.ProjektID&&(h=i.findIndex(_.Aufgabenansicht,{ProjektID:S.ProjektID}),-1===h&&_.Aufgabenansicht.push(S)),delete _.__v,new Promise((C,v)=>{y=this.http.put(this.ServerSettingsUrl,_),y.subscribe({next:M=>{this.Pool.Mitarbeitersettings=M.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(_),C(!0)},error:M=>{v(M)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(_){try{let S;S=i.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:_._id}),-1!==S?(this.Pool.Mitarbeitersettingsliste[S]=_,this.Debug.ShowMessage("Mitarbeitersettingsliste updated: "+_.MitarbeiterID,"Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeitersetting nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service),this.Pool.Mitarbeitersettingsliste.push(_)),this.Pool.Mitarbeitersettingsliste=i.filter(this.Pool.Mitarbeitersettingsliste,y=>!1===y.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(_){try{let S,y;return new Promise((m,h)=>{S=this.http.post(this.ServerSettingsUrl,_),S.subscribe({next:C=>{_=C.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(_),this.Pool.MitarbeitersettingslisteChanged.emit(),m(y)},error:C=>{h(C)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(S){return new(S||g)(u.\u0275\u0275inject(a.DebugProvider),u.\u0275\u0275inject(e.HttpClient),u.\u0275\u0275inject(c.DatabasePoolService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},7992:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabasePoolService=void 0;const n=o(81316),i=o(54496),d=o(97048),u=o(16213),a=n.__importStar(o(17964)),e=o(36716),c=n.__importStar(o(54496)),l=n.__importStar(o(34388)),g=n.__importStar(o(29743)),b=n.__importStar(o(14652)),_=n.__importStar(o(97048));f.DatabasePoolService=(()=>{class y{Debug;Const;Basics;Http;Standorteliste;Mitarbeiterliste;Mitarbeiterpositionenliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;ProjektdatenLoaded;Emailcontentvarinaten;StandortelisteChanged=new i.EventEmitter;MitarbeiterlisteChanged=new i.EventEmitter;MitarbeiterpositionenlisteChanged=new i.EventEmitter;MitarbeiterdatenChanged=new i.EventEmitter;MitarbeitersettingslisteChanged=new i.EventEmitter;MitarbeitersettingsChanged=new i.EventEmitter;LoadingAllDataFinished=new i.EventEmitter;ChangeloglisteChanged=new i.EventEmitter;Signatur;constructor(h,C,v,M){this.Debug=h,this.Const=C,this.Basics=v,this.Http=M;try{this.Emailcontentvarinaten={NONE:this.Const.NONE,Protokoll:"Protokoll",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",LOPListe:"LOPListe",Aufgabenliste:"Aufgabenliste",Simontabelle:"Simontabelle"},this.Mitarbeiterdaten=null,this.MitarbeiterdatenHasError=!0,this.Mitarbeitersettings=null,this.Mitarbeiterpositionenliste=[],this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Changlogliste=[],this.CockpitserverURL=!0===e.environment.production?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.ProjektdatenLoaded=!1,this.Signatur='\n Beste Gr\xfc\xdfe,

    \n [Name]
    \n [Jobtitel]

    \n
    \n \n BAE-GmbH
    \n Ein Unternehmen der BAE GROUP\n
    \n \n \n \n \n \n \n \n
    [Strasse]
    [Ort]
    Telefon:[Telefon]
    Mobil:[Mobil]
    Email:[Email]
    Web:www.bae-group.eu
    \n

    \n \n BAE GmbH, Sitz: Coburg, Amtsgericht Coburg, HRB 6357.
    \n Gesch\xe4ftsf\xfchrer J\xfcrgen Kerscher, Michael H\xf6lzle
    \n Standorte BAE GROUP: Frankfurt, Berlin, M\xfcnchen, Coburg, Bamberg, Deggendorf, Sofia, Varna
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n Der Inhalt dieser E-Mail ist ausschlie\xdflich f\xfcr den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen\n Vertreter sein sollten, so beachten Sie, dass jede Form der Kenntnis- und Vorteilsnahme, Ver\xf6ffentlichung, Vervielf\xe4ltigung oder Weitergabe des\n Inhalts dieser Mail unzul\xe4ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegen\xfcber\n dem Adressaten unterliegen den Regelungen des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der\n individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend best\xe4tigt wird.\n Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir m\xf6chten Sie au\xdferdem darauf hinweisen, dass die Kommunikation per E-Mail \xfcber das\n Internet unsicher ist, da f\xfcr unberechtigte Dritte grunds\xe4tzlich die M\xf6glichkeit der Kenntnisnahme und Manipulation besteht.\n
    \n The information contained in this email is intended exclusively for the addressee. Access to this email by anyone else is unauthorized. If you are not\n the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it,\n is prohibited. Please notify the sender immediately. All statements directed via this email to our clients are subject to the conditions of the submitted\n offer respectively order, in particular to the General Terms and Conditions and to the individual liability agreement between the parties. The content of\n this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines.\n Please note that communication via email over the internet is insecure because third parties generally have the possibility to access and manipulate emails.\n
    \n \n \n \n \n \n
    PThink about Nature before you print!
    \n '}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(h,C){try{let I,L,v=this.Signatur,M=h.Telefon,E=h.Mobil,A=h.Email,T=h.Vorname+" "+h.Name,R=h.Jobtitel,N=a.find(this.Standorteliste,{_id:h.StandortID});return a.isUndefined(N)||(I=N.Strasse,L=N.PLZ+" "+N.Ort,v=v.replace("[Strasse]",I),v=v.replace("[Ort]",L)),v=v.replace("[Name]",T),v=v.replace("[Jobtitel]",R),v=v.replace("[Telefon]",M),v=v.replace("[Mobil]",E),v=v.split("[Email]").join(A),v=v.split("[Image]").join(this.Basics.WebAppUrl+"/assets/images/group_logo.png"),v}catch(v){this.Debug.ShowErrorMessage(v,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:h}).subscribe({next:E=>{this.Mitarbeiterliste=E},complete:()=>{for(let E of this.Mitarbeiterliste)E=this.InitMitarbeiter(E);this.MitarbeiterlisteChanged.emit(),C(!0)},error:E=>{console.log(E.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadMitarbeiterpositionenliste(){try{this.Mitarbeiterpositionenliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiterpositionen",{headers:h}).subscribe({next:E=>{this.Mitarbeiterpositionenliste=E},complete:()=>{this.MitarbeiterpositionenlisteChanged.emit(),C(!0)},error:E=>{console.log("Error: "+E.message),console.log("Mitarbeiterpositionenliste lesen war fehlerhaft."),v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadMitarbeiterpositionenliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:h}).subscribe({next:E=>{this.Changlogliste=E},complete:()=>{this.Changlogliste.sort((E,A)=>E.Zeitstempel>A.Zeitstempel?-1:E.Zeitstempel{v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:h}).subscribe({next:E=>{this.Standorteliste=E},complete:()=>{for(let E of this.Standorteliste)a.isUndefined(E.Konfession)&&(E.Konfession="RK"),a.isUndefined(E.Bundesland)&&(E.Bundesland="DE-BY"),a.isUndefined(E.Land)&&(E.Land="DE"),a.isUndefined(E.Homeofficefreigabepersonen)&&(E.Homeofficefreigabepersonen=[]),a.isUndefined(E.Urlaubfreigabepersonen)&&(E.Urlaubfreigabepersonen=[]);this.StandortelisteChanged.emit(),C(!0)},error:E=>{v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let h=new d.HttpHeaders({"content-type":"application/json"});return new Promise((C,v)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:h}).subscribe({next:E=>{this.Mitarbeitersettingsliste=E},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),C(!0)},error:E=>{v(E)}})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(h){try{a.isUndefined(h.SettingsID)&&(h.SettingsID=null),a.isUndefined(h.Archiviert)&&(h.Archiviert=!1),a.isUndefined(h.Meintagliste)&&(h.Meintagliste=[]),a.isUndefined(h.Meinewocheliste)&&(h.Meinewocheliste=[]),a.isUndefined(h.Anrede)&&(h.Anrede=this.Const.NONE),a.isUndefined(h.Urlaub)&&(h.Urlaub=30),a.isUndefined(h.Resturlaub)&&(h.Resturlaub=0),a.isUndefined(h.Urlaubsliste)&&(h.Urlaubsliste=[]),a.isUndefined(h.Urlaubsfreigaben)&&(h.Urlaubsfreigaben=!1),a.isUndefined(h.Planeradministrator)&&(h.Planeradministrator=!1),a.isUndefined(h.Urlaubsfreigaben)&&(h.Urlaubsfreigaben=!1),a.isUndefined(h.Homeofficefreigaben)&&(h.Homeofficefreigaben=!1),a.isUndefined(h.Homeofficefreigabestandorte)&&(h.Homeofficefreigabestandorte=[]),a.isUndefined(h.Urlaubsfreigabeorte)&&(h.Urlaubsfreigabeorte=[]),a.isUndefined(h.PositionID)&&(h.PositionID=null);for(let C of h.Meinewocheliste)a.isUndefined(C.Kalenderwoche)&&(C.Kalenderwoche=0);return h.Urlaubsliste.sort((C,v)=>C.Jahrv.Jahr?1:0),h}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(h){this.Debug.ShowErrorMessage(h,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,u.v4)()}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","GetNewUniqueID",this.Debug.Typen.Service)}}GetNewMitarbeitersettings(){try{return{_id:null,MitarbeiterID:null,FavoritenID:null,ProjektID:null,Favoritprojektindex:null,Zoomfaktor:100,Textsize:14,StandortFilter:null,LeistungsphaseFilter:this.Const.Leistungsphasenvarianten.UNBEKANNT,Aufgabenansicht:[],Deleted:!1,HeadermenueMaxFavoriten:6,AufgabenSortiermodus:this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend,AufgabenMeilensteineNachlauf:2,AufgabenShowMeilensteine:!0,AufgabenShowNummer:!1,AufgabenShowStartdatum:!1,AufgabenShowAufgabe:!0,AufgabenShowBemerkung:!0,AufgabenShowTage:!0,AufgabenShowTermin:!0,AufgabenShowStatus:!0,AufgabenShowFortschritt:!1,AufgabenShowZustaendig:!0,AufgabenShowMeintag:!0,AufgabenShowZeitansatz:!1,AufgabenShowMeinewoche:!0,UrlaubShowBeantragt:!0,UrlaubShowVertreterfreigabe:!0,UrlaubShowGenehmigt:!0,UrlaubShowAbgelehnt:!0,UrlaubShowFerien_DE:!0,UrlaubShowFeiertage_DE:!0,UrlaubShowFerien_BG:!0,UrlaubShowFeiertage_BG:!0,UrlaubShowMeinenUrlaub:!0,ShowHomeoffice:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let h;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(h=a.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),a.isUndefined(h)?this.GetNewMitarbeitersettings():(a.isUndefined(h.Favoritprojektindex)&&(h.Favoritprojektindex=3e3),a.isUndefined(h.HeadermenueMaxFavoriten)&&(h.HeadermenueMaxFavoriten=6),a.isUndefined(h.Zoomfaktor)&&(h.Zoomfaktor=100),a.isUndefined(h.Textsize)&&(h.Textsize=14),a.isUndefined(h.Deleted)&&(h.Deleted=!1),a.isUndefined(h.AufgabenShowNummer)&&(h.AufgabenShowNummer=!0),a.isUndefined(h.AufgabenShowStartdatum)&&(h.AufgabenShowStartdatum=!0),a.isUndefined(h.AufgabenShowAufgabe)&&(h.AufgabenShowAufgabe=!0),a.isUndefined(h.AufgabenShowBemerkung)&&(h.AufgabenShowBemerkung=!0),a.isUndefined(h.AufgabenShowTage)&&(h.AufgabenShowTage=!0),a.isUndefined(h.AufgabenShowTermin)&&(h.AufgabenShowTermin=!0),a.isUndefined(h.AufgabenShowStatus)&&(h.AufgabenShowStatus=!0),a.isUndefined(h.AufgabenShowFortschritt)&&(h.AufgabenShowFortschritt=!0),a.isUndefined(h.AufgabenShowZustaendig)&&(h.AufgabenShowZustaendig=!0),a.isUndefined(h.AufgabenShowMeintag)&&(h.AufgabenShowMeintag=!0),a.isUndefined(h.AufgabenShowZeitansatz)&&(h.AufgabenShowZeitansatz=!0),a.isUndefined(h.AufgabenShowMeinewoche)&&(h.AufgabenShowMeinewoche=!0),a.isUndefined(h.Aufgabenansicht)&&(h.Aufgabenansicht=[]),a.isUndefined(h.AufgabenTerminfiltervariante)&&(h.AufgabenTerminfiltervariante=null),a.isUndefined(h.AufgabenTerminfilterStartwert)&&(h.AufgabenTerminfilterStartwert=null),a.isUndefined(h.AufgabenTerminfilterEndewert)&&(h.AufgabenTerminfilterEndewert=null),a.isUndefined(h.AufgabenSortiermodus)&&(h.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),a.isUndefined(h.AufgabenMeilensteineNachlauf)&&(h.AufgabenMeilensteineNachlauf=2),a.isUndefined(h.LOPListeGeschlossenZeitfilter)&&(h.LOPListeGeschlossenZeitfilter=14),a.isUndefined(h.LeistungsphaseFilter)&&(h.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),a.isUndefined(h.OberkostengruppeFilter)&&(h.OberkostengruppeFilter=null),a.isUndefined(h.UnterkostengruppeFilter)&&(h.UnterkostengruppeFilter=null),a.isUndefined(h.HauptkostengruppeFilter)&&(h.HauptkostengruppeFilter=null),a.isUndefined(h.UrlaubShowBeantragt)&&(h.UrlaubShowBeantragt=!0),a.isUndefined(h.UrlaubShowVertreterfreigabe)&&(h.UrlaubShowVertreterfreigabe=!0),a.isUndefined(h.UrlaubShowGenehmigt)&&(h.UrlaubShowGenehmigt=!0),a.isUndefined(h.UrlaubShowAbgelehnt)&&(h.UrlaubShowAbgelehnt=!0),a.isUndefined(h.UrlaubShowFerien_DE)&&(h.UrlaubShowFerien_DE=!0),a.isUndefined(h.UrlaubShowFerien_BG)&&(h.UrlaubShowFerien_BG=!0),a.isUndefined(h.UrlaubShowFeiertage_DE)&&(h.UrlaubShowFeiertage_DE=!0),a.isUndefined(h.UrlaubShowFeiertage_BG)&&(h.UrlaubShowFeiertage_BG=!0),a.isUndefined(h.UrlaubShowMeinenUrlaub)&&(h.UrlaubShowMeinenUrlaub=!0),a.isUndefined(h.ShowHomeoffice)&&(h.ShowHomeoffice=!0),h))}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(C){return new(C||y)(c.\u0275\u0275inject(l.DebugProvider),c.\u0275\u0275inject(g.ConstProvider),c.\u0275\u0275inject(b.BasicsProvider),c.\u0275\u0275inject(_.HttpClient))};static \u0275prov=c.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},58864:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseStandorteService=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),u=n.__importDefault(o(35908)),a=o(16213),e=n.__importStar(o(54496)),c=n.__importStar(o(34388)),l=n.__importStar(o(7992)),g=n.__importStar(o(29743)),b=n.__importStar(o(97048));f.DatabaseStandorteService=(()=>{class S{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new i.EventEmitter;ServerUrl;constructor(m,h,C,v){this.Debug=m,this.Pool=h,this.Const=C,this.http=v;try{this.CurrentStandort=null,this.CurrentStandortfilter=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/standorte"}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Standorte","constructor",this.Debug.Typen.Service)}}InitService(){try{let m;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(m=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),m&&(this.CurrentStandortfilter=d.cloneDeep(m))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(m=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===d.isUndefined(m)&&(this.Pool.Mitarbeiterstandort=m)):this.Pool.Mitarbeiterstandort=null;for(let h of this.Pool.Standorteliste)h.ShowInGesamtuebersicht=h._id===this.Pool.Mitarbeiterdaten.StandortID;this.StandortfilterChanged.emit()}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(m){try{let h;return h=d.find(this.Pool.Standorteliste,{_id:m}),d.isUndefined(h)?"unbekannt":h.Kuerzel+" - "+h.Ort}catch(h){this.Debug.ShowErrorMessage(h.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let m=(0,u.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Homeofficefreigabepersonen:[],Urlaubfreigabepersonen:[],Zeitstempel:m.valueOf(),Zeitpunkt:m.format("DD.MM.YYYY")}}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let m=this.CurrentStandort.Kuerzel;return m=m.replace(/ /g,"_"),m=m.replace(/-/g,"_"),m=m.replace(/./g,"_"),m+"_"+(0,a.v4)()}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let m,h;return new Promise((C,v)=>{m=this.http.post(this.ServerUrl,this.CurrentStandort),m.subscribe({next:M=>{h=M.data},complete:()=>{this.UpdateStandortliste(h),this.Pool.StandortelisteChanged.emit(),C(!0)},error:M=>{v(M)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(m){try{let h;h=d.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==h?(this.Pool.Standorteliste[h]=m,this.Debug.ShowMessage("Standortliste updated: "+m.Standort,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Standort nicht gefunden -> neuen Standort hinzuf\xfcgen","Database Standorte","UpdateStandortliste",this.Debug.Typen.Service),this.Pool.Standorteliste.push(m)),this.Pool.Standorteliste=d.filter(this.Pool.Standorteliste,C=>!1===C.Deleted)}catch(h){this.Debug.ShowErrorMessage(h.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let m;return delete this.CurrentStandort.__v,new Promise((h,C)=>{m=this.http.put(this.ServerUrl,this.CurrentStandort),m.subscribe({next:v=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let m;return this.CurrentStandort.Deleted=!0,new Promise((h,C)=>{m=this.http.put(this.ServerUrl,this.CurrentStandort),m.subscribe({next:v=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),h(!0)},error:v=>{C(v)}})})}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(m){this.Debug.ShowErrorMessage(m.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(h){return new(h||S)(e.\u0275\u0275inject(c.DebugProvider),e.\u0275\u0275inject(l.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(b.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},9544:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.DatabaseUrlaubService=void 0;const i=o(81316),d=o(54496),u=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),e=i.__importStar(o(54496)),c=i.__importStar(o(34388)),l=i.__importStar(o(7992)),g=i.__importStar(o(29743)),b=i.__importStar(o(8608)),_=i.__importStar(o(22848)),S=i.__importStar(o(14652)),y=i.__importStar(o(97048));f.DatabaseUrlaubService=(()=>{class h{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new d.EventEmitter;ExterneUrlaubeChanged=new d.EventEmitter;ExterneHomeofficeChanged=new d.EventEmitter;UrlaubStatusChanged=new d.EventEmitter;HomeofficeStatusChanged=new d.EventEmitter;Bundeslandkuerzel;Bundesland;Regionenliste;Jahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentUrlaubzeitspanne;CurrentHomeofficezeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Urlaubfreigabenliste;Homeofficefreigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Urlaubsanfragenanzahl;Homeofficeanfragenanzahl;Homeofficantwortenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};GesamtuebersichtSetting={ShowGeplant:!0,ShowVertreteranfragen:!0,ShowVertreterfreigaben:!0,ShowVertreterablehnungen:!1,ShowUrlaubsgenehmigungen:!0,ShowUrlaubsablehnungen:!1};Homeofficestatusvarianten={Geplant:"Geplant",Freigabeanfrage:"Freigabeanfrage",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Urlaubsfaben={Geplant:"#307ac1",Vertreterfreigabe:"orange",Vertreteranfrage:"#04B4AE",Vertreterablehnung:"#8A0886",Abgelehnt:"red",Genehmigt:"green",Ferien_DE:"#999999",Ferien_BG:"#999999",Feiertage_DE:"#454545",Feiertage_BG:"#454545",Wochenende:"#34495E"};Homeofficefarben={Geplant:"#307ac1",Freigabeanfrage:"#04B4AE",Abgelehnt:"red",Genehmigt:"green"};constructor(v,M,E,A,T,R,N){this.Debug=v,this.Pool=M,this.Const=E,this.Graph=A,this.DBMitarbeiter=T,this.Basics=R,this.http=N;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.Jahr=(0,a.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],this.CurrentMonatindex=(0,a.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentUrlaubzeitspanne=null,this.CurrentUrlaubzeitspanne=null,this.Laendercode="DE",this.ShowFeiertage_DE=!1,this.ShowFeiertage_BG=!1,this.ShowFerientage_DE=!1,this.ShowFerientage_BG=!1,this.Ferienfarbe_DE=this.Const.NONE,this.Feiertagefarbe_DE=this.Const.NONE,this.UrlaublisteExtern=[],this.Vertretrungliste=[],this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Homeofficantwortenanzahl=0,this.CurrentMitarbeiter=null,this.CorrectSetup=!1,this.Officeemailadress="office@b-a-e.eu",this.Monateliste=["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}catch(I){this.Debug.ShowErrorMessage(I.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(v){try{this.CurrentMitarbeiter=u.cloneDeep(v)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{let v,M,E=0,A=0;if(null!==this.CurrentMitarbeiter){v=u.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});for(let T of v.Urlaubfreigabepersonen)M=u.find(this.Pool.Mitarbeiterliste,{_id:T}),u.isUndefined(M)||E++;for(let T of v.Homeofficefreigabepersonen)M=u.find(this.Pool.Mitarbeiterliste,{_id:T}),u.isUndefined(M)||A++;this.CorrectSetup=E>0&&A>0&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}else this.CorrectSetup=!1}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let v,M,E,A;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],null!==this.CurrentMitarbeiter)for(let T of this.Pool.Mitarbeiterliste){if(A=u.find(this.Pool.Standorteliste,{_id:T.StandortID}),v=u.find(T.Urlaubsliste,R=>R.Jahr===this.Jahr&&this.CurrentMitarbeiter.StandortID===this.Pool.Mitarbeiterdaten.StandortID),!u.isUndefined(v)){M=!1,E=!1;for(let R of v.Urlaubzeitspannen)R=this.InitZeitspanne(R),R.UrlaubsfreigeberID===this.CurrentMitarbeiter._id&&!0===this.CheckUrlaubFreigabeanwortAge(R)&&(R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||R.Status===this.Urlaubstatusvarianten.Abgelehnt||R.Status===this.Urlaubstatusvarianten.Genehmigt)&&u.isUndefined(u.find(this.Urlaubfreigabenliste,{_id:T._id}))&&(this.Urlaubfreigabenliste.push(T),R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?M=!0:E=!0);!0===M&&(this.Urlaubsanfragenanzahl++,this.Freigabenanfragenanzahl++),!0===E&&(this.Antwortenanzahl++,this.Freigabenantwortenanzahl++)}if(v=u.find(T.Urlaubsliste,R=>R.Jahr===this.Jahr&&T.StandortID===this.Pool.Mitarbeiterdaten.StandortID),!u.isUndefined(v))for(let R of v.Homeofficezeitspannen)M=!1,E=!1,!0===this.CheckHomeofficeFreigabeanwortAge(R)&&(R.Status===this.Homeofficestatusvarianten.Freigabeanfrage||R.Status===this.Homeofficestatusvarianten.Abgelehnt||R.Status===this.Homeofficestatusvarianten.Genehmigt)&&u.isUndefined(u.find(this.Homeofficefreigabenliste,{_id:T._id}))&&(this.Homeofficefreigabenliste.push(T),R.Status===this.Homeofficestatusvarianten.Freigabeanfrage?M=!0:E=!0),!0===M&&this.Homeofficeanfragenanzahl++,!0===E&&this.Homeofficantwortenanzahl++}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}ResetRequest(v,M){var E=this;return n(function*(){try{if(null!==M){for(let T of M.Urlaubzeitspannen)T.Status=E.Urlaubstatusvarianten.Geplant,T.VertreterantwortSended=!1,T.Vertretungmeldung="",T.Planungmeldung="",T.Vertretungantwortzeitstempel=null;let A=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[A]=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","ResetRequest",E.Debug.Typen.Service)}})()}CheckVertretungsanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return v.UrlaubsvertreterID!==this.CurrentMitarbeiter._id||!0!==v.VertreterantwortSended||v.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&v.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||null!==v.Vertretungantwortzeitstempel&&(E=(0,a.default)(v.Vertretungantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckUrlaubFreigabeanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return!0!==v.FreigabeantwortSended||v.Status!==this.Urlaubstatusvarianten.Genehmigt&&v.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==v.Freigabeantwortzeitstempel&&(E=(0,a.default)(v.Freigabeantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckUrlaubFreigabeanwortAge",this.Debug.Typen.Service)}}CheckHomeofficeFreigabeanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return!0!==v.FreigabeantwortSended||v.Status!==this.Homeofficestatusvarianten.Genehmigt&&v.Status!==this.Homeofficestatusvarianten.Abgelehnt||null!==v.Freigabeantwortzeitstempel&&(E=(0,a.default)(v.Freigabeantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckHomeofficeFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(v){try{let E,A,M=(0,a.default)().locale("de");return v.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&v.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==v.VertreterantwortSended||null===v.Vertretungantwortzeitstempel?0:(E=(0,a.default)(v.Vertretungantwortzeitstempel).locale("de"),A=a.default.duration(M.diff(E)).asMinutes(),A)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let v,M,E,A;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let T of this.Pool.Mitarbeiterliste)if(T._id!==this.CurrentMitarbeiter._id&&(v=u.find(T.Urlaubsliste,{Jahr:this.Jahr}),!u.isUndefined(v))){E=!1,A=!1;for(let R of v.Urlaubzeitspannen)R=this.InitZeitspanne(R),R.UrlaubsvertreterID===this.CurrentMitarbeiter._id&&!0===this.CheckVertretungsanwortAge(R)&&(R.Status===this.Urlaubstatusvarianten.Vertreteranfrage||R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||R.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(R.Status===this.Urlaubstatusvarianten.Vertreteranfrage?E=!0:A=!0,M=u.find(this.Vertretrungliste,{_id:T._id}),u.isUndefined(M)&&this.Vertretrungliste.push(T));!0===E&&(this.Vertretungsanfragenanzahl++,this.Urlaubsanfragenanzahl++),!0===A&&(this.Vertretungsantwortenanzahl++,this.Antwortenanzahl++)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetUrlaubStatuscolor(v){try{let M="none";switch(v){case this.Urlaubstatusvarianten.Geplant:M=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:M=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:M=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:M=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:M=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:M=this.Urlaubsfaben.Abgelehnt;break;default:M="#00FFFF"}return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetUrlaubStatuscolor",this.Debug.Typen.Page)}}GetHomeofficeStatuscolor(v){try{let M="none";switch(v){case this.Homeofficestatusvarianten.Geplant:M=this.Homeofficefarben.Geplant;break;case this.Homeofficestatusvarianten.Freigabeanfrage:M=this.Homeofficefarben.Freigabeanfrage;break;case this.Homeofficestatusvarianten.Genehmigt:M=this.Homeofficefarben.Genehmigt;break;case this.Homeofficestatusvarianten.Abgelehnt:M=this.Homeofficefarben.Abgelehnt;break;default:M="#00FFFF"}return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetHomeofficeStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var v=this;return n(function*(){try{let E,I,M=1,A=(0,a.default)(),T=[],R=[],N=[];for(let O of v.CurrentUrlaub.Urlaubzeitspannen)O.Status===v.Urlaubstatusvarianten.Geplant&&null!==O.UrlaubsvertreterID&&-1===u.indexOf(T,O.UrlaubsvertreterID)&&(M++,T.push(O.UrlaubsvertreterID));for(let O of T)if(R=[],E=u.find(v.Pool.Mitarbeiterliste,{_id:O}),!u.isUndefined(E)){for(let z of v.CurrentUrlaub.Urlaubzeitspannen)z.Status===v.Urlaubstatusvarianten.Geplant&&z.UrlaubsvertreterID===O&&(R.push(z),z.Status=v.Urlaubstatusvarianten.Vertreteranfrage,z.Planungmeldung=A.format("DD.MM.YYYY")+" Vertretungsanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet.");R=yield v.SendVertreteranfragen(v.CurrentMitarbeiter,E,R),N=N.concat(R)}for(let O of N)I=u.findIndex(v.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:O.ZeitspannenID}),v.CurrentUrlaub.Urlaubzeitspannen[I]=O;let L=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[L]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.UrlaubStatusChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","UpdateVertreteranfragen",v.Debug.Typen.Service)}})()}UpdateHomeofficefreigabeanfragen(){var v=this;return n(function*(){try{let M,T,R,N,E=[],A=[];E=[],M=[],R=u.find(v.Pool.Standorteliste,{_id:v.CurrentMitarbeiter.StandortID});for(let L of R.Homeofficefreigabepersonen)N=u.find(v.Pool.Mitarbeiterliste,{_id:L}),u.isUndefined(N)||M.push(N);for(let L of v.CurrentUrlaub.Homeofficezeitspannen)L.Status===v.Homeofficestatusvarianten.Geplant?(L.Status=v.Homeofficestatusvarianten.Freigabeanfrage,A.push(L)):E.push(L);A=yield v.SendHomeofficefreigabeanfrage(v.CurrentMitarbeiter,M,A),E=E.concat(A);for(let L of E)T=u.findIndex(v.CurrentUrlaub.Homeofficezeitspannen,{ZeitspannenID:L.ZeitspannenID}),v.CurrentUrlaub.Homeofficezeitspannen[T]=L;let I=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[I]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.HomeofficeStatusChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","UpdateHomeofficefreigabeanfragen",v.Debug.Typen.Service)}})()}CheckUrlaubsfreigeberAvailable(v){try{return-1!==u.find(this.Pool.Standorteliste,{_id:v.StandortID}).Urlaubfreigabepersonen.indexOf(this.Pool.Mitarbeiterdaten.StandortID)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckUrlaubsfreigeberAvailable",this.Debug.Typen.Service)}}CheckHomeofficefreigeberAvailable(v){try{return-1!==u.find(this.Pool.Standorteliste,{_id:v.StandortID}).Homeofficefreigabepersonen.indexOf(this.Pool.Mitarbeiterdaten.StandortID)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckHomeofficefreigeberAvailable",this.Debug.Typen.Service)}}CountUrlaubsvertretungen(v){try{return u.find(this.Pool.Standorteliste,{_id:v.StandortID}).Urlaubfreigabepersonen.length}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CountUrlaubsvertretungen",this.Debug.Typen.Service)}}UpdateVertreterantworten(v,M){var E=this;return n(function*(){try{let R,N,A=1,T=(0,a.default)().locale("de");for(let L of M.Urlaubzeitspannen)L.Status===E.Urlaubstatusvarianten.Vertreterablehnung&&!1===L.VertreterantwortSended&&(A+=1),L.Status===E.Urlaubstatusvarianten.Vertreterfreigabe&&!1===L.VertreterantwortSended&&(A+=2);R=u.cloneDeep(E.Pool.Mitarbeiterdaten),N=E.CurrentMitarbeiter;for(let L of M.Urlaubzeitspannen)L.Status!==E.Urlaubstatusvarianten.Vertreteranfrage&&!1===L.VertreterantwortSended&&(L.Status===E.Urlaubstatusvarianten.Vertreterfreigabe&&(L.Vertretungmeldung=T.format("DD.MM.YYYY")+" Vertretungszusage wurde an "+v.Vorname+" "+v.Name+" gesendet.",L.Vertretungmeldung+="
    "+T.format("DD.MM.YYYY")+" Urlaubsfreigabe Anfrage wurde an "+R.Vorname+" "+R.Name+" gesendet.",L.Planungmeldung=T.format("DD.MM.YYYY")+" "+N.Vorname+" "+N.Name+" hat der Urlausvertretung zugestimmt.",L.Planungmeldung+="
    "+T.format("DD.MM.YYYY")+" Genehmigungsanfrage wurde an "+R.Vorname+" "+R.Name+" gesendet."),L.Status===E.Urlaubstatusvarianten.Vertreterablehnung&&(L.Planungmeldung=T.format("DD.MM.YYYY")+" "+N.Vorname+" "+N.Name+" hat die Vertretung abgelehnt",L.Vertretungmeldung=T.format("DD.MM.YYYY")+" Vertretungsabsage wurde an "+v.Vorname+" "+v.Name+" gesendet."));M=yield E.SendVertreterzusage(v,N,R,M),M=yield E.SendVertreterabsage(v,N,R,M),M=yield E.SendFreigabeanfrage(v,R,M);let I=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[I]=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateVertreterantworten",E.Debug.Typen.Service)}})()}SendVertreteranfragen(v,M,E){try{let T,A="Urlaubsvertretungsanfrage von "+v.Vorname+" "+v.Name,R=[],N=!1,I=(0,a.default)().locale("de");return new Promise((L,O)=>{T="Hallo "+M.Vorname+",

    bitte pr\xfcfen, ob du f\xfcr folgende Zeitr\xe4ume:

    ",T+='',T+="",T+='';for(let z of E)z.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&z.UrlaubsvertreterID===M._id&&!1===z.VertreteranfrageSended&&(N=!0,z.Vertretunganfragezeitstempel=I.valueOf(),z.VertreteranfrageSended=!0,T+="",T+='",T+='",T+="");T+="
    VonBis
    '+z.Startstring+"'+z.Endestring+"
    ",T+="
    Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(v,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Vertretungsanfrage wurde an "+M.Vorname+" "+M.Name+" gesendet."),L(E)}).catch(z=>{O(z)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),L(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendHomeofficefreigabeanfrage(v,M,E){try{let A="Homeofficefreigabeanfrage von "+v.Vorname+" "+v.Name,T="",R=[],N=!1;return new Promise((I,L)=>{for(let O of M)T+="Hallo "+O.Vorname+",
    ";T+="
    bitte folgende Homeofficetage freigeben:

    ",T+='',T+="",T+='",T+="",T+="
    ';for(let O of E)O.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&!1===O.FreigabeanfrageSended&&(N=!0,O.FreigabeanfrageSended=!0,T+="",T+=O.Startstring+", ",T+="");T+="
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(v,!0);for(let O of M)R.push({emailAddress:{address:O.Email,name:O.Vorname+" "+O.Name}});N?this.Graph.SendMail(R,A,T).then(()=>{for(let O of M)console.log("Homeofficefreigabeanfrage wurde an "+O.Vorname+" "+O.Name+" gesendet.");I(E)}).catch(O=>{L(O)}):(console.log("Es wurden keine Homeofficefreigabeanfragen gesendet."),I(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficefreigabeanfrage",this.Debug.Typen.Service)}}SendVertreterzusage(v,M,E,A){try{let R,T="Vertretungszusage von "+M.Vorname+" "+M.Name,N=[],I=!1,L=(0,a.default)().locale("de");return new Promise((O,z)=>{R="Hallo "+v.Vorname+",

    nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

    ",R+='',R+="",R+='',R+="";for(let F of A.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&F.UrlaubsvertreterID===M._id&&!1===F.VertreterantwortSended&&(I=!0,F.VertreterantwortSended=!0,F.Vertretungantwortzeitstempel=L.valueOf(),R+="",R+='",R+='",R+='',R+="");R+="
    VonBisVertretung
    '+F.Startstring+"'+F.Endestring+"Zusage
    ",R+="

    ",R+="Deine Urlaubsanfrage wurde zur Freigabe an "+E.Vorname+" "+E.Name+" weitergeleitet.",R+="

    ",R+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',R+="

    "+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===I?this.Graph.SendMail(N,T,R).then(()=>{console.log("Vertretungszusage wurde an "+v.Vorname+" "+v.Name+" gesendet."),O(A)}).catch(F=>{z(F)}):(console.log("Es wurde keine Vertretungszusage gesendet."),O(A))})}catch(T){this.Debug.ShowErrorMessage(T,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}SendHomeofficeFreigabeantworten(v,M){var E=this;return n(function*(){try{let A=u.cloneDeep(E.Pool.Mitarbeiterdaten);M=yield E.SendMitarbeiterHomeofficeFreigabeablehnung(v,A,M),M=yield E.SendMitarbeiterHomeofficeFreigabezusage(v,A,M);let T=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[T]=M,v._id===E.CurrentMitarbeiter._id&&(E.CurrentMitarbeiter=v),yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficeFreigabeantworten",E.Debug.Typen.Service)}})()}UpdateFreigabenantworten(v,M){var E=this;return n(function*(){try{let R,A=1,T=(0,a.default)().locale("de");for(let I of M.Urlaubzeitspannen)I.Status===E.Urlaubstatusvarianten.Genehmigt&&!1===I.FreigabeantwortSended&&(A+=1),I.Status===E.Urlaubstatusvarianten.Abgelehnt&&!1===I.FreigabeantwortSended&&(A+=2);for(let I of M.Urlaubzeitspannen)(I.Status===E.Urlaubstatusvarianten.Genehmigt||I.Status===E.Urlaubstatusvarianten.Abgelehnt)&&(R=u.cloneDeep(E.Pool.Mitarbeiterdaten),I.Status===E.Urlaubstatusvarianten.Genehmigt&&(I.Planungmeldung=T.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+R.Vorname+" "+R.Name+" genehmigt.",I.Freigabemeldung=T.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet.",I.Freigabemeldung+="
    "+T.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),I.Status===E.Urlaubstatusvarianten.Abgelehnt&&(I.Planungmeldung=T.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+R.Vorname+" "+R.Name+" abgelehnt.",I.Freigabemeldung=T.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+v.Vorname+" "+v.Name+" gesendet."));M=yield E.SendMitarbeiterFreigabeablehnung(v,R,M),M=yield E.SendMitarbeiterFreigabezusage(v,R,M),M=yield E.SendOfficeFreigabezusage(v,R,M);let N=u.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[N]=M,E.CurrentUrlaub=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateFreigabenantworten",E.Debug.Typen.Service)}})()}SendVertreterabsage(v,M,E,A){try{let R,T="Vertretungsabsage von "+M.Vorname+" "+M.Name,N=[],I=!1,L=(0,a.default)().locale("de");return new Promise((O,z)=>{R="Hallo "+v.Vorname+",

    nachfolgende Urlaubsvertretungen kann ich nicht wahrnehmen:

    ",R+='',R+="",R+='',R+="";for(let F of A.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&F.UrlaubsvertreterID===M._id&&!1===F.VertreterantwortSended&&(I=!0,F.VertreterantwortSended=!0,F.Vertretungantwortzeitstempel=L.valueOf(),R+="",R+='",R+='",R+='',R+="");R+="
    VonBisVertretung
    '+F.Startstring+"'+F.Endestring+"Abgelehnt
    ",R+="

    ",R+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',R+="

    "+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===I?this.Graph.SendMail(N,T,R).then(()=>{console.log("Vertretungsabsage wurde an "+v.Vorname+" "+v.Name+" gesendet."),O(A)}).catch(F=>{z(F)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),O(A))})}catch(T){this.Debug.ShowErrorMessage(T,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(v,M,E){try{let T,I,A="Anfrage Urlaubsfreigabe von "+v.Vorname+" "+v.Name,R=[],N=!1,L=(0,a.default)().locale("de");return new Promise((O,z)=>{T="Hallo "+M.Vorname+"

    es liegen neue Anfragen zur Urlaufsfreigabe von ",T+=v.Vorname+" "+v.Name+" vor:

    ",T+='',T+="",T+='',T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===F.FreigabeanfrageSended&&(N=!0,I=u.find(this.Pool.Mitarbeiterliste,{_id:F.UrlaubsvertreterID}),F.FreigabeanfrageSended=!0,F.Freigabeantwortzeitstempel=L.valueOf(),T+="",T+='",T+='",T+="",T+="");T+="
    VonBisVertretung
    '+F.Startstring+"'+F.Endestring+"",u.isUndefined(I)||(T+=I.Vorname+" "+I.Name),T+="
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(v,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Freigabe Anfrage wurde versendet."),O(E)}).catch(F=>{z(F)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),O(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(v,M,E){try{let T,L,A="Urlaubsfreigabe",R=[],N=!1,I=(0,a.default)().locale("de");return new Promise((O,z)=>{T="Hallo "+v.Vorname+",

    anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

    ",T+='',T+="",T+='',T+='',T+="",T+="",T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===F.FreigabeantwortSended&&(F.FreigabeantwortSended=!0,F.UrlaubsfreigeberID=M._id,F.Freigabeantwortzeitstempel=I.valueOf(),L=this.DBMitarbeiter.GetMitarbeiterByID(F.UrlaubsvertreterID),N=!0,T+="",T+='",T+='",u.isUndefined(L)?T+='':T+="",T+='',T+="");T+="
    VonBisVertretungStatus
    '+F.Startstring+"'+F.Endestring+"unbekannt"+L.Vorname+" "+L.Name+"Freigabe
    ",T+="

    ",T+='Deine Urlaubsfreigabe wurde zur Eintragung in "untermStrich" dem B\xfcro mitgeteilt.',T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet."),O(E)}).catch(F=>{z(F)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),O(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(v,M,E){try{let T,L,A="Urlaubsfreigabe",R=[],N=!1,I=(0,a.default)().locale("de");return new Promise((O,z)=>{T="Hallo Office,

    anbei eine Urlaubsfreigabe f\xfcr "+v.Vorname+" "+v.Name+" mit folgenden Zeitr\xe4umen:

    ",T+='',T+="",T+='',T+='',T+="",T+="",T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===F.FreigabeantwortOfficeSended&&(F.FreigabeantwortOfficeSended=!0,F.Freigabeantwortzeitstempel=I.valueOf(),L=this.DBMitarbeiter.GetMitarbeiterByID(F.UrlaubsvertreterID),N=!0,T+="",T+='",T+='",u.isUndefined(L)?T+='':T+="",T+='',T+="");T+="
    VonBisVertretungStatus
    '+F.Startstring+"'+F.Endestring+"unbekannt"+L.Vorname+" "+L.Name+"Freigabe
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet."),O(E)}).catch(F=>{z(F)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),O(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(v,M,E){try{let T,L,A="Ablehnung deiner Urlaubsanfrage",R=[],N=!1,I=(0,a.default)().locale("de");return new Promise((O,z)=>{T="Hallo "+v.Vorname+" "+v.Name+",

    leider muss ich deine Urlaubsanfrage f\xfcr nachfolgende Zeitr\xe4ume ablehnen:

    ",T+='',T+="",T+='',T+='',T+="",T+="",T+="";for(let F of E.Urlaubzeitspannen)F.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===F.FreigabeantwortSended&&(F.FreigabeantwortSended=!0,F.UrlaubsfreigeberID=M._id,F.Freigabeantwortzeitstempel=I.valueOf(),L=this.DBMitarbeiter.GetMitarbeiterByID(F.UrlaubsvertreterID),N=!0,T+="",T+='",T+='",u.isUndefined(L)?T+='':T+="",T+='',T+="");T+="
    VonBisVertretungStatus
    '+F.Startstring+"'+F.Endestring+"unbekannt"+L.Vorname+" "+L.Name+"Abgelehnt
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Urlaubsablehung wurde an "+v.Vorname+" "+v.Name+" gesendet."),O(E)}).catch(F=>{z(F)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),O(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabeablehnung(v,M,E){try{let T,A="Ablehnung deiner Homeofficeabfrage",R=[],N=!1,I=(0,a.default)().locale("de");return new Promise((L,O)=>{T="Hallo "+v.Vorname+" "+v.Name+",

    leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

    ",T+='',T+="",T+='',T+='',T+="";for(let z of E.Homeofficezeitspannen)z.Status===this.Homeofficestatusvarianten.Abgelehnt&&!1===z.FreigabeantwortSended&&(z.FreigabeantwortSended=!0,z.Freigabeantwortzeitstempel=I.valueOf(),N=!0,T+="",T+='",T+='',T+="");T+="
    DatumStatus
    '+z.Startstring+"Abgelehnt
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Homeofficeablehnung wurde an "+v.Vorname+" "+v.Name+" gesendet."),L(E)}).catch(z=>{O(z)}):(console.log("Es wurde keine Homeofficeablehnung gesendet."),L(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabezusage(v,M,E){try{let T,A="Genehmigung deiner Homeofficeanfrage",R=[],N=!1,I=(0,a.default)().locale("de");return new Promise((L,O)=>{T="Hallo "+v.Vorname+" "+v.Name+",

    leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

    ",T+='',T+="",T+='',T+='',T+="";for(let z of E.Homeofficezeitspannen)z.Status===this.Homeofficestatusvarianten.Genehmigt&&!1===z.FreigabeantwortSended&&(z.FreigabeantwortSended=!0,z.Freigabeantwortzeitstempel=I.valueOf(),N=!0,T+="",T+='",T+='',T+="");T+="
    DatumStatus
    '+z.Startstring+"Genehmigt
    ",T+="

    ",T+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',T+="

    "+this.Pool.GetFilledSignatur(M,!0),R.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===N?this.Graph.SendMail(R,A,T).then(()=>{console.log("Homeofficegenehmigung wurde an "+v.Vorname+" "+v.Name+" gesendet."),L(E)}).catch(z=>{O(z)}):(console.log("Es wurde keine Homeofficegenehmigung gesendet."),L(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabezusage",this.Debug.Typen.Service)}}ReadRegionen(v){try{return new Promise((M,E)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:v}).subscribe({next:R=>{this.Regionenliste=R.Regionenliste},complete:()=>{this.Regionenliste=u.filter(this.Regionenliste,R=>""!==R.isoCode);for(let R of this.Regionenliste)R.Name=R.name[0].text;M(!0)},error:R=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),M(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(v){try{let M,E=u.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});u.isUndefined(E)&&(E=null);let A={Standort:E,Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:v};return new Promise((T,R)=>{this.Feiertageliste[v]=[],M=this.http.put(this.ServerReadfeiertageUrl,A),M.subscribe({next:N=>{this.Feiertageliste[v]=N.Feiertageliste},complete:()=>{T(!0)},error:N=>{this.Feiertageliste[v]=[],console.log("Read Feiertage ist fehlgeschlagen."),T(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(v){try{let M,E={Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:v};return this.Ferienliste[v]=[],new Promise((A,T)=>{M=this.http.put(this.ServerReadFerienUrl,E),M.subscribe({next:R=>{this.Ferienliste[v]=R.Ferienliste},complete:()=>{A(!0)},error:R=>{this.Ferienliste[v]=[],console.log("Read Ferien ist fehlgeschlagen."),A(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(v){return this.Debug.ShowErrorMessage(v,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let v,M,E,A,T;this.Urlaubsanfragenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null===this.CurrentMitarbeiter&&(this.CurrentMitarbeiter=u.cloneDeep(this.Pool.Mitarbeiterdaten)),null!==this.CurrentMitarbeiter&&(v=u.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=u.isUndefined(v)?"DE":v.Land),this.ShowFerientage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE,this.ShowFeiertage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE,this.Ferienfarbe_DE=this.Urlaubsfaben.Ferien_DE,this.Feiertagefarbe_DE=this.Urlaubsfaben.Feiertage_DE,this.ShowFerientage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG,this.ShowFeiertage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG,this.Ferienfarbe_BG=this.Urlaubsfaben.Ferien_BG,this.Feiertagefarbe_BG=this.Urlaubsfaben.Feiertage_BG,null!==this.CurrentMitarbeiter&&(this.CurrentUrlaub=u.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.Jahr}),u.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.Jahr),this.CurrentUrlaubzeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentUrlaubzeitspanne=null,u.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),u.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),u.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]));for(let R of this.CurrentUrlaub.Urlaubzeitspannen)R=this.InitZeitspanne(R);this.UrlaublisteExtern=[];for(let R of this.CurrentUrlaub.Projektbeteiligteliste)if(M=u.find(this.Pool.Mitarbeiterliste,{_id:R.MitarbeiterID}),!u.isUndefined(M)){E=u.find(M.Urlaubsliste,{Jahr:this.Jahr}),u.isUndefined(E)?(E=this.GetEmptyUrlaub(this.Jahr),E.MitarbeiterIDExtern=M._id,E.NameExtern=M.Vorname+" "+M.Name,E.NameKuerzel=M.Kuerzel):(E=u.cloneDeep(E),E.MitarbeiterIDExtern=M._id,E.NameExtern=M.Vorname+" "+M.Name,E.NameKuerzel=M.Kuerzel,E.Urlaubzeitspannen=u.filter(E.Urlaubzeitspannen,N=>N.Status!==this.Urlaubstatusvarianten.Abgelehnt)),A=0,A+=M.Urlaub,A+=this.DBMitarbeiter.CurrentMitarbeiter.Resturlaub,T=0;for(let N of E.Urlaubzeitspannen)N.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(T+=N.Tageanzahl);E.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+T+" von "+A+"]":"["+T+"]",this.UrlaublisteExtern.push(E)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitZeitspanne(v){try{return(u.isUndefined(v.UrlaubsvertreterID)||""===v.UrlaubsvertreterID)&&(v.UrlaubsvertreterID=null),(u.isUndefined(v.UrlaubsfreigeberID)||""===v.UrlaubsfreigeberID)&&(v.UrlaubsfreigeberID=null),u.isUndefined(v.Planungmeldung)&&(v.Planungmeldung=""),u.isUndefined(v.Vertretungmeldung)&&(v.Vertretungmeldung=""),u.isUndefined(v.Freigabemeldung)&&(v.Freigabemeldung=""),u.isUndefined(v.VertreteranfrageSended)&&(v.VertreteranfrageSended=!1),u.isUndefined(v.VertreterantwortSended)&&(v.VertreterantwortSended=!1),u.isUndefined(v.FreigabeanfrageSended)&&(v.FreigabeanfrageSended=!1),u.isUndefined(v.FreigabeantwortSended)&&(v.FreigabeantwortSended=!1),u.isUndefined(v.FreigabeantwortOfficeSended)&&(v.FreigabeantwortOfficeSended=!1),u.isUndefined(v.Vertretunganfragezeitstempel)&&(v.Vertretunganfragezeitstempel=null),u.isUndefined(v.Vertretungantwortzeitstempel)&&(v.Vertretungantwortzeitstempel=null),u.isUndefined(v.Freigabeantwortzeitstempel)&&(v.Freigabeantwortzeitstempel=null),u.isUndefined(v.FreigabeantwortOfficezeitstempel)&&(v.FreigabeantwortOfficezeitstempel=null),"Beantragt"===v.Status&&(v.Status=this.Urlaubstatusvarianten.Geplant),v}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","InitZeitspanne",this.Debug.Typen.Service)}}SetPlanungsmonate(){try{0===this.CurrentMonatindex?(this.FirstMonatIndex=0,this.CurrentMonatindex=1,this.LastMonatIndex=2):11===this.CurrentMonatindex?(this.FirstMonatIndex=9,this.CurrentMonatindex=10,this.LastMonatIndex=11):(this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1)}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(v){try{let M={Jahr:v,Urlaubzeitspannen:[],Homeofficezeitspannen:[],Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!u.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(M.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,M.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,M.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),M}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(v,M){try{let A,T,E=(0,a.default)(v.Tagstempel),R=!1;if(!u.isUndefined(this.Ferienliste[M]))for(let N of this.Ferienliste[M])if(A=(0,a.default)(N.Anfangstempel),T=(0,a.default)(N.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(T,"day")){R=!0;break}return R}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}CheckIsUrlaubstag(v,M){try{let A,T,N,E=(0,a.default)(M.Tagstempel),I=u.findIndex(v.Urlaubsliste,{Jahr:this.Jahr});if(-1!==I){N=v.Urlaubsliste[I];for(let O of N.Urlaubzeitspannen)if(A=(0,a.default)(O.Startstempel),T=(0,a.default)(O.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(T,"day")&&O.Status!==this.Urlaubstatusvarianten.Abgelehnt)switch(O.Status){case this.Urlaubstatusvarianten.Geplant:if(!0===this.GesamtuebersichtSetting.ShowGeplant)return O;break;case this.Urlaubstatusvarianten.Vertreteranfrage:if(!0===this.GesamtuebersichtSetting.ShowVertreteranfragen)return O;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:if(!0===this.GesamtuebersichtSetting.ShowVertreterfreigaben)return O;break;case this.Urlaubstatusvarianten.Vertreterablehnung:if(!0===this.GesamtuebersichtSetting.ShowVertreterablehnungen)return O;break;case this.Urlaubstatusvarianten.Genehmigt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen)return O;break;case this.Urlaubstatusvarianten.Abgelehnt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsablehnungen)return O}}return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsUrlaubstag",this.Debug.Typen.Service)}}GetFeriennamen(v,M){try{let E=M+": Unbekannt";for(let A of v.name)A.language===M&&(E=A.text);return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(v,M){try{let E=M+": Unbekannt";for(let A of v.name)A.language===M&&(E=A.text);return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(v,M){try{let A,T,R,N,E=(0,a.default)(v.Tagstempel);if(!u.isUndefined(this.Ferienliste[M]))for(N of this.Ferienliste[M])if(A=(0,a.default)(N.Anfangstempel),T=(0,a.default)(N.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(T,"day"))return R={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:N.Anfangstempel,Ferienname_DE:this.GetFeriennamen(N,"DE"),Ferienname_BG:this.GetFeriennamen(N,"EN")},R;return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(v,M){try{let A,E=(0,a.default)(v.Tagstempel),T=!1;if(!u.isUndefined(this.Feiertageliste[M]))for(let R of this.Feiertageliste[M])if(A=(0,a.default)(R.Anfangstempel),A.isSame(E,"day")&&-1===u.findIndex(this.CurrentUrlaub.Feiertageblockerliste,v.Tagstempel)){T=!0;break}return T}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(v,M){try{let A,T,R,E=(0,a.default)(v.Tagstempel);if(!u.isUndefined(this.Feiertageliste[M]))for(R of this.Feiertageliste[M])if(A=(0,a.default)(R.Anfangstempel),A.isSame(E,"day"))return T={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:R.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(R,"DE"),Feiertagname_BG:this.GetFeiertagnamen(R,"EN")},T;return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyUrlaubszeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",UrlaubsvertreterID:null,UrlaubsfreigeberID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,VertreteranfrageSended:!1,VertreterantwortSended:!1,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Vertretunganfragezeitstempel:null,Vertretungantwortzeitstempel:null,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}GetEmptyHomeofficezeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",Status:this.Homeofficestatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,Freigabeantwortzeitstempel:null}}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Urlaub","GetEmptyHomeofficezeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){v+=this.Pool.Mitarbeiterdaten.Urlaub,v+=this.CurrentMitarbeiter.Resturlaub;for(let M of this.CurrentUrlaub.Urlaubzeitspannen)M.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(v-=M.Tageanzahl);return v}return 0}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CountHomeoffice(){try{let v=210;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status!==this.Homeofficestatusvarianten.Abgelehnt&&(v-=M.Tageanzahl);return v}return 0}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeoffice",this.Debug.Typen.Service)}}CountHomeGeplant(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Geplant&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeGeplant",this.Debug.Typen.Service)}}CountHomeFreigbeanfragen(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeFreigbeanfragen",this.Debug.Typen.Service)}}CountHomeGenehmigt(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Genehmigt&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeGenehmigt",this.Debug.Typen.Service)}}CountHomeAbgelehnt(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let M of this.CurrentUrlaub.Homeofficezeitspannen)M.Status===this.Homeofficestatusvarianten.Abgelehnt&&v++;return v}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountHomeAbgelehnt",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(v){try{let M,E,A;return null!==this.CurrentUrlaub&&(M=u.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:v}),!u.isUndefined(M)&&(E=u.find(this.Pool.Mitarbeiterliste,{_id:M.MitarbeiterID}),A=u.find(E.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!u.isUndefined(A)&&M.Display&&A.Urlaubzeitspannen.length>0))}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}HomeofficeAbgelehntLoeschen(){var v=this;return n(function*(){try{null!==v.CurrentUrlaub&&null!==v.Pool.Mitarbeiterdaten&&(v.CurrentUrlaub.Homeofficezeitspannen=u.filter(v.CurrentUrlaub.Homeofficezeitspannen,E=>E.Status!==v.Homeofficestatusvarianten.Abgelehnt));let M=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[M]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.ExterneHomeofficeChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","HomeofficeAbgelehntLoeschen",v.Debug.Typen.Service)}})()}HomeofficeGeplantLoeschen(){var v=this;return n(function*(){try{null!==v.CurrentUrlaub&&null!==v.Pool.Mitarbeiterdaten&&(v.CurrentUrlaub.Homeofficezeitspannen=u.filter(v.CurrentUrlaub.Homeofficezeitspannen,E=>E.Status!==v.Homeofficestatusvarianten.Geplant));let M=u.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[M]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.ExterneHomeofficeChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","HomeofficeGeplantLoeschen",v.Debug.Typen.Service)}})()}static \u0275fac=function(M){return new(M||h)(e.\u0275\u0275inject(c.DebugProvider),e.\u0275\u0275inject(l.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(b.Graphservice),e.\u0275\u0275inject(_.DatabaseMitarbeiterService),e.\u0275\u0275inject(S.BasicsProvider),e.\u0275\u0275inject(y.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},34388:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DebugProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),u=n.__importStar(o(10716)),a=n.__importStar(o(34396)),e=n.__importStar(o(29743));f.DebugProvider=(()=>{class l{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(b,_,S,y){this.Basics=b,this.nav=_,this.Fehlerservice=S,this.Const=y;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(b,_,S,y){try{console.log("File: "+_+" | Function: "+S+" | Message: "+b),this.Debugmessageliste.push({Skript:_,Message:b,Function:S,Color:"red"})}catch{}}ShowMessage(b,_,S,y){try{console.log("File: "+_+" | Function: "+S+" | Message: "+b),this.Debugmessageliste.push({Skript:_,Message:b,Function:S,Color:"blue"})}catch{}}static \u0275fac=function(_){return new(_||l)(i.\u0275\u0275inject(d.BasicsProvider),i.\u0275\u0275inject(u.NavController),i.\u0275\u0275inject(a.ErrorService),i.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},21052:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DisplayService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(17964),u=n.__importStar(o(54496)),a=n.__importStar(o(34388));f.DisplayService=(()=>{class c{Debug;Dialognamen={Auswahldialog:"Auswahldialog",Mitarbeiterauswahl:"Mitarbeiterauswahl",Projekteditor:"Projekteditor",Beteiligteneditor:"Beteiligteneditor",Firmeneditor:"Firmeneditor",Mitarbeitereditor:"Mitarbeitereditor",Standorteditor:"Standorteditor",Changelogeditor:"Changelogeditor",Favoriteneditor:"Favoriteneditor",Favoritenauswahl:"Favoritenauswahl",Projekteauswahl:"Projekteauswahl",Bauteileditor:"Bauteileditor",Geschosseditor:"Geschosseditor",Raumeditor:"Raumeditor",AufgabeProjektauswahl:"AufgabeProjektauswahl",Projektpunteditor:"Projektpunteditor",Beteiligteauswahl:"Beteiligteauswahl",Firmenauswahl:"Firmenauswahl",Protokolleditor:"Protokolleditor",Kostengruppenauswahl:"Kostengruppenauswahl",Raumauswahl:"Raumauswahl",Protokolllistefilter:"Protokolllistefilter",Aufgabenlistefilter:"Aufgabenlistefilter",Meinewocheeditor:"Meinewocheeditor",ProjektpunktStatusDatePicker:"ProjektpunktStatusDatePicker",ProjektpunktDateKwPicker:"ProjektpunktDateKwPicker",Verzeichnisauswahl:"Verzeichnisauswahl",Bilderauswahl:"Bilderauswahl",Outlookkontakteauswahl:"Outlookkontakteauswahl",ProjektSendeEmail:"ProjektSendeEmail",Bautagebucheditor:"Bautagebucheditor",Bautagebucheintrageditor:"Bautagebucheintrageditor",LOPListeEditor:"LOPListeEditor",LOPListeEintragEditor:"LOPListeEintragEditor",Planungsmatrixeintrageditor:"Planungsmatrixeintrageditor",Notizenkapiteleditor:"Notizenkapiteleditor",Festlegungkategorieneditor:"Festlegungkategorieneditor",Simontabelleeditor:"Simontabelleeditor",Simontabellelesitungeditor:"Simontabellelesitungeditor",RechnungEditor:"RechnungEditor"};Dialogliste;constructor(g){this.Debug=g;try{this.Dialogliste=[]}catch(b){this.Debug.ShowErrorMessage(b.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(g){this.Debug.ShowErrorMessage(g.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(g,b){try{let _=i.find(this.Dialogliste,{Dialogname:g});i.isUndefined(_)?this.Dialogliste.push({Dialogname:g,ZIndex:b}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+g),"Dialog","AddDialog",this.Debug.Typen.Service),(0,d.forEach)(this.Dialogliste,S=>{console.log(S)})}catch(_){this.Debug.ShowErrorMessage(_.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(g){try{this.Dialogliste=i.filter(this.Dialogliste,b=>b.Dialogname!==g),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(b){this.Debug.ShowErrorMessage(b.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(g){try{let S,b=0,_=0;return(0,d.forEach)(this.Dialogliste,y=>{y.ZIndex>b&&(b=y.ZIndex),y.Dialogname===g&&(_=y.ZIndex,S=y.Dialogname)}),_>=b}catch(b){this.Debug.ShowErrorMessage(b.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||c)(u.\u0275\u0275inject(a.DebugProvider))};static \u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},34396:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ErrorService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));f.ErrorService=(()=>{class a{Const;Fehlermeldung;CanGoBack;constructor(c){this.Const=c;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},8608:(ve,f,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(f,"__esModule",{value:!0}),f.Graphservice=void 0;const i=o(81316),d=o(54496),u=o(42348),a=o(57140),e=i.__importStar(o(17964)),c=i.__importDefault(o(35908)),l=i.__importStar(o(54496)),g=i.__importStar(o(34388)),b=i.__importStar(o(29743)),_=i.__importStar(o(97092)),S=i.__importStar(o(19668)),y=i.__importStar(o(14652)),m=i.__importStar(o(14476));f.Graphservice=(()=>{class C{msalGuardConfig;Debug;Const;AuthService;Tools;Basics;domSanitizer;ImageZoomOut=new d.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;CurrentPDFDownload;KalenderKW;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(M,E,A,T,R,N,I){this.msalGuardConfig=M,this.Debug=E,this.Const=A,this.AuthService=T,this.Tools=R,this.Basics=N,this.domSanitizer=I;try{this.Graphuser=null,this.UserimageSRC=null,this.Teamsliste=[],this.TeamsRootfilelist=[],this.TeamsCurrentfilelist=[],this.TeamsSubdirectorylist=[],this.CurrentTeamsID="ea457111-b3f1-4c73-a8ae-cb1cbaf6d244",this.CurrentPDFDownload=null,this.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,c.default)().locale("de").isoWeek(),this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(L){this.Debug.ShowErrorMessage(L.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnUserinfo(){var M=this;return n(function*(){try{let E=yield M.AuthService.RequestToken("user.read");const A=a.Client.init({authProvider:T=>{T(null,E)}});return new Promise((T,R)=>{null!==E?A.api("/me").select("*").get().then(N=>{M.Graphuser=N,T(!0)}).catch(N=>{"InvalidAuthenticationToken"===N.code&&(M.AuthService.UnsetActiveUser(),M.Tools.SetRootPage(M.Const.Pages.HomePage)),R(N)}):R(!1)})}catch(E){M.Debug.ShowErrorMessage(E,"Graph","GetOwnUserinfo",M.Debug.Typen.Service)}})()}GetEmptyTeamsfile(){try{return{cTag:"",createdBy:{user:{displayName:"",email:"",id:""}},createdDateTime:"",eTag:"",fileSystemInfo:{createdDateTime:"",lastModifiedDateTime:""},id:"",lastModifiedBy:{},lastModifiedDateTime:"",name:"",parentReference:{driveId:"",driveType:"",id:"",path:""},shared:{scope:""},size:0,webUrl:""}}catch(M){this.Debug.ShowErrorMessage(M,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(M,E){var A=this;return n(function*(){try{let R,T=yield A.AuthService.RequestToken("user.read"),N=[],I=[];A.TeamsRootfilelist=[],A.TeamsCurrentfilelist=[];const L=a.Client.init({authProvider:O=>{O(null,T)}});return new Promise((O,z)=>{null!==T?L.api("/sites/"+A.BAESiteID+"/drive/items/"+M.id+"/children").get().then(F=>{for(R of F.value)e.isUndefined(R.file)?(R.isfolder=!0,I.push(R)):(R.isfolder=!1,N.push(R));I.sort((q,X)=>q.nameX.name?1:0),N.sort((q,X)=>q.nameX.name?1:0),!1===E?A.TeamsRootfilelist=I:(A.TeamsRootfilelist=I,A.TeamsRootfilelist=A.TeamsRootfilelist.concat(N)),A.TeamsCurrentfilelist=A.TeamsRootfilelist,e.isUndefined(e.find(A.TeamsSubdirectorylist,q=>q.id===M.id))&&A.TeamsSubdirectorylist.push(M),O(!0)}).catch(F=>{z(F)}):z(!1)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","GetSiteSubdirictoryfilelist",A.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(M,E){var A=this;return n(function*(){try{let T=yield A.AuthService.RequestToken("user.read"),R={name:E.name,id:"",context:"",url:""};const N=a.Client.init({authProvider:I=>{I(null,T)}});return new Promise((I,L)=>{null!==T?N.api("/groups/"+M+"/drive/items/"+E.id+"?select=id,@microsoft.graph.downloadUrl").get().then(O=>{R.id=O.id,R.url=O["@microsoft.graph.downloadUrl"],R.context=O["@odata.context"],A.CurrentPDFDownload=R,I(R)}).catch(O=>{L(O)}):L(null)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","DownloadPDFTeamsFile",A.Debug.Typen.Service)}})()}DownloadPDFSiteFile(M){var E=this;return n(function*(){try{let A=yield E.AuthService.RequestToken("user.read"),T={name:M.name,id:"",context:"",url:""};const R=a.Client.init({authProvider:N=>{N(null,A)}});return new Promise((N,I)=>{null!==A?R.api("/sites/"+E.BAESiteID+"/drive/items/"+M.id+"?select=id,@microsoft.graph.downloadUrl").get().then(L=>{T.id=L.id,T.url=L["@microsoft.graph.downloadUrl"],T.context=L["@odata.context"],E.CurrentPDFDownload=T,N(T)}).catch(L=>{I(L)}):I(null)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","DownloadPDFSiteFile",E.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(M){var E=this;return n(function*(){try{let A=yield E.AuthService.RequestToken("user.read"),T=document.createElement("a"),R={name:"",id:"",context:"",url:""};const N=a.Client.init({authProvider:I=>{I(null,A)}});return new Promise((I,L)=>{null!==A?N.api("/sites/"+E.BAESiteID+"/drive/items/"+M+"?select=id,@microsoft.graph.downloadUrl").get().then(O=>{R.id=O.id,R.url=O["@microsoft.graph.downloadUrl"],R.context=O["@odata.context"],E.CurrentPDFDownload=R,document.body.appendChild(T),T.href=R.url,T.click(),T.remove(),I(R)}).catch(O=>{L(O)}):L(null)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","DownloadPDFSiteFileViaLink",E.Debug.Typen.Service)}})()}TestGraph(){var M=this;return n(function*(){try{let E=yield M.AuthService.RequestToken("user.read"),A="632cc6c8-51d5-4219-8092-ed10a792e715";const T=a.Client.init({authProvider:R=>{R(null,E)}});return new Promise((R,N)=>{null!==E?T.api("/groups/"+A+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(I=>{R(!0)}).catch(I=>{N(I)}):N(!1)})}catch(E){M.Debug.ShowErrorMessage(E,"Graph","TestGraph",M.Debug.Typen.Service)}})()}TeamsCheckFileExists(M,E,A){var T=this;return n(function*(){try{let I,R=yield T.AuthService.RequestToken("user.read"),N=!1;const L=a.Client.init({authProvider:O=>{O(null,R)}});return E=E.replace("ROOT:",""),new Promise((O,z)=>{null!==R?L.api("/groups/"+M+"/drive/items/"+E+"/children").get().then(F=>{for(I of F.value)e.isUndefined(I.folder)&&I.name===A&&(N=!0);O(N)}).catch(F=>{z(F)}):z(!1)})}catch(R){T.Debug.ShowErrorMessage(R,"Graph","TeamsCheckFileExists",T.Debug.Typen.Service)}})()}SiteCheckFileExists(M,E){var A=this;return n(function*(){try{let N,T=yield A.AuthService.RequestToken("user.read"),R=!1;const I=a.Client.init({authProvider:L=>{L(null,T)}});return M=M.replace("ROOT:",""),new Promise((L,O)=>{null!==T?I.api("/sites/"+A.BAESiteID+"/drive/items/"+M+"/children").get().then(z=>{for(N of z.value)e.isUndefined(N.folder)&&N.name===E&&(R=!0);L(R)}).catch(z=>{L(null)}):O(!1)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","SiteCheckFileExists",A.Debug.Typen.Service)}})()}GetTeamsSubDirectory(M,E){var A=this;return n(function*(){try{let T=yield A.AuthService.RequestToken("user.read");const R=a.Client.init({authProvider:N=>{N(null,T)}});return new Promise((N,I)=>{null!==T?R.api("/groups/"+M+"/drive/items/"+E).get().then(L=>{N(L)}).catch(L=>{N(null)}):I(null)})}catch(T){A.Debug.ShowErrorMessage(T,"Graph","GetTeamsSubDirectory",A.Debug.Typen.Service)}})()}GetSiteSubDirectory(M){var E=this;return n(function*(){try{let A=yield E.AuthService.RequestToken("user.read");const T=a.Client.init({authProvider:R=>{R(null,A)}});return new Promise((R,N)=>{null!==A?T.api("/sites/"+E.BAESiteID+"/drive/items/"+M).get().then(I=>{R(I)}).catch(I=>{R(null)}):N(null)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","GetSiteSubDirectory",E.Debug.Typen.Service)}})()}GetAllUsers(){var M=this;return n(function*(){try{let T,R,E=[],A=[],N=0,I=yield M.AuthService.RequestToken("User.ReadBasic.All");const L=a.Client.init({authProvider:O=>{O(null,I)}});if(T=yield L.api("/users").count().get(),e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(A.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{R=T["@odata.nextLink"],T=yield L.api(R).get(),e.isUndefined(T.value)||A.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||A.push(T.value)}for(let O of A)for(let z of O)E.push(z);return E=e.filter(E,O=>null!==O.mail&&null!==O.givenName&&null!==O.surname),Promise.resolve(E)}catch(E){M.Debug.ShowErrorMessage(E,"Graph","GetAllUsers",M.Debug.Typen.Service)}})()}GetTeamsMitglieder(M){var E=this;return n(function*(){try{let A=[],T=yield E.AuthService.RequestToken("user.read");const N=a.Client.init({authProvider:I=>{I(null,T)}});return new Promise((I,L)=>{null!==T?N.api("/teams/"+M+"/members").get().then(O=>{if(!e.isUndefined(O.value)){A=O.value;for(let z of A)z.UserImageSRC=null}A=e.filter(A,z=>"microsoft@burnicklgroup.onmicrosoft.com"!==z.email),I(A)}).catch(O=>{L(O)}):L(!1)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","GetTeamsMitglieder",E.Debug.Typen.Service)}})()}SendMail(M,E,A){var T=this;return n(function*(){try{let R,N=yield T.AuthService.RequestToken("Mail.Send");const I=a.Client.init({authProvider:L=>{L(null,N)}});if(!0===T.Basics.DebugNoExternalEmail)for(let L of M)L.emailAddress.address="p.hornburger@gmail.com";if(null!==N){const L={message:{subject:E,body:{contentType:"html",content:A},toRecipients:M},saveToSentItems:"true"};return R=yield I.api("/me/sendMail").post(L),Promise.resolve(R)}return Promise.reject(!1)}catch(R){T.Debug.ShowErrorMessage(R,"Graph","SendMail",T.Debug.Typen.Service)}})()}GetOwnUserimage(){var M=this;return n(function*(){try{let E=yield M.AuthService.RequestToken("user.read");const A=a.Client.init({authProvider:R=>{R(null,E)}}),T={"Content-Type":"image/jpeg"};return new Promise((R,N)=>{null!==E?A.api("/me/photo/$value").headers(T).responseType(a.ResponseType.BLOB).get().then(I=>{M.UserimageSRC=M.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(I)),R(!0)}).catch(I=>{404===I.statusCode&&(M.UserimageSRC=null,R(!0)),N(I)}):N(!1)})}catch(E){M.Debug.ShowErrorMessage(E,"Graph","GetOwnUserinfo",M.Debug.Typen.Service)}})()}GetOtherUserimage(M){var E=this;return n(function*(){try{let T,A=yield E.AuthService.RequestToken("user.read");const R=a.Client.init({authProvider:I=>{I(null,A)}}),N={"Content-Type":"image/jpeg"};return new Promise((I,L)=>{null!==A?R.api("/users/"+M+"/photo/$value").headers(N).responseType(a.ResponseType.BLOB).get().then(O=>{T=E.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(O)),I(T)}).catch(O=>{404===O.statusCode&&(T=null,I(T)),L(O)}):L(!1)})}catch(A){E.Debug.ShowErrorMessage(A,"Graph","GetOwnUserinfo",E.Debug.Typen.Service)}})()}static \u0275fac=function(E){return new(E||C)(l.\u0275\u0275inject(u.MSAL_GUARD_CONFIG),l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(b.ConstProvider),l.\u0275\u0275inject(_.DatabaseAuthenticationService),l.\u0275\u0275inject(S.ToolsProvider),l.\u0275\u0275inject(y.BasicsProvider),l.\u0275\u0275inject(m.DomSanitizer))};static \u0275prov=l.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},33940:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LoadingAnimationService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),u=n.__importStar(o(10716)),a=n.__importStar(o(14652));f.LoadingAnimationService=(()=>{class c{Debug;Loader;Basics;AjaxTime;constructor(g,b,_){this.Debug=g,this.Loader=b,this.Basics=_;try{this.AjaxTime=null}catch(S){this.Debug.ShowErrorMessage(S.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(g,b){try{let S={spinner:"lines",message:'\n \n \n \n \n \n \n \n
    '+g+'

    '+b+"
    ",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((y,m)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(S).then(h=>{h.present(),y(!0)}).catch(h=>{m(h)})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(g){try{let _,b=this.Basics.Waittime;return _=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:b+1,new Promise(S=>{if(!g)return this.Loader.dismiss().then(()=>{S(!0)}).catch(y=>{S(!0)});b>_?b-=_:b=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{S(!0)}).catch(y=>{S(!0)})},b)})}catch(b){this.Debug.ShowErrorMessage(b.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||c)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(u.LoadingController),i.\u0275\u0275inject(a.BasicsProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac})}return c})()},59460:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.MenueService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),u=n.__importStar(o(19668)),a=n.__importStar(o(29743));f.MenueService=(()=>{class c{Debug;Tools;Const;MainMenuebereich;MainMenuebereiche={Home:"Home",Email:"Email",Debug:"Debug",Logout:"Logout",Einstellungen:"Einstellungen",Projekte:"Projekte",Urlaubsplanung:"Urlaubsplanung"};UrlaubMenuebereich;UrlaubMenuebereiche={Planung:"Planung",Uebersicht:"Uebersicht",Gesamtplanung:"Gesamtplanung",Einstellungen:"Einstellungen",Freigaben:"Freigaben"};ProjekteMenuebereich;ProjekteMenuebereiche={Aufgabenliste:"Aufgabenliste",Protokolle:"Protokolle",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Planungsmatrix:"Planungsmatrix",Simontabelle:"Simontabelle",Fileliste:"Fileliste",Notizen:"Notizen"};Aufgabenlisteansicht;Aufgabenlisteansichten={Mein_Tag:"Mein Tag",Meine_Woche:"Meine Woche",Meilensteine:"Meilensteine",Projekt:"Projekt",Alle:"Alle"};FirmaMenuebereich;FirmaMenuebereiche={Standorte:"Standorte",Mitarbeiter:"Mitarbeiter",Projekte:"Projekte",Favoriten:"Favoriten",Play:"Play"};FilelisteAufrufer;FilelisteAufrufervarianten={Aufgabenliste:"Aufgabenliste",Protokollliste:"Protokollliste",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Simontabelle:"Simontabelle",ImageZoom:"ImageZoom"};constructor(g,b,_){this.Debug=g,this.Tools=b,this.Const=_;try{this.MainMenuebereich=this.MainMenuebereiche.Projekte,this.FirmaMenuebereich=this.FirmaMenuebereiche.Projekte,this.ProjekteMenuebereich=this.ProjekteMenuebereiche.Aufgabenliste,this.UrlaubMenuebereich=this.UrlaubMenuebereiche.Planung,this.Aufgabenlisteansicht=this.Aufgabenlisteansichten.Projekt,this.FilelisteAufrufer=this.FilelisteAufrufervarianten.Aufgabenliste}catch(S){this.Debug.ShowErrorMessage(S.message,"Menue","constructor",this.Debug.Typen.Service)}}SetCurrentPage(){try{switch(this.MainMenuebereich){case this.MainMenuebereiche.Home:this.Tools.SetRootPage(this.Const.Pages.HomePage);break;case this.MainMenuebereiche.Email:this.Tools.SetRootPage(this.Const.Pages.EmaillistePage);break;case this.MainMenuebereiche.Urlaubsplanung:switch(this.UrlaubMenuebereich){case this.UrlaubMenuebereiche.Planung:this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage);break;case this.UrlaubMenuebereiche.Uebersicht:this.Tools.SetRootPage(this.Const.Pages.UrlaubUebersichtPage);break;case this.UrlaubMenuebereiche.Gesamtplanung:this.Tools.SetRootPage(this.Const.Pages.UrlaubsgesamtuebersichtPage);break;case this.UrlaubMenuebereiche.Freigaben:this.Tools.SetRootPage(this.Const.Pages.UrlaubFreigabenPage);break;case this.UrlaubMenuebereiche.Einstellungen:this.Tools.SetRootPage(this.Const.Pages.UrlaubEinstellungenPage)}break;case this.MainMenuebereiche.Projekte:switch(this.ProjekteMenuebereich){case this.ProjekteMenuebereiche.Notizen:this.Tools.SetRootPage(this.Const.Pages.PjNotizenListePage);break;case this.ProjekteMenuebereiche.Aufgabenliste:switch(this.Aufgabenlisteansicht){case this.Aufgabenlisteansichten.Alle:case this.Aufgabenlisteansichten.Mein_Tag:case this.Aufgabenlisteansichten.Meine_Woche:case this.Aufgabenlisteansichten.Meilensteine:case this.Aufgabenlisteansichten.Projekt:this.Tools.SetRootPage(this.Const.Pages.PjAufgabenlistePage)}break;case this.ProjekteMenuebereiche.Fileliste:this.Tools.PushPage(this.Const.Pages.PjFilebrowserPage);break;case this.ProjekteMenuebereiche.Protokolle:this.Tools.SetRootPage(this.Const.Pages.PjProtokolleListePage);break;case this.ProjekteMenuebereiche.LOPListe:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleLoplistePage);break;case this.ProjekteMenuebereiche.Bautagebuch:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleTagebuchlistePage);break;case this.ProjekteMenuebereiche.Festlegungen:this.Tools.SetRootPage(this.Const.Pages.PjFestlegungslistePage);break;case this.ProjekteMenuebereiche.Planungsmatrix:this.Tools.SetRootPage(this.Const.Pages.PjPlanungsmatrixPage);break;case this.ProjekteMenuebereiche.Simontabelle:this.Tools.SetRootPage(this.Const.Pages.PjSimontabellelistePage)}}}catch(g){this.Debug.ShowErrorMessage(g.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||c)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(u.ToolsProvider),i.\u0275\u0275inject(a.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},77200:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Navparameter=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));f.Navparameter=(()=>{class a{Const;NavListe;CanGoBack;Debugstatus;constructor(c){this.Const=c;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(l){console.log(l,"Nav Parameter -> constructor:"+l)}}RemovePage(){try{let c=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),c=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),c}catch(c){console.log(c,"Nav Parameter -> RemovePage:"+c)}}AddPage(c){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==c?(this.NavListe.push(c),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+c),this.PrintNavliste())):console.log("Add Page Failed: "+c)}catch(l){console.log(l,"Nav Parameter -> AddPage: "+l)}}PrintNavliste(){try{let c;console.log("**************************"),console.log("Navliste: ");for(let l=0;l "+c):console.log(c);console.log("**************************")}catch(c){console.log(c,"Nav Parameter -> PrintNavliste: "+c)}}SetRootpage(c){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(c),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+c),this.PrintNavliste())}catch(l){console.log(l,"Nav Parameter -> SetRootpage: "+l)}}static \u0275fac=function(l){return new(l||a)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},19668:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ToolsProvider=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importDefault(o(35908)),u=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),e=n.__importStar(o(14652)),c=n.__importStar(o(34388)),l=n.__importStar(o(29743)),g=n.__importStar(o(77200)),b=n.__importStar(o(10716));f.ToolsProvider=(()=>{class S{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(m,h,C,v,M,E,A){this.Basics=m,this.Debug=h,this.Const=C,this.NavParameter=v,this.nav=M,this.platform=E,this.alertCtrl=A;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(T){this.Debug.ShowErrorMessage(T.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(m){try{return!isNaN(parseFloat(m))&&isFinite(m)}catch(h){this.Debug.ShowErrorMessage(h,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(m){try{return(0,u.default)(m).format("DD.MM.YY")}catch(h){this.Debug.ShowErrorMessage(h,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(m){try{return(0,u.default)(m).format("HH:mm")}catch(h){this.Debug.ShowErrorMessage(h,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(m,h,C){try{let v=m,M=""!==C?"_"+C:"";return v=v.replace(/ /g,"_"),v=v.replace(/\xe4/g,"ae"),v=v.replace(/\xc4/g,"AE"),v=v.replace(/\xf6/g,"oe"),v=v.replace(/\xd6/g,"OE"),v=v.replace(/\xfc/g,"ue"),v=v.replace(/\xdc/g,"UE"),v=v.replace(/\xdf/g,"ss"),v=v.replace(/[^a-zA-Z0-9 ]/g,"_"),v+M+"."+h}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(m,h){try{let C=m;return C=C.replace(/ /g,"_"),C=C.replace(/\xe4/g,"ae"),C=C.replace(/\xc4/g,"AE"),C=C.replace(/\xf6/g,"oe"),C=C.replace(/\xd6/g,"OE"),C=C.replace(/\xfc/g,"ue"),C=C.replace(/\xdc/g,"UE"),C=C.replace(/\xdf/g,"ss"),C=C.replace(/[^a-zA-Z0-9 ]/g,"_"),C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(m,h){try{let v,M,E,A,T,C=!1;if(m.length>=h.length)for(A of m){if(v=h.findIndex(R=>A[M]===R[M]),-1===v){C=!0;break}E=Object.keys(m[v]),T=h[v];for(let R of E)if(A[R]!==T[R]){C=!0;break}if(!0===C)break}else for(T of h){if(v=m.findIndex(R=>T[M]===R[M]),-1===v){C=!0;break}E=Object.keys(m[v]),A=m[v];for(let R of E)if(T[R]!==A[R]){C=!0;break}if(!0===C)break}return C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(m,h){try{return JSON.stringify(m)!==JSON.stringify(h)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(m,h,C){try{let M,v=!1;if(m.length>=h.length){for(let E of m)if(M=h.findIndex(A=>E[C]===A[C]),-1===M){v=!0;break}}else for(let E of h)if(M=m.findIndex(A=>E[C]===A[C]),-1===M){v=!0;break}return v}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(m,h){try{return new Promise(C=>{this.alertCtrl.create({header:m,message:h,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{C(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{C(this.Const.Dialogmessages.ok)}}]}).then(v=>{v.present()}).catch(v=>{console.log(v)})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(m,h,C,v){try{return new Promise(M=>{this.alertCtrl.create({header:m,cssClass:"alertdialogclass",message:h,inputs:[{name:"wahla",type:"radio",label:C,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:v,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{M(null)}},{text:"Fertig",cssClass:"infookclass",handler:E=>{i.isUndefined(E)?M(null):M(E)}}]}).then(E=>{E.present()}).catch(E=>{console.log(E)})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(m){try{let h;for(const C of Object.keys(m))h=m[C],null===h&&(h="",m[C]=h);return m}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(m,h=2,C=",",v="."){try{h=Math.abs(h),h=isNaN(h)?2:h;const M=m<0?"-":"";let E=parseInt(m=Math.abs(Number(m)||0).toFixed(h)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(h?C+Math.abs(m-E).toFixed(h).slice(2):"")+" \u20ac"}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(m,h=2,C=",",v="."){try{h=Math.abs(h),h=isNaN(h)?2:h;const M=m<0?"-":"";let E=parseInt(m=Math.abs(Number(m)||0).toFixed(h)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(h?C+Math.abs(m-E).toFixed(h).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(m,h=2,C=",",v="."){try{h=Math.abs(h),h=isNaN(h)?2:h;const M=m<0?"-":"";let E=parseInt(m=Math.abs(Number(m)||0).toFixed(h)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(h?C+Math.abs(m-E).toFixed(h).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(m,h,C){try{let v;return null!==m?(m>=1e6?(m/=1e6,v=0===C?(m=Math.round(m)).toString()+" M":m.toFixed(C)+" M"):m>=1e3?(m/=1e3,v=0===C?(m=Math.round(m)).toString()+" k":m.toFixed(C)+" k"):m>0&&m<1?m<1e-9?(m*=1e9,0===C?m=Math.round(m):v=m.toFixed(C),v=m.toString()+" p"):m<1e-6?(m*=1e6,v=0===C?Math.round(m).toString():m.toFixed(C),v+=" n"):m<.001?(m*=1e3,v=0===C?Math.round(m).toString():m.toFixed(C),v+=" µ"):m<1&&(m*=1e3,v=0===C?Math.round(m).toString():m.toFixed(C),v+=" m"):(v=0===C?Math.round(m).toString():m.toFixed(C),""!==h&&(v=v+" "+h)),v=v.replace(".",","),""!==h&&(v=v+" "+h),v):"0"}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(m){try{return this.UID_Counter++,"uid_"+m.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(m){try{let h,C=100,v=50,M=50;return typeof m<"u"&&(m=m.replace("#",""),h=parseInt(m,16),C=h>>16&255,v=h>>8&255,M=255&h),C+","+v+","+M}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(m){try{return new Promise(h=>{this.nav.navigateRoot(m,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(m),h(!0)}).catch(C=>{console.log(C)})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(m){try{return new Promise(h=>{this.nav.navigateForward(m,{animated:!0}).then(()=>{this.NavParameter.AddPage(m),h(!0)}).catch(C=>{console.log(C)})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let m;return new Promise(h=>{m=this.NavParameter.RemovePage(),null!==m?this.nav.navigateBack(m,{animated:!1}).then(()=>{h(!0)}).catch(C=>{console.log(C)}):h(!0)})}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(m){try{return m/180*Math.PI}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(m){try{return 180*m/Math.PI}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(m){try{return m%2==0}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(m){try{return m%2!=0}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(m,h){try{let C=Math.pow(10,h||0);return Math.round(m*C)/C}catch(C){this.Debug.ShowErrorMessage(C.message,"file","function",this.Debug.Typen.Page)}}Runden(m,h){try{let C=Math.pow(10,h);return(Math.round(m*C)/C).toFixed(h)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,d.default)().valueOf()}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,d.default)().format("DD.MM.YYYY HH:mm:ss")}catch(m){this.Debug.ShowErrorMessage(m.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(m,h,C){try{return(0,d.default)(m+"."+h+"."+C+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(m){try{return typeof m<"u"?m.replace(/(?:\r\n|\r|\n)/g,"
    "):""}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(m){try{return(m=(m=(m=(m=(m=(m=(m=(m=m.replace(/ /g,"_")).replace(/\xe4/g,"ae")).replace(/\xc4/g,"Ae")).replace(/\xf6/g,"oe")).replace(/\xd6/g,"Oe")).replace(/\xfc/g,"ue")).replace(/\xdc/g,"Ue")).replace(/\xdf/g,"ss")).replace(/[&\/\\#,+()$~%.'\xa7=^!`\xb4;":.,*-?<>{}]/g,"")}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","ReplaceSonderzeichen",this.Debug.Typen.Service)}}RundenAsText(m,h){try{let v,C=Math.pow(10,h);return v=Math.round(m*C)/C,v.toString().replace(".",",")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(m){try{return!!this.CheckObject(m,!1)&&m instanceof Array}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(m,h){try{return typeof m<"u"&&null!==m&&(!1===h||typeof m[h.toString()]<"u")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(m){try{return new Promise(h=>{this.alertCtrl.create({header:"Hinweis",message:m,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{h(!0)}}]}).then(C=>{C.present()}).catch(C=>{console.log(C)})})}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(m){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m)}catch(h){this.Debug.ShowErrorMessage(h.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(h){return new(h||S)(a.\u0275\u0275inject(e.BasicsProvider),a.\u0275\u0275inject(c.DebugProvider),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(g.Navparameter),a.\u0275\u0275inject(b.NavController),a.\u0275\u0275inject(b.Platform),a.\u0275\u0275inject(b.AlertController))};static \u0275prov=a.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},36716:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.environment=void 0,f.environment={production:!0}},27460:(ve,f,o)=>{"use strict";const d=o(81316).__importStar(o(14476)),u=o(54496),a=o(5204);o(36716).environment.production&&(0,u.enableProdMode)(),d.platformBrowser().bootstrapModule(a.AppModule).catch(c=>console.log(c))},78776:(ve,f,o)=>{var i,d,n=o(1196).default;self,ve.exports=(i={7629:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(9474),b=e(1687),_=e(8652),S=e(8160),y=e(3292),m=e(6354),h=e(8901),C=e(9708),v=e(6914),M=e(2294),E=e(6133),A=e(1152),T=e(8863),R=e(2036),N={Base:class{constructor(I){this.type=I,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new M.Ids,this._preferences=null,this._refs=new E.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return c("function"==typeof C.describe,"Manifest functionality disabled"),C.describe(this)}allow(...I){return S.verifyFlat(I,"allow"),this._values(I,"_valids")}alter(I){c(I&&"object"==typeof I&&!Array.isArray(I),"Invalid targets argument"),c(!this._inRuleset(),"Cannot set alterations inside a ruleset");const L=this.clone();L.$_terms.alterations=L.$_terms.alterations||[];for(const O in I){const z=I[O];c("function"==typeof z,"Alteration adjuster for",O,"must be a function"),L.$_terms.alterations.push({target:O,adjuster:z})}return L.$_temp.ruleset=!1,L}artifact(I){return c(void 0!==I,"Artifact cannot be undefined"),c(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",I)}cast(I){return c(!1===I||"string"==typeof I,"Invalid to value"),c(!1===I||this._definition.cast[I],"Type",this.type,"does not support casting to",I),this.$_setFlag("cast",!1===I?void 0:I)}default(I,L){return this._default("default",I,L)}description(I){return c(I&&"string"==typeof I,"Description must be a non-empty string"),this.$_setFlag("description",I)}empty(I){const L=this.clone();return void 0!==I&&(I=L.$_compile(I,{override:!1})),L.$_setFlag("empty",I,{clone:!1})}error(I){return c(I,"Missing error"),c(I instanceof Error||"function"==typeof I,"Must provide a valid Error object or a function"),this.$_setFlag("error",I)}example(I,L={}){return c(void 0!==I,"Missing example"),S.assertOptions(L,["override"]),this._inner("examples",I,{single:!0,override:L.override})}external(I,L){return"object"==typeof I&&(c(!L,"Cannot combine options with description"),L=I.description,I=I.method),c("function"==typeof I,"Method must be a function"),c(void 0===L||L&&"string"==typeof L,"Description must be a non-empty string"),this._inner("externals",{method:I,description:L},{single:!0})}failover(I,L){return this._default("failover",I,L)}forbidden(){return this.presence("forbidden")}id(I){return I?(c("string"==typeof I,"id must be a non-empty string"),c(/^[^\.]+$/.test(I),"id cannot contain period character"),this.$_setFlag("id",I)):this.$_setFlag("id",void 0)}invalid(...I){return this._values(I,"_invalids")}label(I){return c(I&&"string"==typeof I,"Label name must be a non-empty string"),this.$_setFlag("label",I)}meta(I){return c(void 0!==I,"Meta cannot be undefined"),this._inner("metas",I,{single:!0})}note(...I){c(I.length,"Missing notes");for(const L of I)c(L&&"string"==typeof L,"Notes must be non-empty strings");return this._inner("notes",I)}only(I=!0){return c("boolean"==typeof I,"Invalid mode:",I),this.$_setFlag("only",I)}optional(){return this.presence("optional")}prefs(I){c(I,"Missing preferences"),c(void 0===I.context,"Cannot override context"),c(void 0===I.externals,"Cannot override externals"),c(void 0===I.warnings,"Cannot override warnings"),c(void 0===I.debug,"Cannot override debug"),S.checkPreferences(I);const L=this.clone();return L._preferences=S.preferences(L._preferences,I),L}presence(I){return c(["optional","required","forbidden"].includes(I),"Unknown presence mode",I),this.$_setFlag("presence",I)}raw(I=!0){return this.$_setFlag("result",I?"raw":void 0)}result(I){return c(["raw","strip"].includes(I),"Unknown result mode",I),this.$_setFlag("result",I)}required(){return this.presence("required")}strict(I){const L=this.clone();return L._preferences=S.preferences(L._preferences,{convert:void 0!==I&&!I}),L}strip(I=!0){return this.$_setFlag("result",I?"strip":void 0)}tag(...I){c(I.length,"Missing tags");for(const L of I)c(L&&"string"==typeof L,"Tags must be non-empty strings");return this._inner("tags",I)}unit(I){return c(I&&"string"==typeof I,"Unit name must be a non-empty string"),this.$_setFlag("unit",I)}valid(...I){S.verifyFlat(I,"valid");const L=this.allow(...I);return L.$_setFlag("only",!!L._valids,{clone:!1}),L}when(I,L){const O=this.clone();O.$_terms.whens||(O.$_terms.whens=[]);const z=y.when(O,I,L);if(!["any","link"].includes(O.type)){const F=z.is?[z]:z.switch;for(const q of F)c(!q.then||"any"===q.then.type||q.then.type===O.type,"Cannot combine",O.type,"with",q.then&&q.then.type),c(!q.otherwise||"any"===q.otherwise.type||q.otherwise.type===O.type,"Cannot combine",O.type,"with",q.otherwise&&q.otherwise.type)}return O.$_terms.whens.push(z),O.$_mutateRebuild()}cache(I){c(!this._inRuleset(),"Cannot set caching inside a ruleset"),c(!this._cache,"Cannot override schema cache"),c(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const L=this.clone();return L._cache=I||_.provider.provision(),L.$_temp.ruleset=!1,L}clone(){const I=Object.create(Object.getPrototypeOf(this));return this._assign(I)}concat(I){c(S.isSchema(I),"Invalid schema object"),c("any"===this.type||"any"===I.type||I.type===this.type,"Cannot merge type",this.type,"with another type:",I.type),c(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),c(!I._inRuleset(),"Cannot concatenate a schema with open ruleset");let L=this.clone();if("any"===this.type&&"any"!==I.type){const O=I.clone();for(const z of Object.keys(L))"type"!==z&&(O[z]=L[z]);L=O}L._ids.concat(I._ids),L._refs.register(I,E.toSibling),L._preferences=L._preferences?S.preferences(L._preferences,I._preferences):I._preferences,L._valids=R.merge(L._valids,I._valids,I._invalids),L._invalids=R.merge(L._invalids,I._invalids,I._valids);for(const O of I._singleRules.keys())L._singleRules.has(O)&&(L._rules=L._rules.filter(z=>z.keep||z.name!==O),L._singleRules.delete(O));for(const O of I._rules)I._definition.rules[O.method].multi||L._singleRules.set(O.name,O),L._rules.push(O);if(L._flags.empty&&I._flags.empty){L._flags.empty=L._flags.empty.concat(I._flags.empty);const O=Object.assign({},I._flags);delete O.empty,b(L._flags,O)}else if(I._flags.empty){L._flags.empty=I._flags.empty;const O=Object.assign({},I._flags);delete O.empty,b(L._flags,O)}else b(L._flags,I._flags);for(const O in I.$_terms){const z=I.$_terms[O];z?L.$_terms[O]=L.$_terms[O]?L.$_terms[O].concat(z):z.slice():L.$_terms[O]||(L.$_terms[O]=z)}return this.$_root._tracer&&this.$_root._tracer._combine(L,[this,I]),L.$_mutateRebuild()}extend(I){return c(!I.base,"Cannot extend type with another base"),h.type(this,I)}extract(I){return I=Array.isArray(I)?I:I.split("."),this._ids.reach(I)}fork(I,L){c(!this._inRuleset(),"Cannot fork inside a ruleset");let O=this;for(let z of[].concat(I))z=Array.isArray(z)?z:z.split("."),O=O._ids.fork(z,L,O);return O.$_temp.ruleset=!1,O}rule(I){const L=this._definition;S.assertOptions(I,Object.keys(L.modifiers)),c(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const O=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;c(O>=0&&OO.tailor(I),ref:!1}),L.$_temp.ruleset=!1,L.$_mutateRebuild()}tracer(){return A.location?A.location(this):this}validate(I,L){return T.entry(I,this,L)}validateAsync(I,L){return T.entryAsync(I,this,L)}$_addRule(I){"string"==typeof I&&(I={name:I}),c(I&&"object"==typeof I,"Invalid options"),c(I.name&&"string"==typeof I.name,"Invalid rule name");for(const q in I)c("_"!==q[0],"Cannot set private rule properties");const L=Object.assign({},I);L._resolve=[],L.method=L.method||L.name;const O=this._definition.rules[L.method],z=L.args;c(O,"Unknown rule",L.method);const F=this.clone();if(z){c(1===Object.keys(z).length||Object.keys(z).length===this._definition.rules[L.name].args.length,"Invalid rule definition for",this.type,L.name);for(const q in z){let X=z[q];if(O.argsByName){const ce=O.argsByName.get(q);if(ce.ref&&S.isResolvable(X))L._resolve.push(q),F.$_mutateRegister(X);else if(ce.normalize&&(X=ce.normalize(X),z[q]=X),ce.assert){const K=S.validateArg(X,q,ce);c(!K,K,"or reference")}}void 0!==X?z[q]=X:delete z[q]}}return O.multi||(F._ruleRemove(L.name,{clone:!1}),F._singleRules.set(L.name,L)),!1===F.$_temp.ruleset&&(F.$_temp.ruleset=null),O.priority?F._rules.unshift(L):F._rules.push(L),F}$_compile(I,L){return y.schema(this.$_root,I,L)}$_createError(I,L,O,z,F,q={}){const X=!1!==q.flags?this._flags:{},ce=q.messages?v.merge(this._definition.messages,q.messages):this._definition.messages;return new m.Report(I,L,O,X,ce,z,F)}$_getFlag(I){return this._flags[I]}$_getRule(I){return this._singleRules.get(I)}$_mapLabels(I){return I=Array.isArray(I)?I:I.split("."),this._ids.labels(I)}$_match(I,L,O,z){(O=Object.assign({},O)).abortEarly=!0,O._externals=!1,L.snapshot();const F=!T.validate(I,this,L,O,z).errors;return L.restore(),F}$_modify(I){return S.assertOptions(I,["each","once","ref","schema"]),M.schema(this,I)||this}$_mutateRebuild(){return c(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(I,{source:L,name:O,key:F})=>{const q=this._definition[L][O]&&this._definition[L][O].register;!1!==q&&this.$_mutateRegister(I,{family:q,key:F})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(I,{family:L,key:O}={}){this._refs.register(I,L),this._ids.register(I,{key:O})}$_property(I){return this._definition.properties[I]}$_reach(I){return this._ids.reach(I)}$_rootReferences(){return this._refs.roots()}$_setFlag(I,L,O={}){if(c("_"===I[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),g(L,(this._definition.flags[I]||{}).default)&&(L=void 0),g(L,this._flags[I]))return this;const F=!1!==O.clone?this.clone():this;return void 0!==L?(F._flags[I]=L,F.$_mutateRegister(L)):delete F._flags[I],"_"!==I[0]&&(F.$_temp.ruleset=!1),F}$_parent(I,...L){return this[I][S.symbols.parent].call(this,...L)}$_validate(I,L,O){return T.validate(I,this,L,O)}_assign(I){I.type=this.type,I.$_root=this.$_root,I.$_temp=Object.assign({},this.$_temp),I.$_temp.whens={},I._ids=this._ids.clone(),I._preferences=this._preferences,I._valids=this._valids&&this._valids.clone(),I._invalids=this._invalids&&this._invalids.clone(),I._rules=this._rules.slice(),I._singleRules=l(this._singleRules,{shallow:!0}),I._refs=this._refs.clone(),I._flags=Object.assign({},this._flags),I._cache=null,I.$_terms={};for(const L in this.$_terms)I.$_terms[L]=this.$_terms[L]?this.$_terms[L].slice():null;I.$_super={};for(const L in this.$_super)I.$_super[L]=this._super[L].bind(I);return I}_bare(){const I=this.clone();I._reset();const L=I._definition.terms;for(const O in L)I.$_terms[O]=L[O].init;return I.$_mutateRebuild()}_default(I,L,O={}){return S.assertOptions(O,"literal"),c(void 0!==L,"Missing",I,"value"),c("function"==typeof L||!O.literal,"Only function value supports literal option"),"function"==typeof L&&O.literal&&(L={[S.symbols.literal]:!0,literal:L}),this.$_setFlag(I,L)}_generate(I,L,O){if(!this.$_terms.whens)return{schema:this};const z=[],F=[];for(let ce=0;ceH)break}const q=F.join(", ");if(L.mainstay.tracer.debug(L,"rule","when",q),!q)return{schema:this};if(!L.mainstay.tracer.active&&this.$_temp.whens[q])return{schema:this.$_temp.whens[q],id:q};let X=this;this._definition.generate&&(X=this._definition.generate(this,I,L,O));for(const ce of z)X=X.concat(ce);return this.$_root._tracer&&this.$_root._tracer._combine(X,[this,...z]),this.$_temp.whens[q]=X,{schema:X,id:q}}_inner(I,L,O={}){c(!this._inRuleset(),`Cannot set ${I} inside a ruleset`);const z=this.clone();return z.$_terms[I]&&!O.override||(z.$_terms[I]=[]),O.single?z.$_terms[I].push(L):z.$_terms[I].push(...L),z.$_temp.ruleset=!1,z}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(I,L={}){if(!this._singleRules.has(I))return this;const O=!1!==L.clone?this.clone():this;O._singleRules.delete(I);const z=[];for(let F=0;F{"use strict";const c=e(375),l=e(8571),g=e(8160),b={max:1e3,supported:new Set(["undefined","boolean","number","string"])};a.provider={provision:_=>new b.Cache(_)},b.Cache=class{constructor(_={}){g.assertOptions(_,["max"]),c(void 0===_.max||_.max&&_.max>0&&isFinite(_.max),"Invalid max cache size"),this._max=_.max||b.max,this._map=new Map,this._list=new b.List}get length(){return this._map.size}set(_,S){if(null!==_&&!b.supported.has(typeof _))return;let y=this._map.get(_);if(y)return y.value=S,void this._list.first(y);y=this._list.unshift({key:_,value:S}),this._map.set(_,y),this._compact()}get(_){const S=this._map.get(_);if(S)return this._list.first(S),l(S.value)}_compact(){if(this._map.size>this._max){const _=this._list.pop();this._map.delete(_.key)}}},b.List=class{constructor(){this.tail=null,this.head=null}unshift(_){return _.next=null,_.prev=this.head,this.head&&(this.head.next=_),this.head=_,this.tail||(this.tail=_),_}first(_){_!==this.head&&(this._remove(_),this.unshift(_))}pop(){return this._remove(this.tail)}_remove(_){const{next:S,prev:y}=_;return S.prev=y,y&&(y.next=S),_===this.tail&&(this.tail=S),_.prev=null,_.next=null,_}}},8160:(u,a,e)=>{"use strict";const c=e(375),l=e(7916),g=e(5934);let b,_;const S={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};a.version=g.version,a.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},a.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},a.assertOptions=function(y,m,h="Options"){c(y&&"object"==typeof y&&!Array.isArray(y),"Options must be of type object");const C=Object.keys(y).filter(v=>!m.includes(v));c(0===C.length,`${h} contain unknown keys: ${C}`)},a.checkPreferences=function(y){_=_||e(3378);const m=_.preferences.validate(y);if(m.error)throw new l([m.error.details[0].message])},a.compare=function(y,m,h){switch(h){case"=":return y===m;case">":return y>m;case"<":return y=":return y>=m;case"<=":return y<=m}},a.default=function(y,m){return void 0===y?m:y},a.isIsoDate=function(y){return S.isoDate.test(y)},a.isNumber=function(y){return"number"==typeof y&&!isNaN(y)},a.isResolvable=function(y){return!!y&&(y[a.symbols.ref]||y[a.symbols.template])},a.isSchema=function(y,m={}){const h=y&&y[a.symbols.any];return!!h&&(c(m.legacy||h.version===a.version,"Cannot mix different versions of joi schemas"),!0)},a.isValues=function(y){return y[a.symbols.values]},a.limit=function(y){return Number.isSafeInteger(y)&&y>=0},a.preferences=function(y,m){b=b||e(6914),y=y||{},m=m||{};const h=Object.assign({},y,m);return m.errors&&y.errors&&(h.errors=Object.assign({},y.errors,m.errors),h.errors.wrap=Object.assign({},y.errors.wrap,m.errors.wrap)),m.messages&&(h.messages=b.compile(m.messages,y.messages)),delete h[a.symbols.prefs],h},a.tryWithPath=function(y,m,h={}){try{return y()}catch(C){throw C.path=void 0!==C.path?m+"."+C.path:m,h.append&&(C.message=`${C.message} (${C.path})`),C}},a.validateArg=function(y,m,{assert:h,message:C}){if(a.isSchema(h)){const v=h.validate(y);return v.error?v.error.message:void 0}if(!h(y))return m?`${m} ${C}`:C},a.verifyFlat=function(y,m){for(const h of y)c(!Array.isArray(h),"Method no longer accepts array arguments:",m)}},3292:(u,a,e)=>{"use strict";const c=e(375),l=e(8160),g=e(6133),b={};a.schema=function(_,S,y={}){l.assertOptions(y,["appendPath","override"]);try{return b.schema(_,S,y)}catch(m){throw y.appendPath&&void 0!==m.path&&(m.message=`${m.message} (${m.path})`),m}},b.schema=function(_,S,y){c(void 0!==S,"Invalid undefined schema"),Array.isArray(S)&&(c(S.length,"Invalid empty array schema"),1===S.length&&(S=S[0]));const m=(h,...C)=>!1!==y.override?h.valid(_.override,...C):h.valid(...C);if(b.simple(S))return m(_,S);if("function"==typeof S)return _.custom(S);if(c("object"==typeof S,"Invalid schema content:",typeof S),l.isResolvable(S))return m(_,S);if(l.isSchema(S))return S;if(Array.isArray(S)){for(const h of S)if(!b.simple(h))return _.alternatives().try(...S);return m(_,...S)}return S instanceof RegExp?_.string().regex(S):S instanceof Date?m(_.date(),S):(c(Object.getPrototypeOf(S)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),_.object().keys(S))},a.ref=function(_,S){return g.isRef(_)?_:g.create(_,S)},a.compile=function(_,S,y={}){l.assertOptions(y,["legacy"]);const m=S&&S[l.symbols.any];if(m)return c(y.legacy||m.version===l.version,"Cannot mix different versions of joi schemas:",m.version,l.version),S;if("object"!=typeof S||!y.legacy)return a.schema(_,S,{appendPath:!0});const h=b.walk(S);return h?h.compile(h.root,S):a.schema(_,S,{appendPath:!0})},b.walk=function(_){if("object"!=typeof _)return null;if(Array.isArray(_)){for(const y of _){const m=b.walk(y);if(m)return m}return null}const S=_[l.symbols.any];if(S)return{root:_[S.root],compile:S.compile};c(Object.getPrototypeOf(_)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const y in _){const m=b.walk(_[y]);if(m)return m}return null},b.simple=function(_){return null===_||["boolean","string","number"].includes(typeof _)},a.when=function(_,S,y){if(void 0===y&&(c(S&&"object"==typeof S,"Missing options"),y=S,S=g.create(".")),Array.isArray(y)&&(y={switch:y}),l.assertOptions(y,["is","not","then","otherwise","switch","break"]),l.isSchema(S))return c(void 0===y.is,'"is" can not be used with a schema condition'),c(void 0===y.not,'"not" can not be used with a schema condition'),c(void 0===y.switch,'"switch" can not be used with a schema condition'),b.condition(_,{is:S,then:y.then,otherwise:y.otherwise,break:y.break});if(c(g.isRef(S)||"string"==typeof S,"Invalid condition:",S),c(void 0===y.not||void 0===y.is,'Cannot combine "is" with "not"'),void 0===y.switch){let h=y;void 0!==y.not&&(h={is:y.not,then:y.otherwise,otherwise:y.then,break:y.break});let C=void 0!==h.is?_.$_compile(h.is):_.$_root.invalid(null,!1,0,"").required();return c(void 0!==h.then||void 0!==h.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),c(void 0===h.break||void 0===h.then||void 0===h.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===y.is||g.isRef(y.is)||l.isSchema(y.is)||(C=C.required()),b.condition(_,{ref:a.ref(S),is:C,then:h.then,otherwise:h.otherwise,break:h.break})}c(Array.isArray(y.switch),'"switch" must be an array'),c(void 0===y.is,'Cannot combine "switch" with "is"'),c(void 0===y.not,'Cannot combine "switch" with "not"'),c(void 0===y.then,'Cannot combine "switch" with "then"');const m={ref:a.ref(S),switch:[],break:y.break};for(let h=0;h{"use strict";const c=e(5688),l=e(8160),g=e(3328);a.Report=class{constructor(b,_,S,y,m,h,C){if(this.code=b,this.flags=y,this.messages=m,this.path=h.path,this.prefs=C,this.state=h,this.value=_,this.message=null,this.template=null,this.local=S||{},this.local.label=a.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const v=this.path[this.path.length-1];"object"!=typeof v&&(this.local.key=v)}}_setTemplate(b){if(this.template=b,!this.flags.label&&0===this.path.length){const _=this._template(this.template,"root");_&&(this.local.label=_)}}toString(){if(this.message)return this.message;const b=this.code;if(!this.prefs.errors.render)return this.code;const _=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===_?`Error code "${b}" is not defined, your custom type is missing the correct messages definition`:(this.message=_.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(b,_){return a.template(this.value,b,_||this.code,this.state,this.prefs)}},a.path=function(b){let _="";for(const S of b)"object"!=typeof S&&("string"==typeof S?(_&&(_+="."),_+=S):_+=`[${S}]`);return _},a.template=function(b,_,S,y,m){if(!_)return;if(g.isTemplate(_))return"root"!==S?_:null;let h=m.errors.language;if(l.isResolvable(h)&&(h=h.resolve(b,y,m)),h&&_[h]){if(void 0!==_[h][S])return _[h][S];if(void 0!==_[h]["*"])return _[h]["*"]}return _[S]?_[S]:_["*"]},a.label=function(b,_,S,y){if(b.label)return b.label;if(!S.errors.label)return"";let m=_.path;return"key"===S.errors.label&&_.path.length>1&&(m=_.path.slice(-1)),a.path(m)||a.template(null,S.messages,"root",_,S)||y&&a.template(null,y,"root",_,S)||"value"},a.process=function(b,_,S){if(!b)return null;const{override:y,message:m,details:h}=a.details(b);if(y)return y;if(S.errors.stack)return new a.ValidationError(m,h,_);const C=Error.stackTraceLimit;Error.stackTraceLimit=0;const v=new a.ValidationError(m,h,_);return Error.stackTraceLimit=C,v},a.details=function(b,_={}){let S=[];const y=[];for(const m of b){if(m instanceof Error){if(!1!==_.override)return{override:m};const C=m.toString();S.push(C),y.push({message:C,type:"override",context:{error:m}});continue}const h=m.toString();S.push(h),y.push({message:h,path:m.path.filter(C=>"object"!=typeof C),type:m.code,context:m.local})}return S.length>1&&(S=[...new Set(S)]),{message:S.join(". "),details:y}},a.ValidationError=class extends Error{constructor(b,_,S){super(b),this._original=S,this.details=_}static isError(b){return b instanceof a.ValidationError}},a.ValidationError.prototype.isJoi=!0,a.ValidationError.prototype.name="ValidationError",a.ValidationError.prototype.annotate=c.error},8901:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(8160),b=e(6914),_={};a.type=function(S,y){const m=Object.getPrototypeOf(S),h=l(m),C=S._assign(Object.create(h)),v=Object.assign({},y);delete v.base,h._definition=v;const M=m._definition||{};v.messages=b.merge(M.messages,v.messages),v.properties=Object.assign({},M.properties,v.properties),C.type=v.type,v.flags=Object.assign({},M.flags,v.flags);const E=Object.assign({},M.terms);if(v.terms)for(const N in v.terms){const I=v.terms[N];c(void 0===C.$_terms[N],"Invalid term override for",v.type,N),C.$_terms[N]=I.init,E[N]=I}v.terms=E,v.args||(v.args=M.args),v.prepare=_.prepare(v.prepare,M.prepare),v.coerce&&("function"==typeof v.coerce&&(v.coerce={method:v.coerce}),v.coerce.from&&!Array.isArray(v.coerce.from)&&(v.coerce={method:v.coerce.method,from:[].concat(v.coerce.from)})),v.coerce=_.coerce(v.coerce,M.coerce),v.validate=_.validate(v.validate,M.validate);const A=Object.assign({},M.rules);if(v.rules)for(const N in v.rules){const I=v.rules[N];c("object"==typeof I,"Invalid rule definition for",v.type,N);let L=I.method;if(void 0===L&&(L=function(){return this.$_addRule(N)}),L&&(c(!h[N],"Rule conflict in",v.type,N),h[N]=L),c(!A[N],"Rule conflict in",v.type,N),A[N]=I,I.alias){const O=[].concat(I.alias);for(const z of O)h[z]=I.method}I.args&&(I.argsByName=new Map,I.args=I.args.map(O=>("string"==typeof O&&(O={name:O}),c(!I.argsByName.has(O.name),"Duplicated argument name",O.name),g.isSchema(O.assert)&&(O.assert=O.assert.strict().label(O.name)),I.argsByName.set(O.name,O),O)))}v.rules=A;const T=Object.assign({},M.modifiers);if(v.modifiers)for(const N in v.modifiers){c(!h[N],"Rule conflict in",v.type,N);const I=v.modifiers[N];c("function"==typeof I,"Invalid modifier definition for",v.type,N),h[N]=function(O){return this.rule({[N]:O})},T[N]=I}if(v.modifiers=T,v.overrides){h._super=m,C.$_super={};for(const N in v.overrides)c(m[N],"Cannot override missing",N),v.overrides[N][g.symbols.parent]=m[N],C.$_super[N]=m[N].bind(C);Object.assign(h,v.overrides)}v.cast=Object.assign({},M.cast,v.cast);const R=Object.assign({},M.manifest,v.manifest);return R.build=_.build(v.manifest&&v.manifest.build,M.manifest&&M.manifest.build),v.manifest=R,v.rebuild=_.rebuild(v.rebuild,M.rebuild),C},_.build=function(S,y){return S&&y?function(m,h){return y(S(m,h),h)}:S||y},_.coerce=function(S,y){return S&&y?{from:S.from&&y.from?[...new Set([...S.from,...y.from])]:null,method(m,h){let C;if((!y.from||y.from.includes(typeof m))&&(C=y.method(m,h),C)){if(C.errors||void 0===C.value)return C;m=C.value}if(!S.from||S.from.includes(typeof m)){const v=S.method(m,h);if(v)return v}return C}}:S||y},_.prepare=function(S,y){return S&&y?function(m,h){const C=S(m,h);if(C){if(C.errors||void 0===C.value)return C;m=C.value}return y(m,h)||C}:S||y},_.rebuild=function(S,y){return S&&y?function(m){y(m),S(m)}:S||y},_.validate=function(S,y){return S&&y?function(m,h){const C=y(m,h);if(C){if(C.errors&&(!Array.isArray(C.errors)||C.errors.length))return C;m=C.value}return S(m,h)||C}:S||y}},5107:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(8652),b=e(8160),_=e(3292),S=e(6354),y=e(8901),m=e(9708),h=e(6133),C=e(3328),v=e(1152);let M;const E={types:{alternatives:e(4946),any:e(8068),array:e(546),boolean:e(4937),date:e(7500),function:e(390),link:e(8785),number:e(3832),object:e(8966),string:e(7417),symbol:e(8826)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const A={_types:new Set(Object.keys(E.types))};for(const T of A._types)A[T]=function(...R){return c(!R.length||["alternatives","link","object"].includes(T),"The",T,"type does not allow arguments"),E.generate(this,E.types[T],R)};for(const T of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])A[T]=function(...R){return this.any()[T](...R)};Object.assign(A,E.methods);for(const T in E.aliases)A[T]=A[E.aliases[T]];return A.x=A.expression,v.setup&&v.setup(A),A}};E.methods={ValidationError:S.ValidationError,version:b.version,cache:g.provider,assert(A,T,...R){E.assert(A,T,!0,R)},attempt:(A,T,...R)=>E.assert(A,T,!1,R),build(A){return c("function"==typeof m.build,"Manifest functionality disabled"),m.build(this,A)},checkPreferences(A){b.checkPreferences(A)},compile(A,T){return _.compile(this,A,T)},defaults(A){c("function"==typeof A,"modifier must be a function");const T=Object.assign({},this);for(const R of T._types){const N=A(T[R]());c(b.isSchema(N),"modifier must return a valid schema object"),T[R]=function(...I){return E.generate(this,N,I)}}return T},expression:(...A)=>new C(...A),extend(...A){b.verifyFlat(A,"extend"),M=M||e(3378),c(A.length,"You need to provide at least one extension"),this.assert(A,M.extensions);const T=Object.assign({},this);T._types=new Set(T._types);for(let R of A){"function"==typeof R&&(R=R(T)),this.assert(R,M.extension);const N=E.expandExtension(R,T);for(const I of N){c(void 0===T[I.type]||T._types.has(I.type),"Cannot override name",I.type);const L=I.base||this.any(),O=y.type(L,I);T._types.add(I.type),T[I.type]=function(...z){return E.generate(this,O,z)}}}return T},isError:S.ValidationError.isError,isExpression:C.isTemplate,isRef:h.isRef,isSchema:b.isSchema,in:(...A)=>h.in(...A),override:b.symbols.override,ref:(...A)=>h.create(...A),types(){const A={};for(const T of this._types)A[T]=this[T]();for(const T in E.aliases)A[T]=this[T]();return A}},E.assert=function(A,T,R,N){const I=N[0]instanceof Error||"string"==typeof N[0]?N[0]:null,O=T.validate(A,b.preferences({errors:{stack:!0}},(null!==I?N[1]:N[0])||{}));let z=O.error;if(!z)return O.value;if(I instanceof Error)throw I;const F=R&&"function"==typeof z.annotate?z.annotate():z.message;throw z instanceof S.ValidationError==0&&(z=l(z)),z.message=I?`${I} ${F}`:F,z},E.generate=function(A,T,R){return c(A,"Must be invoked on a Joi instance."),T.$_root=A,T._definition.args&&R.length?T._definition.args(T,...R):T},E.expandExtension=function(A,T){if("string"==typeof A.type)return[A];const R=[];for(const N of T._types)if(A.type.test(N)){const I=Object.assign({},A);I.type=N,I.base=T[N](),R.push(I)}return R},u.exports=E.root()},6914:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(3328);a.compile=function(b,_){if("string"==typeof b)return c(!_,"Cannot set single message string"),new g(b);if(g.isTemplate(b))return c(!_,"Cannot set single message template"),b;c("object"==typeof b&&!Array.isArray(b),"Invalid message options"),_=_?l(_):{};for(let S in b){const y=b[S];if("root"===S||g.isTemplate(y)){_[S]=y;continue}if("string"==typeof y){_[S]=new g(y);continue}c("object"==typeof y&&!Array.isArray(y),"Invalid message for",S);const m=S;for(S in _[m]=_[m]||{},y){const h=y[S];"root"===S||g.isTemplate(h)?_[m][S]=h:(c("string"==typeof h,"Invalid message for",S,"in",m),_[m][S]=new g(h))}}return _},a.decompile=function(b){const _={};for(let S in b){const y=b[S];if("root"===S){_.root=y;continue}if(g.isTemplate(y)){_[S]=y.describe({compact:!0});continue}const m=S;for(S in _[m]={},y){const h=y[S];"root"!==S?_[m][S]=h.describe({compact:!0}):_[m].root=h}}return _},a.merge=function(b,_){if(!b)return a.compile(_);if(!_)return b;if("string"==typeof _)return new g(_);if(g.isTemplate(_))return _;const S=l(b);for(let y in _){const m=_[y];if("root"===y||g.isTemplate(m)){S[y]=m;continue}if("string"==typeof m){S[y]=new g(m);continue}c("object"==typeof m&&!Array.isArray(m),"Invalid message for",y);const h=y;for(y in S[h]=S[h]||{},m){const C=m[y];"root"===y||g.isTemplate(C)?S[h][y]=C:(c("string"==typeof C,"Invalid message for",y,"in",h),S[h][y]=new g(C))}}return S}},2294:(u,a,e)=>{"use strict";const c=e(375),l=e(8160),g=e(6133),b={};a.Ids=b.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const _=new b.Ids;return _._byId=new Map(this._byId),_._byKey=new Map(this._byKey),_._schemaChain=this._schemaChain,_}concat(_){_._schemaChain&&(this._schemaChain=!0);for(const[S,y]of _._byId.entries())c(!this._byKey.has(S),"Schema id conflicts with existing key:",S),this._byId.set(S,y);for(const[S,y]of _._byKey.entries())c(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,y)}fork(_,S,y){const m=this._collect(_);m.push({schema:y});const h=m.shift();let C={id:h.id,schema:S(h.schema)};c(l.isSchema(C.schema),"adjuster function failed to return a joi schema type");for(const v of m)C={id:v.id,schema:b.fork(v.schema,C.id,C.schema)};return C.schema}labels(_,S=[]){const y=_[0],m=this._get(y);if(!m)return[...S,..._].join(".");const h=_.slice(1);return S=[...S,m.schema._flags.label||y],h.length?m.schema._ids.labels(h,S):S.join(".")}reach(_,S=[]){const y=_[0],m=this._get(y);c(m,"Schema does not contain path",[...S,..._].join("."));const h=_.slice(1);return h.length?m.schema._ids.reach(h,[...S,y]):m.schema}register(_,{key:S}={}){if(!_||!l.isSchema(_))return;(_.$_property("schemaChain")||_._ids._schemaChain)&&(this._schemaChain=!0);const y=_._flags.id;if(y){const m=this._byId.get(y);c(!m||m.schema===_,"Cannot add different schemas with the same id:",y),c(!this._byKey.has(y),"Schema id conflicts with existing key:",y),this._byId.set(y,{schema:_,id:y})}S&&(c(!this._byKey.has(S),"Schema already contains key:",S),c(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,{schema:_,id:S}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(_,S=[],y=[]){const m=_[0],h=this._get(m);c(h,"Schema does not contain path",[...S,..._].join(".")),y=[h,...y];const C=_.slice(1);return C.length?h.schema._ids._collect(C,[...S,m],y):y}_get(_){return this._byId.get(_)||this._byKey.get(_)}},b.fork=function(_,S,y){const m=a.schema(_,{each:(h,{key:C})=>{if(S===(h._flags.id||C))return y},ref:!1});return m?m.$_mutateRebuild():_},a.schema=function(_,S){let y;for(const m in _._flags){if("_"===m[0])continue;const h=b.scan(_._flags[m],{source:"flags",name:m},S);void 0!==h&&(y=y||_.clone(),y._flags[m]=h)}for(let m=0;m<_._rules.length;++m){const h=_._rules[m],C=b.scan(h.args,{source:"rules",name:h.name},S);if(void 0!==C){y=y||_.clone();const v=Object.assign({},h);v.args=C,y._rules[m]=v,y._singleRules.get(h.name)===h&&y._singleRules.set(h.name,v)}}for(const m in _.$_terms){if("_"===m[0])continue;const h=b.scan(_.$_terms[m],{source:"terms",name:m},S);void 0!==h&&(y=y||_.clone(),y.$_terms[m]=h)}return y},b.scan=function(_,S,y,m,h){const C=m||[];if(null===_||"object"!=typeof _)return;let v;if(Array.isArray(_)){for(let M=0;M<_.length;++M){const E="terms"===S.source&&"keys"===S.name&&_[M].key,A=b.scan(_[M],S,y,[M,...C],E);void 0!==A&&(v=v||_.slice(),v[M]=A)}return v}if(!1!==y.schema&&l.isSchema(_)||!1!==y.ref&&g.isRef(_)){const M=y.each(_,{...S,path:C,key:h});return M===_?void 0:M}for(const M in _){if("_"===M[0])continue;const E=b.scan(_[M],S,y,[M,...C],h);void 0!==E&&(v=v||Object.assign({},_),v[M]=E)}return v}},6133:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(9621),b=e(8160);let _;const S={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};a.create=function(y,m={}){c("string"==typeof y,"Invalid reference key:",y),b.assertOptions(m,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),c(!m.prefix||"object"==typeof m.prefix,"options.prefix must be of type object");const h=Object.assign({},S.defaults,m);delete h.prefix;const C=h.separator,v=S.context(y,C,m.prefix);if(h.type=v.type,y=v.key,"value"===h.type)if(v.root&&(c(!C||y[0]!==C,"Cannot specify relative path with root prefix"),h.ancestor="root",y||(y=null)),C&&C===y)y=null,h.ancestor=0;else if(void 0!==h.ancestor)c(!C||!y||y[0]!==C,"Cannot combine prefix with ancestor option");else{const[M,E]=S.ancestor(y,C);E&&""===(y=y.slice(E))&&(y=null),h.ancestor=M}return h.path=C?null===y?[]:y.split(C):[y],new S.Ref(h)},a.in=function(y,m={}){return a.create(y,{...m,in:!0})},a.isRef=function(y){return!!y&&!!y[b.symbols.ref]},S.Ref=class{constructor(y){c("object"==typeof y,"Invalid reference construction"),b.assertOptions(y,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),c([!1,void 0].includes(y.separator)||"string"==typeof y.separator&&1===y.separator.length,"Invalid separator"),c(!y.adjust||"function"==typeof y.adjust,"options.adjust must be a function"),c(!y.map||Array.isArray(y.map),"options.map must be an array"),c(!y.map||!y.adjust,"Cannot set both map and adjust options"),Object.assign(this,S.defaults,y),c("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(y,m,h,C,v={}){return c(!this.in||v.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(h.context,m,v):"local"===this.type?this._resolve(C,m,v):this.ancestor?"root"===this.ancestor?this._resolve(m.ancestors[m.ancestors.length-1],m,v):(c(this.ancestor<=m.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(m.ancestors[this.ancestor-1],m,v)):this._resolve(y,m,v)}_resolve(y,m,h){let C;if("value"===this.type&&m.mainstay.shadow&&!1!==h.shadow&&(C=m.mainstay.shadow.get(this.absolute(m))),void 0===C&&(C=g(y,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(C=this.adjust(C)),this.map){const v=this.map.get(C);void 0!==v&&(C=v)}return m.mainstay&&m.mainstay.tracer.resolve(m,this,C),C}toString(){return this.display}absolute(y){return[...y.path.slice(0,-this.ancestor),...this.path]}clone(){return new S.Ref(this)}describe(){const y={path:this.path};"value"!==this.type&&(y.type=this.type),"."!==this.separator&&(y.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(y.ancestor=this.ancestor),this.map&&(y.map=[...this.map]);for(const m of["adjust","iterables","render"])null!=this[m]&&(y[m]=this[m]);return!1!==this.in&&(y.in=!0),{ref:y}}updateDisplay(){const y=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${y}`);if(!this.separator)return void(this.display=`ref:${y}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${y}`);if("root"===this.ancestor)return void(this.display=`ref:root:${y}`);if(1===this.ancestor)return void(this.display=`ref:${y||".."}`);const m=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${m}${y||""}`}},S.Ref.prototype[b.symbols.ref]=!0,a.build=function(y){return"value"===(y=Object.assign({},S.defaults,y)).type&&void 0===y.ancestor&&(y.ancestor=1),new S.Ref(y)},S.context=function(y,m,h={}){if(y=y.trim(),h){const C=void 0===h.global?"$":h.global;if(C!==m&&y.startsWith(C))return{key:y.slice(C.length),type:"global"};const v=void 0===h.local?"#":h.local;if(v!==m&&y.startsWith(v))return{key:y.slice(v.length),type:"local"};const M=void 0===h.root?"/":h.root;if(M!==m&&y.startsWith(M))return{key:y.slice(M.length),type:"value",root:!0}}return{key:y,type:"value"}},S.ancestor=function(y,m){if(!m)return[1,0];if(y[0]!==m)return[1,0];if(y[1]!==m)return[0,1];let h=2;for(;y[h]===m;)++h;return[h-1,h]},a.toSibling=0,a.toParent=1,a.Manager=class{constructor(){this.refs=[]}register(y,m){if(y)if(m=void 0===m?a.toParent:m,Array.isArray(y))for(const h of y)this.register(h,m);else if(b.isSchema(y))for(const h of y._refs.refs)h.ancestor-m>=0&&this.refs.push({ancestor:h.ancestor-m,root:h.root});else a.isRef(y)&&"value"===y.type&&y.ancestor-m>=0&&this.refs.push({ancestor:y.ancestor-m,root:y.root}),_=_||e(3328),_.isTemplate(y)&&this.register(y.refs(),m)}get length(){return this.refs.length}clone(){const y=new a.Manager;return y.refs=l(this.refs),y}reset(){this.refs=[]}roots(){return this.refs.filter(y=>!y.ancestor).map(y=>y.root)}}},3378:(u,a,e)=>{"use strict";const c=e(5107),l={};l.wrap=c.string().min(1).max(2).allow(!1),a.preferences=c.object({allowUnknown:c.boolean(),abortEarly:c.boolean(),artifacts:c.boolean(),cache:c.boolean(),context:c.object(),convert:c.boolean(),dateFormat:c.valid("date","iso","string","time","utc"),debug:c.boolean(),errors:{escapeHtml:c.boolean(),label:c.valid("path","key",!1),language:[c.string(),c.object().ref()],render:c.boolean(),stack:c.boolean(),wrap:{label:l.wrap,array:l.wrap,string:l.wrap}},externals:c.boolean(),messages:c.object(),noDefaults:c.boolean(),nonEnumerables:c.boolean(),presence:c.valid("required","optional","forbidden"),skipFunctions:c.boolean(),stripUnknown:c.object({arrays:c.boolean(),objects:c.boolean()}).or("arrays","objects").allow(!0,!1),warnings:c.boolean()}).strict(),l.nameRx=/^[a-zA-Z0-9]\w*$/,l.rule=c.object({alias:c.array().items(c.string().pattern(l.nameRx)).single(),args:c.array().items(c.string(),c.object({name:c.string().pattern(l.nameRx).required(),ref:c.boolean(),assert:c.alternatives([c.function(),c.object().schema()]).conditional("ref",{is:!0,then:c.required()}),normalize:c.function(),message:c.string().when("assert",{is:c.function(),then:c.required()})})),convert:c.boolean(),manifest:c.boolean(),method:c.function().allow(!1),multi:c.boolean(),validate:c.function()}),a.extension=c.object({type:c.alternatives([c.string(),c.object().regex()]).required(),args:c.function(),cast:c.object().pattern(l.nameRx,c.object({from:c.function().maxArity(1).required(),to:c.function().minArity(1).maxArity(2).required()})),base:c.object().schema().when("type",{is:c.object().regex(),then:c.forbidden()}),coerce:[c.function().maxArity(3),c.object({method:c.function().maxArity(3).required(),from:c.array().items(c.string()).single()})],flags:c.object().pattern(l.nameRx,c.object({setter:c.string(),default:c.any()})),manifest:{build:c.function().arity(2)},messages:[c.object(),c.string()],modifiers:c.object().pattern(l.nameRx,c.function().minArity(1).maxArity(2)),overrides:c.object().pattern(l.nameRx,c.function()),prepare:c.function().maxArity(3),rebuild:c.function().arity(1),rules:c.object().pattern(l.nameRx,l.rule),terms:c.object().pattern(l.nameRx,c.object({init:c.array().allow(null).required(),manifest:c.object().pattern(/.+/,[c.valid("schema","single"),c.object({mapped:c.object({from:c.string().required(),to:c.string().required()}).required()})])})),validate:c.function().maxArity(3)}).strict(),a.extensions=c.array().items(c.object(),c.function().arity(1)).strict(),l.desc={buffer:c.object({buffer:c.string()}),func:c.object({function:c.function().required(),options:{literal:!0}}),override:c.object({override:!0}),ref:c.object({ref:c.object({type:c.valid("value","global","local"),path:c.array().required(),separator:c.string().length(1).allow(!1),ancestor:c.number().min(0).integer().allow("root"),map:c.array().items(c.array().length(2)).min(1),adjust:c.function(),iterables:c.boolean(),in:c.boolean(),render:c.boolean()}).required()}),regex:c.object({regex:c.string().min(3)}),special:c.object({special:c.valid("deep").required()}),template:c.object({template:c.string().required(),options:c.object()}),value:c.object({value:c.alternatives([c.object(),c.array()]).required()})},l.desc.entity=c.alternatives([c.array().items(c.link("...")),c.boolean(),c.function(),c.number(),c.string(),l.desc.buffer,l.desc.func,l.desc.ref,l.desc.regex,l.desc.special,l.desc.template,l.desc.value,c.link("/")]),l.desc.values=c.array().items(null,c.boolean(),c.function(),c.number().allow(1/0,-1/0),c.string().allow(""),c.symbol(),l.desc.buffer,l.desc.func,l.desc.override,l.desc.ref,l.desc.regex,l.desc.template,l.desc.value),l.desc.messages=c.object().pattern(/.+/,[c.string(),l.desc.template,c.object().pattern(/.+/,[c.string(),l.desc.template])]),a.description=c.object({type:c.string().required(),flags:c.object({cast:c.string(),default:c.any(),description:c.string(),empty:c.link("/"),failover:l.desc.entity,id:c.string(),label:c.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:c.boolean(),unit:c.string()}).unknown(),preferences:{allowUnknown:c.boolean(),abortEarly:c.boolean(),artifacts:c.boolean(),cache:c.boolean(),convert:c.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:c.boolean(),label:["path","key"],language:[c.string(),l.desc.ref],wrap:{label:l.wrap,array:l.wrap}},externals:c.boolean(),messages:l.desc.messages,noDefaults:c.boolean(),nonEnumerables:c.boolean(),presence:["required","optional","forbidden"],skipFunctions:c.boolean(),stripUnknown:c.object({arrays:c.boolean(),objects:c.boolean()}).or("arrays","objects").allow(!0,!1),warnings:c.boolean()},allow:l.desc.values,invalid:l.desc.values,rules:c.array().min(1).items({name:c.string().required(),args:c.object().min(1),keep:c.boolean(),message:[c.string(),l.desc.messages],warn:c.boolean()}),keys:c.object().pattern(/.*/,c.link("/")),link:l.desc.ref}).pattern(/^[a-z]\w*$/,c.any())},493:(u,a,e)=>{"use strict";const c=e(8571),l=e(9621),g=e(8160),b={value:Symbol("value")};u.exports=b.State=class{constructor(_,S,y){this.path=_,this.ancestors=S,this.mainstay=y.mainstay,this.schemas=y.schemas,this.debug=null}localize(_,S=null,y=null){const m=new b.State(_,S,this);return y&&m.schemas&&(m.schemas=[b.schemas(y),...m.schemas]),m}nest(_,S){const y=new b.State(this.path,this.ancestors,this);return y.schemas=y.schemas&&[b.schemas(_),...y.schemas],y.debug=S,y}shadow(_,S){this.mainstay.shadow=this.mainstay.shadow||new b.Shadow,this.mainstay.shadow.set(this.path,_,S)}snapshot(){this.mainstay.shadow&&(this._snapshot=c(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},b.schemas=function(_){return g.isSchema(_)?{schema:_}:_},b.Shadow=class{constructor(){this._values=null}set(_,S,y){if(!_.length||"strip"===y&&"number"==typeof _[_.length-1])return;this._values=this._values||new Map;let m=this._values;for(let h=0;h<_.length;++h){const C=_[h];let v=m.get(C);v||(v=new Map,m.set(C,v)),m=v}m[b.value]=S}get(_){const S=this.node(_);if(S)return S[b.value]}node(_){if(this._values)return l(this._values,_,{iterables:!0})}override(_,S){if(!this._values)return;const y=_.slice(0,-1),m=_[_.length-1],h=l(this._values,y,{iterables:!0});S?h.set(m,S):h&&h.delete(m)}}},3328:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(5277),b=e(1447),_=e(8160),S=e(6354),y=e(6133),m={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};u.exports=m.Template=class{constructor(h,C){if(c("string"==typeof h,"Template source must be a string"),c(!h.includes("\0")&&!h.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=h,this.rendered=h,this._template=null,C){const{functions:v,...M}=C;this._settings=Object.keys(M).length?l(M):void 0,this._functions=v,this._functions&&(c(Object.keys(this._functions).every(E=>"string"==typeof E),"Functions keys must be strings"),c(Object.values(this._functions).every(E=>"function"==typeof E),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const h=m.encode(this.source),C=m.split(h);let v=!1;const M=[],E=C.shift();E&&M.push(E);for(const A of C){const T="{"!==A[0],R=T?"}":"}}",N=A.indexOf(R);if(-1===N||"{"===A[1]){M.push(`{${m.decode(A)}`);continue}let I=A.slice(T?0:1,N);const L=":"===I[0];L&&(I=I.slice(1));const O=this._ref(m.decode(I),{raw:T,wrapped:L});M.push(O),"string"!=typeof O&&(v=!0);const z=A.slice(N+R.length);z&&M.push(m.decode(z))}v?this._template=M:this.rendered=M.join("")}static date(h,C){return m.dateFormat[C.dateFormat].call(h)}describe(h={}){if(!this._settings&&h.compact)return this.source;const C={template:this.source};return this._settings&&(C.options=this._settings),this._functions&&(C.functions=this._functions),C}static build(h){return new m.Template(h.template,h.options||h.functions?{...h.options,functions:h.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(h){return!!h&&!!h[_.symbols.template]}refs(){if(!this._template)return;const h=[];for(const C of this._template)"string"!=typeof C&&h.push(...C.refs);return h}resolve(h,C,v,M){return this._template&&1===this._template.length?this._part(this._template[0],h,C,v,M,{}):this.render(h,C,v,M)}_part(h,...C){return h.ref?h.ref.resolve(...C):h.formula.evaluate(C)}render(h,C,v,M,E={}){if(!this.isDynamic())return this.rendered;const A=[];for(const T of this._template)if("string"==typeof T)A.push(T);else{const R=this._part(T,h,C,v,M,E),N=m.stringify(R,h,C,v,M,E);if(void 0!==N){const I=T.raw||!1===(E.errors&&E.errors.escapeHtml)?N:g(N);A.push(m.wrap(I,T.wrapped&&v.errors.wrap.label))}}return A.join("")}_ref(h,{raw:C,wrapped:v}){const M=[],E=T=>{const R=y.create(T,this._settings);return M.push(R),N=>{const I=R.resolve(...N);return void 0!==I?I:null}};try{const T=this._functions?{...m.functions,...this._functions}:m.functions;var A=new b.Parser(h,{reference:E,functions:T,constants:m.constants})}catch(T){throw T.message=`Invalid template variable "${h}" fails due to: ${T.message}`,T}if(A.single){if("reference"===A.single.type){const T=M[0];return{ref:T,raw:C,refs:M,wrapped:v||"local"===T.type&&"label"===T.key}}return m.stringify(A.single.value)}return{formula:A,raw:C,refs:M}}toString(){return this.source}},m.Template.prototype[_.symbols.template]=!0,m.Template.prototype.isImmutable=!0,m.encode=function(h){return h.replace(/\\(\{+)/g,(C,v)=>m.opens.slice(0,v.length)).replace(/\\(\}+)/g,(C,v)=>m.closes.slice(0,v.length))},m.decode=function(h){return h.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},m.split=function(h){const C=[];let v="";for(let M=0;M ${z.toString()}`);h=L}if(!Array.isArray(h))return h.toString();const I=[];for(const L of h)I.push(m.stringify(L,C,v,M,E,{arrayItems:!0,...A}));return m.wrap(I.join(", "),!N&&R.array)},m.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},m.functions={if:(h,C,v)=>h?C:v,length:h=>"string"==typeof h?h.length:h&&"object"==typeof h?Array.isArray(h)?h.length:Object.keys(h).length:null,msg(h){const[C,v,M,E,A]=this,T=A.messages;if(!T)return"";const R=S.template(C,T[0],h,v,M)||S.template(C,T[1],h,v,M);return R?R.render(C,v,M,E,A):""},number:h=>"number"==typeof h?h:"string"==typeof h?parseFloat(h):"boolean"==typeof h?h?1:0:h instanceof Date?h.getTime():null}},4946:(u,a,e)=>{"use strict";const c=e(375),l=e(1687),g=e(8068),b=e(8160),_=e(3292),S=e(6354),y=e(6133),m={};u.exports=g.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:y.toSibling}},args:(h,...C)=>1===C.length&&Array.isArray(C[0])?h.try(...C[0]):h.try(...C),validate(h,C){const{schema:v,error:M,state:E,prefs:A}=C;if(v._flags.match){const R=[],N=[];for(let L=0;LS.details(L,{override:!1}))})};if("one"===v._flags.match)return 1===R.length?{value:R[0]}:{errors:M("alternatives.one")};if(R.length!==v.$_terms.matches.length)return{errors:M("alternatives.all",{details:N.map(L=>S.details(L,{override:!1}))})};const I=L=>L.$_terms.matches.some(O=>"object"===O.schema.type||"alternatives"===O.schema.type&&I(O.schema));return I(v)?{value:R.reduce((L,O)=>l(L,O,{mergeArrays:!1}))}:{value:R[R.length-1]}}const T=[];for(let R=0;R"is"!==v.path[0]&&"string"!=typeof C._flags.label?C.label(h):void 0,ref:!1})}},rebuild(h){h.$_modify({each:C=>{b.isSchema(C)&&"array"===C.type&&h.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(h,C){if(C.matches)for(const v of C.matches){const{schema:M,ref:E,is:A,not:T,then:R,otherwise:N}=v;h=M?h.try(M):E?h.conditional(E,{is:A,then:R,not:T,otherwise:N,switch:v.switch}):h.conditional(A,{then:R,otherwise:N})}return h}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),m.errors=function(h,{error:C,state:v}){if(!h.length)return{errors:C("alternatives.any")};if(1===h.length)return{errors:h[0].reports};const M=new Set,E=[];for(const{reports:A,schema:T}of h){if(A.length>1)return m.unmatched(h,C);const R=A[0];if(R instanceof S.Report==0)return m.unmatched(h,C);if(R.state.path.length!==v.path.length){E.push({type:T.type,report:R});continue}if("any.only"===R.code){for(const L of R.local.valids)M.add(L);continue}const[N,I]=R.code.split(".");"base"===I?M.add(N):E.push({type:T.type,report:R})}return E.length?1===E.length?{errors:E[0].report}:m.unmatched(h,C):{errors:C("alternatives.types",{types:[...M]})}},m.unmatched=function(h,C){const v=[];for(const M of h)v.push(...M.reports);return{errors:C("alternatives.match",S.details(v,{override:!1}))}}},8068:(u,a,e)=>{"use strict";const c=e(375),l=e(7629),g=e(8160),b=e(6914);u.exports=l.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(_,S){return c("function"==typeof _,"Method must be a function"),c(void 0===S||S&&"string"==typeof S,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:_,description:S}})},validate(_,S,{method:y}){try{return y(_,S)}catch(m){return S.error("any.custom",{error:m})}},args:["method","description"],multi:!0},messages:{method(_){return this.prefs({messages:_})}},shared:{method(_){c(g.isSchema(_)&&_._flags.id,"Schema must be a schema with an id");const S=this.clone();return S.$_terms.shared=S.$_terms.shared||[],S.$_terms.shared.push(_),S.$_mutateRegister(_),S}},warning:{method(_,S){return c(_&&"string"==typeof _,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:_,local:S},warn:!0})},validate:(_,S,{code:y,local:m})=>S.error(y,m),args:["code","local"],multi:!0}},modifiers:{keep(_,S=!0){_.keep=S},message(_,S){_.message=b.compile(S)},warn(_,S=!0){_.warn=S}},manifest:{build(_,S){for(const y in S){const m=S[y];if(["examples","externals","metas","notes","tags"].includes(y))for(const h of m)_=_[y.slice(0,-1)](h);else if("alterations"!==y)if("whens"!==y){if("shared"===y)for(const h of m)_=_.shared(h)}else for(const h of m){const{ref:C,is:v,not:M,then:E,otherwise:A,concat:T}=h;_=T?_.concat(T):C?_.when(C,{is:v,not:M,then:E,otherwise:A,switch:h.switch,break:h.break}):_.when(v,{then:E,otherwise:A,break:h.break})}else{const h={};for(const{target:C,adjuster:v}of m)h[C]=v;_=_.alter(h)}}return _}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},546:(u,a,e)=>{"use strict";const c=e(375),l=e(9474),g=e(9621),b=e(8068),_=e(8160),S=e(3292),y={};u.exports=b.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(m,{schema:h,state:C,prefs:v}){if(!Array.isArray(m))return;const M=h.$_getRule("sort");return M?y.sort(h,m,M.args.options,C,v):void 0}},validate(m,{schema:h,error:C}){if(!Array.isArray(m)){if(h._flags.single){const v=[m];return v[_.symbols.arraySingle]=!0,{value:v}}return{errors:C("array.base")}}if(h.$_getRule("items")||h.$_terms.externals)return{value:m.slice()}},rules:{has:{method(m){m=this.$_compile(m,{appendPath:!0});const h=this.$_addRule({name:"has",args:{schema:m}});return h.$_mutateRegister(m),h},validate(m,{state:h,prefs:C,error:v},{schema:M}){const E=[m,...h.ancestors];for(let T=0;Tthis.$_compile(m[C]),C,{append:!0});h.$_terms.items.push(v)}return h.$_mutateRebuild()},validate(m,{schema:h,error:C,state:v,prefs:M,errorsArray:E}){const A=h.$_terms._requireds.slice(),T=h.$_terms.ordered.slice(),R=[...h.$_terms._inclusions,...A],N=!m[_.symbols.arraySingle];delete m[_.symbols.arraySingle];const I=E();let L=m.length;for(let O=0;O="})}},ordered:{method(...m){_.verifyFlat(m,"ordered");const h=this.$_addRule("items");for(let C=0;Cthis.$_compile(m[C]),C,{append:!0});y.validateSingle(v,h),h.$_mutateRegister(v),h.$_terms.ordered.push(v)}return h.$_mutateRebuild()}},single:{method(m){const h=void 0===m||!!m;return c(!h||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",h)}},sort:{method(m={}){_.assertOptions(m,["by","order"]);const h={order:m.order||"ascending"};return m.by&&(h.by=S.ref(m.by,{ancestor:0}),c(!h.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:h}})},validate(m,{error:h,state:C,prefs:v,schema:M},{options:E}){const{value:A,errors:T}=y.sort(M,m,E,C,v);if(T)return T;for(let R=0;Rnew Set(m)}},rebuild(m){m.$_terms._inclusions=[],m.$_terms._exclusions=[],m.$_terms._requireds=[];for(const h of m.$_terms.items)y.validateSingle(h,m),"required"===h._flags.presence?m.$_terms._requireds.push(h):"forbidden"===h._flags.presence?m.$_terms._exclusions.push(h):m.$_terms._inclusions.push(h);for(const h of m.$_terms.ordered)y.validateSingle(h,m)},manifest:{build:(m,h)=>(h.items&&(m=m.items(...h.items)),h.ordered&&(m=m.ordered(...h.ordered)),m)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),y.fillMissedErrors=function(m,h,C,v,M,E){const A=[];let T=0;for(const R of C){const N=R._flags.label;N?A.push(N):++T}h.push(A.length?T?m.$_createError("array.includesRequiredBoth",v,{knownMisses:A,unknownMisses:T},M,E):m.$_createError("array.includesRequiredKnowns",v,{knownMisses:A},M,E):m.$_createError("array.includesRequiredUnknowns",v,{unknownMisses:T},M,E))},y.fillOrderedErrors=function(m,h,C,v,M,E){const A=[];for(const T of C)"required"===T._flags.presence&&A.push(T);A.length&&y.fillMissedErrors(m,h,A,v,M,E)},y.fillDefault=function(m,h,C,v){const M=[];let E=!0;for(let A=m.length-1;A>=0;--A){const T=m[A],R=[h,...C.ancestors],N=T.$_validate(void 0,C.localize(C.path,R,T),v).value;if(E){if(void 0===N)continue;E=!1}M.unshift(N)}M.length&&h.push(...M)},y.fastSplice=function(m,h){let C=h;for(;C{let L=y.compare(N,I,A,T);if(null!==L||(C.by&&(N=C.by.resolve(N,v,M),I=C.by.resolve(I,v,M)),L=y.compare(N,I,A,T),null!==L))return L;const O=typeof N;if(O!==typeof I)throw m.$_createError("array.sort.mismatching",h,null,v,M);if("number"!==O&&"string"!==O)throw m.$_createError("array.sort.unsupported",h,{type:O},v,M);return"number"===O?(N-I)*E:N{"use strict";const c=e(375),l=e(8068),g=e(8160),b=e(2036),_={isBool:function(S){return"boolean"==typeof S}};u.exports=l.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(S,{schema:y}){if("boolean"!=typeof S){if("string"==typeof S){const m=y._flags.sensitive?S:S.toLowerCase();S="true"===m||"false"!==m&&S}return"boolean"!=typeof S&&(S=y.$_terms.truthy&&y.$_terms.truthy.has(S,null,null,!y._flags.sensitive)||(!y.$_terms.falsy||!y.$_terms.falsy.has(S,null,null,!y._flags.sensitive))&&S),{value:S}}},validate(S,{error:y}){if("boolean"!=typeof S)return{value:S,errors:y("boolean.base")}},rules:{truthy:{method(...S){g.verifyFlat(S,"truthy");const y=this.clone();y.$_terms.truthy=y.$_terms.truthy||new b;for(let m=0;mS?1:0},string:{from:_.isBool,to:(S,y)=>S?"true":"false"}},manifest:{build:(S,y)=>(y.truthy&&(S=S.truthy(...y.truthy)),y.falsy&&(S=S.falsy(...y.falsy)),S)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(u,a,e)=>{"use strict";const c=e(375),l=e(8068),g=e(8160),b=e(3328),_={isDate:function(S){return S instanceof Date}};u.exports=l.extend({type:"date",coerce:{from:["number","string"],method:(S,{schema:y})=>({value:_.parse(S,y._flags.format)||S})},validate(S,{schema:y,error:m,prefs:h}){if(S instanceof Date&&!isNaN(S.getTime()))return;const C=y._flags.format;return h.convert&&C&&"string"==typeof S?{value:S,errors:m("date.format",{format:C})}:{value:S,errors:m("date.base")}},rules:{compare:{method:!1,validate(S,y,{date:m},{name:h,operator:C,args:v}){const M="now"===m?Date.now():m.getTime();return g.compare(S.getTime(),M,C)?S:y.error("date."+h,{limit:v.date,value:S})},args:[{name:"date",ref:!0,normalize:S=>"now"===S?S:_.parse(S),assert:S=>null!==S,message:"must have a valid date format"}]},format:{method(S){return c(["iso","javascript","unix"].includes(S),"Unknown date format",S),this.$_setFlag("format",S)}},greater:{method(S){return this.$_addRule({name:"greater",method:"compare",args:{date:S},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(S){return this.$_addRule({name:"less",method:"compare",args:{date:S},operator:"<"})}},max:{method(S){return this.$_addRule({name:"max",method:"compare",args:{date:S},operator:"<="})}},min:{method(S){return this.$_addRule({name:"min",method:"compare",args:{date:S},operator:">="})}},timestamp:{method(S="javascript"){return c(["javascript","unix"].includes(S),'"type" must be one of "javascript, unix"'),this.format(S)}}},cast:{number:{from:_.isDate,to:(S,y)=>S.getTime()},string:{from:_.isDate,to:(S,{prefs:y})=>b.date(S,y)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),_.parse=function(S,y){if(S instanceof Date)return S;if("string"!=typeof S&&(isNaN(S)||!isFinite(S))||/^\s*$/.test(S))return null;if("iso"===y)return g.isIsoDate(S)?_.date(S.toString()):null;const m=S;if("string"==typeof S&&/^[+-]?\d+(\.\d+)?$/.test(S)&&(S=parseFloat(S)),y){if("javascript"===y)return _.date(1*S);if("unix"===y)return _.date(1e3*S);if("string"==typeof m)return null}return _.date(S)},_.date=function(S){const y=new Date(S);return isNaN(y.getTime())?null:y}},390:(u,a,e)=>{"use strict";const c=e(375),l=e(7824);u.exports=l.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(g){return c(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:g}})},validate:(g,b,{n:_})=>g.length===_?g:b.error("function.arity",{n:_})},class:{method(){return this.$_addRule("class")},validate:(g,b)=>/^\s*class\s/.test(g.toString())?g:b.error("function.class",{value:g})},minArity:{method(g){return c(Number.isSafeInteger(g)&&g>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:g}})},validate:(g,b,{n:_})=>g.length>=_?g:b.error("function.minArity",{n:_})},maxArity:{method(g){return c(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:g}})},validate:(g,b,{n:_})=>g.length<=_?g:b.error("function.maxArity",{n:_})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},7824:(u,a,e)=>{"use strict";const c=e(978),l=e(375),g=e(8571),b=e(3652),_=e(8068),S=e(8160),y=e(3292),m=e(6354),h=e(6133),C=e(3328),v={renameDefaults:{alias:!1,multiple:!1,override:!1}};u.exports=_.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(M,E)=>M.keys(E),validate(M,{schema:E,error:A,state:T,prefs:R}){if(!M||typeof M!==E.$_property("typeof")||Array.isArray(M))return{value:M,errors:A("object.base",{type:E.$_property("typeof")})};if(!(E.$_terms.renames||E.$_terms.dependencies||E.$_terms.keys||E.$_terms.patterns||E.$_terms.externals))return;M=v.clone(M,R);const N=[];if(E.$_terms.renames&&!v.rename(E,M,T,R,N))return{value:M,errors:N};if(!E.$_terms.keys&&!E.$_terms.patterns&&!E.$_terms.dependencies)return{value:M,errors:N};const I=new Set(Object.keys(M));if(E.$_terms.keys){const L=[M,...T.ancestors];for(const O of E.$_terms.keys){const z=O.key,F=M[z];I.delete(z);const q=T.localize([...T.path,z],L,O),X=O.schema.$_validate(F,q,R);if(X.errors){if(R.abortEarly)return{value:M,errors:X.errors};void 0!==X.value&&(M[z]=X.value),N.push(...X.errors)}else"strip"===O.schema._flags.result||void 0===X.value&&void 0!==F?delete M[z]:void 0!==X.value&&(M[z]=X.value)}}if(I.size||E._flags._hasPatternMatch){const L=v.unknown(E,M,I,N,T,R);if(L)return L}if(E.$_terms.dependencies)for(const L of E.$_terms.dependencies){if(null!==L.key&&!1===v.isPresent(L.options)(L.key.resolve(M,T,R,null,{shadow:!1})))continue;const O=v.dependencies[L.rel](E,L,M,T,R);if(O){const z=E.$_createError(O.code,M,O.context,T,R);if(R.abortEarly)return{value:M,errors:z};N.push(z)}}return{value:M,errors:N}},rules:{and:{method(...M){return S.verifyFlat(M,"and"),v.dependency(this,"and",null,M)}},append:{method(M){return null==M||0===Object.keys(M).length?this:this.keys(M)}},assert:{method(M,E,A){C.isTemplate(M)||(M=y.ref(M)),l(void 0===A||"string"==typeof A,"Message must be a string"),E=this.$_compile(E,{appendPath:!0});const T=this.$_addRule({name:"assert",args:{subject:M,schema:E,message:A}});return T.$_mutateRegister(M),T.$_mutateRegister(E),T},validate(M,{error:E,prefs:A,state:T},{subject:R,schema:N,message:I}){const L=R.resolve(M,T,A),O=h.isRef(R)?R.absolute(T):[];return N.$_match(L,T.localize(O,[M,...T.ancestors],N),A)?M:E("object.assert",{subject:R,message:I})},args:["subject","schema","message"],multi:!0},instance:{method(M,E){return l("function"==typeof M,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:M,name:E=E||M.name}})},validate:(M,E,{constructor:A,name:T})=>M instanceof A?M:E.error("object.instance",{type:T,value:M}),args:["constructor","name"]},keys:{method(M){l(void 0===M||"object"==typeof M,"Object schema must be a valid object"),l(!S.isSchema(M),"Object schema cannot be a joi schema");const E=this.clone();if(M)if(Object.keys(M).length){E.$_terms.keys=E.$_terms.keys?E.$_terms.keys.filter(A=>!M.hasOwnProperty(A.key)):new v.Keys;for(const A in M)S.tryWithPath(()=>E.$_terms.keys.push({key:A,schema:this.$_compile(M[A])}),A)}else E.$_terms.keys=new v.Keys;else E.$_terms.keys=null;return E.$_mutateRebuild()}},length:{method(M){return this.$_addRule({name:"length",args:{limit:M},operator:"="})},validate:(M,E,{limit:A},{name:T,operator:R,args:N})=>S.compare(Object.keys(M).length,A,R)?M:E.error("object."+T,{limit:N.limit,value:M}),args:[{name:"limit",ref:!0,assert:S.limit,message:"must be a positive integer"}]},max:{method(M){return this.$_addRule({name:"max",method:"length",args:{limit:M},operator:"<="})}},min:{method(M){return this.$_addRule({name:"min",method:"length",args:{limit:M},operator:">="})}},nand:{method(...M){return S.verifyFlat(M,"nand"),v.dependency(this,"nand",null,M)}},or:{method(...M){return S.verifyFlat(M,"or"),v.dependency(this,"or",null,M)}},oxor:{method(...M){return v.dependency(this,"oxor",null,M)}},pattern:{method(M,E,A={}){const T=M instanceof RegExp;T||(M=this.$_compile(M,{appendPath:!0})),l(void 0!==E,"Invalid rule"),S.assertOptions(A,["fallthrough","matches"]),T&&l(!M.flags.includes("g")&&!M.flags.includes("y"),"pattern should not use global or sticky mode"),E=this.$_compile(E,{appendPath:!0});const R=this.clone();R.$_terms.patterns=R.$_terms.patterns||[];const N={[T?"regex":"schema"]:M,rule:E};return A.matches&&(N.matches=this.$_compile(A.matches),"array"!==N.matches.type&&(N.matches=N.matches.$_root.array().items(N.matches)),R.$_mutateRegister(N.matches),R.$_setFlag("_hasPatternMatch",!0,{clone:!1})),A.fallthrough&&(N.fallthrough=!0),R.$_terms.patterns.push(N),R.$_mutateRegister(E),R}},ref:{method(){return this.$_addRule("ref")},validate:(M,E)=>h.isRef(M)?M:E.error("object.refType",{value:M})},regex:{method(){return this.$_addRule("regex")},validate:(M,E)=>M instanceof RegExp?M:E.error("object.regex",{value:M})},rename:{method(M,E,A={}){l("string"==typeof M||M instanceof RegExp,"Rename missing the from argument"),l("string"==typeof E||E instanceof C,"Invalid rename to argument"),l(E!==M,"Cannot rename key to same name:",M),S.assertOptions(A,["alias","ignoreUndefined","override","multiple"]);const T=this.clone();T.$_terms.renames=T.$_terms.renames||[];for(const R of T.$_terms.renames)l(R.from!==M,"Cannot rename the same key multiple times");return E instanceof C&&T.$_mutateRegister(E),T.$_terms.renames.push({from:M,to:E,options:c(v.renameDefaults,A)}),T}},schema:{method(M="any"){return this.$_addRule({name:"schema",args:{type:M}})},validate:(M,E,{type:A})=>!S.isSchema(M)||"any"!==A&&M.type!==A?E.error("object.schema",{type:A}):M},unknown:{method(M){return this.$_setFlag("unknown",!1!==M)}},with:{method(M,E,A={}){return v.dependency(this,"with",M,E,A)}},without:{method(M,E,A={}){return v.dependency(this,"without",M,E,A)}},xor:{method(...M){return S.verifyFlat(M,"xor"),v.dependency(this,"xor",null,M)}}},overrides:{default(M,E){return void 0===M&&(M=S.symbols.deepDefault),this.$_parent("default",M,E)}},rebuild(M){if(M.$_terms.keys){const E=new b.Sorter;for(const A of M.$_terms.keys)S.tryWithPath(()=>E.add(A,{after:A.schema.$_rootReferences(),group:A.key}),A.key);M.$_terms.keys=new v.Keys(...E.nodes)}},manifest:{build(M,E){if(E.keys&&(M=M.keys(E.keys)),E.dependencies)for(const{rel:A,key:T=null,peers:R,options:N}of E.dependencies)M=v.dependency(M,A,T,R,N);if(E.patterns)for(const{regex:A,schema:T,rule:R,fallthrough:N,matches:I}of E.patterns)M=M.pattern(A||T,R,{fallthrough:N,matches:I});if(E.renames)for(const{from:A,to:T,options:R}of E.renames)M=M.rename(A,T,R);return M}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),v.clone=function(M,E){if("object"==typeof M){if(E.nonEnumerables)return g(M,{shallow:!0});const T=Object.create(Object.getPrototypeOf(M));return Object.assign(T,M),T}const A=function(...T){return M.apply(this,T)};return A.prototype=g(M.prototype),Object.defineProperty(A,"name",{value:M.name,writable:!1}),Object.defineProperty(A,"length",{value:M.length,writable:!1}),Object.assign(A,M),A},v.dependency=function(M,E,A,T,R){l(null===A||"string"==typeof A,E,"key must be a strings"),R||(R=T.length>1&&"object"==typeof T[T.length-1]?T.pop():{}),S.assertOptions(R,["separator","isPresent"]),T=[].concat(T);const N=S.default(R.separator,"."),I=[];for(const O of T)l("string"==typeof O,E,"peers must be strings"),I.push(y.ref(O,{separator:N,ancestor:0,prefix:!1}));null!==A&&(A=y.ref(A,{separator:N,ancestor:0,prefix:!1}));const L=M.clone();return L.$_terms.dependencies=L.$_terms.dependencies||[],L.$_terms.dependencies.push(new v.Dependency(E,A,I,T,R)),L},v.dependencies={and(M,E,A,T,R){const N=[],I=[],L=E.peers.length,O=v.isPresent(E.options);for(const z of E.peers)!1===O(z.resolve(A,T,R,null,{shadow:!1}))?N.push(z.key):I.push(z.key);if(N.length!==L&&I.length!==L)return{code:"object.and",context:{present:I,presentWithLabels:v.keysToLabels(M,I),missing:N,missingWithLabels:v.keysToLabels(M,N)}}},nand(M,E,A,T,R){const N=[],I=v.isPresent(E.options);for(const z of E.peers)I(z.resolve(A,T,R,null,{shadow:!1}))&&N.push(z.key);if(N.length!==E.peers.length)return;const L=E.paths[0],O=E.paths.slice(1);return{code:"object.nand",context:{main:L,mainWithLabel:v.keysToLabels(M,L),peers:O,peersWithLabels:v.keysToLabels(M,O)}}},or(M,E,A,T,R){const N=v.isPresent(E.options);for(const I of E.peers)if(N(I.resolve(A,T,R,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)}}},oxor(M,E,A,T,R){const N=[],I=v.isPresent(E.options);for(const O of E.peers)I(O.resolve(A,T,R,null,{shadow:!1}))&&N.push(O.key);if(!N.length||1===N.length)return;const L={peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)};return L.present=N,L.presentWithLabels=v.keysToLabels(M,N),{code:"object.oxor",context:L}},with(M,E,A,T,R){const N=v.isPresent(E.options);for(const I of E.peers)if(!1===N(I.resolve(A,T,R,null,{shadow:!1})))return{code:"object.with",context:{main:E.key.key,mainWithLabel:v.keysToLabels(M,E.key.key),peer:I.key,peerWithLabel:v.keysToLabels(M,I.key)}}},without(M,E,A,T,R){const N=v.isPresent(E.options);for(const I of E.peers)if(N(I.resolve(A,T,R,null,{shadow:!1})))return{code:"object.without",context:{main:E.key.key,mainWithLabel:v.keysToLabels(M,E.key.key),peer:I.key,peerWithLabel:v.keysToLabels(M,I.key)}}},xor(M,E,A,T,R){const N=[],I=v.isPresent(E.options);for(const O of E.peers)I(O.resolve(A,T,R,null,{shadow:!1}))&&N.push(O.key);if(1===N.length)return;const L={peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)};return 0===N.length?{code:"object.missing",context:L}:(L.present=N,L.presentWithLabels=v.keysToLabels(M,N),{code:"object.xor",context:L})}},v.keysToLabels=function(M,E){return Array.isArray(E)?E.map(A=>M.$_mapLabels(A)):M.$_mapLabels(E)},v.isPresent=function(M){return"function"==typeof M.isPresent?M.isPresent:E=>void 0!==E},v.rename=function(M,E,A,T,R){const N={};for(const I of M.$_terms.renames){const L=[],O="string"!=typeof I.from;if(O)for(const z in E){if(void 0===E[z]&&I.options.ignoreUndefined||z===I.to)continue;const F=I.from.exec(z);F&&L.push({from:z,to:I.to,match:F})}else!Object.prototype.hasOwnProperty.call(E,I.from)||void 0===E[I.from]&&I.options.ignoreUndefined||L.push(I);for(const z of L){const F=z.from;let q=z.to;if(q instanceof C&&(q=q.render(E,A,T,z.match)),F!==q){if(!I.options.multiple&&N[q]&&(R.push(M.$_createError("object.rename.multiple",E,{from:F,to:q,pattern:O},A,T)),T.abortEarly)||Object.prototype.hasOwnProperty.call(E,q)&&!I.options.override&&!N[q]&&(R.push(M.$_createError("object.rename.override",E,{from:F,to:q,pattern:O},A,T)),T.abortEarly))return!1;void 0===E[F]?delete E[q]:E[q]=E[F],N[q]=!0,I.options.alias||delete E[F]}}}return!0},v.unknown=function(M,E,A,T,R,N){if(M.$_terms.patterns){let I=!1;const L=M.$_terms.patterns.map(z=>{if(z.matches)return I=!0,[]}),O=[E,...R.ancestors];for(const z of A){const F=E[z],q=[...R.path,z];for(let X=0;X{"use strict";const c=e(375),l=e(8068),g=e(8160),b=e(3292),_=e(6354),S={};u.exports=l.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(y,m)=>y.ref(m),validate(y,{schema:m,state:h,prefs:C}){c(m.$_terms.link,"Uninitialized link schema");const v=S.generate(m,y,h,C);return v.$_validate(y,h.nest(v,`link:${m.$_terms.link[0].ref.display}:${v.type}`),C)},generate:(y,m,h,C)=>S.generate(y,m,h,C),rules:{ref:{method(y){c(!this.$_terms.link,"Cannot reinitialize schema"),y=b.ref(y),c("value"===y.type||"local"===y.type,"Invalid reference type:",y.type),c("local"===y.type||"root"===y.ancestor||y.ancestor>0,"Link cannot reference itself");const m=this.clone();return m.$_terms.link=[{ref:y}],m}},relative:{method(y=!0){return this.$_setFlag("relative",y)}}},overrides:{concat(y){c(this.$_terms.link,"Uninitialized link schema"),c(g.isSchema(y),"Invalid schema object"),c("link"!==y.type,"Cannot merge type link with another link");const m=this.clone();return m.$_terms.whens||(m.$_terms.whens=[]),m.$_terms.whens.push({concat:y}),m.$_mutateRebuild()}},manifest:{build:(y,m)=>(c(m.link,"Invalid link description missing link"),y.ref(m.link))}}),S.generate=function(y,m,h,C){let v=h.mainstay.links.get(y);if(v)return v._generate(m,h,C).schema;const M=y.$_terms.link[0].ref,{perspective:E,path:A}=S.perspective(M,h);S.assert(E,"which is outside of schema boundaries",M,y,h,C);try{v=A.length?E.$_reach(A):E}catch{S.assert(!1,"to non-existing schema",M,y,h,C)}return S.assert("link"!==v.type,"which is another link",M,y,h,C),y._flags.relative||h.mainstay.links.set(y,v),v._generate(m,h,C).schema},S.perspective=function(y,m){if("local"===y.type){for(const{schema:h,key:C}of m.schemas){if((h._flags.id||C)===y.path[0])return{perspective:h,path:y.path.slice(1)};if(h.$_terms.shared)for(const v of h.$_terms.shared)if(v._flags.id===y.path[0])return{perspective:v,path:y.path.slice(1)}}return{perspective:null,path:null}}return"root"===y.ancestor?{perspective:m.schemas[m.schemas.length-1].schema,path:y.path}:{perspective:m.schemas[y.ancestor]&&m.schemas[y.ancestor].schema,path:y.path}},S.assert=function(y,m,h,C,v,M){y||c(!1,`"${_.label(C._flags,v,M)}" contains link reference "${h.display}" ${m}`)}},3832:(u,a,e)=>{"use strict";const c=e(375),l=e(8068),g=e(8160),b={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(_){const S=_.toString(),y=S.indexOf("."),m=S.indexOf("e");return(y<0?0:(m<0?S.length:m)-y-1)+(m<0?0:Math.max(0,-parseInt(S.slice(m+1))))}};u.exports=l.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(_,{schema:S,error:y}){if(!_.match(b.numberRx))return;_=_.trim();const m={value:parseFloat(_)};if(0===m.value&&(m.value=0),!S._flags.unsafe)if(_.match(/e/i)){if(b.extractSignificantDigits(_)!==b.extractSignificantDigits(String(m.value)))return m.errors=y("number.unsafe"),m}else{const h=m.value.toString();if(h.match(/e/i))return m;if(h!==b.normalizeDecimal(_))return m.errors=y("number.unsafe"),m}return m}},validate(_,{schema:S,error:y,prefs:m}){if(_===1/0||_===-1/0)return{value:_,errors:y("number.infinity")};if(!g.isNumber(_))return{value:_,errors:y("number.base")};const h={value:_};if(m.convert){const C=S.$_getRule("precision");if(C){const v=Math.pow(10,C.args.limit);h.value=Math.round(h.value*v)/v}}return 0===h.value&&(h.value=0),!S._flags.unsafe&&(_>Number.MAX_SAFE_INTEGER||_g.compare(_,y,h)?_:S.error("number."+m,{limit:C.limit,value:_}),args:[{name:"limit",ref:!0,assert:g.isNumber,message:"must be a number"}]},greater:{method(_){return this.$_addRule({name:"greater",method:"compare",args:{limit:_},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(_,S)=>Math.trunc(_)-_==0?_:S.error("number.integer")},less:{method(_){return this.$_addRule({name:"less",method:"compare",args:{limit:_},operator:"<"})}},max:{method(_){return this.$_addRule({name:"max",method:"compare",args:{limit:_},operator:"<="})}},min:{method(_){return this.$_addRule({name:"min",method:"compare",args:{limit:_},operator:">="})}},multiple:{method(_){const S="number"==typeof _?b.decimalPlaces(_):null,y=Math.pow(10,S);return this.$_addRule({name:"multiple",args:{base:_,baseDecimalPlace:S,pfactor:y}})},validate:(_,S,{base:y,baseDecimalPlace:m,pfactor:h},C)=>b.decimalPlaces(_)>m?S.error("number.multiple",{multiple:C.args.base,value:_}):Math.round(h*_)%Math.round(h*y)==0?_:S.error("number.multiple",{multiple:C.args.base,value:_}),args:[{name:"base",ref:!0,assert:_=>"number"==typeof _&&isFinite(_)&&_>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(_,S)=>Number.isSafeInteger(_)&&_>=0&&_<=65535?_:S.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(_){return c(Number.isSafeInteger(_),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:_}})},validate(_,S,{limit:y}){const m=_.toString().match(b.precisionRx);return Math.max((m[1]?m[1].length:0)-(m[2]?parseInt(m[2],10):0),0)<=y?_:S.error("number.precision",{limit:y,value:_})},convert:!0},sign:{method(_){return c(["negative","positive"].includes(_),"Invalid sign",_),this.$_addRule({name:"sign",args:{sign:_}})},validate:(_,S,{sign:y})=>"negative"===y&&_<0||"positive"===y&&_>0?_:S.error(`number.${y}`)},unsafe:{method(_=!0){return c("boolean"==typeof _,"enabled must be a boolean"),this.$_setFlag("unsafe",_)}}},cast:{string:{from:_=>"number"==typeof _,to:(_,S)=>_.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),b.extractSignificantDigits=function(_){return _.replace(b.exponentialPartRegex,"").replace(b.dotRegex,"").replace(b.trailingZerosRegex,"").replace(b.leadingSignAndZerosRegex,"")},b.normalizeDecimal=function(_){return(_=_.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&_.endsWith("0")&&(_=_.replace(/0+$/,"")),"-0"===_?"0":_}},8966:(u,a,e)=>{"use strict";const c=e(7824);u.exports=c.extend({type:"object",cast:{map:{from:l=>l&&"object"==typeof l,to:(l,g)=>new Map(Object.entries(l))}}})},7417:(u,a,e)=>{"use strict";const c=e(375),l=e(5380),g=e(1745),b=e(9959),_=e(6064),S=e(9926),y=e(5752),m=e(8068),h=e(8160),C={tlds:S instanceof Set&&{tlds:{allow:S,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:b.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};u.exports=m.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(v,{schema:M,state:E,prefs:A}){const T=M.$_getRule("normalize");T&&(v=v.normalize(T.args.form));const R=M.$_getRule("case");R&&(v="upper"===R.args.direction?v.toLocaleUpperCase():v.toLocaleLowerCase());const N=M.$_getRule("trim");if(N&&N.args.enabled&&(v=v.trim()),M.$_terms.replacements)for(const L of M.$_terms.replacements)v=v.replace(L.pattern,L.replacement);const I=M.$_getRule("hex");if(I&&I.args.options.byteAligned&&v.length%2!=0&&(v=`0${v}`),M.$_getRule("isoDate")){const L=C.isoDate(v);L&&(v=L)}if(M._flags.truncate){const L=M.$_getRule("max");if(L){let O=L.args.limit;if(h.isResolvable(O)&&(O=O.resolve(v,E,A),!h.limit(O)))return{value:v,errors:M.$_createError("any.ref",O,{ref:L.args.limit,arg:"limit",reason:"must be a positive integer"},E,A)};v=v.slice(0,O)}}return{value:v}}},validate(v,{schema:M,error:E}){if("string"!=typeof v)return{value:v,errors:E("string.base")};if(""===v){const A=M.$_getRule("min");return A&&0===A.args.limit?void 0:{value:v,errors:E("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(v,M)=>/^[a-zA-Z0-9]+$/.test(v)?v:M.error("string.alphanum")},base64:{method(v={}){return h.assertOptions(v,["paddingRequired","urlSafe"]),v={urlSafe:!1,paddingRequired:!0,...v},c("boolean"==typeof v.paddingRequired,"paddingRequired must be boolean"),c("boolean"==typeof v.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:v}})},validate:(v,M,{options:E})=>C.base64Regex[E.paddingRequired][E.urlSafe].test(v)?v:M.error("string.base64")},case:{method(v){return c(["lower","upper"].includes(v),"Invalid case:",v),this.$_addRule({name:"case",args:{direction:v}})},validate:(v,M,{direction:E})=>"lower"===E&&v===v.toLocaleLowerCase()||"upper"===E&&v===v.toLocaleUpperCase()?v:M.error(`string.${E}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(v,M){let E=v.length,A=0,T=1;for(;E--;){const R=v.charAt(E)*T;A+=R-9*(R>9),T^=3}return A>0&&A%10==0?v:M.error("string.creditCard")}},dataUri:{method(v={}){return h.assertOptions(v,["paddingRequired"]),v={paddingRequired:!0,...v},c("boolean"==typeof v.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:v}})},validate(v,M,{options:E}){const A=v.match(C.dataUriRegex);return!A||A[2]&&"base64"===A[2]&&!C.base64Regex[E.paddingRequired].false.test(A[3])?M.error("string.dataUri"):v}},domain:{method(v){v&&h.assertOptions(v,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const M=C.addressOptions(v);return this.$_addRule({name:"domain",args:{options:v},address:M})},validate:(v,M,E,{address:A})=>l.isValid(v,A)?v:M.error("string.domain")},email:{method(v={}){h.assertOptions(v,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),c(void 0===v.multiple||"boolean"==typeof v.multiple,"multiple option must be an boolean");const M=C.addressOptions(v),E=new RegExp(`\\s*[${v.separator?_(v.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:v},regex:E,address:M})},validate(v,M,{options:E},{regex:A,address:T}){const R=E.multiple?v.split(A):[v],N=[];for(const I of R)g.isValid(I,T)||N.push(I);return N.length?M.error("string.email",{value:v,invalids:N}):v}},guid:{alias:"uuid",method(v={}){h.assertOptions(v,["version","separator"]);let M="";if(v.version){const T=[].concat(v.version);c(T.length>=1,"version must have at least 1 valid version specified");const R=new Set;for(let N=0;N("optional"===E.prefix?C.hexRegex.withOptionalPrefix:!0===E.prefix?C.hexRegex.withPrefix:C.hexRegex.withoutPrefix).test(v)?E.byteAligned&&v.length%2!=0?M.error("string.hexAlign"):v:M.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(v,M)=>l.isValid(v,{minDomainSegments:1})||C.ipRegex.test(v)?v:M.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(v={}){h.assertOptions(v,["cidr","version"]);const{cidr:M,versions:E,regex:A}=b.regex(v);return this.$_addRule({name:"ip",args:{options:{cidr:M,version:v.version?E:void 0}},regex:A})},validate:(v,M,{options:E},{regex:A})=>A.test(v)?v:E.version?M.error("string.ipVersion",{value:v,cidr:E.cidr,version:E.version}):M.error("string.ip",{value:v,cidr:E.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(v,{error:M})=>C.isoDate(v)?v:M("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(v,M)=>C.isoDurationRegex.test(v)?v:M.error("string.isoDuration")},length:{method(v,M){return C.length(this,"length",v,"=",M)},validate:(v,M,{limit:E,encoding:A},{name:T,operator:R,args:N})=>h.compare(!A&&v.length,E,R)?v:M.error("string."+T,{limit:N.limit,value:v,encoding:A}),args:[{name:"limit",ref:!0,assert:h.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(v,M){return C.length(this,"max",v,"<=",M)},args:["limit","encoding"]},min:{method(v,M){return C.length(this,"min",v,">=",M)},args:["limit","encoding"]},normalize:{method(v="NFC"){return c(C.normalizationForms.includes(v),"normalization form must be one of "+C.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:v}})},validate:(v,{error:M},{form:E})=>v===v.normalize(E)?v:M("string.normalize",{value:v,form:E}),convert:!0},pattern:{alias:"regex",method(v,M={}){c(v instanceof RegExp,"regex must be a RegExp"),c(!v.flags.includes("g")&&!v.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof M&&(M={name:M}),h.assertOptions(M,["invert","name"]);const E=["string.pattern",M.invert?".invert":"",M.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:v,options:M},errorCode:E})},validate:(v,M,{regex:E,options:A},{errorCode:T})=>E.test(v)^A.invert?v:M.error(T,{name:A.name,regex:E,value:v}),args:["regex","options"],multi:!0},replace:{method(v,M){"string"==typeof v&&(v=new RegExp(_(v),"g")),c(v instanceof RegExp,"pattern must be a RegExp"),c("string"==typeof M,"replacement must be a String");const E=this.clone();return E.$_terms.replacements||(E.$_terms.replacements=[]),E.$_terms.replacements.push({pattern:v,replacement:M}),E}},token:{method(){return this.$_addRule("token")},validate:(v,M)=>/^\w+$/.test(v)?v:M.error("string.token")},trim:{method(v=!0){return c("boolean"==typeof v,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:v}})},validate:(v,M,{enabled:E})=>E&&v!==v.trim()?M.error("string.trim"):v,convert:!0},truncate:{method(v=!0){return c("boolean"==typeof v,"enabled must be a boolean"),this.$_setFlag("truncate",v)}},uppercase:{method(){return this.case("upper")}},uri:{method(v={}){h.assertOptions(v,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),v.domain&&h.assertOptions(v.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:M,scheme:E}=y.regex(v),A=v.domain?C.addressOptions(v.domain):null;return this.$_addRule({name:"uri",args:{options:v},regex:M,domain:A,scheme:E})},validate(v,M,{options:E},{regex:A,domain:T,scheme:R}){if(["http:/","https:/"].includes(v))return M.error("string.uri");const N=A.exec(v);if(N){const I=N[1]||N[2];return!T||E.allowRelative&&!I||l.isValid(I,T)?v:M.error("string.domain",{value:I})}return E.relativeOnly?M.error("string.uriRelativeOnly"):E.scheme?M.error("string.uriCustomScheme",{scheme:R,value:v}):M.error("string.uri")}}},manifest:{build(v,M){if(M.replacements)for(const{pattern:E,replacement:A}of M.replacements)v=v.replace(E,A);return v}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),C.addressOptions=function(v){if(!v)return C.tlds||v;if(c(void 0===v.minDomainSegments||Number.isSafeInteger(v.minDomainSegments)&&v.minDomainSegments>0,"minDomainSegments must be a positive integer"),c(void 0===v.maxDomainSegments||Number.isSafeInteger(v.maxDomainSegments)&&v.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===v.tlds)return v;if(!0===v.tlds||void 0===v.tlds)return c(C.tlds,"Built-in TLD list disabled"),Object.assign({},v,C.tlds);c("object"==typeof v.tlds,"tlds must be true, false, or an object");const M=v.tlds.deny;if(M)return Array.isArray(M)&&(v=Object.assign({},v,{tlds:{deny:new Set(M)}})),c(v.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),c(!v.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),C.validateTlds(v.tlds.deny,"tlds.deny"),v;const E=v.tlds.allow;return E?!0===E?(c(C.tlds,"Built-in TLD list disabled"),Object.assign({},v,C.tlds)):(Array.isArray(E)&&(v=Object.assign({},v,{tlds:{allow:new Set(E)}})),c(v.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),C.validateTlds(v.tlds.allow,"tlds.allow"),v):v},C.validateTlds=function(v,M){for(const E of v)c(l.isValid(E,{minDomainSegments:1,maxDomainSegments:1}),`${M} must contain valid top level domain names`)},C.isoDate=function(v){if(!h.isIsoDate(v))return null;/.*T.*[+-]\d\d$/.test(v)&&(v+="00");const M=new Date(v);return isNaN(M.getTime())?null:M.toISOString()},C.length=function(v,M,E,A,T){return c(!T||!1,"Invalid encoding:",T),v.$_addRule({name:M,method:"length",args:{limit:E,encoding:T},operator:A})}},8826:(u,a,e)=>{"use strict";const c=e(375),l=e(8068),g={};g.Map=class extends Map{slice(){return new g.Map(this)}},u.exports=l.extend({type:"symbol",terms:{map:{init:new g.Map}},coerce:{method(b,{schema:_,error:S}){const y=_.$_terms.map.get(b);return y&&(b=y),_._flags.only&&"symbol"!=typeof b?{value:b,errors:S("symbol.map",{map:_.$_terms.map})}:{value:b}}},validate(b,{error:_}){if("symbol"!=typeof b)return{value:b,errors:_("symbol.base")}},rules:{map:{method(b){b&&!b[Symbol.iterator]&&"object"==typeof b&&(b=Object.entries(b)),c(b&&b[Symbol.iterator],"Iterable must be an iterable or object");const _=this.clone(),S=[];for(const y of b){c(y&&y[Symbol.iterator],"Entry must be an iterable");const[m,h]=y;c("object"!=typeof m&&"function"!=typeof m&&"symbol"!=typeof m,"Key must not be of type object, function, or Symbol"),c("symbol"==typeof h,"Value must be a Symbol"),_.$_terms.map.set(m,h),S.push(h)}return _.valid(...S)}}},manifest:{build:(b,_)=>(_.map&&(b=b.map(_.map)),b)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(738),b=e(9621),_=e(8160),S=e(6354),y=e(493),m={result:Symbol("result")};a.entry=function(h,C,v){let M=_.defaults;v&&(c(void 0===v.warnings,"Cannot override warnings preference in synchronous validation"),c(void 0===v.artifacts,"Cannot override artifacts preference in synchronous validation"),M=_.preferences(_.defaults,v));const E=m.entry(h,C,M);c(!E.mainstay.externals.length,"Schema with external rules must use validateAsync()");const A={value:E.value};return E.error&&(A.error=E.error),E.mainstay.warnings.length&&(A.warning=S.details(E.mainstay.warnings)),E.mainstay.debug&&(A.debug=E.mainstay.debug),E.mainstay.artifacts&&(A.artifacts=E.mainstay.artifacts),A},a.entryAsync=function(){var h=n(function*(C,v,M){let E=_.defaults;M&&(E=_.preferences(_.defaults,M));const A=m.entry(C,v,E),T=A.mainstay;if(A.error)throw T.debug&&(A.error.debug=T.debug),A.error;if(T.externals.length){let N=A.value;const I=[];for(const L of T.externals){const O=L.state.path,z="link"===L.schema.type?T.links.get(L.schema):null;let F,q,X=N;const ce=O.length?[N]:[],K=O.length?b(C,O):C;if(O.length){F=O[O.length-1];let ne=N;for(const Y of O.slice(0,-1))ne=ne[Y],ce.unshift(ne);q=ce[0],X=q[F]}try{const ne=(H,ae)=>(z||L.schema).$_createError(H,X,ae,L.state,E),Y=yield L.method(X,{schema:L.schema,linked:z,state:L.state,prefs:M,original:K,error:ne,errorsArray:m.errorsArray,warn:(H,ae)=>T.warnings.push((z||L.schema).$_createError(H,X,ae,L.state,E)),message:(H,ae)=>(z||L.schema).$_createError("external",X,ae,L.state,E,{messages:H})});if(void 0===Y||Y===X)continue;if(Y instanceof S.Report){if(T.tracer.log(L.schema,L.state,"rule","external","error"),I.push(Y),E.abortEarly)break;continue}if(Array.isArray(Y)&&Y[_.symbols.errors]){if(T.tracer.log(L.schema,L.state,"rule","external","error"),I.push(...Y),E.abortEarly)break;continue}q?(T.tracer.value(L.state,"rule",X,Y,"external"),q[F]=Y):(T.tracer.value(L.state,"rule",N,Y,"external"),N=Y)}catch(ne){throw E.errors.label&&(ne.message+=` (${L.label})`),ne}}if(A.value=N,I.length)throw A.error=S.process(I,C,E),T.debug&&(A.error.debug=T.debug),A.error}if(!E.warnings&&!E.debug&&!E.artifacts)return A.value;const R={value:A.value};return T.warnings.length&&(R.warning=S.details(T.warnings)),T.debug&&(R.debug=T.debug),T.artifacts&&(R.artifacts=T.artifacts),R});return function(C,v,M){return h.apply(this,arguments)}}(),m.Mainstay=class{constructor(h,C,v){this.externals=[],this.warnings=[],this.tracer=h,this.debug=C,this.links=v,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const h=this._snapshots.pop();this.externals=h.externals,this.warnings=h.warnings}commit(){this._snapshots.pop()}},m.entry=function(h,C,v){const{tracer:M,cleanup:E}=m.tracer(C,v),R=new m.Mainstay(M,v.debug?[]:null,C._ids._schemaChain?new Map:null),I=new y([],[],{mainstay:R,schemas:C._ids._schemaChain?[{schema:C}]:null}),L=a.validate(h,C,I,v);E&&C.$_root.untrace();const O=S.process(L.errors,h,v);return{value:L.value,error:O,mainstay:R}},m.tracer=function(h,C){return h.$_root._tracer?{tracer:h.$_root._tracer._register(h)}:C.debug?(c(h.$_root.trace,"Debug mode not supported"),{tracer:h.$_root.trace()._register(h),cleanup:!0}):{tracer:m.ignore}},a.validate=function(h,C,v,M,E={}){if(C.$_terms.whens&&(C=C._generate(h,v,M).schema),C._preferences&&(M=m.prefs(C,M)),C._cache&&M.cache){const O=C._cache.get(h);if(v.mainstay.tracer.debug(v,"validate","cached",!!O),O)return O}const A=(O,z,F)=>C.$_createError(O,h,z,F||v,M),T={original:h,prefs:M,schema:C,state:v,error:A,errorsArray:m.errorsArray,warn:(O,z,F)=>v.mainstay.warnings.push(A(O,z,F)),message:(O,z)=>C.$_createError("custom",h,z,v,M,{messages:O})};v.mainstay.tracer.entry(C,v);const R=C._definition;if(R.prepare&&void 0!==h&&M.convert){const O=R.prepare(h,T);if(O){if(v.mainstay.tracer.value(v,"prepare",h,O.value),O.errors)return m.finalize(O.value,[].concat(O.errors),T);h=O.value}}if(R.coerce&&void 0!==h&&M.convert&&(!R.coerce.from||R.coerce.from.includes(typeof h))){const O=R.coerce.method(h,T);if(O){if(v.mainstay.tracer.value(v,"coerced",h,O.value),O.errors)return m.finalize(O.value,[].concat(O.errors),T);h=O.value}}const N=C._flags.empty;N&&N.$_match(m.trim(h,C),v.nest(N),_.defaults)&&(v.mainstay.tracer.value(v,"empty",h,void 0),h=void 0);const I=E.presence||C._flags.presence||(C._flags._endedSwitch?null:M.presence);if(void 0===h){if("forbidden"===I)return m.finalize(h,null,T);if("required"===I)return m.finalize(h,[C.$_createError("any.required",h,null,v,M)],T);if("optional"===I){if(C._flags.default!==_.symbols.deepDefault)return m.finalize(h,null,T);v.mainstay.tracer.value(v,"default",h,{}),h={}}}else if("forbidden"===I)return m.finalize(h,[C.$_createError("any.unknown",h,null,v,M)],T);const L=[];if(C._valids){const O=C._valids.get(h,v,M,C._flags.insensitive);if(O)return M.convert&&(v.mainstay.tracer.value(v,"valids",h,O.value),h=O.value),v.mainstay.tracer.filter(C,v,"valid",O),m.finalize(h,null,T);if(C._flags.only){const z=C.$_createError("any.only",h,{valids:C._valids.values({display:!0})},v,M);if(M.abortEarly)return m.finalize(h,[z],T);L.push(z)}}if(C._invalids){const O=C._invalids.get(h,v,M,C._flags.insensitive);if(O){v.mainstay.tracer.filter(C,v,"invalid",O);const z=C.$_createError("any.invalid",h,{invalids:C._invalids.values({display:!0})},v,M);if(M.abortEarly)return m.finalize(h,[z],T);L.push(z)}}if(R.validate){const O=R.validate(h,T);if(O&&(v.mainstay.tracer.value(v,"base",h,O.value),h=O.value,O.errors)){if(!Array.isArray(O.errors))return L.push(O.errors),m.finalize(h,L,T);if(O.errors.length)return L.push(...O.errors),m.finalize(h,L,T)}}return C._rules.length?m.rules(h,L,T):m.finalize(h,L,T)},m.rules=function(h,C,v){const{schema:M,state:E,prefs:A}=v;for(const T of M._rules){const R=M._definition.rules[T.method];if(R.convert&&A.convert){E.mainstay.tracer.log(M,E,"rule",T.name,"full");continue}let N,I=T.args;if(T._resolve.length){I=Object.assign({},I);for(const O of T._resolve){const z=R.argsByName.get(O),F=I[O].resolve(h,E,A),q=z.normalize?z.normalize(F):F,X=_.validateArg(q,null,z);if(X){N=M.$_createError("any.ref",F,{arg:O,ref:I[O],reason:X},E,A);break}I[O]=q}}N=N||R.validate(h,v,I,T);const L=m.rule(N,T);if(L.errors){if(E.mainstay.tracer.log(M,E,"rule",T.name,"error"),T.warn){E.mainstay.warnings.push(...L.errors);continue}if(A.abortEarly)return m.finalize(h,L.errors,v);C.push(...L.errors)}else E.mainstay.tracer.log(M,E,"rule",T.name,"pass"),E.mainstay.tracer.value(E,"rule",h,L.value,T.name),h=L.value}return m.finalize(h,C,v)},m.rule=function(h,C){return h instanceof S.Report?(m.error(h,C),{errors:[h],value:null}):Array.isArray(h)&&h[_.symbols.errors]?(h.forEach(v=>m.error(v,C)),{errors:h,value:null}):{errors:null,value:h}},m.error=function(h,C){return C.message&&h._setTemplate(C.message),h},m.finalize=function(h,C,v){C=C||[];const{schema:M,state:E,prefs:A}=v;if(C.length){const R=m.default("failover",void 0,C,v);void 0!==R&&(E.mainstay.tracer.value(E,"failover",h,R),h=R,C=[])}if(C.length&&M._flags.error)if("function"==typeof M._flags.error){C=M._flags.error(C),Array.isArray(C)||(C=[C]);for(const R of C)c(R instanceof Error||R instanceof S.Report,"error() must return an Error object")}else C=[M._flags.error];if(void 0===h){const R=m.default("default",h,C,v);E.mainstay.tracer.value(E,"default",h,R),h=R}if(M._flags.cast&&void 0!==h){const R=M._definition.cast[M._flags.cast];if(R.from(h)){const N=R.to(h,v);E.mainstay.tracer.value(E,"cast",h,N,M._flags.cast),h=N}}if(M.$_terms.externals&&A.externals&&!1!==A._externals)for(const{method:R}of M.$_terms.externals)E.mainstay.externals.push({method:R,schema:M,state:E,label:S.label(M._flags,E,A)});const T={value:h,errors:C.length?C:null};return M._flags.result&&(T.value="strip"===M._flags.result?void 0:v.original,E.mainstay.tracer.value(E,M._flags.result,h,T.value),E.shadow(h,M._flags.result)),M._cache&&!1!==A.cache&&!M._refs.length&&M._cache.set(v.original,T),void 0===h||T.errors||void 0===M._flags.artifact||(E.mainstay.artifacts=E.mainstay.artifacts||new Map,E.mainstay.artifacts.has(M._flags.artifact)||E.mainstay.artifacts.set(M._flags.artifact,[]),E.mainstay.artifacts.get(M._flags.artifact).push(E.path)),T},m.prefs=function(h,C){const v=C===_.defaults;return v&&h._preferences[_.symbols.prefs]?h._preferences[_.symbols.prefs]:(C=_.preferences(C,h._preferences),v&&(h._preferences[_.symbols.prefs]=C),C)},m.default=function(h,C,v,M){const{schema:E,state:A,prefs:T}=M,R=E._flags[h];if(T.noDefaults||void 0===R)return C;if(A.mainstay.tracer.log(E,A,"rule",h,"full"),!R)return R;if("function"==typeof R){const N=R.length?[l(A.ancestors[0]),M]:[];try{return R(...N)}catch(I){return void v.push(E.$_createError(`any.${h}`,null,{error:I},A,T))}}return"object"!=typeof R?R:R[_.symbols.literal]?R.literal:_.isResolvable(R)?R.resolve(C,A,T):l(R)},m.trim=function(h,C){if("string"!=typeof h)return h;const v=C.$_getRule("trim");return v&&v.args.enabled?h.trim():h},m.ignore={active:!1,debug:g,entry:g,filter:g,log:g,resolve:g,value:g},m.errorsArray=function(){const h=[];return h[_.symbols.errors]=!0,h}},2036:(u,a,e)=>{"use strict";const c=e(375),l=e(9474),g=e(8160),b={};u.exports=b.Values=class{constructor(_,S){this._values=new Set(_),this._refs=new Set(S),this._lowercase=b.lowercases(_),this._override=!1}get length(){return this._values.size+this._refs.size}add(_,S){g.isResolvable(_)?this._refs.has(_)||(this._refs.add(_),S&&S.register(_)):this.has(_,null,null,!1)||(this._values.add(_),"string"==typeof _&&this._lowercase.set(_.toLowerCase(),_))}static merge(_,S,y){if(_=_||new b.Values,S){if(S._override)return S.clone();for(const m of[...S._values,...S._refs])_.add(m)}if(y)for(const m of[...y._values,...y._refs])_.remove(m);return _.length?_:null}remove(_){g.isResolvable(_)?this._refs.delete(_):(this._values.delete(_),"string"==typeof _&&this._lowercase.delete(_.toLowerCase()))}has(_,S,y,m){return!!this.get(_,S,y,m)}get(_,S,y,m){if(!this.length)return!1;if(this._values.has(_))return{value:_};if("string"==typeof _&&_&&m){const h=this._lowercase.get(_.toLowerCase());if(h)return{value:h}}if(!this._refs.size&&"object"!=typeof _)return!1;if("object"==typeof _)for(const h of this._values)if(l(h,_))return{value:h};if(S)for(const h of this._refs){const C=h.resolve(_,S,y,null,{in:!0});if(void 0===C)continue;const v=h.in&&"object"==typeof C?Array.isArray(C)?C:Object.keys(C):[C];for(const M of v)if(typeof M==typeof _)if(m&&_&&"string"==typeof _){if(M.toLowerCase()===_.toLowerCase())return{value:M,ref:h}}else if(l(M,_))return{value:M,ref:h}}return!1}override(){this._override=!0}values(_){if(_&&_.display){const S=[];for(const y of[...this._values,...this._refs])void 0!==y&&S.push(y);return S}return Array.from([...this._values,...this._refs])}clone(){const _=new b.Values(this._values,this._refs);return _._override=this._override,_}concat(_){c(!_._override,"Cannot concat override set of values");const S=new b.Values([...this._values,..._._values],[...this._refs,..._._refs]);return S._override=this._override,S}describe(){const _=[];this._override&&_.push({override:!0});for(const S of this._values.values())_.push(S&&"object"==typeof S?{value:S}:S);for(const S of this._refs.values())_.push(S.describe());return _}},b.Values.prototype[g.symbols.values]=!0,b.Values.prototype.slice=b.Values.prototype.clone,b.lowercases=function(_){const S=new Map;if(_)for(const y of _)"string"==typeof y&&S.set(y.toLowerCase(),y);return S}},978:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(1687),b=e(9621),_={};u.exports=function(S,y,m={}){if(c(S&&"object"==typeof S,"Invalid defaults value: must be an object"),c(!y||!0===y||"object"==typeof y,"Invalid source value: must be true, falsy or an object"),c("object"==typeof m,"Invalid options: must be an object"),!y)return null;if(m.shallow)return _.applyToDefaultsWithShallow(S,y,m);const h=l(S);return!0===y?h:g(h,y,{nullOverride:void 0!==m.nullOverride&&m.nullOverride,mergeArrays:!1})},_.applyToDefaultsWithShallow=function(S,y,m){const h=m.shallow;c(Array.isArray(h),"Invalid keys");const C=new Map,v=!0===y?null:new Set;for(let A of h){A=Array.isArray(A)?A:A.split(".");const T=b(S,A);T&&"object"==typeof T?C.set(T,v&&b(y,A)||T):v&&v.add(A)}const M=l(S,{},C);if(!v)return M;for(const A of v)_.reachCopy(M,y,A);return g(M,y,{nullOverride:void 0!==m.nullOverride&&m.nullOverride,mergeArrays:!1})},_.reachCopy=function(S,y,m){for(const v of m){if(!(v in y))return;const M=y[v];if("object"!=typeof M||null===M)return;y=M}const h=y;let C=S;for(let v=0;v{"use strict";const c=e(7916);u.exports=function(l,...g){if(!l)throw 1===g.length&&g[0]instanceof Error?g[0]:new c(g)}},8571:(u,a,e)=>{"use strict";const c=e(9621),l=e(4277),g=e(7043),b={needsProtoHack:new Set([l.set,l.map,l.weakSet,l.weakMap])};u.exports=b.clone=function(_,S={},y=null){if("object"!=typeof _||null===_)return _;let m=b.clone,h=y;if(S.shallow){if(!0!==S.shallow)return b.cloneWithShallow(_,S);m=E=>E}else if(h){const E=h.get(_);if(E)return E}else h=new Map;const C=l.getInternalProto(_);if(C===l.buffer)return!1;if(C===l.date)return new Date(_.getTime());if(C===l.regex)return new RegExp(_);const v=b.base(_,C,S);if(v===_)return _;if(h&&h.set(_,v),C===l.set)for(const E of _)v.add(m(E,S,h));else if(C===l.map)for(const[E,A]of _)v.set(E,m(A,S,h));const M=g.keys(_,S);for(const E of M){if("__proto__"===E)continue;if(C===l.array&&"length"===E){v.length=_.length;continue}const A=Object.getOwnPropertyDescriptor(_,E);A?A.get||A.set?Object.defineProperty(v,E,A):A.enumerable?v[E]=m(_[E],S,h):Object.defineProperty(v,E,{enumerable:!1,writable:!0,configurable:!0,value:m(_[E],S,h)}):Object.defineProperty(v,E,{enumerable:!0,writable:!0,configurable:!0,value:m(_[E],S,h)})}return v},b.cloneWithShallow=function(_,S){const y=S.shallow;(S=Object.assign({},S)).shallow=!1;const m=new Map;for(const h of y){const C=c(_,h);"object"!=typeof C&&"function"!=typeof C||m.set(C,C)}return b.clone(_,S,m)},b.base=function(_,S,y){if(!1===y.prototype)return b.needsProtoHack.has(S)?new S.constructor:S===l.array?[]:{};const m=Object.getPrototypeOf(_);if(m&&m.isImmutable)return _;if(S===l.array){const h=[];return m!==S&&Object.setPrototypeOf(h,m),h}if(b.needsProtoHack.has(S)){const h=new m.constructor;return m!==S&&Object.setPrototypeOf(h,m),h}return Object.create(m)}},9474:(u,a,e)=>{"use strict";const c=e(4277),l={mismatched:null};u.exports=function(g,b,_){return _=Object.assign({prototype:!0},_),!!l.isDeepEqual(g,b,_,[])},l.isDeepEqual=function(g,b,_,S){if(g===b)return 0!==g||1/g==1/b;const y=typeof g;if(y!==typeof b||null===g||null===b)return!1;if("function"===y){if(!_.deepFunction||g.toString()!==b.toString())return!1}else if("object"!==y)return g!=g&&b!=b;const m=l.getSharedType(g,b,!!_.prototype);switch(m){case c.buffer:return!1;case c.promise:return g===b;case c.regex:return g.toString()===b.toString();case l.mismatched:return!1}for(let h=S.length-1;h>=0;--h)if(S[h].isSame(g,b))return!0;S.push(new l.SeenEntry(g,b));try{return!!l.isDeepEqualObj(m,g,b,_,S)}finally{S.pop()}},l.getSharedType=function(g,b,_){if(_)return Object.getPrototypeOf(g)!==Object.getPrototypeOf(b)?l.mismatched:c.getInternalProto(g);const S=c.getInternalProto(g);return S!==c.getInternalProto(b)?l.mismatched:S},l.valueOf=function(g){const b=g.valueOf;if(void 0===b)return g;try{return b.call(g)}catch(_){return _}},l.hasOwnEnumerableProperty=function(g,b){return Object.prototype.propertyIsEnumerable.call(g,b)},l.isSetSimpleEqual=function(g,b){for(const _ of Set.prototype.values.call(g))if(!Set.prototype.has.call(b,_))return!1;return!0},l.isDeepEqualObj=function(g,b,_,S,y){const{isDeepEqual:m,valueOf:h,hasOwnEnumerableProperty:C}=l,{keys:v,getOwnPropertySymbols:M}=Object;if(g===c.array){if(!S.part){if(b.length!==_.length)return!1;for(let N=0;N{"use strict";const c=e(8761);u.exports=class extends Error{constructor(l){super(l.filter(g=>""!==g).map(g=>"string"==typeof g?g:g instanceof Error?g.message:c(g)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,a.assert)}}},5277:u=>{"use strict";const a={};u.exports=function(e){if(!e)return"";let c="";for(let l=0;l=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},a.isSafe=function(e){return a.safeCharCodes.has(e)},a.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),a.safeCharCodes=function(){const e=new Set;for(let c=32;c<123;++c)(c>=97||c>=65&&c<=90||c>=48&&c<=57||32===c||46===c||44===c||45===c||58===c||95===c)&&e.add(c);return e}()},6064:u=>{"use strict";u.exports=function(a){return a.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:u=>{"use strict";u.exports=function(){}},1687:(u,a,e)=>{"use strict";const c=e(375),l=e(8571),g=e(7043),b={};u.exports=b.merge=function(_,S,y){if(c(_&&"object"==typeof _,"Invalid target value: must be an object"),c(null==S||"object"==typeof S,"Invalid source value: must be null, undefined, or an object"),!S)return _;if(y=Object.assign({nullOverride:!0,mergeArrays:!0},y),Array.isArray(S)){c(Array.isArray(_),"Cannot merge array onto an object"),y.mergeArrays||(_.length=0);for(let h=0;h{"use strict";const c=e(375),l={};u.exports=function(g,b,_){if(!1===b||null==b)return g;"string"==typeof(_=_||{})&&(_={separator:_});const S=Array.isArray(b);c(!S||!_.separator,"Separator option is not valid for array-based chain");const y=S?b:b.split(_.separator||".");let m=g;for(let h=0;h{"use strict";u.exports=function(...a){try{return JSON.stringify(...a)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(u,a)=>{"use strict";const e={};a=u.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},e.typeMap=new Map([["[object Error]",a.error],["[object Map]",a.map],["[object Promise]",a.promise],["[object Set]",a.set],["[object WeakMap]",a.weakMap],["[object WeakSet]",a.weakSet]]),a.getInternalProto=function(c){if(Array.isArray(c))return a.array;if(c instanceof Date)return a.date;if(c instanceof RegExp)return a.regex;if(c instanceof Error)return a.error;const l=Object.prototype.toString.call(c);return e.typeMap.get(l)||a.generic}},7043:(u,a)=>{"use strict";a.keys=function(e,c={}){return!1!==c.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(u,a,e)=>{"use strict";const c=e(375),l={};a.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(g,b){const _=[].concat((b=b||{}).before||[]),S=[].concat(b.after||[]),y=b.group||"?",m=b.sort||0;c(!_.includes(y),`Item cannot come before itself: ${y}`),c(!_.includes("?"),"Item cannot come before unassociated items"),c(!S.includes(y),`Item cannot come after itself: ${y}`),c(!S.includes("?"),"Item cannot come after unassociated items"),Array.isArray(g)||(g=[g]);for(const h of g)this._items.push({seq:this._items.length,sort:m,before:_,after:S,group:y,node:h});if(!b.manual){const h=this._sort();c(h,"item","?"!==y?`added into group ${y}`:"","created a dependencies error")}return this.nodes}merge(g){Array.isArray(g)||(g=[g]);for(const _ of g)if(_)for(const S of _._items)this._items.push(Object.assign({},S));this._items.sort(l.mergeSort);for(let _=0;_g.sort===b.sort?0:g.sort{"use strict";const c=e(443),l=e(2178),g={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:c.URL||URL};a.analyze=function(b,_={}){if(!b)return l.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof b)throw new Error("Invalid input: domain must be a string");if(b.length>256)return l.code("DOMAIN_TOO_LONG");if(g.nonAsciiRx.test(b)){if(!1===_.allowUnicode)return l.code("DOMAIN_INVALID_UNICODE_CHARS");b=b.normalize("NFC")}if(g.domainControlRx.test(b))return l.code("DOMAIN_INVALID_CHARS");b=g.punycode(b),_.allowFullyQualified&&"."===b[b.length-1]&&(b=b.slice(0,-1));const S=_.minDomainSegments||g.minDomainSegments,y=b.split(".");if(y.length_.maxDomainSegments)return l.code("DOMAIN_SEGMENTS_COUNT_MAX");const m=_.tlds;if(m){const h=y[y.length-1].toLowerCase();if(m.deny&&m.deny.has(h)||m.allow&&!m.allow.has(h))return l.code("DOMAIN_FORBIDDEN_TLDS")}for(let h=0;h63)return l.code("DOMAIN_LONG_SEGMENT");if(h{"use strict";const c=e(9848),l=e(5380),g=e(2178),b={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(c.TextEncoder||TextEncoder)};a.analyze=function(_,S){return b.email(_,S)},a.isValid=function(_,S){return!b.email(_,S)},b.email=function(_,S={}){if("string"!=typeof _)throw new Error("Invalid input: email must be a string");if(!_)return g.code("EMPTY_STRING");const y=!b.nonAsciiRx.test(_);if(!y){if(!1===S.allowUnicode)return g.code("FORBIDDEN_UNICODE");_=_.normalize("NFC")}const m=_.split("@");if(2!==m.length)return g.code(m.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[h,C]=m;if(!h)return g.code("EMPTY_LOCAL");if(!S.ignoreLength){if(_.length>254)return g.code("ADDRESS_TOO_LONG");if(b.encoder.encode(h).length>64)return g.code("LOCAL_TOO_LONG")}return b.local(h,y)||l.analyze(C,S)},b.local=function(_,S){const y=_.split(".");for(const m of y){if(!m.length)return g.code("EMPTY_LOCAL_SEGMENT");if(S){if(!b.atextRx.test(m))return g.code("INVALID_LOCAL_CHARS")}else for(const h of m){if(b.atextRx.test(h))continue;const C=b.binary(h);if(!b.atomRx.test(C))return g.code("INVALID_LOCAL_CHARS")}}},b.binary=function(_){return Array.from(b.encoder.encode(_)).map(S=>String.fromCharCode(S)).join("")},b.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,b.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},2178:(u,a)=>{"use strict";a.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},a.code=function(e){return{code:e,error:a.codes[e]}}},9959:(u,a,e)=>{"use strict";const c=e(375),l=e(5752);a.regex=function(g={}){c(void 0===g.cidr||"string"==typeof g.cidr,"options.cidr must be a string");const b=g.cidr?g.cidr.toLowerCase():"optional";c(["required","optional","forbidden"].includes(b),"options.cidr must be one of required, optional, forbidden"),c(void 0===g.version||"string"==typeof g.version||Array.isArray(g.version),"options.version must be a string or an array of string");let _=g.version||["ipv4","ipv6","ipvfuture"];Array.isArray(_)||(_=[_]),c(_.length>=1,"options.version must have at least 1 version specified");for(let m=0;m<_.length;++m)c("string"==typeof _[m],"options.version must only contain strings"),_[m]=_[m].toLowerCase(),c(["ipv4","ipv6","ipvfuture"].includes(_[m]),"options.version contains unknown version "+_[m]+" - must be one of ipv4, ipv6, ipvfuture");_=Array.from(new Set(_));const S=`(?:${_.map(m=>{if("forbidden"===b)return l.ip[m];const h=`\\/${"ipv4"===m?l.ip.v4Cidr:l.ip.v6Cidr}`;return"required"===b?`${l.ip[m]}${h}`:`${l.ip[m]}(?:${h})?`}).join("|")})`,y=new RegExp(`^${S}$`);return{cidr:b,versions:_,regex:y,raw:S}}},5752:(u,a,e)=>{"use strict";const c=e(375),l=e(6064),g={generate:function(){const b={},_="\\dA-Fa-f",S="["+_+"]",y="\\w-\\.~",m="!\\$&'\\(\\)\\*\\+,;=",h="%"+_,C=y+h+m+":@",v="["+C+"]",M="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";b.ipv4address="(?:"+M+"\\.){3}"+M;const E=S+"{1,4}",A="(?:"+E+":"+E+"|"+b.ipv4address+")",T="(?:"+E+":){6}"+A,R="::(?:"+E+":){5}"+A,N="(?:"+E+")?::(?:"+E+":){4}"+A,I="(?:(?:"+E+":){0,1}"+E+")?::(?:"+E+":){3}"+A,L="(?:(?:"+E+":){0,2}"+E+")?::(?:"+E+":){2}"+A,O="(?:(?:"+E+":){0,3}"+E+")?::"+E+":"+A,z="(?:(?:"+E+":){0,4}"+E+")?::"+A,F="(?:(?:"+E+":){0,5}"+E+")?::"+E,q="(?:(?:"+E+":){0,6}"+E+")?::";b.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",b.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",b.ipv6address="(?:"+T+"|"+R+"|"+N+"|"+I+"|"+L+"|"+O+"|"+z+"|"+F+"|"+q+")",b.ipvFuture="v"+S+"+\\.["+y+m+":]+",b.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",b.schemeRegex=new RegExp(b.scheme);const X="["+y+h+m+":]*",K="(?:\\[(?:"+b.ipv6address+"|"+b.ipvFuture+")\\]|"+b.ipv4address+"|["+y+h+m+"]{1,255})",ne="(?:"+X+"@)?"+K+"(?::\\d*)?",Y="(?:"+X+"@)?("+K+")(?::\\d*)?",H=v+"*",ae=v+"+",re="(?:\\/"+H+")*",W="\\/(?:"+ae+re+")?",ee=ae+re,J="["+y+h+m+"@]+"+re;return b.hierPart="(?:(?:\\/\\/"+ne+re+")|"+W+"|"+ee+"|(?:\\/\\/\\/"+H+re+"))",b.hierPartCapture="(?:(?:\\/\\/"+Y+re+")|"+W+"|"+ee+")",b.relativeRef="(?:(?:\\/\\/"+ne+re+")|"+W+"|"+J+"|)",b.relativeRefCapture="(?:(?:\\/\\/"+Y+re+")|"+W+"|"+J+"|)",b.query="["+C+"\\/\\?]*(?=#|$)",b.queryWithSquareBrackets="["+C+"\\[\\]\\/\\?]*(?=#|$)",b.fragment="["+C+"\\/\\?]*",b}};g.rfc3986=g.generate(),a.ip={v4Cidr:g.rfc3986.ipv4Cidr,v6Cidr:g.rfc3986.ipv6Cidr,ipv4:g.rfc3986.ipv4address,ipv6:g.rfc3986.ipv6address,ipvfuture:g.rfc3986.ipvFuture},g.createRegex=function(b){const _=g.rfc3986,S="(?:\\?"+(b.allowQuerySquareBrackets?_.queryWithSquareBrackets:_.query)+")?(?:#"+_.fragment+")?",y=b.domain?_.relativeRefCapture:_.relativeRef;if(b.relativeOnly)return g.wrap(y+S);let m="";if(b.scheme){c(b.scheme instanceof RegExp||"string"==typeof b.scheme||Array.isArray(b.scheme),"scheme must be a RegExp, String, or Array");const v=[].concat(b.scheme);c(v.length>=1,"scheme must have at least 1 scheme specified");const M=[];for(let E=0;E{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};a.Parser=class{constructor(c,l={}){if(!l[e.settings]&&l.constants)for(const g in l.constants){const b=l.constants[g];if(null!==b&&!["boolean","number","string"].includes(typeof b))throw new Error(`Formula constant ${g} contains invalid ${typeof b} value type`)}this.settings=l[e.settings]?l:Object.assign({[e.settings]:!0,constants:{},functions:{}},l),this.single=null,this._parts=null,this._parse(c)}_parse(c){let l=[],g="",b=0,_=!1;const S=m=>{if(b)throw new Error("Formula missing closing parenthesis");const h=l.length?l[l.length-1]:null;if(_||g||m){if(h&&"reference"===h.type&&")"===m)return h.type="function",h.value=this._subFormula(g,h.value),void(g="");if(")"===m){const C=new a.Parser(g,this.settings);l.push({type:"segment",value:C})}else if(_){if("]"===_)return l.push({type:"reference",value:g}),void(g="");l.push({type:"literal",value:g})}else if(e.operatorCharacters.includes(g))h&&"operator"===h.type&&e.operators.includes(h.value+g)?h.value+=g:l.push({type:"operator",value:g});else if(g.match(e.numberRx))l.push({type:"constant",value:parseFloat(g)});else if(void 0!==this.settings.constants[g])l.push({type:"constant",value:this.settings.constants[g]});else{if(!g.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${g}`);l.push({type:"reference",value:g})}g=""}};for(const m of c)_?m===_?(S(),_=!1):g+=m:b?"("===m?(g+=m,++b):")"===m?(--b,b?g+=m:S(m)):g+=m:m in e.literals?_=e.literals[m]:"("===m?(S(),++b):e.operatorCharacters.includes(m)?(S(),g=m,S()):" "!==m?g+=m:S();S(),l=l.map((m,h)=>"operator"!==m.type||"-"!==m.value||h&&"operator"!==l[h-1].type?m:{type:"operator",value:"n"});let y=!1;for(const m of l){if("operator"===m.type){if(e.operatorsPrefix.includes(m.value))continue;if(!y)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(m.value))throw new Error(`Formula contains an unknown operator ${m.value}`)}else if(y)throw new Error("Formula missing expected operator");y=!y}if(!y)throw new Error("Formula contains invalid trailing operator");1===l.length&&["reference","literal","constant"].includes(l[0].type)&&(this.single={type:"reference"===l[0].type?"reference":"value",value:l[0].value}),this._parts=l.map(m=>{if("operator"===m.type)return e.operatorsPrefix.includes(m.value)?m:m.value;if("reference"!==m.type)return m.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(m.value))throw new Error(`Formula contains invalid reference ${m.value}`);return this.settings.reference?this.settings.reference(m.value):e.reference(m.value)})}_subFormula(c,l){const g=this.settings.functions[l];if("function"!=typeof g)throw new Error(`Formula contains unknown function ${l}`);let b=[];if(c){let _="",S=0,y=!1;const m=()=>{if(!_)throw new Error(`Formula contains function ${l} with invalid arguments ${c}`);b.push(_),_=""};for(let h=0;hnew a.Parser(_,this.settings)),function(_){const S=[];for(const y of b)S.push(y.evaluate(_));return g.call(_,...S)}}evaluate(c){const l=this._parts.slice();for(let g=l.length-2;g>=0;--g){const b=l[g];if(b&&"operator"===b.type){const _=l[g+1];l.splice(g+1,1);const S=e.evaluate(_,c);l[g]=e.single(b.value,S)}}return e.operatorsOrder.forEach(g=>{for(let b=1;b":return l>g;case">=":return l>=g;case"==":return l===g;case"!=":return l!==g;case"&&":return l&&g;case"||":return l||g}return null},e.exists=function(c){return null!=c}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:u=>{"use strict";u.exports=JSON.parse('{"version":"17.12.2"}')}},d={},function u(a){var e=d[a];if(void 0!==e)return e.exports;var c=d[a]={exports:{}};return i[a](c,c.exports,u),c.exports}(5107))},94091:function(ve,f,o){var n,i,d,u,a;u=this,a=function(u){var a=!1,e=!1,c=!1,l=!1,g="escape years months weeks days hours minutes seconds milliseconds general".split(" "),b=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function _(ye,le){return!(le.length>ye.length)&&-1!==ye.indexOf(le)}function S(ye){for(var le="";ye;)le+="0",ye-=1;return le}function m(ye,le){var $e=ye+"+"+L(ne(le).sort(),function(qe){return qe+":"+le[qe]}).join(",");return m.cache[$e]||(m.cache[$e]=Intl.NumberFormat(ye,le)),m.cache[$e]}function h(ye,le,Me){var $e=le.useToLocaleString,qe=le.useGrouping,tt=qe&&le.grouping.slice(),mt=le.maximumSignificantDigits,st=le.minimumIntegerDigits||1,ft=le.fractionDigits||0,Qt=le.groupingSeparator,bt=le.decimalSeparator;if($e&&Me){var sn,Vt={minimumIntegerDigits:st,useGrouping:qe};return ft&&(Vt.maximumFractionDigits=ft,Vt.minimumFractionDigits=ft),mt&&ye>0&&(Vt.maximumSignificantDigits=mt),c?(l||((sn=K({},le)).useGrouping=!1,sn.decimalSeparator=".",ye=parseFloat(h(ye,sn),10)),m(Me,Vt).format(ye)):(e||((sn=K({},le)).useGrouping=!1,sn.decimalSeparator=".",ye=parseFloat(h(ye,sn),10)),ye.toLocaleString(Me,Vt))}var wn,An,vn,qt=(mt?ye.toPrecision(mt+1):ye.toFixed(ft+1)).split("e");vn=qt[1]||"";var ut=(wn=(qt=qt[0].split("."))[0]||"").length,Ue=(An=qt[1]||"").length,De=ut+Ue,Pe=wn+An;(mt&&De===mt+1||!mt&&Ue===ft+1)&&(Pe=function y(ye){for(var le=ye.split("").reverse(),Me=0,$e=!0;$e&&Me0?An.length<=Qe?(wn+=An+=S(Qe-An.length),An=""):(wn+=An.slice(0,Qe),An=An.slice(Qe)):Qe<0&&(An=S(Math.abs(Qe)-wn.length)+wn+An,wn="0"),mt||((An=An.slice(0,ft)).lengthle.label.length?-1:ye.label.length0,He=lt?le.precision:0,gt=He,dt=le.minValue,Mt=!1,nt=le.maxValue,$t=!1,pt=le.useToLocaleString,Tt=le.groupingSeparator,Ut=le.decimalSeparator,Zt=le.grouping;pt=pt&&(a||c);var Dt=le.trim;A(Dt)&&(Dt=Dt.join(" ")),null===Dt&&(wn||nt||lt)&&(Dt="all"),(null===Dt||!0===Dt||"left"===Dt||"right"===Dt)&&(Dt="large"),!1===Dt&&(Dt="");var zt=function(en){return en.test(Dt)},tn=/both/,Tn=/^all|[^sm]all/,tr=wn>0||Y([/large/,tn,Tn],zt),Ir=Y([/small/,tn,Tn],zt),Rr=Y([/mid/,Tn],zt),ar=Y([/final/,Tn],zt),yr=L(Vt.match(bt),function(en,jn){var Zn=Qt(en);return"*"===en.slice(0,1)&&(en=en.slice(1),"escape"!==Zn&&"general"!==Zn&&An.push(Zn)),{index:jn,length:en.length,text:"",token:"escape"===Zn?en.replace(ft.escape,"$1"):en,type:"escape"===Zn||"general"===Zn?null:Zn}}),_r={index:0,length:0,token:"",text:"",type:null},qn=[];ut&&yr.reverse(),I(yr,function(en){if(en.type)return(_r.type||_r.text)&&qn.push(_r),void(_r=en);ut?_r.text=en.token+_r.text:_r.text+=en.token}),(_r.type||_r.text)&&qn.push(_r),ut&&qn.reverse();var Fn=q(g,F(z(O(qn,"type"))));if(!Fn.length)return O(qn,"text").join("");Fn=L(Fn,function(en,jn){var si,Zn=jn+1===Fn.length,sr=!jn;si="years"===en||"months"===en?mt.as(en):tt.as(en);var kr=Math.floor(si),ot=si-kr,Ot=N(qn,function(It){return en===It.type});return sr&&nt&&si>nt&&($t=!0),Zn&&dt&&Math.abs(le.duration.as(en))1&&(Pe=!0),tt.subtract(kr,en),mt.subtract(kr,en),{rawValue:si,wholeValue:kr,decimalValue:Zn?ot:0,isSmallest:Zn,isLargest:sr,type:en,tokenLength:Ot.length}});var oi=Re?Math.floor:Math.round,vr=function(en,jn){var Zn=Math.pow(10,jn);return oi(en*Zn)/Zn},Mr=!1,Qn=!1,er=function(en,jn){var Zn={useGrouping:Qe,groupingSeparator:Tt,decimalSeparator:Ut,grouping:Zt,useToLocaleString:pt};return lt&&(He<=0?(en.rawValue=0,en.wholeValue=0,en.decimalValue=0):(Zn.maximumSignificantDigits=He,en.significantDigits=He)),$t&&!Qn&&(en.isLargest?(en.wholeValue=nt,en.decimalValue=0):(en.wholeValue=0,en.decimalValue=0)),Mt&&!Qn&&(en.isSmallest?(en.wholeValue=dt,en.decimalValue=0):(en.wholeValue=0,en.decimalValue=0)),en.isSmallest||en.significantDigits&&en.significantDigits-en.wholeValue.toString().length<=0?De<0?en.value=vr(en.wholeValue,De):0===De?en.value=oi(en.wholeValue+en.decimalValue):lt?(en.value=Re?vr(en.rawValue,He-en.wholeValue.toString().length):en.rawValue,en.wholeValue&&(He-=en.wholeValue.toString().length)):(Zn.fractionDigits=De,en.value=Re?en.wholeValue+vr(en.decimalValue,De):en.wholeValue+en.decimalValue):lt&&en.wholeValue?(en.value=Math.round(vr(en.wholeValue,en.significantDigits-en.wholeValue.toString().length)),He-=en.wholeValue.toString().length):en.value=en.wholeValue,en.tokenLength>1&&(Pe||Mr)&&(Zn.minimumIntegerDigits=en.tokenLength,Qn&&Zn.maximumSignificantDigits0||""===Dt||N(An,en.type)||N(sn,en.type))&&(Mr=!0),en.formattedValue=h(en.value,Zn,qt),Zn.useGrouping=!1,Zn.decimalSeparator=".",en.formattedValueEn=h(en.value,Zn,"en"),2===en.tokenLength&&"milliseconds"===en.type&&(en.formattedValueMS=h(en.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),en};if((Fn=z(Fn=L(Fn,er))).length>1){var xr=function(en){return N(Fn,function(jn){return jn.type===en})};I(b,function(en){var jn=xr(en.type);jn&&I(en.targets,function(Zn){var sr=xr(Zn.type);sr&&parseInt(jn.formattedValueEn,10)===Zn.value&&(jn.rawValue=0,jn.wholeValue=0,jn.decimalValue=0,sr.rawValue+=1,sr.wholeValue+=1,sr.decimalValue=0,sr.formattedValueEn=sr.wholeValue.toString(),Qn=!0)})})}return Qn&&(Mr=!1,He=gt,Fn=z(Fn=L(Fn,er))),!sn||$t&&!le.trim?(tr&&(Fn=X(Fn,function(en){return!en.isSmallest&&!en.wholeValue&&!N(An,en.type)})),wn&&Fn.length&&(Fn=Fn.slice(0,wn)),Ir&&Fn.length>1&&(Fn=function ce(ye,le){return X(ye.slice().reverse(),le).reverse()}(Fn,function(en){return!en.wholeValue&&!N(An,en.type)&&!en.isLargest})),Rr&&(Fn=z(Fn=L(Fn,function(en,jn){return jn>0&&jn ",$t=!1,Mt=!1),qe&&(jn.value>0||""===Dt||N(An,jn.type)||N(sn,jn.type))&&(Zn+="-",qe=!1),Zn+="milliseconds"===en.type&&jn.formattedValueMS?jn.formattedValueMS:jn.formattedValue,ut||(Zn+=en.text),Zn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function G(){var ye=this.duration,le=function(tt){return ye._data[tt]},Me=N(this.types,le),$e=function R(ye,le){for(var Me=ye.length;Me-=1;)if(le(ye[Me]))return ye[Me]}(this.types,le);switch(Me){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(Me===$e)return"d __";case"weeks":return Me===$e?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(Me===$e)return"M __";case"years":return Me===$e?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function de(ye){if(!ye)throw"Moment Duration Format init cannot find moment instance.";ye.duration.format=ee,ye.duration.fn.format=J,ye.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:G,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},ye.updateLocale("en",E)}var be=function(ye,le,Me){return ye.toLocaleString(le,Me)};a=function ae(){try{(0).toLocaleString("i")}catch(le){return"RangeError"===le.name}return!1}()&&W(be),e=a&&re(be);var Ae=function(ye,le,Me){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(le,Me).format(ye)};return c=W(Ae),l=c&&re(Ae),de(u),de},i=[o(35908)],void 0!==(d="function"==typeof(n=a)?n.apply(f,i):n)&&(ve.exports=d),u&&(u.momentDurationFormatSetup=u.moment?a(u.moment):a)},25140:function(ve,f,o){!function(n){"use strict";n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(d){return/^nm$/i.test(d)},meridiem:function(d,u,a){return d<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(1===d||8===d||d>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},17096:function(ve,f,o){!function(n){"use strict";var i=function(c){return 0===c?0:1===c?1:2===c?2:c%100>=3&&c%100<=10?3:c%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(c){return function(l,g,b,_){var S=i(l),y=d[c][i(l)];return 2===S&&(y=y[g?0:1]),y.replace(/%d/i,l)}},a=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,l,g){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(o(35908))},32200:function(ve,f,o){!function(n){"use strict";n.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(o(35908))},97252:function(ve,f,o){!function(n){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(l){return 0===l?0:1===l?1:2===l?2:l%100>=3&&l%100<=10?3:l%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(l){return function(g,b,_,S){var y=d(g),m=u[l][d(g)];return 2===y&&(m=m[b?0:1]),m.replace(/%d/i,g)}},e=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-ly",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,g,b){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(g){return i[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},39568:function(ve,f,o){!function(n){"use strict";n.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},13068:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(a){return"\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(a){return a.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return d[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},89052:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(a){return"\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(a){return a.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},93956:function(ve,f,o){!function(n){"use strict";n.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},17276:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(g){return function(b,_,S,y){var m=u(b),h=a[g][u(b)];return 2===m&&(h=h[_?0:1]),h.replace(/%d/i,b)}},c=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,b,_){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(b){return d[b]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(b){return i[b]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},88240:function(ve,f,o){!function(n){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(u){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(u)},meridiem:function(u,a,e){return u<4?"gec\u0259":u<12?"s\u0259h\u0259r":u<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(u){if(0===u)return u+"-\u0131nc\u0131";var a=u%10;return u+(i[a]||i[u%100-a]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},77796:function(ve,f,o){!function(n){"use strict";function d(a,e,c){return"m"===c?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===c?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":a+" "+function i(a,e){var c=a.split("_");return e%10==1&&e%100!=11?c[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?c[1]:c[2]}({ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[c],+a)}n.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(a){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(a)},meridiem:function(a,e,c){return a<4?"\u043d\u043e\u0447\u044b":a<12?"\u0440\u0430\u043d\u0456\u0446\u044b":a<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(a,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return a%10!=2&&a%10!=3||a%100==12||a%100==13?a+"-\u044b":a+"-\u0456";case"D":return a+"-\u0433\u0430";default:return a}},week:{dow:1,doy:7}})}(o(35908))},89880:function(ve,f,o){!function(n){"use strict";n.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,a=d%100;return 0===d?d+"-\u0435\u0432":0===a?d+"-\u0435\u043d":a>10&&a<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},84328:function(ve,f,o){!function(n){"use strict";n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(35908))},45104:function(ve,f,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(a){return a.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u09b0\u09be\u09a4"===e?a<4?a:a+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?a:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?a>=3?a:a+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u09b0\u09be\u09a4":a<6?"\u09ad\u09cb\u09b0":a<12?"\u09b8\u0995\u09be\u09b2":a<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":a<18?"\u09ac\u09bf\u0995\u09be\u09b2":a<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},60536:function(ve,f,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(a){return a.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u09b0\u09be\u09a4"===e&&a>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&a<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?a+12:a},meridiem:function(a,e,c){return a<4?"\u09b0\u09be\u09a4":a<10?"\u09b8\u0995\u09be\u09b2":a<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":a<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},51108:function(ve,f,o){!function(n){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(a){return a.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&a>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&a<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?a+12:a},meridiem:function(a,e,c){return a<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":a<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":a<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":a<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(o(35908))},51296:function(ve,f,o){!function(n){"use strict";function i(h,C,v){return h+" "+function a(h,C){return 2===C?function e(h){var C={m:"v",b:"v",d:"z"};return void 0===C[h.charAt(0)]?h:C[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[v],h)}function u(h){return h>9?u(h%10):h}var c=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,y=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:y,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:y,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function d(h){switch(u(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(h){return h+(1===h?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(h){return"g.m."===h},meridiem:function(h,C,v){return h<12?"a.m.":"g.m."}})}(o(35908))},2032:function(ve,f,o){!function(n){"use strict";function d(a,e,c){var l=a+" ";switch(c){case"ss":return l+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"mm":return l+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return"jedan sat";case"hh":return l+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return l+(1===a?"dan":"dana");case"MM":return l+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return l+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function i(a,e,c,l){if("m"===c)return e?"jedna minuta":l?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},20096:function(ve,f,o){!function(n){"use strict";n.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var a=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(a="a"),d+a},week:{dow:1,doy:4}})}(o(35908))},41152:function(ve,f,o){!function(n){"use strict";var i={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),u=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],a=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function e(g){return g>1&&g<5&&1!=~~(g/10)}function c(g,b,_,S){var y=g+" ";switch(_){case"s":return b||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return b||S?y+(e(g)?"sekundy":"sekund"):y+"sekundami";case"m":return b?"minuta":S?"minutu":"minutou";case"mm":return b||S?y+(e(g)?"minuty":"minut"):y+"minutami";case"h":return b?"hodina":S?"hodinu":"hodinou";case"hh":return b||S?y+(e(g)?"hodiny":"hodin"):y+"hodinami";case"d":return b||S?"den":"dnem";case"dd":return b||S?y+(e(g)?"dny":"dn\xed"):y+"dny";case"M":return b||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return b||S?y+(e(g)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):y+"m\u011bs\xedci";case"y":return b||S?"rok":"rokem";case"yy":return b||S?y+(e(g)?"roky":"let"):y+"lety"}}n.defineLocale("cs",{months:i,monthsShort:d,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},69568:function(ve,f,o){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(o(35908))},78875:function(ve,f,o){!function(n){"use strict";n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var a="";return d>20?a=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(a=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+a},week:{dow:1,doy:4}})}(o(35908))},45424:function(ve,f,o){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},72604:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return a?l[e][0]:l[e][1]}n.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},79168:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return a?l[e][0]:l[e][1]}n.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},20992:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return a?l[e][0]:l[e][1]}n.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},67300:function(ve,f,o){!function(n){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];n.defineLocale("dv",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(a){return"\u0789\u078a"===a},meridiem:function(a,e,c){return a<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(a){return a.replace(/\u060c/g,",")},postformat:function(a){return a.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(o(35908))},84400:function(ve,f,o){!function(n){"use strict";n.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(u,a){return u?"string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl[u.month()]:this._monthsNominativeEl[u.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(u,a,e){return u>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(u){return"\u03bc"===(u+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(u,a){var e=this._calendarEl[u],c=a&&a.hours();return function i(u){return typeof Function<"u"&&u instanceof Function||"[object Function]"===Object.prototype.toString.call(u)}(e)&&(e=e.apply(a)),e.replace("{}",c%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(o(35908))},83536:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:4}})}(o(35908))},39379:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(o(35908))},47032:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},71832:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},404:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(o(35908))},25716:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:6}})}(o(35908))},15312:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},53320:function(ve,f,o){!function(n){"use strict";n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},96392:function(ve,f,o){!function(n){"use strict";n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,u,a){return d>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(35908))},38540:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},93504:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},69224:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(o(35908))},41964:function(ve,f,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},90596:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[u+"sekundi",u+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[u+" minuti",u+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[u+" tunni",u+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[u+" kuu",u+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[u+" aasta",u+" aastat"]};return a?l[e][2]?l[e][2]:l[e][1]:c?l[e][0]:l[e][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},8060:function(ve,f,o){!function(n){"use strict";n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},68184:function(ve,f,o){!function(n){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(a){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(a)},meridiem:function(a,e,c){return a<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(a){return a.replace(/[\u06f0-\u06f9]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(o(35908))},36736:function(ve,f,o){!function(n){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function u(c,l,g,b){var _="";switch(g){case"s":return b?"muutaman sekunnin":"muutama sekunti";case"ss":_=b?"sekunnin":"sekuntia";break;case"m":return b?"minuutin":"minuutti";case"mm":_=b?"minuutin":"minuuttia";break;case"h":return b?"tunnin":"tunti";case"hh":_=b?"tunnin":"tuntia";break;case"d":return b?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":_=b?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return b?"kuukauden":"kuukausi";case"MM":_=b?"kuukauden":"kuukautta";break;case"y":return b?"vuoden":"vuosi";case"yy":_=b?"vuoden":"vuotta"}return function a(c,l){return c<10?l?d[c]:i[c]:c}(c,b)+" "+_}n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},49264:function(ve,f,o){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},48299:function(ve,f,o){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},84584:function(ve,f,o){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(o(35908))},8024:function(ve,f,o){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},51964:function(ve,f,o){!function(n){"use strict";var u=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,a=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];n.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(c,l){switch(l){case"D":return c+(1===c?"er":"");default:case"M":case"Q":case"DDD":case"d":return c+(1===c?"er":"e");case"w":case"W":return c+(1===c?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},22672:function(ve,f,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,e){return a?/-MMM-/.test(e)?d[a.month()]:i[a.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},26476:function(ve,f,o){!function(n){"use strict";n.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(l){return l+(1===l?"d":l%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},35148:function(ve,f,o){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(l){return l+(1===l?"d":l%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},32176:function(ve,f,o){!function(n){"use strict";n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},27260:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[u+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",u+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[u+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",u+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[u+" \u0935\u0930\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[u+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",u+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[u+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",u+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[u+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return c?l[e][0]:l[e][1]}n.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(u,a){return"D"===a?u+"\u0935\u0947\u0930":u},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(u,a){return 12===u&&(u=0),"\u0930\u093e\u0924\u0940"===a?u<4?u:u+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===a?u:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===a?u>12?u:u+12:"\u0938\u093e\u0902\u091c\u0947"===a?u+12:void 0},meridiem:function(u,a,e){return u<4?"\u0930\u093e\u0924\u0940":u<12?"\u0938\u0915\u093e\u0933\u0940\u0902":u<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":u<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(o(35908))},3772:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l={s:["thoddea sekondamni","thodde sekond"],ss:[u+" sekondamni",u+" sekond"],m:["eka mintan","ek minut"],mm:[u+" mintamni",u+" mintam"],h:["eka voran","ek vor"],hh:[u+" voramni",u+" voram"],d:["eka disan","ek dis"],dd:[u+" disamni",u+" dis"],M:["eka mhoinean","ek mhoino"],MM:[u+" mhoineamni",u+" mhoine"],y:["eka vorsan","ek voros"],yy:[u+" vorsamni",u+" vorsam"]};return c?l[e][0]:l[e][1]}n.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(u,a){return"D"===a?u+"er":u},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(u,a){return 12===u&&(u=0),"rati"===a?u<4?u:u+12:"sokallim"===a?u:"donparam"===a?u>12?u:u+12:"sanje"===a?u+12:void 0},meridiem:function(u,a,e){return u<4?"rati":u<12?"sokallim":u<16?"donparam":u<20?"sanje":"rati"}})}(o(35908))},39528:function(ve,f,o){!function(n){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(a){return a.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0ab0\u0abe\u0aa4"===e?a<4?a:a+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?a:"\u0aac\u0aaa\u0acb\u0ab0"===e?a>=10?a:a+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u0ab0\u0abe\u0aa4":a<10?"\u0ab8\u0ab5\u0abe\u0ab0":a<17?"\u0aac\u0aaa\u0acb\u0ab0":a<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(o(35908))},86832:function(ve,f,o){!function(n){"use strict";n.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,u,a){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?a?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?a?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(o(35908))},95592:function(ve,f,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},u=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:u,longMonthsParse:u,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(l){return d[l]})},postformat:function(c){return c.replace(/\d/g,function(l){return i[l]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,l){return 12===c&&(c=0),"\u0930\u093e\u0924"===l?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===l?c:"\u0926\u094b\u092a\u0939\u0930"===l?c>=10?c:c+12:"\u0936\u093e\u092e"===l?c+12:void 0},meridiem:function(c,l,g){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(o(35908))},56208:function(ve,f,o){!function(n){"use strict";function i(u,a,e){var c=u+" ";switch(e){case"ss":return c+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return a?"jedna minuta":"jedne minute";case"mm":return c+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return a?"jedan sat":"jednog sata";case"hh":return c+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return c+(1===u?"dan":"dana");case"MM":return c+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return c+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}n.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},33697:function(ve,f,o){!function(n){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(e,c,l,g){var b=e;switch(l){case"s":return g||c?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return b+(g||c)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(g||c?" perc":" perce");case"mm":return b+(g||c?" perc":" perce");case"h":return"egy"+(g||c?" \xf3ra":" \xf3r\xe1ja");case"hh":return b+(g||c?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(g||c?" nap":" napja");case"dd":return b+(g||c?" nap":" napja");case"M":return"egy"+(g||c?" h\xf3nap":" h\xf3napja");case"MM":return b+(g||c?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(g||c?" \xe9v":" \xe9ve");case"yy":return b+(g||c?" \xe9v":" \xe9ve")}return""}function u(e){return(e?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}n.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,c,l){return e<12?!0===l?"de":"DE":!0===l?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return u.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return u.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},2e4:function(ve,f,o){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,u){switch(u){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(o(35908))},57840:function(ve,f,o){!function(n){"use strict";n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"siang"===u?d>=11?d:d+12:"sore"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(o(35908))},31496:function(ve,f,o){!function(n){"use strict";function i(a){return a%100==11||a%10!=1}function d(a,e,c,l){var g=a+" ";switch(c){case"s":return e||l?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(a)?g+(e||l?"sek\xfandur":"sek\xfandum"):g+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(a)?g+(e||l?"m\xedn\xfatur":"m\xedn\xfatum"):e?g+"m\xedn\xfata":g+"m\xedn\xfatu";case"hh":return i(a)?g+(e||l?"klukkustundir":"klukkustundum"):g+"klukkustund";case"d":return e?"dagur":l?"dag":"degi";case"dd":return i(a)?e?g+"dagar":g+(l?"daga":"d\xf6gum"):e?g+"dagur":g+(l?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":l?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(a)?e?g+"m\xe1nu\xf0ir":g+(l?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?g+"m\xe1nu\xf0ur":g+(l?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||l?"\xe1r":"\xe1ri";case"yy":return i(a)?g+(e||l?"\xe1r":"\xe1rum"):g+(e||l?"\xe1r":"\xe1ri")}}n.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},45736:function(ve,f,o){!function(n){"use strict";n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},6336:function(ve,f,o){!function(n){"use strict";n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},58008:function(ve,f,o){!function(n){"use strict";n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,u){return"\u5143"===u[1]?1:parseInt(u[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,u,a){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,u){switch(u){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(o(35908))},30108:function(ve,f,o){!function(n){"use strict";n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,u){return 12===d&&(d=0),"enjing"===u?d:"siyang"===u?d>=11?d:d+12:"sonten"===u||"ndalu"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(35908))},61844:function(ve,f,o){!function(n){"use strict";n.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(u,a,e){return"\u10d8"===e?a+"\u10e8\u10d8":a+e+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(o(35908))},78980:function(ve,f,o){!function(n){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};n.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(u){return u+(i[u]||i[u%10]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},48544:function(ve,f,o){!function(n){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(a){return"\u179b\u17d2\u1784\u17b6\u1785"===a},meridiem:function(a,e,c){return a<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(a){return a.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},70096:function(ve,f,o){!function(n){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(a){return a.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?a<4?a:a+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?a:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?a>=10?a:a+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":a<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":a<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":a<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(a){return a+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(o(35908))},87420:function(ve,f,o){!function(n){"use strict";n.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,u,a){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(o(35908))},4740:function(ve,f,o){!function(n){"use strict";function i(a,e,c,l){var g={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[a+" san\xeeye",a+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[a+" deq\xeeqe",a+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[a+" saet",a+" saetan"],d:["rojek","rojek\xea"],dd:[a+" roj",a+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[a+" hefte",a+" hefteyan"],M:["mehek","mehek\xea"],MM:[a+" meh",a+" mehan"],y:["salek","salek\xea"],yy:[a+" sal",a+" salan"]};return e?g[c][0]:g[c][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(a,e,c){return a<12?c?"bn":"BN":c?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,w:i,ww:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(a,e){var c=e.toLowerCase();return c.includes("w")||c.includes("m")?a+".":a+function d(a){var e=(a=""+a).substring(a.length-1),c=a.length>1?a.substring(a.length-2):"";return 12==c||13==c||"2"!=e&&"3"!=e&&"50"!=c&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(a)},week:{dow:1,doy:4}})}(o(35908))},60200:function(ve,f,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];n.defineLocale("ku",{months:u,monthsShort:u,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,c,l){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(c){return d[c]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(c){return i[c]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},44976:function(ve,f,o){!function(n){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};n.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(u){return u+(i[u]||i[u%10]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},4652:function(ve,f,o){!function(n){"use strict";function i(c,l,g,b){var _={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return l?_[g][0]:_[g][1]}function a(c){if(c=parseInt(c,10),isNaN(c))return!1;if(c<0)return!0;if(c<10)return 4<=c&&c<=7;if(c<100){var l=c%10;return a(0===l?c/10:l)}if(c<1e4){for(;c>=10;)c/=10;return a(c)}return a(c/=1e3)}n.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(c){return a(c.substr(0,c.indexOf(" ")))?"a "+c:"an "+c},past:function u(c){return a(c.substr(0,c.indexOf(" ")))?"viru "+c:"virun "+c},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53984:function(ve,f,o){!function(n){"use strict";n.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,u,a){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(o(35908))},8792:function(ve,f,o){!function(n){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function u(g,b,_,S){return b?e(_)[0]:S?e(_)[1]:e(_)[2]}function a(g){return g%10==0||g>10&&g<20}function e(g){return i[g].split("_")}function c(g,b,_,S){var y=g+" ";return 1===g?y+u(0,b,_[0],S):b?y+(a(g)?e(_)[1]:e(_)[0]):S?y+e(_)[1]:y+(a(g)?e(_)[1]:e(_)[2])}n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(g,b,_,S){return b?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:c,m:u,mm:c,h:u,hh:c,d:u,dd:c,M:u,MM:c,y:u,yy:c},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(g){return g+"-oji"},week:{dow:1,doy:4}})}(o(35908))},6296:function(ve,f,o){!function(n){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(l,g,b){return b?g%10==1&&g%100!=11?l[2]:l[3]:g%10==1&&g%100!=11?l[0]:l[1]}function u(l,g,b){return l+" "+d(i[b],l,g)}function a(l,g,b){return d(i[b],l,g)}n.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function e(l,g){return g?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:u,m:a,mm:u,h:a,hh:u,d:a,dd:u,M:a,MM:u,y:a,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},58256:function(ve,f,o){!function(n){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(u,a){return 1===u?a[0]:u>=2&&u<=4?a[1]:a[2]},translate:function(u,a,e){var c=i.words[e];return 1===e.length?a?c[0]:c[1]:u+" "+i.correctGrammaticalCase(u,c)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},29284:function(ve,f,o){!function(n){"use strict";n.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},33196:function(ve,f,o){!function(n){"use strict";n.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var u=d%10,a=d%100;return 0===d?d+"-\u0435\u0432":0===a?d+"-\u0435\u043d":a>10&&a<20?d+"-\u0442\u0438":1===u?d+"-\u0432\u0438":2===u?d+"-\u0440\u0438":7===u||8===u?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},45896:function(ve,f,o){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===u&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===u||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===u?d+12:d},meridiem:function(d,u,a){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(o(35908))},32460:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){switch(e){case"s":return a?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return u+(a?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return u+(a?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return u+(a?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return u+(a?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return u+(a?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return u+(a?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return u}}n.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(u){return"\u04ae\u0425"===u},meridiem:function(u,a,e){return u<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(u,a){switch(a){case"d":case"D":case"DDD":return u+" \u04e9\u0434\u04e9\u0440";default:return u}}})}(o(35908))},80132:function(ve,f,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function u(e,c,l,g){var b="";if(c)switch(l){case"s":b="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":b="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":b="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":b="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":b="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":b="%d \u0924\u093e\u0938";break;case"d":b="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":b="%d \u0926\u093f\u0935\u0938";break;case"M":b="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":b="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":b="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":b="%d \u0935\u0930\u094d\u0937\u0947"}else switch(l){case"s":b="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":b="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":b="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":b="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":b="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":b="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":b="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":b="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":b="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":b="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":b="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":b="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return b.replace(/%d/i,e)}n.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(c){return d[c]})},postformat:function(e){return e.replace(/\d/g,function(c){return i[c]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,c){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===c||"\u0938\u0915\u093e\u0933\u0940"===c?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===c||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===c||"\u0930\u093e\u0924\u094d\u0930\u0940"===c?e>=12?e:e+12:void 0},meridiem:function(e,c,l){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(o(35908))},88060:function(ve,f,o){!function(n){"use strict";n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},73136:function(ve,f,o){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,u){return 12===d&&(d=0),"pagi"===u?d:"tengahari"===u?d>=11?d:d+12:"petang"===u||"malam"===u?d+12:void 0},meridiem:function(d,u,a){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},46227:function(ve,f,o){!function(n){"use strict";n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},88300:function(ve,f,o){!function(n){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(a){return a.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},14784:function(ve,f,o){!function(n){"use strict";n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},75060:function(ve,f,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(a){return a.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0930\u093e\u0924\u093f"===e?a<4?a:a+12:"\u092c\u093f\u0939\u093e\u0928"===e?a:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?a>=10?a:a+12:"\u0938\u093e\u0901\u091d"===e?a+12:void 0},meridiem:function(a,e,c){return a<3?"\u0930\u093e\u0924\u093f":a<12?"\u092c\u093f\u0939\u093e\u0928":a<16?"\u0926\u093f\u0909\u0901\u0938\u094b":a<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(o(35908))},94796:function(ve,f,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},4971:function(ve,f,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(c,l){return c?/-MMM-/.test(l)?d[c.month()]:i[c.month()]:i},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},18984:function(ve,f,o){!function(n){"use strict";n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},59928:function(ve,f,o){!function(n){"use strict";n.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,u){var a=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===u||"W"===u)&&(a="a"),d+a},week:{dow:1,doy:4}})}(o(35908))},76440:function(ve,f,o){!function(n){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(a){return a.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(a,e){return 12===a&&(a=0),"\u0a30\u0a3e\u0a24"===e?a<4?a:a+12:"\u0a38\u0a35\u0a47\u0a30"===e?a:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?a>=10?a:a+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?a+12:void 0},meridiem:function(a,e,c){return a<4?"\u0a30\u0a3e\u0a24":a<10?"\u0a38\u0a35\u0a47\u0a30":a<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":a<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(o(35908))},96768:function(ve,f,o){!function(n){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),u=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function a(l){return l%10<5&&l%10>1&&~~(l/10)%10!=1}function e(l,g,b){var _=l+" ";switch(b){case"ss":return _+(a(l)?"sekundy":"sekund");case"m":return g?"minuta":"minut\u0119";case"mm":return _+(a(l)?"minuty":"minut");case"h":return g?"godzina":"godzin\u0119";case"hh":return _+(a(l)?"godziny":"godzin");case"ww":return _+(a(l)?"tygodnie":"tygodni");case"MM":return _+(a(l)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return _+(a(l)?"lata":"lat")}}n.defineLocale("pl",{months:function(l,g){return l?/D MMMM/.test(g)?d[l.month()]:i[l.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:e,M:"miesi\u0105c",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},51528:function(ve,f,o){!function(n){"use strict";n.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(o(35908))},18968:function(ve,f,o){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},5760:function(ve,f,o){!function(n){"use strict";function i(u,a,e){var l=" ";return(u%100>=20||u>=100&&u%100==0)&&(l=" de "),u+l+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[e]}n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(o(35908))},19760:function(ve,f,o){!function(n){"use strict";function d(e,c,l){return"m"===l?c?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function i(e,c){var l=e.split("_");return c%10==1&&c%100!=11?l[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?l[1]:l[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[l],+e)}var u=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];n.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,c,l){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,c){switch(c){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(o(35908))},53804:function(ve,f,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];n.defineLocale("sd",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(a){return"\u0634\u0627\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(a){return a.replace(/\u060c/g,",")},postformat:function(a){return a.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},44100:function(ve,f,o){!function(n){"use strict";n.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},95301:function(ve,f,o){!function(n){"use strict";n.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,u,a){return d>11?a?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":a?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(o(35908))},79992:function(ve,f,o){!function(n){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function u(c){return c>1&&c<5}function a(c,l,g,b){var _=c+" ";switch(g){case"s":return l||b?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return l||b?_+(u(c)?"sekundy":"sek\xfand"):_+"sekundami";case"m":return l?"min\xfata":b?"min\xfatu":"min\xfatou";case"mm":return l||b?_+(u(c)?"min\xfaty":"min\xfat"):_+"min\xfatami";case"h":return l?"hodina":b?"hodinu":"hodinou";case"hh":return l||b?_+(u(c)?"hodiny":"hod\xedn"):_+"hodinami";case"d":return l||b?"de\u0148":"d\u0148om";case"dd":return l||b?_+(u(c)?"dni":"dn\xed"):_+"d\u0148ami";case"M":return l||b?"mesiac":"mesiacom";case"MM":return l||b?_+(u(c)?"mesiace":"mesiacov"):_+"mesiacmi";case"y":return l||b?"rok":"rokom";case"yy":return l||b?_+(u(c)?"roky":"rokov"):_+"rokmi"}}n.defineLocale("sk",{months:i,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},35208:function(ve,f,o){!function(n){"use strict";function i(u,a,e,c){var l=u+" ";switch(e){case"s":return a||c?"nekaj sekund":"nekaj sekundami";case"ss":return l+(1===u?a?"sekundo":"sekundi":2===u?a||c?"sekundi":"sekundah":u<5?a||c?"sekunde":"sekundah":"sekund");case"m":return a?"ena minuta":"eno minuto";case"mm":return l+(1===u?a?"minuta":"minuto":2===u?a||c?"minuti":"minutama":u<5?a||c?"minute":"minutami":a||c?"minut":"minutami");case"h":return a?"ena ura":"eno uro";case"hh":return l+(1===u?a?"ura":"uro":2===u?a||c?"uri":"urama":u<5?a||c?"ure":"urami":a||c?"ur":"urami");case"d":return a||c?"en dan":"enim dnem";case"dd":return l+(1===u?a||c?"dan":"dnem":2===u?a||c?"dni":"dnevoma":a||c?"dni":"dnevi");case"M":return a||c?"en mesec":"enim mesecem";case"MM":return l+(1===u?a||c?"mesec":"mesecem":2===u?a||c?"meseca":"mesecema":u<5?a||c?"mesece":"meseci":a||c?"mesecev":"meseci");case"y":return a||c?"eno leto":"enim letom";case"yy":return l+(1===u?a||c?"leto":"letom":2===u?a||c?"leti":"letoma":u<5?a||c?"leta":"leti":a||c?"let":"leti")}}n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},27408:function(ve,f,o){!function(n){"use strict";n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,u,a){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},1128:function(ve,f,o){!function(n){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(u,a){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?a[0]:a[1]:a[2]},translate:function(u,a,e,c){var g,l=i.words[e];return 1===e.length?"y"===e&&a?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":c||a?l[0]:l[1]:(g=i.correctGrammaticalCase(u,l),"yy"===e&&a&&"\u0433\u043e\u0434\u0438\u043d\u0443"===g?u+" \u0433\u043e\u0434\u0438\u043d\u0430":u+" "+g)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10656:function(ve,f,o){!function(n){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(u,a){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?a[0]:a[1]:a[2]},translate:function(u,a,e,c){var g,l=i.words[e];return 1===e.length?"y"===e&&a?"jedna godina":c||a?l[0]:l[1]:(g=i.correctGrammaticalCase(u,l),"yy"===e&&a&&"godinu"===g?u+" godina":u+" "+g)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10864:function(ve,f,o){!function(n){"use strict";n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,u,a){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,u){return 12===d&&(d=0),"ekuseni"===u?d:"emini"===u?d>=11?d:d+12:"entsambama"===u||"ebusuku"===u?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(35908))},16900:function(ve,f,o){!function(n){"use strict";n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?":e":1===u||2===u?":a":":e")},week:{dow:1,doy:4}})}(o(35908))},81636:function(ve,f,o){!function(n){"use strict";n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(35908))},24180:function(ve,f,o){!function(n){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(a){return a+"\u0bb5\u0ba4\u0bc1"},preparse:function(a){return a.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return d[e]})},postformat:function(a){return a.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(a,e,c){return a<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":a<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":a<10?" \u0b95\u0bbe\u0bb2\u0bc8":a<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":a<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":a<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(a,e){return 12===a&&(a=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?a<2?a:a+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&a>=10?a:a+12},week:{dow:0,doy:6}})}(o(35908))},97008:function(ve,f,o){!function(n){"use strict";n.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===u?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===u?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===u?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===u?d+12:void 0},meridiem:function(d,u,a){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(o(35908))},50744:function(ve,f,o){!function(n){"use strict";n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},58084:function(ve,f,o){!function(n){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};n.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(u,a){return 12===u&&(u=0),"\u0448\u0430\u0431"===a?u<4?u:u+12:"\u0441\u0443\u0431\u04b3"===a?u:"\u0440\u04ef\u0437"===a?u>=11?u:u+12:"\u0431\u0435\u0433\u043e\u04b3"===a?u+12:void 0},meridiem:function(u,a,e){return u<4?"\u0448\u0430\u0431":u<11?"\u0441\u0443\u0431\u04b3":u<16?"\u0440\u04ef\u0437":u<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(u){return u+(i[u]||i[u%10]||i[u>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},81672:function(ve,f,o){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,u,a){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(o(35908))},57232:function(ve,f,o){!function(n){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};n.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(u,a){switch(a){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'unjy";var e=u%10;return u+(i[e]||i[u%100-e]||i[u>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},89480:function(ve,f,o){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},58512:function(ve,f,o){!function(n){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(l,g,b,_){var S=function e(l){var g=Math.floor(l%1e3/100),b=Math.floor(l%100/10),_=l%10,S="";return g>0&&(S+=i[g]+"vatlh"),b>0&&(S+=(""!==S?" ":"")+i[b]+"maH"),_>0&&(S+=(""!==S?" ":"")+i[_]),""===S?"pagh":S}(l);switch(b){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}n.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(l){var g=l;return-1!==l.indexOf("jaj")?g.slice(0,-3)+"leS":-1!==l.indexOf("jar")?g.slice(0,-3)+"waQ":-1!==l.indexOf("DIS")?g.slice(0,-3)+"nem":g+" pIq"},past:function u(l){var g=l;return-1!==l.indexOf("jaj")?g.slice(0,-3)+"Hu\u2019":-1!==l.indexOf("jar")?g.slice(0,-3)+"wen":-1!==l.indexOf("DIS")?g.slice(0,-3)+"ben":g+" ret"},s:"puS lup",ss:a,m:"wa\u2019 tup",mm:a,h:"wa\u2019 rep",hh:a,d:"wa\u2019 jaj",dd:a,M:"wa\u2019 jar",MM:a,y:"wa\u2019 DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},56020:function(ve,f,o){!function(n){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(u,a,e){return u<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(u){return"\xf6s"===u||"\xd6S"===u},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(u,a){switch(a){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'\u0131nc\u0131";var e=u%10;return u+(i[e]||i[u%100-e]||i[u>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},36240:function(ve,f,o){!function(n){"use strict";function d(u,a,e,c){var l={s:["viensas secunds","'iensas secunds"],ss:[u+" secunds",u+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[u+" m\xeduts",u+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[u+" \xfeoras",u+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[u+" ziuas",u+" ziuas"],M:["'n mes","'iens mes"],MM:[u+" mesen",u+" mesen"],y:["'n ar","'iens ar"],yy:[u+" ars",u+" ars"]};return c||a?l[e][0]:l[e][1]}n.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(u){return"d'o"===u.toLowerCase()},meridiem:function(u,a,e){return u>11?e?"d'o":"D'O":e?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53384:function(ve,f,o){!function(n){"use strict";n.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(35908))},33064:function(ve,f,o){!function(n){"use strict";n.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(o(35908))},45852:function(ve,f,o){!function(n){"use strict";n.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===u||"\u0633\u06d5\u06be\u06d5\u0631"===u||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===u?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===u||"\u0643\u06d5\u0686"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(o(35908))},12480:function(ve,f,o){!function(n){"use strict";function d(c,l,g){return"m"===g?l?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===g?l?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":c+" "+function i(c,l){var g=c.split("_");return l%10==1&&l%100!=11?g[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?g[1]:g[2]}({ss:l?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:l?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:l?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[g],+c)}function a(c){return function(){return c+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function u(c,l){var g={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===c?g.nominative.slice(1,7).concat(g.nominative.slice(0,1)):c?g[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(l)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(l)?"genitive":"nominative"][c.day()]:g.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:a("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:a("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:a("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:a("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return a("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(c)},meridiem:function(c,l,g){return c<4?"\u043d\u043e\u0447\u0456":c<12?"\u0440\u0430\u043d\u043a\u0443":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(c,l){switch(l){case"M":case"d":case"DDD":case"w":case"W":return c+"-\u0439";case"D":return c+"-\u0433\u043e";default:return c}},week:{dow:1,doy:7}})}(o(35908))},63877:function(ve,f,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];n.defineLocale("ur",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(a){return"\u0634\u0627\u0645"===a},meridiem:function(a,e,c){return a<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(a){return a.replace(/\u060c/g,",")},postformat:function(a){return a.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},20108:function(ve,f,o){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(35908))},91712:function(ve,f,o){!function(n){"use strict";n.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(o(35908))},9984:function(ve,f,o){!function(n){"use strict";n.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,u,a){return d<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},45708:function(ve,f,o){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var u=d%10;return d+(1==~~(d%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},78476:function(ve,f,o){!function(n){"use strict";n.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(o(35908))},3676:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:d>=11?d:d+12},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(o(35908))},49880:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},41968:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},33632:function(ve,f,o){!function(n){"use strict";n.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,u){return 12===d&&(d=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?d:"\u4e2d\u5348"===u?d>=11?d:d+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?d+12:void 0},meridiem:function(d,u,a){var e=100*d+u;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,u){switch(u){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},35908:function(ve,f,o){(ve=o.nmd(ve)).exports=function(){"use strict";var n,C;function i(){return n.apply(null,arguments)}function u(U){return U instanceof Array||"[object Array]"===Object.prototype.toString.call(U)}function a(U){return null!=U&&"[object Object]"===Object.prototype.toString.call(U)}function e(U,fe){return Object.prototype.hasOwnProperty.call(U,fe)}function c(U){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(U).length;var fe;for(fe in U)if(e(U,fe))return!1;return!0}function l(U){return void 0===U}function g(U){return"number"==typeof U||"[object Number]"===Object.prototype.toString.call(U)}function b(U){return U instanceof Date||"[object Date]"===Object.prototype.toString.call(U)}function _(U,fe){var We,xe=[],rt=U.length;for(We=0;We>>0;for(We=0;We0)for(xe=0;xe=0?xe?"+":"":"-")+Math.pow(10,Math.max(0,fe-We.length)).toString().substr(1)+We}var ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},ee={};function J(U,fe,xe,We){var rt=We;"string"==typeof We&&(rt=function(){return this[We]()}),U&&(ee[U]=rt),fe&&(ee[fe[0]]=function(){return H(rt.apply(this,arguments),fe[1],fe[2])}),xe&&(ee[xe]=function(){return this.localeData().ordinal(rt.apply(this,arguments),U)})}function G(U){return U.match(/\[[\s\S]/)?U.replace(/^\[|\]$/g,""):U.replace(/\\/g,"")}function be(U,fe){return U.isValid()?(fe=Ae(fe,U.localeData()),W[fe]=W[fe]||function de(U){var xe,We,fe=U.match(ae);for(xe=0,We=fe.length;xe=0&&re.test(U);)U=U.replace(re,We),re.lastIndex=0,xe-=1;return U}var bt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Vt(U){return"string"==typeof U?bt[U]||bt[U.toLowerCase()]:void 0}function sn(U){var xe,We,fe={};for(We in U)e(U,We)&&(xe=Vt(We))&&(fe[xe]=U[We]);return fe}var dn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var Zt,An=/\d/,vn=/\d\d/,qt=/\d{3}/,ut=/\d{4}/,Ue=/[+-]?\d{6}/,De=/\d\d?/,Pe=/\d\d\d\d?/,Qe=/\d\d\d\d\d\d?/,Re=/\d{1,3}/,lt=/\d{1,4}/,He=/[+-]?\d{1,6}/,gt=/\d+/,dt=/[+-]?\d+/,Mt=/Z|[+-]\d\d:?\d\d/gi,nt=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Tt=/^[1-9]\d?/,Ut=/^([1-9]\d|\d)/;function Dt(U,fe,xe){Zt[U]=F(fe)?fe:function(We,rt){return We&&xe?xe:fe}}function zt(U,fe){return e(Zt,U)?Zt[U](fe._strict,fe._locale):new RegExp(function Ct(U){return Pt(U.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(fe,xe,We,rt,Ht){return xe||We||rt||Ht}))}(U))}function Pt(U){return U.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function tn(U){return U<0?Math.ceil(U)||0:Math.floor(U)}function bn(U){var fe=+U,xe=0;return 0!==fe&&isFinite(fe)&&(xe=tn(fe)),xe}Zt={};var Tn={};function nn(U,fe){var xe,rt,We=fe;for("string"==typeof U&&(U=[U]),g(fe)&&(We=function(Ht,Dn){Dn[fe]=bn(Ht)}),rt=U.length,xe=0;xe68?1900:2e3)};var ot,xr=en("FullYear",!0);function en(U,fe){return function(xe){return null!=xe?(Zn(this,U,xe),i.updateOffset(this,fe),this):jn(this,U)}}function jn(U,fe){if(!U.isValid())return NaN;var xe=U._d,We=U._isUTC;switch(fe){case"Milliseconds":return We?xe.getUTCMilliseconds():xe.getMilliseconds();case"Seconds":return We?xe.getUTCSeconds():xe.getSeconds();case"Minutes":return We?xe.getUTCMinutes():xe.getMinutes();case"Hours":return We?xe.getUTCHours():xe.getHours();case"Date":return We?xe.getUTCDate():xe.getDate();case"Day":return We?xe.getUTCDay():xe.getDay();case"Month":return We?xe.getUTCMonth():xe.getMonth();case"FullYear":return We?xe.getUTCFullYear():xe.getFullYear();default:return NaN}}function Zn(U,fe,xe){var We,rt,Ht,Dn,ir;if(U.isValid()&&!isNaN(xe)){switch(We=U._d,rt=U._isUTC,fe){case"Milliseconds":return void(rt?We.setUTCMilliseconds(xe):We.setMilliseconds(xe));case"Seconds":return void(rt?We.setUTCSeconds(xe):We.setSeconds(xe));case"Minutes":return void(rt?We.setUTCMinutes(xe):We.setMinutes(xe));case"Hours":return void(rt?We.setUTCHours(xe):We.setHours(xe));case"Date":return void(rt?We.setUTCDate(xe):We.setDate(xe));case"FullYear":break;default:return}Ht=xe,Dn=U.month(),ir=29!==(ir=U.date())||1!==Dn||Rr(Ht)?ir:28,rt?We.setUTCFullYear(Ht,Dn,ir):We.setFullYear(Ht,Dn,ir)}}function Ot(U,fe){if(isNaN(U)||isNaN(fe))return NaN;var xe=function kr(U,fe){return(U%fe+fe)%fe}(fe,12);return U+=(fe-xe)/12,1===xe?Rr(U)?29:28:31-xe%7%2}ot=Array.prototype.indexOf?Array.prototype.indexOf:function(U){var fe;for(fe=0;fe=0?(ir=new Date(U+400,fe,xe,We,rt,Ht,Dn),isFinite(ir.getFullYear())&&ir.setFullYear(U)):ir=new Date(U,fe,xe,We,rt,Ht,Dn),ir}function Ne(U){var fe,xe;return U<100&&U>=0?((xe=Array.prototype.slice.call(arguments))[0]=U+400,fe=new Date(Date.UTC.apply(null,xe)),isFinite(fe.getUTCFullYear())&&fe.setUTCFullYear(U)):fe=new Date(Date.UTC.apply(null,arguments)),fe}function Ie(U,fe,xe){var We=7+fe-xe;return-(7+Ne(U,0,We).getUTCDay()-fe)%7+We-1}function me(U,fe,xe,We,rt){var Gr,hi,ir=1+7*(fe-1)+(7+xe-We)%7+Ie(U,We,rt);return ir<=0?hi=er(Gr=U-1)+ir:ir>er(U)?(Gr=U+1,hi=ir-er(U)):(Gr=U,hi=ir),{year:Gr,dayOfYear:hi}}function Te(U,fe,xe){var Ht,Dn,We=Ie(U.year(),fe,xe),rt=Math.floor((U.dayOfYear()-We-1)/7)+1;return rt<1?Ht=rt+et(Dn=U.year()-1,fe,xe):rt>et(U.year(),fe,xe)?(Ht=rt-et(U.year(),fe,xe),Dn=U.year()+1):(Dn=U.year(),Ht=rt),{week:Ht,year:Dn}}function et(U,fe,xe){var We=Ie(U,fe,xe),rt=Ie(U+1,fe,xe);return(er(U)-We+rt)/7}J("w",["ww",2],"wo","week"),J("W",["WW",2],"Wo","isoWeek"),Dt("w",De,Tt),Dt("ww",De,vn),Dt("W",De,Tt),Dt("WW",De,vn),tr(["w","ww","W","WW"],function(U,fe,xe,We){fe[We.substr(0,1)]=bn(U)});function Gt(U,fe){return U.slice(fe,7).concat(U.slice(0,fe))}J("d",0,"do","day"),J("dd",0,0,function(U){return this.localeData().weekdaysMin(this,U)}),J("ddd",0,0,function(U){return this.localeData().weekdaysShort(this,U)}),J("dddd",0,0,function(U){return this.localeData().weekdays(this,U)}),J("e",0,0,"weekday"),J("E",0,0,"isoWeekday"),Dt("d",De),Dt("e",De),Dt("E",De),Dt("dd",function(U,fe){return fe.weekdaysMinRegex(U)}),Dt("ddd",function(U,fe){return fe.weekdaysShortRegex(U)}),Dt("dddd",function(U,fe){return fe.weekdaysRegex(U)}),tr(["dd","ddd","dddd"],function(U,fe,xe,We){var rt=xe._locale.weekdaysParse(U,We,xe._strict);null!=rt?fe.d=rt:h(xe).invalidWeekday=U}),tr(["d","e","E"],function(U,fe,xe,We){fe[We]=bn(U)});var Nn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ur=pt,Hr=pt,at=pt;function In(U,fe,xe){var We,rt,Ht,Dn=U.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],We=0;We<7;++We)Ht=y([2e3,1]).day(We),this._minWeekdaysParse[We]=this.weekdaysMin(Ht,"").toLocaleLowerCase(),this._shortWeekdaysParse[We]=this.weekdaysShort(Ht,"").toLocaleLowerCase(),this._weekdaysParse[We]=this.weekdays(Ht,"").toLocaleLowerCase();return xe?"dddd"===fe?-1!==(rt=ot.call(this._weekdaysParse,Dn))?rt:null:"ddd"===fe?-1!==(rt=ot.call(this._shortWeekdaysParse,Dn))?rt:null:-1!==(rt=ot.call(this._minWeekdaysParse,Dn))?rt:null:"dddd"===fe?-1!==(rt=ot.call(this._weekdaysParse,Dn))||-1!==(rt=ot.call(this._shortWeekdaysParse,Dn))||-1!==(rt=ot.call(this._minWeekdaysParse,Dn))?rt:null:"ddd"===fe?-1!==(rt=ot.call(this._shortWeekdaysParse,Dn))||-1!==(rt=ot.call(this._weekdaysParse,Dn))||-1!==(rt=ot.call(this._minWeekdaysParse,Dn))?rt:null:-1!==(rt=ot.call(this._minWeekdaysParse,Dn))||-1!==(rt=ot.call(this._weekdaysParse,Dn))||-1!==(rt=ot.call(this._shortWeekdaysParse,Dn))?rt:null}function qr(){function U(ls,Js){return Js.length-ls.length}var Ht,Dn,ir,Gr,hi,fe=[],xe=[],We=[],rt=[];for(Ht=0;Ht<7;Ht++)Dn=y([2e3,1]).day(Ht),ir=Pt(this.weekdaysMin(Dn,"")),Gr=Pt(this.weekdaysShort(Dn,"")),hi=Pt(this.weekdays(Dn,"")),fe.push(ir),xe.push(Gr),We.push(hi),rt.push(ir),rt.push(Gr),rt.push(hi);fe.sort(U),xe.sort(U),We.sort(U),rt.sort(U),this._weekdaysRegex=new RegExp("^("+rt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+We.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+xe.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+fe.join("|")+")","i")}function Ri(){return this.hours()%12||12}function Vi(U,fe){J(U,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),fe)})}function Mo(U,fe){return fe._meridiemParse}J("H",["HH",2],0,"hour"),J("h",["hh",2],0,Ri),J("k",["kk",2],0,function dr(){return this.hours()||24}),J("hmm",0,0,function(){return""+Ri.apply(this)+H(this.minutes(),2)}),J("hmmss",0,0,function(){return""+Ri.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),J("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),J("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),Vi("a",!0),Vi("A",!1),Dt("a",Mo),Dt("A",Mo),Dt("H",De,Ut),Dt("h",De,Tt),Dt("k",De,Tt),Dt("HH",De,vn),Dt("hh",De,vn),Dt("kk",De,vn),Dt("hmm",Pe),Dt("hmmss",Qe),Dt("Hmm",Pe),Dt("Hmmss",Qe),nn(["H","HH"],qn),nn(["k","kk"],function(U,fe,xe){var We=bn(U);fe[qn]=24===We?0:We}),nn(["a","A"],function(U,fe,xe){xe._isPm=xe._locale.isPM(U),xe._meridiem=U}),nn(["h","hh"],function(U,fe,xe){fe[qn]=bn(U),h(xe).bigHour=!0}),nn("hmm",function(U,fe,xe){var We=U.length-2;fe[qn]=bn(U.substr(0,We)),fe[Fn]=bn(U.substr(We)),h(xe).bigHour=!0}),nn("hmmss",function(U,fe,xe){var We=U.length-4,rt=U.length-2;fe[qn]=bn(U.substr(0,We)),fe[Fn]=bn(U.substr(We,2)),fe[oi]=bn(U.substr(rt)),h(xe).bigHour=!0}),nn("Hmm",function(U,fe,xe){var We=U.length-2;fe[qn]=bn(U.substr(0,We)),fe[Fn]=bn(U.substr(We))}),nn("Hmmss",function(U,fe,xe){var We=U.length-4,rt=U.length-2;fe[qn]=bn(U.substr(0,We)),fe[Fn]=bn(U.substr(We,2)),fe[oi]=bn(U.substr(rt))});var eo=en("Hours",!0);var _i,to={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:It,monthsShort:rn,week:{dow:0,doy:6},weekdays:Nn,weekdaysMin:rr,weekdaysShort:cr,meridiemParse:/[ap]\.?m?\.?/i},$r={},no={};function Fi(U,fe){var xe,We=Math.min(U.length,fe.length);for(xe=0;xe0;){if(rt=xi(Ht.slice(0,xe).join("-")))return rt;if(We&&We.length>=xe&&Fi(Ht,We)>=xe-1)break;xe--}fe++}return _i}(U)}function Ni(U){var fe,xe=U._a;return xe&&-2===h(U).overflow&&(fe=xe[yr]<0||xe[yr]>11?yr:xe[_r]<1||xe[_r]>Ot(xe[ar],xe[yr])?_r:xe[qn]<0||xe[qn]>24||24===xe[qn]&&(0!==xe[Fn]||0!==xe[oi]||0!==xe[vr])?qn:xe[Fn]<0||xe[Fn]>59?Fn:xe[oi]<0||xe[oi]>59?oi:xe[vr]<0||xe[vr]>999?vr:-1,h(U)._overflowDayOfYear&&(fe_r)&&(fe=_r),h(U)._overflowWeeks&&-1===fe&&(fe=Mr),h(U)._overflowWeekday&&-1===fe&&(fe=Qn),h(U).overflow=fe),U}var Qr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ko=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ji=/Z|[+-]\d\d(?::?\d\d)?/,Ji=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Yi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Co=/^\/?Date\((-?\d+)/i,oo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Yo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function fo(U){var fe,xe,Ht,Dn,ir,Gr,We=U._i,rt=Qr.exec(We)||ko.exec(We),hi=Ji.length,ls=Yi.length;if(rt){for(h(U).iso=!0,fe=0,xe=hi;fe7)&&(Gr=!0)):(Ht=U._locale._week.dow,Dn=U._locale._week.doy,hi=Te(kt(),Ht,Dn),xe=_o(fe.gg,U._a[ar],hi.year),We=_o(fe.w,hi.week),null!=fe.d?((rt=fe.d)<0||rt>6)&&(Gr=!0):null!=fe.e?(rt=fe.e+Ht,(fe.e<0||fe.e>6)&&(Gr=!0)):rt=Ht),We<1||We>et(xe,Ht,Dn)?h(U)._overflowWeeks=!0:null!=Gr?h(U)._overflowWeekday=!0:(ir=me(xe,We,rt,Ht,Dn),U._a[ar]=ir.year,U._dayOfYear=ir.dayOfYear)}(U),null!=U._dayOfYear&&(Dn=_o(U._a[ar],rt[ar]),(U._dayOfYear>er(Dn)||0===U._dayOfYear)&&(h(U)._overflowDayOfYear=!0),xe=Ne(Dn,0,U._dayOfYear),U._a[yr]=xe.getUTCMonth(),U._a[_r]=xe.getUTCDate()),fe=0;fe<3&&null==U._a[fe];++fe)U._a[fe]=We[fe]=rt[fe];for(;fe<7;fe++)U._a[fe]=We[fe]=null==U._a[fe]?2===fe?1:0:U._a[fe];24===U._a[qn]&&0===U._a[Fn]&&0===U._a[oi]&&0===U._a[vr]&&(U._nextDay=!0,U._a[qn]=0),U._d=(U._useUTC?Ne:ue).apply(null,We),Ht=U._useUTC?U._d.getUTCDay():U._d.getDay(),null!=U._tzm&&U._d.setUTCMinutes(U._d.getUTCMinutes()-U._tzm),U._nextDay&&(U._a[qn]=24),U._w&&typeof U._w.d<"u"&&U._w.d!==Ht&&(h(U).weekdayMismatch=!0)}}function Eo(U){if(U._f!==i.ISO_8601)if(U._f!==i.RFC_2822){U._a=[],h(U).empty=!0;var xe,We,rt,Ht,Dn,hi,ls,fe=""+U._i,ir=fe.length,Gr=0;for(ls=(rt=Ae(U._f,U._locale).match(ae)||[]).length,xe=0;xe0&&h(U).unusedInput.push(Dn),fe=fe.slice(fe.indexOf(We)+We.length),Gr+=We.length),ee[Ht]?(We?h(U).empty=!1:h(U).unusedTokens.push(Ht),Ir(Ht,We,U)):U._strict&&!We&&h(U).unusedTokens.push(Ht);h(U).charsLeftOver=ir-Gr,fe.length>0&&h(U).unusedInput.push(fe),U._a[qn]<=12&&!0===h(U).bigHour&&U._a[qn]>0&&(h(U).bigHour=void 0),h(U).parsedDateParts=U._a.slice(0),h(U).meridiem=U._meridiem,U._a[qn]=function wo(U,fe,xe){var We;return null==xe?fe:null!=U.meridiemHour?U.meridiemHour(fe,xe):(null!=U.isPM&&((We=U.isPM(xe))&&fe<12&&(fe+=12),!We&&12===fe&&(fe=0)),fe)}(U._locale,U._a[qn],U._meridiem),null!==(hi=h(U).era)&&(U._a[ar]=U._locale.erasConvertYear(hi,U._a[ar])),co(U),Ni(U)}else Ki(U);else fo(U)}function Ke(U){var fe=U._i,xe=U._f;return U._locale=U._locale||Vr(U._l),null===fe||void 0===xe&&""===fe?M({nullInput:!0}):("string"==typeof fe&&(U._i=fe=U._locale.preparse(fe)),N(fe)?new R(Ni(fe)):(b(fe)?U._d=fe:u(xe)?function ds(U){var fe,xe,We,rt,Ht,Dn,ir=!1,Gr=U._f.length;if(0===Gr)return h(U).invalidFormat=!0,void(U._d=new Date(NaN));for(rt=0;rtthis?this:U:M()});function zi(U,fe){var xe,We;if(1===fe.length&&u(fe[0])&&(fe=fe[0]),!fe.length)return kt();for(xe=fe[0],We=1;We=0?new Date(U+400,fe,xe)-Ei:new Date(U,fe,xe).valueOf()}function fs(U,fe,xe){return U<100&&U>=0?Date.UTC(U+400,fe,xe)-Ei:Date.UTC(U,fe,xe)}function Qs(U,fe){return fe.erasAbbrRegex(U)}function Go(){var rt,Ht,Dn,ir,Gr,U=[],fe=[],xe=[],We=[],hi=this.eras();for(rt=0,Ht=hi.length;rt(Ht=et(U,We,rt))&&(fe=Ht),al.call(this,U,fe,xe,We,rt))}function al(U,fe,xe,We,rt){var Ht=me(U,fe,xe,We,rt),Dn=Ne(Ht.year,0,Ht.dayOfYear);return this.year(Dn.getUTCFullYear()),this.month(Dn.getUTCMonth()),this.date(Dn.getUTCDate()),this}J("N",0,0,"eraAbbr"),J("NN",0,0,"eraAbbr"),J("NNN",0,0,"eraAbbr"),J("NNNN",0,0,"eraName"),J("NNNNN",0,0,"eraNarrow"),J("y",["y",1],"yo","eraYear"),J("y",["yy",2],0,"eraYear"),J("y",["yyy",3],0,"eraYear"),J("y",["yyyy",4],0,"eraYear"),Dt("N",Qs),Dt("NN",Qs),Dt("NNN",Qs),Dt("NNNN",function mu(U,fe){return fe.erasNameRegex(U)}),Dt("NNNNN",function ol(U,fe){return fe.erasNarrowRegex(U)}),nn(["N","NN","NNN","NNNN","NNNNN"],function(U,fe,xe,We){var rt=xe._locale.erasParse(U,We,xe._strict);rt?h(xe).era=rt:h(xe).invalidEra=U}),Dt("y",gt),Dt("yy",gt),Dt("yyy",gt),Dt("yyyy",gt),Dt("yo",function Nd(U,fe){return fe._eraYearOrdinalRegex||gt}),nn(["y","yy","yyy","yyyy"],ar),nn(["yo"],function(U,fe,xe,We){var rt;xe._locale._eraYearOrdinalRegex&&(rt=U.match(xe._locale._eraYearOrdinalRegex)),fe[ar]=xe._locale.eraYearOrdinalParse?xe._locale.eraYearOrdinalParse(U,rt):parseInt(U,10)}),J(0,["gg",2],0,function(){return this.weekYear()%100}),J(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Xs("gggg","weekYear"),Xs("ggggg","weekYear"),Xs("GGGG","isoWeekYear"),Xs("GGGGG","isoWeekYear"),Dt("G",dt),Dt("g",dt),Dt("GG",De,vn),Dt("gg",De,vn),Dt("GGGG",lt,ut),Dt("gggg",lt,ut),Dt("GGGGG",He,Ue),Dt("ggggg",He,Ue),tr(["gggg","ggggg","GGGG","GGGGG"],function(U,fe,xe,We){fe[We.substr(0,2)]=bn(U)}),tr(["gg","GG"],function(U,fe,xe,We){fe[We]=i.parseTwoDigitYear(U)}),J("Q",0,"Qo","quarter"),Dt("Q",An),nn("Q",function(U,fe){fe[yr]=3*(bn(U)-1)}),J("D",["DD",2],"Do","date"),Dt("D",De,Tt),Dt("DD",De,vn),Dt("Do",function(U,fe){return U?fe._dayOfMonthOrdinalParse||fe._ordinalParse:fe._dayOfMonthOrdinalParseLenient}),nn(["D","DD"],_r),nn("Do",function(U,fe){fe[_r]=bn(U.match(De)[0])});var wa=en("Date",!0);J("DDD",["DDDD",3],"DDDo","dayOfYear"),Dt("DDD",Re),Dt("DDDD",qt),nn(["DDD","DDDD"],function(U,fe,xe){xe._dayOfYear=bn(U)}),J("m",["mm",2],0,"minute"),Dt("m",De,Ut),Dt("mm",De,vn),nn(["m","mm"],Fn);var ll=en("Minutes",!1);J("s",["ss",2],0,"second"),Dt("s",De,Ut),Dt("ss",De,vn),nn(["s","ss"],oi);var Zo,Zr,pu=en("Seconds",!1);for(J("S",0,0,function(){return~~(this.millisecond()/100)}),J(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),J(0,["SSS",3],0,"millisecond"),J(0,["SSSS",4],0,function(){return 10*this.millisecond()}),J(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),J(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),J(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),J(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),J(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Dt("S",Re,An),Dt("SS",Re,vn),Dt("SSS",Re,qt),Zo="SSSS";Zo.length<=9;Zo+="S")Dt(Zo,gt);function ec(U,fe){fe[vr]=bn(1e3*("0."+U))}for(Zo="S";Zo.length<=9;Zo+="S")nn(Zo,ec);Zr=en("Milliseconds",!1),J("z",0,0,"zoneAbbr"),J("zz",0,0,"zoneName");var Un=R.prototype;function ua(U){return U}Un.add=bi,Un.calendar=function Be(U,fe){1===arguments.length&&(arguments[0]?Cr(arguments[0])?(U=arguments[0],fe=void 0):function Xr(U){var rt,fe=a(U)&&!c(U),xe=!1,We=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(rt=0;rtxe.valueOf():xe.valueOf()9999?be(xe,fe?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):F(Date.prototype.toISOString)?fe?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",be(xe,"Z")):be(xe,fe?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Un.inspect=function Se(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var xe,We,U="moment",fe="";return this.isLocal()||(U=0===this.utcOffset()?"moment.utc":"moment.parseZone",fe="Z"),xe="["+U+'("]',We=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(xe+We+"-MM-DD[T]HH:mm:ss.SSS"+fe+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Un[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Un.toJSON=function Ya(){return this.isValid()?this.toISOString():null},Un.toString=function Z(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Un.unix=function yi(){return Math.floor(this.valueOf()/1e3)},Un.valueOf=function Wo(){return this._d.valueOf()-6e4*(this._offset||0)},Un.creationData=function Ps(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Un.eraName=function Ss(){var U,fe,xe,We=this.localeData().eras();for(U=0,fe=We.length;Uthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Un.isLocal=function Yt(){return!!this.isValid()&&!this._isUTC},Un.isUtcOffset=function Cn(){return!!this.isValid()&&this._isUTC},Un.isUtc=$n,Un.isUTC=$n,Un.zoneAbbr=function Hs(){return this._isUTC?"UTC":""},Un.zoneName=function Da(){return this._isUTC?"Coordinated Universal Time":""},Un.dates=L("dates accessor is deprecated. Use date instead.",wa),Un.months=L("months accessor is deprecated. Use month instead",Yn),Un.years=L("years accessor is deprecated. Use year instead",xr),Un.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ie(U,fe){return null!=U?("string"!=typeof U&&(U=-U),this.utcOffset(U,fe),this):-this.utcOffset()}),Un.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Bt(){if(!l(this._isDSTShifted))return this._isDSTShifted;var fe,U={};return T(U,this),(U=Ke(U))._a?(fe=U._isUTC?y(U._a):kt(U._a),this._isDSTShifted=this.isValid()&&function Ti(U,fe,xe){var Dn,We=Math.min(U.length,fe.length),rt=Math.abs(U.length-fe.length),Ht=0;for(Dn=0;Dn0):this._isDSTShifted=!1,this._isDSTShifted});var oe=ce.prototype;function Ce(U,fe,xe,We){var rt=Vr(),Ht=y().set(We,fe);return rt[xe](Ht,U)}function ge(U,fe,xe){if(g(U)&&(fe=U,U=void 0),U=U||"",null!=fe)return Ce(U,fe,xe,"month");var We,rt=[];for(We=0;We<12;We++)rt[We]=Ce(U,We,xe,"month");return rt}function Ee(U,fe,xe,We){"boolean"==typeof U?(g(fe)&&(xe=fe,fe=void 0),fe=fe||""):(xe=fe=U,U=!1,g(fe)&&(xe=fe,fe=void 0),fe=fe||"");var Dn,rt=Vr(),Ht=U?rt._week.dow:0,ir=[];if(null!=xe)return Ce(fe,(xe+Ht)%7,We,"day");for(Dn=0;Dn<7;Dn++)ir[Dn]=Ce(fe,(Dn+Ht)%7,We,"day");return ir}oe.calendar=function Y(U,fe,xe){var We=this._calendar[U]||this._calendar.sameElse;return F(We)?We.call(fe,xe):We},oe.longDateFormat=function le(U){var fe=this._longDateFormat[U],xe=this._longDateFormat[U.toUpperCase()];return fe||!xe?fe:(this._longDateFormat[U]=xe.match(ae).map(function(We){return"MMMM"===We||"MM"===We||"DD"===We||"dddd"===We?We.slice(1):We}).join(""),this._longDateFormat[U])},oe.invalidDate=function $e(){return this._invalidDate},oe.ordinal=function mt(U){return this._ordinal.replace("%d",U)},oe.preparse=ua,oe.postformat=ua,oe.relativeTime=function ft(U,fe,xe,We){var rt=this._relativeTime[xe];return F(rt)?rt(U,fe,xe,We):rt.replace(/%d/i,U)},oe.pastFuture=function Qt(U,fe){var xe=this._relativeTime[U>0?"future":"past"];return F(xe)?xe(fe):xe.replace(/%s/i,fe)},oe.set=function q(U){var fe,xe;for(xe in U)e(U,xe)&&(F(fe=U[xe])?this[xe]=fe:this["_"+xe]=fe);this._config=U,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},oe.eras=function Ql(U,fe){var xe,We,rt,Ht=this._eras||Vr("en")._eras;for(xe=0,We=Ht.length;xe=0)return Ht[We]},oe.erasConvertYear=function aa(U,fe){var xe=U.since<=U.until?1:-1;return void 0===fe?i(U.since).year():i(U.since).year()+(fe-U.offset)*xe},oe.erasAbbrRegex=function Sa(U){return e(this,"_erasAbbrRegex")||Go.call(this),U?this._erasAbbrRegex:this._erasRegex},oe.erasNameRegex=function Xl(U){return e(this,"_erasNameRegex")||Go.call(this),U?this._erasNameRegex:this._erasRegex},oe.erasNarrowRegex=function Ma(U){return e(this,"_erasNarrowRegex")||Go.call(this),U?this._erasNarrowRegex:this._erasRegex},oe.months=function Xn(U,fe){return U?u(this._months)?this._months[U.month()]:this._months[(this._months.isFormat||hn).test(fe)?"format":"standalone"][U.month()]:u(this._months)?this._months:this._months.standalone},oe.monthsShort=function zn(U,fe){return U?u(this._monthsShort)?this._monthsShort[U.month()]:this._monthsShort[hn.test(fe)?"format":"standalone"][U.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},oe.monthsParse=function Ar(U,fe,xe){var We,rt,Ht;if(this._monthsParseExact)return Er.call(this,U,fe,xe);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),We=0;We<12;We++){if(rt=y([2e3,We]),xe&&!this._longMonthsParse[We]&&(this._longMonthsParse[We]=new RegExp("^"+this.months(rt,"").replace(".","")+"$","i"),this._shortMonthsParse[We]=new RegExp("^"+this.monthsShort(rt,"").replace(".","")+"$","i")),!xe&&!this._monthsParse[We]&&(Ht="^"+this.months(rt,"")+"|^"+this.monthsShort(rt,""),this._monthsParse[We]=new RegExp(Ht.replace(".",""),"i")),xe&&"MMMM"===fe&&this._longMonthsParse[We].test(U))return We;if(xe&&"MMM"===fe&&this._shortMonthsParse[We].test(U))return We;if(!xe&&this._monthsParse[We].test(U))return We}},oe.monthsRegex=function B(U){return this._monthsParseExact?(e(this,"_monthsRegex")||V.call(this),U?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=En),this._monthsStrictRegex&&U?this._monthsStrictRegex:this._monthsRegex)},oe.monthsShortRegex=function un(U){return this._monthsParseExact?(e(this,"_monthsRegex")||V.call(this),U?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=Mn),this._monthsShortStrictRegex&&U?this._monthsShortStrictRegex:this._monthsShortRegex)},oe.week=function _t(U){return Te(U,this._week.dow,this._week.doy).week},oe.firstDayOfYear=function Jt(){return this._week.doy},oe.firstDayOfWeek=function Nt(){return this._week.dow},oe.weekdays=function uo(U,fe){var xe=u(this._weekdays)?this._weekdays:this._weekdays[U&&!0!==U&&this._weekdays.isFormat.test(fe)?"format":"standalone"];return!0===U?Gt(xe,this._week.dow):U?xe[U.day()]:xe},oe.weekdaysMin=function Pr(U){return!0===U?Gt(this._weekdaysMin,this._week.dow):U?this._weekdaysMin[U.day()]:this._weekdaysMin},oe.weekdaysShort=function vi(U){return!0===U?Gt(this._weekdaysShort,this._week.dow):U?this._weekdaysShort[U.day()]:this._weekdaysShort},oe.weekdaysParse=function Gn(U,fe,xe){var We,rt,Ht;if(this._weekdaysParseExact)return In.call(this,U,fe,xe);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),We=0;We<7;We++){if(rt=y([2e3,1]).day(We),xe&&!this._fullWeekdaysParse[We]&&(this._fullWeekdaysParse[We]=new RegExp("^"+this.weekdays(rt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[We]=new RegExp("^"+this.weekdaysShort(rt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[We]=new RegExp("^"+this.weekdaysMin(rt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[We]||(Ht="^"+this.weekdays(rt,"")+"|^"+this.weekdaysShort(rt,"")+"|^"+this.weekdaysMin(rt,""),this._weekdaysParse[We]=new RegExp(Ht.replace(".",""),"i")),xe&&"dddd"===fe&&this._fullWeekdaysParse[We].test(U))return We;if(xe&&"ddd"===fe&&this._shortWeekdaysParse[We].test(U))return We;if(xe&&"dd"===fe&&this._minWeekdaysParse[We].test(U))return We;if(!xe&&this._weekdaysParse[We].test(U))return We}},oe.weekdaysRegex=function Rn(U){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||qr.call(this),U?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Ur),this._weekdaysStrictRegex&&U?this._weekdaysStrictRegex:this._weekdaysRegex)},oe.weekdaysShortRegex=function ai(U){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||qr.call(this),U?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hr),this._weekdaysShortStrictRegex&&U?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},oe.weekdaysMinRegex=function Kr(U){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||qr.call(this),U?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=at),this._weekdaysMinStrictRegex&&U?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},oe.isPM=function bo(U){return"p"===(U+"").toLowerCase().charAt(0)},oe.meridiem=function Gi(U,fe,xe){return U>11?xe?"pm":"PM":xe?"am":"AM"},Mi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(U){var fe=U%10;return U+(1===bn(U%100/10)?"th":1===fe?"st":2===fe?"nd":3===fe?"rd":"th")}}),i.lang=L("moment.lang is deprecated. Use moment.locale instead.",Mi),i.langData=L("moment.langData is deprecated. Use moment.localeData instead.",Vr);var Wn=Math.abs;function li(U,fe,xe,We){var rt=hr(fe,xe);return U._milliseconds+=We*rt._milliseconds,U._days+=We*rt._days,U._months+=We*rt._months,U._bubble()}function da(U){return U<0?Math.floor(U):Math.ceil(U)}function Tr(U){return 4800*U/146097}function ms(U){return 146097*U/4800}function ks(U){return function(){return this.as(U)}}var nc=ks("ms"),vu=ks("s"),Ig=ks("m"),bu=ks("h"),Ab=ks("d"),Tb=ks("w"),Ib=ks("M"),ps=ks("Q"),rc=ks("y"),jr=nc;function Aa(U){return function(){return this.isValid()?this._data[U]:NaN}}var Bd=Aa("milliseconds"),Pb=Aa("seconds"),Pg=Aa("minutes"),yu=Aa("hours"),ul=Aa("days"),Ud=Aa("months"),Ko=Aa("years");var ha=Math.round,dl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function hl(U,fe,xe,We,rt){return rt.relativeTime(fe||1,!!xe,U,We)}var Su=Math.abs;function Ta(U){return(U>0)-(U<0)||+U}function Zs(){if(!this.isValid())return this.localeData().invalidDate();var We,rt,Ht,Dn,Gr,hi,ls,Js,U=Su(this._milliseconds)/1e3,fe=Su(this._days),xe=Su(this._months),ir=this.asSeconds();return ir?(We=tn(U/60),rt=tn(We/60),U%=60,We%=60,Ht=tn(xe/12),xe%=12,Dn=U?U.toFixed(3).replace(/\.?0+$/,""):"",Gr=ir<0?"-":"",hi=Ta(this._months)!==Ta(ir)?"-":"",ls=Ta(this._days)!==Ta(ir)?"-":"",Js=Ta(this._milliseconds)!==Ta(ir)?"-":"",Gr+"P"+(Ht?hi+Ht+"Y":"")+(xe?hi+xe+"M":"")+(fe?ls+fe+"D":"")+(rt||We||U?"T":"")+(rt?Js+rt+"H":"")+(We?Js+We+"M":"")+(U?Js+Dn+"S":"")):"P0D"}var wi=rs.prototype;return wi.isValid=function ns(){return this._isValid},wi.abs=function Jr(){var U=this._data;return this._milliseconds=Wn(this._milliseconds),this._days=Wn(this._days),this._months=Wn(this._months),U.milliseconds=Wn(U.milliseconds),U.seconds=Wn(U.seconds),U.minutes=Wn(U.minutes),U.hours=Wn(U.hours),U.months=Wn(U.months),U.years=Wn(U.years),this},wi.add=function vo(U,fe){return li(this,U,fe,1)},wi.subtract=function Vs(U,fe){return li(this,U,fe,-1)},wi.as=function _u(U){if(!this.isValid())return NaN;var fe,xe,We=this._milliseconds;if("month"===(U=Vt(U))||"quarter"===U||"year"===U)switch(fe=this._days+We/864e5,xe=this._months+Tr(fe),U){case"month":return xe;case"quarter":return xe/3;case"year":return xe/12}else switch(fe=this._days+Math.round(ms(this._months)),U){case"week":return fe/7+We/6048e5;case"day":return fe+We/864e5;case"hour":return 24*fe+We/36e5;case"minute":return 1440*fe+We/6e4;case"second":return 86400*fe+We/1e3;case"millisecond":return Math.floor(864e5*fe)+We;default:throw new Error("Unknown unit "+U)}},wi.asMilliseconds=nc,wi.asSeconds=vu,wi.asMinutes=Ig,wi.asHours=bu,wi.asDays=Ab,wi.asWeeks=Tb,wi.asMonths=Ib,wi.asQuarters=ps,wi.asYears=rc,wi.valueOf=jr,wi._bubble=function Zi(){var rt,Ht,Dn,ir,Gr,U=this._milliseconds,fe=this._days,xe=this._months,We=this._data;return U>=0&&fe>=0&&xe>=0||U<=0&&fe<=0&&xe<=0||(U+=864e5*da(ms(xe)+fe),fe=0,xe=0),We.milliseconds=U%1e3,rt=tn(U/1e3),We.seconds=rt%60,Ht=tn(rt/60),We.minutes=Ht%60,Dn=tn(Ht/60),We.hours=Dn%24,fe+=tn(Dn/24),xe+=Gr=tn(Tr(fe)),fe-=da(ms(Gr)),ir=tn(xe/12),xe%=12,We.days=fe,We.months=xe,We.years=ir,this},wi.clone=function Bi(){return hr(this)},wi.get=function cl(U){return U=Vt(U),this.isValid()?this[U+"s"]():NaN},wi.milliseconds=Bd,wi.seconds=Pb,wi.minutes=Pg,wi.hours=yu,wi.days=ul,wi.weeks=function Hd(){return tn(this.days()/7)},wi.months=Ud,wi.years=Ko,wi.humanize=function xg(U,fe){if(!this.isValid())return this.localeData().invalidDate();var rt,Ht,xe=!1,We=dl;return"object"==typeof U&&(fe=U,U=!1),"boolean"==typeof U&&(xe=U),"object"==typeof fe&&(We=Object.assign({},dl,fe),null!=fe.s&&null==fe.ss&&(We.ss=fe.s-1)),Ht=function Cu(U,fe,xe,We){var rt=hr(U).abs(),Ht=ha(rt.as("s")),Dn=ha(rt.as("m")),ir=ha(rt.as("h")),Gr=ha(rt.as("d")),hi=ha(rt.as("M")),ls=ha(rt.as("w")),Js=ha(rt.as("y")),fa=Ht<=xe.ss&&["s",Ht]||Ht0,fa[4]=We,hl.apply(null,fa)}(this,!xe,We,rt=this.localeData()),xe&&(Ht=rt.pastFuture(+this,Ht)),rt.postformat(Ht)},wi.toISOString=Zs,wi.toString=Zs,wi.toJSON=Zs,wi.locale=fr,wi.localeData=Nr,wi.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zs),wi.lang=pr,J("X",0,0,"unix"),J("x",0,0,"valueOf"),Dt("x",dt),Dt("X",/[+-]?\d+(\.\d{1,3})?/),nn("X",function(U,fe,xe){xe._d=new Date(1e3*parseFloat(U))}),nn("x",function(U,fe,xe){xe._d=new Date(bn(U))}),i.version="2.30.1",function d(U){n=U}(kt),i.fn=Un,i.min=function So(){return zi("isBefore",[].slice.call(arguments,0))},i.max=function Do(){return zi("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=y,i.unix=function tc(U){return kt(1e3*U)},i.months=function Ye(U,fe){return ge(U,fe,"months")},i.isDate=b,i.locale=Mi,i.invalid=M,i.duration=hr,i.isMoment=N,i.weekdays=function xt(U,fe,xe){return Ee(U,fe,xe,"weekdays")},i.parseZone=function gs(){return kt.apply(null,arguments).parseZone()},i.localeData=Vr,i.isDuration=Ao,i.monthsShort=function ht(U,fe){return ge(U,fe,"monthsShort")},i.weekdaysMin=function an(U,fe,xe){return Ee(U,fe,xe,"weekdaysMin")},i.defineLocale=po,i.updateLocale=function ho(U,fe){if(null!=fe){var xe,We,rt=to;null!=$r[U]&&null!=$r[U].parentLocale?$r[U].set(X($r[U]._config,fe)):(null!=(We=xi(U))&&(rt=We._config),fe=X(rt,fe),null==We&&(fe.abbr=U),(xe=new ce(fe)).parentLocale=$r[U],$r[U]=xe),Mi(U)}else null!=$r[U]&&(null!=$r[U].parentLocale?($r[U]=$r[U].parentLocale,U===Mi()&&Mi(U)):null!=$r[U]&&delete $r[U]);return $r[U]},i.locales=function yo(){return K($r)},i.weekdaysShort=function fn(U,fe,xe){return Ee(U,fe,xe,"weekdaysShort")},i.normalizeUnits=Vt,i.relativeTimeRounding=function ic(U){return void 0===U?ha:"function"==typeof U&&(ha=U,!0)},i.relativeTimeThreshold=function kg(U,fe){return void 0!==dl[U]&&(void 0===fe?dl[U]:(dl[U]=fe,"s"===U&&(dl.ss=fe-1),!0))},i.calendarFormat=function ao(U,fe){var xe=U.diff(fe,"days",!0);return xe<-6?"sameElse":xe<-1?"lastWeek":xe<0?"lastDay":xe<1?"sameDay":xe<2?"nextDay":xe<7?"nextWeek":"sameElse"},i.prototype=Un,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},35584:(module,__unused_webpack_exports,__webpack_require__)=>{var _asyncToGenerator=__webpack_require__(1196).default,o;globalThis,o=()=>(()=>{"use strict";var __webpack_modules__=[,(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.VerbosityLevel=f.Util=f.UnknownErrorException=f.UnexpectedResponseException=f.UNSUPPORTED_FEATURES=f.TextRenderingMode=f.StreamType=f.RenderingIntentFlag=f.PermissionFlag=f.PasswordResponses=f.PasswordException=f.PageActionEventType=f.OPS=f.MissingPDFException=f.LINE_FACTOR=f.LINE_DESCENT_FACTOR=f.InvalidPDFException=f.ImageKind=f.IDENTITY_MATRIX=f.FormatError=f.FontType=f.FeatureTest=f.FONT_IDENTITY_MATRIX=f.DocumentActionEventType=f.CMapCompressionType=f.BaseException=f.AnnotationType=f.AnnotationStateModelType=f.AnnotationReviewState=f.AnnotationReplyType=f.AnnotationMode=f.AnnotationMarkedState=f.AnnotationFlag=f.AnnotationFieldFlag=f.AnnotationEditorType=f.AnnotationEditorPrefix=f.AnnotationEditorParamsType=f.AnnotationBorderStyleType=f.AnnotationActionEventType=f.AbortException=void 0,f.arrayByteLength=mt,f.arraysToBytes=function st(dt){const Mt=dt.length;if(1===Mt&&dt[0]instanceof Uint8Array)return dt[0];let nt=0;for(let Tt=0;TtMt}),dt.promise=new Promise(function(nt,$t){dt.resolve=function(pt){Mt=!0,nt(pt)},dt.reject=function(pt){Mt=!0,$t(pt)}}),dt},f.createValidAbsoluteUrl=function ee(dt,Mt=null,nt=null){if(!dt)return null;try{if(nt&&"string"==typeof dt){if(nt.addDefaultProtocol&&dt.startsWith("www.")){const pt=dt.match(/\./g);pt&&pt.length>=2&&(dt=`http://${dt}`)}if(nt.tryConvertEncoding)try{dt=Pe(dt)}catch{}}const $t=Mt?new URL(dt,Mt):new URL(dt);if(function W(dt){if(!dt)return!1;switch(dt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}($t))return $t}catch{}return null},f.escapeString=function ut(dt){return dt.replace(/([()\\\n\r])/g,Mt=>"\n"===Mt?"\\n":"\r"===Mt?"\\r":`\\${Mt}`)},f.getModificationDate=function He(dt=new Date){return[dt.getUTCFullYear().toString(),(dt.getUTCMonth()+1).toString().padStart(2,"0"),dt.getUTCDate().toString().padStart(2,"0"),dt.getUTCHours().toString().padStart(2,"0"),dt.getUTCMinutes().toString().padStart(2,"0"),dt.getUTCSeconds().toString().padStart(2,"0")].join("")},f.getVerbosityLevel=function ne(){return ce},f.info=function Y(dt){ce>=O.INFOS&&console.log(`Info: ${dt}`)},f.isArrayBuffer=function Re(dt){return"object"==typeof dt&&null!==dt&&void 0!==dt.byteLength},f.isArrayEqual=function lt(dt,Mt){if(dt.length!==Mt.length)return!1;for(let nt=0,$t=dt.length;nt<$t;nt++)if(dt[nt]!==Mt[nt])return!1;return!0},f.isAscii=function Ue(dt){return/^[\x00-\x7F]*$/.test(dt)},f.objectFromMap=function bt(dt){const Mt=Object.create(null);for(const[nt,$t]of dt)Mt[nt]=$t;return Mt},f.objectSize=function Qt(dt){return Object.keys(dt).length},f.setVerbosityLevel=function K(dt){Number.isInteger(dt)&&(ce=dt)},f.shadow=J,f.string32=function ft(dt){return String.fromCharCode(dt>>24&255,dt>>16&255,dt>>8&255,255&dt)},f.stringToBytes=tt,f.stringToPDFString=function qt(dt){if(dt[0]>="\xef"){let nt;if("\xfe"===dt[0]&&"\xff"===dt[1]?nt="utf-16be":"\xff"===dt[0]&&"\xfe"===dt[1]?nt="utf-16le":"\xef"===dt[0]&&"\xbb"===dt[1]&&"\xbf"===dt[2]&&(nt="utf-8"),nt)try{const $t=new TextDecoder(nt,{fatal:!0}),pt=tt(dt);return $t.decode(pt)}catch($t){H(`stringToPDFString: "${$t}".`)}}const Mt=[];for(let nt=0,$t=dt.length;nt<$t;nt++){const pt=vn[dt.charCodeAt(nt)];Mt.push(pt?String.fromCharCode(pt):dt.charAt(nt))}return Mt.join("")},f.stringToUTF16BEString=function De(dt){const Mt=["\xfe\xff"];for(let nt=0,$t=dt.length;nt<$t;nt++){const pt=dt.charCodeAt(nt);Mt.push(String.fromCharCode(pt>>8&255),String.fromCharCode(255&pt))}return Mt.join("")},f.stringToUTF8String=Pe,f.unreachable=ae,f.utf8StringToString=function Qe(dt){return unescape(encodeURIComponent(dt))},f.warn=H,o(2),f.IDENTITY_MATRIX=[1,0,0,1,0,0],f.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],f.LINE_FACTOR=1.35,f.LINE_DESCENT_FACTOR=.35,f.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},f.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},f.AnnotationEditorPrefix="pdfjs_internal_editor_",f.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},f.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},f.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},f.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},f.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},f.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},f.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},f.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},f.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},f.AnnotationReplyType={GROUP:"Group",REPLY:"R"},f.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},f.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},f.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},f.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},f.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},f.PageActionEventType={O:"PageOpen",C:"PageClose"},f.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},f.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const O={ERRORS:0,WARNINGS:1,INFOS:5};f.VerbosityLevel=O,f.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},f.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},f.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},f.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let ce=O.WARNINGS;function H(dt){ce>=O.WARNINGS&&console.log(`Warning: ${dt}`)}function ae(dt){throw new Error(dt)}function J(dt,Mt,nt){return Object.defineProperty(dt,Mt,{value:nt,enumerable:!0,configurable:!0,writable:!1}),nt}const G=function(){function Mt(nt,$t){this.constructor===Mt&&ae("Cannot initialize BaseException."),this.message=nt,this.name=$t}return Mt.prototype=new Error,Mt.constructor=Mt,Mt}();function tt(dt){"string"!=typeof dt&&ae("Invalid argument for stringToBytes");const Mt=dt.length,nt=new Uint8Array(Mt);for(let $t=0;$tdt.toString(16).padStart(2,"0"));class An{static makeHexColor(Mt,nt,$t){return`#${wn[Mt]}${wn[nt]}${wn[$t]}`}static scaleMinMax(Mt,nt){let $t;Mt[0]?(Mt[0]<0&&($t=nt[0],nt[0]=nt[1],nt[1]=$t),nt[0]*=Mt[0],nt[1]*=Mt[0],Mt[3]<0&&($t=nt[2],nt[2]=nt[3],nt[3]=$t),nt[2]*=Mt[3],nt[3]*=Mt[3]):($t=nt[0],nt[0]=nt[2],nt[2]=$t,$t=nt[1],nt[1]=nt[3],nt[3]=$t,Mt[1]<0&&($t=nt[2],nt[2]=nt[3],nt[3]=$t),nt[2]*=Mt[1],nt[3]*=Mt[1],Mt[2]<0&&($t=nt[0],nt[0]=nt[1],nt[1]=$t),nt[0]*=Mt[2],nt[1]*=Mt[2]),nt[0]+=Mt[4],nt[1]+=Mt[4],nt[2]+=Mt[5],nt[3]+=Mt[5]}static transform(Mt,nt){return[Mt[0]*nt[0]+Mt[2]*nt[1],Mt[1]*nt[0]+Mt[3]*nt[1],Mt[0]*nt[2]+Mt[2]*nt[3],Mt[1]*nt[2]+Mt[3]*nt[3],Mt[0]*nt[4]+Mt[2]*nt[5]+Mt[4],Mt[1]*nt[4]+Mt[3]*nt[5]+Mt[5]]}static applyTransform(Mt,nt){return[Mt[0]*nt[0]+Mt[1]*nt[2]+nt[4],Mt[0]*nt[1]+Mt[1]*nt[3]+nt[5]]}static applyInverseTransform(Mt,nt){const $t=nt[0]*nt[3]-nt[1]*nt[2];return[(Mt[0]*nt[3]-Mt[1]*nt[2]+nt[2]*nt[5]-nt[4]*nt[3])/$t,(-Mt[0]*nt[1]+Mt[1]*nt[0]+nt[4]*nt[1]-nt[5]*nt[0])/$t]}static getAxialAlignedBoundingBox(Mt,nt){const $t=An.applyTransform(Mt,nt),pt=An.applyTransform(Mt.slice(2,4),nt),Tt=An.applyTransform([Mt[0],Mt[3]],nt),Ut=An.applyTransform([Mt[2],Mt[1]],nt);return[Math.min($t[0],pt[0],Tt[0],Ut[0]),Math.min($t[1],pt[1],Tt[1],Ut[1]),Math.max($t[0],pt[0],Tt[0],Ut[0]),Math.max($t[1],pt[1],Tt[1],Ut[1])]}static inverseTransform(Mt){const nt=Mt[0]*Mt[3]-Mt[1]*Mt[2];return[Mt[3]/nt,-Mt[1]/nt,-Mt[2]/nt,Mt[0]/nt,(Mt[2]*Mt[5]-Mt[4]*Mt[3])/nt,(Mt[4]*Mt[1]-Mt[5]*Mt[0])/nt]}static apply3dTransform(Mt,nt){return[Mt[0]*nt[0]+Mt[1]*nt[1]+Mt[2]*nt[2],Mt[3]*nt[0]+Mt[4]*nt[1]+Mt[5]*nt[2],Mt[6]*nt[0]+Mt[7]*nt[1]+Mt[8]*nt[2]]}static singularValueDecompose2dScale(Mt){const nt=[Mt[0],Mt[2],Mt[1],Mt[3]],$t=Mt[0]*nt[0]+Mt[1]*nt[2],Ut=Mt[2]*nt[1]+Mt[3]*nt[3],Zt=($t+Ut)/2,Dt=Math.sqrt(($t+Ut)**2-4*($t*Ut-(Mt[2]*nt[0]+Mt[3]*nt[2])*(Mt[0]*nt[1]+Mt[1]*nt[3])))/2,Ct=Zt-Dt||1;return[Math.sqrt(Zt+Dt||1),Math.sqrt(Ct)]}static normalizeRect(Mt){const nt=Mt.slice(0);return Mt[0]>Mt[2]&&(nt[0]=Mt[2],nt[2]=Mt[0]),Mt[1]>Mt[3]&&(nt[1]=Mt[3],nt[3]=Mt[1]),nt}static intersect(Mt,nt){const $t=Math.max(Math.min(Mt[0],Mt[2]),Math.min(nt[0],nt[2])),pt=Math.min(Math.max(Mt[0],Mt[2]),Math.max(nt[0],nt[2]));if($t>pt)return null;const Tt=Math.max(Math.min(Mt[1],Mt[3]),Math.min(nt[1],nt[3])),Ut=Math.min(Math.max(Mt[1],Mt[3]),Math.max(nt[1],nt[3]));return Tt>Ut?null:[$t,Tt,pt,Ut]}static bezierBoundingBox(Mt,nt,$t,pt,Tt,Ut,Zt,Dt){const zt=[],Ct=[[],[]];let Pt,tn,bn,Tn,nn,tr,Ir,Rr;for(let qn=0;qn<2;++qn)if(0===qn?(tn=6*Mt-12*$t+6*Tt,Pt=-3*Mt+9*$t-9*Tt+3*Zt,bn=3*$t-3*Mt):(tn=6*nt-12*pt+6*Ut,Pt=-3*nt+9*pt-9*Ut+3*Dt,bn=3*pt-3*nt),Math.abs(Pt)<1e-12){if(Math.abs(tn)<1e-12)continue;Tn=-bn/tn,0{o(3)},(ve,f)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.isNodeJS=void 0;const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);f.isNodeJS=o},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:ve,NodeCMapReaderFactory:f,NodeStandardFontDataFactory:o}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=ve,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=f,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=o}function setPDFNetworkStreamFactory(ve){createPDFNetworkStream=ve}function getDocument(ve){const f=new PDFDocumentLoadingTask;let o;if("string"==typeof ve||ve instanceof URL)o={url:ve};else if((0,_util.isArrayBuffer)(ve))o={data:ve};else if(ve instanceof PDFDataRangeTransport)o={range:ve};else{if("object"!=typeof ve)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!ve.url&&!ve.data&&!ve.range)throw new Error("Invalid parameter object: need either .data, .range or .url");o=ve}const n=Object.create(null);let i=null,d=null;for(const a in o){const e=o[a];switch(a){case"url":if(typeof window<"u")try{n[a]=new URL(e,window.location).href;continue}catch(c){(0,_util.warn)(`Cannot create valid URL: "${c}".`)}else if("string"==typeof e||e instanceof URL){n[a]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":i=e;continue;case"worker":d=e;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&e instanceof Buffer)n[a]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"==typeof e)n[a]=(0,_util.stringToBytes)(e);else if("object"!=typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");n[a]=new Uint8Array(e)}else n[a]=new Uint8Array(e)}continue}n[a]=e}if(n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,(!Number.isInteger(n.rangeChunkSize)||n.rangeChunkSize<1)&&(n.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),(!Number.isInteger(n.maxImageSize)||n.maxImageSize<-1)&&(n.maxImageSize=-1),"string"!=typeof n.cMapUrl&&(n.cMapUrl=null),"string"!=typeof n.standardFontDataUrl&&(n.standardFontDataUrl=null),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),("object"!=typeof n.ownerDocument||null===n.ownerDocument)&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!d){const a={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};d=a.port?PDFWorker.fromPort(a):new PDFWorker(a),f._worker=d}const u=f.docId;return d.promise.then(function(){if(f.destroyed)throw new Error("Loading aborted");const a=_fetchDocument(d,n,i,u),e=new Promise(function(c){let l;i?l=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(l=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),c(l)});return Promise.all([a,e]).then(function([c,l]){if(f.destroyed)throw new Error("Loading aborted");const g=new _message_handler.MessageHandler(u,c,d.port),b=new WorkerTransport(g,f,l,n);f._transport=b,g.send("Ready",null)})}).catch(f._capability.reject),f}function _fetchDocument(ve,f,o,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(function*(ve,f,o,n){if(ve.destroyed)throw new Error("Worker was destroyed");o&&(f.length=o.length,f.initialData=o.initialData,f.progressiveDone=o.progressiveDone,f.contentDispositionFilename=o.contentDispositionFilename);const i=yield ve.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.16.105",source:{data:f.data,url:f.url,password:f.password,disableAutoFetch:f.disableAutoFetch,rangeChunkSize:f.rangeChunkSize,length:f.length},maxImageSize:f.maxImageSize,disableFontFace:f.disableFontFace,docBaseUrl:f.docBaseUrl,ignoreErrors:f.ignoreErrors,isEvalSupported:f.isEvalSupported,fontExtraProperties:f.fontExtraProperties,enableXfa:f.enableXfa,useSystemFonts:f.useSystemFonts,cMapUrl:f.useWorkerFetch?f.cMapUrl:null,standardFontDataUrl:f.useWorkerFetch?f.standardFontDataUrl:null});if(f.data&&(f.data=null),ve.destroyed)throw new Error("Worker was destroyed");return i})).apply(this,arguments)}class PDFDocumentLoadingTask{static#e=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){var f=this;return _asyncToGenerator(function*(){f.destroyed=!0,yield f._transport?.destroy(),f._transport=null,f._worker&&(f._worker.destroy(),f._worker=null)})()}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(f,o,n=!1,i=null){this.length=f,this.initialData=o,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(f){this._rangeListeners.push(f)}addProgressListener(f){this._progressListeners.push(f)}addProgressiveReadListener(f){this._progressiveReadListeners.push(f)}addProgressiveDoneListener(f){this._progressiveDoneListeners.push(f)}onDataRange(f,o){for(const n of this._rangeListeners)n(f,o)}onDataProgress(f,o){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(f,o)})}onDataProgressiveRead(f){this._readyCapability.promise.then(()=>{for(const o of this._progressiveReadListeners)o(f)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const f of this._progressiveDoneListeners)f()})}transportReady(){this._readyCapability.resolve()}requestDataRange(f,o){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(f,o){var i,n=this;this._pdfInfo=f,this._transport=o,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(i=_asyncToGenerator(function*(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),n.stats||{streamTypes:{},fontTypes:{}}}),function(){return i.apply(this,arguments)})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(f){return this._transport.getPage(f)}getPageIndex(f){return this._transport.getPageIndex(f)}getDestinations(){return this._transport.getDestinations()}getDestination(f){return this._transport.getDestination(f)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(f=!1){return this._transport.startCleanup(f||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(f,o,n,i,d=!1){this._pageIndex=f,this._pageInfo=o,this._ownerDocument=i,this._transport=n,this._stats=d?new _display_utils.StatTimer:null,this._pdfBug=d,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:f,rotation:o=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:d=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:f,rotation:o,offsetX:n,offsetY:i,dontFlip:d})}getAnnotations({intent:f="display"}={}){const o=this._transport.getRenderingIntent(f);let n=this._annotationPromises.get(o.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,o.renderingIntent),this._annotationPromises.set(o.cacheKey,n),n=n.then(i=>{for(const d of i)void 0!==d.titleObj&&Object.defineProperty(d,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),d.titleObj.str)}),void 0!==d.contentsObj&&Object.defineProperty(d,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),d.contentsObj.str)});return i})),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}getXfa(){var f=this;return _asyncToGenerator(function*(){return f._transport._htmlForXfa?.children[f._pageIndex]||null})()}render({canvasContext:f,viewport:o,intent:n="display",annotationMode:i=_util.AnnotationMode.ENABLE,transform:d=null,imageLayer:u=null,canvasFactory:a=null,background:e=null,optionalContentConfigPromise:c=null,annotationCanvasMap:l=null,pageColors:g=null,printAnnotationStorage:b=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const _=this._transport.getRenderingIntent(n,i,b);this.pendingCleanup=!1,c||(c=this._transport.getOptionalContentConfig());let S=this._intentStates.get(_.cacheKey);S||(S=Object.create(null),this._intentStates.set(_.cacheKey,S)),S.streamReaderCancelTimeout&&(clearTimeout(S.streamReaderCancelTimeout),S.streamReaderCancelTimeout=null);const y=a||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),m=!!(_.renderingIntent&_util.RenderingIntentFlag.PRINT);S.displayReadyCapability||(S.displayReadyCapability=(0,_util.createPromiseCapability)(),S.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(_));const h=M=>{S.renderTasks.delete(C),(this.cleanupAfterRender||m)&&(this.pendingCleanup=!0),this._tryCleanup(),M?(C.capability.reject(M),this._abortOperatorList({intentState:S,reason:M instanceof Error?M:new Error(M)})):C.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},C=new InternalRenderTask({callback:h,params:{canvasContext:f,viewport:o,transform:d,imageLayer:u,background:e},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:l,operatorList:S.operatorList,pageIndex:this._pageIndex,canvasFactory:y,useRequestAnimationFrame:!m,pdfBug:this._pdfBug,pageColors:g});(S.renderTasks||=new Set).add(C);const v=C.task;return Promise.all([S.displayReadyCapability.promise,c]).then(([M,E])=>{this.pendingCleanup?h():(this._stats&&this._stats.time("Rendering"),C.initializeGraphics({transparency:M,optionalContentConfig:E}),C.operatorListChanged())}).catch(h),v}getOperatorList({intent:f="display",annotationMode:o=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}={}){const d=this._transport.getRenderingIntent(f,o,n,!0);let a,u=this._intentStates.get(d.cacheKey);return u||(u=Object.create(null),this._intentStates.set(d.cacheKey,u)),u.opListReadCapability||(a=Object.create(null),a.operatorListChanged=function i(){u.operatorList.lastChunk&&(u.opListReadCapability.resolve(u.operatorList),u.renderTasks.delete(a))},u.opListReadCapability=(0,_util.createPromiseCapability)(),(u.renderTasks||=new Set).add(a),u.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(d)),u.opListReadCapability.promise}streamTextContent({disableCombineTextItems:f=!1,includeMarkedContent:o=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==f,includeMarkedContent:!0===o},{highWaterMark:100,size:i=>i.items.length})}getTextContent(f={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>_xfa_text.XfaText.textContent(n));const o=this.streamTextContent(f);return new Promise(function(n,i){const u=o.getReader(),a={items:[],styles:Object.create(null)};!function d(){u.read().then(function({value:e,done:c}){c?n(a):(Object.assign(a.styles,e.styles),a.items.push(...e.items),d())},i)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const f=[];for(const o of this._intentStates.values())if(this._abortOperatorList({intentState:o,reason:new Error("Page was destroyed."),force:!0}),!o.opListReadCapability)for(const n of o.renderTasks)f.push(n.completed),n.cancel();this.objs.clear();for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(f)}cleanup(f=!1){return this.pendingCleanup=!0,this._tryCleanup(f)}_tryCleanup(f=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:o,operatorList:n}of this._intentStates.values())if(o.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,f&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(f,o){const n=this._intentStates.get(o);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(f))}_renderPageChunk(f,o){for(let n=0,i=f.length;n{d.read().then(({value:e,done:c})=>{c?u.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,u),a())},e=>{if(u.streamReader=null,!this._transport.destroyed){if(u.operatorList){u.operatorList.lastChunk=!0;for(const c of u.renderTasks)c.operatorListChanged();this._tryCleanup()}if(u.displayReadyCapability)u.displayReadyCapability.reject(e);else{if(!u.opListReadCapability)throw e;u.opListReadCapability.reject(e)}}})};a()}_abortOperatorList({intentState:f,reason:o,force:n=!1}){if(f.streamReader){if(!n){if(f.renderTasks.size>0)return;if(o instanceof _display_utils.RenderingCancelledException)return void(f.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:f,reason:o,force:!0}),f.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(f.streamReader.cancel(new _util.AbortException(o.message)).catch(()=>{}),f.streamReader=null,!this._transport.destroyed){for(const[i,d]of this._intentStates)if(d===f){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(f,o){const n={data:structuredClone(f,o)};this._deferred.then(()=>{for(const i of this._listeners)i.call(this,n)})}addEventListener(f,o){this._listeners.push(o)}removeEventListener(f,o){const n=this._listeners.indexOf(o);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const ve=document?.currentScript?.src;ve&&(PDFWorkerUtil.fallbackWorkerSrc=ve.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(ve,f){let o;try{if(o=new URL(ve),!o.origin||"null"===o.origin)return!1}catch{return!1}const n=new URL(f,o);return o.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(ve){return URL.createObjectURL(new Blob([`importScripts("${ve}");`]))};class PDFWorker{static#workerPorts=new WeakMap;constructor({name:ve=null,port:f=null,verbosity:o=(0,_util.getVerbosityLevel)()}={}){if(f&&PDFWorker.#workerPorts.has(f))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=ve,this.destroyed=!1,this.verbosity=o,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,f)return PDFWorker.#workerPorts.set(f,this),void this._initializeFromPort(f);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(ve){this._port=ve,this._messageHandler=new _message_handler.MessageHandler("main","worker",ve),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:ve}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,ve)||(ve=PDFWorkerUtil.createCDNWrapper(new URL(ve,window.location).href));const f=new Worker(ve),o=new _message_handler.MessageHandler("main","worker",f),n=()=>{f.removeEventListener("error",i),o.destroy(),f.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||n()};f.addEventListener("error",i),o.on("test",u=>{f.removeEventListener("error",i),this.destroyed?n():u?(this._messageHandler=o,this._port=f,this._webWorker=f,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),o.destroy(),f.terminate())}),o.on("ready",u=>{if(f.removeEventListener("error",i),this.destroyed)n();else try{d()}catch{this._setupFakeWorker()}});const d=()=>{const u=new Uint8Array;o.send("test",u,[u.buffer])};return void d()}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(ve=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const f=new LoopbackPort;this._port=f;const o="fake"+PDFWorkerUtil.fakeWorkerId++,n=new _message_handler.MessageHandler(o+"_worker",o,f);ve.setup(n,f);const i=new _message_handler.MessageHandler(o,o+"_worker",f);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})}).catch(ve=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${ve.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(ve){if(!ve?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#workerPorts.has(ve.port)?this.#workerPorts.get(ve.port):new PDFWorker(ve)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var _this4=this;const loader=function(){var _ref2=_asyncToGenerator(function*(){const mainWorkerMessageHandler=_this4._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(_this4.workerSrc);return worker.WorkerMessageHandler}return yield(0,_display_utils.loadScript)(_this4.workerSrc),window.pdfjsWorker.WorkerMessageHandler});return function ve(){return _ref2.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(f,o,n,i){this.messageHandler=f,this.loadingTask=o,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:o.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this._params=i,i.useWorkerFetch||(this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.StandardFontDataFactory=new i.StandardFontDataFactory({baseUrl:i.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(f,o=_util.AnnotationMode.ENABLE,n=null,i=!1){let d=_util.RenderingIntentFlag.DISPLAY,u=null;switch(f){case"any":d=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":d=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${f}`)}switch(o){case _util.AnnotationMode.DISABLE:d+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:d+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:d+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,u=(d&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${o}`)}return i&&(d+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:d,cacheKey:`${d}_${_annotation_storage.AnnotationStorage.getHash(u)}`,annotationStorageMap:u}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const f=[];for(const n of this.#t.values())f.push(n._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const o=this.messageHandler.sendWithPromise("Terminate",null);return f.push(o),Promise.all(f).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:f,loadingTask:o}=this;f.on("GetReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=d=>{this._lastProgress={loaded:d.loaded,total:d.total}},i.onPull=()=>{this._fullReader.read().then(function({value:d,done:u}){u?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(d),"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(d),1,[d]))}).catch(d=>{i.error(d)})},i.onCancel=d=>{this._fullReader.cancel(d),i.ready.catch(u=>{if(!this.destroyed)throw u})}}),f.on("ReaderHeadersReady",n=>{const i=(0,_util.createPromiseCapability)(),d=this._fullReader;return d.headersReady.then(()=>{(!d.isStreamingSupported||!d.isRangeSupported)&&(this._lastProgress&&o.onProgress?.(this._lastProgress),d.onProgress=u=>{o.onProgress?.({loaded:u.loaded,total:u.total})}),i.resolve({isStreamingSupported:d.isStreamingSupported,isRangeSupported:d.isRangeSupported,contentLength:d.contentLength})},i.reject),i.promise}),f.on("GetRangeReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const d=this._networkStream.getRangeReader(n.begin,n.end);d?(i.onPull=()=>{d.read().then(function({value:u,done:a}){a?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(u),"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(u),1,[u]))}).catch(u=>{i.error(u)})},i.onCancel=u=>{d.cancel(u),i.ready.catch(a=>{if(!this.destroyed)throw a})}):i.close()}),f.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,o._capability.resolve(new PDFDocumentProxy(n,this))}),f.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new _util.PasswordException(n.message,n.code);break;case"InvalidPDFException":i=new _util.InvalidPDFException(n.message);break;case"MissingPDFException":i=new _util.MissingPDFException(n.message);break;case"UnexpectedResponseException":i=new _util.UnexpectedResponseException(n.message,n.status);break;case"UnknownErrorException":i=new _util.UnknownErrorException(n.message,n.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}o._capability.reject(i)}),f.on("PasswordRequest",n=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),o.onPassword){const i=d=>{d instanceof Error?this._passwordCapability.reject(d):this._passwordCapability.resolve({password:d})};try{o.onPassword(i,n.code)}catch(d){this._passwordCapability.reject(d)}}else this._passwordCapability.reject(new _util.PasswordException(n.message,n.code));return this._passwordCapability.promise}),f.on("DataLoaded",n=>{o.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),f.on("StartRenderPage",n=>{this.destroyed||this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),f.on("commonobj",([n,i,d])=>{if(!this.destroyed&&!this.commonObjs.has(n))switch(i){case"Font":const u=this._params;if("error"in d){const c=d.error;(0,_util.warn)(`Error during font loading: ${c}`),this.commonObjs.resolve(n,c);break}let a=null;u.pdfBug&&globalThis.FontInspector?.enabled&&(a={registerFont(c,l){globalThis.FontInspector.fontAdded(c,l)}});const e=new _font_loader.FontFaceObject(d,{isEvalSupported:u.isEvalSupported,disableFontFace:u.disableFontFace,ignoreErrors:u.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:a});this.fontLoader.bind(e).catch(c=>f.sendWithPromise("FontFallback",{id:n})).finally(()=>{!u.fontExtraProperties&&e.data&&(e.data=null),this.commonObjs.resolve(n,e)});break;case"FontPath":case"Image":this.commonObjs.resolve(n,d);break;default:throw new Error(`Got unknown common object type ${i}`)}}),f.on("obj",([n,i,d,u])=>{if(this.destroyed)return;const a=this.#t.get(i);if(!a.objs.has(n))switch(d){case"Image":a.objs.resolve(n,u);const e=8e6;if(u){let c;if(u.bitmap){const{bitmap:l,width:g,height:b}=u;c=g*b*4,a._bitmaps.add(l)}else c=u.data?.length||0;c>e&&(a.cleanupAfterRender=!0)}break;case"Pattern":a.objs.resolve(n,u);break;default:throw new Error(`Got unknown object type ${d}`)}}),f.on("DocProgress",n=>{this.destroyed||o.onProgress?.({loaded:n.loaded,total:n.total})}),f.on("DocStats",n=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(n.streamTypes),fontTypes:Object.freeze(n.fontTypes)}))}),f.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),f.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),f.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:f}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(f)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(f){if(!Number.isInteger(f)||f<=0||f>this._numPages)return Promise.reject(new Error("Invalid page request."));const o=f-1,n=this.#n.get(o);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:o}).then(d=>{if(this.destroyed)throw new Error("Transport destroyed");const u=new PDFPageProxy(o,d,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(o,u),u});return this.#n.set(o,i),i}getPageIndex(f){return"object"!=typeof f||null===f||!Number.isInteger(f.num)||f.num<0||!Number.isInteger(f.gen)||f.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:f.num,gen:f.gen})}getAnnotations(f,o){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:f,intent:o})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(f){return"string"!=typeof f?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:f})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(f){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:f})}getStructTree(f){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:f})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(f=>new _optional_content_config.OptionalContentConfig(f))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(f=>({info:f[0],metadata:f[1]?new _metadata.Metadata(f[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(f=!1){var o=this;return _asyncToGenerator(function*(){if(yield o.messageHandler.sendWithPromise("Cleanup",null),!o.destroyed){for(const n of o.#t.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);o.commonObjs.clear(),f||o.fontLoader.clear(),o.#r=null,o._getFieldObjectsPromise=null,o._hasJSActionsPromise=null}})()}get loadingParams(){const f=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:f.disableAutoFetch,enableXfa:f.enableXfa})}}class PDFObjects{#e=Object.create(null);#t(f){return this.#e[f]||(this.#e[f]={capability:(0,_util.createPromiseCapability)(),data:null})}get(f,o=null){if(o){const i=this.#t(f);return i.capability.promise.then(()=>o(i.data)),null}const n=this.#e[f];if(!n?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${f}.`);return n.data}has(f){return this.#e[f]?.capability.settled||!1}resolve(f,o=null){const n=this.#t(f);n.data=o,n.capability.resolve()}clear(){this.#e=Object.create(null)}}class RenderTask{#e=null;constructor(f){this.#e=f,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(){this.#e.cancel()}get separateAnnots(){const{separateAnnots:f}=this.#e.operatorList;if(!f)return!1;const{annotationCanvasMap:o}=this.#e;return f.form||f.canvas&&o?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static#e=new WeakSet;constructor({callback:f,params:o,objs:n,commonObjs:i,annotationCanvasMap:d,operatorList:u,pageIndex:a,canvasFactory:e,useRequestAnimationFrame:c=!1,pdfBug:l=!1,pageColors:g=null}){this.callback=f,this.params=o,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=d,this.operatorListIdx=null,this.operatorList=u,this._pageIndex=a,this.canvasFactory=e,this._pdfBug=l,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===c&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=o.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:f=!1,optionalContentConfig:o}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:d,imageLayer:u,background:a}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,u,o,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:d,viewport:i,transparency:f,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(f=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#e.delete(this._canvas),this.callback(f||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var f=this;return _asyncToGenerator(function*(){f.cancelled||(f.operatorListIdx=f.gfx.executeOperatorList(f.operatorList,f.operatorListIdx,f._continueBound,f.stepper),f.operatorListIdx===f.operatorList.argsArray.length&&(f.running=!1,f.operatorList.lastChunk&&(f.gfx.endDrawing(),f._canvas&&InternalRenderTask.#e.delete(f._canvas),f.callback())))})()}}const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PrintAnnotationStorage=f.AnnotationStorage=void 0;var n=o(1),i=o(6),d=o(10);class u{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(c,l){const g=this._storage.get(c);return void 0===g?l:Object.assign(l,g)}getRawValue(c){return this._storage.get(c)}remove(c){if(this._storage.delete(c),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const l of this._storage.values())if(l instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(c,l){const g=this._storage.get(c);let b=!1;if(void 0!==g)for(const[_,S]of Object.entries(l))g[_]!==S&&(b=!0,g[_]=S);else b=!0,this._storage.set(c,l);b&&this.#e(),l instanceof i.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(l.constructor._type)}has(c){return this._storage.has(c)}getAll(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}get size(){return this._storage.size}#e(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new a(this)}get serializable(){if(0===this._storage.size)return null;const c=new Map;for(const[l,g]of this._storage){const b=g instanceof i.AnnotationEditor?g.serialize():g;b&&c.set(l,b)}return c}static getHash(c){if(!c)return"";const l=new d.MurmurHash3_64;for(const[g,b]of c)l.update(`${g}:${JSON.stringify(b)}`);return l.hexdigest()}}f.AnnotationStorage=u;class a extends u{#e=null;constructor(c){super(),this.#e=structuredClone(c.serializable)}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}f.PrintAnnotationStorage=a},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.AnnotationEditor=void 0;var n=o(7),i=o(1);class d{#e=this.focusin.bind(this);#t=this.focusout.bind(this);#n=!1;#r=!1;#o=!1;#c=d._zIndex++;static _colorManager=new n.ColorManager;static _zIndex=1;constructor(a){this.constructor===d&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=a.parent,this.id=a.id,this.width=this.height=null,this.pageIndex=a.parent.pageIndex,this.name=a.name,this.div=null;const[e,c]=this.parent.viewportBaseDimensions;this.x=a.x/e,this.y=a.y/c,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#c}focusin(a){this.#n?this.#n=!1:this.parent.setSelected(this)}focusout(a){!this.isAttachedToDOM||a.relatedTarget?.closest(`#${this.id}`)||(a.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(a){const e=this.parent.div.getBoundingClientRect();this.startX=a.clientX-e.x,this.startY=a.clientY-e.y,a.dataTransfer.setData("text/plain",this.id),a.dataTransfer.effectAllowed="move"}setAt(a,e,c,l){const[g,b]=this.parent.viewportBaseDimensions;[c,l]=this.screenToPageTranslation(c,l),this.x=(a+c)/g,this.y=(e+l)/b,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(a,e){const[c,l]=this.parent.viewportBaseDimensions;[a,e]=this.screenToPageTranslation(a,e),this.x+=a/c,this.y+=e/l,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(a,e){const{rotation:c}=this.parent.viewport;switch(c){case 90:return[e,-a];case 180:return[-a,-e];case 270:return[-e,a];default:return[a,e]}}setDims(a,e){const[c,l]=this.parent.viewportBaseDimensions;this.div.style.width=100*a/c+"%",this.div.style.height=100*e/l+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#e),this.div.addEventListener("focusout",this.#t);const[a,e]=this.getInitialTranslation();return this.translate(a,e),(0,n.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(a){const e=n.KeyboardManager.platform.isMac;0!==a.button||a.ctrlKey&&e?a.preventDefault():(a.ctrlKey&&!e||a.shiftKey||a.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#n=!0)}getRect(a,e){const[c,l]=this.parent.viewportBaseDimensions,[g,b]=this.parent.pageDimensions,_=g*a/c,S=b*e/l,y=this.x*g,m=this.y*b,h=this.width*g,C=this.height*b;switch(this.rotation){case 0:return[y+_,b-m-S-C,y+_+h,b-m-S];case 90:return[y+S,b-m+_,y+S+C,b-m+_+h];case 180:return[y-_-h,b-m+S,y-_,b-m+S+C];case 270:return[y-S-C,b-m-_-h,y-S,b-m-_];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(a,e){const[c,l,g,b]=a,_=g-c,S=b-l;switch(this.rotation){case 0:return[c,e-b,_,S];case 90:return[c,e-l,S,_];case 180:return[g,e-l,_,S];case 270:return[g,e-b,S,_];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#o=!0}disableEditMode(){this.#o=!1}isInEditMode(){return this.#o}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#e)}serialize(){(0,i.unreachable)("An editor must be serializable")}static deserialize(a,e){const c=new this.prototype.constructor({parent:e,id:e.getNextId()});c.rotation=a.rotation;const[l,g]=e.pageDimensions,[b,_,S,y]=c.getRectInCurrentCoords(a.rect,g);return c.x=b/l,c.y=_/g,c.width=S/l,c.height=y/g,c}remove(){this.div.removeEventListener("focusin",this.#e),this.div.removeEventListener("focusout",this.#t),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(a,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(a){this.#r=a,a?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}f.AnnotationEditor=d},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.KeyboardManager=f.CommandManager=f.ColorManager=f.AnnotationEditorUIManager=void 0,f.bindEvents=function d(_,S,y){for(const m of y)S.addEventListener(m,_[m].bind(_))},f.opacityToHex=function u(_){return Math.round(Math.min(255,Math.max(1,255*_))).toString(16).padStart(2,"0")};var n=o(1),i=o(8);class a{#e=0;getId(){return`${n.AnnotationEditorPrefix}${this.#e++}`}}class e{#e=[];#t=!1;#n;#r=-1;constructor(S=128){this.#n=S}add({cmd:S,undo:y,mustExec:m,type:h=NaN,overwriteIfSameType:C=!1,keepUndo:v=!1}){if(m&&S(),this.#t)return;const M={cmd:S,undo:y,type:h};if(-1===this.#r)return this.#e.length>0&&(this.#e.length=0),this.#r=0,void this.#e.push(M);if(C&&this.#e[this.#r].type===h)return v&&(M.undo=this.#e[this.#r].undo),void(this.#e[this.#r]=M);const E=this.#r+1;E===this.#n?this.#e.splice(0,1):(this.#r=E,Ey.serialize()):this.#e=[S.serialize()],this.#e=this.#e.filter(y=>!!y),0===this.#e.length&&(this.#e=null))}paste(){return this.#e}isEmpty(){return null===this.#e}destroy(){this.#e=null}}class g{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const S=new Map([["CanvasText",null],["Canvas",null]]);return(0,i.getColorValues)(S),(0,n.shadow)(this,"_colors",S)}convert(S){const y=(0,i.getRGB)(S);if(!window.matchMedia("(forced-colors: active)").matches)return y;for(const[m,h]of this._colors)if(h.every((C,v)=>C===y[v]))return g._colorsMapping.get(m);return y}getHexCode(S){const y=this._colors.get(S);return y?n.Util.makeHexColor(...y):S}}f.ColorManager=g;class b{#e=null;#t=new Map;#n=new Map;#r=new l;#o=new e;#c=0;#a=null;#i=null;#h=new a;#u=!1;#l=n.AnnotationEditorType.NONE;#s=new Set;#g=this.keydown.bind(this);#f=this.onEditingAction.bind(this);#v=this.onPageChanging.bind(this);#p={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#_=null;static _keyboardManager=new c([[["ctrl+a","mac+meta+a"],b.prototype.selectAll],[["ctrl+c","mac+meta+c"],b.prototype.copy],[["ctrl+v","mac+meta+v"],b.prototype.paste],[["ctrl+x","mac+meta+x"],b.prototype.cut],[["ctrl+z","mac+meta+z"],b.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],b.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],b.prototype.delete],[["Escape","mac+Escape"],b.prototype.unselectAll]]);constructor(S,y){this.#_=S,this.#i=y,this.#i._on("editingaction",this.#f),this.#i._on("pagechanging",this.#v)}destroy(){this.#y(),this.#i._off("editingaction",this.#f),this.#i._off("pagechanging",this.#v);for(const S of this.#n.values())S.destroy();this.#n.clear(),this.#t.clear(),this.#e=null,this.#s.clear(),this.#r.destroy(),this.#o.destroy()}onPageChanging({pageNumber:S}){this.#c=S-1}focusMainContainer(){this.#_.focus()}#S(){this.#_.addEventListener("keydown",this.#g)}#y(){this.#_.removeEventListener("keydown",this.#g)}keydown(S){this.getActive()?.shouldGetKeyboardEvents()||b._keyboardManager.exec(this,S)}onEditingAction(S){["undo","redo","cut","copy","paste","delete","selectAll"].includes(S.name)&&this[S.name]()}#d(S){Object.entries(S).some(([m,h])=>this.#p[m]!==h)&&this.#i.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#p,S)})}#M(S){this.#i.dispatch("annotationeditorparamschanged",{source:this,details:S})}setEditingState(S){S?(this.#S(),this.#d({isEditing:this.#l!==n.AnnotationEditorType.NONE,isEmpty:this.#b(),hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:this.#o.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#r.isEmpty()})):(this.#y(),this.#d({isEditing:!1}))}registerEditorTypes(S){this.#a=S;for(const y of this.#a)this.#M(y.defaultPropertiesToUpdate)}getId(){return this.#h.getId()}addLayer(S){this.#n.set(S.pageIndex,S),this.#u?S.enable():S.disable()}removeLayer(S){this.#n.delete(S.pageIndex)}updateMode(S){if(this.#l=S,S===n.AnnotationEditorType.NONE)this.setEditingState(!1),this.#m();else{this.setEditingState(!0),this.#A();for(const y of this.#n.values())y.updateMode(S)}}updateToolbar(S){S!==this.#l&&this.#i.dispatch("switchannotationeditormode",{source:this,mode:S})}updateParams(S,y){for(const m of this.#s)m.updateParams(S,y);for(const m of this.#a)m.updateDefaultParams(S,y)}#A(){if(!this.#u){this.#u=!0;for(const S of this.#n.values())S.enable()}}#m(){if(this.unselectAll(),this.#u){this.#u=!1;for(const S of this.#n.values())S.disable()}}getEditors(S){const y=[];for(const m of this.#t.values())m.pageIndex===S&&y.push(m);return y}getEditor(S){return this.#t.get(S)}addEditor(S){this.#t.set(S.id,S)}removeEditor(S){this.#t.delete(S.id),this.unselect(S)}#E(S){const y=this.#n.get(S.pageIndex);y?y.addOrRebuild(S):this.addEditor(S)}setActiveEditor(S){this.#e!==S&&(this.#e=S,S&&this.#M(S.propertiesToUpdate))}toggleSelected(S){if(this.#s.has(S))return this.#s.delete(S),S.unselect(),void this.#d({hasSelectedEditor:this.hasSelection});this.#s.add(S),S.select(),this.#M(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}setSelected(S){for(const y of this.#s)y!==S&&y.unselect();this.#s.clear(),this.#s.add(S),S.select(),this.#M(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}isSelected(S){return this.#s.has(S)}unselect(S){S.unselect(),this.#s.delete(S),this.#d({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#s.size}undo(){this.#o.undo(),this.#d({hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#b()})}redo(){this.#o.redo(),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:this.#o.hasSomethingToRedo(),isEmpty:this.#b()})}addCommands(S){this.#o.add(S),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#b()})}#b(){if(0===this.#t.size)return!0;if(1===this.#t.size)for(const S of this.#t.values())return S.isEmpty();return!1}delete(){if(this.#e&&this.#e.commitOrRemove(),!this.hasSelection)return;const S=[...this.#s];this.addCommands({cmd:()=>{for(const h of S)h.remove()},undo:()=>{for(const h of S)this.#E(h)},mustExec:!0})}copy(){if(this.#e&&this.#e.commitOrRemove(),this.hasSelection){const S=[];for(const y of this.#s)y.isEmpty()||S.push(y);if(0===S.length)return;this.#r.copy(S),this.#d({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#r.isEmpty())return;this.unselectAll();const S=this.#n.get(this.#c),y=this.#r.paste().map(C=>S.deserialize(C));this.addCommands({cmd:()=>{for(const C of y)this.#E(C);this.#C(y)},undo:()=>{for(const C of y)C.remove()},mustExec:!0})}#C(S){this.#s.clear();for(const y of S)y.isEmpty()||(this.#s.add(y),y.select());this.#d({hasSelectedEditor:!0})}selectAll(){for(const S of this.#s)S.commit();this.#C(this.#t.values())}unselectAll(){if(this.#e)this.#e.commitOrRemove();else if(0!==this.#C.size){for(const S of this.#s)S.unselect();this.#s.clear(),this.#d({hasSelectedEditor:!1})}}isActive(S){return this.#e===S}getActive(){return this.#e}getMode(){return this.#l}}f.AnnotationEditorUIManager=b},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.StatTimer=f.RenderingCancelledException=f.PixelsPerInch=f.PageViewport=f.PDFDateString=f.DOMStandardFontDataFactory=f.DOMSVGFactory=f.DOMCanvasFactory=f.DOMCMapReaderFactory=f.AnnotationPrefix=void 0,f.deprecated=function T(q){console.log("Deprecated API usage: "+q)},f.getColorValues=function O(q){const X=document.createElement("span");X.style.visibility="hidden",document.body.append(X);for(const ce of q.keys()){X.style.color=ce;const K=window.getComputedStyle(X).color;q.set(ce,L(K))}X.remove()},f.getCurrentTransform=function z(q){const{a:X,b:ce,c:K,d:ne,e:Y,f:H}=q.getTransform();return[X,ce,K,ne,Y,H]},f.getCurrentTransformInverse=function F(q){const{a:X,b:ce,c:K,d:ne,e:Y,f:H}=q.getTransform().invertSelf();return[X,ce,K,ne,Y,H]},f.getFilenameFromUrl=function C(q){const X=q.indexOf("#"),ce=q.indexOf("?"),K=Math.min(X>0?X:q.length,ce>0?ce:q.length);return q.substring(q.lastIndexOf("/",K)+1,K)},f.getPdfFilenameFromUrl=function v(q,X="document.pdf"){if("string"!=typeof q)return X;if(m(q))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),X;const K=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,ne=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(q);let Y=K.exec(ne[1])||K.exec(ne[2])||K.exec(ne[3]);if(Y&&(Y=Y[0],Y.includes("%")))try{Y=K.exec(decodeURIComponent(Y))[0]}catch{}return Y||X},f.getRGB=L,f.getXfaPageViewport=function I(q,{scale:X=1,rotation:ce=0}){const{width:K,height:ne}=q.attributes.style,Y=[0,0,parseInt(K),parseInt(ne)];return new S({viewBox:Y,scale:X,rotation:ce})},f.isDataScheme=m,f.isPdfFile=function h(q){return"string"==typeof q&&/\.pdf$/i.test(q)},f.isValidFetchUrl=E,f.loadScript=function A(q,X=!1){return new Promise((ce,K)=>{const ne=document.createElement("script");ne.src=q,ne.onload=function(Y){X&&ne.remove(),ce(Y)},ne.onerror=function(){K(new Error(`Cannot load script at: ${ne.src}`))},(document.head||document.documentElement).append(ne)})};var n=o(9),i=o(1);function c(q){return l.apply(this,arguments)}function l(){return(l=_asyncToGenerator(function*(q,X=!1){if(E(q,document.baseURI)){const ce=yield fetch(q);if(!ce.ok)throw new Error(ce.statusText);return X?new Uint8Array(yield ce.arrayBuffer()):(0,i.stringToBytes)(yield ce.text())}return new Promise((ce,K)=>{const ne=new XMLHttpRequest;ne.open("GET",q,!0),X&&(ne.responseType="arraybuffer"),ne.onreadystatechange=()=>{if(ne.readyState===XMLHttpRequest.DONE){if(200===ne.status||0===ne.status){let Y;if(X&&ne.response?Y=new Uint8Array(ne.response):!X&&ne.responseText&&(Y=(0,i.stringToBytes)(ne.responseText)),Y)return void ce(Y)}K(new Error(ne.statusText))}},ne.send(null)})})).apply(this,arguments)}f.AnnotationPrefix="pdfjs_internal_id_",f.PixelsPerInch=class a{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},f.DOMCanvasFactory=class e extends n.BaseCanvasFactory{constructor({ownerDocument:X=globalThis.document}={}){super(),this._document=X}_createCanvas(X,ce){const K=this._document.createElement("canvas");return K.width=X,K.height=ce,K}},f.DOMCMapReaderFactory=class g extends n.BaseCMapReaderFactory{_fetchData(X,ce){return c(X,this.isCompressed).then(K=>({cMapData:K,compressionType:ce}))}},f.DOMStandardFontDataFactory=class b extends n.BaseStandardFontDataFactory{_fetchData(X){return c(X,!0)}},f.DOMSVGFactory=class _ extends n.BaseSVGFactory{_createSVG(X){return document.createElementNS("http://www.w3.org/2000/svg",X)}};class S{constructor({viewBox:X,scale:ce,rotation:K,offsetX:ne=0,offsetY:Y=0,dontFlip:H=!1}){this.viewBox=X,this.scale=ce,this.rotation=K,this.offsetX=ne,this.offsetY=Y;const ae=(X[2]+X[0])/2,re=(X[3]+X[1])/2;let W,ee,J,G,de,be,Ae,ye;switch((K%=360)<0&&(K+=360),K){case 180:W=-1,ee=0,J=0,G=1;break;case 90:W=0,ee=1,J=1,G=0;break;case 270:W=0,ee=-1,J=-1,G=0;break;case 0:W=1,ee=0,J=0,G=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}H&&(J=-J,G=-G),0===W?(de=Math.abs(re-X[1])*ce+ne,be=Math.abs(ae-X[0])*ce+Y,Ae=Math.abs(X[3]-X[1])*ce,ye=Math.abs(X[2]-X[0])*ce):(de=Math.abs(ae-X[0])*ce+ne,be=Math.abs(re-X[1])*ce+Y,Ae=Math.abs(X[2]-X[0])*ce,ye=Math.abs(X[3]-X[1])*ce),this.transform=[W*ce,ee*ce,J*ce,G*ce,de-W*ce*ae-J*ce*re,be-ee*ce*ae-G*ce*re],this.width=Ae,this.height=ye}clone({scale:X=this.scale,rotation:ce=this.rotation,offsetX:K=this.offsetX,offsetY:ne=this.offsetY,dontFlip:Y=!1}={}){return new S({viewBox:this.viewBox.slice(),scale:X,rotation:ce,offsetX:K,offsetY:ne,dontFlip:Y})}convertToViewportPoint(X,ce){return i.Util.applyTransform([X,ce],this.transform)}convertToViewportRectangle(X){const ce=i.Util.applyTransform([X[0],X[1]],this.transform),K=i.Util.applyTransform([X[2],X[3]],this.transform);return[ce[0],ce[1],K[0],K[1]]}convertToPdfPoint(X,ce){return i.Util.applyInverseTransform([X,ce],this.transform)}}function m(q){const X=q.length;let ce=0;for(;ce>16,(65280&X)>>8,255&X]}return q.startsWith("rgb(")?q.slice(4,-1).split(",").map(X=>parseInt(X)):q.startsWith("rgba(")?q.slice(5,-1).split(",").map(X=>parseInt(X)).slice(0,3):((0,i.warn)(`Not a valid color format: "${q}"`),[0,0,0])}f.PageViewport=S,f.RenderingCancelledException=class y extends i.BaseException{constructor(X,ce){super(X,"RenderingCancelledException"),this.type=ce}},f.StatTimer=class M{constructor(){this.started=Object.create(null),this.times=[]}time(X){X in this.started&&(0,i.warn)(`Timer is already running for ${X}`),this.started[X]=Date.now()}timeEnd(X){X in this.started||(0,i.warn)(`Timer has not been started for ${X}`),this.times.push({name:X,start:this.started[X],end:Date.now()}),delete this.started[X]}toString(){const X=[];let ce=0;for(const K of this.times){const ne=K.name;ne.length>ce&&(ce=ne.length)}for(const K of this.times){const ne=K.end-K.start;X.push(`${K.name.padEnd(ce)} ${ne}ms\n`)}return X.join("")}},f.PDFDateString=class N{static toDateObject(X){if(!X||"string"!=typeof X)return null;R||(R=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const ce=R.exec(X);if(!ce)return null;const K=parseInt(ce[1],10);let ne=parseInt(ce[2],10);ne=ne>=1&&ne<=12?ne-1:0;let Y=parseInt(ce[3],10);Y=Y>=1&&Y<=31?Y:1;let H=parseInt(ce[4],10);H=H>=0&&H<=23?H:0;let ae=parseInt(ce[5],10);ae=ae>=0&&ae<=59?ae:0;let re=parseInt(ce[6],10);re=re>=0&&re<=59?re:0;const W=ce[7]||"Z";let ee=parseInt(ce[8],10);ee=ee>=0&&ee<=23?ee:0;let J=parseInt(ce[9],10)||0;return J=J>=0&&J<=59?J:0,"-"===W?(H+=ee,ae+=J):"+"===W&&(H-=ee,ae-=J),new Date(Date.UTC(K,ne,Y,H,ae,re))}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.BaseStandardFontDataFactory=f.BaseSVGFactory=f.BaseCanvasFactory=f.BaseCMapReaderFactory=void 0;var n=o(1);class i{constructor(){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(c,l){if(c<=0||l<=0)throw new Error("Invalid canvas size");const g=this._createCanvas(c,l);return{canvas:g,context:g.getContext("2d")}}reset(c,l,g){if(!c.canvas)throw new Error("Canvas is not specified");if(l<=0||g<=0)throw new Error("Invalid canvas size");c.canvas.width=l,c.canvas.height=g}destroy(c){if(!c.canvas)throw new Error("Canvas is not specified");c.canvas.width=0,c.canvas.height=0,c.canvas=null,c.context=null}_createCanvas(c,l){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}f.BaseCanvasFactory=i;class d{constructor({baseUrl:c=null,isCompressed:l=!1}){this.constructor===d&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=c,this.isCompressed=l}fetch({name:c}){var l=this;return _asyncToGenerator(function*(){if(!l.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!c)throw new Error("CMap name must be specified.");const g=l.baseUrl+c+(l.isCompressed?".bcmap":"");return l._fetchData(g,l.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE).catch(_=>{throw new Error(`Unable to load ${l.isCompressed?"binary ":""}CMap at: ${g}`)})})()}_fetchData(c,l){(0,n.unreachable)("Abstract method `_fetchData` called.")}}f.BaseCMapReaderFactory=d;class u{constructor({baseUrl:c=null}){this.constructor===u&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=c}fetch({filename:c}){var l=this;return _asyncToGenerator(function*(){if(!l.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!c)throw new Error("Font filename must be specified.");const g=`${l.baseUrl}${c}`;return l._fetchData(g).catch(b=>{throw new Error(`Unable to load font data at: ${g}`)})})()}_fetchData(c){(0,n.unreachable)("Abstract method `_fetchData` called.")}}f.BaseStandardFontDataFactory=u;class a{constructor(){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(c,l,g=!1){if(c<=0||l<=0)throw new Error("Invalid SVG dimensions");const b=this._createSVG("svg:svg");return b.setAttribute("version","1.1"),g||(b.setAttribute("width",`${c}px`),b.setAttribute("height",`${l}px`)),b.setAttribute("preserveAspectRatio","none"),b.setAttribute("viewBox",`0 0 ${c} ${l}`),b}createElement(c){if("string"!=typeof c)throw new Error("Invalid SVG element type");return this._createSVG(c)}_createSVG(c){(0,n.unreachable)("Abstract method `_createSVG` called.")}}f.BaseSVGFactory=a},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.MurmurHash3_64=void 0;var n=o(1);const i=3285377520,d=4294901760,u=65535;f.MurmurHash3_64=class a{constructor(c){this.h1=c?4294967295&c:i,this.h2=c?4294967295&c:i}update(c){let l,g;if("string"==typeof c){l=new Uint8Array(2*c.length),g=0;for(let T=0,R=c.length;T>>8,l[g++]=255&N)}}else{if(!(0,n.isArrayBuffer)(c))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");l=c.slice(),g=l.byteLength}const b=g>>2,_=g-4*b,S=new Uint32Array(l.buffer,0,b);let y=0,m=0,h=this.h1,C=this.h2;const v=3432918353,M=461845907,E=v&u,A=M&u;for(let T=0;T>>17,y=y*M&d|y*A&u,h^=y,h=h<<13|h>>>19,h=5*h+3864292196):(m=S[T],m=m*v&d|m*E&u,m=m<<15|m>>>17,m=m*M&d|m*A&u,C^=m,C=C<<13|C>>>19,C=5*C+3864292196);switch(y=0,_){case 3:y^=l[4*b+2]<<16;case 2:y^=l[4*b+1]<<8;case 1:y^=l[4*b],y=y*v&d|y*E&u,y=y<<15|y>>>17,y=y*M&d|y*A&u,1&b?h^=y:C^=y}this.h1=h,this.h2=C}hexdigest(){let c=this.h1,l=this.h2;c^=l>>>1,c=3981806797*c&d|36045*c&u,l=4283543511*l&d|(2950163797*(l<<16|c>>>16)&d)>>>16,c^=l>>>1,c=444984403*c&d|60499*c&u,l=3301882366*l&d|(3120437893*(l<<16|c>>>16)&d)>>>16,c^=l>>>1;const g=(c>>>0).toString(16),b=(l>>>0).toString(16);return g.padStart(8,"0")+b.padStart(8,"0")}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.FontLoader=f.FontFaceObject=void 0;var n=o(1);class i{constructor({docId:e,onUnsupportedFeature:c,ownerDocument:l=globalThis.document,styleElement:g=null}){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=c,this._document=l,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let c=this.styleElement;c||(c=this.styleElement=this._document.createElement("style"),c.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(c));const l=c.sheet;l.insertRule(e,l.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}bind(e){var c=this;return _asyncToGenerator(function*(){if(e.attached||e.missingFile)return;if(e.attached=!0,c.isFontLoadingAPISupported){const g=e.createNativeFontFace();if(g){c.addNativeFontFace(g);try{yield g.loaded}catch(b){throw c._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,n.warn)(`Failed to load font '${g.family}': '${b}'.`),e.disableFontFace=!0,b}}return}const l=e.createFontFaceRule();if(l){if(c.insertRule(l),c.isSyncFontLoadingSupported)return;yield new Promise(g=>{const b=c._queueLoadingCallback(g);c._prepareFontLoadEvent([l],[e],b)})}})()}_queueLoadingCallback(e){(0,n.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,n.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,n.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,n.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,c,l){(0,n.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let d;f.FontLoader=d,f.FontLoader=d=class extends i{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return(typeof navigator>"u"||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const l=this.loadingContext,g={id:"pdfjs-font-loading-"+l.nextRequestId++,done:!1,complete:function c(){for((0,n.assert)(!g.done,"completeRequest() cannot be called twice."),g.done=!0;l.requests.length>0&&l.requests[0].done;){const b=l.requests.shift();setTimeout(b.callback,0)}},callback:e};return l.requests.push(g),g}get _loadTestFont(){return(0,n.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,c,l){function g(z,F){return z.charCodeAt(F)<<24|z.charCodeAt(F+1)<<16|z.charCodeAt(F+2)<<8|255&z.charCodeAt(F+3)}function b(z,F,q,X){return z.substring(0,F)+X+z.substring(F+q)}let _,S;const y=this._document.createElement("canvas");y.width=1,y.height=1;const m=y.getContext("2d");let h=0;const v=`lt${Date.now()}${this.loadTestFontId++}`;let M=this._loadTestFont;M=b(M,976,v.length,v);const T=1482184792;let R=g(M,16);for(_=0,S=v.length-3;_30)return(0,n.warn)("Load test font never loaded."),void F();m.font="30px "+z,m.fillText(".",0,20),m.getImageData(0,0,1,1).data[3]>0?F():setTimeout(C.bind(null,z,F))}(v,()=>{O.remove(),l.complete()})}},f.FontFaceObject=class u{constructor(e,{isEvalSupported:c=!0,disableFontFace:l=!1,ignoreErrors:g=!1,onUnsupportedFeature:b,fontRegistry:_=null}){this.compiledGlyphs=Object.create(null);for(const S in e)this[S]=e[S];this.isEvalSupported=!1!==c,this.disableFontFace=!0===l,this.ignoreErrors=!0===g,this._onUnsupportedFeature=b,this.fontRegistry=_}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const c={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(c.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,c)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,n.bytesToString)(this.data),c=`url(data:${this.mimetype};base64,${btoa(e)});`;let l;if(this.cssFontInfo){let g=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(g+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),l=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${g}src:${c}}`}else l=`@font-face {font-family:"${this.loadedName}";src:${c}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,c),l}getPathGenerator(e,c){if(void 0!==this.compiledGlyphs[c])return this.compiledGlyphs[c];let l;try{l=e.get(this.loadedName+"_path_"+c)}catch(g){if(!this.ignoreErrors)throw g;return this._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,n.warn)(`getPathGenerator - ignoring character: "${g}".`),this.compiledGlyphs[c]=function(b,_){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){const g=[];for(const b of l){const _=void 0!==b.args?b.args.join(","):"";g.push("c.",b.cmd,"(",_,");\n")}return this.compiledGlyphs[c]=new Function("c","size",g.join(""))}return this.compiledGlyphs[c]=function(g,b){for(const _ of l)"scale"===_.cmd&&(_.args=[b,-b]),g[_.cmd].apply(g,_.args)}}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.CanvasGraphics=void 0;var n=o(8),i=o(1),d=o(13),u=o(14),a=o(3);const l=4096,_=a.isNodeJS&&typeof Path2D>"u"?-1:1e3,S=16;class m{constructor(Y){this.canvasFactory=Y,this.cache=Object.create(null)}getCanvas(Y,H,ae){let re;return void 0!==this.cache[Y]?(re=this.cache[Y],this.canvasFactory.reset(re,H,ae)):(re=this.canvasFactory.create(H,ae),this.cache[Y]=re),re}delete(Y){delete this.cache[Y]}clear(){for(const Y in this.cache)this.canvasFactory.destroy(this.cache[Y]),delete this.cache[Y]}}function h(ne,Y,H,ae,re,W,ee,J,G,de){const[be,Ae,ye,le,Me,$e]=(0,n.getCurrentTransform)(ne);if(0===Ae&&0===ye){const st=Math.round(ee*be+Me),Qt=Math.round(J*le+$e),Vt=Math.abs(Math.round((ee+G)*be+Me)-st)||1,dn=Math.abs(Math.round((J+de)*le+$e)-Qt)||1;return ne.setTransform(Math.sign(be),0,0,Math.sign(le),st,Qt),ne.drawImage(Y,H,ae,re,W,0,0,Vt,dn),ne.setTransform(be,Ae,ye,le,Me,$e),[Vt,dn]}if(0===be&&0===le){const st=Math.round(J*ye+Me),Qt=Math.round(ee*Ae+$e),Vt=Math.abs(Math.round((J+de)*ye+Me)-st)||1,dn=Math.abs(Math.round((ee+G)*Ae+$e)-Qt)||1;return ne.setTransform(0,Math.sign(Ae),Math.sign(ye),0,st,Qt),ne.drawImage(Y,H,ae,re,W,0,0,dn,Vt),ne.setTransform(be,Ae,ye,le,Me,$e),[dn,Vt]}return ne.drawImage(Y,H,ae,re,W,ee,J,G,de),[Math.hypot(be,Ae)*G,Math.hypot(ye,le)*de]}class v{constructor(Y,H){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=i.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,Y,H])}clone(){const Y=Object.create(this);return Y.clipBox=this.clipBox.slice(),Y}setCurrentPoint(Y,H){this.x=Y,this.y=H}updatePathMinMax(Y,H,ae){[H,ae]=i.Util.applyTransform([H,ae],Y),this.minX=Math.min(this.minX,H),this.minY=Math.min(this.minY,ae),this.maxX=Math.max(this.maxX,H),this.maxY=Math.max(this.maxY,ae)}updateRectMinMax(Y,H){const ae=i.Util.applyTransform(H,Y),re=i.Util.applyTransform(H.slice(2),Y);this.minX=Math.min(this.minX,ae[0],re[0]),this.minY=Math.min(this.minY,ae[1],re[1]),this.maxX=Math.max(this.maxX,ae[0],re[0]),this.maxY=Math.max(this.maxY,ae[1],re[1])}updateScalingPathMinMax(Y,H){i.Util.scaleMinMax(Y,H),this.minX=Math.min(this.minX,H[0]),this.maxX=Math.max(this.maxX,H[1]),this.minY=Math.min(this.minY,H[2]),this.maxY=Math.max(this.maxY,H[3])}updateCurvePathMinMax(Y,H,ae,re,W,ee,J,G,de,be){const Ae=i.Util.bezierBoundingBox(H,ae,re,W,ee,J,G,de);if(be)return be[0]=Math.min(be[0],Ae[0],Ae[2]),be[1]=Math.max(be[1],Ae[0],Ae[2]),be[2]=Math.min(be[2],Ae[1],Ae[3]),void(be[3]=Math.max(be[3],Ae[1],Ae[3]));this.updateRectMinMax(Y,Ae)}getPathBoundingBox(Y=d.PathType.FILL,H=null){const ae=[this.minX,this.minY,this.maxX,this.maxY];if(Y===d.PathType.STROKE){H||(0,i.unreachable)("Stroke bounding box must include transform.");const re=i.Util.singularValueDecompose2dScale(H),W=re[0]*this.lineWidth/2,ee=re[1]*this.lineWidth/2;ae[0]-=W,ae[1]-=ee,ae[2]+=W,ae[3]+=ee}return ae}updateClipFromPath(){const Y=i.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(Y||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(Y){this.clipBox=Y,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(Y=d.PathType.FILL,H=null){return i.Util.intersect(this.clipBox,this.getPathBoundingBox(Y,H))}}function M(ne,Y,H=null){if(typeof ImageData<"u"&&Y instanceof ImageData)return void ne.putImageData(Y,0,0);const ae=Y.height,re=Y.width,W=ae%S,ee=(ae-W)/S,J=0===W?ee:ee+1,G=ne.createImageData(re,S);let be,de=0;const Ae=Y.data,ye=G.data;let le,Me,$e,qe,tt,mt,st,ft;if(H)switch(H.length){case 1:tt=H[0],mt=H[0],st=H[0],ft=H[0];break;case 4:tt=H[0],mt=H[1],st=H[2],ft=H[3]}if(Y.kind===i.ImageKind.GRAYSCALE_1BPP){const Qt=Ae.byteLength,bt=new Uint32Array(ye.buffer,0,ye.byteLength>>2),Vt=bt.length,sn=re+7>>3;let dn=4294967295,wn=i.FeatureTest.isLittleEndian?4278190080:255;for(ft&&255===ft[0]&&0===ft[255]&&([dn,wn]=[wn,dn]),le=0;lesn?re:8*An-7,ut=-8&qt;let Ue=0,De=0;for(;vn>=1}for(;be=ee&&($e=W,qe=re*$e),be=0,Me=qe;Me--;)ye[be++]=Ae[de++],ye[be++]=Ae[de++],ye[be++]=Ae[de++],ye[be++]=255;if(Qt)for(let bt=0;bt>8,ne[W-2]=ne[W-2]*ee+H*J>>8,ne[W-1]=ne[W-1]*ee+ae*J>>8}}}function N(ne,Y,H){const ae=ne.length;for(let W=3;W>8]>>8:Y[re]*W>>16}}function z(ne,Y){const H=i.Util.singularValueDecompose2dScale(ne);H[0]=Math.fround(H[0]),H[1]=Math.fround(H[1]);const ae=Math.fround((globalThis.devicePixelRatio||1)*n.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==Y?Y:H[0]<=ae||H[1]<=ae}const F=["butt","round","square"],q=["miter","round","bevel"],X={},ce={};class K{constructor(Y,H,ae,re,W,ee,J,G){this.ctx=Y,this.current=new v(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=H,this.objs=ae,this.canvasFactory=re,this.imageLayer=W,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=ee,this.cachedCanvases=new m(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=J,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=G?.background||null,this.foregroundColor=G?.foreground||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(Y,H=null){return"string"==typeof Y?Y.startsWith("g_")?this.commonObjs.get(Y):this.objs.get(Y):H}beginDrawing({transform:Y,viewport:H,transparency:ae=!1,background:re=null}){const W=this.ctx.canvas.width,ee=this.ctx.canvas.height,J=re||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const G=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const de=this.backgroundColor=this.ctx.fillStyle;let be=!0,Ae=J;if(this.ctx.fillStyle=J,Ae=this.ctx.fillStyle,be="string"==typeof Ae&&/^#[0-9A-Fa-f]{6}$/.test(Ae),"#000000"===G&&"#ffffff"===de||G===de||!be)this.foregroundColor=this.backgroundColor=null;else{const[ye,le,Me]=(0,n.getRGB)(Ae),$e=tt=>(tt/=255)<=.03928?tt/12.92:((tt+.055)/1.055)**2.4,qe=Math.round(.2126*$e(ye)+.7152*$e(le)+.0722*$e(Me));this.selectColor=(tt,mt,st)=>{const ft=.2126*$e(tt)+.7152*$e(mt)+.0722*$e(st);return Math.round(ft)===qe?de:G}}}if(this.ctx.fillStyle=this.backgroundColor||J,this.ctx.fillRect(0,0,W,ee),this.ctx.restore(),ae){const G=this.cachedCanvases.getCanvas("transparent",W,ee);this.compositeCtx=this.ctx,this.transparentCanvas=G.canvas,this.ctx=G.context,this.ctx.save(),this.ctx.transform(...(0,n.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),T(this.ctx,this.foregroundColor),Y&&(this.ctx.transform(...Y),this.outputScaleX=Y[0],this.outputScaleY=Y[0]),this.ctx.transform(...H.transform),this.viewportScale=H.scale,this.baseTransform=(0,n.getCurrentTransform)(this.ctx),this.imageLayer&&((0,n.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(Y,H,ae,re){const W=Y.argsArray,ee=Y.fnArray;let J=H||0;const G=W.length;if(G===J)return J;const de=G-J>10&&"function"==typeof ae,be=de?Date.now()+15:0;let Ae=0;const ye=this.commonObjs,le=this.objs;let Me;for(;;){if(void 0!==re&&J===re.nextBreakPoint)return re.breakIt(J,ae),J;if(Me=ee[J],Me!==i.OPS.dependency)this[Me].apply(this,W[J]);else for(const $e of W[J]){const qe=$e.startsWith("g_")?ye:le;if(!qe.has($e))return qe.get($e,ae),J}if(J++,J===G)return J;if(de&&++Ae>10){if(Date.now()>be)return ae(),J;Ae=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const Y of this._cachedBitmapsMap.values()){for(const H of Y.values())typeof HTMLCanvasElement<"u"&&H instanceof HTMLCanvasElement&&(H.width=H.height=0);Y.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(Y,H){const ae=Y.width,re=Y.height;let be,Ae,W=Math.max(Math.hypot(H[0],H[1]),1),ee=Math.max(Math.hypot(H[2],H[3]),1),J=ae,G=re,de="prescale1";for(;W>2&&J>1||ee>2&&G>1;){let ye=J,le=G;W>2&&J>1&&(ye=Math.ceil(J/2),W/=J/ye),ee>2&&G>1&&(le=Math.ceil(G/2),ee/=G/le),be=this.cachedCanvases.getCanvas(de,ye,le),Ae=be.context,Ae.clearRect(0,0,ye,le),Ae.drawImage(Y,0,0,J,G,0,0,ye,le),Y=be.canvas,J=ye,G=le,de="prescale1"===de?"prescale2":"prescale1"}return{img:Y,paintWidth:J,paintHeight:G}}_createMaskCanvas(Y){const H=this.ctx,{width:ae,height:re}=Y,W=this.current.fillColor,ee=this.current.patternFill,J=(0,n.getCurrentTransform)(H);let G,de,be,Ae;if((Y.bitmap||Y.data)&&Y.count>1){const Vt=Y.bitmap||Y.data.buffer,sn=J.slice(0,4);de=JSON.stringify(ee?sn:[sn,W]),G=this._cachedBitmapsMap.get(Vt),G||(G=new Map,this._cachedBitmapsMap.set(Vt,G));const dn=G.get(de);if(dn&&!ee)return{canvas:dn,offsetX:Math.round(Math.min(J[0],J[2])+J[4]),offsetY:Math.round(Math.min(J[1],J[3])+J[5])};be=dn}be||(Ae=this.cachedCanvases.getCanvas("maskCanvas",ae,re),E(Ae.context,Y));let ye=i.Util.transform(J,[1/ae,0,0,-1/re,0,0]);ye=i.Util.transform(ye,[1,0,0,1,0,-re]);const le=i.Util.applyTransform([0,0],ye),Me=i.Util.applyTransform([ae,re],ye),$e=i.Util.normalizeRect([le[0],le[1],Me[0],Me[1]]),qe=Math.round($e[2]-$e[0])||1,tt=Math.round($e[3]-$e[1])||1,mt=this.cachedCanvases.getCanvas("fillCanvas",qe,tt),st=mt.context,ft=Math.min(le[0],Me[0]),Qt=Math.min(le[1],Me[1]);st.translate(-ft,-Qt),st.transform(...ye),be||(be=this._scaleImage(Ae.canvas,(0,n.getCurrentTransformInverse)(st)),be=be.img,G&&ee&&G.set(de,be)),st.imageSmoothingEnabled=z((0,n.getCurrentTransform)(st),Y.interpolate),h(st,be,0,0,be.width,be.height,0,0,ae,re),st.globalCompositeOperation="source-in";const bt=i.Util.transform((0,n.getCurrentTransformInverse)(st),[1,0,0,1,-ft,-Qt]);return st.fillStyle=ee?W.getPattern(H,this,bt,d.PathType.FILL):W,st.fillRect(0,0,ae,re),G&&!ee&&(this.cachedCanvases.delete("fillCanvas"),G.set(de,mt.canvas)),{canvas:mt.canvas,offsetX:Math.round(ft),offsetY:Math.round(Qt)}}setLineWidth(Y){Y!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=Y,this.ctx.lineWidth=Y}setLineCap(Y){this.ctx.lineCap=F[Y]}setLineJoin(Y){this.ctx.lineJoin=q[Y]}setMiterLimit(Y){this.ctx.miterLimit=Y}setDash(Y,H){const ae=this.ctx;void 0!==ae.setLineDash&&(ae.setLineDash(Y),ae.lineDashOffset=H)}setRenderingIntent(Y){}setFlatness(Y){}setGState(Y){for(let H=0,ae=Y.length;H{ne.save=ne.__originalSave,ne.restore=ne.__originalRestore,ne.rotate=ne.__originalRotate,ne.scale=ne.__originalScale,ne.translate=ne.__originalTranslate,ne.transform=ne.__originalTransform,ne.setTransform=ne.__originalSetTransform,ne.resetTransform=ne.__originalResetTransform,ne.clip=ne.__originalClip,ne.moveTo=ne.__originalMoveTo,ne.lineTo=ne.__originalLineTo,ne.bezierCurveTo=ne.__originalBezierCurveTo,ne.rect=ne.__originalRect,ne.closePath=ne.__originalClosePath,ne.beginPath=ne.__originalBeginPath,delete ne._removeMirroring},ne.save=function(){Y.save(),this.__originalSave()},ne.restore=function(){Y.restore(),this.__originalRestore()},ne.translate=function(ae,re){Y.translate(ae,re),this.__originalTranslate(ae,re)},ne.scale=function(ae,re){Y.scale(ae,re),this.__originalScale(ae,re)},ne.transform=function(ae,re,W,ee,J,G){Y.transform(ae,re,W,ee,J,G),this.__originalTransform(ae,re,W,ee,J,G)},ne.setTransform=function(ae,re,W,ee,J,G){Y.setTransform(ae,re,W,ee,J,G),this.__originalSetTransform(ae,re,W,ee,J,G)},ne.resetTransform=function(){Y.resetTransform(),this.__originalResetTransform()},ne.rotate=function(ae){Y.rotate(ae),this.__originalRotate(ae)},ne.clip=function(ae){Y.clip(ae),this.__originalClip(ae)},ne.moveTo=function(H,ae){Y.moveTo(H,ae),this.__originalMoveTo(H,ae)},ne.lineTo=function(H,ae){Y.lineTo(H,ae),this.__originalLineTo(H,ae)},ne.bezierCurveTo=function(H,ae,re,W,ee,J){Y.bezierCurveTo(H,ae,re,W,ee,J),this.__originalBezierCurveTo(H,ae,re,W,ee,J)},ne.rect=function(H,ae,re,W){Y.rect(H,ae,re,W),this.__originalRect(H,ae,re,W)},ne.closePath=function(){Y.closePath(),this.__originalClosePath()},ne.beginPath=function(){Y.beginPath(),this.__originalBeginPath()}}(W,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),A(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(Y){this.current.activeSMask&&(Y?(Y[0]=Math.floor(Y[0]),Y[1]=Math.floor(Y[1]),Y[2]=Math.ceil(Y[2]),Y[3]=Math.ceil(Y[3])):Y=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],function O(ne,Y,H,ae){const re=ae[0],W=ae[1],ee=ae[2]-re,J=ae[3]-W;0===ee||0===J||(function L(ne,Y,H,ae,re,W,ee,J,G,de,be){const Ae=!!W,ye=Ae?W[0]:0,le=Ae?W[1]:0,Me=Ae?W[2]:0;let $e;$e="Luminosity"===re?I:N;const tt=Math.min(ae,Math.ceil(1048576/H));for(let mt=0;mt100&&(de=100),this.current.fontSizeScale=H/de,this.ctx.font=`${J} ${ee} ${de}px ${G}`}setTextRenderingMode(Y){this.current.textRenderingMode=Y}setTextRise(Y){this.current.textRise=Y}moveText(Y,H){this.current.x=this.current.lineX+=Y,this.current.y=this.current.lineY+=H}setLeadingMoveText(Y,H){this.setLeading(-H),this.moveText(Y,H)}setTextMatrix(Y,H,ae,re,W,ee){this.current.textMatrix=[Y,H,ae,re,W,ee],this.current.textMatrixScale=Math.hypot(Y,H),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(Y,H,ae,re){const W=this.ctx,ee=this.current,J=ee.font,G=ee.textRenderingMode,de=ee.fontSize/ee.fontSizeScale,be=G&i.TextRenderingMode.FILL_STROKE_MASK,Ae=!!(G&i.TextRenderingMode.ADD_TO_PATH_FLAG),ye=ee.patternFill&&!J.missingFile;let le;(J.disableFontFace||Ae||ye)&&(le=J.getPathGenerator(this.commonObjs,Y)),J.disableFontFace||ye?(W.save(),W.translate(H,ae),W.beginPath(),le(W,de),re&&W.setTransform(...re),(be===i.TextRenderingMode.FILL||be===i.TextRenderingMode.FILL_STROKE)&&W.fill(),(be===i.TextRenderingMode.STROKE||be===i.TextRenderingMode.FILL_STROKE)&&W.stroke(),W.restore()):((be===i.TextRenderingMode.FILL||be===i.TextRenderingMode.FILL_STROKE)&&W.fillText(Y,H,ae),(be===i.TextRenderingMode.STROKE||be===i.TextRenderingMode.FILL_STROKE)&&W.strokeText(Y,H,ae)),Ae&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,n.getCurrentTransform)(W),x:H,y:ae,fontSize:de,addToPath:le})}get isFontSubpixelAAEnabled(){const{context:Y}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);Y.scale(1.5,1),Y.fillText("I",0,10);const H=Y.getImageData(0,0,10,10).data;let ae=!1;for(let re=3;re0&&H[re]<255){ae=!0;break}return(0,i.shadow)(this,"isFontSubpixelAAEnabled",ae)}showText(Y){const H=this.current,ae=H.font;if(ae.isType3Font)return this.showType3Text(Y);const re=H.fontSize;if(0===re)return;const W=this.ctx,ee=H.fontSizeScale,J=H.charSpacing,G=H.wordSpacing,de=H.fontDirection,be=H.textHScale*de,Ae=Y.length,ye=ae.vertical,le=ye?1:-1,Me=ae.defaultVMetrics,$e=re*H.fontMatrix[0],qe=H.textRenderingMode===i.TextRenderingMode.FILL&&!ae.disableFontFace&&!H.patternFill;let tt;if(W.save(),W.transform(...H.textMatrix),W.translate(H.x,H.y+H.textRise),W.scale(be,de>0?-1:1),H.patternFill){W.save();const bt=H.fillColor.getPattern(W,this,(0,n.getCurrentTransformInverse)(W),d.PathType.FILL);tt=(0,n.getCurrentTransform)(W),W.restore(),W.fillStyle=bt}let mt=H.lineWidth;const st=H.textMatrixScale;if(0===st||0===mt){const bt=H.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;(bt===i.TextRenderingMode.STROKE||bt===i.TextRenderingMode.FILL_STROKE)&&(mt=this.getSinglePixelWidth())}else mt/=st;1!==ee&&(W.scale(ee,ee),mt/=ee),W.lineWidth=mt;let Qt,ft=0;for(Qt=0;Qt0){const Ue=1e3*W.measureText(dn).width/re*ee;if(qtnew K(ee,this.commonObjs,this.objs,this.canvasFactory)},re)}else H=this._getPattern(Y[1],Y[2]);return H}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(Y,H,ae){const re=this.selectColor?.(Y,H,ae)||i.Util.makeHexColor(Y,H,ae);this.ctx.strokeStyle=re,this.current.strokeColor=re}setFillRGBColor(Y,H,ae){const re=this.selectColor?.(Y,H,ae)||i.Util.makeHexColor(Y,H,ae);this.ctx.fillStyle=re,this.current.fillColor=re,this.current.patternFill=!1}_getPattern(Y,H=null){let ae;return this.cachedPatterns.has(Y)?ae=this.cachedPatterns.get(Y):(ae=(0,d.getShadingPattern)(this.objs.get(Y)),this.cachedPatterns.set(Y,ae)),H&&(ae.matrix=H),ae}shadingFill(Y){if(!this.contentVisible)return;const H=this.ctx;this.save();const ae=this._getPattern(Y);H.fillStyle=ae.getPattern(H,this,(0,n.getCurrentTransformInverse)(H),d.PathType.SHADING);const re=(0,n.getCurrentTransformInverse)(H);if(re){const W=H.canvas,ee=W.width,J=W.height,G=i.Util.applyTransform([0,0],re),de=i.Util.applyTransform([0,J],re),be=i.Util.applyTransform([ee,0],re),Ae=i.Util.applyTransform([ee,J],re),ye=Math.min(G[0],de[0],be[0],Ae[0]),le=Math.min(G[1],de[1],be[1],Ae[1]),Me=Math.max(G[0],de[0],be[0],Ae[0]),$e=Math.max(G[1],de[1],be[1],Ae[1]);this.ctx.fillRect(ye,le,Me-ye,$e-le)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,i.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,i.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(Y,H){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(Y)&&6===Y.length&&this.transform(...Y),this.baseTransform=(0,n.getCurrentTransform)(this.ctx),H)&&(this.ctx.rect(H[0],H[1],H[2]-H[0],H[3]-H[1]),this.current.updateRectMinMax((0,n.getCurrentTransform)(this.ctx),H),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(Y){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const H=this.ctx;Y.isolated||(0,i.info)("TODO: Support non-isolated groups."),Y.knockout&&(0,i.warn)("Knockout groups not supported.");const ae=(0,n.getCurrentTransform)(H);if(Y.matrix&&H.transform(...Y.matrix),!Y.bbox)throw new Error("Bounding box is required.");let re=i.Util.getAxialAlignedBoundingBox(Y.bbox,(0,n.getCurrentTransform)(H));re=i.Util.intersect(re,[0,0,H.canvas.width,H.canvas.height])||[0,0,0,0];const ee=Math.floor(re[0]),J=Math.floor(re[1]);let G=Math.max(Math.ceil(re[2])-ee,1),de=Math.max(Math.ceil(re[3])-J,1),be=1,Ae=1;G>l&&(be=G/l,G=l),de>l&&(Ae=de/l,de=l),this.current.startNewPathAndClipBox([0,0,G,de]);let ye="groupAt"+this.groupLevel;Y.smask&&(ye+="_smask_"+this.smaskCounter++%2);const le=this.cachedCanvases.getCanvas(ye,G,de),Me=le.context;Me.scale(1/be,1/Ae),Me.translate(-ee,-J),Me.transform(...ae),Y.smask?this.smaskStack.push({canvas:le.canvas,context:Me,offsetX:ee,offsetY:J,scaleX:be,scaleY:Ae,subtype:Y.smask.subtype,backdrop:Y.smask.backdrop,transferMap:Y.smask.transferMap||null,startTransformInverse:null}):(H.setTransform(1,0,0,1,0,0),H.translate(ee,J),H.scale(be,Ae),H.save()),A(H,Me),this.ctx=Me,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(H),this.groupLevel++}endGroup(Y){if(!this.contentVisible)return;this.groupLevel--;const H=this.ctx,ae=this.groupStack.pop();if(this.ctx=ae,this.ctx.imageSmoothingEnabled=!1,Y.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const re=(0,n.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...re);const W=i.Util.getAxialAlignedBoundingBox([0,0,H.canvas.width,H.canvas.height],re);this.ctx.drawImage(H.canvas,0,0),this.ctx.restore(),this.compose(W)}}beginAnnotation(Y,H,ae,re,W){if(this.#e(),T(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(H)&&4===H.length){const ee=H[2]-H[0],J=H[3]-H[1];if(W&&this.annotationCanvasMap){(ae=ae.slice())[4]-=H[0],ae[5]-=H[1],(H=H.slice())[0]=H[1]=0,H[2]=ee,H[3]=J;const[G,de]=i.Util.singularValueDecompose2dScale((0,n.getCurrentTransform)(this.ctx)),{viewportScale:be}=this,Ae=Math.ceil(ee*this.outputScaleX*be),ye=Math.ceil(J*this.outputScaleY*be);this.annotationCanvas=this.canvasFactory.create(Ae,ye);const{canvas:le,context:Me}=this.annotationCanvas;this.annotationCanvasMap.set(Y,le),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Me,this.ctx.setTransform(G,0,0,-de,0,J*de),T(this.ctx,this.foregroundColor)}else T(this.ctx,this.foregroundColor),this.ctx.rect(H[0],H[1],ee,J),this.ctx.clip(),this.endPath()}this.current=new v(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...ae),this.transform(...re)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(Y){if(!this.contentVisible)return;const H=Y.count;(Y=this.getObject(Y.data,Y)).count=H;const ae=this.ctx,re=this.processingType3;if(re&&(void 0===re.compiled&&(re.compiled=function C(ne){const{width:Y,height:H}=ne;if(Y>_||H>_)return null;const re=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),W=Y+1;let J,G,de,ee=new Uint8Array(W*(H+1));const be=Y+7&-8;let Ae=new Uint8Array(be*H),ye=0;for(const tt of ne.data){let mt=128;for(;mt>0;)Ae[ye++]=tt&mt?0:255,mt>>=1}let le=0;for(ye=0,0!==Ae[ye]&&(ee[0]=1,++le),G=1;G>2)+(Ae[ye+1]?4:0)+(Ae[ye-be+1]?8:0),re[tt]&&(ee[de+G]=re[tt],++le),ye++;if(Ae[ye-be]!==Ae[ye]&&(ee[de+G]=Ae[ye]?2:4,++le),le>1e3)return null}for(ye=be*(H-1),de=J*W,0!==Ae[ye]&&(ee[de]=8,++le),G=1;G1e3)return null;const Me=new Int32Array([0,W,-1,0,-W,0,0,0,1]),$e=new Path2D;for(J=0;le&&J<=H;J++){let tt=J*W;const mt=tt+Y;for(;tt>4,ee[tt]&=ft>>2|ft<<2),$e.lineTo(tt%W,tt/W|0),ee[tt]||--le}while(st!==tt);--J}return Ae=null,ee=null,function(tt){tt.save(),tt.scale(1/Y,-1/H),tt.translate(0,-H),tt.fill($e),tt.beginPath(),tt.restore()}}(Y)),re.compiled))return void re.compiled(ae);const W=this._createMaskCanvas(Y),ee=W.canvas;ae.save(),ae.setTransform(1,0,0,1,0,0),ae.drawImage(ee,W.offsetX,W.offsetY),ae.restore(),this.compose()}paintImageMaskXObjectRepeat(Y,H,ae=0,re=0,W,ee){if(!this.contentVisible)return;Y=this.getObject(Y.data,Y);const J=this.ctx;J.save();const G=(0,n.getCurrentTransform)(J);J.transform(H,ae,re,W,0,0);const de=this._createMaskCanvas(Y);J.setTransform(1,0,0,1,0,0);for(let be=0,Ae=ee.length;beG?J/G:1,re=ee>G?ee/G:1}}this._cachedScaleForStroking=[ae,re]}return this._cachedScaleForStroking}rescaleAndStroke(Y){const{ctx:H}=this,{lineWidth:ae}=this.current,[re,W]=this.getScaleForStroking();if(H.lineWidth=ae||1,1===re&&1===W)return void H.stroke();let ee,J,G;Y&&(ee=(0,n.getCurrentTransform)(H),J=H.getLineDash().slice(),G=H.lineDashOffset),H.scale(re,W);const de=Math.max(re,W);H.setLineDash(H.getLineDash().map(be=>be/de)),H.lineDashOffset/=de,H.stroke(),Y&&(H.setTransform(...ee),H.setLineDash(J),H.lineDashOffset=G)}isContentVisible(){for(let Y=this.markedContentStack.length-1;Y>=0;Y--)if(!this.markedContentStack[Y].visible)return!1;return!0}}f.CanvasGraphics=K;for(const ne in i.OPS)void 0!==K.prototype[ne]&&(K.prototype[i.OPS[ne]]=K.prototype[ne])},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.TilingPattern=f.PathType=void 0,f.getShadingPattern=function S(h){switch(h[0]){case"RadialAxial":return new c(h);case"Mesh":return new b(h);case"Dummy":return new _}throw new Error(`Unknown IR type: ${h[0]}`)};var n=o(1),i=o(8),d=o(3);const u={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function a(h,C){if(!C||d.isNodeJS)return;const v=C[2]-C[0],M=C[3]-C[1],E=new Path2D;E.rect(C[0],C[1],v,M),h.clip(E)}f.PathType=u;class e{constructor(){this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class c extends e{constructor(C){super(),this._type=C[1],this._bbox=C[2],this._colorStops=C[3],this._p0=C[4],this._p1=C[5],this._r0=C[6],this._r1=C[7],this.matrix=null}_createGradient(C){let v;"axial"===this._type?v=C.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(v=C.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const M of this._colorStops)v.addColorStop(M[0],M[1]);return v}getPattern(C,v,M,E){let A;if(E===u.STROKE||E===u.FILL){const T=v.current.getClippedPathBoundingBox(E,(0,i.getCurrentTransform)(C))||[0,0,0,0],R=Math.ceil(T[2]-T[0])||1,N=Math.ceil(T[3]-T[1])||1,I=v.cachedCanvases.getCanvas("pattern",R,N,!0),L=I.context;L.clearRect(0,0,L.canvas.width,L.canvas.height),L.beginPath(),L.rect(0,0,L.canvas.width,L.canvas.height),L.translate(-T[0],-T[1]),M=n.Util.transform(M,[1,0,0,1,T[0],T[1]]),L.transform(...v.baseTransform),this.matrix&&L.transform(...this.matrix),a(L,this._bbox),L.fillStyle=this._createGradient(L),L.fill(),A=C.createPattern(I.canvas,"no-repeat");const O=new DOMMatrix(M);try{A.setTransform(O)}catch(z){(0,n.warn)(`RadialAxialShadingPattern.getPattern: "${z?.message}".`)}}else a(C,this._bbox),A=this._createGradient(C);return A}}function l(h,C,v,M,E,A,T,R){const N=C.coords,I=C.colors,L=h.data,O=4*h.width;let z;N[v+1]>N[M+1]&&(z=v,v=M,M=z,z=A,A=T,T=z),N[M+1]>N[E+1]&&(z=M,M=E,E=z,z=T,T=R,R=z),N[v+1]>N[M+1]&&(z=v,v=M,M=z,z=A,A=T,T=z);const F=(N[v]+C.offsetX)*C.scaleX,q=(N[v+1]+C.offsetY)*C.scaleY,X=(N[M]+C.offsetX)*C.scaleX,ce=(N[M+1]+C.offsetY)*C.scaleY,K=(N[E]+C.offsetX)*C.scaleX,ne=(N[E+1]+C.offsetY)*C.scaleY;if(q>=ne)return;const Y=I[A],H=I[A+1],ae=I[A+2],re=I[T],W=I[T+1],ee=I[T+2],J=I[R],G=I[R+1],de=I[R+2],be=Math.round(q),Ae=Math.round(ne);let ye,le,Me,$e,qe,tt,mt,st;for(let ft=be;ft<=Ae;ft++){if(ftne?1:ce===ne?0:(ce-ft)/(ce-ne),ye=X-(X-K)*dn,le=re-(re-J)*dn,Me=W-(W-G)*dn,$e=ee-(ee-de)*dn}let Qt;Qt=ftne?1:(q-ft)/(q-ne),qe=F-(F-K)*Qt,tt=Y-(Y-J)*Qt,mt=H-(H-G)*Qt,st=ae-(ae-de)*Qt;const bt=Math.round(Math.min(ye,qe)),Vt=Math.round(Math.max(ye,qe));let sn=O*ft+4*bt;for(let dn=bt;dn<=Vt;dn++)Qt=(ye-dn)/(ye-qe),Qt<0?Qt=0:Qt>1&&(Qt=1),L[sn++]=le-(le-tt)*Qt|0,L[sn++]=Me-(Me-mt)*Qt|0,L[sn++]=$e-($e-st)*Qt|0,L[sn++]=255}}function g(h,C,v){const M=C.coords,E=C.colors;let A,T;switch(C.type){case"lattice":const R=C.verticesPerRow,N=Math.floor(M.length/R)-1,I=R-1;for(A=0;A=E?A=E:M=A/C,{scale:M,size:A}}clipBbox(C,v,M,E,A){C.ctx.rect(v,M,E-v,A-M),C.current.updateRectMinMax((0,i.getCurrentTransform)(C.ctx),[v,M,E,A]),C.clip(),C.endPath()}setFillAndStrokeStyleToContext(C,v,M){const E=C.ctx,A=C.current;switch(v){case 1:const T=this.ctx;E.fillStyle=T.fillStyle,E.strokeStyle=T.strokeStyle,A.fillColor=T.fillStyle,A.strokeColor=T.strokeStyle;break;case 2:const R=n.Util.makeHexColor(M[0],M[1],M[2]);E.fillStyle=R,E.strokeStyle=R,A.fillColor=R,A.strokeColor=R;break;default:throw new n.FormatError(`Unsupported paint type: ${v}`)}}getPattern(C,v,M,E){let A=M;E!==u.SHADING&&(A=n.Util.transform(A,v.baseTransform),this.matrix&&(A=n.Util.transform(A,this.matrix)));const T=this.createPatternCanvas(v);let R=new DOMMatrix(A);R=R.translate(T.offsetX,T.offsetY),R=R.scale(1/T.scaleX,1/T.scaleY);const N=C.createPattern(T.canvas,"repeat");try{N.setTransform(R)}catch(I){(0,n.warn)(`TilingPattern.getPattern: "${I?.message}".`)}return N}}f.TilingPattern=m},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.applyMaskImageData=function i({src:d,srcPos:u=0,dest:a,destPos:e=0,width:c,height:l,inverseDecode:g=!1}){const b=n.FeatureTest.isLittleEndian?4278190080:255,[_,S]=g?[0,b]:[b,0],y=c>>3,m=7&c,h=d.length;a=new Uint32Array(a.buffer);for(let C=0;C{Object.defineProperty(f,"__esModule",{value:!0}),f.GlobalWorkerOptions=void 0;const o=Object.create(null);f.GlobalWorkerOptions=o,o.workerPort=void 0===o.workerPort?null:o.workerPort,o.workerSrc=void 0===o.workerSrc?"":o.workerSrc},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.MessageHandler=void 0;var n=o(1);function u(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}f.MessageHandler=class a{constructor(c,l,g){this.sourceName=c,this.targetName=l,this.comObj=g,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=b=>{const _=b.data;if(_.targetName!==this.sourceName)return;if(_.stream)return void this._processStreamMessage(_);if(_.callback){const y=_.callbackId,m=this.callbackCapabilities[y];if(!m)throw new Error(`Cannot resolve callback ${y}`);if(delete this.callbackCapabilities[y],1===_.callback)m.resolve(_.data);else{if(2!==_.callback)throw new Error("Unexpected callback case");m.reject(u(_.reason))}return}const S=this.actionHandler[_.action];if(!S)throw new Error(`Unknown action from worker: ${_.action}`);if(_.callbackId){const y=this.sourceName,m=_.sourceName;new Promise(function(h){h(S(_.data))}).then(function(h){g.postMessage({sourceName:y,targetName:m,callback:1,callbackId:_.callbackId,data:h})},function(h){g.postMessage({sourceName:y,targetName:m,callback:2,callbackId:_.callbackId,reason:u(h)})})}else _.streamId?this._createStreamSink(_):S(_.data)},g.addEventListener("message",this._onComObjOnMessage)}on(c,l){const g=this.actionHandler;if(g[c])throw new Error(`There is already an actionName called "${c}"`);g[c]=l}send(c,l,g){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:c,data:l},g)}sendWithPromise(c,l,g){const b=this.callbackId++,_=(0,n.createPromiseCapability)();this.callbackCapabilities[b]=_;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:c,callbackId:b,data:l},g)}catch(S){_.reject(S)}return _.promise}sendWithStream(c,l,g,b){const _=this.streamId++,S=this.sourceName,y=this.targetName,m=this.comObj;return new ReadableStream({start:h=>{const C=(0,n.createPromiseCapability)();return this.streamControllers[_]={controller:h,startCall:C,pullCall:null,cancelCall:null,isClosed:!1},m.postMessage({sourceName:S,targetName:y,action:c,streamId:_,data:l,desiredSize:h.desiredSize},b),C.promise},pull:h=>{const C=(0,n.createPromiseCapability)();return this.streamControllers[_].pullCall=C,m.postMessage({sourceName:S,targetName:y,stream:6,streamId:_,desiredSize:h.desiredSize}),C.promise},cancel:h=>{(0,n.assert)(h instanceof Error,"cancel must have a valid reason");const C=(0,n.createPromiseCapability)();return this.streamControllers[_].cancelCall=C,this.streamControllers[_].isClosed=!0,m.postMessage({sourceName:S,targetName:y,stream:1,streamId:_,reason:u(h)}),C.promise}},g)}_createStreamSink(c){const l=c.streamId,g=this.sourceName,b=c.sourceName,_=this.comObj,S=this,y=this.actionHandler[c.action],m={enqueue(h,C=1,v){if(this.isCancelled)return;const M=this.desiredSize;this.desiredSize-=C,M>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),_.postMessage({sourceName:g,targetName:b,stream:4,streamId:l,chunk:h},v)},close(){this.isCancelled||(this.isCancelled=!0,_.postMessage({sourceName:g,targetName:b,stream:3,streamId:l}),delete S.streamSinks[l])},error(h){(0,n.assert)(h instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,_.postMessage({sourceName:g,targetName:b,stream:5,streamId:l,reason:u(h)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:c.desiredSize,ready:null};m.sinkCapability.resolve(),m.ready=m.sinkCapability.promise,this.streamSinks[l]=m,new Promise(function(h){h(y(c.data,m))}).then(function(){_.postMessage({sourceName:g,targetName:b,stream:8,streamId:l,success:!0})},function(h){_.postMessage({sourceName:g,targetName:b,stream:8,streamId:l,reason:u(h)})})}_processStreamMessage(c){const l=c.streamId,g=this.sourceName,b=c.sourceName,_=this.comObj,S=this.streamControllers[l],y=this.streamSinks[l];switch(c.stream){case 8:c.success?S.startCall.resolve():S.startCall.reject(u(c.reason));break;case 7:c.success?S.pullCall.resolve():S.pullCall.reject(u(c.reason));break;case 6:if(!y){_.postMessage({sourceName:g,targetName:b,stream:7,streamId:l,success:!0});break}y.desiredSize<=0&&c.desiredSize>0&&y.sinkCapability.resolve(),y.desiredSize=c.desiredSize,new Promise(function(m){m(y.onPull&&y.onPull())}).then(function(){_.postMessage({sourceName:g,targetName:b,stream:7,streamId:l,success:!0})},function(m){_.postMessage({sourceName:g,targetName:b,stream:7,streamId:l,reason:u(m)})});break;case 4:if((0,n.assert)(S,"enqueue should have stream controller"),S.isClosed)break;S.controller.enqueue(c.chunk);break;case 3:if((0,n.assert)(S,"close should have stream controller"),S.isClosed)break;S.isClosed=!0,S.controller.close(),this._deleteStreamController(S,l);break;case 5:(0,n.assert)(S,"error should have stream controller"),S.controller.error(u(c.reason)),this._deleteStreamController(S,l);break;case 2:c.success?S.cancelCall.resolve():S.cancelCall.reject(u(c.reason)),this._deleteStreamController(S,l);break;case 1:if(!y)break;new Promise(function(m){m(y.onCancel&&y.onCancel(u(c.reason)))}).then(function(){_.postMessage({sourceName:g,targetName:b,stream:2,streamId:l,success:!0})},function(m){_.postMessage({sourceName:g,targetName:b,stream:2,streamId:l,reason:u(m)})}),y.sinkCapability.reject(u(c.reason)),y.isCancelled=!0,delete this.streamSinks[l];break;default:throw new Error("Unexpected stream case")}}_deleteStreamController(c,l){var g=this;return _asyncToGenerator(function*(){yield Promise.allSettled([c.startCall&&c.startCall.promise,c.pullCall&&c.pullCall.promise,c.cancelCall&&c.cancelCall.promise]),delete g.streamControllers[l]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.Metadata=void 0;var n=o(1);f.Metadata=class i{#e;#t;constructor({parsedData:u,rawData:a}){this.#e=u,this.#t=a}getRaw(){return this.#t}get(u){return this.#e.get(u)??null}getAll(){return(0,n.objectFromMap)(this.#e)}has(u){return this.#e.has(u)}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.OptionalContentConfig=void 0;var n=o(1);const i=Symbol("INTERNAL");class d{#e=!0;constructor(e,c){this.name=e,this.intent=c}get visible(){return this.#e}_setVisible(e,c){e!==i&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#e=c}}f.OptionalContentConfig=class u{#e=!0;#t=new Map;#n=null;#r=null;constructor(e){if(this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,this.#r=e.order;for(const c of e.groups)this.#t.set(c.id,new d(c.name,c.intent));if("OFF"===e.baseState)for(const c of this.#t.values())c._setVisible(i,!1);for(const c of e.on)this.#t.get(c)._setVisible(i,!0);for(const c of e.off)this.#t.get(c)._setVisible(i,!1);this.#n=new Map;for(const[c,l]of this.#t)this.#n.set(c,l.visible)}}#o(e){const c=e.length;if(c<2)return!0;const l=e[0];for(let g=1;g0?(0,n.objectFromMap)(this.#t):null}getGroup(e){return this.#t.get(e)||null}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFDataTransportStream=void 0;var n=o(1),i=o(8);f.PDFDataTransportStream=class d{constructor(c,l){(0,n.assert)(l,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=c.progressiveDone||!1,this._contentDispositionFilename=c.contentDispositionFilename||null;const g=c.initialData;if(g?.length>0){const b=new Uint8Array(g).buffer;this._queuedChunks.push(b)}this._pdfDataRangeTransport=l,this._isStreamingSupported=!c.disableStream,this._isRangeSupported=!c.disableRange,this._contentLength=c.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((b,_)=>{this._onReceiveData({begin:b,chunk:_})}),this._pdfDataRangeTransport.addProgressListener((b,_)=>{this._onProgress({loaded:b,total:_})}),this._pdfDataRangeTransport.addProgressiveReadListener(b=>{this._onReceiveData({chunk:b})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(c){const l=new Uint8Array(c.chunk).buffer;if(void 0===c.begin)this._fullRequestReader?this._fullRequestReader._enqueue(l):this._queuedChunks.push(l);else{const g=this._rangeReaders.some(function(b){return b._begin===c.begin&&(b._enqueue(l),!0)});(0,n.assert)(g,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(c){if(void 0===c.total){const l=this._rangeReaders[0];l?.onProgress&&l.onProgress({loaded:c.loaded})}else{const l=this._fullRequestReader;l?.onProgress&&l.onProgress({loaded:c.loaded,total:c.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(c){const l=this._rangeReaders.indexOf(c);l>=0&&this._rangeReaders.splice(l,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const c=this._queuedChunks;return this._queuedChunks=null,new u(this,c,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(c,l){if(l<=this._progressiveDataLength)return null;const g=new a(this,c,l);return this._pdfDataRangeTransport.requestDataRange(c,l),this._rangeReaders.push(g),g}cancelAllRequests(c){this._fullRequestReader&&this._fullRequestReader.cancel(c);for(const l of this._rangeReaders.slice(0))l.cancel(c);this._pdfDataRangeTransport.abort()}};class u{constructor(c,l,g=!1,b=null){this._stream=c,this._done=g||!1,this._filename=(0,i.isPdfFile)(b)?b:null,this._queuedChunks=l||[],this._loaded=0;for(const _ of this._queuedChunks)this._loaded+=_.byteLength;this._requests=[],this._headersReady=Promise.resolve(),c._fullRequestReader=this,this.onProgress=null}_enqueue(c){this._done||(this._requests.length>0?this._requests.shift().resolve({value:c,done:!1}):this._queuedChunks.push(c),this._loaded+=c.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var c=this;return _asyncToGenerator(function*(){if(c._queuedChunks.length>0)return{value:c._queuedChunks.shift(),done:!1};if(c._done)return{value:void 0,done:!0};const l=(0,n.createPromiseCapability)();return c._requests.push(l),l.promise})()}cancel(c){this._done=!0;for(const l of this._requests)l.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class a{constructor(c,l,g){this._stream=c,this._begin=l,this._end=g,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(c){if(!this._done){if(0===this._requests.length)this._queuedChunk=c;else{this._requests.shift().resolve({value:c,done:!1});for(const g of this._requests)g.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var c=this;return _asyncToGenerator(function*(){if(c._queuedChunk){const g=c._queuedChunk;return c._queuedChunk=null,{value:g,done:!1}}if(c._done)return{value:void 0,done:!0};const l=(0,n.createPromiseCapability)();return c._requests.push(l),l.promise})()}cancel(c){this._done=!0;for(const l of this._requests)l.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(ve,f)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.XfaText=void 0;class o{static textContent(i){const d=[],u={items:d,styles:Object.create(null)};return function a(e){if(!e)return;let c=null;const l=e.name;if("#text"===l)c=e.value;else{if(!o.shouldBuildText(l))return;e?.attributes?.textContent?c=e.attributes.textContent:e.value&&(c=e.value)}if(null!==c&&d.push({str:c}),e.children)for(const g of e.children)a(g)}(i),u}static shouldBuildText(i){return!("textarea"===i||"input"===i||"option"===i||"select"===i)}}f.XfaText=o},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.NodeStandardFontDataFactory=f.NodeCanvasFactory=f.NodeCMapReaderFactory=void 0;var n=o(9);const i=function(e){return new Promise((c,l)=>{__webpack_require__(45344).readFile(e,(b,_)=>{!b&&_?c(new Uint8Array(_)):l(new Error(b))})})};f.NodeCanvasFactory=class d extends n.BaseCanvasFactory{_createCanvas(c,l){return __webpack_require__(22892).createCanvas(c,l)}},f.NodeCMapReaderFactory=class u extends n.BaseCMapReaderFactory{_fetchData(c,l){return i(c).then(g=>({cMapData:g,compressionType:l}))}},f.NodeStandardFontDataFactory=class a extends n.BaseStandardFontDataFactory{_fetchData(c){return i(c)}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.AnnotationEditorLayer=void 0;var n=o(7),i=o(1),d=o(23),u=o(24);f.AnnotationEditorLayer=(()=>{class e{#e;#t=!1;#n=this.pointerup.bind(this);#r=this.pointerdown.bind(this);#o=new Map;#c=!1;#a=!1;#i;static _initialized=!1;constructor(l){e._initialized||(e._initialized=!0,d.FreeTextEditor.initialize(l.l10n),u.InkEditor.initialize(l.l10n),l.uiManager.registerEditorTypes([d.FreeTextEditor,u.InkEditor])),this.#i=l.uiManager,this.annotationStorage=l.annotationStorage,this.pageIndex=l.pageIndex,this.div=l.div,this.#e=l.accessibilityManager,this.#i.addLayer(this)}updateToolbar(l){this.#i.updateToolbar(l)}updateMode(l=this.#i.getMode()){this.#s(),l===i.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#i.unselectAll()}addInkEditorIfNeeded(l){if(l||this.#i.getMode()===i.AnnotationEditorType.INK){if(!l)for(const b of this.#o.values())if(b.isEmpty())return void b.setInBackground();this.#l({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(l){this.#i.setEditingState(l)}addCommands(l){this.#i.addCommands(l)}enable(){this.div.style.pointerEvents="auto";for(const l of this.#o.values())l.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const l of this.#o.values())l.disableEditing()}setActiveEditor(l){this.#i.getActive()!==l&&this.#i.setActiveEditor(l)}enableClick(){this.div.addEventListener("pointerdown",this.#r),this.div.addEventListener("pointerup",this.#n)}disableClick(){this.div.removeEventListener("pointerdown",this.#r),this.div.removeEventListener("pointerup",this.#n)}attach(l){this.#o.set(l.id,l)}detach(l){this.#o.delete(l.id),this.#e?.removePointerInTextLayer(l.contentDiv)}remove(l){this.#i.removeEditor(l),this.detach(l),this.annotationStorage.remove(l.id),l.div.style.display="none",setTimeout(()=>{l.div.style.display="",l.div.remove(),l.isAttachedToDOM=!1,document.activeElement===document.body&&this.#i.focusMainContainer()},0),this.#a||this.addInkEditorIfNeeded(!1)}#h(l){l.parent!==this&&(this.attach(l),l.pageIndex=this.pageIndex,l.parent?.detach(l),l.parent=this,l.div&&l.isAttachedToDOM&&(l.div.remove(),this.div.append(l.div)))}add(l){if(this.#h(l),this.#i.addEditor(l),this.attach(l),!l.isAttachedToDOM){const g=l.render();this.div.append(g),l.isAttachedToDOM=!0}this.moveEditorInDOM(l),l.onceAdded(),this.addToAnnotationStorage(l)}moveEditorInDOM(l){this.#e?.moveElementInDOM(this.div,l.div,l.contentDiv,!0)}addToAnnotationStorage(l){!l.isEmpty()&&!this.annotationStorage.has(l.id)&&this.annotationStorage.setValue(l.id,l)}addOrRebuild(l){l.needsToBeRebuilt()?l.rebuild():this.add(l)}addANewEditor(l){this.addCommands({cmd:()=>{this.addOrRebuild(l)},undo:()=>{l.remove()},mustExec:!0})}addUndoableEditor(l){this.addCommands({cmd:()=>{this.addOrRebuild(l)},undo:()=>{l.remove()},mustExec:!1})}getNextId(){return this.#i.getId()}#u(l){switch(this.#i.getMode()){case i.AnnotationEditorType.FREETEXT:return new d.FreeTextEditor(l);case i.AnnotationEditorType.INK:return new u.InkEditor(l)}return null}deserialize(l){switch(l.annotationType){case i.AnnotationEditorType.FREETEXT:return d.FreeTextEditor.deserialize(l,this);case i.AnnotationEditorType.INK:return u.InkEditor.deserialize(l,this)}return null}#l(l){const g=this.getNextId(),b=this.#u({parent:this,id:g,x:l.offsetX,y:l.offsetY});return b&&this.add(b),b}setSelected(l){this.#i.setSelected(l)}toggleSelected(l){this.#i.toggleSelected(l)}isSelected(l){return this.#i.isSelected(l)}unselect(l){this.#i.unselect(l)}pointerup(l){if(!(0!==l.button||l.ctrlKey&&n.KeyboardManager.platform.isMac)&&l.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);this.#l(l)}}pointerdown(l){if(0!==l.button||l.ctrlKey&&n.KeyboardManager.platform.isMac||l.target!==this.div)return;this.#c=!0;const b=this.#i.getActive();this.#t=!b||b.isEmpty()}drop(l){const g=l.dataTransfer.getData("text/plain"),b=this.#i.getEditor(g);if(!b)return;l.preventDefault(),l.dataTransfer.dropEffect="move",this.#h(b);const _=this.div.getBoundingClientRect();b.translate(l.clientX-_.x-b.startX,l.clientY-_.y-b.startY),this.moveEditorInDOM(b),b.div.focus()}dragover(l){l.preventDefault()}destroy(){this.#i.getActive()?.parent===this&&this.#i.setActiveEditor(null);for(const l of this.#o.values())this.#e?.removePointerInTextLayer(l.contentDiv),l.isAttachedToDOM=!1,l.div.remove(),l.parent=null;this.div=null,this.#o.clear(),this.#i.removeLayer(this)}#s(){this.#a=!0;for(const l of this.#o.values())l.isEmpty()&&l.remove();this.#a=!1}render(l){this.viewport=l.viewport,(0,n.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const g of this.#i.getEditors(this.pageIndex))this.add(g);this.updateMode()}update(l){this.viewport=l.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[l,g,b,_]=this.viewport.viewBox;return[b-l,_-g]}get viewportBaseDimensions(){const{width:l,height:g,rotation:b}=this.viewport;return b%180==0?[l,g]:[g,l]}setDimensions(){const{width:l,height:g,rotation:b}=this.viewport,_=b%180!=0,S=Math.floor(l)+"px",y=Math.floor(g)+"px";this.div.style.width=_?y:S,this.div.style.height=_?S:y,this.div.setAttribute("data-main-rotation",b)}}return e})()},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.FreeTextEditor=void 0;var n=o(1),i=o(7),d=o(6);class u extends d.AnnotationEditor{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#n=this.editorDivKeydown.bind(this);#r;#o="";#c=!1;#a;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new i.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],u.prototype.commitOrRemove]]);static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#r=e.color||u._defaultColor||d.AnnotationEditor._defaultLineColor,this.#a=e.fontSize||u._defaultFontSize}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(l=>[l,e.get(l)]));const c=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(c.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,c){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:u._defaultFontSize=c;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:u._defaultColor=c}}updateParams(e,c){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#i(c);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#h(c)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,u._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,u._defaultColor||d.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#a],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#r]]}#i(e){const c=g=>{this.editorDiv.style.fontSize=`calc(${g}px * var(--scale-factor))`,this.translate(0,-(g-this.#a)*this.parent.scaleFactor),this.#a=g,this.#l()},l=this.#a;this.parent.addCommands({cmd:()=>{c(e)},undo:()=>{c(l)},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#h(e){const c=this.#r;this.parent.addCommands({cmd:()=>{this.#r=e,this.editorDiv.style.color=e},undo:()=>{this.#r=c,this.editorDiv.style.color=c},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-u._internalPadding*this.parent.scaleFactor,-(u._internalPadding+this.#a)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#n),this.editorDiv.addEventListener("focus",this.#t),this.editorDiv.addEventListener("blur",this.#e))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#n),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#u(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const c=[];for(let l=0,g=e.length;lthis.editorDiv?.setAttribute("aria-label",g)),u._l10nPromise.get("free_text_default_content").then(g=>this.editorDiv?.setAttribute("default-content",g)),this.editorDiv.contentEditable=!0;const{style:l}=this.editorDiv;if(l.fontSize=`calc(${this.#a}px * var(--scale-factor))`,l.color=this.#r,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,i.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[g,b]=this.parent.viewportBaseDimensions;this.setAt(e*g,c*b,this.width*g,this.height*b);for(const _ of this.#o.split("\n")){const S=document.createElement("div");S.append(_?document.createTextNode(_):document.createElement("br")),this.editorDiv.append(S)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,c){const l=super.deserialize(e,c);return l.#a=e.fontSize,l.#r=n.Util.makeHexColor(...e.color),l.#o=e.value,l}serialize(){if(this.isEmpty())return null;const e=u._internalPadding*this.parent.scaleFactor,c=this.getRect(e,e),l=d.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:n.AnnotationEditorType.FREETEXT,color:l,fontSize:this.#a,value:this.#o,pageIndex:this.parent.pageIndex,rect:c,rotation:this.rotation}}}f.FreeTextEditor=u},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.InkEditor=void 0,Object.defineProperty(f,"fitCurve",{enumerable:!0,get:function(){return d.fitCurve}});var n=o(1),i=o(6),d=o(25),u=o(7);const a=16;f.InkEditor=(()=>{class c extends i.AnnotationEditor{#e=0;#t=0;#n=0;#r=this.canvasPointermove.bind(this);#o=this.canvasPointerleave.bind(this);#c=this.canvasPointerup.bind(this);#a=this.canvasPointerdown.bind(this);#i=!1;#h=!1;#u=null;#l=null;#s=0;#g=0;#f=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(g){super({...g,name:"inkEditor"}),this.color=g.color||null,this.thickness=g.thickness||null,this.opacity=g.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(g){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(b=>[b,g.get(b)]))}static updateDefaultParams(g,b){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:c._defaultThickness=b;break;case n.AnnotationEditorParamsType.INK_COLOR:c._defaultColor=b;break;case n.AnnotationEditorParamsType.INK_OPACITY:c._defaultOpacity=b/100}}updateParams(g,b){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#v(b);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#p(b);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#_(b)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,c._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,c._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*c._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||c._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||c._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??c._defaultOpacity))]]}#v(g){const b=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=g,this.#D()},undo:()=>{this.thickness=b,this.#D()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#p(g){const b=this.color;this.parent.addCommands({cmd:()=>{this.color=g,this.#m()},undo:()=>{this.color=b,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#_(g){g/=100;const b=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=g,this.#m()},undo:()=>{this.opacity=b,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#b(),this.#C()),this.isAttachedToDOM||(this.parent.add(this),this.#w()),this.#D())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#l.disconnect(),this.#l=null,super.remove())}enableEditMode(){this.#i||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#a),this.canvas.addEventListener("pointerup",this.#c))}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#a),this.canvas.removeEventListener("pointerup",this.#c))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#S(){const{width:g,height:b,rotation:_}=this.parent.viewport;switch(_){case 90:return[0,g,g,b];case 180:return[g,b,g,b];case 270:return[b,0,g,b];default:return[0,0,g,b]}}#y(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,u.opacityToHex)(this.opacity)}`}#d(g,b){this.isEditing=!0,this.#h||(this.#h=!0,this.#w(),this.thickness||=c._defaultThickness,this.color||=c._defaultColor||i.AnnotationEditor._defaultLineColor,this.opacity??=c._defaultOpacity),this.currentPath.push([g,b]),this.#u=null,this.#y(),this.ctx.beginPath(),this.ctx.moveTo(g,b),this.#f=()=>{this.#f&&(this.#u&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#m(),this.ctx.lineTo(...this.#u),this.#u=null,this.ctx.stroke()),window.requestAnimationFrame(this.#f))},window.requestAnimationFrame(this.#f)}#M(g,b){const[_,S]=this.currentPath.at(-1);g===_&&b===S||(this.currentPath.push([g,b]),this.#u=[g,b])}#A(g,b){this.ctx.closePath(),this.#f=null,g=Math.min(Math.max(g,0),this.canvas.width),b=Math.min(Math.max(b,0),this.canvas.height);const[_,S]=this.currentPath.at(-1);let y;if((g!==_||b!==S)&&this.currentPath.push([g,b]),1!==this.currentPath.length)y=(0,d.fitCurve)(this.currentPath,30,null);else{const v=[g,b];y=[[v,v.slice(),v.slice(),v]]}const m=c.#k(y);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(y),this.bezierPath2D.push(m),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#b(),this.#C()),this.#D())},mustExec:!0})}#m(){if(this.isEmpty())return void this.#T();this.#y();const{canvas:g,ctx:b}=this;b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,g.width,g.height),this.#T();for(const _ of this.bezierPath2D)b.stroke(_)}commit(){this.#i||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#i=!0,this.div.classList.add("disabled"),this.#D(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(g){super.focusin(g),this.enableEditMode()}canvasPointerdown(g){0!==g.button||!this.isInEditMode()||this.#i||(this.setInForeground(),"mouse"!==g.type&&this.div.focus(),g.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#o),this.canvas.addEventListener("pointermove",this.#r),this.#d(g.offsetX,g.offsetY))}canvasPointermove(g){g.stopPropagation(),this.#M(g.offsetX,g.offsetY)}canvasPointerup(g){0===g.button&&this.isInEditMode()&&0!==this.currentPath.length&&(g.stopPropagation(),this.#E(g),this.setInBackground())}canvasPointerleave(g){this.#E(g),this.setInBackground()}#E(g){this.#A(g.offsetX,g.offsetY),this.canvas.removeEventListener("pointerleave",this.#o),this.canvas.removeEventListener("pointermove",this.#r),this.parent.addToAnnotationStorage(this)}#b(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",c._l10nPromise.get("editor_ink_canvas_aria_label").then(g=>this.canvas?.setAttribute("aria-label",g)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#C(){this.#l=new ResizeObserver(g=>{const b=g[0].contentRect;b.width&&b.height&&this.setDimensions(b.width,b.height)}),this.#l.observe(this.div)}render(){if(this.div)return this.div;let g,b;this.width&&(g=this.x,b=this.y),super.render(),c._l10nPromise.get("editor_ink_aria_label").then(h=>this.div?.setAttribute("aria-label",h));const[_,S,y,m]=this.#S();if(this.setAt(_,S,0,0),this.setDims(y,m),this.#b(),this.width){const[h,C]=this.parent.viewportBaseDimensions;this.setAt(g*h,b*C,this.width*h,this.height*C),this.#h=!0,this.#w(),this.setDims(this.width*h,this.height*C),this.#m(),this.#O(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#C(),this.div}#w(){if(!this.#h)return;const[g,b]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*g),this.canvas.height=Math.ceil(this.height*b),this.#T()}setDimensions(g,b){const _=Math.round(g),S=Math.round(b);if(this.#s===_&&this.#g===S)return;this.#s=_,this.#g=S,this.canvas.style.visibility="hidden",this.#e&&Math.abs(this.#e-g/b)>.01&&(b=Math.ceil(g/this.#e),this.setDims(g,b));const[y,m]=this.parent.viewportBaseDimensions;this.width=g/y,this.height=b/m,this.#i&&this.#P(g,b),this.#w(),this.#m(),this.canvas.style.visibility="visible"}#P(g,b){const _=this.#I(),S=(g-_)/this.#n,y=(b-_)/this.#t;this.scaleFactor=Math.min(S,y)}#T(){const g=this.#I()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+g,this.translationY*this.scaleFactor+g)}static#k(g){const b=new Path2D;for(let _=0,S=g.length;_=1?(g.minHeight="16px",g.minWidth=`${Math.round(this.#e*a)}px`):(g.minWidth="16px",g.minHeight=`${Math.round(a/this.#e)}px`)}static deserialize(g,b){const _=super.deserialize(g,b);_.thickness=g.thickness,_.color=n.Util.makeHexColor(...g.color),_.opacity=g.opacity;const[S,y]=b.pageDimensions,m=_.width*S,h=_.height*y,C=b.scaleFactor,v=g.thickness/2;_.#e=m/h,_.#i=!0,_.#s=Math.round(m),_.#g=Math.round(h);for(const{bezier:E}of g.paths){const A=[];_.paths.push(A);let T=C*(E[0]-v),R=C*(h-E[1]-v);for(let I=2,L=E.length;I{Object.defineProperty(f,"__esModule",{value:!0}),f.fitCurve=void 0;const n=o(26);f.fitCurve=n},ve=>{function o(S,y,m,h,C){var M,E,A,T,R,N,I,L,O,z,F,q,X;if(2===S.length)return q=b.vectorLen(b.subtract(S[0],S[1]))/3,[M=[S[0],b.addArrays(S[0],b.mulItems(y,q)),b.addArrays(S[1],b.mulItems(m,q)),S[1]]];if(E=function a(S){var m,h,C,y=[];return S.forEach((v,M)=>{m=M?h+b.vectorLen(b.subtract(v,C)):0,y.push(m),h=m,C=v}),y=y.map(v=>v/h)}(S),[M,T,N]=n(S,E,E,y,m,C),0===T||T.9999&&ce<1.0001)break}R=T,I=N}return F=[],(L=b.subtract(S[N-1],S[N+1])).every(ce=>0===ce)&&(L=b.subtract(S[N-1],S[N]),[L[0],L[1]]=[-L[1],L[0]]),O=b.normalize(L),z=b.mulItems(O,-1),(F=F.concat(o(S.slice(0,N+1),y,O,h,C))).concat(o(S.slice(N),z,m,h,C))}function n(S,y,m,h,C,v){var M,E,A;return M=function i(S,y,m,h){var C,v,M,E,A,T,I,L,O,z,F,q,X,ce,K,ne=S[0],Y=S[S.length-1];for(C=[ne,null,null,Y],v=b.zeros_Xx2x2(y.length),F=0,q=y.length;FC&&(C=h,v=E);return[C,v]}(S,M,y),v&&v({bez:M,points:S,params:y,maxErr:E,maxPoint:A}),[M,E,A]}function d(S,y,m){return m.map((h,C)=>function u(S,y,m){var h=b.subtract(_.q(S,m),y),C=_.qprime(S,m),v=b.mulMatrix(h,C),M=b.sum(b.squareItems(C))+2*b.mulMatrix(h,_.qprimeprime(S,m));return 0===M?m:m-v/M}(S,y[C],h))}var c=function(S,y){for(var m,h=[0],C=S[0],v=0,M=1;M<=y;M++)m=_.q(S,M/y),v+=b.vectorLen(b.subtract(m,C)),h.push(v),C=m;return h.map(E=>E/v)};function l(S,y,m,h){if(y<0)return 0;if(y>1)return 1;for(var v,E,A,T=1;T<=h;T++)if(y<=m[T]){A=(y-(v=m[T-1]))/(m[T]-v)*(T/h-(E=(T-1)/h))+E;break}return A}function g(S,y){return b.normalize(b.subtract(S,y))}class b{static zeros_Xx2x2(y){for(var m=[];y--;)m.push([0,0]);return m}static mulItems(y,m){return y.map(h=>h*m)}static mulMatrix(y,m){return y.reduce((h,C,v)=>h+C*m[v],0)}static subtract(y,m){return y.map((h,C)=>h-m[C])}static addArrays(y,m){return y.map((h,C)=>h+m[C])}static addItems(y,m){return y.map(h=>h+m)}static sum(y){return y.reduce((m,h)=>m+h)}static dot(y,m){return b.mulMatrix(y,m)}static vectorLen(y){return Math.hypot(...y)}static divItems(y,m){return y.map(h=>h/m)}static squareItems(y){return y.map(m=>m*m)}static normalize(y){return this.divItems(y,this.vectorLen(y))}}class _{static q(y,m){var h=1-m,C=b.mulItems(y[0],h*h*h),v=b.mulItems(y[1],3*h*h*m),M=b.mulItems(y[2],3*h*m*m),E=b.mulItems(y[3],m*m*m);return b.addArrays(b.addArrays(C,v),b.addArrays(M,E))}static qprime(y,m){var h=1-m,C=b.mulItems(b.subtract(y[1],y[0]),3*h*h),v=b.mulItems(b.subtract(y[2],y[1]),6*h*m),M=b.mulItems(b.subtract(y[3],y[2]),3*m*m);return b.addArrays(b.addArrays(C,v),M)}static qprimeprime(y,m){return b.addArrays(b.mulItems(b.addArrays(b.subtract(y[2],b.mulItems(y[1],2)),y[0]),6*(1-m)),b.mulItems(b.addArrays(b.subtract(y[3],b.mulItems(y[2],2)),y[1]),6*m))}}ve.exports=function f(S,y,m){if(!Array.isArray(S))throw new TypeError("First argument should be an array");if(S.forEach(M=>{if(!Array.isArray(M)||M.some(E=>"number"!=typeof E)||M.length!==S[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(S=S.filter((M,E)=>0===E||!M.every((A,T)=>A===S[E-1][T]))).length<2)return[];const h=S.length,C=g(S[1],S[0]),v=g(S[h-2],S[h-1]);return o(S,C,v,y,m)},ve.exports.fitCubic=o,ve.exports.createTangent=g},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.AnnotationLayer=void 0;var n=o(1),i=o(8),d=o(5),u=o(28),a=o(29);const e=1e3,l=new WeakSet;function g(re){return{width:re[2]-re[0],height:re[3]-re[1]}}class b{static create(W){switch(W.data.annotationType){case n.AnnotationType.LINK:return new S(W);case n.AnnotationType.TEXT:return new y(W);case n.AnnotationType.WIDGET:switch(W.data.fieldType){case"Tx":return new h(W);case"Btn":return W.data.radioButton?new v(W):W.data.checkBox?new C(W):new M(W);case"Ch":return new E(W)}return new m(W);case n.AnnotationType.POPUP:return new A(W);case n.AnnotationType.FREETEXT:return new R(W);case n.AnnotationType.LINE:return new N(W);case n.AnnotationType.SQUARE:return new I(W);case n.AnnotationType.CIRCLE:return new L(W);case n.AnnotationType.POLYLINE:return new O(W);case n.AnnotationType.CARET:return new F(W);case n.AnnotationType.INK:return new q(W);case n.AnnotationType.POLYGON:return new z(W);case n.AnnotationType.HIGHLIGHT:return new X(W);case n.AnnotationType.UNDERLINE:return new ce(W);case n.AnnotationType.SQUIGGLY:return new K(W);case n.AnnotationType.STRIKEOUT:return new ne(W);case n.AnnotationType.STAMP:return new Y(W);case n.AnnotationType.FILEATTACHMENT:return new H(W);default:return new _(W)}}}class _{constructor(W,{isRenderable:ee=!1,ignoreBorder:J=!1,createQuadrilaterals:G=!1}={}){this.isRenderable=ee,this.data=W.data,this.layer=W.layer,this.page=W.page,this.viewport=W.viewport,this.linkService=W.linkService,this.downloadManager=W.downloadManager,this.imageResourcesPath=W.imageResourcesPath,this.renderForms=W.renderForms,this.svgFactory=W.svgFactory,this.annotationStorage=W.annotationStorage,this.enableScripting=W.enableScripting,this.hasJSActions=W.hasJSActions,this._fieldObjects=W.fieldObjects,this._mouseState=W.mouseState,ee&&(this.container=this._createContainer(J)),G&&(this.quadrilaterals=this._createQuadrilaterals(J))}_createContainer(W=!1){const ee=this.data,J=this.page,G=this.viewport,de=document.createElement("section"),{width:be,height:Ae}=g(ee.rect),[ye,le,Me,$e]=G.viewBox,qe=Me-ye,tt=$e-le;de.setAttribute("data-annotation-id",ee.id);const mt=n.Util.normalizeRect([ee.rect[0],J.view[3]-ee.rect[1]+J.view[1],ee.rect[2],J.view[3]-ee.rect[3]+J.view[1]]);if(!W&&ee.borderStyle.width>0){de.style.borderWidth=`${ee.borderStyle.width}px`;const ft=ee.borderStyle.horizontalCornerRadius,Qt=ee.borderStyle.verticalCornerRadius;switch(ft>0||Qt>0?de.style.borderRadius=`calc(${ft}px * var(--scale-factor)) / calc(${Qt}px * var(--scale-factor))`:this instanceof v&&(de.style.borderRadius=`calc(${be}px * var(--scale-factor)) / calc(${Ae}px * var(--scale-factor))`),ee.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:de.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:de.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:de.style.borderBottomStyle="solid"}const bt=ee.borderColor||null;bt?de.style.borderColor=n.Util.makeHexColor(0|bt[0],0|bt[1],0|bt[2]):de.style.borderWidth=0}de.style.left=100*(mt[0]-ye)/qe+"%",de.style.top=100*(mt[1]-le)/tt+"%";const{rotation:st}=ee;return ee.hasOwnCanvas||0===st?(de.style.width=100*be/qe+"%",de.style.height=100*Ae/tt+"%"):this.setRotation(st,de),de}setRotation(W,ee=this.container){const[J,G,de,be]=this.viewport.viewBox,Ae=de-J,ye=be-G,{width:le,height:Me}=g(this.data.rect);let $e,qe;W%180==0?($e=100*le/Ae,qe=100*Me/ye):($e=100*Me/Ae,qe=100*le/ye),ee.style.width=`${$e}%`,ee.style.height=`${qe}%`,ee.setAttribute("data-main-rotation",(360-W)%360)}get _commonActions(){const W=(ee,J,G)=>{const de=G.detail[ee];G.target.style[J]=u.ColorConverters[`${de[0]}_HTML`](de.slice(1))};return(0,n.shadow)(this,"_commonActions",{display:ee=>{const J=ee.detail.display%2==1;this.container.style.visibility=J?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:J,print:0===ee.detail.display||3===ee.detail.display})},print:ee=>{this.annotationStorage.setValue(this.data.id,{print:ee.detail.print})},hidden:ee=>{this.container.style.visibility=ee.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:ee.detail.hidden})},focus:ee=>{setTimeout(()=>ee.target.focus({preventScroll:!1}),0)},userName:ee=>{ee.target.title=ee.detail.userName},readonly:ee=>{ee.detail.readonly?ee.target.setAttribute("readonly",""):ee.target.removeAttribute("readonly")},required:ee=>{this._setRequired(ee.target,ee.detail.required)},bgColor:ee=>{W("bgColor","backgroundColor",ee)},fillColor:ee=>{W("fillColor","backgroundColor",ee)},fgColor:ee=>{W("fgColor","color",ee)},textColor:ee=>{W("textColor","color",ee)},borderColor:ee=>{W("borderColor","borderColor",ee)},strokeColor:ee=>{W("strokeColor","borderColor",ee)},rotation:ee=>{const J=ee.detail.rotation;this.setRotation(J),this.annotationStorage.setValue(this.data.id,{rotation:J})}})}_dispatchEventFromSandbox(W,ee){const J=this._commonActions;for(const G of Object.keys(ee.detail)){const de=W[G]||J[G];de&&de(ee)}}_setDefaultPropertiesFromJS(W){if(!this.enableScripting)return;const ee=this.annotationStorage.getRawValue(this.data.id);if(!ee)return;const J=this._commonActions;for(const[G,de]of Object.entries(ee)){const be=J[G];be&&(be({detail:{[G]:de},target:W}),delete ee[G])}}_createQuadrilaterals(W=!1){if(!this.data.quadPoints)return null;const ee=[],J=this.data.rect;for(const G of this.data.quadPoints)this.data.rect=[G[2].x,G[2].y,G[1].x,G[1].y],ee.push(this._createContainer(W));return this.data.rect=J,ee}_createPopup(W,ee){let J=this.container;this.quadrilaterals&&(W=W||this.quadrilaterals,J=this.quadrilaterals[0]),W||((W=document.createElement("div")).className="popupTriggerArea",J.append(W));const de=new T({container:J,trigger:W,color:ee.color,titleObj:ee.titleObj,modificationDate:ee.modificationDate,contentsObj:ee.contentsObj,richText:ee.richText,hideWrapper:!0}).render();de.style.left="100%",J.append(de)}_renderQuadrilaterals(W){for(const ee of this.quadrilaterals)ee.className=W;return this.quadrilaterals}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(W,ee=null){const J=[];if(this._fieldObjects){const G=this._fieldObjects[W];if(G)for(const{page:de,id:be,exportValues:Ae}of G){if(-1===de||be===ee)continue;const ye="string"==typeof Ae?Ae:null,le=document.querySelector(`[data-element-id="${be}"]`);!le||l.has(le)?J.push({id:be,exportValue:ye,domElement:le}):(0,n.warn)(`_getElementsByName - element not allowed: ${be}`)}return J}for(const G of document.getElementsByName(W)){const{id:de,exportValue:be}=G;de!==ee&&l.has(G)&&J.push({id:de,exportValue:be,domElement:G})}return J}static get platform(){const W=typeof navigator<"u"?navigator.platform:"";return(0,n.shadow)(this,"platform",{isWin:W.includes("Win"),isMac:W.includes("Mac")})}}class S extends _{constructor(W,ee=null){super(W,{isRenderable:!0,ignoreBorder:!!ee?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=W.data.isTooltipOnly}render(){const{data:W,linkService:ee}=this,J=document.createElement("a");J.setAttribute("data-element-id",W.id);let G=!1;return W.url?(ee.addLinkAttributes(J,W.url,W.newWindow),G=!0):W.action?(this._bindNamedAction(J,W.action),G=!0):W.dest?(this._bindLink(J,W.dest),G=!0):(W.actions&&(W.actions.Action||W.actions["Mouse Up"]||W.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(J,W),G=!0),W.resetForm?(this._bindResetFormAction(J,W.resetForm),G=!0):this.isTooltipOnly&&!G&&(this._bindLink(J,""),G=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((de,be)=>{const Ae=0===be?J:J.cloneNode();return de.append(Ae),de}):(this.container.className="linkAnnotation",G&&this.container.append(J),this.container)}_bindLink(W,ee){W.href=this.linkService.getDestinationHash(ee),W.onclick=()=>(ee&&this.linkService.goToDestination(ee),!1),(ee||""===ee)&&(W.className="internalLink")}_bindNamedAction(W,ee){W.href=this.linkService.getAnchorUrl(""),W.onclick=()=>(this.linkService.executeNamedAction(ee),!1),W.className="internalLink"}_bindJSAction(W,ee){W.href=this.linkService.getAnchorUrl("");const J=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const G of Object.keys(ee.actions)){const de=J.get(G);de&&(W[de]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ee.id,name:G}}),!1))}W.onclick||(W.onclick=()=>!1),W.className="internalLink"}_bindResetFormAction(W,ee){const J=W.onclick;if(J||(W.href=this.linkService.getAnchorUrl("")),W.className="internalLink",!this._fieldObjects)return(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(J||(W.onclick=()=>!1));W.onclick=()=>{J&&J();const{fields:G,refs:de,include:be}=ee,Ae=[];if(0!==G.length||0!==de.length){const Me=new Set(de);for(const $e of G){const qe=this._fieldObjects[$e]||[];for(const{id:tt}of qe)Me.add(tt)}for(const $e of Object.values(this._fieldObjects))for(const qe of $e)Me.has(qe.id)===be&&Ae.push(qe)}else for(const Me of Object.values(this._fieldObjects))Ae.push(...Me);const ye=this.annotationStorage,le=[];for(const Me of Ae){const{id:$e}=Me;switch(le.push($e),Me.type){case"text":case"combobox":case"listbox":ye.setValue($e,{value:Me.defaultValue||""});break;case"checkbox":case"radiobutton":ye.setValue($e,{value:Me.defaultValue===Me.exportValues});break;default:continue}const qe=document.querySelector(`[data-element-id="${$e}"]`);qe&&(l.has(qe)?qe.dispatchEvent(new Event("resetform")):(0,n.warn)(`_bindResetFormAction - element not allowed: ${$e}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:le,name:"ResetForm"}}),!1}}}class y extends _{constructor(W){super(W,{isRenderable:!!(W.data.hasPopup||W.data.titleObj?.str||W.data.contentsObj?.str||W.data.richText?.str)})}render(){this.container.className="textAnnotation";const W=document.createElement("img");return W.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",W.alt="[{{type}} Annotation]",W.dataset.l10nId="text_annotation_type",W.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(W,this.data),this.container.append(W),this.container}}class m extends _{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(W){const{isWin:ee,isMac:J}=_.platform;return ee&&W.ctrlKey||J&&W.metaKey}_setEventListener(W,ee,J,G){ee.includes("mouse")?W.addEventListener(ee,de=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:J,value:G(de),shift:de.shiftKey,modifier:this._getKeyModifier(de)}})}):W.addEventListener(ee,de=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:J,value:G(de)}})})}_setEventListeners(W,ee,J){for(const[G,de]of ee)("Action"===de||this.data.actions?.[de])&&this._setEventListener(W,G,de,J)}_setBackgroundColor(W){const ee=this.data.backgroundColor||null;W.style.backgroundColor=null===ee?"transparent":n.Util.makeHexColor(ee[0],ee[1],ee[2])}_setTextStyle(W){const{fontColor:J}=this.data.defaultAppearanceData,G=this.data.defaultAppearanceData.fontSize||9,de=W.style;let be;if(this.data.multiLine){const Ae=Math.abs(this.data.rect[3]-this.data.rect[1]),ye=Math.round(Ae/(n.LINE_FACTOR*G))||1;be=Math.min(G,Math.round(Ae/ye/n.LINE_FACTOR))}else{const Ae=Math.abs(this.data.rect[3]-this.data.rect[1]);be=Math.min(G,Math.round(Ae/n.LINE_FACTOR))}de.fontSize=`calc(${be}px * var(--scale-factor))`,de.color=n.Util.makeHexColor(J[0],J[1],J[2]),null!==this.data.textAlignment&&(de.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(W,ee){ee?W.setAttribute("required",!0):W.removeAttribute("required"),W.setAttribute("aria-required",ee)}}class h extends m{constructor(W){super(W,{isRenderable:W.renderForms||!W.data.hasAppearance&&!!W.data.fieldValue})}setPropertyOnSiblings(W,ee,J,G){const de=this.annotationStorage;for(const be of this._getElementsByName(W.name,W.id))be.domElement&&(be.domElement[ee]=J),de.setValue(be.id,{[G]:J})}render(){const W=this.annotationStorage,ee=this.data.id;this.container.className="textWidgetAnnotation";let J=null;if(this.renderForms){const G=W.getValue(ee,{value:this.data.fieldValue});let de=G.formattedValue||G.value||"";const be=W.getValue(ee,{charLimit:this.data.maxLen}).charLimit;be&&de.length>be&&(de=de.slice(0,be));const Ae={userValue:de,formattedValue:null,valueOnFocus:""};this.data.multiLine?(J=document.createElement("textarea"),J.textContent=de,this.data.doNotScroll&&(J.style.overflowY="hidden")):(J=document.createElement("input"),J.type="text",J.setAttribute("value",de),this.data.doNotScroll&&(J.style.overflowX="hidden")),l.add(J),J.setAttribute("data-element-id",ee),J.disabled=this.data.readOnly,J.name=this.data.fieldName,J.tabIndex=e,this._setRequired(J,this.data.required),be&&(J.maxLength=be),J.addEventListener("input",le=>{W.setValue(ee,{value:le.target.value}),this.setPropertyOnSiblings(J,"value",le.target.value,"value")}),J.addEventListener("resetform",le=>{J.value=Ae.userValue=this.data.defaultFieldValue??"",Ae.formattedValue=null});let ye=le=>{const{formattedValue:Me}=Ae;null!=Me&&(le.target.value=Me),le.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){J.addEventListener("focus",Me=>{Ae.userValue&&(Me.target.value=Ae.userValue),Ae.valueOnFocus=Me.target.value}),J.addEventListener("updatefromsandbox",Me=>{this._dispatchEventFromSandbox({value(qe){Ae.userValue=qe.detail.value??"",W.setValue(ee,{value:Ae.userValue.toString()}),qe.target.value=Ae.userValue},formattedValue(qe){const{formattedValue:tt}=qe.detail;Ae.formattedValue=tt,null!=tt&&qe.target!==document.activeElement&&(qe.target.value=tt),W.setValue(ee,{formattedValue:tt})},selRange(qe){qe.target.setSelectionRange(...qe.detail.selRange)},charLimit:qe=>{const{charLimit:tt}=qe.detail,{target:mt}=qe;if(0===tt)return void mt.removeAttribute("maxLength");mt.setAttribute("maxLength",tt);let st=Ae.userValue;!st||st.length<=tt||(st=st.slice(0,tt),mt.value=Ae.userValue=st,W.setValue(ee,{value:st}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ee,name:"Keystroke",value:st,willCommit:!0,commitKey:1,selStart:mt.selectionStart,selEnd:mt.selectionEnd}}))}},Me)}),J.addEventListener("keydown",Me=>{let $e=-1;if("Escape"===Me.key?$e=0:"Enter"===Me.key?$e=2:"Tab"===Me.key&&($e=3),-1===$e)return;const{value:qe}=Me.target;Ae.valueOnFocus!==qe&&(Ae.userValue=qe,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ee,name:"Keystroke",value:qe,willCommit:!0,commitKey:$e,selStart:Me.target.selectionStart,selEnd:Me.target.selectionEnd}}))});const le=ye;ye=null,J.addEventListener("blur",Me=>{const{value:$e}=Me.target;Ae.userValue=$e,this._mouseState.isDown&&Ae.valueOnFocus!==$e&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ee,name:"Keystroke",value:$e,willCommit:!0,commitKey:1,selStart:Me.target.selectionStart,selEnd:Me.target.selectionEnd}}),le(Me)}),this.data.actions?.Keystroke&&J.addEventListener("beforeinput",Me=>{const{data:$e,target:qe}=Me,{value:tt,selectionStart:mt,selectionEnd:st}=qe;let ft=mt,Qt=st;switch(Me.inputType){case"deleteWordBackward":{const bt=tt.substring(0,mt).match(/\w*[^\w]*$/);bt&&(ft-=bt[0].length);break}case"deleteWordForward":{const bt=tt.substring(mt).match(/^[^\w]*\w*/);bt&&(Qt+=bt[0].length);break}case"deleteContentBackward":mt===st&&(ft-=1);break;case"deleteContentForward":mt===st&&(Qt+=1)}Me.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ee,name:"Keystroke",value:tt,change:$e||"",willCommit:!1,selStart:ft,selEnd:Qt}})}),this._setEventListeners(J,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Me=>Me.target.value)}if(ye&&J.addEventListener("blur",ye),this.data.comb){const Me=(this.data.rect[2]-this.data.rect[0])/be;J.classList.add("comb"),J.style.letterSpacing=`calc(${Me}px * var(--scale-factor) - 1ch)`}}else J=document.createElement("div"),J.textContent=this.data.fieldValue,J.style.verticalAlign="middle",J.style.display="table-cell";return this._setTextStyle(J),this._setBackgroundColor(J),this._setDefaultPropertiesFromJS(J),this.container.append(J),this.container}}class C extends m{constructor(W){super(W,{isRenderable:W.renderForms})}render(){const W=this.annotationStorage,ee=this.data,J=ee.id;let G=W.getValue(J,{value:ee.exportValue===ee.fieldValue}).value;"string"==typeof G&&(G="Off"!==G,W.setValue(J,{value:G})),this.container.className="buttonWidgetAnnotation checkBox";const de=document.createElement("input");return l.add(de),de.setAttribute("data-element-id",J),de.disabled=ee.readOnly,this._setRequired(de,this.data.required),de.type="checkbox",de.name=ee.fieldName,G&&de.setAttribute("checked",!0),de.setAttribute("exportValue",ee.exportValue),de.tabIndex=e,de.addEventListener("change",be=>{const{name:Ae,checked:ye}=be.target;for(const le of this._getElementsByName(Ae,J)){const Me=ye&&le.exportValue===ee.exportValue;le.domElement&&(le.domElement.checked=Me),W.setValue(le.id,{value:Me})}W.setValue(J,{value:ye})}),de.addEventListener("resetform",be=>{be.target.checked=(ee.defaultFieldValue||"Off")===ee.exportValue}),this.enableScripting&&this.hasJSActions&&(de.addEventListener("updatefromsandbox",be=>{this._dispatchEventFromSandbox({value(ye){ye.target.checked="Off"!==ye.detail.value,W.setValue(J,{value:ye.target.checked})}},be)}),this._setEventListeners(de,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],be=>be.target.checked)),this._setBackgroundColor(de),this._setDefaultPropertiesFromJS(de),this.container.append(de),this.container}}class v extends m{constructor(W){super(W,{isRenderable:W.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const W=this.annotationStorage,ee=this.data,J=ee.id;let G=W.getValue(J,{value:ee.fieldValue===ee.buttonValue}).value;"string"==typeof G&&(G=G!==ee.buttonValue,W.setValue(J,{value:G}));const de=document.createElement("input");if(l.add(de),de.setAttribute("data-element-id",J),de.disabled=ee.readOnly,this._setRequired(de,this.data.required),de.type="radio",de.name=ee.fieldName,G&&de.setAttribute("checked",!0),de.tabIndex=e,de.addEventListener("change",be=>{const{name:Ae,checked:ye}=be.target;for(const le of this._getElementsByName(Ae,J))W.setValue(le.id,{value:!1});W.setValue(J,{value:ye})}),de.addEventListener("resetform",be=>{const Ae=ee.defaultFieldValue;be.target.checked=null!=Ae&&Ae===ee.buttonValue}),this.enableScripting&&this.hasJSActions){const be=ee.buttonValue;de.addEventListener("updatefromsandbox",Ae=>{this._dispatchEventFromSandbox({value:le=>{const Me=be===le.detail.value;for(const $e of this._getElementsByName(le.target.name)){const qe=Me&&$e.id===J;$e.domElement&&($e.domElement.checked=qe),W.setValue($e.id,{value:qe})}}},Ae)}),this._setEventListeners(de,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ae=>Ae.target.checked)}return this._setBackgroundColor(de),this._setDefaultPropertiesFromJS(de),this.container.append(de),this.container}}class M extends S{constructor(W){super(W,{ignoreBorder:W.data.hasAppearance})}render(){const W=super.render();W.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(W.title=this.data.alternativeText);const ee=W.lastChild;return this.enableScripting&&this.hasJSActions&&ee&&(this._setDefaultPropertiesFromJS(ee),ee.addEventListener("updatefromsandbox",J=>{this._dispatchEventFromSandbox({},J)})),W}}class E extends m{constructor(W){super(W,{isRenderable:W.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const W=this.annotationStorage,ee=this.data.id,J=W.getValue(ee,{value:this.data.fieldValue}),G=document.createElement("select");l.add(G),G.setAttribute("data-element-id",ee),G.disabled=this.data.readOnly,this._setRequired(G,this.data.required),G.name=this.data.fieldName,G.tabIndex=e;let de=this.data.combo&&this.data.options.length>0;this.data.combo||(G.size=this.data.options.length,this.data.multiSelect&&(G.multiple=!0)),G.addEventListener("resetform",le=>{const Me=this.data.defaultFieldValue;for(const $e of G.options)$e.selected=$e.value===Me});for(const le of this.data.options){const Me=document.createElement("option");Me.textContent=le.displayValue,Me.value=le.exportValue,J.value.includes(le.exportValue)&&(Me.setAttribute("selected",!0),de=!1),G.append(Me)}let be=null;if(de){const le=document.createElement("option");le.value=" ",le.setAttribute("hidden",!0),le.setAttribute("selected",!0),G.prepend(le),be=()=>{le.remove(),G.removeEventListener("input",be),be=null},G.addEventListener("input",be)}const Ae=(le,Me)=>{const $e=Me?"value":"textContent",qe=le.target.options;return le.target.multiple?Array.prototype.filter.call(qe,tt=>tt.selected).map(tt=>tt[$e]):-1===qe.selectedIndex?null:qe[qe.selectedIndex][$e]},ye=le=>Array.prototype.map.call(le.target.options,$e=>({displayValue:$e.textContent,exportValue:$e.value}));return this.enableScripting&&this.hasJSActions?(G.addEventListener("updatefromsandbox",le=>{this._dispatchEventFromSandbox({value($e){be?.();const qe=$e.detail.value,tt=new Set(Array.isArray(qe)?qe:[qe]);for(const mt of G.options)mt.selected=tt.has(mt.value);W.setValue(ee,{value:Ae($e,!0)})},multipleSelection($e){G.multiple=!0},remove($e){const qe=G.options,tt=$e.detail.remove;qe[tt].selected=!1,G.remove(tt),qe.length>0&&-1===Array.prototype.findIndex.call(qe,st=>st.selected)&&(qe[0].selected=!0),W.setValue(ee,{value:Ae($e,!0),items:ye($e)})},clear($e){for(;0!==G.length;)G.remove(0);W.setValue(ee,{value:null,items:[]})},insert($e){const{index:qe,displayValue:tt,exportValue:mt}=$e.detail.insert,st=G.children[qe],ft=document.createElement("option");ft.textContent=tt,ft.value=mt,st?st.before(ft):G.append(ft),W.setValue(ee,{value:Ae($e,!0),items:ye($e)})},items($e){const{items:qe}=$e.detail;for(;0!==G.length;)G.remove(0);for(const tt of qe){const{displayValue:mt,exportValue:st}=tt,ft=document.createElement("option");ft.textContent=mt,ft.value=st,G.append(ft)}G.options.length>0&&(G.options[0].selected=!0),W.setValue(ee,{value:Ae($e,!0),items:ye($e)})},indices($e){const qe=new Set($e.detail.indices);for(const tt of $e.target.options)tt.selected=qe.has(tt.index);W.setValue(ee,{value:Ae($e,!0)})},editable($e){$e.target.disabled=!$e.detail.editable}},le)}),G.addEventListener("input",le=>{const Me=Ae(le,!0),$e=Ae(le,!1);W.setValue(ee,{value:Me}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:ee,name:"Keystroke",value:$e,changeEx:Me,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(G,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],le=>le.target.checked)):G.addEventListener("input",function(le){W.setValue(ee,{value:Ae(le,!0)})}),this.data.combo&&this._setTextStyle(G),this._setBackgroundColor(G),this._setDefaultPropertiesFromJS(G),this.container.append(G),this.container}}class A extends _{constructor(W){super(W,{isRenderable:!!(W.data.titleObj?.str||W.data.contentsObj?.str||W.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const J=this.layer.querySelectorAll(`[data-annotation-id="${this.data.parentId}"]`);if(0===J.length)return this.container;const G=new T({container:this.container,trigger:Array.from(J),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),de=this.page,be=n.Util.normalizeRect([this.data.parentRect[0],de.view[3]-this.data.parentRect[1]+de.view[1],this.data.parentRect[2],de.view[3]-this.data.parentRect[3]+de.view[1]]),Ae=be[0]+this.data.parentRect[2]-this.data.parentRect[0],ye=be[1],[le,Me,$e,qe]=this.viewport.viewBox,mt=qe-Me;return this.container.style.left=100*(Ae-le)/($e-le)+"%",this.container.style.top=100*(ye-Me)/mt+"%",this.container.append(G.render()),this.container}}class T{constructor(W){this.container=W.container,this.trigger=W.trigger,this.color=W.color,this.titleObj=W.titleObj,this.modificationDate=W.modificationDate,this.contentsObj=W.contentsObj,this.richText=W.richText,this.hideWrapper=W.hideWrapper||!1,this.pinned=!1}render(){const ee=document.createElement("div");ee.className="popupWrapper",this.hideElement=this.hideWrapper?ee:this.container,this.hideElement.hidden=!0;const J=document.createElement("div");J.className="popup";const G=this.color;G&&(J.style.backgroundColor=n.Util.makeHexColor(0|.7*(255-G[0])+G[0],0|.7*(255-G[1])+G[1],0|.7*(255-G[2])+G[2]));const de=document.createElement("h1");de.dir=this.titleObj.dir,de.textContent=this.titleObj.str,J.append(de);const be=i.PDFDateString.toDateObject(this.modificationDate);if(be){const Ae=document.createElement("span");Ae.className="popupDate",Ae.textContent="{{date}}, {{time}}",Ae.dataset.l10nId="annotation_date_string",Ae.dataset.l10nArgs=JSON.stringify({date:be.toLocaleDateString(),time:be.toLocaleTimeString()}),J.append(Ae)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const Ae=this._formatContents(this.contentsObj);J.append(Ae)}else a.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:J}),J.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Ae of this.trigger)Ae.addEventListener("click",this._toggle.bind(this)),Ae.addEventListener("mouseover",this._show.bind(this,!1)),Ae.addEventListener("mouseout",this._hide.bind(this,!1));return J.addEventListener("click",this._hide.bind(this,!0)),ee.append(J),ee}_formatContents({str:W,dir:ee}){const J=document.createElement("p");J.className="popupContent",J.dir=ee;const G=W.split(/(?:\r\n?|\n)/);for(let de=0,be=G.length;de{function o(i){return Math.floor(255*Math.max(0,Math.min(1,i))).toString(16).padStart(2,"0")}Object.defineProperty(f,"__esModule",{value:!0}),f.ColorConverters=void 0,f.ColorConverters=class n{static CMYK_G([d,u,a,e]){return["G",1-Math.min(1,.3*d+.59*a+.11*u+e)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_HTML([d]){const u=o(d);return`#${u}${u}${u}`}static RGB_G([d,u,a]){return["G",.3*d+.59*u+.11*a]}static RGB_HTML([d,u,a]){return`#${o(d)}${o(u)}${o(a)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([d,u,a,e]){return["RGB",1-Math.min(1,d+e),1-Math.min(1,a+e),1-Math.min(1,u+e)]}static CMYK_HTML(d){const u=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(u)}static RGB_CMYK([d,u,a]){const e=1-d,c=1-u,l=1-a;return["CMYK",e,c,l,Math.min(e,c,l)]}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.XfaLayer=void 0;var n=o(20);f.XfaLayer=class i{static setupStorage(u,a,e,c,l){const g=c.getValue(a,{value:null});switch(e.name){case"textarea":if(null!==g.value&&(u.textContent=g.value),"print"===l)break;u.addEventListener("input",b=>{c.setValue(a,{value:b.target.value})});break;case"input":if("radio"===e.attributes.type||"checkbox"===e.attributes.type){if(g.value===e.attributes.xfaOn?u.setAttribute("checked",!0):g.value===e.attributes.xfaOff&&u.removeAttribute("checked"),"print"===l)break;u.addEventListener("change",b=>{c.setValue(a,{value:b.target.getAttribute(b.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==g.value&&u.setAttribute("value",g.value),"print"===l)break;u.addEventListener("input",b=>{c.setValue(a,{value:b.target.value})})}break;case"select":if(null!==g.value)for(const b of e.children)b.attributes.value===g.value&&(b.attributes.selected=!0);u.addEventListener("input",b=>{const _=b.target.options;c.setValue(a,{value:-1===_.selectedIndex?"":_[_.selectedIndex].value})})}}static setAttributes({html:u,element:a,storage:e=null,intent:c,linkService:l}){const{attributes:g}=a,b=u instanceof HTMLAnchorElement;"radio"===g.type&&(g.name=`${g.name}-${c}`);for(const[_,S]of Object.entries(g))if(null!=S)switch(_){case"class":S.length&&u.setAttribute(_,S.join(" "));break;case"dataId":break;case"id":u.setAttribute("data-element-id",S);break;case"style":Object.assign(u.style,S);break;case"textContent":u.textContent=S;break;default:(!b||"href"!==_&&"newWindow"!==_)&&u.setAttribute(_,S)}b&&l.addLinkAttributes(u,g.href,g.newWindow),e&&g.dataId&&this.setupStorage(u,g.dataId,a,e)}static render(u){const a=u.annotationStorage,e=u.linkService,c=u.xfaHtml,l=u.intent||"display",g=document.createElement(c.name);c.attributes&&this.setAttributes({html:g,element:c,intent:l,linkService:e});const b=[[c,-1,g]],_=u.div;if(_.append(g),u.viewport){const y=`matrix(${u.viewport.transform.join(",")})`;_.style.transform=y}"richText"!==l&&_.setAttribute("class","xfaLayer xfaFont");const S=[];for(;b.length>0;){const[y,m,h]=b.at(-1);if(m+1===y.children.length){b.pop();continue}const C=y.children[++b.at(-1)[1]];if(null===C)continue;const{name:v}=C;if("#text"===v){const E=document.createTextNode(C.value);S.push(E),h.append(E);continue}let M;if(M=C?.attributes?.xmlns?document.createElementNS(C.attributes.xmlns,v):document.createElement(v),h.append(M),C.attributes&&this.setAttributes({html:M,element:C,storage:a,intent:l,linkService:e}),C.children&&C.children.length>0)b.push([C,-1,M]);else if(C.value){const E=document.createTextNode(C.value);n.XfaText.shouldBuildText(v)&&S.push(E),M.append(E)}}for(const y of _.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))y.setAttribute("readOnly",!0);return{textDivs:S}}static update(u){const a=`matrix(${u.viewport.transform.join(",")})`;u.div.style.transform=a,u.div.hidden=!1}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.TextLayerRenderTask=void 0,f.renderTextLayer=function C(v){const M=new h({textContent:v.textContent,textContentStream:v.textContentStream,container:v.container,viewport:v.viewport,textDivs:v.textDivs,textContentItemsStr:v.textContentItemsStr,enhanceTextSelection:v.enhanceTextSelection});return M._render(v.timeout),M};var n=o(1),i=o(8);const u=30,e=new Map,c=/^\s+$/g;function g(v,M,E,A){const T=document.createElement("span"),R=v._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,fontSize:0};v._textDivs.push(T);const N=n.Util.transform(v._viewport.transform,M.transform);let I=Math.atan2(N[1],N[0]);const L=E[M.fontName];L.vertical&&(I+=Math.PI/2);const O=Math.hypot(N[2],N[3]),z=O*function l(v,M){const E=e.get(v);if(E)return E;M.save(),M.font=`30px ${v}`;const A=M.measureText("");let T=A.fontBoundingBoxAscent,R=Math.abs(A.fontBoundingBoxDescent);if(T){M.restore();const I=T/(T+R);return e.set(v,I),I}M.strokeStyle="red",M.clearRect(0,0,u,u),M.strokeText("g",0,0);let N=M.getImageData(0,0,u,u).data;R=0;for(let I=N.length-1-3;I>=0;I-=4)if(N[I]>0){R=Math.ceil(I/4/u);break}M.clearRect(0,0,u,u),M.strokeText("A",0,u),N=M.getImageData(0,0,u,u).data,T=0;for(let I=0,L=N.length;I0){T=u-Math.floor(I/4/u);break}if(M.restore(),T){const I=T/(T+R);return e.set(v,I),I}return e.set(v,.8),.8}(L.fontFamily,A);let F,q;0===I?(F=N[4],q=N[5]-z):(F=N[4]+z*Math.sin(I),q=N[5]-z*Math.cos(I)),T.style.left=`${F}px`,T.style.top=`${q}px`,T.style.fontSize=`${O}px`,T.style.fontFamily=L.fontFamily,R.fontSize=O,T.setAttribute("role","presentation"),T.textContent=M.str,T.dir=M.dir,v._fontInspectorEnabled&&(T.dataset.fontName=M.fontName),0!==I&&(R.angle=I*(180/Math.PI));let X=!1;if(M.str.length>1||v._enhanceTextSelection&&c.test(M.str))X=!0;else if(" "!==M.str&&M.transform[0]!==M.transform[3]){const ce=Math.abs(M.transform[0]),K=Math.abs(M.transform[3]);ce!==K&&Math.max(ce,K)/Math.min(ce,K)>1.5&&(X=!0)}if(X&&(R.canvasWidth=L.vertical?M.height*v._viewport.scale:M.width*v._viewport.scale),v._textDivProperties.set(T,R),v._textContentStream&&v._layoutText(T),v._enhanceTextSelection&&R.hasText){let ce=1,K=0;0!==I&&(ce=Math.cos(I),K=Math.sin(I));const ne=(L.vertical?M.height:M.width)*v._viewport.scale,Y=O;let H,ae;0!==I?(H=[ce,K,-K,ce,F,q],ae=n.Util.getAxialAlignedBoundingBox([0,0,ne,Y],H)):ae=[F,q,F+ne,q+Y],v._bounds.push({left:ae[0],top:ae[1],right:ae[2],bottom:ae[3],div:T,size:[ne,Y],m:H})}}function b(v){if(v._canceled)return;const M=v._textDivs,E=v._capability,A=M.length;if(A>1e5)return v._renderingDone=!0,void E.resolve();if(!v._textContentStream)for(let T=0;T0&&(A=A?Math.min(R,A):R)}return A}function m(v,M){M.sort(function(T,R){return T.x1-R.x1||T.index-R.index});const A=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const T of M){let R=0;for(;R=0&&A[N].start>=T.y2;)N--;let I,L,O,z,F=-1/0;for(O=R;O<=N;O++){let ce;I=A[O],L=I.boundary,ce=L.x2>T.x1?L.index>T.index?L.x1New:T.x1:void 0===L.x2New?(L.x2+T.x1)/2:L.x2New,ce>F&&(F=ce)}for(T.x1New=F,O=R;O<=N;O++)I=A[O],L=I.boundary,void 0===L.x2New?L.x2>T.x1?L.index>T.index&&(L.x2New=L.x2):L.x2New=F:L.x2New>F&&(L.x2New=Math.max(F,L.x2));const q=[];let X=null;for(O=R;O<=N;O++){I=A[O],L=I.boundary;const ce=L.x2>T.x2?L:T;X===ce?q.at(-1).end=I.end:(q.push({start:I.start,end:I.end,boundary:ce}),X=ce)}for(A[R].start=0&&A[z].start>=L.y1;z--)ce=A[z].boundary===L;for(z=N+1;!ce&&z{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(M,E){for(let A=0,T=M.length;A0){const I=this._devicePixelRatio*E.canvasWidth/N;this._enhanceTextSelection&&(E.scale=I),A=`scaleX(${I})`}}if(0!==E.angle&&(A=`rotate(${E.angle}deg) ${A}`),A.length>0&&(this._enhanceTextSelection&&(E.originalTransform=A),M.style.transform=A),E.hasText&&this._container.append(M),E.hasEOL){const T=document.createElement("br");T.setAttribute("role","presentation"),this._container.append(T)}}_render(M=0){const E=(0,n.createPromiseCapability)();let A=Object.create(null);const T=this._document.createElement("canvas");if(T.height=T.width=u,this._layoutTextCtx=T.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),E.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const R=()=>{this._reader.read().then(({value:N,done:I})=>{I?E.resolve():(Object.assign(A,N.styles),this._processItems(N.items,A),R())},E.reject)};this._reader=this._textContentStream.getReader(),R()}}E.promise.then(()=>{A=null,M?this._renderTimer=setTimeout(()=>{b(this),this._renderTimer=null},M):b(this)},this._capability.reject)}expandTextDivs(M=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function S(v){const M=v._bounds,E=v._viewport,A=function y(v,M,E){const A=E.map(function(R,N){return{x1:R.left,y1:R.top,x2:R.right,y2:R.bottom,index:N,x1New:void 0,x2New:void 0}});m(v,A);const T=new Array(E.length);for(const R of A)T[R.index]={left:R.x1New,top:0,right:R.x2New,bottom:0};E.map(function(R,N){const I=T[N],L=A[N];L.x1=R.top,L.y1=v-I.right,L.x2=R.bottom,L.y2=v-I.left,L.index=N,L.x1New=void 0,L.x2New=void 0}),m(M,A);for(const R of A){const N=R.index;T[N].top=R.x1New,T[N].bottom=R.x2New}return T}(E.width,E.height,M);for(let T=0;T0?(A.push(`${I.paddingTop}px`),E.push(`translateY(${-I.paddingTop}px)`)):A.push(0),A.push(I.paddingRight>0?I.paddingRight/I.scale+"px":0),A.push(I.paddingBottom>0?`${I.paddingBottom}px`:0),I.paddingLeft>0?(A.push(I.paddingLeft/I.scale+"px"),E.push(`translateX(${-I.paddingLeft/I.scale}px)`)):A.push(0),N.style.padding=A.join(" "),E.length&&(N.style.transform=E.join(" "))):(N.style.padding=null,N.style.transform=I.originalTransform))}}}f.TextLayerRenderTask=h},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.SVGGraphics=void 0;var n=o(8),i=o(1),d=o(3);let u=class{constructor(){(0,i.unreachable)("Not implemented: SVGGraphics")}};f.SVGGraphics=u;{let y=function(E){let A=[];const T=[];for(const R of E)"save"!==R.fn?"restore"===R.fn?A=T.pop():A.push(R):(A.push({fnId:92,fn:"group",items:[]}),T.push(A),A=A.at(-1).items);return A},m=function(E){if(Number.isInteger(E))return E.toString();const A=E.toFixed(10);let T=A.length-1;if("0"!==A[T])return A;do{T--}while("0"===A[T]);return A.substring(0,"."===A[T]?T:T+1)},h=function(E){if(0===E[4]&&0===E[5]){if(0===E[1]&&0===E[2])return 1===E[0]&&1===E[3]?"":`scale(${m(E[0])} ${m(E[3])})`;if(E[0]===E[3]&&E[1]===-E[2]){const A=180*Math.acos(E[0])/Math.PI;return`rotate(${m(A)})`}}else if(1===E[0]&&0===E[1]&&0===E[2]&&1===E[3])return`translate(${m(E[4])} ${m(E[5])})`;return`matrix(${m(E[0])} ${m(E[1])} ${m(E[2])} ${m(E[3])} ${m(E[4])} ${m(E[5])})`};const a={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},e="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/1999/xlink",l=["butt","round","square"],g=["miter","round","bevel"],b=function(E,A="",T=!1){if(URL.createObjectURL&&typeof Blob<"u"&&!T)return URL.createObjectURL(new Blob([E],{type:A}));const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let N=`data:${A};base64,`;for(let I=0,L=E.length;I>2]+R[(3&O)<<4|z>>4]+R[I+1>6:64]+R[I+2>1&2147483647:q>>1&2147483647;T[F]=q}function N(F,q,X,ce){let K=ce;const ne=q.length;X[K]=ne>>24&255,X[K+1]=ne>>16&255,X[K+2]=ne>>8&255,X[K+3]=255&ne,K+=4,X[K]=255&F.charCodeAt(0),X[K+1]=255&F.charCodeAt(1),X[K+2]=255&F.charCodeAt(2),X[K+3]=255&F.charCodeAt(3),K+=4,X.set(q,K),K+=q.length;const Y=function R(F,q,X){let ce=-1;for(let K=q;K>>8^T[255&(ce^F[K])];return-1^ce}(X,ce+4,K);X[K]=Y>>24&255,X[K+1]=Y>>16&255,X[K+2]=Y>>8&255,X[K+3]=255&Y}function O(F){let q=F.length;const X=65535,ce=Math.ceil(q/X),K=new Uint8Array(2+q+5*ce+4);let ne=0;K[ne++]=120,K[ne++]=156;let Y=0;for(;q>X;)K[ne++]=0,K[ne++]=255,K[ne++]=255,K[ne++]=0,K[ne++]=0,K.set(F.subarray(Y,Y+X),ne),ne+=X,Y+=X,q-=X;K[ne++]=1,K[ne++]=255&q,K[ne++]=q>>8&255,K[ne++]=255&~q,K[ne++]=(65535&~q)>>8&255,K.set(F.subarray(Y),ne),ne+=F.length-Y;const H=function I(F,q,X){let ce=1,K=0;for(let ne=q;ne>24&255,K[ne++]=H>>16&255,K[ne++]=H>>8&255,K[ne++]=255&H,K}return function(q,X,ce){return function z(F,q,X,ce){const K=F.width,ne=F.height;let Y,H,ae;const re=F.data;switch(q){case i.ImageKind.GRAYSCALE_1BPP:H=0,Y=1,ae=K+7>>3;break;case i.ImageKind.RGB_24BPP:H=2,Y=8,ae=3*K;break;case i.ImageKind.RGBA_32BPP:H=6,Y=8,ae=4*K;break;default:throw new Error("invalid format")}const W=new Uint8Array((1+ae)*ne);let ee=0,J=0;for(let le=0;le>24&255,K>>16&255,K>>8&255,255&K,ne>>24&255,ne>>16&255,ne>>8&255,255&ne,Y,H,0,0,0]),de=function L(F){if(!d.isNodeJS)return O(F);try{let q;q=parseInt(process.versions.node)>=8?F:Buffer.from(F);const X=__webpack_require__(8160).deflateSync(q,{level:9});return X instanceof Uint8Array?X:new Uint8Array(X)}catch(q){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+q)}return O(F)}(W),Ae=new Uint8Array(E.length+36+G.length+de.length);let ye=0;return Ae.set(E,ye),ye+=E.length,N("IHDR",G,Ae,ye),ye+=12+G.length,N("IDATA",de,Ae,ye),ye+=12+de.length,N("IEND",new Uint8Array(0),Ae,ye),b(Ae,"image/png",X)}(q,void 0===q.kind?i.ImageKind.GRAYSCALE_1BPP:q.kind,X,ce)}}();class S{constructor(){this.fontSizeScale=1,this.fontWeight=a.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=a.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(A,T){this.x=A,this.y=T}}let C=0,v=0,M=0;f.SVGGraphics=u=class{constructor(E,A,T=!1){(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=new S,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=E,this.objs=A,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!T,this._operatorIdMapping=[];for(const R in i.OPS)this._operatorIdMapping[i.OPS[R]]=R}save(){this.transformStack.push(this.transformMatrix);const E=this.current;this.extraStack.push(E),this.current=E.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(E){this.save(),this.executeOpTree(E),this.restore()}loadDependencies(E){const A=E.fnArray,T=E.argsArray;for(let R=0,N=A.length;R{L.get(I,z)});this.current.dependencies.push(O)}return Promise.all(this.current.dependencies)}transform(E,A,T,R,N,I){this.transformMatrix=i.Util.transform(this.transformMatrix,[E,A,T,R,N,I]),this.tgrp=null}getSVG(E,A){this.viewport=A;const T=this._initialize(A);return this.loadDependencies(E).then(()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(E)),T))}convertOpList(E){const A=this._operatorIdMapping,T=E.argsArray,R=E.fnArray,N=[];for(let I=0,L=R.length;I0&&(this.current.lineWidth=E)}setLineCap(E){this.current.lineCap=l[E]}setLineJoin(E){this.current.lineJoin=g[E]}setMiterLimit(E){this.current.miterLimit=E}setStrokeAlpha(E){this.current.strokeAlpha=E}setStrokeRGBColor(E,A,T){this.current.strokeColor=i.Util.makeHexColor(E,A,T)}setFillAlpha(E){this.current.fillAlpha=E}setFillRGBColor(E,A,T){this.current.fillColor=i.Util.makeHexColor(E,A,T),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(E){this.current.strokeColor=this._makeColorN_Pattern(E)}setFillColorN(E){this.current.fillColor=this._makeColorN_Pattern(E)}shadingFill(E){const A=this.viewport.width,T=this.viewport.height,R=i.Util.inverseTransform(this.transformMatrix),N=i.Util.applyTransform([0,0],R),I=i.Util.applyTransform([0,T],R),L=i.Util.applyTransform([A,0],R),O=i.Util.applyTransform([A,T],R),z=Math.min(N[0],I[0],L[0],O[0]),F=Math.min(N[1],I[1],L[1],O[1]),q=Math.max(N[0],I[0],L[0],O[0]),X=Math.max(N[1],I[1],L[1],O[1]),ce=this.svgFactory.createElement("svg:rect");ce.setAttributeNS(null,"x",z),ce.setAttributeNS(null,"y",F),ce.setAttributeNS(null,"width",q-z),ce.setAttributeNS(null,"height",X-F),ce.setAttributeNS(null,"fill",this._makeShadingPattern(E)),this.current.fillAlpha<1&&ce.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(ce)}_makeColorN_Pattern(E){return"TilingPattern"===E[0]?this._makeTilingPattern(E):this._makeShadingPattern(E)}_makeTilingPattern(E){const A=E[1],T=E[2],R=E[3]||i.IDENTITY_MATRIX,[N,I,L,O]=E[4],z=E[5],F=E[6],q=E[7],X="shading"+M++,[ce,K,ne,Y]=i.Util.normalizeRect([...i.Util.applyTransform([N,I],R),...i.Util.applyTransform([L,O],R)]),[H,ae]=i.Util.singularValueDecompose2dScale(R),re=z*H,W=F*ae,ee=this.svgFactory.createElement("svg:pattern");ee.setAttributeNS(null,"id",X),ee.setAttributeNS(null,"patternUnits","userSpaceOnUse"),ee.setAttributeNS(null,"width",re),ee.setAttributeNS(null,"height",W),ee.setAttributeNS(null,"x",`${ce}`),ee.setAttributeNS(null,"y",`${K}`);const J=this.svg,G=this.transformMatrix,de=this.current.fillColor,be=this.current.strokeColor,Ae=this.svgFactory.create(ne-ce,Y-K);if(this.svg=Ae,this.transformMatrix=R,2===q){const ye=i.Util.makeHexColor(...A);this.current.fillColor=ye,this.current.strokeColor=ye}return this.executeOpTree(this.convertOpList(T)),this.svg=J,this.transformMatrix=G,this.current.fillColor=de,this.current.strokeColor=be,ee.append(Ae.childNodes[0]),this.defs.append(ee),`url(#${X})`}_makeShadingPattern(E){switch("string"==typeof E&&(E=this.objs.get(E)),E[0]){case"RadialAxial":const A="shading"+M++,T=E[3];let R;switch(E[1]){case"axial":const N=E[4],I=E[5];R=this.svgFactory.createElement("svg:linearGradient"),R.setAttributeNS(null,"id",A),R.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),R.setAttributeNS(null,"x1",N[0]),R.setAttributeNS(null,"y1",N[1]),R.setAttributeNS(null,"x2",I[0]),R.setAttributeNS(null,"y2",I[1]);break;case"radial":const L=E[4],O=E[5],z=E[6],F=E[7];R=this.svgFactory.createElement("svg:radialGradient"),R.setAttributeNS(null,"id",A),R.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),R.setAttributeNS(null,"cx",O[0]),R.setAttributeNS(null,"cy",O[1]),R.setAttributeNS(null,"r",F),R.setAttributeNS(null,"fx",L[0]),R.setAttributeNS(null,"fy",L[1]),R.setAttributeNS(null,"fr",z);break;default:throw new Error(`Unknown RadialAxial type: ${E[1]}`)}for(const N of T){const I=this.svgFactory.createElement("svg:stop");I.setAttributeNS(null,"offset",N[0]),I.setAttributeNS(null,"stop-color",N[1]),R.append(I)}return this.defs.append(R),`url(#${A})`;case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${E[0]}`)}}setDash(E,A){this.current.dashArray=E,this.current.dashPhase=A}constructPath(E,A){const T=this.current;let R=T.x,N=T.y,I=[],L=0;for(const O of E)switch(0|O){case i.OPS.rectangle:R=A[L++],N=A[L++];const q=R+A[L++],X=N+A[L++];I.push("M",m(R),m(N),"L",m(q),m(N),"L",m(q),m(X),"L",m(R),m(X),"Z");break;case i.OPS.moveTo:R=A[L++],N=A[L++],I.push("M",m(R),m(N));break;case i.OPS.lineTo:R=A[L++],N=A[L++],I.push("L",m(R),m(N));break;case i.OPS.curveTo:R=A[L+4],N=A[L+5],I.push("C",m(A[L]),m(A[L+1]),m(A[L+2]),m(A[L+3]),m(R),m(N)),L+=6;break;case i.OPS.curveTo2:I.push("C",m(R),m(N),m(A[L]),m(A[L+1]),m(A[L+2]),m(A[L+3])),R=A[L+2],N=A[L+3],L+=4;break;case i.OPS.curveTo3:R=A[L+2],N=A[L+3],I.push("C",m(A[L]),m(A[L+1]),m(R),m(N),m(R),m(N)),L+=4;break;case i.OPS.closePath:I.push("Z")}I=I.join(" "),T.path&&E.length>0&&E[0]!==i.OPS.rectangle&&E[0]!==i.OPS.moveTo?I=T.path.getAttributeNS(null,"d")+I:(T.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(T.path)),T.path.setAttributeNS(null,"d",I),T.path.setAttributeNS(null,"fill","none"),T.element=T.path,T.setCurrentPoint(R,N)}endPath(){const E=this.current;if(E.path=null,!this.pendingClip)return;if(!E.element)return void(this.pendingClip=null);const A="clippath"+C++,T=this.svgFactory.createElement("svg:clipPath");T.setAttributeNS(null,"id",A),T.setAttributeNS(null,"transform",h(this.transformMatrix));const R=E.element.cloneNode(!0);if(R.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,T.append(R),this.defs.append(T),E.activeClipUrl){E.clipGroup=null;for(const N of this.extraStack)N.clipGroup=null;T.setAttributeNS(null,"clip-path",E.activeClipUrl)}E.activeClipUrl=`url(#${A})`,this.tgrp=null}clip(E){this.pendingClip=E}closePath(){const E=this.current;if(E.path){const A=`${E.path.getAttributeNS(null,"d")}Z`;E.path.setAttributeNS(null,"d",A)}}setLeading(E){this.current.leading=-E}setTextRise(E){this.current.textRise=E}setTextRenderingMode(E){this.current.textRenderingMode=E}setHScale(E){this.current.textHScale=E/100}setRenderingIntent(E){}setFlatness(E){}setGState(E){for(const[A,T]of E)switch(A){case"LW":this.setLineWidth(T);break;case"LC":this.setLineCap(T);break;case"LJ":this.setLineJoin(T);break;case"ML":this.setMiterLimit(T);break;case"D":this.setDash(T[0],T[1]);break;case"RI":this.setRenderingIntent(T);break;case"FL":this.setFlatness(T);break;case"Font":this.setFont(T);break;case"CA":this.setStrokeAlpha(T);break;case"ca":this.setFillAlpha(T);break;default:(0,i.warn)(`Unimplemented graphic state operator ${A}`)}}fill(){const E=this.current;E.element&&(E.element.setAttributeNS(null,"fill",E.fillColor),E.element.setAttributeNS(null,"fill-opacity",E.fillAlpha),this.endPath())}stroke(){const E=this.current;E.element&&(this._setStrokeAttributes(E.element),E.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(E,A=1){const T=this.current;let R=T.dashArray;1!==A&&R.length>0&&(R=R.map(function(N){return A*N})),E.setAttributeNS(null,"stroke",T.strokeColor),E.setAttributeNS(null,"stroke-opacity",T.strokeAlpha),E.setAttributeNS(null,"stroke-miterlimit",m(T.miterLimit)),E.setAttributeNS(null,"stroke-linecap",T.lineCap),E.setAttributeNS(null,"stroke-linejoin",T.lineJoin),E.setAttributeNS(null,"stroke-width",m(A*T.lineWidth)+"px"),E.setAttributeNS(null,"stroke-dasharray",R.map(m).join(" ")),E.setAttributeNS(null,"stroke-dashoffset",m(A*T.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const E=this.svgFactory.createElement("svg:rect");E.setAttributeNS(null,"x","0"),E.setAttributeNS(null,"y","0"),E.setAttributeNS(null,"width","1px"),E.setAttributeNS(null,"height","1px"),E.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(E)}paintImageXObject(E){const A=E.startsWith("g_")?this.commonObjs.get(E):this.objs.get(E);A?this.paintInlineImageXObject(A):(0,i.warn)(`Dependent image with object ID ${E} is not ready yet`)}paintInlineImageXObject(E,A){const T=E.width,R=E.height,N=_(E,this.forceDataSchema,!!A),I=this.svgFactory.createElement("svg:rect");I.setAttributeNS(null,"x","0"),I.setAttributeNS(null,"y","0"),I.setAttributeNS(null,"width",m(T)),I.setAttributeNS(null,"height",m(R)),this.current.element=I,this.clip("nonzero");const L=this.svgFactory.createElement("svg:image");L.setAttributeNS(c,"xlink:href",N),L.setAttributeNS(null,"x","0"),L.setAttributeNS(null,"y",m(-R)),L.setAttributeNS(null,"width",m(T)+"px"),L.setAttributeNS(null,"height",m(R)+"px"),L.setAttributeNS(null,"transform",`scale(${m(1/T)} ${m(-1/R)})`),A?A.append(L):this._ensureTransformGroup().append(L)}paintImageMaskXObject(E){const A=this.current,T=E.width,R=E.height,N=A.fillColor;A.maskId="mask"+v++;const I=this.svgFactory.createElement("svg:mask");I.setAttributeNS(null,"id",A.maskId);const L=this.svgFactory.createElement("svg:rect");L.setAttributeNS(null,"x","0"),L.setAttributeNS(null,"y","0"),L.setAttributeNS(null,"width",m(T)),L.setAttributeNS(null,"height",m(R)),L.setAttributeNS(null,"fill",N),L.setAttributeNS(null,"mask",`url(#${A.maskId})`),this.defs.append(I),this._ensureTransformGroup().append(L),this.paintInlineImageXObject(E,I)}paintFormXObjectBegin(E,A){if(Array.isArray(E)&&6===E.length&&this.transform(E[0],E[1],E[2],E[3],E[4],E[5]),A){const T=A[2]-A[0],R=A[3]-A[1],N=this.svgFactory.createElement("svg:rect");N.setAttributeNS(null,"x",A[0]),N.setAttributeNS(null,"y",A[1]),N.setAttributeNS(null,"width",m(T)),N.setAttributeNS(null,"height",m(R)),this.current.element=N,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(E){const A=this.svgFactory.create(E.width,E.height),T=this.svgFactory.createElement("svg:defs");A.append(T),this.defs=T;const R=this.svgFactory.createElement("svg:g");return R.setAttributeNS(null,"transform",h(E.transform)),A.append(R),this.svg=R,A}_ensureClipGroup(){if(!this.current.clipGroup){const E=this.svgFactory.createElement("svg:g");E.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(E),this.current.clipGroup=E}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",h(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFNodeStream=void 0;var n=o(1),i=o(33);const d=__webpack_require__(45344),u=__webpack_require__(10440),a=__webpack_require__(22224),e=__webpack_require__(65724),c=/^file:\/\/\/[a-zA-Z]:\//;f.PDFNodeStream=class g{constructor(M){this.source=M,this.url=function l(v){const M=e.parse(v);return"file:"===M.protocol||M.host?M:/^[a-z]:[/\\]/i.test(v)?e.parse(`file:///${v}`):(M.host||(M.protocol="file:"),M)}(M.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&M.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new h(this):new y(this),this._fullRequestReader}getRangeReader(M,E){if(E<=this._progressiveDataLength)return null;const A=this.isFsUrl?new C(this,M,E):new m(this,M,E);return this._rangeRequestReaders.push(A),A}cancelAllRequests(M){this._fullRequestReader&&this._fullRequestReader.cancel(M);for(const E of this._rangeRequestReaders.slice(0))E.cancel(M)}};class b{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null;const E=M.source;this._contentLength=E.length,this._loaded=0,this._filename=null,this._disableRange=E.disableRange||!1,this._rangeChunkSize=E.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!E.disableStream,this._isRangeSupported=!E.disableRange,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._headersCapability=(0,n.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const E=M._readableStream.read();return null===E?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=E.length,M.onProgress&&M.onProgress({loaded:M._loaded,total:M._contentLength}),{value:new Uint8Array(E).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",E=>{this._error(E)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class _{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!M.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const E=M._readableStream.read();return null===E?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=E.length,M.onProgress&&M.onProgress({loaded:M._loaded}),{value:new Uint8Array(E).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",E=>{this._error(E)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function S(v,M){return{protocol:v.protocol,auth:v.auth,host:v.hostname,port:v.port,path:v.path,method:"GET",headers:M}}class y extends b{constructor(M){super(M);const E=A=>{if(404===A.statusCode){const I=new n.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=I,void this._headersCapability.reject(I)}this._headersCapability.resolve(),this._setReadableStream(A);const T=I=>this._readableStream.headers[I.toLowerCase()],{allowRangeRequests:R,suggestedLength:N}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:T,isHttp:M.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=R,this._contentLength=N||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(T)};this._request=null,this._request="http:"===this._url.protocol?u.request(S(this._url,M.httpHeaders),E):a.request(S(this._url,M.httpHeaders),E),this._request.on("error",A=>{this._storedError=A,this._headersCapability.reject(A)}),this._request.end()}}class m extends _{constructor(M,E,A){super(M),this._httpHeaders={};for(const R in M.httpHeaders){const N=M.httpHeaders[R];typeof N>"u"||(this._httpHeaders[R]=N)}this._httpHeaders.Range=`bytes=${E}-${A-1}`;const T=R=>{if(404!==R.statusCode)this._setReadableStream(R);else{const N=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=N}};this._request=null,this._request="http:"===this._url.protocol?u.request(S(this._url,this._httpHeaders),T):a.request(S(this._url,this._httpHeaders),T),this._request.on("error",R=>{this._storedError=R}),this._request.end()}}class h extends b{constructor(M){super(M);let E=decodeURIComponent(this._url.path);c.test(this._url.href)&&(E=E.replace(/^\//,"")),d.lstat(E,(A,T)=>{if(A)return"ENOENT"===A.code&&(A=new n.MissingPDFException(`Missing PDF "${E}".`)),this._storedError=A,void this._headersCapability.reject(A);this._contentLength=T.size,this._setReadableStream(d.createReadStream(E)),this._headersCapability.resolve()})}}class C extends _{constructor(M,E,A){super(M);let T=decodeURIComponent(this._url.path);c.test(this._url.href)&&(T=T.replace(/^\//,"")),this._setReadableStream(d.createReadStream(T,{start:E,end:A-1}))}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.createResponseStatusError=function e(l,g){return 404===l||0===l&&g.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+g+'".'):new n.UnexpectedResponseException(`Unexpected server response (${l}) while retrieving PDF "${g}".`,l)},f.extractFilenameFromHeader=function a(l){const g=l("Content-Disposition");if(g){let b=(0,i.getFilenameFromContentDispositionHeader)(g);if(b.includes("%"))try{b=decodeURIComponent(b)}catch{}if((0,d.isPdfFile)(b))return b}return null},f.validateRangeRequestCapabilities=function u({getResponseHeader:l,isHttp:g,rangeChunkSize:b,disableRange:_}){const S={allowRangeRequests:!1,suggestedLength:void 0},y=parseInt(l("Content-Length"),10);return!Number.isInteger(y)||(S.suggestedLength=y,y<=2*b)||_||!g||"bytes"!==l("Accept-Ranges")||"identity"!==(l("Content-Encoding")||"identity")||(S.allowRangeRequests=!0),S},f.validateResponseStatus=function c(l){return 200===l||206===l};var n=o(1),i=o(34),d=o(8)},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.getFilenameFromContentDispositionHeader=function i(d){let u=!0,a=e("filename\\*","i").exec(d);if(a){a=a[1];let y=b(a);return y=unescape(y),y=_(y),y=S(y),l(y)}if(a=function g(y){const m=[];let h;const C=e("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(h=C.exec(y));){let[,M,E,A]=h;if(M=parseInt(M,10),M in m){if(0===M)break}else m[M]=[E,A]}const v=[];for(let M=0;M{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFNetworkStream=void 0;var n=o(1),i=o(33);class e{constructor(_,S={}){this.url=_,this.isHttp=/^https?:/i.test(_),this.httpHeaders=this.isHttp&&S.httpHeaders||Object.create(null),this.withCredentials=S.withCredentials||!1,this.getXhr=S.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(_,S,y){const m={begin:_,end:S};for(const h in y)m[h]=y[h];return this.request(m)}requestFull(_){return this.request(_)}request(_){const S=this.getXhr(),y=this.currXhrId++,m=this.pendingRequests[y]={xhr:S};S.open("GET",this.url),S.withCredentials=this.withCredentials;for(const h in this.httpHeaders){const C=this.httpHeaders[h];typeof C>"u"||S.setRequestHeader(h,C)}return this.isHttp&&"begin"in _&&"end"in _?(S.setRequestHeader("Range",`bytes=${_.begin}-${_.end-1}`),m.expectedStatus=206):m.expectedStatus=200,S.responseType="arraybuffer",_.onError&&(S.onerror=function(h){_.onError(S.status)}),S.onreadystatechange=this.onStateChange.bind(this,y),S.onprogress=this.onProgress.bind(this,y),m.onHeadersReceived=_.onHeadersReceived,m.onDone=_.onDone,m.onError=_.onError,m.onProgress=_.onProgress,S.send(null),y}onProgress(_,S){const y=this.pendingRequests[_];y&&y.onProgress?.(S)}onStateChange(_,S){const y=this.pendingRequests[_];if(!y)return;const m=y.xhr;if(m.readyState>=2&&y.onHeadersReceived&&(y.onHeadersReceived(),delete y.onHeadersReceived),4!==m.readyState||!(_ in this.pendingRequests))return;if(delete this.pendingRequests[_],0===m.status&&this.isHttp)return void y.onError?.(m.status);const h=m.status||200;if((200!==h||206!==y.expectedStatus)&&h!==y.expectedStatus)return void y.onError?.(m.status);const v=function a(b){const _=b.response;return"string"!=typeof _?_:(0,n.stringToBytes)(_).buffer}(m);if(206===h){const M=m.getResponseHeader("Content-Range"),E=/bytes (\d+)-(\d+)\/(\d+)/.exec(M);y.onDone({begin:parseInt(E[1],10),chunk:v})}else v?y.onDone({begin:0,chunk:v}):y.onError?.(m.status)}getRequestXhr(_){return this.pendingRequests[_].xhr}isPendingRequest(_){return _ in this.pendingRequests}abortRequest(_){const S=this.pendingRequests[_].xhr;delete this.pendingRequests[_],S.abort()}}f.PDFNetworkStream=class c{constructor(_){this._source=_,this._manager=new e(_.url,{httpHeaders:_.httpHeaders,withCredentials:_.withCredentials}),this._rangeChunkSize=_.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(_){const S=this._rangeRequestReaders.indexOf(_);S>=0&&this._rangeRequestReaders.splice(S,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new l(this._manager,this._source),this._fullRequestReader}getRangeReader(_,S){const y=new g(this._manager,_,S);return y.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(y),y}cancelAllRequests(_){this._fullRequestReader?.cancel(_);for(const S of this._rangeRequestReaders.slice(0))S.cancel(_)}};class l{constructor(_,S){this._manager=_;const y={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=S.url,this._fullRequestId=_.requestFull(y),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=S.disableRange||!1,this._contentLength=S.length,this._rangeChunkSize=S.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const _=this._fullRequestId,S=this._manager.getRequestXhr(_),y=C=>S.getResponseHeader(C),{allowRangeRequests:m,suggestedLength:h}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:y,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});m&&(this._isRangeSupported=!0),this._contentLength=h||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(y),this._isRangeSupported&&this._manager.abortRequest(_),this._headersReceivedCapability.resolve()}_onDone(_){if(_&&(this._requests.length>0?this._requests.shift().resolve({value:_.chunk,done:!1}):this._cachedChunks.push(_.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(_){this._storedError=(0,i.createResponseStatusError)(_,this._url),this._headersReceivedCapability.reject(this._storedError);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(_){this.onProgress?.({loaded:_.loaded,total:_.lengthComputable?_.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var _=this;return _asyncToGenerator(function*(){if(_._storedError)throw _._storedError;if(_._cachedChunks.length>0)return{value:_._cachedChunks.shift(),done:!1};if(_._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return _._requests.push(S),S.promise})()}cancel(_){this._done=!0,this._headersReceivedCapability.reject(_);for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class g{constructor(_,S,y){this._manager=_;const m={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=_.url,this._requestId=_.requestRange(S,y,m),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(_){const S=_.chunk;this._requests.length>0?this._requests.shift().resolve({value:S,done:!1}):this._queuedChunk=S,this._done=!0;for(const y of this._requests)y.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(_){this._storedError=(0,i.createResponseStatusError)(_,this._url);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(_){this.isStreamingSupported||this.onProgress?.({loaded:_.loaded})}get isStreamingSupported(){return!1}read(){var _=this;return _asyncToGenerator(function*(){if(_._storedError)throw _._storedError;if(null!==_._queuedChunk){const y=_._queuedChunk;return _._queuedChunk=null,{value:y,done:!1}}if(_._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return _._requests.push(S),S.promise})()}cancel(_){this._done=!0;for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(ve,f,o)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.PDFFetchStream=void 0;var n=o(1),i=o(33);function d(l,g,b){return{method:"GET",headers:l,signal:b.signal,mode:"cors",credentials:g?"include":"same-origin",redirect:"follow"}}function u(l){const g=new Headers;for(const b in l){const _=l[b];typeof _>"u"||g.append(b,_)}return g}f.PDFFetchStream=class a{constructor(g){this.source=g,this.isHttp=/^https?:/i.test(g.url),this.httpHeaders=this.isHttp&&g.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new e(this),this._fullRequestReader}getRangeReader(g,b){if(b<=this._progressiveDataLength)return null;const _=new c(this,g,b);return this._rangeRequestReaders.push(_),_}cancelAllRequests(g){this._fullRequestReader&&this._fullRequestReader.cancel(g);for(const b of this._rangeRequestReaders.slice(0))b.cancel(g)}};class e{constructor(g){this._stream=g,this._reader=null,this._loaded=0,this._filename=null;const b=g.source;this._withCredentials=b.withCredentials||!1,this._contentLength=b.length,this._headersCapability=(0,n.createPromiseCapability)(),this._disableRange=b.disableRange||!1,this._rangeChunkSize=b.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!b.disableStream,this._isRangeSupported=!b.disableRange,this._headers=u(this._stream.httpHeaders);const _=b.url;fetch(_,d(this._headers,this._withCredentials,this._abortController)).then(S=>{if(!(0,i.validateResponseStatus)(S.status))throw(0,i.createResponseStatusError)(S.status,_);this._reader=S.body.getReader(),this._headersCapability.resolve();const y=C=>S.headers.get(C),{allowRangeRequests:m,suggestedLength:h}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:y,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=m,this._contentLength=h||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(y),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._headersCapability.promise;const{value:b,done:_}=yield g._reader.read();return _?{value:b,done:_}:(g._loaded+=b.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded,total:g._contentLength}),{value:new Uint8Array(b).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}class c{constructor(g,b,_){this._stream=g,this._reader=null,this._loaded=0;const S=g.source;this._withCredentials=S.withCredentials||!1,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!S.disableStream,this._abortController=new AbortController,this._headers=u(this._stream.httpHeaders),this._headers.append("Range",`bytes=${b}-${_-1}`);const y=S.url;fetch(y,d(this._headers,this._withCredentials,this._abortController)).then(m=>{if(!(0,i.validateResponseStatus)(m.status))throw(0,i.createResponseStatusError)(m.status,y);this._readCapability.resolve(),this._reader=m.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._readCapability.promise;const{value:b,done:_}=yield g._reader.read();return _?{value:b,done:_}:(g._loaded+=b.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded}),{value:new Uint8Array(b).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(ve){var f=__webpack_module_cache__[ve];if(void 0!==f)return f.exports;var o=__webpack_module_cache__[ve]={exports:{}};return __webpack_modules__[ve](o,o.exports,__w_pdfjs_require__),o.exports}var __nested_webpack_exports__={};return(()=>{var ve=__nested_webpack_exports__;Object.defineProperty(ve,"__esModule",{value:!0}),Object.defineProperty(ve,"AnnotationEditorLayer",{enumerable:!0,get:function(){return i.AnnotationEditorLayer}}),Object.defineProperty(ve,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return f.AnnotationEditorParamsType}}),Object.defineProperty(ve,"AnnotationEditorType",{enumerable:!0,get:function(){return f.AnnotationEditorType}}),Object.defineProperty(ve,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return d.AnnotationEditorUIManager}}),Object.defineProperty(ve,"AnnotationLayer",{enumerable:!0,get:function(){return u.AnnotationLayer}}),Object.defineProperty(ve,"AnnotationMode",{enumerable:!0,get:function(){return f.AnnotationMode}}),Object.defineProperty(ve,"CMapCompressionType",{enumerable:!0,get:function(){return f.CMapCompressionType}}),Object.defineProperty(ve,"GlobalWorkerOptions",{enumerable:!0,get:function(){return a.GlobalWorkerOptions}}),Object.defineProperty(ve,"InvalidPDFException",{enumerable:!0,get:function(){return f.InvalidPDFException}}),Object.defineProperty(ve,"LoopbackPort",{enumerable:!0,get:function(){return o.LoopbackPort}}),Object.defineProperty(ve,"MissingPDFException",{enumerable:!0,get:function(){return f.MissingPDFException}}),Object.defineProperty(ve,"OPS",{enumerable:!0,get:function(){return f.OPS}}),Object.defineProperty(ve,"PDFDataRangeTransport",{enumerable:!0,get:function(){return o.PDFDataRangeTransport}}),Object.defineProperty(ve,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(ve,"PDFWorker",{enumerable:!0,get:function(){return o.PDFWorker}}),Object.defineProperty(ve,"PasswordResponses",{enumerable:!0,get:function(){return f.PasswordResponses}}),Object.defineProperty(ve,"PermissionFlag",{enumerable:!0,get:function(){return f.PermissionFlag}}),Object.defineProperty(ve,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(ve,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(ve,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(ve,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return f.UNSUPPORTED_FEATURES}}),Object.defineProperty(ve,"UnexpectedResponseException",{enumerable:!0,get:function(){return f.UnexpectedResponseException}}),Object.defineProperty(ve,"Util",{enumerable:!0,get:function(){return f.Util}}),Object.defineProperty(ve,"VerbosityLevel",{enumerable:!0,get:function(){return f.VerbosityLevel}}),Object.defineProperty(ve,"XfaLayer",{enumerable:!0,get:function(){return g.XfaLayer}}),Object.defineProperty(ve,"build",{enumerable:!0,get:function(){return o.build}}),Object.defineProperty(ve,"createPromiseCapability",{enumerable:!0,get:function(){return f.createPromiseCapability}}),Object.defineProperty(ve,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return f.createValidAbsoluteUrl}}),Object.defineProperty(ve,"getDocument",{enumerable:!0,get:function(){return o.getDocument}}),Object.defineProperty(ve,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(ve,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(ve,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(ve,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(ve,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(ve,"renderTextLayer",{enumerable:!0,get:function(){return c.renderTextLayer}}),Object.defineProperty(ve,"shadow",{enumerable:!0,get:function(){return f.shadow}}),Object.defineProperty(ve,"version",{enumerable:!0,get:function(){return o.version}});var f=__w_pdfjs_require__(1),o=__w_pdfjs_require__(4),n=__w_pdfjs_require__(8),i=__w_pdfjs_require__(22),d=__w_pdfjs_require__(7),u=__w_pdfjs_require__(27),a=__w_pdfjs_require__(15),e=__w_pdfjs_require__(3),c=__w_pdfjs_require__(30),l=__w_pdfjs_require__(31),g=__w_pdfjs_require__(29);if(e.isNodeJS){const{PDFNodeStream:S}=__w_pdfjs_require__(32);(0,o.setPDFNetworkStreamFactory)(y=>new S(y))}else{const{PDFNetworkStream:S}=__w_pdfjs_require__(35),{PDFFetchStream:y}=__w_pdfjs_require__(36);(0,o.setPDFNetworkStreamFactory)(m=>(0,n.isValidFetchUrl)(m.url)?new y(m):new S(m))}})(),__nested_webpack_exports__})(),module.exports=o()},6472:(ve,f,o)=>{var n=o(1196).default;globalThis,ve.exports=(()=>{"use strict";var i=[,(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.DefaultXfaLayerFactory=c.DefaultTextLayerFactory=c.DefaultStructTreeLayerFactory=c.DefaultAnnotationLayerFactory=c.DefaultAnnotationEditorLayerFactory=void 0;var g=l(2),b=l(5),_=l(4),S=l(6),y=l(8),m=l(9),h=l(10);c.DefaultAnnotationLayerFactory=class C{createAnnotationLayerBuilder({pageDiv:R,pdfPage:N,annotationStorage:I=null,imageResourcesPath:L="",renderForms:O=!0,l10n:z=_.NullL10n,enableScripting:F=!1,hasJSActionsPromise:q=null,mouseState:X=null,fieldObjectsPromise:ce=null,annotationCanvasMap:K=null,accessibilityManager:ne=null}){return new b.AnnotationLayerBuilder({pageDiv:R,pdfPage:N,imageResourcesPath:L,renderForms:O,linkService:new S.SimpleLinkService,l10n:z,annotationStorage:I,enableScripting:F,hasJSActionsPromise:q,fieldObjectsPromise:ce,mouseState:X,annotationCanvasMap:K,accessibilityManager:ne})}},c.DefaultAnnotationEditorLayerFactory=class v{createAnnotationEditorLayerBuilder({uiManager:R=null,pageDiv:N,pdfPage:I,accessibilityManager:L=null,l10n:O,annotationStorage:z=null}){return new g.AnnotationEditorLayerBuilder({uiManager:R,pageDiv:N,pdfPage:I,accessibilityManager:L,l10n:O,annotationStorage:z})}},c.DefaultStructTreeLayerFactory=class M{createStructTreeLayerBuilder({pdfPage:R}){return new y.StructTreeLayerBuilder({pdfPage:R})}},c.DefaultTextLayerFactory=class E{createTextLayerBuilder({textLayerDiv:R,pageIndex:N,viewport:I,enhanceTextSelection:L=!1,eventBus:O,highlighter:z,accessibilityManager:F=null}){return new m.TextLayerBuilder({textLayerDiv:R,pageIndex:N,viewport:I,enhanceTextSelection:L,eventBus:O,highlighter:z,accessibilityManager:F})}},c.DefaultXfaLayerFactory=class A{createXfaLayerBuilder({pageDiv:R,pdfPage:N,annotationStorage:I=null}){return new h.XfaLayerBuilder({pageDiv:R,pdfPage:N,annotationStorage:I,linkService:new S.SimpleLinkService})}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.AnnotationEditorLayerBuilder=void 0;var g=l(3),b=l(4);c.AnnotationEditorLayerBuilder=class _{#e;constructor(y){this.pageDiv=y.pageDiv,this.pdfPage=y.pdfPage,this.annotationStorage=y.annotationStorage||null,this.accessibilityManager=y.accessibilityManager,this.l10n=y.l10n||b.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#e=y.uiManager}render(y,m="display"){var h=this;return n(function*(){if("display"!==m||h._cancelled)return;const C=y.clone({dontFlip:!0});if(h.div)return h.annotationEditorLayer.update({viewport:C}),void h.show();h.div=document.createElement("div"),h.div.className="annotationEditorLayer",h.div.tabIndex=0,h.pageDiv.append(h.div),h.annotationEditorLayer=new g.AnnotationEditorLayer({uiManager:h.#e,div:h.div,annotationStorage:h.annotationStorage,accessibilityManager:h.accessibilityManager,pageIndex:h.pdfPage._pageIndex,l10n:h.l10n,viewport:C}),h.annotationEditorLayer.render({viewport:C,div:h.div,annotations:null,intent:m})})()}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}},e=>{let c;c=typeof window<"u"&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:o(35584),e.exports=c},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.NullL10n=void 0,c.fixupLangCode=function _(m){return b[m?.toLowerCase()]||m},c.getL10nFallback=g;const l={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading\u2026",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text\u2026",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function g(m,h){switch(m){case"find_match_count":m=`find_match_count[${1===h.total?"one":"other"}]`;break;case"find_match_count_limit":m=`find_match_count_limit[${1===h.limit?"one":"other"}]`}return l[m]||""}const b={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};c.NullL10n={getLanguage:()=>n(function*(){return"en-us"})(),getDirection:()=>n(function*(){return"ltr"})(),get:(m,h=null,C=g(m,h))=>n(function*(){return function S(m,h){return h?m.replace(/\{\{\s*(\w+)\s*\}\}/g,(C,v)=>v in h?h[v]:"{{"+v+"}}"):m}(C,h)})(),translate:m=>n(function*(){})()}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.AnnotationLayerBuilder=void 0;var g=l(3),b=l(4);c.AnnotationLayerBuilder=class _{constructor({pageDiv:y,pdfPage:m,linkService:h,downloadManager:C,annotationStorage:v=null,imageResourcesPath:M="",renderForms:E=!0,l10n:A=b.NullL10n,enableScripting:T=!1,hasJSActionsPromise:R=null,fieldObjectsPromise:N=null,mouseState:I=null,annotationCanvasMap:L=null,accessibilityManager:O=null}){this.pageDiv=y,this.pdfPage=m,this.linkService=h,this.downloadManager=C,this.imageResourcesPath=M,this.renderForms=E,this.l10n=A,this.annotationStorage=v,this.enableScripting=T,this._hasJSActionsPromise=R,this._fieldObjectsPromise=N,this._mouseState=I,this._annotationCanvasMap=L,this._accessibilityManager=O,this.div=null,this._cancelled=!1}render(y,m="display"){var h=this;return n(function*(){const[C,v=!1,M=null]=yield Promise.all([h.pdfPage.getAnnotations({intent:m}),h._hasJSActionsPromise,h._fieldObjectsPromise]);if(h._cancelled||0===C.length)return;const E={viewport:y.clone({dontFlip:!0}),div:h.div,annotations:C,page:h.pdfPage,imageResourcesPath:h.imageResourcesPath,renderForms:h.renderForms,linkService:h.linkService,downloadManager:h.downloadManager,annotationStorage:h.annotationStorage,enableScripting:h.enableScripting,hasJSActions:v,fieldObjects:M,mouseState:h._mouseState,annotationCanvasMap:h._annotationCanvasMap,accessibilityManager:h._accessibilityManager};h.div?g.AnnotationLayer.update(E):(h.div=document.createElement("div"),h.div.className="annotationLayer",h.pageDiv.append(h.div),E.div=h.div,g.AnnotationLayer.render(E),h.l10n.translate(h.div))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.SimpleLinkService=c.PDFLinkService=c.LinkTarget=void 0;var g=l(7);const _={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function S(h,{url:C,target:v,rel:M,enabled:E=!0}={}){if(!C||"string"!=typeof C)throw new Error('A valid "url" parameter must provided.');const A=(0,g.removeNullCharacters)(C);E?h.href=h.title=A:(h.href="",h.title=`Disabled: ${A}`,h.onclick=()=>!1);let T="";switch(v){case _.NONE:break;case _.SELF:T="_self";break;case _.BLANK:T="_blank";break;case _.PARENT:T="_parent";break;case _.TOP:T="_top"}h.target=T,h.rel="string"==typeof M?M:"noopener noreferrer nofollow"}c.LinkTarget=_;class y{#e=new Map;constructor({eventBus:C,externalLinkTarget:v=null,externalLinkRel:M=null,ignoreDestinationZoom:E=!1}={}){this.eventBus=C,this.externalLinkTarget=v,this.externalLinkRel=M,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=E,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(C,v=null){this.baseUrl=v,this.pdfDocument=C,this.#e.clear()}setViewer(C){this.pdfViewer=C}setHistory(C){this.pdfHistory=C}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(C){this.pdfViewer.currentPageNumber=C}get rotation(){return this.pdfViewer.pagesRotation}set rotation(C){this.pdfViewer.pagesRotation=C}#t(C,v=null,M){const E=M[0];let A;if("object"==typeof E&&null!==E){if(A=this._cachedPageNumber(E),!A)return void this.pdfDocument.getPageIndex(E).then(T=>{this.cachePageRef(T+1,E),this.#t(C,v,M)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${E}" is not a valid page reference, for dest="${C}".`)})}else{if(!Number.isInteger(E))return void console.error(`PDFLinkService.#goToDestinationHelper: "${E}" is not a valid destination reference, for dest="${C}".`);A=E+1}!A||A<1||A>this.pagesCount?console.error(`PDFLinkService.#goToDestinationHelper: "${A}" is not a valid page number, for dest="${C}".`):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:v,explicitDest:M,pageNumber:A})),this.pdfViewer.scrollPageIntoView({pageNumber:A,destArray:M,ignoreDestinationZoom:this._ignoreDestinationZoom}))}goToDestination(C){var v=this;return n(function*(){if(!v.pdfDocument)return;let M,E;"string"==typeof C?(M=C,E=yield v.pdfDocument.getDestination(C)):(M=null,E=yield C),Array.isArray(E)?v.#t(C,M,E):console.error(`PDFLinkService.goToDestination: "${E}" is not a valid destination array, for dest="${C}".`)})()}goToPage(C){if(!this.pdfDocument)return;const v="string"==typeof C&&this.pdfViewer.pageLabelToPageNumber(C)||0|C;Number.isInteger(v)&&v>0&&v<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(v)),this.pdfViewer.scrollPageIntoView({pageNumber:v})):console.error(`PDFLinkService.goToPage: "${C}" is not a valid page.`)}addLinkAttributes(C,v,M=!1){S(C,{url:v,target:M?_.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(C){if("string"==typeof C){if(C.length>0)return this.getAnchorUrl("#"+escape(C))}else if(Array.isArray(C)){const v=JSON.stringify(C);if(v.length>0)return this.getAnchorUrl("#"+escape(v))}return this.getAnchorUrl("")}getAnchorUrl(C){return(this.baseUrl||"")+C}setHash(C){if(!this.pdfDocument)return;let v,M;if(C.includes("=")){const E=(0,g.parseQueryString)(C);if(E.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:E.get("search").replace(/"/g,""),phraseSearch:"true"===E.get("phrase")}),E.has("page")&&(v=0|E.get("page")||1),E.has("zoom")){const A=E.get("zoom").split(","),T=A[0],R=parseFloat(T);T.includes("Fit")?"Fit"===T||"FitB"===T?M=[null,{name:T}]:"FitH"===T||"FitBH"===T||"FitV"===T||"FitBV"===T?M=[null,{name:T},A.length>1?0|A[1]:null]:"FitR"===T?5!==A.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):M=[null,{name:T},0|A[1],0|A[2],0|A[3],0|A[4]]:console.error(`PDFLinkService.setHash: "${T}" is not a valid zoom value.`):M=[null,{name:"XYZ"},A.length>1?0|A[1]:null,A.length>2?0|A[2]:null,R?R/100:T]}M?this.pdfViewer.scrollPageIntoView({pageNumber:v||this.page,destArray:M,allowNegativeOffset:!0}):v&&(this.page=v),E.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:E.get("pagemode")}),E.has("nameddest")&&this.goToDestination(E.get("nameddest"))}else{M=unescape(C);try{M=JSON.parse(M),Array.isArray(M)||(M=M.toString())}catch{}if("string"==typeof M||y.#n(M))return void this.goToDestination(M);console.error(`PDFLinkService.setHash: "${unescape(C)}" is not a valid destination.`)}}executeNamedAction(C){switch(C){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:C})}cachePageRef(C,v){v&&this.#e.set(0===v.gen?`${v.num}R`:`${v.num}R${v.gen}`,C)}_cachedPageNumber(C){return C&&this.#e.get(0===C.gen?`${C.num}R`:`${C.num}R${C.gen}`)||null}isPageVisible(C){return this.pdfViewer.isPageVisible(C)}isPageCached(C){return this.pdfViewer.isPageCached(C)}static#n(C){if(!Array.isArray(C))return!1;const v=C.length;if(v<2)return!1;const M=C[0];if(!("object"==typeof M&&Number.isInteger(M.num)&&Number.isInteger(M.gen)||Number.isInteger(M)&&M>=0))return!1;const E=C[1];if("object"!=typeof E||"string"!=typeof E.name)return!1;let A=!0;switch(E.name){case"XYZ":if(5!==v)return!1;break;case"Fit":case"FitB":return 2===v;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==v)return!1;break;case"FitR":if(6!==v)return!1;A=!1;break;default:return!1}for(let T=2;T{Object.defineProperty(c,"__esModule",{value:!0}),c.animationStarted=c.VERTICAL_PADDING=c.UNKNOWN_SCALE=c.TextLayerMode=c.SpreadMode=c.SidebarView=c.ScrollMode=c.SCROLLBAR_PADDING=c.RenderingStates=c.RendererType=c.ProgressBar=c.PresentationModeState=c.OutputScale=c.MIN_SCALE=c.MAX_SCALE=c.MAX_AUTO_SCALE=c.DEFAULT_SCALE_VALUE=c.DEFAULT_SCALE_DELTA=c.DEFAULT_SCALE=c.AutoPrintRegExp=void 0,c.apiPageLayoutToViewerModes=function tt(st){let ft=R.VERTICAL,Qt=N.NONE;switch(st){case"SinglePage":ft=R.PAGE;break;case"OneColumn":break;case"TwoPageLeft":ft=R.PAGE;case"TwoColumnLeft":Qt=N.ODD;break;case"TwoPageRight":ft=R.PAGE;case"TwoColumnRight":Qt=N.EVEN}return{scrollMode:ft,spreadMode:Qt}},c.apiPageModeToSidebarView=function mt(st){switch(st){case"UseNone":return E.NONE;case"UseThumbs":return E.THUMBS;case"UseOutlines":return E.OUTLINE;case"UseAttachments":return E.ATTACHMENTS;case"UseOC":return E.LAYERS}return E.NONE},c.approximateFraction=function ne(st){if(Math.floor(st)===st)return[st,1];const ft=1/st;if(ft>8)return[1,8];if(Math.floor(ft)===ft)return[1,ft];const bt=st>1?ft:st;let An,Vt=0,sn=1,dn=1,wn=1;for(;;){const vn=Vt+dn,qt=sn+wn;if(qt>8)break;bt<=vn/qt?(dn=vn,wn=qt):(Vt=vn,sn=qt)}return An=bt-Vt/snwn}:function vn(He){const gt=He.div;return gt.offsetTop+gt.clientTop+gt.clientHeight>sn});Pe>0&&Pe=dn&&(Qe=Ut);else if((bt?Mt:nt)>Qe)break;if(Ut<=sn||nt>=dn||Tt<=wn||Mt>=An)continue;const Zt=Math.max(0,sn-nt)+Math.max(0,Ut-dn),Ct=($t-(Math.max(0,wn-Mt)+Math.max(0,Tt-An)))/$t;ut.push({id:gt.id,x:Mt,y:nt,view:gt,percent:(pt-Zt)/pt*Ct*100|0,widthPercent:100*Ct|0}),Ue.add(gt.id)}const Re=ut[0],lt=ut.at(-1);return Qt&&ut.sort(function(He,gt){const dt=He.percent-gt.percent;return Math.abs(dt)>.001?-dt:He.id-gt.id}),{first:Re,last:lt,views:ut,ids:Ue}},c.isPortraitOrientation=function Ae(st){return st.width<=st.height},c.isValidRotation=function G(st){return Number.isInteger(st)&&st%90==0},c.isValidScrollMode=function de(st){return Number.isInteger(st)&&Object.values(R).includes(st)&&st!==R.UNKNOWN},c.isValidSpreadMode=function be(st){return Number.isInteger(st)&&Object.values(N).includes(st)&&st!==N.UNKNOWN},c.noContextMenuHandler=function W(st){st.preventDefault()},c.normalizeWheelEventDelta=function J(st){let ft=ee(st);return 0===st.deltaMode?ft/=900:1===st.deltaMode&&(ft/=30),ft},c.normalizeWheelEventDirection=ee,c.parseQueryString=function F(st){const ft=new Map;for(const[Qt,bt]of new URLSearchParams(st))ft.set(Qt.toLowerCase(),bt);return ft},c.removeNullCharacters=function ce(st,ft=!1){return"string"!=typeof st?(console.error("The argument must be a string."),st):(ft&&(st=st.replace(X," ")),st.replace(q,""))},c.roundToDivide=function Y(st,ft){const Qt=st%ft;return 0===Qt?st:Math.round(st-Qt+ft)},c.scrollIntoView=function O(st,ft,Qt=!1){let bt=st.offsetParent;if(!bt)return void console.error("offsetParent is not set -- cannot scroll");let Vt=st.offsetTop+st.clientTop,sn=st.offsetLeft+st.clientLeft;for(;bt.clientHeight===bt.scrollHeight&&bt.clientWidth===bt.scrollWidth||Qt&&(bt.classList.contains("markedContent")||"hidden"===getComputedStyle(bt).overflow);)if(Vt+=bt.offsetTop,sn+=bt.offsetLeft,bt=bt.offsetParent,!bt)return;ft&&(void 0!==ft.top&&(Vt+=ft.top),void 0!==ft.left&&(sn+=ft.left,bt.scrollLeft=sn)),bt.scrollTop=Vt},c.watchScroll=function z(st,ft){const Qt=function(sn){Vt||(Vt=window.requestAnimationFrame(function(){Vt=null;const wn=st.scrollLeft,An=bt.lastX;wn!==An&&(bt.right=wn>An),bt.lastX=wn;const vn=st.scrollTop,qt=bt.lastY;vn!==qt&&(bt.down=vn>qt),bt.lastY=vn,ft(bt)}))},bt={right:!0,down:!0,lastX:st.scrollLeft,lastY:st.scrollTop,_eventHandler:Qt};let Vt=null;return st.addEventListener("scroll",Qt,!0),bt},c.DEFAULT_SCALE_VALUE="auto",c.DEFAULT_SCALE=1,c.DEFAULT_SCALE_DELTA=1.1,c.MIN_SCALE=.1,c.MAX_SCALE=10,c.UNKNOWN_SCALE=0,c.MAX_AUTO_SCALE=1.25,c.SCROLLBAR_PADDING=40,c.VERTICAL_PADDING=5,c.RenderingStates={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},c.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};const E={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};c.SidebarView=E,c.RendererType={CANVAS:"canvas",SVG:"svg"},c.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};const R={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};c.ScrollMode=R;const N={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};c.SpreadMode=N,c.AutoPrintRegExp=/\bprint\s*\(/,c.OutputScale=class L{constructor(){const ft=window.devicePixelRatio||1;this.sx=ft,this.sy=ft}get scaled(){return 1!==this.sx||1!==this.sy}};const q=/\x00/g,X=/[\x01-\x1F]/g;function K(st,ft,Qt=0){let bt=Qt,Vt=st.length-1;if(Vt<0||!ft(st[Vt]))return st.length;if(ft(st[bt]))return bt;for(;bt>1;ft(st[sn])?Vt=sn:bt=sn+1}return bt}function ae(st,ft,Qt){if(st<2)return st;let bt=ft[st].div,Vt=bt.offsetTop+bt.clientTop;Vt>=Qt&&(bt=ft[st-1].div,Vt=bt.offsetTop+bt.clientTop);for(let sn=st-2;sn>=0&&(bt=ft[sn].div,!(bt.offsetTop+bt.clientTop+bt.clientHeight<=Vt));--sn)st=sn;return st}function ee(st){let ft=Math.hypot(st.deltaX,st.deltaY);const Qt=Math.atan2(st.deltaY,st.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const Qt=document.getElementById(ft);this.#e=Qt.classList}get percent(){return this.#t}set percent(ft){this.#t=function Me(st,ft,Qt){return Math.min(Math.max(st,ft),Qt)}(ft,0,100),isNaN(ft)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),le.setProperty("--progressBar-percent",`${this.#t}%`))}setWidth(ft){if(!ft)return;const bt=ft.parentNode.offsetWidth-ft.offsetWidth;bt>0&&le.setProperty("--progressBar-end-offset",`${bt}px`)}hide(){this.#n&&(this.#n=!1,this.#e.add("hidden"))}show(){this.#n||(this.#n=!0,this.#e.remove("hidden"))}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.StructTreeLayerBuilder=void 0;const l={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},g=/^H(\d+)$/;c.StructTreeLayerBuilder=class b{constructor({pdfPage:S}){this.pdfPage=S}render(S){return this._walk(S)}_setAttributes(S,y){void 0!==S.alt&&y.setAttribute("aria-label",S.alt),void 0!==S.id&&y.setAttribute("aria-owns",S.id),void 0!==S.lang&&y.setAttribute("lang",S.lang)}_walk(S){if(!S)return null;const y=document.createElement("span");if("role"in S){const{role:m}=S,h=m.match(g);h?(y.setAttribute("role","heading"),y.setAttribute("aria-level",h[1])):l[m]&&y.setAttribute("role",l[m])}if(this._setAttributes(S,y),S.children)if(1===S.children.length&&"id"in S.children[0])this._setAttributes(S.children[0],y);else for(const m of S.children)y.append(this._walk(m));return y}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.TextLayerBuilder=void 0;var g=l(3);c.TextLayerBuilder=class _{constructor({textLayerDiv:y,eventBus:m,pageIndex:h,viewport:C,highlighter:v=null,enhanceTextSelection:M=!1,accessibilityManager:E=null}){this.textLayerDiv=y,this.eventBus=m,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=h+1,this.viewport=C,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=v,this.enhanceTextSelection=M,this.accessibilityManager=E,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const y=document.createElement("div");y.className="endOfContent",this.textLayerDiv.append(y)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(y=0){if(!this.textContent&&!this.textContentStream||this.renderingDone)return;this.cancel(),this.textDivs.length=0,this.highlighter?.setTextMapping(this.textDivs,this.textContentItemsStr),this.accessibilityManager?.setTextMapping(this.textDivs);const m=document.createDocumentFragment();this.textLayerRenderTask=(0,g.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:m,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:y,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{this.textLayerDiv.append(m),this._finishRendering(),this.highlighter?.enable(),this.accessibilityManager?.enable()},function(h){})}cancel(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.highlighter?.disable(),this.accessibilityManager?.disable()}setTextContentStream(y){this.cancel(),this.textContentStream=y}setTextContent(y){this.cancel(),this.textContent=y}_bindMouse(){const y=this.textLayerDiv;let m=null;y.addEventListener("mousedown",h=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return this.textLayerRenderTask.expandTextDivs(!0),void(m&&(clearTimeout(m),m=null));const C=y.querySelector(".endOfContent");if(!C)return;let v=h.target!==y;if(v=v&&"none"!==window.getComputedStyle(C).getPropertyValue("-moz-user-select"),v){const M=y.getBoundingClientRect(),E=Math.max(0,(h.pageY-M.top)/M.height);C.style.top=(100*E).toFixed(2)+"%"}C.classList.add("active")}),y.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return void(m=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),m=null},300));const h=y.querySelector(".endOfContent");h&&(h.style.top="",h.classList.remove("active"))})}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.XfaLayerBuilder=void 0;var g=l(3);c.XfaLayerBuilder=class b{constructor({pageDiv:S,pdfPage:y,annotationStorage:m=null,linkService:h,xfaHtml:C=null}){this.pageDiv=S,this.pdfPage=y,this.annotationStorage=m,this.linkService=h,this.xfaHtml=C,this.div=null,this._cancelled=!1}render(S,y="display"){if("print"===y){const m={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:y},h=document.createElement("div");this.pageDiv.append(h),m.div=h;const C=g.XfaLayer.render(m);return Promise.resolve(C)}return this.pdfPage.getXfa().then(m=>{if(this._cancelled||!m)return{textDivs:[]};const h={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:m,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:y};return this.div?g.XfaLayer.update(h):(this.div=document.createElement("div"),this.pageDiv.append(this.div),h.div=this.div,g.XfaLayer.render(h))}).catch(m=>{console.error(m)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFViewer=c.PDFSinglePageViewer=void 0;var g=l(7),b=l(12);c.PDFViewer=class _ extends b.BaseViewer{},c.PDFSinglePageViewer=class S extends b.BaseViewer{_resetView(){super._resetView(),this._scrollMode=g.ScrollMode.PAGE,this._spreadMode=g.SpreadMode.NONE}set scrollMode(m){}_updateScrollMode(){}set spreadMode(m){}_updateSpreadMode(){}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PagesCountLimit=c.PDFPageViewBuffer=c.BaseViewer=void 0;var g=l(3),b=l(7),_=l(2),S=l(5),y=l(4),m=l(13),h=l(16),C=l(6),v=l(8),M=l(17),E=l(9),A=l(10);const R="enablePermissions",N={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};function I(z){return Object.values(g.AnnotationEditorType).includes(z)&&z!==g.AnnotationEditorType.DISABLE}c.PagesCountLimit=N;class L{#e=new Set;#t=0;constructor(F){this.#t=F}push(F){const q=this.#e;q.has(F)&&q.delete(F),q.add(F),q.size>this.#t&&this.#n()}resize(F,q=null){this.#t=F;const X=this.#e;if(q){const ce=X.size;let K=1;for(const ne of X)if(q.has(ne.id)&&(X.delete(ne),X.add(ne)),++K>ce)break}for(;X.size>this.#t;)this.#n()}has(F){return this.#e.has(F)}[Symbol.iterator](){return this.#e.keys()}#n(){const F=this.#e.keys().next().value;F?.destroy(),this.#e.delete(F)}}c.PDFPageViewBuffer=L;class O{#e=null;#t=g.AnnotationEditorType.DISABLE;#n=null;#r=g.AnnotationMode.ENABLE_FORMS;#o=!1;#c=0;#a=null;#i=null;constructor(F){if(this.constructor===O)throw new Error("Cannot initialize BaseViewer.");const q="2.16.105";if(g.version!==q)throw new Error(`The API version "${g.version}" does not match the Viewer version "${q}".`);if(this.container=F.container,this.viewer=F.viewer||F.container.firstElementChild,"DIV"!==this.container?.tagName.toUpperCase()||"DIV"!==this.viewer?.tagName.toUpperCase())throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=F.eventBus,this.linkService=F.linkService||new C.SimpleLinkService,this.downloadManager=F.downloadManager||null,this.findController=F.findController||null,this._scriptingManager=F.scriptingManager||null,this.removePageBorders=F.removePageBorders||!1,this.textLayerMode=F.textLayerMode??b.TextLayerMode.ENABLE,this.#r=F.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.#t=F.annotationEditorMode??g.AnnotationEditorType.DISABLE,this.imageResourcesPath=F.imageResourcesPath||"",this.enablePrintAutoRotate=F.enablePrintAutoRotate||!1,this.renderer=F.renderer||b.RendererType.CANVAS,this.useOnlyCssZoom=F.useOnlyCssZoom||!1,this.maxCanvasPixels=F.maxCanvasPixels,this.l10n=F.l10n||y.NullL10n,this.#o=F.enablePermissions||!1,this.pageColors=F.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!F.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new h.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=F.renderingQueue,this.scroll=(0,b.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=b.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(F){return this._pages[F]}get pageViewsReady(){return!!this._pagesCapability.settled&&this._pages.every(function(F){return F?.pdfPage})}get renderForms(){return this.#r===g.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(F){if(!Number.isInteger(F))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(F,!0)||console.error(`currentPageNumber: "${F}" is not a valid page.`))}_setCurrentPageNumber(F,q=!1){if(this._currentPageNumber===F)return q&&this.#f(),!0;if(!(0=0&&(q=X+1)}this._setCurrentPageNumber(q,!0)||console.error(`currentPageLabel: "${F}" is not a valid page.`)}get currentScale(){return this._currentScale!==b.UNKNOWN_SCALE?this._currentScale:b.DEFAULT_SCALE}set currentScale(F){if(isNaN(F))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(F,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(F){this.pdfDocument&&this._setScale(F,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(F){if(!(0,b.isValidRotation)(F))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((F%=360)<0&&(F+=360),this._pagesRotation===F))return;this._pagesRotation=F;const q=this._currentPageNumber,X={rotation:F};for(const ce of this._pages)ce.update(X);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:F,pageNumber:q}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}#h(F){const q={annotationEditorMode:this.#t,annotationMode:this.#r,textLayerMode:this.textLayerMode};return F&&(F.includes(g.PermissionFlag.COPY)||this.viewer.classList.add(R),F.includes(g.PermissionFlag.MODIFY_CONTENTS)||(q.annotationEditorMode=g.AnnotationEditorType.DISABLE),!F.includes(g.PermissionFlag.MODIFY_ANNOTATIONS)&&!F.includes(g.PermissionFlag.FILL_INTERACTIVE_FORMS)&&this.#r===g.AnnotationMode.ENABLE_FORMS&&(q.annotationMode=g.AnnotationMode.ENABLE)),q}#u(){if("hidden"===document.visibilityState||!this.container.offsetParent||0===this._getVisiblePages().views.length)return Promise.resolve();const F=new Promise(q=>{this.#i=()=>{"hidden"===document.visibilityState&&(q(),document.removeEventListener("visibilitychange",this.#i),this.#i=null)},document.addEventListener("visibilitychange",this.#i)});return Promise.race([this._onePageRenderedCapability.promise,F])}setDocument(F){var q=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),this.#n&&(this.#n.destroy(),this.#n=null)),this.pdfDocument=F,!F)return;const X=F.isPureXfa,ce=F.numPages,K=F.getPage(1),ne=F.getOptionalContentConfig(),Y=this.#o?F.getPermissions():Promise.resolve();if(ce>N.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const H=this._scrollMode=b.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:H})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:ce})},()=>{}),this._onBeforeDraw=H=>{const ae=this._pages[H.pageNumber-1];ae&&this.#e.push(ae)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=H=>{H.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:H.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([K,Y]).then(([H,ae])=>{if(F!==this.pdfDocument)return;this._firstPageCapability.resolve(H),this._optionalContentConfigPromise=ne;const{annotationEditorMode:re,annotationMode:W,textLayerMode:ee}=this.#h(ae);if(re!==g.AnnotationEditorType.DISABLE){const $e=re;X?console.warn("Warning: XFA-editing is not implemented."):I($e)?(this.#n=new g.AnnotationEditorUIManager(this.container,this.eventBus),$e!==g.AnnotationEditorType.NONE&&this.#n.updateMode($e)):console.error(`Invalid AnnotationEditor mode: ${$e}`)}const J=this._scrollMode===b.ScrollMode.PAGE?null:this.viewer,G=this.currentScale,de=H.getViewport({scale:G*g.PixelsPerInch.PDF_TO_CSS_UNITS}),be=ee===b.TextLayerMode.DISABLE||X?null:this,Ae=W!==g.AnnotationMode.DISABLE?this:null,ye=X?this:null,le=this.#n?this:null;for(let $e=1;$e<=ce;++$e){const qe=new m.PDFPageView({container:J,eventBus:this.eventBus,id:$e,scale:G,defaultViewport:de.clone(),optionalContentConfigPromise:ne,renderingQueue:this.renderingQueue,textLayerFactory:be,textLayerMode:ee,annotationLayerFactory:Ae,annotationMode:W,xfaLayerFactory:ye,annotationEditorLayerFactory:le,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(qe)}const Me=this._pages[0];Me&&(Me.setPdfPage(H),this.linkService.cachePageRef(1,H.ref)),this._scrollMode===b.ScrollMode.PAGE?this.#l():this._spreadMode!==b.SpreadMode.NONE&&this._updateSpreadMode(),this.#u().then(n(function*(){if(q.findController&&q.findController.setDocument(F),q._scriptingManager&&q._scriptingManager.setDocument(F),q.#n&&q.eventBus.dispatch("annotationeditormodechanged",{source:q,mode:q.#t}),F.loadingParams.disableAutoFetch||ce>N.FORCE_LAZY_PAGE_INIT)return void q._pagesCapability.resolve();let $e=ce-1;if($e<=0)q._pagesCapability.resolve();else for(let qe=2;qe<=ce;++qe){const tt=F.getPage(qe).then(mt=>{const st=q._pages[qe-1];st.pdfPage||st.setPdfPage(mt),q.linkService.cachePageRef(qe,mt.ref),0==--$e&&q._pagesCapability.resolve()},mt=>{console.error(`Unable to get page ${qe} to initialize viewer`,mt),0==--$e&&q._pagesCapability.resolve()});qe%N.PAUSE_EAGER_PAGE_INIT==0&&(yield tt)}})),this.eventBus.dispatch("pagesinit",{source:this}),F.getMetadata().then(({info:$e})=>{F===this.pdfDocument&&$e.Language&&(this.viewer.lang=$e.Language)}),this.defaultRenderingQueue&&this.update()}).catch(H=>{console.error("Unable to initialize viewer",H),this._pagesCapability.reject(H)})}setPageLabels(F){if(this.pdfDocument){F?Array.isArray(F)&&this.pdfDocument.numPages===F.length?this._pageLabels=F:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let q=0,X=this._pages.length;q=q.previousPageNumber,q.previousPageNumber=F}_scrollUpdate(){0!==this.pagesCount&&this.update()}#s(F,q=null){const{div:X,id:ce}=F;if(this._scrollMode===b.ScrollMode.PAGE&&(this._setCurrentPageNumber(ce),this.#l(),this.update()),!q&&!this.isInPresentationMode){const K=X.offsetLeft+X.clientLeft,ne=K+X.clientWidth,{scrollLeft:Y,clientWidth:H}=this.container;(this._scrollMode===b.ScrollMode.HORIZONTAL||KY+H)&&(q={left:0,top:0})}(0,b.scrollIntoView)(X,q)}#g(F){return F===this._currentScale||Math.abs(F-this._currentScale)<1e-15}_setScaleUpdatePages(F,q,X=!1,ce=!1){if(this._currentScaleValue=q.toString(),this.#g(F))return void(ce&&this.eventBus.dispatch("scalechanging",{source:this,scale:F,presetValue:q}));b.docStyle.setProperty("--scale-factor",F*g.PixelsPerInch.PDF_TO_CSS_UNITS);const K={scale:F};for(const ne of this._pages)ne.update(K);if(this._currentScale=F,!X){let Y,ne=this._currentPageNumber;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(ne=this._location.pageNumber,Y=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:ne,destArray:Y,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:F,presetValue:ce?q:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==b.SpreadMode.NONE&&this._scrollMode!==b.ScrollMode.HORIZONTAL?2:1}_setScale(F,q=!1){let X=parseFloat(F);if(X>0)this._setScaleUpdatePages(X,F,q,!1);else{const ce=this._pages[this._currentPageNumber-1];if(!ce)return;let K=b.SCROLLBAR_PADDING,ne=b.VERTICAL_PADDING;this.isInPresentationMode?K=ne=4:this.removePageBorders?K=ne=0:this._scrollMode===b.ScrollMode.HORIZONTAL&&([K,ne]=[ne,K]);const Y=(this.container.clientWidth-K)/ce.width*ce.scale/this._pageWidthScaleFactor,H=(this.container.clientHeight-ne)/ce.height*ce.scale;switch(F){case"page-actual":X=1;break;case"page-width":X=Y;break;case"page-height":X=H;break;case"page-fit":X=Math.min(Y,H);break;case"auto":const ae=(0,b.isPortraitOrientation)(ce)?Y:Math.min(H,Y);X=Math.min(b.MAX_AUTO_SCALE,ae);break;default:return void console.error(`_setScale: "${F}" is an unknown zoom value.`)}this._setScaleUpdatePages(X,F,q,!0)}}#f(){const F=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this.#s(F)}pageLabelToPageNumber(F){if(!this._pageLabels)return null;const q=this._pageLabels.indexOf(F);return q<0?null:q+1}scrollPageIntoView({pageNumber:F,destArray:q=null,allowNegativeOffset:X=!1,ignoreDestinationZoom:ce=!1}){if(!this.pdfDocument)return;const K=Number.isInteger(F)&&this._pages[F-1];if(!K)return void console.error(`scrollPageIntoView: "${F}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!q)return void this._setCurrentPageNumber(F,!0);let re,W,ne=0,Y=0,H=0,ae=0;const ee=K.rotation%180!=0,J=(ee?K.height:K.width)/K.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS,G=(ee?K.width:K.height)/K.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS;let de=0;switch(q[1].name){case"XYZ":ne=q[2],Y=q[3],de=q[4],ne=null!==ne?ne:0,Y=null!==Y?Y:G;break;case"Fit":case"FitB":de="page-fit";break;case"FitH":case"FitBH":Y=q[2],de="page-width",null===Y&&this._location?(ne=this._location.left,Y=this._location.top):("number"!=typeof Y||Y<0)&&(Y=G);break;case"FitV":case"FitBV":ne=q[2],H=J,ae=G,de="page-height";break;case"FitR":ne=q[2],Y=q[3],H=q[4]-ne,ae=q[5]-Y,re=(this.container.clientWidth-(this.removePageBorders?0:b.SCROLLBAR_PADDING))/H/g.PixelsPerInch.PDF_TO_CSS_UNITS,W=(this.container.clientHeight-(this.removePageBorders?0:b.VERTICAL_PADDING))/ae/g.PixelsPerInch.PDF_TO_CSS_UNITS,de=Math.min(Math.abs(re),Math.abs(W));break;default:return void console.error(`scrollPageIntoView: "${q[1].name}" is not a valid destination type.`)}if(ce||(de&&de!==this._currentScale?this.currentScaleValue=de:this._currentScale===b.UNKNOWN_SCALE&&(this.currentScaleValue=b.DEFAULT_SCALE_VALUE)),"page-fit"===de&&!q[4])return void this.#s(K);const be=[K.viewport.convertToViewportPoint(ne,Y),K.viewport.convertToViewportPoint(ne+H,Y+ae)];let Ae=Math.min(be[0][0],be[1][0]),ye=Math.min(be[0][1],be[1][1]);X||(Ae=Math.max(Ae,0),ye=Math.max(ye,0)),this.#s(K,{left:Ae,top:ye})}_updateLocation(F){const q=this._currentScale,X=this._currentScaleValue,ce=parseFloat(X)===q?Math.round(1e4*q)/100:X,K=F.id,Y=this.container,H=this._pages[K-1].getPagePoint(Y.scrollLeft-F.x,Y.scrollTop-F.y),ae=Math.round(H[0]),re=Math.round(H[1]);let W=`#page=${K}`;this.isInPresentationMode||(W+=`&zoom=${ce},${ae},${re}`),this._location={pageNumber:K,scale:ce,top:re,left:ae,rotation:this._pagesRotation,pdfOpenParams:W}}update(){const F=this._getVisiblePages(),q=F.views,X=q.length;if(0===X)return;const ce=Math.max(10,2*X+1);this.#e.resize(ce,F.ids),this.renderingQueue.renderHighestPriority(F);const K=this._spreadMode===b.SpreadMode.NONE&&(this._scrollMode===b.ScrollMode.PAGE||this._scrollMode===b.ScrollMode.VERTICAL),ne=this._currentPageNumber;let Y=!1;for(const H of q){if(H.percent<100)break;if(H.id===ne&&K){Y=!0;break}}this._setCurrentPageNumber(Y?ne:q[0].id),this._updateLocation(F.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(F){return this.container.contains(F)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return this.presentationModeState===b.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===b.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const F=this._scrollMode===b.ScrollMode.PAGE?this.#a.pages:this._pages,q=this._scrollMode===b.ScrollMode.HORIZONTAL;return(0,b.getVisibleElements)({scrollEl:this.container,views:F,sortByVisibility:!0,horizontal:q,rtl:q&&this._isContainerRtl})}isPageVisible(F){return!!this.pdfDocument&&(Number.isInteger(F)&&F>0&&F<=this.pagesCount?this._getVisiblePages().ids.has(F):(console.error(`isPageVisible: "${F}" is not a valid page.`),!1))}isPageCached(F){return!!this.pdfDocument&&(Number.isInteger(F)&&F>0&&F<=this.pagesCount?this.#e.has(this._pages[F-1]):(console.error(`isPageCached: "${F}" is not a valid page.`),!1))}cleanup(){for(const F of this._pages)F.renderingState!==b.RenderingStates.FINISHED&&F.reset()}_cancelRendering(){for(const F of this._pages)F.cancelRendering()}#v(F){var q=this;return n(function*(){if(F.pdfPage)return F.pdfPage;try{const X=yield q.pdfDocument.getPage(F.id);return F.pdfPage||F.setPdfPage(X),q.linkService._cachedPageNumber?.(X.ref)||q.linkService.cachePageRef(F.id,X.ref),X}catch(X){return console.error("Unable to get page for page view",X),null}})()}#p(F){if(1===F.first?.id)return!0;if(F.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case b.ScrollMode.PAGE:return this.#a.scrollDown;case b.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}#_(F){for(const q of F)this._pages[q-1]?.toggleLoadingIconSpinner(!0);for(const q of this.#e)F.has(q.id)||q.toggleLoadingIconSpinner(!1)}forceRendering(F){const q=F||this._getVisiblePages(),X=this.#p(q),K=this.renderingQueue.getHighestPriority(q,this._pages,X,this._spreadMode!==b.SpreadMode.NONE&&this._scrollMode!==b.ScrollMode.HORIZONTAL);return this.#_(q.ids),!!K&&(this.#v(K).then(()=>{this.renderingQueue.renderView(K)}),!0)}createTextLayerBuilder({textLayerDiv:F,pageIndex:q,viewport:X,enhanceTextSelection:ce=!1,eventBus:K,highlighter:ne,accessibilityManager:Y=null}){return new E.TextLayerBuilder({textLayerDiv:F,eventBus:K,pageIndex:q,viewport:X,enhanceTextSelection:!this.isInPresentationMode&&ce,highlighter:ne,accessibilityManager:Y})}createTextHighlighter({pageIndex:F,eventBus:q}){return new M.TextHighlighter({eventBus:q,pageIndex:F,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder({pageDiv:F,pdfPage:q,annotationStorage:X=this.pdfDocument?.annotationStorage,imageResourcesPath:ce="",renderForms:K=!0,l10n:ne=y.NullL10n,enableScripting:Y=this.enableScripting,hasJSActionsPromise:H=this.pdfDocument?.hasJSActions(),mouseState:ae=this._scriptingManager?.mouseState,fieldObjectsPromise:re=this.pdfDocument?.getFieldObjects(),annotationCanvasMap:W=null,accessibilityManager:ee=null}){return new S.AnnotationLayerBuilder({pageDiv:F,pdfPage:q,annotationStorage:X,imageResourcesPath:ce,renderForms:K,linkService:this.linkService,downloadManager:this.downloadManager,l10n:ne,enableScripting:Y,hasJSActionsPromise:H,mouseState:ae,fieldObjectsPromise:re,annotationCanvasMap:W,accessibilityManager:ee})}createAnnotationEditorLayerBuilder({uiManager:F=this.#n,pageDiv:q,pdfPage:X,accessibilityManager:ce=null,l10n:K,annotationStorage:ne=this.pdfDocument?.annotationStorage}){return new _.AnnotationEditorLayerBuilder({uiManager:F,pageDiv:q,pdfPage:X,annotationStorage:ne,accessibilityManager:ce,l10n:K})}createXfaLayerBuilder({pageDiv:F,pdfPage:q,annotationStorage:X=this.pdfDocument?.annotationStorage}){return new A.XfaLayerBuilder({pageDiv:F,pdfPage:q,annotationStorage:X,linkService:this.linkService})}createStructTreeLayerBuilder({pdfPage:F}){return new v.StructTreeLayerBuilder({pdfPage:F})}get hasEqualPageSizes(){const F=this._pages[0];for(let q=1,X=this._pages.length;q{const q=F.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,b.isPortraitOrientation)(q)?{width:q.width,height:q.height,rotation:q.rotation}:{width:q.height,height:q.width,rotation:(q.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(F){if(!(F instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${F}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=F;const q={optionalContentConfigPromise:F};for(const X of this._pages)X.update(q);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:F})}get scrollMode(){return this._scrollMode}set scrollMode(F){if(this._scrollMode!==F){if(!(0,b.isValidScrollMode)(F))throw new Error(`Invalid scroll mode: ${F}`);this.pagesCount>N.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=F,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:F}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(F=null){const q=this._scrollMode,X=this.viewer;X.classList.toggle("scrollHorizontal",q===b.ScrollMode.HORIZONTAL),X.classList.toggle("scrollWrapped",q===b.ScrollMode.WRAPPED),this.pdfDocument&&F&&(q===b.ScrollMode.PAGE?this.#l():this._previousScrollMode===b.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(F,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(F){if(this._spreadMode!==F){if(!(0,b.isValidSpreadMode)(F))throw new Error(`Invalid spread mode: ${F}`);this._spreadMode=F,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:F}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(F=null){if(!this.pdfDocument)return;const q=this.viewer,X=this._pages;if(this._scrollMode===b.ScrollMode.PAGE)this.#l();else if(q.textContent="",this._spreadMode===b.SpreadMode.NONE)for(const ce of this._pages)q.append(ce.div);else{const ce=this._spreadMode-1;let K=null;for(let ne=0,Y=X.length;ne=ae;H--){const W=K[H+1]-1;if(K[H]W)return W-F}if(q){const H=K[0];if(HF)return H-F+1}break}break}case b.ScrollMode.HORIZONTAL:break;case b.ScrollMode.PAGE:case b.ScrollMode.VERTICAL:{if(this._spreadMode===b.SpreadMode.NONE)break;const X=this._spreadMode-1;if(q&&F%2!==X)break;if(!q&&F%2===X)break;const{views:ce}=this._getVisiblePages(),K=q?F-1:F+1;for(const{id:ne,percent:Y,widthPercent:H}of ce)if(ne===K){if(Y>0&&100===H)return 2;break}break}}return 1}nextPage(){const F=this._currentPageNumber,q=this.pagesCount;if(F>=q)return!1;const X=this._getPageAdvance(F,!1)||1;return this.currentPageNumber=Math.min(F+X,q),!0}previousPage(){const F=this._currentPageNumber;if(F<=1)return!1;const q=this._getPageAdvance(F,!0)||1;return this.currentPageNumber=Math.max(F-q,1),!0}increaseScale(F=1){let q=this._currentScale;do{q=(q*b.DEFAULT_SCALE_DELTA).toFixed(2),q=Math.ceil(10*q)/10,q=Math.min(b.MAX_SCALE,q)}while(--F>0&&q0&&q>b.MIN_SCALE);this.currentScaleValue=q}updateContainerHeightCss(){const F=this.container.clientHeight;F!==this.#c&&(this.#c=F,b.docStyle.setProperty("--viewer-container-height",`${F}px`))}get annotationEditorMode(){return this.#n?this.#t:g.AnnotationEditorType.DISABLE}set annotationEditorMode(F){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");if(this.#t!==F){if(!I(F))throw new Error(`Invalid AnnotationEditor mode: ${F}`);this.pdfDocument&&(this.#t=F,this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:F}),this.#n.updateMode(F))}}set annotationEditorParams({type:F,value:q}){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");this.#n.updateParams(F,q)}refresh(){if(!this.pdfDocument)return;const F={};for(const q of this._pages)q.update(F);this.update()}}c.BaseViewer=O},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFPageView=void 0;var g=l(3),b=l(7),_=l(14),S=l(4),y=l(15);const m=_.compatibilityParams.maxCanvasPixels||16777216;c.PDFPageView=class h{#e=g.AnnotationMode.ENABLE_FORMS;#t={initialOptionalContent:!0,regularAnnotations:!0};constructor(v){const M=v.container,E=v.defaultViewport;this.id=v.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=v.scale||b.DEFAULT_SCALE,this.viewport=E,this.pdfPageRotate=E.rotation,this._optionalContentConfigPromise=v.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=v.textLayerMode??b.TextLayerMode.ENABLE,this.#e=v.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.imageResourcesPath=v.imageResourcesPath||"",this.useOnlyCssZoom=v.useOnlyCssZoom||!1,this.maxCanvasPixels=v.maxCanvasPixels||m,this.pageColors=v.pageColors||null,this.eventBus=v.eventBus,this.renderingQueue=v.renderingQueue,this.textLayerFactory=v.textLayerFactory,this.annotationLayerFactory=v.annotationLayerFactory,this.annotationEditorLayerFactory=v.annotationEditorLayerFactory,this.xfaLayerFactory=v.xfaLayerFactory,this.textHighlighter=v.textHighlighterFactory?.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=v.structTreeLayerFactory,this.renderer=v.renderer||b.RendererType.CANVAS,this.l10n=v.l10n||S.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=b.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const A=document.createElement("div");if(A.className="page",A.style.width=Math.floor(this.viewport.width)+"px",A.style.height=Math.floor(this.viewport.height)+"px",A.setAttribute("data-page-number",this.id),A.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(T=>{A.setAttribute("aria-label",T)}),this.div=A,M?.append(A),this._isStandalone){const{optionalContentConfigPromise:T}=v;T&&T.then(R=>{T===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=R.hasInitialVisibility)})}}setPdfPage(v){this.pdfPage=v,this.pdfPageRotate=v.rotate,this.viewport=v.getViewport({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}_renderAnnotationLayer(){var v=this;return n(function*(){let M=null;try{yield v.annotationLayer.render(v.viewport,"display")}catch(E){console.error(`_renderAnnotationLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("annotationlayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_renderAnnotationEditorLayer(){var v=this;return n(function*(){let M=null;try{yield v.annotationEditorLayer.render(v.viewport,"display")}catch(E){console.error(`_renderAnnotationEditorLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("annotationeditorlayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_renderXfaLayer(){var v=this;return n(function*(){let M=null;try{const E=yield v.xfaLayer.render(v.viewport,"display");v.textHighlighter&&v._buildXfaTextContentItems(E.textDivs)}catch(E){console.error(`_renderXfaLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("xfalayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_buildXfaTextContentItems(v){var M=this;return n(function*(){const E=yield M.pdfPage.getTextContent(),A=[];for(const T of E.items)A.push(T.str);M.textHighlighter.setTextMapping(v,A),M.textHighlighter.enable()})()}_resetZoomLayer(v=!1){if(!this.zoomLayer)return;const M=this.zoomLayer.firstChild;this.paintedViewportMap.delete(M),M.width=0,M.height=0,v&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:v=!1,keepAnnotationLayer:M=!1,keepAnnotationEditorLayer:E=!1,keepXfaLayer:A=!1}={}){this.cancelRendering({keepAnnotationLayer:M,keepAnnotationEditorLayer:E,keepXfaLayer:A}),this.renderingState=b.RenderingStates.INITIAL;const T=this.div;T.style.width=Math.floor(this.viewport.width)+"px",T.style.height=Math.floor(this.viewport.height)+"px";const R=T.childNodes,N=v&&this.zoomLayer||null,I=M&&this.annotationLayer?.div||null,L=E&&this.annotationEditorLayer?.div||null,O=A&&this.xfaLayer?.div||null;for(let z=R.length-1;z>=0;z--){const F=R[z];switch(F){case N:case I:case L:case O:continue}F.remove()}T.removeAttribute("data-loaded"),I&&this.annotationLayer.hide(),L?this.annotationEditorLayer.hide():this.annotationEditorLayer?.destroy(),O&&this.xfaLayer.hide(),N||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(z=>{this.loadingIconDiv?.setAttribute("aria-label",z)}),T.append(this.loadingIconDiv)}update({scale:v=0,rotation:M=null,optionalContentConfigPromise:E=null}){if(this.scale=v||this.scale,"number"==typeof M&&(this.rotation=M),E instanceof Promise&&(this._optionalContentConfigPromise=E,E.then(R=>{E===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=R.hasInitialVisibility)})),this.viewport=this.viewport.clone({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this._isStandalone&&b.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg)return this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});let T=!1;if(this.canvas&&this.maxCanvasPixels>0){const R=this.outputScale;(Math.floor(this.viewport.width)*R.sx|0)*(Math.floor(this.viewport.height)*R.sy|0)>this.maxCanvasPixels&&(T=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&T)return this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering({keepAnnotationLayer:v=!1,keepAnnotationEditorLayer:M=!1,keepXfaLayer:E=!1}={}){this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!v||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!M||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!E||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this.textHighlighter?.disable()),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform({target:v,redrawAnnotationLayer:M=!1,redrawAnnotationEditorLayer:E=!1,redrawXfaLayer:A=!1}){const T=this.viewport.width,R=this.viewport.height,N=this.div;v.style.width=v.parentNode.style.width=N.style.width=Math.floor(T)+"px",v.style.height=v.parentNode.style.height=N.style.height=Math.floor(R)+"px";const I=this.viewport.rotation-this.paintedViewportMap.get(v).rotation,L=Math.abs(I);let O=1,z=1;if((90===L||270===L)&&(O=R/T,z=T/R),v.style.transform=`rotate(${I}deg) scale(${O}, ${z})`,this.textLayer){const F=this.textLayer.viewport,X=Math.abs(this.viewport.rotation-F.rotation);let ce=T/F.width;(90===X||270===X)&&(ce=T/F.height);const K=this.textLayer.textLayerDiv;let ne,Y;switch(X){case 0:ne=Y=0;break;case 90:ne=0,Y="-"+K.style.height;break;case 180:ne="-"+K.style.width,Y="-"+K.style.height;break;case 270:ne="-"+K.style.width,Y=0;break;default:console.error("Bad rotation value.")}K.style.transform=`rotate(${X}deg) scale(${ce}) translate(${ne}, ${Y})`,K.style.transformOrigin="0% 0%"}M&&this.annotationLayer&&this._renderAnnotationLayer(),E&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),A&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(v,M){return this.viewport.convertToPdfPoint(v,M)}toggleLoadingIconSpinner(v=!1){this.loadingIconDiv?.classList.toggle("notVisible",!v)}draw(){var v=this;this.renderingState!==b.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:M,pdfPage:E}=this;if(!E)return this.renderingState=b.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=b.RenderingStates.RUNNING;const A=document.createElement("div");A.style.width=M.style.width,A.style.height=M.style.height,A.classList.add("canvasWrapper");const T=this.annotationLayer?.div||this.annotationEditorLayer?.div;T?T.before(A):M.append(A);let R=null;if(this.textLayerMode!==b.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||=new y.TextAccessibilityManager;const z=document.createElement("div");z.className="textLayer",z.style.width=A.style.width,z.style.height=A.style.height,T?T.before(z):M.append(z),R=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:z,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===b.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=R,this.#e!==g.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||=new Map,this.annotationLayer||=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:M,pdfPage:E,imageResourcesPath:this.imageResourcesPath,renderForms:this.#e===g.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager})),this.xfaLayer?.div&&M.append(this.xfaLayer.div);let N=null;this.renderingQueue&&(N=z=>{if(!this.renderingQueue.isHighestPriority(this))return this.renderingState=b.RenderingStates.PAUSED,void(this.resume=()=>{this.renderingState=b.RenderingStates.RUNNING,z()});z()});const I=function(){var z=n(function*(F=null){if(L===v.paintTask&&(v.paintTask=null),F instanceof g.RenderingCancelledException)v._renderError=null;else if(v._renderError=F,v.renderingState=b.RenderingStates.FINISHED,v.loadingIconDiv&&(v.loadingIconDiv.remove(),delete v.loadingIconDiv),v._resetZoomLayer(!0),v.#t.regularAnnotations=!L.separateAnnots,v.eventBus.dispatch("pagerendered",{source:v,pageNumber:v.id,cssTransform:!1,timestamp:performance.now(),error:v._renderError}),F)throw F});return function(){return z.apply(this,arguments)}}(),L=this.renderer===b.RendererType.SVG?this.paintOnSvg(A):this.paintOnCanvas(A);L.onRenderContinue=N,this.paintTask=L;const O=L.promise.then(()=>I(null).then(()=>{if(R){const z=E.streamTextContent({includeMarkedContent:!0});R.setTextContentStream(z),R.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:M,pdfPage:E,l10n:this.l10n,accessibilityManager:this._accessibilityManager}),this._renderAnnotationEditorLayer())})}),function(z){return I(z)});return this.xfaLayerFactory&&(this.xfaLayer||=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:M,pdfPage:E}),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=z=>{z.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(F=>{if(!F||!this.canvas)return;const q=this.structTreeLayer.render(F);q.classList.add("structTree"),this.canvas.append(q)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:E})),M.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),O}paintOnCanvas(v){const M=(0,g.createPromiseCapability)(),E={promise:M.promise,onRenderContinue(ce){ce()},cancel(){X.cancel()},get separateAnnots(){return X.separateAnnots}},A=this.viewport,T=document.createElement("canvas");T.setAttribute("role","presentation"),T.hidden=!0;let R=!0;const N=function(){R&&(T.hidden=!1,R=!1)};v.append(T),this.canvas=T;const I=T.getContext("2d",{alpha:!1}),L=this.outputScale=new b.OutputScale;if(this.useOnlyCssZoom){const ce=A.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});L.sx*=ce.width/A.width,L.sy*=ce.height/A.height}if(this.maxCanvasPixels>0){const K=Math.sqrt(this.maxCanvasPixels/(A.width*A.height));L.sx>K||L.sy>K?(L.sx=K,L.sy=K,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const O=(0,b.approximateFraction)(L.sx),z=(0,b.approximateFraction)(L.sy);T.width=(0,b.roundToDivide)(A.width*L.sx,O[0]),T.height=(0,b.roundToDivide)(A.height*L.sy,z[0]),T.style.width=(0,b.roundToDivide)(A.width,O[1])+"px",T.style.height=(0,b.roundToDivide)(A.height,z[1])+"px",this.paintedViewportMap.set(T,A);const q={canvasContext:I,transform:L.scaled?[L.sx,0,0,L.sy,0,0]:null,viewport:this.viewport,annotationMode:this.#e,optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},X=this.pdfPage.render(q);return X.onContinue=function(ce){N(),E.onRenderContinue?E.onRenderContinue(ce):ce()},X.promise.then(function(){N(),M.resolve()},function(ce){N(),M.reject(ce)}),E}paintOnSvg(v){let M=!1;const E=()=>{if(M)throw new g.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},A=this.pdfPage,T=this.viewport.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:A.getOperatorList({annotationMode:this.#e}).then(N=>(E(),new g.SVGGraphics(A.commonObjs,A.objs).getSVG(N,T).then(L=>{E(),this.svg=L,this.paintedViewportMap.set(L,T),L.style.width=v.style.width,L.style.height=v.style.height,this.renderingState=b.RenderingStates.FINISHED,v.append(L)}))),onRenderContinue(N){N()},cancel(){M=!0},get separateAnnots(){return!1}}}setPageLabel(v){this.pageLabel="string"==typeof v?v:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:v,regularAnnotations:M}=this.#t;return v&&M?this.canvas:null}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.compatibilityParams=c.OptionKind=c.AppOptions=void 0;const l=Object.create(null);c.compatibilityParams=l;{const y=navigator.userAgent||"",m=navigator.platform||"",h=navigator.maxTouchPoints||1,C=/Android/.test(y);(/\b(iPad|iPhone|iPod)(?=;)/.test(y)||"MacIntel"===m&&h>1||C)&&(l.maxCanvasPixels=5242880)}const g={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};c.OptionKind=g;const b={annotationEditorMode:{value:-1,kind:g.VIEWER+g.PREFERENCE},annotationMode:{value:2,kind:g.VIEWER+g.PREFERENCE},cursorToolOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},defaultZoomValue:{value:"",kind:g.VIEWER+g.PREFERENCE},disableHistory:{value:!1,kind:g.VIEWER},disablePageLabels:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePermissions:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:g.VIEWER+g.PREFERENCE},enableScripting:{value:!0,kind:g.VIEWER+g.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:g.VIEWER},externalLinkTarget:{value:0,kind:g.VIEWER+g.PREFERENCE},historyUpdateUrl:{value:!1,kind:g.VIEWER+g.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},imageResourcesPath:{value:"./images/",kind:g.VIEWER},maxCanvasPixels:{value:16777216,kind:g.VIEWER},forcePageColors:{value:!1,kind:g.VIEWER+g.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:g.VIEWER+g.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:g.VIEWER+g.PREFERENCE},pdfBugEnabled:{value:!1,kind:g.VIEWER+g.PREFERENCE},printResolution:{value:150,kind:g.VIEWER},sidebarViewOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},scrollModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},spreadModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},textLayerMode:{value:1,kind:g.VIEWER+g.PREFERENCE},useOnlyCssZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},viewerCssTheme:{value:0,kind:g.VIEWER+g.PREFERENCE},viewOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},cMapPacked:{value:!0,kind:g.API},cMapUrl:{value:"../web/cmaps/",kind:g.API},disableAutoFetch:{value:!1,kind:g.API+g.PREFERENCE},disableFontFace:{value:!1,kind:g.API+g.PREFERENCE},disableRange:{value:!1,kind:g.API+g.PREFERENCE},disableStream:{value:!1,kind:g.API+g.PREFERENCE},docBaseUrl:{value:"",kind:g.API},enableXfa:{value:!0,kind:g.API+g.PREFERENCE},fontExtraProperties:{value:!1,kind:g.API},isEvalSupported:{value:!0,kind:g.API},maxImageSize:{value:-1,kind:g.API},pdfBug:{value:!1,kind:g.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:g.API},verbosity:{value:1,kind:g.API},workerPort:{value:null,kind:g.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:g.WORKER}};b.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:g.VIEWER},b.disablePreferences={value:!1,kind:g.VIEWER},b.locale={value:navigator.language||"en-US",kind:g.VIEWER},b.renderer={value:"canvas",kind:g.VIEWER+g.PREFERENCE},b.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:g.VIEWER};const _=Object.create(null);c.AppOptions=class S{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(m){const h=_[m];if(void 0!==h)return h;const C=b[m];return void 0!==C?l[m]??C.value:void 0}static getAll(m=null){const h=Object.create(null);for(const C in b){const v=b[C];if(m){if(!(m&v.kind))continue;if(m===g.PREFERENCE){const E=v.value,A=typeof E;if("boolean"===A||"string"===A||"number"===A&&Number.isInteger(E)){h[C]=E;continue}throw new Error(`Invalid type for preference: ${C}`)}}const M=_[C];h[C]=void 0!==M?M:l[C]??v.value}return h}static set(m,h){_[m]=h}static setAll(m){for(const h in m)_[h]=m[h]}static remove(m){delete _[m]}static _hasUserOptions(){return Object.keys(_).length>0}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.TextAccessibilityManager=void 0;var g=l(7);class b{#e=!1;#t=null;#n=new Map;#r=new Map;setTextMapping(S){this.#t=S}static#o(S,y){const m=S.getBoundingClientRect(),h=y.getBoundingClientRect();if(0===m.width&&0===m.height)return 1;if(0===h.width&&0===h.height)return-1;const M=m.y+m.height/2,T=h.y+h.height/2;return M<=h.y&&T>=m.y+m.height?-1:T<=m.y&&M>=h.y+h.height?1:m.x+m.width/2-(h.x+h.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(b.#o),this.#n.size>0){const S=this.#t;for(const[y,m]of this.#n)document.getElementById(y)?this.#c(y,S[m]):this.#n.delete(y)}for(const[S,y]of this.#r)this.addPointerInTextLayer(S,y);this.#r.clear()}disable(){this.#e&&(this.#r.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(S){if(!this.#e)return void this.#r.delete(S);const y=this.#t;if(!y||0===y.length)return;const{id:m}=S,h=this.#n.get(m);if(void 0===h)return;const C=y[h];this.#n.delete(m);let v=C.getAttribute("aria-owns");v?.includes(m)&&(v=v.split(" ").filter(M=>M!==m).join(" "),v?C.setAttribute("aria-owns",v):(C.removeAttribute("aria-owns"),C.setAttribute("role","presentation")))}#c(S,y){const m=y.getAttribute("aria-owns");m?.includes(S)||y.setAttribute("aria-owns",m?`${m} ${S}`:S),y.removeAttribute("role")}addPointerInTextLayer(S,y){const{id:m}=S;if(!m)return;if(!this.#e)return void this.#r.set(S,y);y&&this.removePointerInTextLayer(S);const h=this.#t;if(!h||0===h.length)return;const C=(0,g.binarySearchFirstItem)(h,M=>b.#o(S,M)<0),v=Math.max(0,C-1);this.#c(m,h[v]),this.#n.set(m,v)}moveElementInDOM(S,y,m,h){if(this.addPointerInTextLayer(m,h),!S.hasChildNodes())return void S.append(y);const C=Array.from(S.childNodes).filter(E=>E!==y);if(0===C.length)return;const v=m||y,M=(0,g.binarySearchFirstItem)(C,E=>b.#o(v,E)<0);0===M?C[0].before(y):C[M-1].after(y)}}c.TextAccessibilityManager=b},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFRenderingQueue=void 0;var g=l(3),b=l(7);c.PDFRenderingQueue=class S{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(m){this.pdfViewer=m}setThumbnailViewer(m){this.pdfThumbnailViewer=m}isHighestPriority(m){return this.highestPriorityPage===m.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(m){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(m)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(m,h,C,v=!1){const M=m.views,E=M.length;if(0===E)return null;for(let I=0;IE){const I=m.ids;for(let L=1,O=T-A;L{this.renderHighestPriority()}).catch(h=>{h instanceof g.RenderingCancelledException||console.error(`renderView: "${h}"`)})}return!0}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.TextHighlighter=void 0,c.TextHighlighter=class l{constructor({findController:b,eventBus:_,pageIndex:S}){this.findController=b,this.matches=[],this.eventBus=_,this.pageIdx=S,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(b,_){this.textDivs=b,this.textContentItemsStr=_}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=b=>{(b.pageIndex===this.pageIdx||-1===b.pageIndex)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(b,_){if(!b)return[];const{textContentItemsStr:S}=this;let y=0,m=0;const h=S.length-1,C=[];for(let v=0,M=b.length;v=m+S[y].length;)m+=S[y].length,y++;y===S.length&&console.error("Could not find a matching mapping");const A={begin:{divIdx:y,offset:E-m}};for(E+=_[v];y!==h&&E>m+S[y].length;)m+=S[y].length,y++;A.end={divIdx:y,offset:E-m},C.push(A)}return C}_renderMatches(b){if(0===b.length)return;const{findController:_,pageIdx:S}=this,{textContentItemsStr:y,textDivs:m}=this,h=S===_.selected.pageIdx,C=_.selected.matchIdx;let M=null;function A(I,L){const O=I.divIdx;return m[O].textContent="",T(O,0,I.offset,L)}function T(I,L,O,z){let F=m[I];if(F.nodeType===Node.TEXT_NODE){const ce=document.createElement("span");F.before(ce),ce.append(F),m[I]=ce,F=ce}const q=y[I].substring(L,O),X=document.createTextNode(q);if(z){const ce=document.createElement("span");return ce.className=`${z} appended`,ce.append(X),F.append(ce),z.includes("selected")?ce.offsetLeft:0}return F.append(X),0}let R=C,N=R+1;if(_.state.highlightAll)R=0,N=b.length;else if(!h)return;for(let I=R;I{Object.defineProperty(c,"__esModule",{value:!0}),c.DownloadManager=void 0;var g=l(3);function b(S,y){const m=document.createElement("a");if(!m.click)throw new Error('DownloadManager: "a.click()" is not supported.');m.href=S,m.target="_parent","download"in m&&(m.download=y),(document.body||document.documentElement).append(m),m.click(),m.remove()}c.DownloadManager=class _{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(y,m){(0,g.createValidAbsoluteUrl)(y,"http://example.com")?b(y+"#pdfjs.action=download",m):console.error(`downloadUrl - not a valid URL: ${y}`)}downloadData(y,m,h){b(URL.createObjectURL(new Blob([y],{type:h})),m)}openOrDownloadData(y,m,h){const C=(0,g.isPdfFile)(h),v=C?"application/pdf":"";if(C){let E,M=this._openBlobUrls.get(y);M||(M=URL.createObjectURL(new Blob([m],{type:v})),this._openBlobUrls.set(y,M)),E="?file="+encodeURIComponent(M+"#"+h);try{return window.open(E),!0}catch(A){console.error(`openOrDownloadData: ${A}`),URL.revokeObjectURL(M),this._openBlobUrls.delete(y)}}return this.downloadData(m,h,v),!1}download(y,m,h){b(URL.createObjectURL(y),h)}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.WaitOnType=c.EventBus=c.AutomationEventBus=void 0,c.waitOnEventOrTimeout=function g({target:S,name:y,delay:m=0}){return new Promise(function(h,C){if("object"!=typeof S||!y||"string"!=typeof y||!(Number.isInteger(m)&&m>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function v(T){S instanceof b?S._off(y,M):S.removeEventListener(y,M),A&&clearTimeout(A),h(T)}const M=v.bind(null,l.EVENT);S instanceof b?S._on(y,M):S.addEventListener(y,M);const E=v.bind(null,l.TIMEOUT),A=setTimeout(E,m)})};const l={EVENT:"event",TIMEOUT:"timeout"};c.WaitOnType=l;class b{constructor(){this._listeners=Object.create(null)}on(y,m,h=null){this._on(y,m,{external:!0,once:h?.once})}off(y,m,h=null){this._off(y,m,{external:!0,once:h?.once})}dispatch(y,m){const h=this._listeners[y];if(!h||0===h.length)return;let C;for(const{listener:v,external:M,once:E}of h.slice(0))E&&this._off(y,v),M?(C||=[]).push(v):v(m);if(C){for(const v of C)v(m);C=null}}_on(y,m,h=null){(this._listeners[y]||=[]).push({listener:m,external:!0===h?.external,once:!0===h?.once})}_off(y,m,h=null){const C=this._listeners[y];if(C)for(let v=0,M=C.length;v{Object.defineProperty(c,"__esModule",{value:!0}),c.GenericL10n=void 0,l(21);var g=l(4);const b=document.webL10n;c.GenericL10n=class _{constructor(y){this._lang=y,this._ready=new Promise((m,h)=>{b.setLanguage((0,g.fixupLangCode)(y),()=>{m(b)})})}getLanguage(){var y=this;return n(function*(){return(yield y._ready).getLanguage()})()}getDirection(){var y=this;return n(function*(){return(yield y._ready).getDirection()})()}get(y,m=null,h=(0,g.getL10nFallback)(y,m)){var C=this;return n(function*(){return(yield C._ready).get(y,m,h)})()}translate(y){var m=this;return n(function*(){return(yield m._ready).translate(y)})()}}},()=>{document.webL10n=function(e,c,l){var g={},b="",_="textContent",S="",y={},m="loading",h=!0;function A(ce,K,ne){K=K||function(ae){},ne=ne||function(){};var Y=new XMLHttpRequest;Y.open("GET",ce,h),Y.overrideMimeType&&Y.overrideMimeType("text/plain; charset=utf-8"),Y.onreadystatechange=function(){4==Y.readyState&&(200==Y.status||0===Y.status?K(Y.responseText):ne())},Y.onerror=ne,Y.ontimeout=ne;try{Y.send(null)}catch{ne()}}function R(ce,K){ce&&(ce=ce.toLowerCase()),K=K||function(){},function N(){g={},b="",S=""}(),S=ce;var ne=function C(){return c.querySelectorAll('link[type="application/l10n"]')}(),Y=ne.length;if(0!==Y){var W,ee=0;W=function(){++ee>=Y&&(K(),m="complete")};for(var G=0;G0?(G=J.substring(0,be),de=J.substring(be+1)):(G=J,de=_),g[G]||(g[G]={}),g[G][de]=ee[J]}ne&&ne()})},Y)}(Ae,ye,le,function(){console.warn(Ae+" not found."),console.warn('"'+ye+'" resource not found'),S="",le()})}}}function L(ce,K,ne){var Y=g[ce];if(!Y){if(console.warn("#"+ce+" is undefined."),!ne)return null;Y=ne}var H={};for(var ae in Y){var re=Y[ae];re=z(re=O(re,K,ce,ae),K,ce),H[ae]=re}return H}function O(ce,K,ne,Y){var ae=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(ce);if(!ae||!ae.length)return ce;var ee,re=ae[1],W=ae[2];return K&&W in K?ee=K[W]:W in g&&(ee=g[W]),re in y&&(ce=(0,y[re])(ce,ee,ne,Y)),ce}function z(ce,K,ne){return ce.replace(/\{\{\s*(.+?)\s*\}\}/g,function(H,ae){return K&&ae in K?K[ae]:ae in g?g[ae]:(console.log("argument {{"+ae+"}} for #"+ne+" is undefined."),H)})}function F(ce){var K=function E(ce){if(!ce)return{};var K=ce.getAttribute("data-l10n-id"),ne=ce.getAttribute("data-l10n-args"),Y={};if(ne)try{Y=JSON.parse(ne)}catch{console.warn("could not parse arguments for #"+K)}return{id:K,args:Y}}(ce);if(K.id){var ne=L(K.id,K.args);if(!ne)return void console.warn("#"+K.id+" is undefined.");if(ne[_]){if(0===function q(ce){if(ce.children)return ce.children.length;if(typeof ce.childElementCount<"u")return ce.childElementCount;for(var K=0,ne=0;ne0&&(H=ce.substring(Y+1),ce=ce.substring(0,Y)),ne&&((ae={})[H]=ne);var re=L(ce,K,ae);return re&&H in re?re[H]:"{{"+ce+"}}"},getData:function(){return g},getText:function(){return b},getLanguage:function(){return S},setLanguage:function(ce,K){R(ce,function(){K&&K()})},getDirection:function(){var K=S.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(K)>=0?"rtl":"ltr"},translate:function X(ce){for(var K=function M(ce){return ce?ce.querySelectorAll("*[data-l10n-id]"):[]}(ce=ce||c.documentElement),ne=K.length,Y=0;Y{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFFindController=c.FindState=void 0;var g=l(7),b=l(3),_=l(23);const S={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};c.FindState=S;const C={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},v=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),M=[...v.values()].map(ce=>String.fromCharCode(ce)).join(""),E=new RegExp("\\p{M}+","gu"),A=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),T=new RegExp("([^\\p{M}])\\p{M}*$","u"),R=new RegExp("^\\p{M}*([^\\p{M}])","u"),N=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,I=new Map;let O=null,z=null;function F(ce){const K=[];let ne,Y;for(;null!==(ne=N.exec(ce));){let{index:Ae}=ne;for(const ye of ne[0]){let le=I.get(ye);le||(le=ye.normalize("NFD").length,I.set(ye,le)),K.push([le,Ae++])}}if(0===K.length&&O)Y=O;else if(K.length>0&&z)Y=z;else{const ye=`([${Object.keys(C).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;Y=0===K.length?O=new RegExp(ye+"|(\\u0000)","gum"):z=new RegExp(ye+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const H=[];for(;null!==(ne=E.exec(ce));)H.push([ne[0].length,ne.index]);let ae=ce.normalize("NFD");const re=[[0,0]];let W=0,ee=0,J=0,G=0,de=0,be=!1;return ae=ae.replace(Y,(Ae,ye,le,Me,$e,qe,tt)=>{if(tt-=G,ye){const mt=C[Ae],st=mt.length;for(let ft=1;ftW[0]>=Y);ce[ae][0]>Y&&--ae;let re=(0,g.binarySearchFirstItem)(ce,W=>W[0]>=H,ae);return ce[re][0]>H&&--re,[Y+ce[ae][1],ne+ce[re][1]-ce[ae][1]]}c.PDFFindController=class X{constructor({linkService:K,eventBus:ne}){this._linkService=K,this._eventBus=ne,this.#t(),ne._on("find",this.#e.bind(this)),ne._on("findbarclose",this.#_.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(K){this._pdfDocument&&this.#t(),K&&(this._pdfDocument=K,this._firstPageCapability.resolve())}#e(K){if(!K)return;const ne=this._pdfDocument,{type:Y}=K;(null===this._state||this.#r(K))&&(this._dirtyMatch=!0),this._state=K,"highlightallchange"!==Y&&this.#d(S.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||ne&&this._pdfDocument!==ne)return;this.#h();const H=!this._highlightMatches,ae=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),Y?this._dirtyMatch?this.#s():"again"===Y?(this.#s(),H&&this._state.highlightAll&&this.#l()):"highlightallchange"===Y?(ae?this.#s():this._highlightMatches=!0,this.#l()):this.#s():this._findTimeout=setTimeout(()=>{this.#s(),this._findTimeout=null},250)})}scrollMatchIntoView({element:K=null,selectedLeft:ne=0,pageIndex:Y=-1,matchIndex:H=-1}){this._scrollMatches&&K&&-1!==H&&H===this._selected.matchIdx&&-1!==Y&&Y===this._selected.pageIdx&&(this._scrollMatches=!1,(0,g.scrollIntoView)(K,{top:-50,left:ne+-400},!0))}#t(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,b.createPromiseCapability)()}get#n(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=F(this._state.query)),this._normalizedQuery}#r(K){if(K.query!==this._state.query)return!0;switch(K.type){case"again":const ne=this._selected.pageIdx+1,Y=this._linkService;return ne>=1&&ne<=Y.pagesCount&&ne!==Y.page&&!Y.isPageVisible(ne);case"highlightallchange":return!1}return!0}#o(K,ne,Y){let H=K.slice(0,ne).match(T);if(H){const ae=K.charCodeAt(ne),re=H[1].charCodeAt(0);if((0,_.getCharacterType)(ae)===(0,_.getCharacterType)(re))return!1}if(H=K.slice(ne+Y).match(R),H){const ae=K.charCodeAt(ne+Y-1),re=H[1].charCodeAt(0);if((0,_.getCharacterType)(ae)===(0,_.getCharacterType)(re))return!1}return!0}#c(K,ne,Y,H){const ae=[],re=[],W=this._pageDiffs[Y];let ee;for(;null!==(ee=K.exec(H));){if(ne&&!this.#o(H,ee.index,ee[0].length))continue;const[J,G]=q(W,ee.index,ee[0].length);G&&(ae.push(J),re.push(G))}this._pageMatches[Y]=ae,this._pageMatchesLength[Y]=re}#a(K,ne){const{matchDiacritics:Y}=this._state;let H=!1;return(K=K.replace(A,(re,W,ee,J,G,de)=>W?`[ ]*\\${W}[ ]*`:ee?`[ ]*${ee}[ ]*`:J?"[ ]+":Y?G||de:G?v.has(G.charCodeAt(0))?G:"":ne?(H=!0,`${de}\\p{M}*`):de)).endsWith("[ ]*")&&(K=K.slice(0,K.length-4)),Y&&ne&&(H=!0,K=`${K}(?=[${M}]|[^\\p{M}]|$)`),[H,K]}#i(K){let ne=this.#n;if(0===ne.length)return;const{caseSensitive:Y,entireWord:H,phraseSearch:ae}=this._state,re=this._pageContents[K],W=this._hasDiacritics[K];let ee=!1;if(ae)[ee,ne]=this.#a(ne,W);else{const de=ne.match(/\S+/g);de&&(ne=de.sort().reverse().map(be=>{const[Ae,ye]=this.#a(be,W);return ee||=Ae,`(${ye})`}).join("|"))}ne=new RegExp(ne,`g${ee?"u":""}${Y?"":"i"}`),this.#c(ne,H,K,re),this._state.highlightAll&&this.#u(K),this._resumePageIdx===K&&(this._resumePageIdx=null,this.#f());const G=this._pageMatches[K].length;G>0&&(this._matchesCountTotal+=G,this.#y())}#h(){if(this._extractTextPromises.length>0)return;let K=Promise.resolve();for(let ne=0,Y=this._linkService.pagesCount;nethis._pdfDocument.getPage(ne+1).then(ae=>ae.getTextContent()).then(ae=>{const re=[];for(const W of ae.items)re.push(W.str),W.hasEOL&&re.push("\n");[this._pageContents[ne],this._pageDiffs[ne],this._hasDiacritics[ne]]=F(re.join("")),H.resolve()},ae=>{console.error(`Unable to get text content for page ${ne+1}`,ae),this._pageContents[ne]="",this._pageDiffs[ne]=null,this._hasDiacritics[ne]=!1,H.resolve()}))}}#u(K){this._scrollMatches&&this._selected.pageIdx===K&&(this._linkService.page=K+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:K})}#l(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#s(){const K=this._state.findPrevious,ne=this._linkService.page-1,Y=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=ne,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this.#l();for(let ae=0;ae{this._pendingFindMatches.delete(ae),this.#i(ae)}))}if(""===this.#n)return void this.#d(S.FOUND);if(this._resumePageIdx)return;const H=this._offset;if(this._pagesToSearch=Y,null!==H.matchIdx){if(!K&&H.matchIdx+10)return H.matchIdx=K?H.matchIdx-1:H.matchIdx+1,void this.#p(!0);this.#v(K)}this.#f()}#g(K){const ne=this._offset,Y=K.length,H=this._state.findPrevious;return Y?(ne.matchIdx=H?Y-1:0,this.#p(!0),!0):(this.#v(H),!!(ne.wrapped&&(ne.matchIdx=null,this._pagesToSearch<0))&&(this.#p(!1),!0))}#f(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let K=null;do{const ne=this._offset.pageIdx;if(K=this._pageMatches[ne],!K){this._resumePageIdx=ne;break}}while(!this.#g(K))}#v(K){const ne=this._offset,Y=this._linkService.pagesCount;ne.pageIdx=K?ne.pageIdx-1:ne.pageIdx+1,ne.matchIdx=null,this._pagesToSearch--,(ne.pageIdx>=Y||ne.pageIdx<0)&&(ne.pageIdx=K?Y-1:0,ne.wrapped=!0)}#p(K=!1){let ne=S.NOT_FOUND;const Y=this._offset.wrapped;if(this._offset.wrapped=!1,K){const H=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,ne=Y?S.WRAPPED:S.FOUND,-1!==H&&H!==this._selected.pageIdx&&this.#u(H)}this.#d(ne,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#u(this._selected.pageIdx))}#_(K){const ne=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||ne&&this._pdfDocument!==ne||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#d(S.FOUND),this._highlightMatches=!1,this.#l())})}#S(){const{pageIdx:K,matchIdx:ne}=this._selected;let Y=0,H=this._matchesCountTotal;if(-1!==ne){for(let ae=0;aeH)&&(Y=H=0),{current:Y,total:H}}#y(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#S()})}#d(K,ne=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:K,previous:ne,matchesCount:this.#S(),rawQuery:this._state?.query??null})}}},(e,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.CharacterType=void 0,c.getCharacterType=function E(A){return function g(A){return A<11904}(A)?function b(A){return 0==(65408&A)}(A)?function y(A){return 32===A||9===A||13===A||10===A}(A)?l.SPACE:function _(A){return A>=97&&A<=122||A>=65&&A<=90}(A)||function S(A){return A>=48&&A<=57}(A)||95===A?l.ALPHA_LETTER:l.PUNCT:function M(A){return 3584==(65408&A)}(A)?l.THAI_LETTER:160===A?l.SPACE:l.ALPHA_LETTER:function m(A){return A>=13312&&A<=40959||A>=63744&&A<=64255}(A)?l.HAN_LETTER:function h(A){return A>=12448&&A<=12543}(A)?l.KATAKANA_LETTER:function C(A){return A>=12352&&A<=12447}(A)?l.HIRAGANA_LETTER:function v(A){return A>=65376&&A<=65439}(A)?l.HALFWIDTH_KATAKANA_LETTER:l.ALPHA_LETTER};const l={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};c.CharacterType=l},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFHistory=void 0,c.isDestArraysEqual=v,c.isDestHashesEqual=C;var g=l(7),b=l(19);function m(){return document.location.hash}function C(M,E){return"string"==typeof M&&"string"==typeof E&&(M===E||(0,g.parseQueryString)(M).get("nameddest")===E)}function v(M,E){function A(T,R){if(typeof T!=typeof R||Array.isArray(T)||Array.isArray(R))return!1;if(null!==T&&"object"==typeof T&&null!==R){if(Object.keys(T).length!==Object.keys(R).length)return!1;for(const N in T)if(!A(T[N],R[N]))return!1;return!0}return T===R||Number.isNaN(T)&&Number.isNaN(R)}if(!Array.isArray(M)||!Array.isArray(E)||M.length!==E.length)return!1;for(let T=0,R=M.length;T{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",T=>{this._isPagesLoaded=!!T.pagesCount},{once:!0})})}initialize({fingerprint:E,resetHistory:A=!1,updateUrl:T=!1}){if(!E||"string"!=typeof E)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const R=""!==this._fingerprint&&this._fingerprint!==E;this._fingerprint=E,this._updateUrl=!0===T,this._initialized=!0,this._bindEvents();const N=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=m(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(N,!0)||A){const{hash:L,page:O,rotation:z}=this._parseCurrentHash(!0);return!L||R||A?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:L,page:O,rotation:z},!0)}const I=N.destination;this._updateInternalState(I,N.uid,!0),void 0!==I.rotation&&(this._initialRotation=I.rotation),I.dest?(this._initialBookmark=JSON.stringify(I.dest),this._destination.page=null):I.hash?this._initialBookmark=I.hash:I.page&&(this._initialBookmark=`page=${I.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:E=null,explicitDest:A,pageNumber:T}){if(!this._initialized)return;if(E&&"string"!=typeof E)return void console.error(`PDFHistory.push: "${E}" is not a valid namedDest parameter.`);if(!Array.isArray(A))return void console.error(`PDFHistory.push: "${A}" is not a valid explicitDest parameter.`);if(!this._isValidPage(T)&&(null!==T||this._destination))return void console.error(`PDFHistory.push: "${T}" is not a valid pageNumber parameter.`);const R=E||JSON.stringify(A);if(!R)return;let N=!1;if(this._destination&&(C(this._destination.hash,R)||v(this._destination.dest,A))){if(this._destination.page)return;N=!0}this._popStateInProgress&&!N||(this._pushOrReplaceState({dest:A,hash:R,page:T,rotation:this.linkService.rotation},N),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(E){if(this._initialized){if(!this._isValidPage(E))return void console.error(`PDFHistory.pushPage: "${E}" is not a valid page number.`);this._destination?.page!==E&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${E}`,page:E,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const E=window.history.state;this._isValidState(E)&&E.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const E=window.history.state;this._isValidState(E)&&E.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(E,A=!1){const T=A||!this._destination,R={fingerprint:this._fingerprint,uid:T?this._uid:this._uid+1,destination:E};let N;if(this._updateInternalState(E,R.uid),this._updateUrl&&E?.hash){const I=document.location.href.split("#")[0];I.startsWith("file://")||(N=`${I}#${E.hash}`)}T?window.history.replaceState(R,"",N):window.history.pushState(R,"",N)}_tryPushCurrentPosition(E=!1){if(!this._position)return;let A=this._position;if(E&&(A=Object.assign(Object.create(null),this._position),A.temporary=!0),!this._destination)return void this._pushOrReplaceState(A);if(this._destination.temporary)return void this._pushOrReplaceState(A,!0);if(this._destination.hash===A.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let T=!1;if(this._destination.page>=A.first&&this._destination.page<=A.page){if(void 0!==this._destination.dest||!this._destination.first)return;T=!0}this._pushOrReplaceState(A,T)}_isValidPage(E){return Number.isInteger(E)&&E>0&&E<=this.linkService.pagesCount}_isValidState(E,A=!1){if(!E)return!1;if(E.fingerprint!==this._fingerprint){if(!A)return!1;{if("string"!=typeof E.fingerprint||E.fingerprint.length!==this._fingerprint.length)return!1;const[T]=performance.getEntriesByType("navigation");if("reload"!==T?.type)return!1}}return!(!Number.isInteger(E.uid)||E.uid<0||null===E.destination||"object"!=typeof E.destination)}_updateInternalState(E,A,T=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),T&&E?.temporary&&delete E.temporary,this._destination=E,this._uid=A,this._maxUid=Math.max(this._maxUid,A),this._numPositionUpdates=0}_parseCurrentHash(E=!1){const A=unescape(m()).substring(1),T=(0,g.parseQueryString)(A),R=T.get("nameddest")||"";let N=0|T.get("page");return(!this._isValidPage(N)||E&&R.length>0)&&(N=null),{hash:A,page:N,rotation:this.linkService.rotation}}_updateViewarea({location:E}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:E.pdfOpenParams.substring(1),page:this.linkService.page,first:E.pageNumber,rotation:E.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},1e3))}_popState({state:E}){const A=m(),T=this._currentHash!==A;if(this._currentHash=A,!E){this._uid++;const{hash:N,page:I,rotation:L}=this._parseCurrentHash();return void this._pushOrReplaceState({hash:N,page:I,rotation:L},!0)}if(!this._isValidState(E))return;this._popStateInProgress=!0,T&&(this._blockHashChange++,(0,b.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const R=E.destination;this._updateInternalState(R,E.uid,!0),(0,g.isValidRotation)(R.rotation)&&(this.linkService.rotation=R.rotation),R.dest?this.linkService.goToDestination(R.dest):R.hash?this.linkService.setHash(R.hash):R.page&&(this.linkService.page=R.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PDFScriptingManager=void 0;var g=l(7),b=l(3);c.PDFScriptingManager=class _{constructor({eventBus:y,sandboxBundleSrc:m=null,scriptingFactory:h=null,docPropertiesLookup:C=null}){this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=y,this._sandboxBundleSrc=m,this._scriptingFactory=h,this._docPropertiesLookup=C,this._scriptingFactory||window.addEventListener("updatefromsandbox",v=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:v.detail})})}setViewer(y){this._pdfViewer=y}setDocument(y){var m=this;return n(function*(){if(m._pdfDocument&&(yield m._destroyScripting()),m._pdfDocument=y,!y)return;const[h,C,v]=yield Promise.all([y.getFieldObjects(),y.getCalculationOrderIds(),y.getJSActions()]);if(h||v){if(y===m._pdfDocument){try{m._scripting=m._createScripting()}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield m._destroyScripting())}m._internalEvents.set("updatefromsandbox",M=>{M?.source===window&&m._updateFromSandbox(M.detail)}),m._internalEvents.set("dispatcheventinsandbox",M=>{m._scripting?.dispatchEventInSandbox(M.detail)}),m._internalEvents.set("pagechanging",({pageNumber:M,previous:E})=>{M!==E&&(m._dispatchPageClose(E),m._dispatchPageOpen(M))}),m._internalEvents.set("pagerendered",({pageNumber:M})=>{m._pageOpenPending.has(M)&&M===m._pdfViewer.currentPageNumber&&m._dispatchPageOpen(M)}),m._internalEvents.set("pagesdestroy",function(){var M=n(function*(E){yield m._dispatchPageClose(m._pdfViewer.currentPageNumber),yield m._scripting?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),m._closeCapability?.resolve()});return function(E){return M.apply(this,arguments)}}()),m._domEvents.set("mousedown",M=>{m._mouseState.isDown=!0}),m._domEvents.set("mouseup",M=>{m._mouseState.isDown=!1});for(const[M,E]of m._internalEvents)m._eventBus._on(M,E);for(const[M,E]of m._domEvents)window.addEventListener(M,E,!0);try{const M=yield m._getDocProperties();if(y!==m._pdfDocument)return;yield m._scripting.createSandbox({objects:h,calculationOrder:C,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...M,actions:v}}),m._eventBus.dispatch("sandboxcreated",{source:m})}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield m._destroyScripting())}yield m._scripting?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield m._dispatchPageOpen(m._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{y===m._pdfDocument&&(m._ready=!0)})}}else yield m._destroyScripting()})()}dispatchWillSave(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"WillPrint"})})()}dispatchDidPrint(y){var m=this;return n(function*(){return m._scripting?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get mouseState(){return this._mouseState}get destroyPromise(){return this._destroyCapability?.promise||null}get ready(){return this._ready}get _internalEvents(){return(0,b.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,b.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,b.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,b.shadow)(this,"_visitedPages",new Map)}_updateFromSandbox(y){var m=this;return n(function*(){const h=m._pdfViewer.isInPresentationMode||m._pdfViewer.isChangingPresentationMode,{id:C,siblings:v,command:M,value:E}=y;if(!C){switch(M){case"clear":console.clear();break;case"error":console.error(E);break;case"layout":if(h)return;const T=(0,g.apiPageLayoutToViewerModes)(E);m._pdfViewer.spreadMode=T.spreadMode;break;case"page-num":m._pdfViewer.currentPageNumber=E+1;break;case"print":yield m._pdfViewer.pagesPromise,m._eventBus.dispatch("print",{source:m});break;case"println":console.log(E);break;case"zoom":if(h)return;m._pdfViewer.currentScaleValue=E;break;case"SaveAs":m._eventBus.dispatch("download",{source:m});break;case"FirstPage":m._pdfViewer.currentPageNumber=1;break;case"LastPage":m._pdfViewer.currentPageNumber=m._pdfViewer.pagesCount;break;case"NextPage":m._pdfViewer.nextPage();break;case"PrevPage":m._pdfViewer.previousPage();break;case"ZoomViewIn":if(h)return;m._pdfViewer.increaseScale();break;case"ZoomViewOut":if(h)return;m._pdfViewer.decreaseScale()}return}if(h&&y.focus)return;delete y.id,delete y.siblings;const A=v?[C,...v]:[C];for(const T of A){const R=document.querySelector(`[data-element-id="${T}"]`);R?R.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:y})):m._pdfDocument?.annotationStorage.setValue(T,y)}})()}_dispatchPageOpen(y,m=!1){var h=this;return n(function*(){const C=h._pdfDocument,v=h._visitedPages;if(m&&(h._closeCapability=(0,b.createPromiseCapability)()),!h._closeCapability)return;const M=h._pdfViewer.getPageView(y-1);if(M?.renderingState!==g.RenderingStates.FINISHED)return void h._pageOpenPending.add(y);h._pageOpenPending.delete(y);const E=n(function*(){const A=yield v.has(y)?null:M.pdfPage?.getJSActions();C===h._pdfDocument&&(yield h._scripting?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:y,actions:A}))})();v.set(y,E)})()}_dispatchPageClose(y){var m=this;return n(function*(){const h=m._pdfDocument,C=m._visitedPages;if(!m._closeCapability||m._pageOpenPending.has(y))return;const v=C.get(y);v&&(C.set(y,null),yield v,h===m._pdfDocument&&(yield m._scripting?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:y})))})()}_getDocProperties(){var y=this;return n(function*(){if(y._docPropertiesLookup)return y._docPropertiesLookup(y._pdfDocument);const{docPropertiesLookup:m}=l(26);return m(y._pdfDocument)})()}_createScripting(){if(this._destroyCapability=(0,b.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:y}=l(26);return new y(this._sandboxBundleSrc)}_destroyScripting(){var y=this;return n(function*(){if(!y._scripting)return y._pdfDocument=null,void y._destroyCapability?.resolve();y._closeCapability&&(yield Promise.race([y._closeCapability.promise,new Promise(m=>{setTimeout(m,1e3)})]).catch(m=>{}),y._closeCapability=null),y._pdfDocument=null;try{yield y._scripting.destroySandbox()}catch{}for(const[m,h]of y._internalEvents)y._eventBus._off(m,h);y._internalEvents.clear();for(const[m,h]of y._domEvents)window.removeEventListener(m,h,!0);y._domEvents.clear(),y._pageOpenPending.clear(),y._visitedPages.clear(),y._scripting=null,delete y._mouseState.isDown,y._ready=!1,y._destroyCapability?.resolve()})()}}},(e,c,l)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.GenericScripting=void 0,c.docPropertiesLookup=function b(y){return _.apply(this,arguments)};var g=l(3);function _(){return(_=n(function*(y){const h="".split("#")[0];let{info:C,metadata:v,contentDispositionFilename:M,contentLength:E}=yield y.getMetadata();if(!E){const{length:A}=yield y.getDownloadInfo();E=A}return{...C,baseURL:h,filesize:E,filename:M||(0,g.getPdfFilenameFromUrl)(""),metadata:v?.getRaw(),authors:v?.get("dc:creator"),numPages:y.numPages,URL:""}})).apply(this,arguments)}c.GenericScripting=class S{constructor(m){this._ready=(0,g.loadScript)(m,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}createSandbox(m){var h=this;return n(function*(){(yield h._ready).create(m)})()}dispatchEventInSandbox(m){var h=this;return n(function*(){const C=yield h._ready;setTimeout(()=>C.dispatchEvent(m),0)})()}destroySandbox(){var m=this;return n(function*(){(yield m._ready).nukeSandbox()})()}}}],d={};function u(e){var c=d[e];if(void 0!==c)return c.exports;var l=d[e]={exports:{}};return i[e](l,l.exports,u),l.exports}var a={};return(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return _.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return c.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return c.DefaultStructTreeLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return c.DefaultTextLayerFactory}}),Object.defineProperty(e,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return c.DefaultXfaLayerFactory}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return S.DownloadManager}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return y.EventBus}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return m.GenericL10n}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return l.LinkTarget}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return h.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return C.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return v.PDFHistory}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return l.PDFLinkService}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return M.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return E.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return b.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return b.PDFViewer}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return g.ProgressBar}}),Object.defineProperty(e,"RenderingStates",{enumerable:!0,get:function(){return g.RenderingStates}}),Object.defineProperty(e,"ScrollMode",{enumerable:!0,get:function(){return g.ScrollMode}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return l.SimpleLinkService}}),Object.defineProperty(e,"SpreadMode",{enumerable:!0,get:function(){return g.SpreadMode}}),Object.defineProperty(e,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return A.StructTreeLayerBuilder}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return T.TextLayerBuilder}}),Object.defineProperty(e,"XfaLayerBuilder",{enumerable:!0,get:function(){return R.XfaLayerBuilder}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return g.parseQueryString}});var c=u(1),l=u(6),g=u(7),b=u(11),_=u(5),S=u(18),y=u(19),m=u(20),h=u(4),C=u(22),v=u(24),M=u(13),E=u(25),A=u(8),T=u(9),R=u(10)})(),a})()},80103:function(ve,f,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(_i,Fi,ei,lr){void 0===lr&&(lr=ei),Object.defineProperty(_i,lr,{enumerable:!0,get:function(){return Fi[ei]}})}:function(_i,Fi,ei,lr){void 0===lr&&(lr=ei),_i[lr]=Fi[ei]}),i=this&&this.__exportStar||function(_i,Fi){for(var ei in _i)"default"!==ei&&!Object.prototype.hasOwnProperty.call(Fi,ei)&&n(Fi,_i,ei)};Object.defineProperty(f,"__esModule",{value:!0}),f.interval=f.iif=f.generate=f.fromEventPattern=f.fromEvent=f.from=f.forkJoin=f.empty=f.defer=f.connectable=f.concat=f.combineLatest=f.bindNodeCallback=f.bindCallback=f.UnsubscriptionError=f.TimeoutError=f.SequenceError=f.ObjectUnsubscribedError=f.NotFoundError=f.EmptyError=f.ArgumentOutOfRangeError=f.firstValueFrom=f.lastValueFrom=f.isObservable=f.identity=f.noop=f.pipe=f.NotificationKind=f.Notification=f.Subscriber=f.Subscription=f.Scheduler=f.VirtualAction=f.VirtualTimeScheduler=f.animationFrameScheduler=f.animationFrame=f.queueScheduler=f.queue=f.asyncScheduler=f.async=f.asapScheduler=f.asap=f.AsyncSubject=f.ReplaySubject=f.BehaviorSubject=f.Subject=f.animationFrames=f.observable=f.ConnectableObservable=f.Observable=void 0,f.filter=f.expand=f.exhaustMap=f.exhaustAll=f.exhaust=f.every=f.endWith=f.elementAt=f.distinctUntilKeyChanged=f.distinctUntilChanged=f.distinct=f.dematerialize=f.delayWhen=f.delay=f.defaultIfEmpty=f.debounceTime=f.debounce=f.count=f.connect=f.concatWith=f.concatMapTo=f.concatMap=f.concatAll=f.combineLatestWith=f.combineLatestAll=f.combineAll=f.catchError=f.bufferWhen=f.bufferToggle=f.bufferTime=f.bufferCount=f.buffer=f.auditTime=f.audit=f.config=f.NEVER=f.EMPTY=f.scheduled=f.zip=f.using=f.timer=f.throwError=f.range=f.race=f.partition=f.pairs=f.onErrorResumeNext=f.of=f.never=f.merge=void 0,f.switchMap=f.switchAll=f.subscribeOn=f.startWith=f.skipWhile=f.skipUntil=f.skipLast=f.skip=f.single=f.shareReplay=f.share=f.sequenceEqual=f.scan=f.sampleTime=f.sample=f.refCount=f.retryWhen=f.retry=f.repeatWhen=f.repeat=f.reduce=f.raceWith=f.publishReplay=f.publishLast=f.publishBehavior=f.publish=f.pluck=f.pairwise=f.onErrorResumeNextWith=f.observeOn=f.multicast=f.min=f.mergeWith=f.mergeScan=f.mergeMapTo=f.mergeMap=f.flatMap=f.mergeAll=f.max=f.materialize=f.mapTo=f.map=f.last=f.isEmpty=f.ignoreElements=f.groupBy=f.first=f.findIndex=f.find=f.finalize=void 0,f.zipWith=f.zipAll=f.withLatestFrom=f.windowWhen=f.windowToggle=f.windowTime=f.windowCount=f.window=f.toArray=f.timestamp=f.timeoutWith=f.timeout=f.timeInterval=f.throwIfEmpty=f.throttleTime=f.throttle=f.tap=f.takeWhile=f.takeUntil=f.takeLast=f.take=f.switchScan=f.switchMapTo=void 0;var d=o(15448);Object.defineProperty(f,"Observable",{enumerable:!0,get:function(){return d.Observable}});var u=o(42416);Object.defineProperty(f,"ConnectableObservable",{enumerable:!0,get:function(){return u.ConnectableObservable}});var a=o(72064);Object.defineProperty(f,"observable",{enumerable:!0,get:function(){return a.observable}});var e=o(72444);Object.defineProperty(f,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var c=o(90120);Object.defineProperty(f,"Subject",{enumerable:!0,get:function(){return c.Subject}});var l=o(60488);Object.defineProperty(f,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var g=o(38640);Object.defineProperty(f,"ReplaySubject",{enumerable:!0,get:function(){return g.ReplaySubject}});var b=o(70408);Object.defineProperty(f,"AsyncSubject",{enumerable:!0,get:function(){return b.AsyncSubject}});var _=o(24860);Object.defineProperty(f,"asap",{enumerable:!0,get:function(){return _.asap}}),Object.defineProperty(f,"asapScheduler",{enumerable:!0,get:function(){return _.asapScheduler}});var S=o(69252);Object.defineProperty(f,"async",{enumerable:!0,get:function(){return S.async}}),Object.defineProperty(f,"asyncScheduler",{enumerable:!0,get:function(){return S.asyncScheduler}});var y=o(72056);Object.defineProperty(f,"queue",{enumerable:!0,get:function(){return y.queue}}),Object.defineProperty(f,"queueScheduler",{enumerable:!0,get:function(){return y.queueScheduler}});var m=o(70232);Object.defineProperty(f,"animationFrame",{enumerable:!0,get:function(){return m.animationFrame}}),Object.defineProperty(f,"animationFrameScheduler",{enumerable:!0,get:function(){return m.animationFrameScheduler}});var h=o(45992);Object.defineProperty(f,"VirtualTimeScheduler",{enumerable:!0,get:function(){return h.VirtualTimeScheduler}}),Object.defineProperty(f,"VirtualAction",{enumerable:!0,get:function(){return h.VirtualAction}});var C=o(25784);Object.defineProperty(f,"Scheduler",{enumerable:!0,get:function(){return C.Scheduler}});var v=o(40576);Object.defineProperty(f,"Subscription",{enumerable:!0,get:function(){return v.Subscription}});var M=o(41596);Object.defineProperty(f,"Subscriber",{enumerable:!0,get:function(){return M.Subscriber}});var E=o(12032);Object.defineProperty(f,"Notification",{enumerable:!0,get:function(){return E.Notification}}),Object.defineProperty(f,"NotificationKind",{enumerable:!0,get:function(){return E.NotificationKind}});var A=o(19512);Object.defineProperty(f,"pipe",{enumerable:!0,get:function(){return A.pipe}});var T=o(48320);Object.defineProperty(f,"noop",{enumerable:!0,get:function(){return T.noop}});var R=o(55184);Object.defineProperty(f,"identity",{enumerable:!0,get:function(){return R.identity}});var N=o(38104);Object.defineProperty(f,"isObservable",{enumerable:!0,get:function(){return N.isObservable}});var I=o(59452);Object.defineProperty(f,"lastValueFrom",{enumerable:!0,get:function(){return I.lastValueFrom}});var L=o(79632);Object.defineProperty(f,"firstValueFrom",{enumerable:!0,get:function(){return L.firstValueFrom}});var O=o(32929);Object.defineProperty(f,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return O.ArgumentOutOfRangeError}});var z=o(51544);Object.defineProperty(f,"EmptyError",{enumerable:!0,get:function(){return z.EmptyError}});var F=o(15496);Object.defineProperty(f,"NotFoundError",{enumerable:!0,get:function(){return F.NotFoundError}});var q=o(92304);Object.defineProperty(f,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return q.ObjectUnsubscribedError}});var X=o(71016);Object.defineProperty(f,"SequenceError",{enumerable:!0,get:function(){return X.SequenceError}});var ce=o(20268);Object.defineProperty(f,"TimeoutError",{enumerable:!0,get:function(){return ce.TimeoutError}});var K=o(9560);Object.defineProperty(f,"UnsubscriptionError",{enumerable:!0,get:function(){return K.UnsubscriptionError}});var ne=o(1856);Object.defineProperty(f,"bindCallback",{enumerable:!0,get:function(){return ne.bindCallback}});var Y=o(78872);Object.defineProperty(f,"bindNodeCallback",{enumerable:!0,get:function(){return Y.bindNodeCallback}});var H=o(60128);Object.defineProperty(f,"combineLatest",{enumerable:!0,get:function(){return H.combineLatest}});var ae=o(24560);Object.defineProperty(f,"concat",{enumerable:!0,get:function(){return ae.concat}});var re=o(7976);Object.defineProperty(f,"connectable",{enumerable:!0,get:function(){return re.connectable}});var W=o(71896);Object.defineProperty(f,"defer",{enumerable:!0,get:function(){return W.defer}});var ee=o(31456);Object.defineProperty(f,"empty",{enumerable:!0,get:function(){return ee.empty}});var J=o(93052);Object.defineProperty(f,"forkJoin",{enumerable:!0,get:function(){return J.forkJoin}});var G=o(38485);Object.defineProperty(f,"from",{enumerable:!0,get:function(){return G.from}});var de=o(85e3);Object.defineProperty(f,"fromEvent",{enumerable:!0,get:function(){return de.fromEvent}});var be=o(46744);Object.defineProperty(f,"fromEventPattern",{enumerable:!0,get:function(){return be.fromEventPattern}});var Ae=o(92560);Object.defineProperty(f,"generate",{enumerable:!0,get:function(){return Ae.generate}});var ye=o(46696);Object.defineProperty(f,"iif",{enumerable:!0,get:function(){return ye.iif}});var le=o(2071);Object.defineProperty(f,"interval",{enumerable:!0,get:function(){return le.interval}});var Me=o(14152);Object.defineProperty(f,"merge",{enumerable:!0,get:function(){return Me.merge}});var $e=o(15672);Object.defineProperty(f,"never",{enumerable:!0,get:function(){return $e.never}});var qe=o(41536);Object.defineProperty(f,"of",{enumerable:!0,get:function(){return qe.of}});var tt=o(9460);Object.defineProperty(f,"onErrorResumeNext",{enumerable:!0,get:function(){return tt.onErrorResumeNext}});var mt=o(15292);Object.defineProperty(f,"pairs",{enumerable:!0,get:function(){return mt.pairs}});var st=o(91792);Object.defineProperty(f,"partition",{enumerable:!0,get:function(){return st.partition}});var ft=o(84048);Object.defineProperty(f,"race",{enumerable:!0,get:function(){return ft.race}});var Qt=o(12384);Object.defineProperty(f,"range",{enumerable:!0,get:function(){return Qt.range}});var bt=o(3312);Object.defineProperty(f,"throwError",{enumerable:!0,get:function(){return bt.throwError}});var Vt=o(34168);Object.defineProperty(f,"timer",{enumerable:!0,get:function(){return Vt.timer}});var sn=o(28684);Object.defineProperty(f,"using",{enumerable:!0,get:function(){return sn.using}});var dn=o(59172);Object.defineProperty(f,"zip",{enumerable:!0,get:function(){return dn.zip}});var wn=o(44232);Object.defineProperty(f,"scheduled",{enumerable:!0,get:function(){return wn.scheduled}});var An=o(31456);Object.defineProperty(f,"EMPTY",{enumerable:!0,get:function(){return An.EMPTY}});var vn=o(15672);Object.defineProperty(f,"NEVER",{enumerable:!0,get:function(){return vn.NEVER}}),i(o(68828),f);var qt=o(90584);Object.defineProperty(f,"config",{enumerable:!0,get:function(){return qt.config}});var ut=o(18380);Object.defineProperty(f,"audit",{enumerable:!0,get:function(){return ut.audit}});var Ue=o(1393);Object.defineProperty(f,"auditTime",{enumerable:!0,get:function(){return Ue.auditTime}});var De=o(42744);Object.defineProperty(f,"buffer",{enumerable:!0,get:function(){return De.buffer}});var Pe=o(57864);Object.defineProperty(f,"bufferCount",{enumerable:!0,get:function(){return Pe.bufferCount}});var Qe=o(42704);Object.defineProperty(f,"bufferTime",{enumerable:!0,get:function(){return Qe.bufferTime}});var Re=o(21964);Object.defineProperty(f,"bufferToggle",{enumerable:!0,get:function(){return Re.bufferToggle}});var lt=o(16323);Object.defineProperty(f,"bufferWhen",{enumerable:!0,get:function(){return lt.bufferWhen}});var He=o(11708);Object.defineProperty(f,"catchError",{enumerable:!0,get:function(){return He.catchError}});var gt=o(25184);Object.defineProperty(f,"combineAll",{enumerable:!0,get:function(){return gt.combineAll}});var dt=o(86576);Object.defineProperty(f,"combineLatestAll",{enumerable:!0,get:function(){return dt.combineLatestAll}});var Mt=o(71480);Object.defineProperty(f,"combineLatestWith",{enumerable:!0,get:function(){return Mt.combineLatestWith}});var nt=o(26608);Object.defineProperty(f,"concatAll",{enumerable:!0,get:function(){return nt.concatAll}});var $t=o(68584);Object.defineProperty(f,"concatMap",{enumerable:!0,get:function(){return $t.concatMap}});var pt=o(38776);Object.defineProperty(f,"concatMapTo",{enumerable:!0,get:function(){return pt.concatMapTo}});var Tt=o(23332);Object.defineProperty(f,"concatWith",{enumerable:!0,get:function(){return Tt.concatWith}});var Ut=o(59056);Object.defineProperty(f,"connect",{enumerable:!0,get:function(){return Ut.connect}});var Zt=o(95572);Object.defineProperty(f,"count",{enumerable:!0,get:function(){return Zt.count}});var Dt=o(42568);Object.defineProperty(f,"debounce",{enumerable:!0,get:function(){return Dt.debounce}});var zt=o(86275);Object.defineProperty(f,"debounceTime",{enumerable:!0,get:function(){return zt.debounceTime}});var Ct=o(14707);Object.defineProperty(f,"defaultIfEmpty",{enumerable:!0,get:function(){return Ct.defaultIfEmpty}});var Pt=o(99592);Object.defineProperty(f,"delay",{enumerable:!0,get:function(){return Pt.delay}});var tn=o(59304);Object.defineProperty(f,"delayWhen",{enumerable:!0,get:function(){return tn.delayWhen}});var bn=o(84204);Object.defineProperty(f,"dematerialize",{enumerable:!0,get:function(){return bn.dematerialize}});var Tn=o(51256);Object.defineProperty(f,"distinct",{enumerable:!0,get:function(){return Tn.distinct}});var nn=o(21544);Object.defineProperty(f,"distinctUntilChanged",{enumerable:!0,get:function(){return nn.distinctUntilChanged}});var tr=o(61544);Object.defineProperty(f,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return tr.distinctUntilKeyChanged}});var Ir=o(51808);Object.defineProperty(f,"elementAt",{enumerable:!0,get:function(){return Ir.elementAt}});var Rr=o(48568);Object.defineProperty(f,"endWith",{enumerable:!0,get:function(){return Rr.endWith}});var ar=o(21592);Object.defineProperty(f,"every",{enumerable:!0,get:function(){return ar.every}});var yr=o(53704);Object.defineProperty(f,"exhaust",{enumerable:!0,get:function(){return yr.exhaust}});var _r=o(34288);Object.defineProperty(f,"exhaustAll",{enumerable:!0,get:function(){return _r.exhaustAll}});var qn=o(44632);Object.defineProperty(f,"exhaustMap",{enumerable:!0,get:function(){return qn.exhaustMap}});var Fn=o(84624);Object.defineProperty(f,"expand",{enumerable:!0,get:function(){return Fn.expand}});var oi=o(39840);Object.defineProperty(f,"filter",{enumerable:!0,get:function(){return oi.filter}});var vr=o(99440);Object.defineProperty(f,"finalize",{enumerable:!0,get:function(){return vr.finalize}});var Mr=o(70939);Object.defineProperty(f,"find",{enumerable:!0,get:function(){return Mr.find}});var Qn=o(69496);Object.defineProperty(f,"findIndex",{enumerable:!0,get:function(){return Qn.findIndex}});var er=o(11848);Object.defineProperty(f,"first",{enumerable:!0,get:function(){return er.first}});var xr=o(17909);Object.defineProperty(f,"groupBy",{enumerable:!0,get:function(){return xr.groupBy}});var Si=o(77392);Object.defineProperty(f,"ignoreElements",{enumerable:!0,get:function(){return Si.ignoreElements}});var en=o(73564);Object.defineProperty(f,"isEmpty",{enumerable:!0,get:function(){return en.isEmpty}});var jn=o(2696);Object.defineProperty(f,"last",{enumerable:!0,get:function(){return jn.last}});var Zn=o(784);Object.defineProperty(f,"map",{enumerable:!0,get:function(){return Zn.map}});var sr=o(89224);Object.defineProperty(f,"mapTo",{enumerable:!0,get:function(){return sr.mapTo}});var si=o(6832);Object.defineProperty(f,"materialize",{enumerable:!0,get:function(){return si.materialize}});var kr=o(34808);Object.defineProperty(f,"max",{enumerable:!0,get:function(){return kr.max}});var ot=o(50304);Object.defineProperty(f,"mergeAll",{enumerable:!0,get:function(){return ot.mergeAll}});var Ot=o(98924);Object.defineProperty(f,"flatMap",{enumerable:!0,get:function(){return Ot.flatMap}});var It=o(33480);Object.defineProperty(f,"mergeMap",{enumerable:!0,get:function(){return It.mergeMap}});var rn=o(73232);Object.defineProperty(f,"mergeMapTo",{enumerable:!0,get:function(){return rn.mergeMapTo}});var hn=o(3380);Object.defineProperty(f,"mergeScan",{enumerable:!0,get:function(){return hn.mergeScan}});var Mn=o(57308);Object.defineProperty(f,"mergeWith",{enumerable:!0,get:function(){return Mn.mergeWith}});var En=o(87832);Object.defineProperty(f,"min",{enumerable:!0,get:function(){return En.min}});var Xn=o(66752);Object.defineProperty(f,"multicast",{enumerable:!0,get:function(){return Xn.multicast}});var zn=o(33752);Object.defineProperty(f,"observeOn",{enumerable:!0,get:function(){return zn.observeOn}});var Er=o(19184);Object.defineProperty(f,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Er.onErrorResumeNextWith}});var Ar=o(74612);Object.defineProperty(f,"pairwise",{enumerable:!0,get:function(){return Ar.pairwise}});var wr=o(64712);Object.defineProperty(f,"pluck",{enumerable:!0,get:function(){return wr.pluck}});var Yn=o(70320);Object.defineProperty(f,"publish",{enumerable:!0,get:function(){return Yn.publish}});var di=o(40360);Object.defineProperty(f,"publishBehavior",{enumerable:!0,get:function(){return di.publishBehavior}});var un=o(64960);Object.defineProperty(f,"publishLast",{enumerable:!0,get:function(){return un.publishLast}});var B=o(23944);Object.defineProperty(f,"publishReplay",{enumerable:!0,get:function(){return B.publishReplay}});var V=o(53424);Object.defineProperty(f,"raceWith",{enumerable:!0,get:function(){return V.raceWith}});var ue=o(39980);Object.defineProperty(f,"reduce",{enumerable:!0,get:function(){return ue.reduce}});var Ne=o(90532);Object.defineProperty(f,"repeat",{enumerable:!0,get:function(){return Ne.repeat}});var Ie=o(15696);Object.defineProperty(f,"repeatWhen",{enumerable:!0,get:function(){return Ie.repeatWhen}});var me=o(584);Object.defineProperty(f,"retry",{enumerable:!0,get:function(){return me.retry}});var Te=o(46856);Object.defineProperty(f,"retryWhen",{enumerable:!0,get:function(){return Te.retryWhen}});var et=o(60300);Object.defineProperty(f,"refCount",{enumerable:!0,get:function(){return et.refCount}});var _t=o(64968);Object.defineProperty(f,"sample",{enumerable:!0,get:function(){return _t.sample}});var At=o(97792);Object.defineProperty(f,"sampleTime",{enumerable:!0,get:function(){return At.sampleTime}});var Nt=o(17752);Object.defineProperty(f,"scan",{enumerable:!0,get:function(){return Nt.scan}});var Jt=o(43904);Object.defineProperty(f,"sequenceEqual",{enumerable:!0,get:function(){return Jt.sequenceEqual}});var mn=o(95912);Object.defineProperty(f,"share",{enumerable:!0,get:function(){return mn.share}});var _n=o(20468);Object.defineProperty(f,"shareReplay",{enumerable:!0,get:function(){return _n.shareReplay}});var yn=o(43952);Object.defineProperty(f,"single",{enumerable:!0,get:function(){return yn.single}});var gn=o(98196);Object.defineProperty(f,"skip",{enumerable:!0,get:function(){return gn.skip}});var Gt=o(47832);Object.defineProperty(f,"skipLast",{enumerable:!0,get:function(){return Gt.skipLast}});var Nn=o(36840);Object.defineProperty(f,"skipUntil",{enumerable:!0,get:function(){return Nn.skipUntil}});var cr=o(49856);Object.defineProperty(f,"skipWhile",{enumerable:!0,get:function(){return cr.skipWhile}});var rr=o(59612);Object.defineProperty(f,"startWith",{enumerable:!0,get:function(){return rr.startWith}});var Ur=o(67992);Object.defineProperty(f,"subscribeOn",{enumerable:!0,get:function(){return Ur.subscribeOn}});var Hr=o(63368);Object.defineProperty(f,"switchAll",{enumerable:!0,get:function(){return Hr.switchAll}});var at=o(39876);Object.defineProperty(f,"switchMap",{enumerable:!0,get:function(){return at.switchMap}});var uo=o(57168);Object.defineProperty(f,"switchMapTo",{enumerable:!0,get:function(){return uo.switchMapTo}});var vi=o(19980);Object.defineProperty(f,"switchScan",{enumerable:!0,get:function(){return vi.switchScan}});var Pr=o(38120);Object.defineProperty(f,"take",{enumerable:!0,get:function(){return Pr.take}});var In=o(32224);Object.defineProperty(f,"takeLast",{enumerable:!0,get:function(){return In.takeLast}});var Gn=o(91540);Object.defineProperty(f,"takeUntil",{enumerable:!0,get:function(){return Gn.takeUntil}});var ni=o(35408);Object.defineProperty(f,"takeWhile",{enumerable:!0,get:function(){return ni.takeWhile}});var Dr=o(46748);Object.defineProperty(f,"tap",{enumerable:!0,get:function(){return Dr.tap}});var pi=o(66720);Object.defineProperty(f,"throttle",{enumerable:!0,get:function(){return pi.throttle}});var Rn=o(44236);Object.defineProperty(f,"throttleTime",{enumerable:!0,get:function(){return Rn.throttleTime}});var ai=o(51056);Object.defineProperty(f,"throwIfEmpty",{enumerable:!0,get:function(){return ai.throwIfEmpty}});var Kr=o(39500);Object.defineProperty(f,"timeInterval",{enumerable:!0,get:function(){return Kr.timeInterval}});var qr=o(20268);Object.defineProperty(f,"timeout",{enumerable:!0,get:function(){return qr.timeout}});var Ri=o(88536);Object.defineProperty(f,"timeoutWith",{enumerable:!0,get:function(){return Ri.timeoutWith}});var dr=o(37248);Object.defineProperty(f,"timestamp",{enumerable:!0,get:function(){return dr.timestamp}});var Vi=o(29316);Object.defineProperty(f,"toArray",{enumerable:!0,get:function(){return Vi.toArray}});var Mo=o(40560);Object.defineProperty(f,"window",{enumerable:!0,get:function(){return Mo.window}});var bo=o(79068);Object.defineProperty(f,"windowCount",{enumerable:!0,get:function(){return bo.windowCount}});var zr=o(11984);Object.defineProperty(f,"windowTime",{enumerable:!0,get:function(){return zr.windowTime}});var eo=o(97776);Object.defineProperty(f,"windowToggle",{enumerable:!0,get:function(){return eo.windowToggle}});var Gi=o(36872);Object.defineProperty(f,"windowWhen",{enumerable:!0,get:function(){return Gi.windowWhen}});var to=o(95780);Object.defineProperty(f,"withLatestFrom",{enumerable:!0,get:function(){return to.withLatestFrom}});var $r=o(71120);Object.defineProperty(f,"zipAll",{enumerable:!0,get:function(){return $r.zipAll}});var no=o(56824);Object.defineProperty(f,"zipWith",{enumerable:!0,get:function(){return no.zipWith}})},70408:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsyncSubject=void 0;var d=function(u){function a(){var e=null!==u&&u.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(a,u),a.prototype._checkFinalizedStatuses=function(e){var c=this,g=c._hasValue,b=c._value,S=c.isStopped,y=c._isComplete;c.hasError?e.error(c.thrownError):(S||y)&&(g&&e.next(b),e.complete())},a.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},a.prototype.complete=function(){var e=this,c=e._hasValue,l=e._value;e._isComplete||(this._isComplete=!0,c&&u.prototype.next.call(this,l),u.prototype.complete.call(this))},a}(o(90120).Subject);f.AsyncSubject=d},60488:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.BehaviorSubject=void 0;var d=function(u){function a(e){var c=u.call(this)||this;return c._value=e,c}return n(a,u),Object.defineProperty(a.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),a.prototype._subscribe=function(e){var c=u.prototype._subscribe.call(this,e);return!c.closed&&e.next(this._value),c},a.prototype.getValue=function(){var e=this,g=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),g},a.prototype.next=function(e){u.prototype.next.call(this,this._value=e)},a}(o(90120).Subject);f.BehaviorSubject=d},12032:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.observeNotification=f.Notification=f.NotificationKind=void 0;var l,n=o(31456),i=o(41536),d=o(3312),u=o(82360);(l=f.NotificationKind||(f.NotificationKind={})).NEXT="N",l.ERROR="E",l.COMPLETE="C";var e=function(){function l(g,b,_){this.kind=g,this.value=b,this.error=_,this.hasValue="N"===g}return l.prototype.observe=function(g){return c(this,g)},l.prototype.do=function(g,b,_){var S=this,y=S.kind,m=S.value,h=S.error;return"N"===y?g?.(m):"E"===y?b?.(h):_?.()},l.prototype.accept=function(g,b,_){var S;return u.isFunction(null===(S=g)||void 0===S?void 0:S.next)?this.observe(g):this.do(g,b,_)},l.prototype.toObservable=function(){var g=this,b=g.kind,S=g.error,y="N"===b?i.of(g.value):"E"===b?d.throwError(function(){return S}):"C"===b?n.EMPTY:0;if(!y)throw new TypeError("Unexpected notification kind "+b);return y},l.createNext=function(g){return new l("N",g)},l.createError=function(g){return new l("E",void 0,g)},l.createComplete=function(){return l.completeNotification},l.completeNotification=new l("C"),l}();function c(l,g){var b,_,S,m=l.kind,h=l.value,C=l.error;if("string"!=typeof m)throw new TypeError('Invalid notification, missing "kind"');"N"===m?null===(b=g.next)||void 0===b||b.call(g,h):"E"===m?null===(_=g.error)||void 0===_||_.call(g,C):null===(S=g.complete)||void 0===S||S.call(g)}f.Notification=e,f.observeNotification=c},62640:(ve,f)=>{"use strict";function i(d,u,a){return{kind:d,value:u,error:a}}Object.defineProperty(f,"__esModule",{value:!0}),f.createNotification=f.nextNotification=f.errorNotification=f.COMPLETE_NOTIFICATION=void 0,f.COMPLETE_NOTIFICATION=i("C",void 0,void 0),f.errorNotification=function o(d){return i("E",void 0,d)},f.nextNotification=function n(d){return i("N",d,void 0)},f.createNotification=i},15448:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Observable=void 0;var n=o(41596),i=o(40576),d=o(72064),u=o(19512),a=o(90584),e=o(82360),c=o(49664),l=function(){function S(y){y&&(this._subscribe=y)}return S.prototype.lift=function(y){var m=new S;return m.source=this,m.operator=y,m},S.prototype.subscribe=function(y,m,h){var C=this,v=function _(S){return S&&S instanceof n.Subscriber||function b(S){return S&&e.isFunction(S.next)&&e.isFunction(S.error)&&e.isFunction(S.complete)}(S)&&i.isSubscription(S)}(y)?y:new n.SafeSubscriber(y,m,h);return c.errorContext(function(){var E=C.operator,A=C.source;v.add(E?E.call(v,A):A?C._subscribe(v):C._trySubscribe(v))}),v},S.prototype._trySubscribe=function(y){try{return this._subscribe(y)}catch(m){y.error(m)}},S.prototype.forEach=function(y,m){var h=this;return new(m=g(m))(function(C,v){var M=new n.SafeSubscriber({next:function(E){try{y(E)}catch(A){v(A),M.unsubscribe()}},error:v,complete:C});h.subscribe(M)})},S.prototype._subscribe=function(y){var m;return null===(m=this.source)||void 0===m?void 0:m.subscribe(y)},S.prototype[d.observable]=function(){return this},S.prototype.pipe=function(){for(var y=[],m=0;m{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Scheduler=void 0;var n=o(8764),i=function(){function d(u,a){void 0===a&&(a=d.now),this.schedulerActionCtor=u,this.now=a}return d.prototype.schedule=function(u,a,e){return void 0===a&&(a=0),new this.schedulerActionCtor(this,u).schedule(e,a)},d.now=n.dateTimestampProvider.now,d}();f.Scheduler=i},90120:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var b=function(_,S){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,m){y.__proto__=m}||function(y,m){for(var h in m)Object.prototype.hasOwnProperty.call(m,h)&&(y[h]=m[h])})(_,S)};return function(_,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function y(){this.constructor=_}b(_,S),_.prototype=null===S?Object.create(S):(y.prototype=S.prototype,new y)}}(),i=this&&this.__values||function(b){var _="function"==typeof Symbol&&Symbol.iterator,S=_&&b[_],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.AnonymousSubject=f.Subject=void 0;var d=o(15448),u=o(40576),a=o(92304),e=o(39852),c=o(49664),l=function(b){function _(){var S=b.call(this)||this;return S.closed=!1,S.currentObservers=null,S.observers=[],S.isStopped=!1,S.hasError=!1,S.thrownError=null,S}return n(_,b),_.prototype.lift=function(S){var y=new g(this,this);return y.operator=S,y},_.prototype._throwIfClosed=function(){if(this.closed)throw new a.ObjectUnsubscribedError},_.prototype.next=function(S){var y=this;c.errorContext(function(){var m,h;if(y._throwIfClosed(),!y.isStopped){y.currentObservers||(y.currentObservers=Array.from(y.observers));try{for(var C=i(y.currentObservers),v=C.next();!v.done;v=C.next())v.value.next(S)}catch(E){m={error:E}}finally{try{v&&!v.done&&(h=C.return)&&h.call(C)}finally{if(m)throw m.error}}}})},_.prototype.error=function(S){var y=this;c.errorContext(function(){if(y._throwIfClosed(),!y.isStopped){y.hasError=y.isStopped=!0,y.thrownError=S;for(var m=y.observers;m.length;)m.shift().error(S)}})},_.prototype.complete=function(){var S=this;c.errorContext(function(){if(S._throwIfClosed(),!S.isStopped){S.isStopped=!0;for(var y=S.observers;y.length;)y.shift().complete()}})},_.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(_.prototype,"observed",{get:function(){var S;return(null===(S=this.observers)||void 0===S?void 0:S.length)>0},enumerable:!1,configurable:!0}),_.prototype._trySubscribe=function(S){return this._throwIfClosed(),b.prototype._trySubscribe.call(this,S)},_.prototype._subscribe=function(S){return this._throwIfClosed(),this._checkFinalizedStatuses(S),this._innerSubscribe(S)},_.prototype._innerSubscribe=function(S){var y=this,m=this,v=m.observers;return m.hasError||m.isStopped?u.EMPTY_SUBSCRIPTION:(this.currentObservers=null,v.push(S),new u.Subscription(function(){y.currentObservers=null,e.arrRemove(v,S)}))},_.prototype._checkFinalizedStatuses=function(S){var y=this,C=y.isStopped;y.hasError?S.error(y.thrownError):C&&S.complete()},_.prototype.asObservable=function(){var S=new d.Observable;return S.source=this,S},_.create=function(S,y){return new g(S,y)},_}(d.Observable);f.Subject=l;var g=function(b){function _(S,y){var m=b.call(this)||this;return m.destination=S,m.source=y,m}return n(_,b),_.prototype.next=function(S){var y,m;null===(m=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===m||m.call(y,S)},_.prototype.error=function(S){var y,m;null===(m=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===m||m.call(y,S)},_.prototype.complete=function(){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===y||y.call(S)},_.prototype._subscribe=function(S){var y,m;return null!==(m=null===(y=this.source)||void 0===y?void 0:y.subscribe(S))&&void 0!==m?m:u.EMPTY_SUBSCRIPTION},_}(l);f.AnonymousSubject=g},41596:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var M=function(E,A){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,R){T.__proto__=R}||function(T,R){for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(T[N]=R[N])})(E,A)};return function(E,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function T(){this.constructor=E}M(E,A),E.prototype=null===A?Object.create(A):(T.prototype=A.prototype,new T)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.EMPTY_OBSERVER=f.SafeSubscriber=f.Subscriber=void 0;var i=o(82360),d=o(40576),u=o(90584),a=o(50131),e=o(48320),c=o(62640),l=o(82480),g=o(49664),b=function(M){function E(A){var T=M.call(this)||this;return T.isStopped=!1,A?(T.destination=A,d.isSubscription(A)&&A.add(T)):T.destination=f.EMPTY_OBSERVER,T}return n(E,M),E.create=function(A,T,R){return new m(A,T,R)},E.prototype.next=function(A){this.isStopped?v(c.nextNotification(A),this):this._next(A)},E.prototype.error=function(A){this.isStopped?v(c.errorNotification(A),this):(this.isStopped=!0,this._error(A))},E.prototype.complete=function(){this.isStopped?v(c.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},E.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,M.prototype.unsubscribe.call(this),this.destination=null)},E.prototype._next=function(A){this.destination.next(A)},E.prototype._error=function(A){try{this.destination.error(A)}finally{this.unsubscribe()}},E.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},E}(d.Subscription);f.Subscriber=b;var _=Function.prototype.bind;function S(M,E){return _.call(M,E)}var y=function(){function M(E){this.partialObserver=E}return M.prototype.next=function(E){var A=this.partialObserver;if(A.next)try{A.next(E)}catch(T){h(T)}},M.prototype.error=function(E){var A=this.partialObserver;if(A.error)try{A.error(E)}catch(T){h(T)}else h(E)},M.prototype.complete=function(){var E=this.partialObserver;if(E.complete)try{E.complete()}catch(A){h(A)}},M}(),m=function(M){function E(A,T,R){var I,L,N=M.call(this)||this;return i.isFunction(A)||!A?I={next:A??void 0,error:T??void 0,complete:R??void 0}:N&&u.config.useDeprecatedNextContext?((L=Object.create(A)).unsubscribe=function(){return N.unsubscribe()},I={next:A.next&&S(A.next,L),error:A.error&&S(A.error,L),complete:A.complete&&S(A.complete,L)}):I=A,N.destination=new y(I),N}return n(E,M),E}(b);function h(M){u.config.useDeprecatedSynchronousErrorHandling?g.captureError(M):a.reportUnhandledError(M)}function v(M,E){var A=u.config.onStoppedNotification;A&&l.timeoutProvider.setTimeout(function(){return A(M,E)})}f.SafeSubscriber=m,f.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function C(M){throw M},complete:e.noop}},40576:function(ve,f,o){"use strict";var n=this&&this.__values||function(b){var _="function"==typeof Symbol&&Symbol.iterator,S=_&&b[_],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(b,_){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===_||_-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},d=this&&this.__spreadArray||function(b,_){for(var S=0,y=_.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.config=void 0,f.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.firstValueFrom=void 0;var n=o(51544),i=o(41596);f.firstValueFrom=function d(u,a){var e="object"==typeof a;return new Promise(function(c,l){var g=new i.SafeSubscriber({next:function(b){c(b),g.unsubscribe()},error:l,complete:function(){e?c(a.defaultValue):l(new n.EmptyError)}});u.subscribe(g)})}},59452:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.lastValueFrom=void 0;var n=o(51544);f.lastValueFrom=function i(d,u){var a="object"==typeof u;return new Promise(function(e,c){var g,l=!1;d.subscribe({next:function(b){g=b,l=!0},error:c,complete:function(){l?e(g):a?e(u.defaultValue):c(new n.EmptyError)}})})}},42416:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var l=function(g,b){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,S){_.__proto__=S}||function(_,S){for(var y in S)Object.prototype.hasOwnProperty.call(S,y)&&(_[y]=S[y])})(g,b)};return function(g,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function _(){this.constructor=g}l(g,b),g.prototype=null===b?Object.create(b):(_.prototype=b.prototype,new _)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.ConnectableObservable=void 0;var i=o(15448),d=o(40576),u=o(60300),a=o(35744),e=o(66080),c=function(l){function g(b,_){var S=l.call(this)||this;return S.source=b,S.subjectFactory=_,S._subject=null,S._refCount=0,S._connection=null,e.hasLift(b)&&(S.lift=b.lift),S}return n(g,l),g.prototype._subscribe=function(b){return this.getSubject().subscribe(b)},g.prototype.getSubject=function(){var b=this._subject;return(!b||b.isStopped)&&(this._subject=this.subjectFactory()),this._subject},g.prototype._teardown=function(){this._refCount=0;var b=this._connection;this._subject=this._connection=null,b?.unsubscribe()},g.prototype.connect=function(){var b=this,_=this._connection;if(!_){_=this._connection=new d.Subscription;var S=this.getSubject();_.add(this.source.subscribe(a.createOperatorSubscriber(S,void 0,function(){b._teardown(),S.complete()},function(y){b._teardown(),S.error(y)},function(){return b._teardown()}))),_.closed&&(this._connection=null,_=d.Subscription.EMPTY)}return _},g.prototype.refCount=function(){return u.refCount()(this)},g}(i.Observable);f.ConnectableObservable=c},1856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.bindCallback=void 0;var n=o(98140);f.bindCallback=function i(d,u,a){return n.bindCallbackInternals(!1,d,u,a)}},98140:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,_){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===_||_-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,_){for(var S=0,y=_.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.bindNodeCallback=void 0;var n=o(98140);f.bindNodeCallback=function i(d,u,a){return n.bindCallbackInternals(!0,d,u,a)}},60128:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.combineLatestInit=f.combineLatest=void 0;var n=o(15448),i=o(75352),d=o(38485),u=o(55184),a=o(82664),e=o(69724),c=o(7788),l=o(35744),g=o(61760);function _(y,m,h){return void 0===h&&(h=u.identity),function(C){S(m,function(){for(var v=y.length,M=new Array(v),E=v,A=v,T=function(N){S(m,function(){var I=d.from(y[N],m),L=!1;I.subscribe(l.createOperatorSubscriber(C,function(O){M[N]=O,L||(L=!0,A--),A||C.next(h(M.slice()))},function(){--E||C.complete()}))},C)},R=0;R{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concat=void 0;var n=o(26608),i=o(69724),d=o(38485);f.concat=function u(){for(var a=[],e=0;e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.connectable=void 0;var n=o(90120),i=o(15448),d=o(71896),u={connector:function(){return new n.Subject},resetOnDisconnect:!0};f.connectable=function a(e,c){void 0===c&&(c=u);var l=null,g=c.connector,b=c.resetOnDisconnect,_=void 0===b||b,S=g(),y=new i.Observable(function(m){return S.subscribe(m)});return y.connect=function(){return(!l||l.closed)&&(l=d.defer(function(){return e}).subscribe(S),_&&l.add(function(){return S=g()})),l},y}},71896:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.defer=void 0;var n=o(15448),i=o(81280);f.defer=function d(u){return new n.Observable(function(a){i.innerFrom(u()).subscribe(a)})}},72444:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.animationFrames=void 0;var n=o(15448),i=o(68424),d=o(24352);function a(c){return new n.Observable(function(l){var g=c||i.performanceTimestampProvider,b=g.now(),_=0,S=function(){l.closed||(_=d.animationFrameProvider.requestAnimationFrame(function(y){_=0;var m=g.now();l.next({timestamp:c?m:y,elapsed:m-b}),S()}))};return S(),function(){_&&d.animationFrameProvider.cancelAnimationFrame(_)}})}f.animationFrames=function u(c){return c?a(c):e};var e=a()},31456:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.empty=f.EMPTY=void 0;var n=o(15448);f.EMPTY=new n.Observable(function(u){return u.complete()}),f.empty=function i(u){return u?function d(u){return new n.Observable(function(a){return u.schedule(function(){return a.complete()})})}(u):f.EMPTY}},93052:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forkJoin=void 0;var n=o(15448),i=o(75352),d=o(81280),u=o(69724),a=o(35744),e=o(82664),c=o(7788);f.forkJoin=function l(){for(var g=[],b=0;b{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.from=void 0;var n=o(44232),i=o(81280);f.from=function d(u,a){return a?n.scheduled(u,a):i.innerFrom(u)}},85e3:function(ve,f,o){"use strict";var n=this&&this.__read||function(C,v){var M="function"==typeof Symbol&&C[Symbol.iterator];if(!M)return C;var A,R,E=M.call(C),T=[];try{for(;(void 0===v||v-- >0)&&!(A=E.next()).done;)T.push(A.value)}catch(N){R={error:N}}finally{try{A&&!A.done&&(M=E.return)&&M.call(E)}finally{if(R)throw R.error}}return T};Object.defineProperty(f,"__esModule",{value:!0}),f.fromEvent=void 0;var i=o(81280),d=o(15448),u=o(33480),a=o(18224),e=o(82360),c=o(82664),l=["addListener","removeListener"],g=["addEventListener","removeEventListener"],b=["on","off"];function S(C,v){return function(M){return function(E){return C[M](v,E)}}}f.fromEvent=function _(C,v,M,E){if(e.isFunction(M)&&(E=M,M=void 0),E)return _(C,v,M).pipe(c.mapOneOrManyArgs(E));var A=n(function h(C){return e.isFunction(C.addEventListener)&&e.isFunction(C.removeEventListener)}(C)?g.map(function(N){return function(I){return C[N](v,I,M)}}):function y(C){return e.isFunction(C.addListener)&&e.isFunction(C.removeListener)}(C)?l.map(S(C,v)):function m(C){return e.isFunction(C.on)&&e.isFunction(C.off)}(C)?b.map(S(C,v)):[],2),T=A[0],R=A[1];if(!T&&a.isArrayLike(C))return u.mergeMap(function(N){return _(N,v,M)})(i.innerFrom(C));if(!T)throw new TypeError("Invalid event target");return new d.Observable(function(N){var I=function(){for(var L=[],O=0;O{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.fromEventPattern=void 0;var n=o(15448),i=o(82360),d=o(82664);f.fromEventPattern=function u(a,e,c){return c?u(a,e).pipe(d.mapOneOrManyArgs(c)):new n.Observable(function(l){var g=function(){for(var _=[],S=0;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.fromSubscribable=void 0;var n=o(15448);f.fromSubscribable=function i(d){return new n.Observable(function(u){return d.subscribe(u)})}},92560:function(ve,f,o){"use strict";var n=this&&this.__generator||function(c,l){var b,_,S,y,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return y={next:m(0),throw:m(1),return:m(2)},"function"==typeof Symbol&&(y[Symbol.iterator]=function(){return this}),y;function m(C){return function(v){return function h(C){if(b)throw new TypeError("Generator is already executing.");for(;g;)try{if(b=1,_&&(S=2&C[0]?_.return:C[0]?_.throw||((S=_.return)&&S.call(_),0):_.next)&&!(S=S.call(_,C[1])).done)return S;switch(_=0,S&&(C=[2&C[0],S.value]),C[0]){case 0:case 1:S=C;break;case 4:return g.label++,{value:C[1],done:!1};case 5:g.label++,_=C[1],C=[0];continue;case 7:C=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===C[0]||2===C[0])){g=0;continue}if(3===C[0]&&(!S||C[1]>S[0]&&C[1]{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.iif=void 0;var n=o(71896);f.iif=function i(d,u,a){return n.defer(function(){return d()?u:a})}},81280:function(ve,f,o){"use strict";var n=this&&this.__awaiter||function(I,L,O,z){return new(O||(O=Promise))(function(q,X){function ce(Y){try{ne(z.next(Y))}catch(H){X(H)}}function K(Y){try{ne(z.throw(Y))}catch(H){X(H)}}function ne(Y){Y.done?q(Y.value):function F(q){return q instanceof O?q:new O(function(X){X(q)})}(Y.value).then(ce,K)}ne((z=z.apply(I,L||[])).next())})},i=this&&this.__generator||function(I,L){var z,F,q,X,O={label:0,sent:function(){if(1&q[0])throw q[1];return q[1]},trys:[],ops:[]};return X={next:ce(0),throw:ce(1),return:ce(2)},"function"==typeof Symbol&&(X[Symbol.iterator]=function(){return this}),X;function ce(ne){return function(Y){return function K(ne){if(z)throw new TypeError("Generator is already executing.");for(;O;)try{if(z=1,F&&(q=2&ne[0]?F.return:ne[0]?F.throw||((q=F.return)&&q.call(F),0):F.next)&&!(q=q.call(F,ne[1])).done)return q;switch(F=0,q&&(ne=[2&ne[0],q.value]),ne[0]){case 0:case 1:q=ne;break;case 4:return O.label++,{value:ne[1],done:!1};case 5:O.label++,F=ne[1],ne=[0];continue;case 7:ne=O.ops.pop(),O.trys.pop();continue;default:if(!(q=(q=O.trys).length>0&&q[q.length-1])&&(6===ne[0]||2===ne[0])){O=0;continue}if(3===ne[0]&&(!q||ne[1]>q[0]&&ne[1]=I.length&&(I=void 0),{value:I&&I[z++],done:!I}}};throw new TypeError(L?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.fromReadableStreamLike=f.fromAsyncIterable=f.fromIterable=f.fromPromise=f.fromArrayLike=f.fromInteropObservable=f.innerFrom=void 0;var a=o(18224),e=o(28296),c=o(15448),l=o(18440),g=o(37156),b=o(34088),_=o(30640),S=o(11416),y=o(82360),m=o(50131),h=o(72064);function v(I){return new c.Observable(function(L){var O=I[h.observable]();if(y.isFunction(O.subscribe))return O.subscribe(L);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function M(I){return new c.Observable(function(L){for(var O=0;O{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.interval=void 0;var n=o(69252),i=o(34168);f.interval=function d(u,a){return void 0===u&&(u=0),void 0===a&&(a=n.asyncScheduler),u<0&&(u=0),i.timer(u,u,a)}},14152:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.merge=void 0;var n=o(50304),i=o(81280),d=o(31456),u=o(69724),a=o(38485);f.merge=function e(){for(var c=[],l=0;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.never=f.NEVER=void 0;var n=o(15448),i=o(48320);f.NEVER=new n.Observable(i.noop),f.never=function d(){return f.NEVER}},41536:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.of=void 0;var n=o(69724),i=o(38485);f.of=function d(){for(var u=[],a=0;a{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.onErrorResumeNext=void 0;var n=o(15448),i=o(50652),d=o(35744),u=o(48320),a=o(81280);f.onErrorResumeNext=function e(){for(var c=[],l=0;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pairs=void 0;var n=o(38485);f.pairs=function i(d,u){return n.from(Object.entries(d),u)}},91792:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.partition=void 0;var n=o(37700),i=o(39840),d=o(81280);f.partition=function u(a,e,c){return[i.filter(e,c)(d.innerFrom(a)),i.filter(n.not(e,c))(d.innerFrom(a))]}},84048:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.raceInit=f.race=void 0;var n=o(15448),i=o(81280),d=o(50652),u=o(35744);function e(c){return function(l){for(var g=[],b=function(S){g.push(i.innerFrom(c[S]).subscribe(u.createOperatorSubscriber(l,function(y){if(g){for(var m=0;m{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.range=void 0;var n=o(15448),i=o(31456);f.range=function d(u,a,e){if(null==a&&(a=u,u=0),a<=0)return i.EMPTY;var c=a+u;return new n.Observable(e?function(l){var g=u;return e.schedule(function(){g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwError=void 0;var n=o(15448),i=o(82360);f.throwError=function d(u,a){var e=i.isFunction(u)?u:function(){return u},c=function(l){return l.error(e())};return new n.Observable(a?function(l){return a.schedule(c,0,l)}:c)}},34168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timer=void 0;var n=o(15448),i=o(69252),d=o(76964),u=o(42384);f.timer=function a(e,c,l){void 0===e&&(e=0),void 0===l&&(l=i.async);var g=-1;return null!=c&&(d.isScheduler(c)?l=c:g=c),new n.Observable(function(b){var _=u.isValidDate(e)?+e-l.now():e;_<0&&(_=0);var S=0;return l.schedule(function(){b.closed||(b.next(S++),0<=g?this.schedule(void 0,g):b.complete())},_)})}},28684:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.using=void 0;var n=o(15448),i=o(81280),d=o(31456);f.using=function u(a,e){return new n.Observable(function(c){var l=a(),g=e(l);return(g?i.innerFrom(g):d.EMPTY).subscribe(c),function(){l&&l.unsubscribe()}})}},59172:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,_){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===_||_-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,_){for(var S=0,y=_.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.audit=void 0;var n=o(66080),i=o(81280),d=o(35744);f.audit=function u(a){return n.operate(function(e,c){var l=!1,g=null,b=null,_=!1,S=function(){if(b?.unsubscribe(),b=null,l){l=!1;var m=g;g=null,c.next(m)}_&&c.complete()},y=function(){b=null,_&&c.complete()};e.subscribe(d.createOperatorSubscriber(c,function(m){l=!0,g=m,b||i.innerFrom(a(m)).subscribe(b=d.createOperatorSubscriber(c,S,y))},function(){_=!0,(!l||!b||b.closed)&&c.complete()}))})}},1393:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.auditTime=void 0;var n=o(69252),i=o(18380),d=o(34168);f.auditTime=function u(a,e){return void 0===e&&(e=n.asyncScheduler),i.audit(function(){return d.timer(a,e)})}},42744:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.buffer=void 0;var n=o(66080),i=o(48320),d=o(35744),u=o(81280);f.buffer=function a(e){return n.operate(function(c,l){var g=[];return c.subscribe(d.createOperatorSubscriber(l,function(b){return g.push(b)},function(){l.next(g),l.complete()})),u.innerFrom(e).subscribe(d.createOperatorSubscriber(l,function(){var b=g;g=[],l.next(b)},i.noop)),function(){g=null}})}},57864:function(ve,f,o){"use strict";var n=this&&this.__values||function(e){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&e[c],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.bufferCount=void 0;var i=o(66080),d=o(35744),u=o(39852);f.bufferCount=function a(e,c){return void 0===c&&(c=null),c=c??e,i.operate(function(l,g){var b=[],_=0;l.subscribe(d.createOperatorSubscriber(g,function(S){var y,m,h,C,v=null;_++%c==0&&b.push([]);try{for(var M=n(b),E=M.next();!E.done;E=M.next())(A=E.value).push(S),e<=A.length&&(v=v??[]).push(A)}catch(N){y={error:N}}finally{try{E&&!E.done&&(m=M.return)&&m.call(M)}finally{if(y)throw y.error}}if(v)try{for(var T=n(v),R=T.next();!R.done;R=T.next()){var A;u.arrRemove(b,A=R.value),g.next(A)}}catch(N){h={error:N}}finally{try{R&&!R.done&&(C=T.return)&&C.call(T)}finally{if(h)throw h.error}}},function(){var S,y;try{for(var m=n(b),h=m.next();!h.done;h=m.next())g.next(h.value)}catch(v){S={error:v}}finally{try{h&&!h.done&&(y=m.return)&&y.call(m)}finally{if(S)throw S.error}}g.complete()},void 0,function(){b=null}))})}},42704:function(ve,f,o){"use strict";var n=this&&this.__values||function(b){var _="function"==typeof Symbol&&Symbol.iterator,S=_&&b[_],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.bufferTime=void 0;var i=o(40576),d=o(66080),u=o(35744),a=o(39852),e=o(69252),c=o(69724),l=o(61760);f.bufferTime=function g(b){for(var _,S,y=[],m=1;m=0?l.executeSchedule(E,h,N,C,!0):T=!0,N();var I=u.createOperatorSubscriber(E,function(L){var O,z,F=A.slice();try{for(var q=n(F),X=q.next();!X.done;X=q.next()){var ce=X.value,K=ce.buffer;K.push(L),v<=K.length&&R(ce)}}catch(ne){O={error:ne}}finally{try{X&&!X.done&&(z=q.return)&&z.call(q)}finally{if(O)throw O.error}}},function(){for(;A?.length;)E.next(A.shift().buffer);I?.unsubscribe(),E.complete(),E.unsubscribe()},void 0,function(){return A=null});M.subscribe(I)})}},21964:function(ve,f,o){"use strict";var n=this&&this.__values||function(g){var b="function"==typeof Symbol&&Symbol.iterator,_=b&&g[b],S=0;if(_)return _.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&S>=g.length&&(g=void 0),{value:g&&g[S++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.bufferToggle=void 0;var i=o(40576),d=o(66080),u=o(81280),a=o(35744),e=o(48320),c=o(39852);f.bufferToggle=function l(g,b){return d.operate(function(_,S){var y=[];u.innerFrom(g).subscribe(a.createOperatorSubscriber(S,function(m){var h=[];y.push(h);var C=new i.Subscription;C.add(u.innerFrom(b(m)).subscribe(a.createOperatorSubscriber(S,function(){c.arrRemove(y,h),S.next(h),C.unsubscribe()},e.noop)))},e.noop)),_.subscribe(a.createOperatorSubscriber(S,function(m){var h,C;try{for(var v=n(y),M=v.next();!M.done;M=v.next())M.value.push(m)}catch(A){h={error:A}}finally{try{M&&!M.done&&(C=v.return)&&C.call(v)}finally{if(h)throw h.error}}},function(){for(;y.length>0;)S.next(y.shift());S.complete()}))})}},16323:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.bufferWhen=void 0;var n=o(66080),i=o(48320),d=o(35744),u=o(81280);f.bufferWhen=function a(e){return n.operate(function(c,l){var g=null,b=null,_=function(){b?.unsubscribe();var S=g;g=[],S&&l.next(S),u.innerFrom(e()).subscribe(b=d.createOperatorSubscriber(l,_,i.noop))};_(),c.subscribe(d.createOperatorSubscriber(l,function(S){return g?.push(S)},function(){g&&l.next(g),l.complete()},void 0,function(){return g=b=null}))})}},11708:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.catchError=void 0;var n=o(81280),i=o(35744),d=o(66080);f.catchError=function u(a){return d.operate(function(e,c){var b,l=null,g=!1;l=e.subscribe(i.createOperatorSubscriber(c,void 0,void 0,function(_){b=n.innerFrom(a(_,u(a)(e))),l?(l.unsubscribe(),l=null,b.subscribe(c)):g=!0})),g&&(l.unsubscribe(),l=null,b.subscribe(c))})}},25184:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.combineAll=void 0;var n=o(86576);f.combineAll=n.combineLatestAll},31384:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,_){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===_||_-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,_){for(var S=0,y=_.length,m=b.length;S{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.combineLatestAll=void 0;var n=o(60128),i=o(28400);f.combineLatestAll=function d(u){return i.joinAllInternals(n.combineLatest,u)}},71480:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,_,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){_={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(_)throw _.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c0)&&!(S=_.next()).done;)y.push(S.value)}catch(h){m={error:h}}finally{try{S&&!S.done&&(b=_.return)&&b.call(_)}finally{if(m)throw m.error}}return y},i=this&&this.__spreadArray||function(l,g){for(var b=0,_=g.length,S=l.length;b<_;b++,S++)l[S]=g[b];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.concat=void 0;var d=o(66080),u=o(26608),a=o(69724),e=o(38485);f.concat=function c(){for(var l=[],g=0;g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concatAll=void 0;var n=o(50304);f.concatAll=function i(){return n.mergeAll(1)}},68584:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concatMap=void 0;var n=o(33480),i=o(82360);f.concatMap=function d(u,a){return i.isFunction(a)?n.mergeMap(u,a,1):n.mergeMap(u,1)}},38776:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.concatMapTo=void 0;var n=o(68584),i=o(82360);f.concatMapTo=function d(u,a){return i.isFunction(a)?n.concatMap(function(){return u},a):n.concatMap(function(){return u})}},23332:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,_,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){_={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(_)throw _.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.connect=void 0;var n=o(90120),i=o(81280),d=o(66080),u=o(28544),a={connector:function(){return new n.Subject}};f.connect=function e(c,l){void 0===l&&(l=a);var g=l.connector;return d.operate(function(b,_){var S=g();i.innerFrom(c(u.fromSubscribable(S))).subscribe(_),_.add(b.subscribe(S))})}},95572:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.count=void 0;var n=o(39980);f.count=function i(d){return n.reduce(function(u,a,e){return!d||d(a,e)?u+1:u},0)}},42568:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.debounce=void 0;var n=o(66080),i=o(48320),d=o(35744),u=o(81280);f.debounce=function a(e){return n.operate(function(c,l){var g=!1,b=null,_=null,S=function(){if(_?.unsubscribe(),_=null,g){g=!1;var y=b;b=null,l.next(y)}};c.subscribe(d.createOperatorSubscriber(l,function(y){_?.unsubscribe(),g=!0,b=y,_=d.createOperatorSubscriber(l,S,i.noop),u.innerFrom(e(y)).subscribe(_)},function(){S(),l.complete()},void 0,function(){b=_=null}))})}},86275:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.debounceTime=void 0;var n=o(69252),i=o(66080),d=o(35744);f.debounceTime=function u(a,e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(c,l){var g=null,b=null,_=null,S=function(){if(g){g.unsubscribe(),g=null;var m=b;b=null,l.next(m)}};function y(){var m=_+a,h=e.now();if(h{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.defaultIfEmpty=void 0;var n=o(66080),i=o(35744);f.defaultIfEmpty=function d(u){return n.operate(function(a,e){var c=!1;a.subscribe(i.createOperatorSubscriber(e,function(l){c=!0,e.next(l)},function(){c||e.next(u),e.complete()}))})}},99592:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.delay=void 0;var n=o(69252),i=o(59304),d=o(34168);f.delay=function u(a,e){void 0===e&&(e=n.asyncScheduler);var c=d.timer(a,e);return i.delayWhen(function(){return c})}},59304:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.delayWhen=void 0;var n=o(24560),i=o(38120),d=o(77392),u=o(89224),a=o(33480),e=o(81280);f.delayWhen=function c(l,g){return g?function(b){return n.concat(g.pipe(i.take(1),d.ignoreElements()),b.pipe(c(l)))}:a.mergeMap(function(b,_){return e.innerFrom(l(b,_)).pipe(i.take(1),u.mapTo(b))})}},84204:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.dematerialize=void 0;var n=o(12032),i=o(66080),d=o(35744);f.dematerialize=function u(){return i.operate(function(a,e){a.subscribe(d.createOperatorSubscriber(e,function(c){return n.observeNotification(c,e)}))})}},51256:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.distinct=void 0;var n=o(66080),i=o(35744),d=o(48320),u=o(81280);f.distinct=function a(e,c){return n.operate(function(l,g){var b=new Set;l.subscribe(i.createOperatorSubscriber(g,function(_){var S=e?e(_):_;b.has(S)||(b.add(S),g.next(_))})),c&&u.innerFrom(c).subscribe(i.createOperatorSubscriber(g,function(){return b.clear()},d.noop))})}},21544:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.distinctUntilChanged=void 0;var n=o(55184),i=o(66080),d=o(35744);function a(e,c){return e===c}f.distinctUntilChanged=function u(e,c){return void 0===c&&(c=n.identity),e=e??a,i.operate(function(l,g){var b,_=!0;l.subscribe(d.createOperatorSubscriber(g,function(S){var y=c(S);(_||!e(b,y))&&(_=!1,b=y,g.next(S))}))})}},61544:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.distinctUntilKeyChanged=void 0;var n=o(21544);f.distinctUntilKeyChanged=function i(d,u){return n.distinctUntilChanged(function(a,e){return u?u(a[d],e[d]):a[d]===e[d]})}},51808:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.elementAt=void 0;var n=o(32929),i=o(39840),d=o(51056),u=o(14707),a=o(38120);f.elementAt=function e(c,l){if(c<0)throw new n.ArgumentOutOfRangeError;var g=arguments.length>=2;return function(b){return b.pipe(i.filter(function(_,S){return S===c}),a.take(1),g?u.defaultIfEmpty(l):d.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(ve,f,o){"use strict";var n=this&&this.__read||function(e,c){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var b,S,g=l.call(e),_=[];try{for(;(void 0===c||c-- >0)&&!(b=g.next()).done;)_.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return _},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.every=void 0;var n=o(66080),i=o(35744);f.every=function d(u,a){return n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){u.call(a,g,l++,e)||(c.next(!1),c.complete())},function(){c.next(!0),c.complete()}))})}},53704:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.exhaust=void 0;var n=o(34288);f.exhaust=n.exhaustAll},34288:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.exhaustAll=void 0;var n=o(44632),i=o(55184);f.exhaustAll=function d(){return n.exhaustMap(i.identity)}},44632:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.exhaustMap=void 0;var n=o(784),i=o(81280),d=o(66080),u=o(35744);f.exhaustMap=function a(e,c){return c?function(l){return l.pipe(a(function(g,b){return i.innerFrom(e(g,b)).pipe(n.map(function(_,S){return c(g,_,b,S)}))}))}:d.operate(function(l,g){var b=0,_=null,S=!1;l.subscribe(u.createOperatorSubscriber(g,function(y){_||(_=u.createOperatorSubscriber(g,void 0,function(){_=null,S&&g.complete()}),i.innerFrom(e(y,b++)).subscribe(_))},function(){S=!0,!_&&g.complete()}))})}},84624:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.expand=void 0;var n=o(66080),i=o(46972);f.expand=function d(u,a,e){return void 0===a&&(a=1/0),a=(a||0)<1?1/0:a,n.operate(function(c,l){return i.mergeInternals(c,l,u,a,void 0,!0,e)})}},39840:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.filter=void 0;var n=o(66080),i=o(35744);f.filter=function d(u,a){return n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){return u.call(a,g,l++)&&c.next(g)}))})}},99440:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.finalize=void 0;var n=o(66080);f.finalize=function i(d){return n.operate(function(u,a){try{u.subscribe(a)}finally{a.add(d)}})}},70939:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createFind=f.find=void 0;var n=o(66080),i=o(35744);function u(a,e,c){var l="index"===c;return function(g,b){var _=0;g.subscribe(i.createOperatorSubscriber(b,function(S){var y=_++;a.call(e,S,y,g)&&(b.next(l?y:S),b.complete())},function(){b.next(l?-1:void 0),b.complete()}))}}f.find=function d(a,e){return n.operate(u(a,e,"value"))},f.createFind=u},69496:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.findIndex=void 0;var n=o(66080),i=o(70939);f.findIndex=function d(u,a){return n.operate(i.createFind(u,a,"index"))}},11848:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.first=void 0;var n=o(51544),i=o(39840),d=o(38120),u=o(14707),a=o(51056),e=o(55184);f.first=function c(l,g){var b=arguments.length>=2;return function(_){return _.pipe(l?i.filter(function(S,y){return l(S,y,_)}):e.identity,d.take(1),b?u.defaultIfEmpty(g):a.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.flatMap=void 0;var n=o(33480);f.flatMap=n.mergeMap},17909:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.groupBy=void 0;var n=o(15448),i=o(81280),d=o(90120),u=o(66080),a=o(35744);f.groupBy=function e(c,l,g,b){return u.operate(function(_,S){var y;l&&"function"!=typeof l?(g=l.duration,y=l.element,b=l.connector):y=l;var m=new Map,h=function(T){m.forEach(T),T(S)},C=function(T){return h(function(R){return R.error(T)})},v=0,M=!1,E=new a.OperatorSubscriber(S,function(T){try{var R=c(T),N=m.get(R);if(!N){m.set(R,N=b?b():new d.Subject);var I=function A(T,R){var N=new n.Observable(function(I){v++;var L=R.subscribe(I);return function(){L.unsubscribe(),0==--v&&M&&E.unsubscribe()}});return N.key=T,N}(R,N);if(S.next(I),g){var L=a.createOperatorSubscriber(N,function(){N.complete(),L?.unsubscribe()},void 0,void 0,function(){return m.delete(R)});E.add(i.innerFrom(g(I)).subscribe(L))}}N.next(y?y(T):T)}catch(O){C(O)}},function(){return h(function(T){return T.complete()})},C,function(){return m.clear()},function(){return M=!0,0===v});_.subscribe(E)})}},77392:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ignoreElements=void 0;var n=o(66080),i=o(35744),d=o(48320);f.ignoreElements=function u(){return n.operate(function(a,e){a.subscribe(i.createOperatorSubscriber(e,d.noop))})}},73564:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isEmpty=void 0;var n=o(66080),i=o(35744);f.isEmpty=function d(){return n.operate(function(u,a){u.subscribe(i.createOperatorSubscriber(a,function(){a.next(!1),a.complete()},function(){a.next(!0),a.complete()}))})}},28400:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.joinAllInternals=void 0;var n=o(55184),i=o(82664),d=o(19512),u=o(33480),a=o(29316);f.joinAllInternals=function e(c,l){return d.pipe(a.toArray(),u.mergeMap(function(g){return c(g)}),l?i.mapOneOrManyArgs(l):n.identity)}},2696:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.last=void 0;var n=o(51544),i=o(39840),d=o(32224),u=o(51056),a=o(14707),e=o(55184);f.last=function c(l,g){var b=arguments.length>=2;return function(_){return _.pipe(l?i.filter(function(S,y){return l(S,y,_)}):e.identity,d.takeLast(1),b?a.defaultIfEmpty(g):u.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.map=void 0;var n=o(66080),i=o(35744);f.map=function d(u,a){return n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){c.next(u.call(a,g,l++))}))})}},89224:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mapTo=void 0;var n=o(784);f.mapTo=function i(d){return n.map(function(){return d})}},6832:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.materialize=void 0;var n=o(12032),i=o(66080),d=o(35744);f.materialize=function u(){return i.operate(function(a,e){a.subscribe(d.createOperatorSubscriber(e,function(c){e.next(n.Notification.createNext(c))},function(){e.next(n.Notification.createComplete()),e.complete()},function(c){e.next(n.Notification.createError(c)),e.complete()}))})}},34808:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.max=void 0;var n=o(39980),i=o(82360);f.max=function d(u){return n.reduce(i.isFunction(u)?function(a,e){return u(a,e)>0?a:e}:function(a,e){return a>e?a:e})}},38884:function(ve,f,o){"use strict";var n=this&&this.__read||function(g,b){var _="function"==typeof Symbol&&g[Symbol.iterator];if(!_)return g;var y,h,S=_.call(g),m=[];try{for(;(void 0===b||b-- >0)&&!(y=S.next()).done;)m.push(y.value)}catch(C){h={error:C}}finally{try{y&&!y.done&&(_=S.return)&&_.call(S)}finally{if(h)throw h.error}}return m},i=this&&this.__spreadArray||function(g,b){for(var _=0,S=b.length,y=g.length;_{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeAll=void 0;var n=o(33480),i=o(55184);f.mergeAll=function d(u){return void 0===u&&(u=1/0),n.mergeMap(i.identity,u)}},46972:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeInternals=void 0;var n=o(81280),i=o(61760),d=o(35744);f.mergeInternals=function u(a,e,c,l,g,b,_,S){var y=[],m=0,h=0,C=!1,v=function(){C&&!y.length&&!m&&e.complete()},M=function(A){return m{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeMap=void 0;var n=o(784),i=o(81280),d=o(66080),u=o(46972),a=o(82360);f.mergeMap=function e(c,l,g){return void 0===g&&(g=1/0),a.isFunction(l)?e(function(b,_){return n.map(function(S,y){return l(b,S,_,y)})(i.innerFrom(c(b,_)))},g):("number"==typeof l&&(g=l),d.operate(function(b,_){return u.mergeInternals(b,_,c,g)}))}},73232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeMapTo=void 0;var n=o(33480),i=o(82360);f.mergeMapTo=function d(u,a,e){return void 0===e&&(e=1/0),i.isFunction(a)?n.mergeMap(function(){return u},a,e):("number"==typeof a&&(e=a),n.mergeMap(function(){return u},e))}},3380:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mergeScan=void 0;var n=o(66080),i=o(46972);f.mergeScan=function d(u,a,e){return void 0===e&&(e=1/0),n.operate(function(c,l){var g=a;return i.mergeInternals(c,l,function(b,_){return u(g,b,_)},e,function(b){g=b},!1,void 0,function(){return g=null})})}},57308:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,_,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){_={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(_)throw _.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.min=void 0;var n=o(39980),i=o(82360);f.min=function d(u){return n.reduce(i.isFunction(u)?function(a,e){return u(a,e)<0?a:e}:function(a,e){return a{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.multicast=void 0;var n=o(42416),i=o(82360),d=o(59056);f.multicast=function u(a,e){var c=i.isFunction(a)?a:function(){return a};return i.isFunction(e)?d.connect(e,{connector:c}):function(l){return new n.ConnectableObservable(l,c)}}},33752:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.observeOn=void 0;var n=o(61760),i=o(66080),d=o(35744);f.observeOn=function u(a,e){return void 0===e&&(e=0),i.operate(function(c,l){c.subscribe(d.createOperatorSubscriber(l,function(g){return n.executeSchedule(l,a,function(){return l.next(g)},e)},function(){return n.executeSchedule(l,a,function(){return l.complete()},e)},function(g){return n.executeSchedule(l,a,function(){return l.error(g)},e)}))})}},19184:function(ve,f,o){"use strict";var n=this&&this.__read||function(e,c){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var b,S,g=l.call(e),_=[];try{for(;(void 0===c||c-- >0)&&!(b=g.next()).done;)_.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return _},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pairwise=void 0;var n=o(66080),i=o(35744);f.pairwise=function d(){return n.operate(function(u,a){var e,c=!1;u.subscribe(i.createOperatorSubscriber(a,function(l){var g=e;e=l,c&&a.next([g,l]),c=!0}))})}},64712:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pluck=void 0;var n=o(784);f.pluck=function i(){for(var d=[],u=0;u{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publish=void 0;var n=o(90120),i=o(66752),d=o(59056);f.publish=function u(a){return a?function(e){return d.connect(a)(e)}:function(e){return i.multicast(new n.Subject)(e)}}},40360:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publishBehavior=void 0;var n=o(60488),i=o(42416);f.publishBehavior=function d(u){return function(a){var e=new n.BehaviorSubject(u);return new i.ConnectableObservable(a,function(){return e})}}},64960:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publishLast=void 0;var n=o(70408),i=o(42416);f.publishLast=function d(){return function(u){var a=new n.AsyncSubject;return new i.ConnectableObservable(u,function(){return a})}}},23944:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.publishReplay=void 0;var n=o(38640),i=o(66752),d=o(82360);f.publishReplay=function u(a,e,c,l){c&&!d.isFunction(c)&&(l=c);var g=d.isFunction(c)?c:void 0;return function(b){return i.multicast(new n.ReplaySubject(a,e,l),g)(b)}}},53424:function(ve,f,o){"use strict";var n=this&&this.__read||function(c,l){var g="function"==typeof Symbol&&c[Symbol.iterator];if(!g)return c;var _,y,b=g.call(c),S=[];try{for(;(void 0===l||l-- >0)&&!(_=b.next()).done;)S.push(_.value)}catch(m){y={error:m}}finally{try{_&&!_.done&&(g=b.return)&&g.call(b)}finally{if(y)throw y.error}}return S},i=this&&this.__spreadArray||function(c,l){for(var g=0,b=l.length,_=c.length;g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.reduce=void 0;var n=o(56500),i=o(66080);f.reduce=function d(u,a){return i.operate(n.scanInternals(u,a,arguments.length>=2,!1,!0))}},60300:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.refCount=void 0;var n=o(66080),i=o(35744);f.refCount=function d(){return n.operate(function(u,a){var e=null;u._refCount++;var c=i.createOperatorSubscriber(a,void 0,void 0,void 0,function(){if(!u||u._refCount<=0||0<--u._refCount)e=null;else{var l=u._connection,g=e;e=null,l&&(!g||l===g)&&l.unsubscribe(),a.unsubscribe()}});u.subscribe(c),c.closed||(e=u.connect())})}},90532:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.repeat=void 0;var n=o(31456),i=o(66080),d=o(35744),u=o(81280),a=o(34168);f.repeat=function e(c){var l,b,g=1/0;return null!=c&&("object"==typeof c?(g=void 0===(l=c.count)?1/0:l,b=c.delay):g=c),g<=0?function(){return n.EMPTY}:i.operate(function(_,S){var m,y=0,h=function(){if(m?.unsubscribe(),m=null,null!=b){var v="number"==typeof b?a.timer(b):u.innerFrom(b(y)),M=d.createOperatorSubscriber(S,function(){M.unsubscribe(),C()});v.subscribe(M)}else C()},C=function(){var v=!1;m=_.subscribe(d.createOperatorSubscriber(S,void 0,function(){++y{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.repeatWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),u=o(35744);f.repeatWhen=function a(e){return d.operate(function(c,l){var g,_,b=!1,S=!1,y=!1,m=function(){return y&&S&&(l.complete(),!0)},C=function(){y=!1,g=c.subscribe(u.createOperatorSubscriber(l,void 0,function(){y=!0,!m()&&(_||(_=new i.Subject,n.innerFrom(e(_)).subscribe(u.createOperatorSubscriber(l,function(){g?C():b=!0},function(){S=!0,m()}))),_).next()})),b&&(g.unsubscribe(),g=null,b=!1,C())};C()})}},584:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.retry=void 0;var n=o(66080),i=o(35744),d=o(55184),u=o(34168),a=o(81280);f.retry=function e(c){var l;void 0===c&&(c=1/0);var g=(l=c&&"object"==typeof c?c:{count:c}).count,b=void 0===g?1/0:g,_=l.delay,S=l.resetOnSuccess,y=void 0!==S&&S;return b<=0?d.identity:n.operate(function(m,h){var v,C=0,M=function(){var E=!1;v=m.subscribe(i.createOperatorSubscriber(h,function(A){y&&(C=0),h.next(A)},void 0,function(A){if(C++{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.retryWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),u=o(35744);f.retryWhen=function a(e){return d.operate(function(c,l){var g,_,b=!1,S=function(){g=c.subscribe(u.createOperatorSubscriber(l,void 0,void 0,function(y){_||(_=new i.Subject,n.innerFrom(e(_)).subscribe(u.createOperatorSubscriber(l,function(){return g?S():b=!0}))),_&&_.next(y)})),b&&(g.unsubscribe(),g=null,b=!1,S())};S()})}},64968:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sample=void 0;var n=o(81280),i=o(66080),d=o(48320),u=o(35744);f.sample=function a(e){return i.operate(function(c,l){var g=!1,b=null;c.subscribe(u.createOperatorSubscriber(l,function(_){g=!0,b=_})),n.innerFrom(e).subscribe(u.createOperatorSubscriber(l,function(){if(g){g=!1;var _=b;b=null,l.next(_)}},d.noop))})}},97792:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sampleTime=void 0;var n=o(69252),i=o(64968),d=o(2071);f.sampleTime=function u(a,e){return void 0===e&&(e=n.asyncScheduler),i.sample(d.interval(a,e))}},17752:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scan=void 0;var n=o(66080),i=o(56500);f.scan=function d(u,a){return n.operate(i.scanInternals(u,a,arguments.length>=2,!0))}},56500:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scanInternals=void 0;var n=o(35744);f.scanInternals=function i(d,u,a,e,c){return function(l,g){var b=a,_=u,S=0;l.subscribe(n.createOperatorSubscriber(g,function(y){var m=S++;_=b?d(_,y,m):(b=!0,y),e&&g.next(_)},c&&function(){b&&g.next(_),g.complete()}))}}},43904:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sequenceEqual=void 0;var n=o(66080),i=o(35744),d=o(81280);f.sequenceEqual=function u(e,c){return void 0===c&&(c=function(l,g){return l===g}),n.operate(function(l,g){var b={buffer:[],complete:!1},_={buffer:[],complete:!1},S=function(m){g.next(m),g.complete()},y=function(m,h){var C=i.createOperatorSubscriber(g,function(v){var M=h.buffer;0===M.length?h.complete?S(!1):m.buffer.push(v):!c(v,M.shift())&&S(!1)},function(){m.complete=!0,h.complete&&S(0===h.buffer.length),C?.unsubscribe()});return C};l.subscribe(y(b,_)),d.innerFrom(e).subscribe(y(_,b))})}},95912:function(ve,f,o){"use strict";var n=this&&this.__read||function(g,b){var _="function"==typeof Symbol&&g[Symbol.iterator];if(!_)return g;var y,h,S=_.call(g),m=[];try{for(;(void 0===b||b-- >0)&&!(y=S.next()).done;)m.push(y.value)}catch(C){h={error:C}}finally{try{y&&!y.done&&(_=S.return)&&_.call(S)}finally{if(h)throw h.error}}return m},i=this&&this.__spreadArray||function(g,b){for(var _=0,S=b.length,y=g.length;_0&&(E=new a.SafeSubscriber({next:function(ce){return X.next(ce)},error:function(ce){I=!0,L(),A=l(O,y,ce),X.error(ce)},complete:function(){N=!0,L(),A=l(O,h),X.complete()}}),d.innerFrom(F).subscribe(E))})(M)}}},20468:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.shareReplay=void 0;var n=o(38640),i=o(95912);f.shareReplay=function d(u,a,e){var c,l,g,b,_=!1;return u&&"object"==typeof u?(b=void 0===(c=u.bufferSize)?1/0:c,a=void 0===(l=u.windowTime)?1/0:l,_=void 0!==(g=u.refCount)&&g,e=u.scheduler):b=u??1/0,i.share({connector:function(){return new n.ReplaySubject(b,a,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},43952:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.single=void 0;var n=o(51544),i=o(71016),d=o(15496),u=o(66080),a=o(35744);f.single=function e(c){return u.operate(function(l,g){var _,b=!1,S=!1,y=0;l.subscribe(a.createOperatorSubscriber(g,function(m){S=!0,(!c||c(m,y++,l))&&(b&&g.error(new i.SequenceError("Too many matching values")),b=!0,_=m)},function(){b?(g.next(_),g.complete()):g.error(S?new d.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skip=void 0;var n=o(39840);f.skip=function i(d){return n.filter(function(u,a){return d<=a})}},47832:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skipLast=void 0;var n=o(55184),i=o(66080),d=o(35744);f.skipLast=function u(a){return a<=0?n.identity:i.operate(function(e,c){var l=new Array(a),g=0;return e.subscribe(d.createOperatorSubscriber(c,function(b){var _=g++;if(_{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skipUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),u=o(48320);f.skipUntil=function a(e){return n.operate(function(c,l){var g=!1,b=i.createOperatorSubscriber(l,function(){b?.unsubscribe(),g=!0},u.noop);d.innerFrom(e).subscribe(b),c.subscribe(i.createOperatorSubscriber(l,function(_){return g&&l.next(_)}))})}},49856:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.skipWhile=void 0;var n=o(66080),i=o(35744);f.skipWhile=function d(u){return n.operate(function(a,e){var c=!1,l=0;a.subscribe(i.createOperatorSubscriber(e,function(g){return(c||(c=!u(g,l++)))&&e.next(g)}))})}},59612:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.startWith=void 0;var n=o(24560),i=o(69724),d=o(66080);f.startWith=function u(){for(var a=[],e=0;e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.subscribeOn=void 0;var n=o(66080);f.subscribeOn=function i(d,u){return void 0===u&&(u=0),n.operate(function(a,e){e.add(d.schedule(function(){return a.subscribe(e)},u))})}},63368:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchAll=void 0;var n=o(39876),i=o(55184);f.switchAll=function d(){return n.switchMap(i.identity)}},39876:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchMap=void 0;var n=o(81280),i=o(66080),d=o(35744);f.switchMap=function u(a,e){return i.operate(function(c,l){var g=null,b=0,_=!1,S=function(){return _&&!g&&l.complete()};c.subscribe(d.createOperatorSubscriber(l,function(y){g?.unsubscribe();var m=0,h=b++;n.innerFrom(a(y,h)).subscribe(g=d.createOperatorSubscriber(l,function(C){return l.next(e?e(y,C,h,m++):C)},function(){g=null,S()}))},function(){_=!0,S()}))})}},57168:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchMapTo=void 0;var n=o(39876),i=o(82360);f.switchMapTo=function d(u,a){return i.isFunction(a)?n.switchMap(function(){return u},a):n.switchMap(function(){return u})}},19980:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.switchScan=void 0;var n=o(39876),i=o(66080);f.switchScan=function d(u,a){return i.operate(function(e,c){var l=a;return n.switchMap(function(g,b){return u(l,g,b)},function(g,b){return l=b,b})(e).subscribe(c),function(){l=null}})}},38120:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.take=void 0;var n=o(31456),i=o(66080),d=o(35744);f.take=function u(a){return a<=0?function(){return n.EMPTY}:i.operate(function(e,c){var l=0;e.subscribe(d.createOperatorSubscriber(c,function(g){++l<=a&&(c.next(g),a<=l&&c.complete())}))})}},32224:function(ve,f,o){"use strict";var n=this&&this.__values||function(e){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&e[c],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.takeLast=void 0;var i=o(31456),d=o(66080),u=o(35744);f.takeLast=function a(e){return e<=0?function(){return i.EMPTY}:d.operate(function(c,l){var g=[];c.subscribe(u.createOperatorSubscriber(l,function(b){g.push(b),e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.takeUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),u=o(48320);f.takeUntil=function a(e){return n.operate(function(c,l){d.innerFrom(e).subscribe(i.createOperatorSubscriber(l,function(){return l.complete()},u.noop)),!l.closed&&c.subscribe(l)})}},35408:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.takeWhile=void 0;var n=o(66080),i=o(35744);f.takeWhile=function d(u,a){return void 0===a&&(a=!1),n.operate(function(e,c){var l=0;e.subscribe(i.createOperatorSubscriber(c,function(g){var b=u(g,l++);(b||a)&&c.next(g),!b&&c.complete()}))})}},46748:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.tap=void 0;var n=o(82360),i=o(66080),d=o(35744),u=o(55184);f.tap=function a(e,c,l){var g=n.isFunction(e)||c||l?{next:e,error:c,complete:l}:e;return g?i.operate(function(b,_){var S;null===(S=g.subscribe)||void 0===S||S.call(g);var y=!0;b.subscribe(d.createOperatorSubscriber(_,function(m){var h;null===(h=g.next)||void 0===h||h.call(g,m),_.next(m)},function(){var m;y=!1,null===(m=g.complete)||void 0===m||m.call(g),_.complete()},function(m){var h;y=!1,null===(h=g.error)||void 0===h||h.call(g,m),_.error(m)},function(){var m,h;y&&(null===(m=g.unsubscribe)||void 0===m||m.call(g)),null===(h=g.finalize)||void 0===h||h.call(g)}))}):u.identity}},66720:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throttle=void 0;var n=o(66080),i=o(35744),d=o(81280);f.throttle=function u(a,e){return n.operate(function(c,l){var g=e??{},b=g.leading,_=void 0===b||b,S=g.trailing,y=void 0!==S&&S,m=!1,h=null,C=null,v=!1,M=function(){C?.unsubscribe(),C=null,y&&(T(),v&&l.complete())},E=function(){C=null,v&&l.complete()},A=function(R){return C=d.innerFrom(a(R)).subscribe(i.createOperatorSubscriber(l,M,E))},T=function(){if(m){m=!1;var R=h;h=null,l.next(R),!v&&A(R)}};c.subscribe(i.createOperatorSubscriber(l,function(R){m=!0,h=R,(!C||C.closed)&&(_?T():A(R))},function(){v=!0,(!(y&&m&&C)||C.closed)&&l.complete()}))})}},44236:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throttleTime=void 0;var n=o(69252),i=o(66720),d=o(34168);f.throttleTime=function u(a,e,c){void 0===e&&(e=n.asyncScheduler);var l=d.timer(a,e);return i.throttle(function(){return l},c)}},51056:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfEmpty=void 0;var n=o(51544),i=o(66080),d=o(35744);function a(){return new n.EmptyError}f.throwIfEmpty=function u(e){return void 0===e&&(e=a),i.operate(function(c,l){var g=!1;c.subscribe(d.createOperatorSubscriber(l,function(b){g=!0,l.next(b)},function(){return g?l.complete():l.error(e())}))})}},39500:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.TimeInterval=f.timeInterval=void 0;var n=o(69252),i=o(66080),d=o(35744);f.timeInterval=function u(e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(c,l){var g=e.now();c.subscribe(d.createOperatorSubscriber(l,function(b){var _=e.now(),S=_-g;g=_,l.next(new a(b,S))}))})};var a=function(){return function e(c,l){this.value=c,this.interval=l}}();f.TimeInterval=a},20268:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timeout=f.TimeoutError=void 0;var n=o(69252),i=o(42384),d=o(66080),u=o(81280),a=o(26624),e=o(35744),c=o(61760);function g(b){throw new f.TimeoutError(b)}f.TimeoutError=a.createErrorClass(function(b){return function(S){void 0===S&&(S=null),b(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=S}}),f.timeout=function l(b,_){var S=i.isValidDate(b)?{first:b}:"number"==typeof b?{each:b}:b,y=S.first,m=S.each,h=S.with,C=void 0===h?g:h,v=S.scheduler,M=void 0===v?_??n.asyncScheduler:v,E=S.meta,A=void 0===E?null:E;if(null==y&&null==m)throw new TypeError("No timeout provided.");return d.operate(function(T,R){var N,I,L=null,O=0,z=function(F){I=c.executeSchedule(R,M,function(){try{N.unsubscribe(),u.innerFrom(C({meta:A,lastValue:L,seen:O})).subscribe(R)}catch(q){R.error(q)}},F)};N=T.subscribe(e.createOperatorSubscriber(R,function(F){I?.unsubscribe(),O++,R.next(L=F),m>0&&z(m)},void 0,void 0,function(){I?.closed||I?.unsubscribe(),L=null})),!O&&z(null!=y?"number"==typeof y?y:+y-M.now():m)})}},88536:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timeoutWith=void 0;var n=o(69252),i=o(42384),d=o(20268);f.timeoutWith=function u(a,e,c){var l,g,b;if(c=c??n.async,i.isValidDate(a)?l=a:"number"==typeof a&&(g=a),!e)throw new TypeError("No observable provided to switch to");if(b=function(){return e},null==l&&null==g)throw new TypeError("No timeout provided.");return d.timeout({first:l,each:g,scheduler:c,with:b})}},37248:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.timestamp=void 0;var n=o(8764),i=o(784);f.timestamp=function d(u){return void 0===u&&(u=n.dateTimestampProvider),i.map(function(a){return{value:a,timestamp:u.now()}})}},29316:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.toArray=void 0;var n=o(39980),i=o(66080),d=function(a,e){return a.push(e),a};f.toArray=function u(){return i.operate(function(a,e){n.reduce(d,[])(a).subscribe(e)})}},40560:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.window=void 0;var n=o(90120),i=o(66080),d=o(35744),u=o(48320),a=o(81280);f.window=function e(c){return i.operate(function(l,g){var b=new n.Subject;g.next(b.asObservable());var _=function(S){b.error(S),g.error(S)};return l.subscribe(d.createOperatorSubscriber(g,function(S){return b?.next(S)},function(){b.complete(),g.complete()},_)),a.innerFrom(c).subscribe(d.createOperatorSubscriber(g,function(){b.complete(),g.next(b=new n.Subject)},u.noop,_)),function(){b?.unsubscribe(),b=null}})}},79068:function(ve,f,o){"use strict";var n=this&&this.__values||function(e){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&e[c],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.windowCount=void 0;var i=o(90120),d=o(66080),u=o(35744);f.windowCount=function a(e,c){void 0===c&&(c=0);var l=c>0?c:e;return d.operate(function(g,b){var _=[new i.Subject],y=0;b.next(_[0].asObservable()),g.subscribe(u.createOperatorSubscriber(b,function(m){var h,C;try{for(var v=n(_),M=v.next();!M.done;M=v.next())M.value.next(m)}catch(R){h={error:R}}finally{try{M&&!M.done&&(C=v.return)&&C.call(v)}finally{if(h)throw h.error}}var A=y-e+1;if(A>=0&&A%l==0&&_.shift().complete(),++y%l==0){var T=new i.Subject;_.push(T),b.next(T.asObservable())}},function(){for(;_.length>0;)_.shift().complete();b.complete()},function(m){for(;_.length>0;)_.shift().error(m);b.error(m)},function(){_=null}))})}},11984:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.windowTime=void 0;var n=o(90120),i=o(69252),d=o(40576),u=o(66080),a=o(35744),e=o(39852),c=o(69724),l=o(61760);f.windowTime=function g(b){for(var _,S,y=[],m=1;m=0?l.executeSchedule(E,h,N,C,!0):T=!0,N();var I=function(O){return A.slice().forEach(O)},L=function(O){I(function(z){return O(z.window)}),O(E),E.unsubscribe()};return M.subscribe(a.createOperatorSubscriber(E,function(O){I(function(z){z.window.next(O),v<=++z.seen&&R(z)})},function(){return L(function(O){return O.complete()})},function(O){return L(function(z){return z.error(O)})})),function(){A=null}})}},97776:function(ve,f,o){"use strict";var n=this&&this.__values||function(b){var _="function"==typeof Symbol&&Symbol.iterator,S=_&&b[_],y=0;if(S)return S.call(b);if(b&&"number"==typeof b.length)return{next:function(){return b&&y>=b.length&&(b=void 0),{value:b&&b[y++],done:!b}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(f,"__esModule",{value:!0}),f.windowToggle=void 0;var i=o(90120),d=o(40576),u=o(66080),a=o(81280),e=o(35744),c=o(48320),l=o(39852);f.windowToggle=function g(b,_){return u.operate(function(S,y){var m=[],h=function(C){for(;0{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.windowWhen=void 0;var n=o(90120),i=o(66080),d=o(35744),u=o(81280);f.windowWhen=function a(e){return i.operate(function(c,l){var g,b,_=function(y){g.error(y),l.error(y)},S=function(){var y;b?.unsubscribe(),g?.complete(),g=new n.Subject,l.next(g.asObservable());try{y=u.innerFrom(e())}catch(m){return void _(m)}y.subscribe(b=d.createOperatorSubscriber(l,S,S,_))};S(),c.subscribe(d.createOperatorSubscriber(l,function(y){return g.next(y)},function(){g.complete(),l.complete()},_,function(){b?.unsubscribe(),g=null}))})}},95780:function(ve,f,o){"use strict";var n=this&&this.__read||function(b,_){var S="function"==typeof Symbol&&b[Symbol.iterator];if(!S)return b;var m,C,y=S.call(b),h=[];try{for(;(void 0===_||_-- >0)&&!(m=y.next()).done;)h.push(m.value)}catch(v){C={error:v}}finally{try{m&&!m.done&&(S=y.return)&&S.call(y)}finally{if(C)throw C.error}}return h},i=this&&this.__spreadArray||function(b,_){for(var S=0,y=_.length,m=b.length;S0)&&!(b=g.next()).done;)_.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return _},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.zipAll=void 0;var n=o(59172),i=o(28400);f.zipAll=function d(u){return i.joinAllInternals(n.zip,u)}},56824:function(ve,f,o){"use strict";var n=this&&this.__read||function(a,e){var c="function"==typeof Symbol&&a[Symbol.iterator];if(!c)return a;var g,_,l=c.call(a),b=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)b.push(g.value)}catch(S){_={error:S}}finally{try{g&&!g.done&&(c=l.return)&&c.call(l)}finally{if(_)throw _.error}}return b},i=this&&this.__spreadArray||function(a,e){for(var c=0,l=e.length,g=a.length;c{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleArray=void 0;var n=o(15448);f.scheduleArray=function i(d,u){return new n.Observable(function(a){var e=0;return u.schedule(function(){e===d.length?a.complete():(a.next(d[e++]),a.closed||this.schedule())})})}},37360:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleAsyncIterable=void 0;var n=o(15448),i=o(61760);f.scheduleAsyncIterable=function d(u,a){if(!u)throw new Error("Iterable cannot be null");return new n.Observable(function(e){i.executeSchedule(e,a,function(){var c=u[Symbol.asyncIterator]();i.executeSchedule(e,a,function(){c.next().then(function(l){l.done?e.complete():e.next(l.value)})},0,!0)})})}},66589:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleIterable=void 0;var n=o(15448),i=o(71040),d=o(82360),u=o(61760);f.scheduleIterable=function a(e,c){return new n.Observable(function(l){var g;return u.executeSchedule(l,c,function(){g=e[i.iterator](),u.executeSchedule(l,c,function(){var b,_,S;try{_=(b=g.next()).value,S=b.done}catch(y){return void l.error(y)}S?l.complete():l.next(_)},0,!0)}),function(){return d.isFunction(g?.return)&&g.return()}})}},90996:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleObservable=void 0;var n=o(81280),i=o(33752),d=o(67992);f.scheduleObservable=function u(a,e){return n.innerFrom(a).pipe(d.subscribeOn(e),i.observeOn(e))}},23219:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.schedulePromise=void 0;var n=o(81280),i=o(33752),d=o(67992);f.schedulePromise=function u(a,e){return n.innerFrom(a).pipe(d.subscribeOn(e),i.observeOn(e))}},95196:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduleReadableStreamLike=void 0;var n=o(37360),i=o(11416);f.scheduleReadableStreamLike=function d(u,a){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(u),a)}},44232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.scheduled=void 0;var n=o(90996),i=o(23219),d=o(24920),u=o(66589),a=o(37360),e=o(18440),c=o(28296),l=o(18224),g=o(30640),b=o(37156),_=o(34088),S=o(11416),y=o(95196);f.scheduled=function m(h,C){if(null!=h){if(e.isInteropObservable(h))return n.scheduleObservable(h,C);if(l.isArrayLike(h))return d.scheduleArray(h,C);if(c.isPromise(h))return i.schedulePromise(h,C);if(b.isAsyncIterable(h))return a.scheduleAsyncIterable(h,C);if(g.isIterable(h))return u.scheduleIterable(h,C);if(S.isReadableStreamLike(h))return y.scheduleReadableStreamLike(h,C)}throw _.createInvalidObservableTypeError(h)}},30576:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.Action=void 0;var d=function(u){function a(e,c){return u.call(this)||this}return n(a,u),a.prototype.schedule=function(e,c){return void 0===c&&(c=0),this},a}(o(40576).Subscription);f.Action=d},70079:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var a=function(e,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,g){l.__proto__=g}||function(l,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(l[b]=g[b])})(e,c)};return function(e,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function l(){this.constructor=e}a(e,c),e.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AnimationFrameAction=void 0;var i=o(6972),d=o(24352),u=function(a){function e(c,l){var g=a.call(this,c,l)||this;return g.scheduler=c,g.work=l,g}return n(e,a),e.prototype.requestAsyncId=function(c,l,g){return void 0===g&&(g=0),null!==g&&g>0?a.prototype.requestAsyncId.call(this,c,l,g):(c.actions.push(this),c._scheduled||(c._scheduled=d.animationFrameProvider.requestAnimationFrame(function(){return c.flush(void 0)})))},e.prototype.recycleAsyncId=function(c,l,g){var b;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return a.prototype.recycleAsyncId.call(this,c,l,g);var _=c.actions;null!=l&&(null===(b=_[_.length-1])||void 0===b?void 0:b.id)!==l&&(d.animationFrameProvider.cancelAnimationFrame(l),c._scheduled=void 0)},e}(i.AsyncAction);f.AnimationFrameAction=u},41752:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AnimationFrameScheduler=void 0;var d=function(u){function a(){return null!==u&&u.apply(this,arguments)||this}return n(a,u),a.prototype.flush=function(e){this._active=!0;var c=this._scheduled;this._scheduled=void 0;var g,l=this.actions;e=e||l.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=l[0])&&e.id===c&&l.shift());if(this._active=!1,g){for(;(e=l[0])&&e.id===c&&l.shift();)e.unsubscribe();throw g}},a}(o(16660).AsyncScheduler);f.AnimationFrameScheduler=d},48368:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var a=function(e,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,g){l.__proto__=g}||function(l,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(l[b]=g[b])})(e,c)};return function(e,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function l(){this.constructor=e}a(e,c),e.prototype=null===c?Object.create(c):(l.prototype=c.prototype,new l)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsapAction=void 0;var i=o(6972),d=o(7832),u=function(a){function e(c,l){var g=a.call(this,c,l)||this;return g.scheduler=c,g.work=l,g}return n(e,a),e.prototype.requestAsyncId=function(c,l,g){return void 0===g&&(g=0),null!==g&&g>0?a.prototype.requestAsyncId.call(this,c,l,g):(c.actions.push(this),c._scheduled||(c._scheduled=d.immediateProvider.setImmediate(c.flush.bind(c,void 0))))},e.prototype.recycleAsyncId=function(c,l,g){var b;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return a.prototype.recycleAsyncId.call(this,c,l,g);var _=c.actions;null!=l&&(null===(b=_[_.length-1])||void 0===b?void 0:b.id)!==l&&(d.immediateProvider.clearImmediate(l),c._scheduled===l&&(c._scheduled=void 0))},e}(i.AsyncAction);f.AsapAction=u},32400:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsapScheduler=void 0;var d=function(u){function a(){return null!==u&&u.apply(this,arguments)||this}return n(a,u),a.prototype.flush=function(e){this._active=!0;var c=this._scheduled;this._scheduled=void 0;var g,l=this.actions;e=e||l.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=l[0])&&e.id===c&&l.shift());if(this._active=!1,g){for(;(e=l[0])&&e.id===c&&l.shift();)e.unsubscribe();throw g}},a}(o(16660).AsyncScheduler);f.AsapScheduler=d},6972:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var e=function(c,l){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(g[_]=b[_])})(c,l)};return function(c,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function g(){this.constructor=c}e(c,l),c.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsyncAction=void 0;var i=o(30576),d=o(61691),u=o(39852),a=function(e){function c(l,g){var b=e.call(this,l,g)||this;return b.scheduler=l,b.work=g,b.pending=!1,b}return n(c,e),c.prototype.schedule=function(l,g){var b;if(void 0===g&&(g=0),this.closed)return this;this.state=l;var _=this.id,S=this.scheduler;return null!=_&&(this.id=this.recycleAsyncId(S,_,g)),this.pending=!0,this.delay=g,this.id=null!==(b=this.id)&&void 0!==b?b:this.requestAsyncId(S,this.id,g),this},c.prototype.requestAsyncId=function(l,g,b){return void 0===b&&(b=0),d.intervalProvider.setInterval(l.flush.bind(l,this),b)},c.prototype.recycleAsyncId=function(l,g,b){if(void 0===b&&(b=0),null!=b&&this.delay===b&&!1===this.pending)return g;null!=g&&d.intervalProvider.clearInterval(g)},c.prototype.execute=function(l,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var b=this._execute(l,g);if(b)return b;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},c.prototype._execute=function(l,g){var _,b=!1;try{this.work(l)}catch(S){b=!0,_=S||new Error("Scheduled action threw falsy error")}if(b)return this.unsubscribe(),_},c.prototype.unsubscribe=function(){if(!this.closed){var g=this.id,b=this.scheduler,_=b.actions;this.work=this.state=this.scheduler=null,this.pending=!1,u.arrRemove(_,this),null!=g&&(this.id=this.recycleAsyncId(b,g,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},c}(i.Action);f.AsyncAction=a},16660:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.AsyncScheduler=void 0;var i=o(25784),d=function(u){function a(e,c){void 0===c&&(c=i.Scheduler.now);var l=u.call(this,e,c)||this;return l.actions=[],l._active=!1,l}return n(a,u),a.prototype.flush=function(e){var c=this.actions;if(this._active)c.push(e);else{var l;this._active=!0;do{if(l=e.execute(e.state,e.delay))break}while(e=c.shift());if(this._active=!1,l){for(;e=c.shift();)e.unsubscribe();throw l}}},a}(i.Scheduler);f.AsyncScheduler=d},71688:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.QueueAction=void 0;var d=function(u){function a(e,c){var l=u.call(this,e,c)||this;return l.scheduler=e,l.work=c,l}return n(a,u),a.prototype.schedule=function(e,c){return void 0===c&&(c=0),c>0?u.prototype.schedule.call(this,e,c):(this.delay=c,this.state=e,this.scheduler.flush(this),this)},a.prototype.execute=function(e,c){return c>0||this.closed?u.prototype.execute.call(this,e,c):this._execute(e,c)},a.prototype.requestAsyncId=function(e,c,l){return void 0===l&&(l=0),null!=l&&l>0||null==l&&this.delay>0?u.prototype.requestAsyncId.call(this,e,c,l):(e.flush(this),0)},a}(o(6972).AsyncAction);f.QueueAction=d},36148:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var u=function(a,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(c[g]=l[g])})(a,e)};return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function c(){this.constructor=a}u(a,e),a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.QueueScheduler=void 0;var d=function(u){function a(){return null!==u&&u.apply(this,arguments)||this}return n(a,u),a}(o(16660).AsyncScheduler);f.QueueScheduler=d},45992:function(ve,f,o){"use strict";var n=this&&this.__extends||function(){var c=function(l,g){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,_){b.__proto__=_}||function(b,_){for(var S in _)Object.prototype.hasOwnProperty.call(_,S)&&(b[S]=_[S])})(l,g)};return function(l,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function b(){this.constructor=l}c(l,g),l.prototype=null===g?Object.create(g):(b.prototype=g.prototype,new b)}}();Object.defineProperty(f,"__esModule",{value:!0}),f.VirtualAction=f.VirtualTimeScheduler=void 0;var i=o(6972),d=o(40576),a=function(c){function l(g,b){void 0===g&&(g=e),void 0===b&&(b=1/0);var _=c.call(this,g,function(){return _.frame})||this;return _.maxFrames=b,_.frame=0,_.index=-1,_}return n(l,c),l.prototype.flush=function(){for(var S,y,b=this.actions,_=this.maxFrames;(y=b[0])&&y.delay<=_&&(b.shift(),this.frame=y.delay,!(S=y.execute(y.state,y.delay))););if(S){for(;y=b.shift();)y.unsubscribe();throw S}},l.frameTimeFactor=10,l}(o(16660).AsyncScheduler);f.VirtualTimeScheduler=a;var e=function(c){function l(g,b,_){void 0===_&&(_=g.index+=1);var S=c.call(this,g,b)||this;return S.scheduler=g,S.work=b,S.index=_,S.active=!0,S.index=g.index=_,S}return n(l,c),l.prototype.schedule=function(g,b){if(void 0===b&&(b=0),Number.isFinite(b)){if(!this.id)return c.prototype.schedule.call(this,g,b);this.active=!1;var _=new l(this.scheduler,this.work);return this.add(_),_.schedule(g,b)}return d.Subscription.EMPTY},l.prototype.requestAsyncId=function(g,b,_){void 0===_&&(_=0),this.delay=g.frame+_;var S=g.actions;return S.push(this),S.sort(l.sortActions),1},l.prototype.recycleAsyncId=function(g,b,_){void 0===_&&(_=0)},l.prototype._execute=function(g,b){if(!0===this.active)return c.prototype._execute.call(this,g,b)},l.sortActions=function(g,b){return g.delay===b.delay?g.index===b.index?0:g.index>b.index?1:-1:g.delay>b.delay?1:-1},l}(i.AsyncAction);f.VirtualAction=e},70232:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.animationFrame=f.animationFrameScheduler=void 0;var n=o(70079),i=o(41752);f.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),f.animationFrame=f.animationFrameScheduler},24352:function(ve,f,o){"use strict";var n=this&&this.__read||function(u,a){var e="function"==typeof Symbol&&u[Symbol.iterator];if(!e)return u;var l,b,c=e.call(u),g=[];try{for(;(void 0===a||a-- >0)&&!(l=c.next()).done;)g.push(l.value)}catch(_){b={error:_}}finally{try{l&&!l.done&&(e=c.return)&&e.call(c)}finally{if(b)throw b.error}}return g},i=this&&this.__spreadArray||function(u,a){for(var e=0,c=a.length,l=u.length;e{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.asap=f.asapScheduler=void 0;var n=o(48368),i=o(32400);f.asapScheduler=new i.AsapScheduler(n.AsapAction),f.asap=f.asapScheduler},69252:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.async=f.asyncScheduler=void 0;var n=o(6972),i=o(16660);f.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),f.async=f.asyncScheduler},8764:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.dateTimestampProvider=void 0,f.dateTimestampProvider={now:function(){return(f.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(ve,f,o){"use strict";var n=this&&this.__read||function(e,c){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var b,S,g=l.call(e),_=[];try{for(;(void 0===c||c-- >0)&&!(b=g.next()).done;)_.push(b.value)}catch(y){S={error:y}}finally{try{b&&!b.done&&(l=g.return)&&l.call(g)}finally{if(S)throw S.error}}return _},i=this&&this.__spreadArray||function(e,c){for(var l=0,g=c.length,b=e.length;l0)&&!(e=a.next()).done;)c.push(e.value)}catch(g){l={error:g}}finally{try{e&&!e.done&&(u=a.return)&&u.call(a)}finally{if(l)throw l.error}}return c},n=this&&this.__spreadArray||function(i,d){for(var u=0,a=d.length,e=i.length;u{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.performanceTimestampProvider=void 0,f.performanceTimestampProvider={now:function(){return(f.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.queue=f.queueScheduler=void 0;var n=o(71688),i=o(36148);f.queueScheduler=new i.QueueScheduler(n.QueueAction),f.queue=f.queueScheduler},82480:function(ve,f){"use strict";var o=this&&this.__read||function(i,d){var u="function"==typeof Symbol&&i[Symbol.iterator];if(!u)return i;var e,l,a=u.call(i),c=[];try{for(;(void 0===d||d-- >0)&&!(e=a.next()).done;)c.push(e.value)}catch(g){l={error:g}}finally{try{e&&!e.done&&(u=a.return)&&u.call(a)}finally{if(l)throw l.error}}return c},n=this&&this.__spreadArray||function(i,d){for(var u=0,a=d.length,e=i.length;u{"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(f,"__esModule",{value:!0}),f.iterator=f.getSymbolIterator=void 0,f.getSymbolIterator=o,f.iterator=o()},72064:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.observable=void 0,f.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0})},32929:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ArgumentOutOfRangeError=void 0;var n=o(26624);f.ArgumentOutOfRangeError=n.createErrorClass(function(i){return function(){i(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.EmptyError=void 0;var n=o(26624);f.EmptyError=n.createErrorClass(function(i){return function(){i(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.TestTools=f.Immediate=void 0;var n,o=1,i={};function d(u){return u in i&&(delete i[u],!0)}f.Immediate={setImmediate:function(u){var a=o++;return i[a]=!0,n||(n=Promise.resolve()),n.then(function(){return d(a)&&u()}),a},clearImmediate:function(u){d(u)}},f.TestTools={pending:function(){return Object.keys(i).length}}},15496:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.NotFoundError=void 0;var n=o(26624);f.NotFoundError=n.createErrorClass(function(i){return function(u){i(this),this.name="NotFoundError",this.message=u}})},92304:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ObjectUnsubscribedError=void 0;var n=o(26624);f.ObjectUnsubscribedError=n.createErrorClass(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SequenceError=void 0;var n=o(26624);f.SequenceError=n.createErrorClass(function(i){return function(u){i(this),this.name="SequenceError",this.message=u}})},9560:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnsubscriptionError=void 0;var n=o(26624);f.UnsubscriptionError=n.createErrorClass(function(i){return function(u){i(this),this.message=u?u.length+" errors occurred during unsubscription:\n"+u.map(function(a,e){return e+1+") "+a.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=u}})},69724:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.popNumber=f.popScheduler=f.popResultSelector=void 0;var n=o(82360),i=o(76964);function d(c){return c[c.length-1]}f.popResultSelector=function u(c){return n.isFunction(d(c))?c.pop():void 0},f.popScheduler=function a(c){return i.isScheduler(d(c))?c.pop():void 0},f.popNumber=function e(c,l){return"number"==typeof d(c)?c.pop():l}},75352:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.argsArgArrayOrObject=void 0;var o=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,d=Object.keys;f.argsArgArrayOrObject=function u(e){if(1===e.length){var c=e[0];if(o(c))return{args:c,keys:null};if(function a(e){return e&&"object"==typeof e&&n(e)===i}(c)){var l=d(c);return{args:l.map(function(g){return c[g]}),keys:l}}}return{args:e,keys:null}}},50652:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.argsOrArgArray=void 0;var o=Array.isArray;f.argsOrArgArray=function n(i){return 1===i.length&&o(i[0])?i[0]:i}},39852:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.arrRemove=void 0,f.arrRemove=function o(n,i){if(n){var d=n.indexOf(i);0<=d&&n.splice(d,1)}}},26624:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createErrorClass=void 0,f.createErrorClass=function o(n){var d=n(function(u){Error.call(u),u.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}},7788:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createObject=void 0,f.createObject=function o(n,i){return n.reduce(function(d,u,a){return d[u]=i[a],d},{})}},49664:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.captureError=f.errorContext=void 0;var n=o(90584),i=null;f.errorContext=function d(a){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),a(),e){var c=i;if(i=null,c.errorThrown)throw c.error}}else a()},f.captureError=function u(a){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=a)}},61760:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.executeSchedule=void 0,f.executeSchedule=function o(n,i,d,u,a){void 0===u&&(u=0),void 0===a&&(a=!1);var e=i.schedule(function(){d(),a?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(e),!a)return e}},55184:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.identity=void 0,f.identity=function o(n){return n}},18224:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isArrayLike=void 0,f.isArrayLike=function(o){return o&&"number"==typeof o.length&&"function"!=typeof o}},37156:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isAsyncIterable=void 0;var n=o(82360);f.isAsyncIterable=function i(d){return Symbol.asyncIterator&&n.isFunction(d?.[Symbol.asyncIterator])}},42384:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isValidDate=void 0,f.isValidDate=function o(n){return n instanceof Date&&!isNaN(n)}},82360:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isFunction=void 0,f.isFunction=function o(n){return"function"==typeof n}},18440:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isInteropObservable=void 0;var n=o(72064),i=o(82360);f.isInteropObservable=function d(u){return i.isFunction(u[n.observable])}},30640:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isIterable=void 0;var n=o(71040),i=o(82360);f.isIterable=function d(u){return i.isFunction(u?.[n.iterator])}},38104:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isObservable=void 0;var n=o(15448),i=o(82360);f.isObservable=function d(u){return!!u&&(u instanceof n.Observable||i.isFunction(u.lift)&&i.isFunction(u.subscribe))}},28296:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isPromise=void 0;var n=o(82360);f.isPromise=function i(d){return n.isFunction(d?.then)}},11416:function(ve,f,o){"use strict";var n=this&&this.__generator||function(c,l){var b,_,S,y,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return y={next:m(0),throw:m(1),return:m(2)},"function"==typeof Symbol&&(y[Symbol.iterator]=function(){return this}),y;function m(C){return function(v){return function h(C){if(b)throw new TypeError("Generator is already executing.");for(;g;)try{if(b=1,_&&(S=2&C[0]?_.return:C[0]?_.throw||((S=_.return)&&S.call(_),0):_.next)&&!(S=S.call(_,C[1])).done)return S;switch(_=0,S&&(C=[2&C[0],S.value]),C[0]){case 0:case 1:S=C;break;case 4:return g.label++,{value:C[1],done:!1};case 5:g.label++,_=C[1],C=[0];continue;case 7:C=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===C[0]||2===C[0])){g=0;continue}if(3===C[0]&&(!S||C[1]>S[0]&&C[1]1||m(E,A)})})}function m(E,A){try{!function h(E){E.value instanceof i?Promise.resolve(E.value.v).then(C,v):M(S[0][2],E)}(b[E](A))}catch(T){M(S[0][3],T)}}function C(E){m("next",E)}function v(E){m("throw",E)}function M(E,A){E(A),S.shift(),S.length&&m(S[0][0],S[0][1])}};Object.defineProperty(f,"__esModule",{value:!0}),f.isReadableStreamLike=f.readableStreamLikeToAsyncGenerator=void 0;var u=o(82360);f.readableStreamLikeToAsyncGenerator=function a(c){return d(this,arguments,function(){var g,b,_;return n(this,function(y){switch(y.label){case 0:g=c.getReader(),y.label=1;case 1:y.trys.push([1,,9,10]),y.label=2;case 2:return[4,i(g.read())];case 3:return b=y.sent(),_=b.value,b.done?[4,i(void 0)]:[3,5];case 4:return[2,y.sent()];case 5:return[4,i(_)];case 6:return[4,y.sent()];case 7:return y.sent(),[3,2];case 8:return[3,10];case 9:return g.releaseLock(),[7];case 10:return[2]}})})},f.isReadableStreamLike=function e(c){return u.isFunction(c?.getReader)}},76964:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isScheduler=void 0;var n=o(82360);f.isScheduler=function i(d){return d&&n.isFunction(d.schedule)}},66080:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.operate=f.hasLift=void 0;var n=o(82360);function i(u){return n.isFunction(u?.lift)}f.hasLift=i,f.operate=function d(u){return function(a){if(i(a))return a.lift(function(e){try{return u(e,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(ve,f,o){"use strict";var n=this&&this.__read||function(c,l){var g="function"==typeof Symbol&&c[Symbol.iterator];if(!g)return c;var _,y,b=g.call(c),S=[];try{for(;(void 0===l||l-- >0)&&!(_=b.next()).done;)S.push(_.value)}catch(m){y={error:m}}finally{try{_&&!_.done&&(g=b.return)&&g.call(b)}finally{if(y)throw y.error}}return S},i=this&&this.__spreadArray||function(c,l){for(var g=0,b=l.length,_=c.length;g{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.noop=void 0,f.noop=function o(){}},37700:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.not=void 0,f.not=function o(n,i){return function(d,u){return!n.call(i,d,u)}}},19512:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.pipeFromArray=f.pipe=void 0;var n=o(55184);function d(u){return 0===u.length?n.identity:1===u.length?u[0]:function(e){return u.reduce(function(c,l){return l(c)},e)}}f.pipe=function i(){for(var u=[],a=0;a{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.reportUnhandledError=void 0;var n=o(90584),i=o(82480);f.reportUnhandledError=function d(u){i.timeoutProvider.setTimeout(function(){var a=n.config.onUnhandledError;if(!a)throw u;a(u)})}},34088:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createInvalidObservableTypeError=void 0,f.createInvalidObservableTypeError=function o(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},46700:(ve,f,o)=>{"use strict";o.d(f,{g:()=>i});var n=o(95657);class i extends n.E{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const a=super._subscribe(u);return!a.closed&&u.next(this._value),a}getValue(){const{hasError:u,thrownError:a,_value:e}=this;if(u)throw a;return this._throwIfClosed(),e}next(u){super.next(this._value=u)}}},53252:(ve,f,o)=>{"use strict";o.d(f,{_:()=>l});var n=o(41760),i=o(46928),d=o(90472),u=o(83928),a=o(74491),e=o(38880),c=o(92075);let l=(()=>{class S{constructor(m){m&&(this._subscribe=m)}lift(m){const h=new S;return h.source=this,h.operator=m,h}subscribe(m,h,C){const v=function _(S){return S&&S instanceof n.yR||function b(S){return S&&(0,e.m)(S.next)&&(0,e.m)(S.error)&&(0,e.m)(S.complete)}(S)&&(0,i.GI)(S)}(m)?m:new n.ot(m,h,C);return(0,c.c)(()=>{const{operator:M,source:E}=this;v.add(M?M.call(v,E):E?this._subscribe(v):this._trySubscribe(v))}),v}_trySubscribe(m){try{return this._subscribe(m)}catch(h){m.error(h)}}forEach(m,h){return new(h=g(h))((C,v)=>{const M=new n.ot({next:E=>{try{m(E)}catch(A){v(A),M.unsubscribe()}},error:v,complete:C});this.subscribe(M)})}_subscribe(m){var h;return null===(h=this.source)||void 0===h?void 0:h.subscribe(m)}[d.a](){return this}pipe(...m){return(0,u.Y)(m)(this)}toPromise(m){return new(m=g(m))((h,C)=>{let v;this.subscribe(M=>v=M,M=>C(M),()=>h(v))})}}return S.create=y=>new S(y),S})();function g(S){var y;return null!==(y=S??a.config.Promise)&&void 0!==y?y:Promise}},95657:(ve,f,o)=>{"use strict";o.d(f,{E:()=>c});var n=o(53252),i=o(46928);const u=(0,o(14912).w)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var a=o(41248),e=o(92075);let c=(()=>{class g extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(_){const S=new l(this,this);return S.operator=_,S}_throwIfClosed(){if(this.closed)throw new u}next(_){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const S of this.currentObservers)S.next(_)}})}error(_){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=_;const{observers:S}=this;for(;S.length;)S.shift().error(_)}})}complete(){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:_}=this;for(;_.length;)_.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var _;return(null===(_=this.observers)||void 0===_?void 0:_.length)>0}_trySubscribe(_){return this._throwIfClosed(),super._trySubscribe(_)}_subscribe(_){return this._throwIfClosed(),this._checkFinalizedStatuses(_),this._innerSubscribe(_)}_innerSubscribe(_){const{hasError:S,isStopped:y,observers:m}=this;return S||y?i.au:(this.currentObservers=null,m.push(_),new i.wH(()=>{this.currentObservers=null,(0,a.k)(m,_)}))}_checkFinalizedStatuses(_){const{hasError:S,thrownError:y,isStopped:m}=this;S?_.error(y):m&&_.complete()}asObservable(){const _=new n._;return _.source=this,_}}return g.create=(b,_)=>new l(b,_),g})();class l extends c{constructor(b,_){super(),this.destination=b,this.source=_}next(b){var _,S;null===(S=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===S||S.call(_,b)}error(b){var _,S;null===(S=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===S||S.call(_,b)}complete(){var b,_;null===(_=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===_||_.call(b)}_subscribe(b){var _,S;return null!==(S=null===(_=this.source)||void 0===_?void 0:_.subscribe(b))&&void 0!==S?S:i.au}}},41760:(ve,f,o)=>{"use strict";o.d(f,{ot:()=>C,yR:()=>S});var n=o(38880),i=o(46928),d=o(74491),u=o(31984),a=o(20308);const e=g("C",void 0,void 0);function g(T,R,N){return{kind:T,value:R,error:N}}var b=o(43376),_=o(92075);class S extends i.wH{constructor(R){super(),this.isStopped=!1,R?(this.destination=R,(0,i.GI)(R)&&R.add(this)):this.destination=A}static create(R,N,I){return new C(R,N,I)}next(R){this.isStopped?E(function l(T){return g("N",T,void 0)}(R),this):this._next(R)}error(R){this.isStopped?E(function c(T){return g("E",void 0,T)}(R),this):(this.isStopped=!0,this._error(R))}complete(){this.isStopped?E(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(R){this.destination.next(R)}_error(R){try{this.destination.error(R)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const y=Function.prototype.bind;function m(T,R){return y.call(T,R)}class h{constructor(R){this.partialObserver=R}next(R){const{partialObserver:N}=this;if(N.next)try{N.next(R)}catch(I){v(I)}}error(R){const{partialObserver:N}=this;if(N.error)try{N.error(R)}catch(I){v(I)}else v(R)}complete(){const{partialObserver:R}=this;if(R.complete)try{R.complete()}catch(N){v(N)}}}class C extends S{constructor(R,N,I){let L;if(super(),(0,n.m)(R)||!R)L={next:R??void 0,error:N??void 0,complete:I??void 0};else{let O;this&&d.config.useDeprecatedNextContext?(O=Object.create(R),O.unsubscribe=()=>this.unsubscribe(),L={next:R.next&&m(R.next,O),error:R.error&&m(R.error,O),complete:R.complete&&m(R.complete,O)}):L=R}this.destination=new h(L)}}function v(T){d.config.useDeprecatedSynchronousErrorHandling?(0,_.q)(T):(0,u.U)(T)}function E(T,R){const{onStoppedNotification:N}=d.config;N&&b.u.setTimeout(()=>N(T,R))}const A={closed:!0,next:a.K,error:function M(T){throw T},complete:a.K}},46928:(ve,f,o)=>{"use strict";o.d(f,{au:()=>e,wH:()=>a,GI:()=>c});var n=o(38880);const d=(0,o(14912).w)(g=>function(_){g(this),this.message=_?`${_.length} errors occurred during unsubscription:\n${_.map((S,y)=>`${y+1}) ${S.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=_});var u=o(41248);class a{constructor(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let b;if(!this.closed){this.closed=!0;const{_parentage:_}=this;if(_)if(this._parentage=null,Array.isArray(_))for(const m of _)m.remove(this);else _.remove(this);const{initialTeardown:S}=this;if((0,n.m)(S))try{S()}catch(m){b=m instanceof d?m.errors:[m]}const{_finalizers:y}=this;if(y){this._finalizers=null;for(const m of y)try{l(m)}catch(h){b=b??[],h instanceof d?b=[...b,...h.errors]:b.push(h)}}if(b)throw new d(b)}}add(b){var _;if(b&&b!==this)if(this.closed)l(b);else{if(b instanceof a){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(_=this._finalizers)&&void 0!==_?_:[]).push(b)}}_hasParent(b){const{_parentage:_}=this;return _===b||Array.isArray(_)&&_.includes(b)}_addParent(b){const{_parentage:_}=this;this._parentage=Array.isArray(_)?(_.push(b),_):_?[_,b]:b}_removeParent(b){const{_parentage:_}=this;_===b?this._parentage=null:Array.isArray(_)&&(0,u.k)(_,b)}remove(b){const{_finalizers:_}=this;_&&(0,u.k)(_,b),b instanceof a&&b._removeParent(this)}}a.EMPTY=(()=>{const g=new a;return g.closed=!0,g})();const e=a.EMPTY;function c(g){return g instanceof a||g&&"closed"in g&&(0,n.m)(g.remove)&&(0,n.m)(g.add)&&(0,n.m)(g.unsubscribe)}function l(g){(0,n.m)(g)?g():g.unsubscribe()}},74491:(ve,f,o)=>{"use strict";o.d(f,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(ve,f,o)=>{"use strict";o.d(f,{E:()=>b});var n=o(53252),i=o(64300),d=o(74496),u=o(528),a=o(74187),e=o(59472),c=o(67904),l=o(87773),g=o(69399);function b(...y){const m=(0,e.e_)(y),h=(0,e.yu)(y),{args:C,keys:v}=(0,i.Q)(y);if(0===C.length)return(0,d.Q)([],m);const M=new n._(function _(y,m,h=u.Z){return C=>{S(m,()=>{const{length:v}=y,M=new Array(v);let E=v,A=v;for(let T=0;T{const R=(0,d.Q)(y[T],m);let N=!1;R.subscribe((0,l.e)(C,I=>{M[T]=I,N||(N=!0,A--),A||C.next(h(M.slice()))},()=>{--E||C.complete()}))},C)},C)}}(C,m,v?E=>(0,c.q)(v,E):u.Z));return h?M.pipe((0,a.j)(h)):M}function S(y,m,h){y?(0,g._)(h,y,m):m()}},28960:(ve,f,o)=>{"use strict";o.d(f,{k:()=>i});const i=new(o(53252)._)(a=>a.complete())},74496:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>I});var n=o(50560),i=o(69399),d=o(95448),u=o(87773);function a(L,O=0){return(0,d.i)((z,F)=>{z.subscribe((0,u.e)(F,q=>(0,i._)(F,L,()=>F.next(q),O),()=>(0,i._)(F,L,()=>F.complete(),O),q=>(0,i._)(F,L,()=>F.error(q),O)))})}function e(L,O=0){return(0,d.i)((z,F)=>{F.add(L.schedule(()=>z.subscribe(F),O))})}var g=o(53252),_=o(23835),S=o(38880);function m(L,O){if(!L)throw new Error("Iterable cannot be null");return new g._(z=>{(0,i._)(z,O,()=>{const F=L[Symbol.asyncIterator]();(0,i._)(z,O,()=>{F.next().then(q=>{q.done?z.complete():z.next(q.value)})},0,!0)})})}var h=o(35099),C=o(55432),v=o(45428),M=o(61688),E=o(60376),A=o(58272),T=o(45832);function I(L,O){return O?function N(L,O){if(null!=L){if((0,h.O)(L))return function c(L,O){return(0,n.Uv)(L).pipe(e(O),a(O))}(L,O);if((0,v.G)(L))return function b(L,O){return new g._(z=>{let F=0;return O.schedule(function(){F===L.length?z.complete():(z.next(L[F++]),z.closed||this.schedule())})})}(L,O);if((0,C.u)(L))return function l(L,O){return(0,n.Uv)(L).pipe(e(O),a(O))}(L,O);if((0,E.E)(L))return m(L,O);if((0,M.i)(L))return function y(L,O){return new g._(z=>{let F;return(0,i._)(z,O,()=>{F=L[_.w](),(0,i._)(z,O,()=>{let q,X;try{({value:q,done:X}=F.next())}catch(ce){return void z.error(ce)}X?z.complete():z.next(q)},0,!0)}),()=>(0,S.m)(F?.return)&&F.return()})}(L,O);if((0,T.K)(L))return function R(L,O){return m((0,T._)(L),O)}(L,O)}throw(0,A.W)(L)}(L,O):(0,n.Uv)(L)}},70800:(ve,f,o)=>{"use strict";o.d(f,{w:()=>b});var n=o(50560),i=o(53252),d=o(7400),u=o(45428),a=o(38880),e=o(74187);const c=["addListener","removeListener"],l=["addEventListener","removeEventListener"],g=["on","off"];function b(h,C,v,M){if((0,a.m)(v)&&(M=v,v=void 0),M)return b(h,C,v).pipe((0,e.j)(M));const[E,A]=function m(h){return(0,a.m)(h.addEventListener)&&(0,a.m)(h.removeEventListener)}(h)?l.map(T=>R=>h[T](C,R,v)):function S(h){return(0,a.m)(h.addListener)&&(0,a.m)(h.removeListener)}(h)?c.map(_(h,C)):function y(h){return(0,a.m)(h.on)&&(0,a.m)(h.off)}(h)?g.map(_(h,C)):[];if(!E&&(0,u.G)(h))return(0,d.O)(T=>b(T,C,v))((0,n.Uv)(h));if(!E)throw new TypeError("Invalid event target");return new i._(T=>{const R=(...N)=>T.next(1A(R)})}function _(h,C){return v=>M=>h[v](C,M)}},50560:(ve,f,o)=>{"use strict";o.d(f,{Uv:()=>y});var n=o(81316),i=o(45428),d=o(55432),u=o(53252),a=o(35099),e=o(60376),c=o(58272),l=o(61688),g=o(45832),b=o(38880),_=o(31984),S=o(90472);function y(T){if(T instanceof u._)return T;if(null!=T){if((0,a.O)(T))return function m(T){return new u._(R=>{const N=T[S.a]();if((0,b.m)(N.subscribe))return N.subscribe(R);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(T);if((0,i.G)(T))return function h(T){return new u._(R=>{for(let N=0;N{T.then(N=>{R.closed||(R.next(N),R.complete())},N=>R.error(N)).then(null,_.U)})}(T);if((0,e.E)(T))return M(T);if((0,l.i)(T))return function v(T){return new u._(R=>{for(const N of T)if(R.next(N),R.closed)return;R.complete()})}(T);if((0,g.K)(T))return function E(T){return M((0,g._)(T))}(T)}throw(0,c.W)(T)}function M(T){return new u._(R=>{(function A(T,R){var N,I,L,O;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(N=(0,n.__asyncValues)(T);!(I=yield N.next()).done;)if(R.next(I.value),R.closed)return}catch(z){L={error:z}}finally{try{I&&!I.done&&(O=N.return)&&(yield O.call(N))}finally{if(L)throw L.error}}R.complete()})})(T,R).catch(N=>R.error(N))})}},82700:(ve,f,o)=>{"use strict";o.d(f,{of:()=>d});var n=o(59472),i=o(74496);function d(...u){const a=(0,n.e_)(u);return(0,i.Q)(u,a)}},87773:(ve,f,o)=>{"use strict";o.d(f,{e:()=>i});var n=o(41760);function i(u,a,e,c,l){return new d(u,a,e,c,l)}class d extends n.yR{constructor(a,e,c,l,g,b){super(a),this.onFinalize=g,this.shouldUnsubscribe=b,this._next=e?function(_){try{e(_)}catch(S){a.error(S)}}:super._next,this._error=l?function(_){try{l(_)}catch(S){a.error(S)}finally{this.unsubscribe()}}:super._error,this._complete=c?function(){try{c()}catch(_){a.error(_)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var a;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(a=this.onFinalize)||void 0===a||a.call(this))}}}},39144:(ve,f,o)=>{"use strict";o.d(f,{a:()=>u});var n=o(50560),i=o(87773),d=o(95448);function u(a){return(0,d.i)((e,c)=>{let b,l=null,g=!1;l=e.subscribe((0,i.e)(c,void 0,void 0,_=>{b=(0,n.Uv)(a(_,u(a)(e))),l?(l.unsubscribe(),l=null,b.subscribe(c)):g=!0})),g&&(l.unsubscribe(),l=null,b.subscribe(c))})}},26020:(ve,f,o)=>{"use strict";o.d(f,{m:()=>d});var n=o(7400),i=o(38880);function d(u,a){return(0,i.m)(a)?(0,n.O)(u,a,1):(0,n.O)(u,1)}},22156:(ve,f,o)=>{"use strict";o.d(f,{G:()=>d});var n=o(95448),i=o(87773);function d(u){return(0,n.i)((a,e)=>{let c=!1;a.subscribe((0,i.e)(e,l=>{c=!0,e.next(l)},()=>{c||e.next(u),e.complete()}))})}},66684:(ve,f,o)=>{"use strict";o.d(f,{I:()=>d});var n=o(95448),i=o(87773);function d(u,a){return(0,n.i)((e,c)=>{let l=0;e.subscribe((0,i.e)(c,g=>u.call(a,g,l++)&&c.next(g)))})}},68824:(ve,f,o)=>{"use strict";o.d(f,{U:()=>i});var n=o(95448);function i(d){return(0,n.i)((u,a)=>{try{u.subscribe(a)}finally{a.add(d)}})}},75084:(ve,f,o)=>{"use strict";o.d(f,{K:()=>c});var n=o(37696),i=o(66684),d=o(3992),u=o(22156),a=o(98124),e=o(528);function c(l,g){const b=arguments.length>=2;return _=>_.pipe(l?(0,i.I)((S,y)=>l(S,y,_)):e.Z,(0,d.U)(1),b?(0,u.G)(g):(0,a._)(()=>new n.G))}},54704:(ve,f,o)=>{"use strict";o.d(f,{k:()=>d});var n=o(95448),i=o(87773);function d(u,a){return(0,n.i)((e,c)=>{let l=0;e.subscribe((0,i.e)(c,g=>{c.next(u.call(a,g,l++))}))})}},7400:(ve,f,o)=>{"use strict";o.d(f,{O:()=>l});var n=o(54704),i=o(50560),d=o(95448),u=o(69399),a=o(87773),c=o(38880);function l(g,b,_=1/0){return(0,c.m)(b)?l((S,y)=>(0,n.k)((m,h)=>b(S,m,y,h))((0,i.Uv)(g(S,y))),_):("number"==typeof b&&(_=b),(0,d.i)((S,y)=>function e(g,b,_,S,y,m,h,C){const v=[];let M=0,E=0,A=!1;const T=()=>{A&&!v.length&&!M&&b.complete()},R=I=>M{m&&b.next(I),M++;let L=!1;(0,i.Uv)(_(I,E++)).subscribe((0,a.e)(b,O=>{y?.(O),m?R(O):b.next(O)},()=>{L=!0},void 0,()=>{if(L)try{for(M--;v.length&&MN(O)):N(O)}T()}catch(O){b.error(O)}}))};return g.subscribe((0,a.e)(b,R,()=>{A=!0,T()})),()=>{C?.()}}(S,y,g,_)))}},17368:(ve,f,o)=>{"use strict";o.d(f,{G:()=>u});var n=o(50560),i=o(95448),d=o(87773);function u(a,e){return(0,i.i)((c,l)=>{let g=null,b=0,_=!1;const S=()=>_&&!g&&l.complete();c.subscribe((0,d.e)(l,y=>{g?.unsubscribe();let m=0;const h=b++;(0,n.Uv)(a(y,h)).subscribe(g=(0,d.e)(l,C=>l.next(e?e(y,C,h,m++):C),()=>{g=null,S()}))},()=>{_=!0,S()}))})}},3992:(ve,f,o)=>{"use strict";o.d(f,{U:()=>u});var n=o(28960),i=o(95448),d=o(87773);function u(a){return a<=0?()=>n.k:(0,i.i)((e,c)=>{let l=0;e.subscribe((0,d.e)(c,g=>{++l<=a&&(c.next(g),a<=l&&c.complete())}))})}},53616:(ve,f,o)=>{"use strict";o.d(f,{a:()=>a});var n=o(95448),i=o(87773),d=o(50560),u=o(20308);function a(e){return(0,n.i)((c,l)=>{(0,d.Uv)(e).subscribe((0,i.e)(l,()=>l.complete(),u.K)),!l.closed&&c.subscribe(l)})}},19212:(ve,f,o)=>{"use strict";o.d(f,{y:()=>a});var n=o(38880),i=o(95448),d=o(87773),u=o(528);function a(e,c,l){const g=(0,n.m)(e)||c||l?{next:e,error:c,complete:l}:e;return g?(0,i.i)((b,_)=>{var S;null===(S=g.subscribe)||void 0===S||S.call(g);let y=!0;b.subscribe((0,d.e)(_,m=>{var h;null===(h=g.next)||void 0===h||h.call(g,m),_.next(m)},()=>{var m;y=!1,null===(m=g.complete)||void 0===m||m.call(g),_.complete()},m=>{var h;y=!1,null===(h=g.error)||void 0===h||h.call(g,m),_.error(m)},()=>{var m,h;y&&(null===(m=g.unsubscribe)||void 0===m||m.call(g)),null===(h=g.finalize)||void 0===h||h.call(g)}))}):u.Z}},98124:(ve,f,o)=>{"use strict";o.d(f,{_:()=>u});var n=o(37696),i=o(95448),d=o(87773);function u(e=a){return(0,i.i)((c,l)=>{let g=!1;c.subscribe((0,d.e)(l,b=>{g=!0,l.next(b)},()=>g?l.complete():l.error(e())))})}function a(){return new n.G}},35960:(ve,f,o)=>{"use strict";o.d(f,{K:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},43376:(ve,f,o)=>{"use strict";o.d(f,{u:()=>n});const n={setTimeout(i,d,...u){const{delegate:a}=n;return a?.setTimeout?a.setTimeout(i,d,...u):setTimeout(i,d,...u)},clearTimeout(i){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(i)},delegate:void 0}},23835:(ve,f,o)=>{"use strict";o.d(f,{w:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(ve,f,o)=>{"use strict";o.d(f,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(ve,f,o)=>{"use strict";o.d(f,{G:()=>i});const i=(0,o(14912).w)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(ve,f,o)=>{"use strict";o.d(f,{yu:()=>u,e_:()=>a});var n=o(38880);function d(c){return c[c.length-1]}function u(c){return(0,n.m)(d(c))?c.pop():void 0}function a(c){return function i(c){return c&&(0,n.m)(c.schedule)}(d(c))?c.pop():void 0}},64300:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>a});const{isArray:n}=Array,{getPrototypeOf:i,prototype:d,keys:u}=Object;function a(c){if(1===c.length){const l=c[0];if(n(l))return{args:l,keys:null};if(function e(c){return c&&"object"==typeof c&&i(c)===d}(l)){const g=u(l);return{args:g.map(b=>l[b]),keys:g}}}return{args:c,keys:null}}},41248:(ve,f,o)=>{"use strict";function n(i,d){if(i){const u=i.indexOf(d);0<=u&&i.splice(u,1)}}o.d(f,{k:()=>n})},14912:(ve,f,o)=>{"use strict";function n(i){const u=i(a=>{Error.call(a),a.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}o.d(f,{w:()=>n})},67904:(ve,f,o)=>{"use strict";function n(i,d){return i.reduce((u,a,e)=>(u[a]=d[e],u),{})}o.d(f,{q:()=>n})},92075:(ve,f,o)=>{"use strict";o.d(f,{c:()=>d,q:()=>u});var n=o(74491);let i=null;function d(a){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!i;if(e&&(i={errorThrown:!1,error:null}),a(),e){const{errorThrown:c,error:l}=i;if(i=null,c)throw l}}else a()}function u(a){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=a)}},69399:(ve,f,o)=>{"use strict";function n(i,d,u,a=0,e=!1){const c=d.schedule(function(){u(),e?i.add(this.schedule(null,a)):this.unsubscribe()},a);if(i.add(c),!e)return c}o.d(f,{_:()=>n})},528:(ve,f,o)=>{"use strict";function n(i){return i}o.d(f,{Z:()=>n})},45428:(ve,f,o)=>{"use strict";o.d(f,{G:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},60376:(ve,f,o)=>{"use strict";o.d(f,{E:()=>i});var n=o(38880);function i(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},38880:(ve,f,o)=>{"use strict";function n(i){return"function"==typeof i}o.d(f,{m:()=>n})},35099:(ve,f,o)=>{"use strict";o.d(f,{O:()=>d});var n=o(90472),i=o(38880);function d(u){return(0,i.m)(u[n.a])}},61688:(ve,f,o)=>{"use strict";o.d(f,{i:()=>d});var n=o(23835),i=o(38880);function d(u){return(0,i.m)(u?.[n.w])}},55432:(ve,f,o)=>{"use strict";o.d(f,{u:()=>i});var n=o(38880);function i(d){return(0,n.m)(d?.then)}},45832:(ve,f,o)=>{"use strict";o.d(f,{K:()=>u,_:()=>d});var n=o(81316),i=o(38880);function d(a){return(0,n.__asyncGenerator)(this,arguments,function*(){const c=a.getReader();try{for(;;){const{value:l,done:g}=yield(0,n.__await)(c.read());if(g)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(l)}}finally{c.releaseLock()}})}function u(a){return(0,i.m)(a?.getReader)}},95448:(ve,f,o)=>{"use strict";o.d(f,{e:()=>i,i:()=>d});var n=o(38880);function i(u){return(0,n.m)(u?.lift)}function d(u){return a=>{if(i(a))return a.lift(function(e){try{return u(e,this)}catch(c){this.error(c)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(ve,f,o)=>{"use strict";o.d(f,{j:()=>u});var n=o(54704);const{isArray:i}=Array;function u(a){return(0,n.k)(e=>function d(a,e){return i(e)?a(...e):a(e)}(a,e))}},20308:(ve,f,o)=>{"use strict";function n(){}o.d(f,{K:()=>n})},83928:(ve,f,o)=>{"use strict";o.d(f,{W:()=>i,Y:()=>d});var n=o(528);function i(...u){return d(u)}function d(u){return 0===u.length?n.Z:1===u.length?u[0]:function(e){return u.reduce((c,l)=>l(c),e)}}},31984:(ve,f,o)=>{"use strict";o.d(f,{U:()=>d});var n=o(74491),i=o(43376);function d(u){i.u.setTimeout(()=>{const{onUnhandledError:a}=n.config;if(!a)throw u;a(u)})}},58272:(ve,f,o)=>{"use strict";function n(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(f,{W:()=>n})},16213:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(f,"parse",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(f,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(f,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(f,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(f,"v4",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(f,"v5",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(f,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(f,"version",{enumerable:!0,get:function(){return e.default}});var n=b(o(14400)),i=b(o(86664)),d=b(o(35368)),u=b(o(52632)),a=b(o(936)),e=b(o(54424)),c=b(o(54e3)),l=b(o(6944)),g=b(o(92612));function b(_){return _&&_.__esModule?_:{default:_}}},75440:(ve,f)=>{"use strict";function i(y){return 14+(y+64>>>9<<4)+1}function a(y,m){const h=(65535&y)+(65535&m);return(y>>16)+(m>>16)+(h>>16)<<16|65535&h}function c(y,m,h,C,v,M){return a(function e(y,m){return y<>>32-m}(a(a(m,y),a(C,M)),v),h)}function l(y,m,h,C,v,M,E){return c(m&h|~m&C,y,m,v,M,E)}function g(y,m,h,C,v,M,E){return c(m&C|h&~C,y,m,v,M,E)}function b(y,m,h,C,v,M,E){return c(m^h^C,y,m,v,M,E)}function _(y,m,h,C,v,M,E){return c(h^(m|~C),y,m,v,M,E)}Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default=function o(y){if("string"==typeof y){const m=unescape(encodeURIComponent(y));y=new Uint8Array(m.length);for(let h=0;h>5]>>>v%32&255,E=parseInt(C.charAt(M>>>4&15)+C.charAt(15&M),16);m.push(E)}return m}(function d(y,m){y[m>>5]|=128<>5]|=(255&y[C/8])<{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};f.default=n},936:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default="00000000-0000-0000-0000-000000000000"},92612:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function i(a){return a&&a.__esModule?a:{default:a}}(o(54e3));f.default=function d(a){if(!(0,n.default)(a))throw TypeError("Invalid UUID");let e;const c=new Uint8Array(16);return c[0]=(e=parseInt(a.slice(0,8),16))>>>24,c[1]=e>>>16&255,c[2]=e>>>8&255,c[3]=255&e,c[4]=(e=parseInt(a.slice(9,13),16))>>>8,c[5]=255&e,c[6]=(e=parseInt(a.slice(14,18),16))>>>8,c[7]=255&e,c[8]=(e=parseInt(a.slice(19,23),16))>>>8,c[9]=255&e,c[10]=(e=parseInt(a.slice(24,36),16))/1099511627776&255,c[11]=e/4294967296&255,c[12]=e>>>24&255,c[13]=e>>>16&255,c[14]=e>>>8&255,c[15]=255&e,c}},18280:(ve,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},98256:(ve,f)=>{"use strict";let o;Object.defineProperty(f,"__esModule",{value:!0}),f.default=function i(){if(!o&&(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(n)};const n=new Uint8Array(16)},18780:(ve,f)=>{"use strict";function o(u,a,e,c){switch(u){case 0:return a&e^~a&c;case 1:case 3:return a^e^c;case 2:return a&e^a&c^e&c}}function n(u,a){return u<>>32-a}Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.default=function i(u){const a=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof u){const b=unescape(encodeURIComponent(u));u=[];for(let _=0;_>>0;C=h,h=m,m=n(y,30)>>>0,y=S,S=E}e[0]=e[0]+S>>>0,e[1]=e[1]+y>>>0,e[2]=e[2]+m>>>0,e[3]=e[3]+h>>>0,e[4]=e[4]+C>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]}},6944:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,f.unsafeStringify=u;var n=function i(c){return c&&c.__esModule?c:{default:c}}(o(54e3));const d=[];for(let c=0;c<256;++c)d.push((c+256).toString(16).slice(1));function u(c,l=0){return d[c[l+0]]+d[c[l+1]]+d[c[l+2]]+d[c[l+3]]+"-"+d[c[l+4]]+d[c[l+5]]+"-"+d[c[l+6]]+d[c[l+7]]+"-"+d[c[l+8]]+d[c[l+9]]+"-"+d[c[l+10]]+d[c[l+11]]+d[c[l+12]]+d[c[l+13]]+d[c[l+14]]+d[c[l+15]]}f.default=function a(c,l=0){const g=u(c,l);if(!(0,n.default)(g))throw TypeError("Stringified UUID is invalid");return g}},14400:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function d(b){return b&&b.__esModule?b:{default:b}}(o(98256)),i=o(6944);let u,a,e=0,c=0;f.default=function l(b,_,S){let y=_&&S||0;const m=_||new Array(16);let h=(b=b||{}).node||u,C=void 0!==b.clockseq?b.clockseq:a;if(null==h||null==C){const R=b.random||(b.rng||n.default)();null==h&&(h=u=[1|R[0],R[1],R[2],R[3],R[4],R[5]]),null==C&&(C=a=16383&(R[6]<<8|R[7]))}let v=void 0!==b.msecs?b.msecs:Date.now(),M=void 0!==b.nsecs?b.nsecs:c+1;const E=v-e+(M-c)/1e4;if(E<0&&void 0===b.clockseq&&(C=C+1&16383),(E<0||v>e)&&void 0===b.nsecs&&(M=0),M>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=v,c=M,a=C,v+=122192928e5;const A=(1e4*(268435455&v)+M)%4294967296;m[y++]=A>>>24&255,m[y++]=A>>>16&255,m[y++]=A>>>8&255,m[y++]=255&A;const T=v/4294967296*1e4&268435455;m[y++]=T>>>8&255,m[y++]=255&T,m[y++]=T>>>24&15|16,m[y++]=T>>>16&255,m[y++]=C>>>8|128,m[y++]=255&C;for(let R=0;R<6;++R)m[y+R]=h[R];return _||(0,i.unsafeStringify)(m)}},86664:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=d(o(65432)),i=d(o(75440));function d(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,i.default);f.default=a},65432:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.URL=f.DNS=void 0,f.default=function c(l,g,b){function _(S,y,m,h){var C;if("string"==typeof S&&(S=function u(l){l=unescape(encodeURIComponent(l));const g=[];for(let b=0;b{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=u(o(24400)),i=u(o(98256)),d=o(6944);function u(c){return c&&c.__esModule?c:{default:c}}f.default=function a(c,l,g){if(n.default.randomUUID&&!l&&!c)return n.default.randomUUID();const b=(c=c||{}).random||(c.rng||i.default)();if(b[6]=15&b[6]|64,b[8]=63&b[8]|128,l){g=g||0;for(let _=0;_<16;++_)l[g+_]=b[_];return l}return(0,d.unsafeStringify)(b)}},52632:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=d(o(65432)),i=d(o(18780));function d(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,i.default);f.default=a},54e3:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function i(a){return a&&a.__esModule?a:{default:a}}(o(18280));f.default=function d(a){return"string"==typeof a&&n.default.test(a)}},54424:(ve,f,o)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=function i(a){return a&&a.__esModule?a:{default:a}}(o(54e3));f.default=function d(a){if(!(0,n.default)(a))throw TypeError("Invalid UUID");return parseInt(a.slice(14,15),16)}},21480:(ve,f,o)=>{var n={"./ion-accordion_2.entry.js":[28956,9312,8956],"./ion-action-sheet.entry.js":[6736,9312,6736],"./ion-alert.entry.js":[41644,9312,1644],"./ion-app_8.entry.js":[63936,9312,3936],"./ion-avatar_3.entry.js":[79428,9428],"./ion-back-button.entry.js":[66932,9312,6932],"./ion-backdrop.entry.js":[38019,8019],"./ion-breadcrumb_2.entry.js":[67752,9312,7752],"./ion-button_2.entry.js":[9580,9580],"./ion-card_5.entry.js":[71048,1048],"./ion-checkbox.entry.js":[43752,9312,3752],"./ion-chip.entry.js":[1492,1492],"./ion-col_3.entry.js":[49584,9584],"./ion-datetime-button.entry.js":[17864,1136,7864],"./ion-datetime_3.entry.js":[38048,1136,9312,8048],"./ion-fab_3.entry.js":[61812,9312,1812],"./ion-img.entry.js":[73296,3296],"./ion-infinite-scroll_2.entry.js":[11488,9312,1488],"./ion-input.entry.js":[93500,9312,3500],"./ion-item-option_3.entry.js":[42448,9312,2448],"./ion-item_8.entry.js":[8772,9312,8772],"./ion-loading.entry.js":[82948,9312,2948],"./ion-menu_3.entry.js":[47676,9312,7676],"./ion-modal.entry.js":[96824,9312,6824],"./ion-nav_2.entry.js":[2372,2372],"./ion-picker-column-internal.entry.js":[88232,9312,8232],"./ion-picker-internal.entry.js":[74656,4656],"./ion-popover.entry.js":[24168,9312,4168],"./ion-progress-bar.entry.js":[83264,3264],"./ion-radio_2.entry.js":[57176,9312,7176],"./ion-range.entry.js":[63180,9312,3180],"./ion-refresher_2.entry.js":[32e3,9312,2e3],"./ion-reorder_2.entry.js":[93604,9312,3604],"./ion-ripple-effect.entry.js":[43667,3667],"./ion-route_4.entry.js":[54284,4284],"./ion-searchbar.entry.js":[82580,9312,2580],"./ion-segment_2.entry.js":[47528,9312,7528],"./ion-select_3.entry.js":[44272,9312,4272],"./ion-spinner.entry.js":[71172,9312,1172],"./ion-split-pane.entry.js":[42624,2624],"./ion-tab-bar_2.entry.js":[31708,9312,1708],"./ion-tab_2.entry.js":[95956,5956],"./ion-text.entry.js":[55828,5828],"./ion-textarea.entry.js":[9440,9312,9440],"./ion-toast.entry.js":[39836,9312,9836],"./ion-toggle.entry.js":[42776,9312,2776]};function i(d){if(!o.o(n,d))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+d+"'");throw e.code="MODULE_NOT_FOUND",e});var u=n[d],a=u[0];return Promise.all(u.slice(1).map(o.e)).then(()=>o(a))}i.keys=()=>Object.keys(n),i.id=21480,ve.exports=i},92348:(ve,f,o)=>{var n={"./af":25140,"./af.js":25140,"./ar":17276,"./ar-dz":17096,"./ar-dz.js":17096,"./ar-kw":32200,"./ar-kw.js":32200,"./ar-ly":97252,"./ar-ly.js":97252,"./ar-ma":39568,"./ar-ma.js":39568,"./ar-ps":13068,"./ar-ps.js":13068,"./ar-sa":89052,"./ar-sa.js":89052,"./ar-tn":93956,"./ar-tn.js":93956,"./ar.js":17276,"./az":88240,"./az.js":88240,"./be":77796,"./be.js":77796,"./bg":89880,"./bg.js":89880,"./bm":84328,"./bm.js":84328,"./bn":60536,"./bn-bd":45104,"./bn-bd.js":45104,"./bn.js":60536,"./bo":51108,"./bo.js":51108,"./br":51296,"./br.js":51296,"./bs":2032,"./bs.js":2032,"./ca":20096,"./ca.js":20096,"./cs":41152,"./cs.js":41152,"./cv":69568,"./cv.js":69568,"./cy":78875,"./cy.js":78875,"./da":45424,"./da.js":45424,"./de":20992,"./de-at":72604,"./de-at.js":72604,"./de-ch":79168,"./de-ch.js":79168,"./de.js":20992,"./dv":67300,"./dv.js":67300,"./el":84400,"./el.js":84400,"./en-au":83536,"./en-au.js":83536,"./en-ca":39379,"./en-ca.js":39379,"./en-gb":47032,"./en-gb.js":47032,"./en-ie":71832,"./en-ie.js":71832,"./en-il":404,"./en-il.js":404,"./en-in":25716,"./en-in.js":25716,"./en-nz":15312,"./en-nz.js":15312,"./en-sg":53320,"./en-sg.js":53320,"./eo":96392,"./eo.js":96392,"./es":41964,"./es-do":38540,"./es-do.js":38540,"./es-mx":93504,"./es-mx.js":93504,"./es-us":69224,"./es-us.js":69224,"./es.js":41964,"./et":90596,"./et.js":90596,"./eu":8060,"./eu.js":8060,"./fa":68184,"./fa.js":68184,"./fi":36736,"./fi.js":36736,"./fil":49264,"./fil.js":49264,"./fo":48299,"./fo.js":48299,"./fr":51964,"./fr-ca":84584,"./fr-ca.js":84584,"./fr-ch":8024,"./fr-ch.js":8024,"./fr.js":51964,"./fy":22672,"./fy.js":22672,"./ga":26476,"./ga.js":26476,"./gd":35148,"./gd.js":35148,"./gl":32176,"./gl.js":32176,"./gom-deva":27260,"./gom-deva.js":27260,"./gom-latn":3772,"./gom-latn.js":3772,"./gu":39528,"./gu.js":39528,"./he":86832,"./he.js":86832,"./hi":95592,"./hi.js":95592,"./hr":56208,"./hr.js":56208,"./hu":33697,"./hu.js":33697,"./hy-am":2e4,"./hy-am.js":2e4,"./id":57840,"./id.js":57840,"./is":31496,"./is.js":31496,"./it":6336,"./it-ch":45736,"./it-ch.js":45736,"./it.js":6336,"./ja":58008,"./ja.js":58008,"./jv":30108,"./jv.js":30108,"./ka":61844,"./ka.js":61844,"./kk":78980,"./kk.js":78980,"./km":48544,"./km.js":48544,"./kn":70096,"./kn.js":70096,"./ko":87420,"./ko.js":87420,"./ku":60200,"./ku-kmr":4740,"./ku-kmr.js":4740,"./ku.js":60200,"./ky":44976,"./ky.js":44976,"./lb":4652,"./lb.js":4652,"./lo":53984,"./lo.js":53984,"./lt":8792,"./lt.js":8792,"./lv":6296,"./lv.js":6296,"./me":58256,"./me.js":58256,"./mi":29284,"./mi.js":29284,"./mk":33196,"./mk.js":33196,"./ml":45896,"./ml.js":45896,"./mn":32460,"./mn.js":32460,"./mr":80132,"./mr.js":80132,"./ms":73136,"./ms-my":88060,"./ms-my.js":88060,"./ms.js":73136,"./mt":46227,"./mt.js":46227,"./my":88300,"./my.js":88300,"./nb":14784,"./nb.js":14784,"./ne":75060,"./ne.js":75060,"./nl":4971,"./nl-be":94796,"./nl-be.js":94796,"./nl.js":4971,"./nn":18984,"./nn.js":18984,"./oc-lnc":59928,"./oc-lnc.js":59928,"./pa-in":76440,"./pa-in.js":76440,"./pl":96768,"./pl.js":96768,"./pt":18968,"./pt-br":51528,"./pt-br.js":51528,"./pt.js":18968,"./ro":5760,"./ro.js":5760,"./ru":19760,"./ru.js":19760,"./sd":53804,"./sd.js":53804,"./se":44100,"./se.js":44100,"./si":95301,"./si.js":95301,"./sk":79992,"./sk.js":79992,"./sl":35208,"./sl.js":35208,"./sq":27408,"./sq.js":27408,"./sr":10656,"./sr-cyrl":1128,"./sr-cyrl.js":1128,"./sr.js":10656,"./ss":10864,"./ss.js":10864,"./sv":16900,"./sv.js":16900,"./sw":81636,"./sw.js":81636,"./ta":24180,"./ta.js":24180,"./te":97008,"./te.js":97008,"./tet":50744,"./tet.js":50744,"./tg":58084,"./tg.js":58084,"./th":81672,"./th.js":81672,"./tk":57232,"./tk.js":57232,"./tl-ph":89480,"./tl-ph.js":89480,"./tlh":58512,"./tlh.js":58512,"./tr":56020,"./tr.js":56020,"./tzl":36240,"./tzl.js":36240,"./tzm":33064,"./tzm-latn":53384,"./tzm-latn.js":53384,"./tzm.js":33064,"./ug-cn":45852,"./ug-cn.js":45852,"./uk":12480,"./uk.js":12480,"./ur":63877,"./ur.js":63877,"./uz":91712,"./uz-latn":20108,"./uz-latn.js":20108,"./uz.js":91712,"./vi":9984,"./vi.js":9984,"./x-pseudo":45708,"./x-pseudo.js":45708,"./yo":78476,"./yo.js":78476,"./zh-cn":3676,"./zh-cn.js":3676,"./zh-hk":49880,"./zh-hk.js":49880,"./zh-mo":41968,"./zh-mo.js":41968,"./zh-tw":33632,"./zh-tw.js":33632};function i(u){var a=d(u);return o(a)}function d(u){if(!o.o(n,u)){var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}return n[u]}i.keys=function(){return Object.keys(n)},i.resolve=d,ve.exports=i,i.id=92348},22892:()=>{},45344:()=>{},10440:()=>{},22224:()=>{},65724:()=>{},8160:()=>{},1196:ve=>{function f(n,i,d,u,a,e,c){try{var l=n[e](c),g=l.value}catch(b){return void d(b)}l.done?i(g):Promise.resolve(g).then(u,a)}ve.exports=function o(n){return function(){var i=this,d=arguments;return new Promise(function(u,a){var e=n.apply(i,d);function c(g){f(e,u,a,c,l,"next",g)}function l(g){f(e,u,a,c,l,"throw",g)}c(void 0)})}},ve.exports.__esModule=!0,ve.exports.default=ve.exports},91368:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{APP_BASE_HREF:()=>h,AsyncPipe:()=>Gt,BrowserPlatformLocation:()=>b,CommonModule:()=>bo,CurrencyPipe:()=>qr,DATE_PIPE_DEFAULT_OPTIONS:()=>uo,DATE_PIPE_DEFAULT_TIMEZONE:()=>at,DOCUMENT:()=>c,DatePipe:()=>vi,DecimalPipe:()=>ai,FormStyle:()=>O,FormatWidth:()=>F,HashLocationStrategy:()=>v,I18nPluralPipe:()=>In,I18nSelectPipe:()=>Gn,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Ji,JsonPipe:()=>ni,KeyValuePipe:()=>pi,LOCATION_INITIALIZED:()=>g,Location:()=>M,LocationStrategy:()=>m,LowerCasePipe:()=>Nn,NgClass:()=>hn,NgComponentOutlet:()=>Mn,NgFor:()=>zn,NgForOf:()=>zn,NgForOfContext:()=>Xn,NgIf:()=>wr,NgIfContext:()=>Yn,NgLocaleLocalization:()=>kr,NgLocalization:()=>sr,NgOptimizedImage:()=>Cn,NgPlural:()=>Te,NgPluralCase:()=>et,NgStyle:()=>_t,NgSwitch:()=>V,NgSwitchCase:()=>ue,NgSwitchDefault:()=>Ne,NgTemplateOutlet:()=>At,NumberFormatStyle:()=>I,NumberSymbol:()=>q,PRECONNECT_CHECK_BLOCKLIST:()=>Xo,PathLocationStrategy:()=>C,PercentPipe:()=>Kr,PlatformLocation:()=>l,Plural:()=>L,SlicePipe:()=>Vi,TitleCasePipe:()=>rr,TranslationWidth:()=>z,UpperCasePipe:()=>Ur,VERSION:()=>ei,ViewportScroller:()=>lr,WeekDay:()=>X,XhrFactory:()=>po,formatCurrency:()=>Mr,formatDate:()=>ut,formatNumber:()=>er,formatPercent:()=>Qn,getCurrencySymbol:()=>Qt,getLocaleCurrencyCode:()=>ye,getLocaleCurrencyName:()=>Ae,getLocaleCurrencySymbol:()=>be,getLocaleDateFormat:()=>W,getLocaleDateTimeFormat:()=>J,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>K,getLocaleDirection:()=>mt,getLocaleEraNames:()=>H,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>tt,getLocaleFirstDayOfWeek:()=>ae,getLocaleId:()=>ce,getLocaleMonthNames:()=>Y,getLocaleNumberFormat:()=>de,getLocaleNumberSymbol:()=>G,getLocalePluralCase:()=>Me,getLocaleTimeFormat:()=>ee,getLocaleWeekEndRange:()=>re,getNumberOfCurrencyDigits:()=>Vt,isPlatformBrowser:()=>$r,isPlatformServer:()=>no,isPlatformWorkerApp:()=>_i,isPlatformWorkerUi:()=>Fi,provideCloudflareLoader:()=>Yo,provideCloudinaryLoader:()=>us,provideImageKitLoader:()=>Fo,provideImgixLoader:()=>ds,provideNetlifyLoader:()=>ct,registerLocaleData:()=>ot,\u0275DomAdapter:()=>a,\u0275NullViewportScroller:()=>Mi,\u0275PLATFORM_BROWSER_ID:()=>zr,\u0275PLATFORM_SERVER_ID:()=>eo,\u0275PLATFORM_WORKER_APP_ID:()=>Gi,\u0275PLATFORM_WORKER_UI_ID:()=>to,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>d,\u0275normalizeQueryParams:()=>y,\u0275parseCookieValue:()=>Ot,\u0275setRootDomAdapter:()=>u});var n=o(54496);let i=null;function d(){return i}function u(Z){i??=Z}class a{}let e=(()=>{class Z{static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:()=>window.navigation,providedIn:"platform"})}return Z})();const c=new n.InjectionToken("");let l=(()=>{class Z{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:()=>(0,n.inject)(b),providedIn:"platform"})}return Z})();const g=new n.InjectionToken("");let b=(()=>{class Z extends l{constructor(){super(),this._doc=(0,n.inject)(c),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Se){const Fe=d().getGlobalEventTarget(this._doc,"window");return Fe.addEventListener("popstate",Se,!1),()=>Fe.removeEventListener("popstate",Se)}onHashChange(Se){const Fe=d().getGlobalEventTarget(this._doc,"window");return Fe.addEventListener("hashchange",Se,!1),()=>Fe.removeEventListener("hashchange",Se)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Se){this._location.pathname=Se}pushState(Se,Fe,Et){this._history.pushState(Se,Fe,Et)}replaceState(Se,Fe,Et){this._history.replaceState(Se,Fe,Et)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Se=0){this._history.go(Se)}getState(){return this._history.state}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:()=>new Z,providedIn:"platform"})}return Z})();function _(Z,Ve){if(0==Z.length)return Ve;if(0==Ve.length)return Z;let Se=0;return Z.endsWith("/")&&Se++,Ve.startsWith("/")&&Se++,2==Se?Z+Ve.substring(1):1==Se?Z+Ve:Z+"/"+Ve}function S(Z){const Ve=Z.match(/#|\?|$/),Se=Ve&&Ve.index||Z.length;return Z.slice(0,Se-("/"===Z[Se-1]?1:0))+Z.slice(Se)}function y(Z){return Z&&"?"!==Z[0]?"?"+Z:Z}let m=(()=>{class Z{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:()=>(0,n.inject)(C),providedIn:"root"})}return Z})();const h=new n.InjectionToken("");let C=(()=>{class Z extends m{constructor(Se,Fe){super(),this._platformLocation=Se,this._removeListenerFns=[],this._baseHref=Fe??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(c).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}prepareExternalUrl(Se){return _(this._baseHref,Se)}path(Se=!1){const Fe=this._platformLocation.pathname+y(this._platformLocation.search),Et=this._platformLocation.hash;return Et&&Se?`${Fe}${Et}`:Fe}pushState(Se,Fe,Et,Xt){const ln=this.prepareExternalUrl(Et+y(Xt));this._platformLocation.pushState(Se,Fe,ln)}replaceState(Se,Fe,Et,Xt){const ln=this.prepareExternalUrl(Et+y(Xt));this._platformLocation.replaceState(Se,Fe,ln)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(h,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})(),v=(()=>{class Z extends m{constructor(Se,Fe){super(),this._platformLocation=Se,this._baseHref="",this._removeListenerFns=[],null!=Fe&&(this._baseHref=Fe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}path(Se=!1){const Fe=this._platformLocation.hash??"#";return Fe.length>0?Fe.substring(1):Fe}prepareExternalUrl(Se){const Fe=_(this._baseHref,Se);return Fe.length>0?"#"+Fe:Fe}pushState(Se,Fe,Et,Xt){let ln=this.prepareExternalUrl(Et+y(Xt));0==ln.length&&(ln=this._platformLocation.pathname),this._platformLocation.pushState(Se,Fe,ln)}replaceState(Se,Fe,Et,Xt){let ln=this.prepareExternalUrl(Et+y(Xt));0==ln.length&&(ln=this._platformLocation.pathname),this._platformLocation.replaceState(Se,Fe,ln)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(h,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac})}return Z})(),M=(()=>{class Z{constructor(Se){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Se;const Fe=this._locationStrategy.getBaseHref();this._basePath=function R(Z){if(new RegExp("^(https?:)?//").test(Z)){const[,Se]=Z.split(/\/\/[^\/]+/);return Se}return Z}(S(T(Fe))),this._locationStrategy.onPopState(Et=>{this._subject.emit({url:this.path(!0),pop:!0,state:Et.state,type:Et.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Se=!1){return this.normalize(this._locationStrategy.path(Se))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Se,Fe=""){return this.path()==this.normalize(Se+y(Fe))}normalize(Se){return Z.stripTrailingSlash(function A(Z,Ve){if(!Z||!Ve.startsWith(Z))return Ve;const Se=Ve.substring(Z.length);return""===Se||["/",";","?","#"].includes(Se[0])?Se:Ve}(this._basePath,T(Se)))}prepareExternalUrl(Se){return Se&&"/"!==Se[0]&&(Se="/"+Se),this._locationStrategy.prepareExternalUrl(Se)}go(Se,Fe="",Et=null){this._locationStrategy.pushState(Et,"",Se,Fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+y(Fe)),Et)}replaceState(Se,Fe="",Et=null){this._locationStrategy.replaceState(Et,"",Se,Fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+y(Fe)),Et)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Se=0){this._locationStrategy.historyGo?.(Se)}onUrlChange(Se){return this._urlChangeListeners.push(Se),this._urlChangeSubscription??=this.subscribe(Fe=>{this._notifyUrlChangeListeners(Fe.url,Fe.state)}),()=>{const Fe=this._urlChangeListeners.indexOf(Se);this._urlChangeListeners.splice(Fe,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Se="",Fe){this._urlChangeListeners.forEach(Et=>Et(Se,Fe))}subscribe(Se,Fe,Et){return this._subject.subscribe({next:Se,error:Fe,complete:Et})}static#e=this.normalizeQueryParams=y;static#t=this.joinWithSlash=_;static#n=this.stripTrailingSlash=S;static#r=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275inject(m))};static#o=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:()=>function E(){return new M((0,n.\u0275\u0275inject)(m))}(),providedIn:"root"})}return Z})();function T(Z){return Z.replace(/\/index.html$/,"")}const N={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var I=function(Z){return Z[Z.Decimal=0]="Decimal",Z[Z.Percent=1]="Percent",Z[Z.Currency=2]="Currency",Z[Z.Scientific=3]="Scientific",Z}(I||{}),L=function(Z){return Z[Z.Zero=0]="Zero",Z[Z.One=1]="One",Z[Z.Two=2]="Two",Z[Z.Few=3]="Few",Z[Z.Many=4]="Many",Z[Z.Other=5]="Other",Z}(L||{}),O=function(Z){return Z[Z.Format=0]="Format",Z[Z.Standalone=1]="Standalone",Z}(O||{}),z=function(Z){return Z[Z.Narrow=0]="Narrow",Z[Z.Abbreviated=1]="Abbreviated",Z[Z.Wide=2]="Wide",Z[Z.Short=3]="Short",Z}(z||{}),F=function(Z){return Z[Z.Short=0]="Short",Z[Z.Medium=1]="Medium",Z[Z.Long=2]="Long",Z[Z.Full=3]="Full",Z}(F||{}),q=function(Z){return Z[Z.Decimal=0]="Decimal",Z[Z.Group=1]="Group",Z[Z.List=2]="List",Z[Z.PercentSign=3]="PercentSign",Z[Z.PlusSign=4]="PlusSign",Z[Z.MinusSign=5]="MinusSign",Z[Z.Exponential=6]="Exponential",Z[Z.SuperscriptingExponent=7]="SuperscriptingExponent",Z[Z.PerMille=8]="PerMille",Z[Z.Infinity=9]="Infinity",Z[Z.NaN=10]="NaN",Z[Z.TimeSeparator=11]="TimeSeparator",Z[Z.CurrencyDecimal=12]="CurrencyDecimal",Z[Z.CurrencyGroup=13]="CurrencyGroup",Z}(q||{}),X=function(Z){return Z[Z.Sunday=0]="Sunday",Z[Z.Monday=1]="Monday",Z[Z.Tuesday=2]="Tuesday",Z[Z.Wednesday=3]="Wednesday",Z[Z.Thursday=4]="Thursday",Z[Z.Friday=5]="Friday",Z[Z.Saturday=6]="Saturday",Z}(X||{});function ce(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.LocaleId]}function K(Z,Ve,Se){const Fe=(0,n.\u0275findLocaleData)(Z),Xt=st([Fe[n.\u0275LocaleDataIndex.DayPeriodsFormat],Fe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ve);return st(Xt,Se)}function ne(Z,Ve,Se){const Fe=(0,n.\u0275findLocaleData)(Z),Xt=st([Fe[n.\u0275LocaleDataIndex.DaysFormat],Fe[n.\u0275LocaleDataIndex.DaysStandalone]],Ve);return st(Xt,Se)}function Y(Z,Ve,Se){const Fe=(0,n.\u0275findLocaleData)(Z),Xt=st([Fe[n.\u0275LocaleDataIndex.MonthsFormat],Fe[n.\u0275LocaleDataIndex.MonthsStandalone]],Ve);return st(Xt,Se)}function H(Z,Ve){return st((0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.Eras],Ve)}function ae(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function re(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.WeekendRange]}function W(Z,Ve){return st((0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.DateFormat],Ve)}function ee(Z,Ve){return st((0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.TimeFormat],Ve)}function J(Z,Ve){return st((0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.DateTimeFormat],Ve)}function G(Z,Ve){const Se=(0,n.\u0275findLocaleData)(Z),Fe=Se[n.\u0275LocaleDataIndex.NumberSymbols][Ve];if(typeof Fe>"u"){if(Ve===q.CurrencyDecimal)return Se[n.\u0275LocaleDataIndex.NumberSymbols][q.Decimal];if(Ve===q.CurrencyGroup)return Se[n.\u0275LocaleDataIndex.NumberSymbols][q.Group]}return Fe}function de(Z,Ve){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.NumberFormats][Ve]}function be(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Ae(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ye(Z){return(0,n.\u0275getLocaleCurrencyCode)(Z)}const Me=n.\u0275getLocalePluralCase;function $e(Z){if(!Z[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${Z[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(Z){const Ve=(0,n.\u0275findLocaleData)(Z);return $e(Ve),(Ve[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Fe=>"string"==typeof Fe?ft(Fe):[ft(Fe[0]),ft(Fe[1])])}function tt(Z,Ve,Se){const Fe=(0,n.\u0275findLocaleData)(Z);$e(Fe);const Xt=st([Fe[n.\u0275LocaleDataIndex.ExtraData][0],Fe[n.\u0275LocaleDataIndex.ExtraData][1]],Ve)||[];return st(Xt,Se)||[]}function mt(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.Directionality]}function st(Z,Ve){for(let Se=Ve;Se>-1;Se--)if(typeof Z[Se]<"u")return Z[Se];throw new Error("Locale data API: locale data undefined")}function ft(Z){const[Ve,Se]=Z.split(":");return{hours:+Ve,minutes:+Se}}function Qt(Z,Ve,Se="en"){const Fe=function le(Z){return(0,n.\u0275findLocaleData)(Z)[n.\u0275LocaleDataIndex.Currencies]}(Se)[Z]||N[Z]||[],Et=Fe[1];return"narrow"===Ve&&"string"==typeof Et?Et:Fe[0]||Z}const bt=2;function Vt(Z){let Ve;const Se=N[Z];return Se&&(Ve=Se[2]),"number"==typeof Ve?Ve:bt}const sn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dn={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var An=function(Z){return Z[Z.Short=0]="Short",Z[Z.ShortGMT=1]="ShortGMT",Z[Z.Long=2]="Long",Z[Z.Extended=3]="Extended",Z}(An||{}),vn=function(Z){return Z[Z.FullYear=0]="FullYear",Z[Z.Month=1]="Month",Z[Z.Date=2]="Date",Z[Z.Hours=3]="Hours",Z[Z.Minutes=4]="Minutes",Z[Z.Seconds=5]="Seconds",Z[Z.FractionalSeconds=6]="FractionalSeconds",Z[Z.Day=7]="Day",Z}(vn||{}),qt=function(Z){return Z[Z.DayPeriods=0]="DayPeriods",Z[Z.Days=1]="Days",Z[Z.Months=2]="Months",Z[Z.Eras=3]="Eras",Z}(qt||{});function ut(Z,Ve,Se,Fe){let Et=function bn(Z){if(nn(Z))return Z;if("number"==typeof Z&&!isNaN(Z))return new Date(Z);if("string"==typeof Z){if(Z=Z.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Z)){const[Et,Xt=1,ln=1]=Z.split("-").map(Pn=>+Pn);return Ue(Et,Xt-1,ln)}const Se=parseFloat(Z);if(!isNaN(Z-Se))return new Date(Se);let Fe;if(Fe=Z.match(sn))return function Tn(Z){const Ve=new Date(0);let Se=0,Fe=0;const Et=Z[8]?Ve.setUTCFullYear:Ve.setFullYear,Xt=Z[8]?Ve.setUTCHours:Ve.setHours;Z[9]&&(Se=Number(Z[9]+Z[10]),Fe=Number(Z[9]+Z[11])),Et.call(Ve,Number(Z[1]),Number(Z[2])-1,Number(Z[3]));const ln=Number(Z[4]||0)-Se,Pn=Number(Z[5]||0)-Fe,fr=Number(Z[6]||0),pr=Math.floor(1e3*parseFloat("0."+(Z[7]||0)));return Xt.call(Ve,ln,Pn,fr,pr),Ve}(Fe)}const Ve=new Date(Z);if(!nn(Ve))throw new Error(`Unable to convert "${Z}" into a date`);return Ve}(Z);Ve=De(Se,Ve)||Ve;let Pn,ln=[];for(;Ve;){if(Pn=wn.exec(Ve),!Pn){ln.push(Ve);break}{ln=ln.concat(Pn.slice(1));const Nr=ln.pop();if(!Nr)break;Ve=Nr}}let fr=Et.getTimezoneOffset();Fe&&(fr=Ct(Fe,fr),Et=function tn(Z,Ve,Se){const Fe=Se?-1:1,Et=Z.getTimezoneOffset();return function Pt(Z,Ve){return(Z=new Date(Z.getTime())).setMinutes(Z.getMinutes()+Ve),Z}(Z,Fe*(Ct(Ve,Et)-Et))}(Et,Fe,!0));let pr="";return ln.forEach(Nr=>{const br=function zt(Z){if(Dt[Z])return Dt[Z];let Ve;switch(Z){case"G":case"GG":case"GGG":Ve=gt(qt.Eras,z.Abbreviated);break;case"GGGG":Ve=gt(qt.Eras,z.Wide);break;case"GGGGG":Ve=gt(qt.Eras,z.Narrow);break;case"y":Ve=lt(vn.FullYear,1,0,!1,!0);break;case"yy":Ve=lt(vn.FullYear,2,0,!0,!0);break;case"yyy":Ve=lt(vn.FullYear,3,0,!1,!0);break;case"yyyy":Ve=lt(vn.FullYear,4,0,!1,!0);break;case"Y":Ve=Zt(1);break;case"YY":Ve=Zt(2,!0);break;case"YYY":Ve=Zt(3);break;case"YYYY":Ve=Zt(4);break;case"M":case"L":Ve=lt(vn.Month,1,1);break;case"MM":case"LL":Ve=lt(vn.Month,2,1);break;case"MMM":Ve=gt(qt.Months,z.Abbreviated);break;case"MMMM":Ve=gt(qt.Months,z.Wide);break;case"MMMMM":Ve=gt(qt.Months,z.Narrow);break;case"LLL":Ve=gt(qt.Months,z.Abbreviated,O.Standalone);break;case"LLLL":Ve=gt(qt.Months,z.Wide,O.Standalone);break;case"LLLLL":Ve=gt(qt.Months,z.Narrow,O.Standalone);break;case"w":Ve=Ut(1);break;case"ww":Ve=Ut(2);break;case"W":Ve=Ut(1,!0);break;case"d":Ve=lt(vn.Date,1);break;case"dd":Ve=lt(vn.Date,2);break;case"c":case"cc":Ve=lt(vn.Day,1);break;case"ccc":Ve=gt(qt.Days,z.Abbreviated,O.Standalone);break;case"cccc":Ve=gt(qt.Days,z.Wide,O.Standalone);break;case"ccccc":Ve=gt(qt.Days,z.Narrow,O.Standalone);break;case"cccccc":Ve=gt(qt.Days,z.Short,O.Standalone);break;case"E":case"EE":case"EEE":Ve=gt(qt.Days,z.Abbreviated);break;case"EEEE":Ve=gt(qt.Days,z.Wide);break;case"EEEEE":Ve=gt(qt.Days,z.Narrow);break;case"EEEEEE":Ve=gt(qt.Days,z.Short);break;case"a":case"aa":case"aaa":Ve=gt(qt.DayPeriods,z.Abbreviated);break;case"aaaa":Ve=gt(qt.DayPeriods,z.Wide);break;case"aaaaa":Ve=gt(qt.DayPeriods,z.Narrow);break;case"b":case"bb":case"bbb":Ve=gt(qt.DayPeriods,z.Abbreviated,O.Standalone,!0);break;case"bbbb":Ve=gt(qt.DayPeriods,z.Wide,O.Standalone,!0);break;case"bbbbb":Ve=gt(qt.DayPeriods,z.Narrow,O.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=gt(qt.DayPeriods,z.Abbreviated,O.Format,!0);break;case"BBBB":Ve=gt(qt.DayPeriods,z.Wide,O.Format,!0);break;case"BBBBB":Ve=gt(qt.DayPeriods,z.Narrow,O.Format,!0);break;case"h":Ve=lt(vn.Hours,1,-12);break;case"hh":Ve=lt(vn.Hours,2,-12);break;case"H":Ve=lt(vn.Hours,1);break;case"HH":Ve=lt(vn.Hours,2);break;case"m":Ve=lt(vn.Minutes,1);break;case"mm":Ve=lt(vn.Minutes,2);break;case"s":Ve=lt(vn.Seconds,1);break;case"ss":Ve=lt(vn.Seconds,2);break;case"S":Ve=lt(vn.FractionalSeconds,1);break;case"SS":Ve=lt(vn.FractionalSeconds,2);break;case"SSS":Ve=lt(vn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=Mt(An.Short);break;case"ZZZZZ":Ve=Mt(An.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=Mt(An.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=Mt(An.Long);break;default:return null}return Dt[Z]=Ve,Ve}(Nr);pr+=br?br(Et,Se,fr):"''"===Nr?"'":Nr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),pr}function Ue(Z,Ve,Se){const Fe=new Date(0);return Fe.setFullYear(Z,Ve,Se),Fe.setHours(0,0,0),Fe}function De(Z,Ve){const Se=ce(Z);if(dn[Se]??={},dn[Se][Ve])return dn[Se][Ve];let Fe="";switch(Ve){case"shortDate":Fe=W(Z,F.Short);break;case"mediumDate":Fe=W(Z,F.Medium);break;case"longDate":Fe=W(Z,F.Long);break;case"fullDate":Fe=W(Z,F.Full);break;case"shortTime":Fe=ee(Z,F.Short);break;case"mediumTime":Fe=ee(Z,F.Medium);break;case"longTime":Fe=ee(Z,F.Long);break;case"fullTime":Fe=ee(Z,F.Full);break;case"short":const Et=De(Z,"shortTime"),Xt=De(Z,"shortDate");Fe=Pe(J(Z,F.Short),[Et,Xt]);break;case"medium":const ln=De(Z,"mediumTime"),Pn=De(Z,"mediumDate");Fe=Pe(J(Z,F.Medium),[ln,Pn]);break;case"long":const fr=De(Z,"longTime"),pr=De(Z,"longDate");Fe=Pe(J(Z,F.Long),[fr,pr]);break;case"full":const Nr=De(Z,"fullTime"),br=De(Z,"fullDate");Fe=Pe(J(Z,F.Full),[Nr,br])}return Fe&&(dn[Se][Ve]=Fe),Fe}function Pe(Z,Ve){return Ve&&(Z=Z.replace(/\{([^}]+)}/g,function(Se,Fe){return null!=Ve&&Fe in Ve?Ve[Fe]:Se})),Z}function Qe(Z,Ve,Se="-",Fe,Et){let Xt="";(Z<0||Et&&Z<=0)&&(Et?Z=1-Z:(Z=-Z,Xt=Se));let ln=String(Z);for(;ln.length0||Pn>-Se)&&(Pn+=Se),Z===vn.Hours)0===Pn&&-12===Se&&(Pn=12);else if(Z===vn.FractionalSeconds)return function Re(Z,Ve){return Qe(Z,3).substring(0,Ve)}(Pn,Ve);const fr=G(ln,q.MinusSign);return Qe(Pn,Ve,fr,Fe,Et)}}function gt(Z,Ve,Se=O.Format,Fe=!1){return function(Et,Xt){return function dt(Z,Ve,Se,Fe,Et,Xt){switch(Se){case qt.Months:return Y(Ve,Et,Fe)[Z.getMonth()];case qt.Days:return ne(Ve,Et,Fe)[Z.getDay()];case qt.DayPeriods:const ln=Z.getHours(),Pn=Z.getMinutes();if(Xt){const pr=qe(Ve),Nr=tt(Ve,Et,Fe),br=pr.findIndex(Wr=>{if(Array.isArray(Wr)){const[ti,Ei]=Wr,Xi=ln>=ti.hours&&Pn>=ti.minutes,$o=ln0?Math.floor(Et/60):Math.ceil(Et/60);switch(Z){case An.Short:return(Et>=0?"+":"")+Qe(ln,2,Xt)+Qe(Math.abs(Et%60),2,Xt);case An.ShortGMT:return"GMT"+(Et>=0?"+":"")+Qe(ln,1,Xt);case An.Long:return"GMT"+(Et>=0?"+":"")+Qe(ln,2,Xt)+":"+Qe(Math.abs(Et%60),2,Xt);case An.Extended:return 0===Fe?"Z":(Et>=0?"+":"")+Qe(ln,2,Xt)+":"+Qe(Math.abs(Et%60),2,Xt);default:throw new Error(`Unknown zone width "${Z}"`)}}}const nt=0,$t=4;function Tt(Z){const Ve=Z.getDay(),Se=0===Ve?-3:$t-Ve;return Ue(Z.getFullYear(),Z.getMonth(),Z.getDate()+Se)}function Ut(Z,Ve=!1){return function(Se,Fe){let Et;if(Ve){const Xt=new Date(Se.getFullYear(),Se.getMonth(),1).getDay()-1,ln=Se.getDate();Et=1+Math.floor((ln+Xt)/7)}else{const Xt=Tt(Se),ln=function pt(Z){const Ve=Ue(Z,nt,1).getDay();return Ue(Z,0,1+(Ve<=$t?$t:$t+7)-Ve)}(Xt.getFullYear()),Pn=Xt.getTime()-ln.getTime();Et=1+Math.round(Pn/6048e5)}return Qe(Et,Z,G(Fe,q.MinusSign))}}function Zt(Z,Ve=!1){return function(Se,Fe){return Qe(Tt(Se).getFullYear(),Z,G(Fe,q.MinusSign),Ve)}}const Dt={};function Ct(Z,Ve){Z=Z.replace(/:/g,"");const Se=Date.parse("Jan 01, 1970 00:00:00 "+Z)/6e4;return isNaN(Se)?Ve:Se}function nn(Z){return Z instanceof Date&&!isNaN(Z.valueOf())}const tr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ir=22,Rr=".",ar="0",yr=";",_r=",",qn="#",Fn="\xa4",oi="%";function vr(Z,Ve,Se,Fe,Et,Xt,ln=!1){let Pn="",fr=!1;if(isFinite(Z)){let pr=function en(Z){let Fe,Et,Xt,ln,Pn,Ve=Math.abs(Z)+"",Se=0;for((Et=Ve.indexOf(Rr))>-1&&(Ve=Ve.replace(Rr,"")),(Xt=Ve.search(/e/i))>0?(Et<0&&(Et=Xt),Et+=+Ve.slice(Xt+1),Ve=Ve.substring(0,Xt)):Et<0&&(Et=Ve.length),Xt=0;Ve.charAt(Xt)===ar;Xt++);if(Xt===(Pn=Ve.length))Fe=[0],Et=1;else{for(Pn--;Ve.charAt(Pn)===ar;)Pn--;for(Et-=Xt,Fe=[],ln=0;Xt<=Pn;Xt++,ln++)Fe[ln]=Number(Ve.charAt(Xt))}return Et>Ir&&(Fe=Fe.splice(0,Ir-1),Se=Et-1,Et=1),{digits:Fe,exponent:Se,integerLen:Et}}(Z);ln&&(pr=function Si(Z){if(0===Z.digits[0])return Z;const Ve=Z.digits.length-Z.integerLen;return Z.exponent?Z.exponent+=2:(0===Ve?Z.digits.push(0,0):1===Ve&&Z.digits.push(0),Z.integerLen+=2),Z}(pr));let Nr=Ve.minInt,br=Ve.minFrac,Wr=Ve.maxFrac;if(Xt){const Cs=Xt.match(tr);if(null===Cs)throw new Error(`${Xt} is not a valid digit info`);const mi=Cs[1],Wo=Cs[3],yi=Cs[5];null!=mi&&(Nr=Zn(mi)),null!=Wo&&(br=Zn(Wo)),null!=yi?Wr=Zn(yi):null!=Wo&&br>Wr&&(Wr=br)}!function jn(Z,Ve,Se){if(Ve>Se)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${Se}).`);let Fe=Z.digits,Et=Fe.length-Z.integerLen;const Xt=Math.min(Math.max(Ve,Et),Se);let ln=Xt+Z.integerLen,Pn=Fe[ln];if(ln>0){Fe.splice(Math.max(Z.integerLen,ln));for(let br=ln;br=5)if(ln-1<0){for(let br=0;br>ln;br--)Fe.unshift(0),Z.integerLen++;Fe.unshift(1),Z.integerLen++}else Fe[ln-1]++;for(;Et=pr?Ei.pop():fr=!1),Wr>=10?1:0},0);Nr&&(Fe.unshift(Nr),Z.integerLen++)}(pr,br,Wr);let ti=pr.digits,Ei=pr.integerLen;const Xi=pr.exponent;let $o=[];for(fr=ti.every(Cs=>!Cs);Ei0?$o=ti.splice(Ei,ti.length):($o=ti,ti=[0]);const fs=[];for(ti.length>=Ve.lgSize&&fs.unshift(ti.splice(-Ve.lgSize,ti.length).join(""));ti.length>Ve.gSize;)fs.unshift(ti.splice(-Ve.gSize,ti.length).join(""));ti.length&&fs.unshift(ti.join("")),Pn=fs.join(G(Se,Fe)),$o.length&&(Pn+=G(Se,Et)+$o.join("")),Xi&&(Pn+=G(Se,q.Exponential)+"+"+Xi)}else Pn=G(Se,q.Infinity);return Pn=Z<0&&!fr?Ve.negPre+Pn+Ve.negSuf:Ve.posPre+Pn+Ve.posSuf,Pn}function Mr(Z,Ve,Se,Fe,Et){const ln=xr(de(Ve,I.Currency),G(Ve,q.MinusSign));return ln.minFrac=Vt(Fe),ln.maxFrac=ln.minFrac,vr(Z,ln,Ve,q.CurrencyGroup,q.CurrencyDecimal,Et).replace(Fn,Se).replace(Fn,"").trim()}function Qn(Z,Ve,Se){return vr(Z,xr(de(Ve,I.Percent),G(Ve,q.MinusSign)),Ve,q.Group,q.Decimal,Se,!0).replace(new RegExp(oi,"g"),G(Ve,q.PercentSign))}function er(Z,Ve,Se){return vr(Z,xr(de(Ve,I.Decimal),G(Ve,q.MinusSign)),Ve,q.Group,q.Decimal,Se)}function xr(Z,Ve="-"){const Se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Fe=Z.split(yr),Et=Fe[0],Xt=Fe[1],ln=-1!==Et.indexOf(Rr)?Et.split(Rr):[Et.substring(0,Et.lastIndexOf(ar)+1),Et.substring(Et.lastIndexOf(ar)+1)],Pn=ln[0],fr=ln[1]||"";Se.posPre=Pn.substring(0,Pn.indexOf(qn));for(let Nr=0;Nr{class Z{static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:function(Fe){let Et=null;return Fe?Et=new Fe:(Xt=n.\u0275\u0275inject(n.LOCALE_ID),Et=new kr(Xt)),Et;var Xt},providedIn:"root"})}return Z})();function si(Z,Ve,Se,Fe){let Et=`=${Z}`;if(Ve.indexOf(Et)>-1||(Et=Se.getPluralCategory(Z,Fe),Ve.indexOf(Et)>-1))return Et;if(Ve.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Z}"`)}let kr=(()=>{class Z extends sr{constructor(Se){super(),this.locale=Se}getPluralCategory(Se,Fe){switch(Me(Fe||this.locale)(Se)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac})}return Z})();function ot(Z,Ve,Se){return(0,n.\u0275registerLocaleData)(Z,Ve,Se)}function Ot(Z,Ve){Ve=encodeURIComponent(Ve);for(const Se of Z.split(";")){const Fe=Se.indexOf("="),[Et,Xt]=-1==Fe?[Se,""]:[Se.slice(0,Fe),Se.slice(Fe+1)];if(Et.trim()===Ve)return decodeURIComponent(Xt)}return null}const It=/\s+/,rn=[];let hn=(()=>{class Z{constructor(Se,Fe){this._ngEl=Se,this._renderer=Fe,this.initialClasses=rn,this.stateMap=new Map}set klass(Se){this.initialClasses=null!=Se?Se.trim().split(It):rn}set ngClass(Se){this.rawClass="string"==typeof Se?Se.trim().split(It):Se}ngDoCheck(){for(const Fe of this.initialClasses)this._updateState(Fe,!0);const Se=this.rawClass;if(Array.isArray(Se)||Se instanceof Set)for(const Fe of Se)this._updateState(Fe,!0);else if(null!=Se)for(const Fe of Object.keys(Se))this._updateState(Fe,!!Se[Fe]);this._applyStateDiff()}_updateState(Se,Fe){const Et=this.stateMap.get(Se);void 0!==Et?(Et.enabled!==Fe&&(Et.changed=!0,Et.enabled=Fe),Et.touched=!0):this.stateMap.set(Se,{enabled:Fe,changed:!0,touched:!0})}_applyStateDiff(){for(const Se of this.stateMap){const Fe=Se[0],Et=Se[1];Et.changed?(this._toggleClass(Fe,Et.enabled),Et.changed=!1):Et.touched||(Et.enabled&&this._toggleClass(Fe,!1),this.stateMap.delete(Fe)),Et.touched=!1}}_toggleClass(Se,Fe){(Se=Se.trim()).length>0&&Se.split(It).forEach(Et=>{Fe?this._renderer.addClass(this._ngEl.nativeElement,Et):this._renderer.removeClass(this._ngEl.nativeElement,Et)})}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Z})(),Mn=(()=>{class Z{constructor(Se){this._viewContainerRef=Se,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Se){return void 0!==Se.ngComponentOutletNgModule||void 0!==Se.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Se){return void 0!==Se.ngComponentOutlet||void 0!==Se.ngComponentOutletContent||void 0!==Se.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Se)}ngOnChanges(Se){if(this._needToReCreateComponentInstance(Se)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Fe=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Se)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,En(Fe)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(En(Fe)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Fe,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Se of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Se,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Se){for(const[Fe,Et]of this._inputsUsed)Et?(Se.setInput(Fe,this.ngComponentOutletInputs[Fe]),this._inputsUsed.set(Fe,!1)):(Se.setInput(Fe,void 0),this._inputsUsed.delete(Fe))}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Z})();function En(Z){return Z.get(n.NgModuleRef).injector}class Xn{constructor(Ve,Se,Fe,Et){this.$implicit=Ve,this.ngForOf=Se,this.index=Fe,this.count=Et}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 zn=(()=>{class Z{set ngForOf(Se){this._ngForOf=Se,this._ngForOfDirty=!0}set ngForTrackBy(Se){this._trackByFn=Se}get ngForTrackBy(){return this._trackByFn}constructor(Se,Fe,Et){this._viewContainer=Se,this._template=Fe,this._differs=Et,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Se){Se&&(this._template=Se)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Se=this._ngForOf;!this._differ&&Se&&(this._differ=this._differs.find(Se).create(this.ngForTrackBy))}if(this._differ){const Se=this._differ.diff(this._ngForOf);Se&&this._applyChanges(Se)}}_applyChanges(Se){const Fe=this._viewContainer;Se.forEachOperation((Et,Xt,ln)=>{if(null==Et.previousIndex)Fe.createEmbeddedView(this._template,new Xn(Et.item,this._ngForOf,-1,-1),null===ln?void 0:ln);else if(null==ln)Fe.remove(null===Xt?void 0:Xt);else if(null!==Xt){const Pn=Fe.get(Xt);Fe.move(Pn,ln),Er(Pn,Et)}});for(let Et=0,Xt=Fe.length;Et{Er(Fe.get(Et.currentIndex),Et)})}static ngTemplateContextGuard(Se,Fe){return!0}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Z})();function Er(Z,Ve){Z.context.$implicit=Ve.item}let wr=(()=>{class Z{constructor(Se,Fe){this._viewContainer=Se,this._context=new Yn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Fe}set ngIf(Se){this._context.$implicit=this._context.ngIf=Se,this._updateView()}set ngIfThen(Se){di("ngIfThen",Se),this._thenTemplateRef=Se,this._thenViewRef=null,this._updateView()}set ngIfElse(Se){di("ngIfElse",Se),this._elseTemplateRef=Se,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(Se,Fe){return!0}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Z})();class Yn{constructor(){this.$implicit=null,this.ngIf=null}}function di(Z,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${Z} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Ve)}'.`)}class B{constructor(Ve,Se){this._viewContainerRef=Ve,this._templateRef=Se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let V=(()=>{class Z{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Se){this._ngSwitch=Se,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Se){this._defaultViews.push(Se)}_matchCase(Se){const Fe=Se===this._ngSwitch;return this._lastCasesMatched||=Fe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Fe}_updateDefaultCases(Se){if(this._defaultViews.length>0&&Se!==this._defaultUsed){this._defaultUsed=Se;for(const Fe of this._defaultViews)Fe.enforceState(Se)}}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Z})(),ue=(()=>{class Z{constructor(Se,Fe,Et){this.ngSwitch=Et,Et._addCase(),this._view=new B(Se,Fe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(V,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Z})(),Ne=(()=>{class Z{constructor(Se,Fe,Et){Et._addDefault(new B(Se,Fe))}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(V,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Z})(),Te=(()=>{class Z{constructor(Se){this._localization=Se,this._caseViews={}}set ngPlural(Se){this._updateView(Se)}addCase(Se,Fe){this._caseViews[Se]=Fe}_updateView(Se){this._clearViews();const Et=si(Se,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Et])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Se){Se&&(this._activeView=Se,this._activeView.create())}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(sr))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return Z})(),et=(()=>{class Z{constructor(Se,Fe,Et,Xt){this.value=Se;const ln=!isNaN(Number(Se));Xt.addCase(ln?`=${Se}`:Se,new B(Et,Fe))}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Te,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngPluralCase",""]],standalone:!0})}return Z})(),_t=(()=>{class Z{constructor(Se,Fe,Et){this._ngEl=Se,this._differs=Fe,this._renderer=Et,this._ngStyle=null,this._differ=null}set ngStyle(Se){this._ngStyle=Se,!this._differ&&Se&&(this._differ=this._differs.find(Se).create())}ngDoCheck(){if(this._differ){const Se=this._differ.diff(this._ngStyle);Se&&this._applyChanges(Se)}}_setStyle(Se,Fe){const[Et,Xt]=Se.split("."),ln=-1===Et.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Fe?this._renderer.setStyle(this._ngEl.nativeElement,Et,Xt?`${Fe}${Xt}`:Fe,ln):this._renderer.removeStyle(this._ngEl.nativeElement,Et,ln)}_applyChanges(Se){Se.forEachRemovedItem(Fe=>this._setStyle(Fe.key,null)),Se.forEachAddedItem(Fe=>this._setStyle(Fe.key,Fe.currentValue)),Se.forEachChangedItem(Fe=>this._setStyle(Fe.key,Fe.currentValue))}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Z})(),At=(()=>{class Z{constructor(Se){this._viewContainerRef=Se,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Se){if(this._shouldRecreateView(Se)){const Fe=this._viewContainerRef;if(this._viewRef&&Fe.remove(Fe.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Et=this._createContextForwardProxy();this._viewRef=Fe.createEmbeddedView(this.ngTemplateOutlet,Et,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Se){return!!Se.ngTemplateOutlet||!!Se.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Se,Fe,Et)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Fe,Et),get:(Se,Fe,Et)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Fe,Et)}})}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Z})();function Jt(Z,Ve){return new n.\u0275RuntimeError(2100,!1)}class mn{createSubscription(Ve,Se){return(0,n.untracked)(()=>Ve.subscribe({next:Se,error:Fe=>{throw Fe}}))}dispose(Ve){(0,n.untracked)(()=>Ve.unsubscribe())}}class _n{createSubscription(Ve,Se){return Ve.then(Se,Fe=>{throw Fe})}dispose(Ve){}}const yn=new _n,gn=new mn;let Gt=(()=>{class Z{constructor(Se){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Se}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Se){if(!this._obj){if(Se)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Se)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Se!==this._obj?(this._dispose(),this.transform(Se)):this._latestValue}_subscribe(Se){this._obj=Se,this._strategy=this._selectStrategy(Se),this._subscription=this._strategy.createSubscription(Se,Fe=>this._updateLatestValue(Se,Fe))}_selectStrategy(Se){if((0,n.\u0275isPromise)(Se))return yn;if((0,n.\u0275isSubscribable)(Se))return gn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Se,Fe){Se===this._obj&&(this._latestValue=Fe,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:Z,pure:!1,standalone:!0})}return Z})(),Nn=(()=>{class Z{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Jt();return Se.toLowerCase()}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:Z,pure:!0,standalone:!0})}return Z})();const cr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let rr=(()=>{class Z{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Jt();return Se.replace(cr,Fe=>Fe[0].toUpperCase()+Fe.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:Z,pure:!0,standalone:!0})}return Z})(),Ur=(()=>{class Z{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Jt();return Se.toUpperCase()}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:Z,pure:!0,standalone:!0})}return Z})();const at=new n.InjectionToken(""),uo=new n.InjectionToken("");let vi=(()=>{class Z{constructor(Se,Fe,Et){this.locale=Se,this.defaultTimezone=Fe,this.defaultOptions=Et}transform(Se,Fe,Et,Xt){if(null==Se||""===Se||Se!=Se)return null;try{return ut(Se,Fe??this.defaultOptions?.dateFormat??"mediumDate",Xt||this.locale,Et??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ln){throw Jt()}}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(at,24),n.\u0275\u0275directiveInject(uo,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:Z,pure:!0,standalone:!0})}return Z})();const Pr=/#/g;let In=(()=>{class Z{constructor(Se){this._localization=Se}transform(Se,Fe,Et){if(null==Se)return"";if("object"!=typeof Fe||null===Fe)throw Jt();return Fe[si(Se,Object.keys(Fe),this._localization,Et)].replace(Pr,Se.toString())}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(sr,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:Z,pure:!0,standalone:!0})}return Z})(),Gn=(()=>{class Z{transform(Se,Fe){if(null==Se)return"";if("object"!=typeof Fe||"string"!=typeof Se)throw Jt();return Fe.hasOwnProperty(Se)?Fe[Se]:Fe.hasOwnProperty("other")?Fe.other:""}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:Z,pure:!0,standalone:!0})}return Z})(),ni=(()=>{class Z{transform(Se){return JSON.stringify(Se,null,2)}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:Z,pure:!1,standalone:!0})}return Z})(),pi=(()=>{class Z{constructor(Se){this.differs=Se,this.keyValues=[],this.compareFn=Rn}transform(Se,Fe=Rn){if(!Se||!(Se instanceof Map)&&"object"!=typeof Se)return null;this.differ??=this.differs.find(Se).create();const Et=this.differ.diff(Se),Xt=Fe!==this.compareFn;return Et&&(this.keyValues=[],Et.forEachItem(ln=>{this.keyValues.push(function Dr(Z,Ve){return{key:Z,value:Ve}}(ln.key,ln.currentValue))})),(Et||Xt)&&(this.keyValues.sort(Fe),this.compareFn=Fe),this.keyValues}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:Z,pure:!1,standalone:!0})}return Z})();function Rn(Z,Ve){const Se=Z.key,Fe=Ve.key;if(Se===Fe)return 0;if(void 0===Se)return 1;if(void 0===Fe)return-1;if(null===Se)return 1;if(null===Fe)return-1;if("string"==typeof Se&&"string"==typeof Fe)return Se{class Z{constructor(Se){this._locale=Se}transform(Se,Fe,Et){if(!Ri(Se))return null;Et||=this._locale;try{return er(dr(Se),Et,Fe)}catch(Xt){throw Jt()}}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:Z,pure:!0,standalone:!0})}return Z})(),Kr=(()=>{class Z{constructor(Se){this._locale=Se}transform(Se,Fe,Et){if(!Ri(Se))return null;Et||=this._locale;try{return Qn(dr(Se),Et,Fe)}catch(Xt){throw Jt()}}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:Z,pure:!0,standalone:!0})}return Z})(),qr=(()=>{class Z{constructor(Se,Fe="USD"){this._locale=Se,this._defaultCurrencyCode=Fe}transform(Se,Fe=this._defaultCurrencyCode,Et="symbol",Xt,ln){if(!Ri(Se))return null;ln||=this._locale,"boolean"==typeof Et&&(Et=Et?"symbol":"code");let Pn=Fe||this._defaultCurrencyCode;"code"!==Et&&(Pn="symbol"===Et||"symbol-narrow"===Et?Qt(Pn,"symbol"===Et?"wide":"narrow",ln):Et);try{return Mr(dr(Se),ln,Pn,Fe,Xt)}catch(fr){throw Jt()}}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:Z,pure:!0,standalone:!0})}return Z})();function Ri(Z){return!(null==Z||""===Z||Z!=Z)}function dr(Z){if("string"==typeof Z&&!isNaN(Number(Z)-parseFloat(Z)))return Number(Z);if("number"!=typeof Z)throw new Error(`${Z} is not a number`);return Z}let Vi=(()=>{class Z{transform(Se,Fe,Et){if(null==Se)return null;if(!this.supports(Se))throw Jt();return Se.slice(Fe,Et)}supports(Se){return"string"==typeof Se||Array.isArray(Se)}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:Z,pure:!1,standalone:!0})}return Z})(),bo=(()=>{class Z{static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Z});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Z})();const zr="browser",eo="server",Gi="browserWorkerApp",to="browserWorkerUi";function $r(Z){return Z===zr}function no(Z){return Z===eo}function _i(Z){return Z===Gi}function Fi(Z){return Z===to}const ei=new n.Version("17.2.3");let lr=(()=>{class Z{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:Z,providedIn:"root",factory:()=>$r((0,n.inject)(n.PLATFORM_ID))?new mo((0,n.inject)(c),window):new Mi})}return Z})();class mo{constructor(Ve,Se){this.document=Ve,this.window=Se,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ve){this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){const Se=function xi(Z,Ve){const Se=Z.getElementById(Ve)||Z.getElementsByName(Ve)[0];if(Se)return Se;if("function"==typeof Z.createTreeWalker&&Z.body&&"function"==typeof Z.body.attachShadow){const Fe=Z.createTreeWalker(Z.body,NodeFilter.SHOW_ELEMENT);let Et=Fe.currentNode;for(;Et;){const Xt=Et.shadowRoot;if(Xt){const ln=Xt.getElementById(Ve)||Xt.querySelector(`[name="${Ve}"]`);if(ln)return ln}Et=Fe.nextNode()}}return null}(this.document,Ve);Se&&(this.scrollToElement(Se),Se.focus())}setHistoryScrollRestoration(Ve){this.window.history.scrollRestoration=Ve}scrollToElement(Ve){const Se=Ve.getBoundingClientRect(),Fe=Se.left+this.window.pageXOffset,Et=Se.top+this.window.pageYOffset,Xt=this.offset();this.window.scrollTo(Fe-Xt[0],Et-Xt[1])}}class Mi{setOffset(Ve){}getScrollPosition(){return[0,0]}scrollToPosition(Ve){}scrollToAnchor(Ve){}setHistoryScrollRestoration(Ve){}}class po{}function Vr(Z){return/^https?:\/\//.test(Z)}function Ni(Z){if("string"!=typeof Z||""===Z.trim())return!1;try{return new URL(Z),!0}catch{return!1}}function ko(Z){return Z.startsWith("/")?Z.slice(1):Z}const ji=Z=>Z.src,Ji=new n.InjectionToken("",{providedIn:"root",factory:()=>ji});function Yi(Z,Ve){return function(Fe){return Ni(Fe)||function Co(Z,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),Fe=function Qr(Z){return Z.endsWith("/")?Z.slice(0,-1):Z}(Fe),[{provide:Ji,useValue:ln=>(Vr(ln.src)&&function oo(Z,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),Z(Fe,{...ln,src:ko(ln.src)}))}]}}const Yo=Yi(fo);function fo(Z,Ve){let Se="format=auto";return Ve.width&&(Se+=`,width=${Ve.width}`),`${Z}/cdn-cgi/image/${Se}/${Ve.src}`}const us=Yi(Lo);function Lo(Z,Ve){let Se="f_auto,q_auto";return Ve.width&&(Se+=`,w_${Ve.width}`),`${Z}/image/upload/${Se}/${Ve.src}`}const Fo=Yi(co);function co(Z,Ve){const{src:Se,width:Fe}=Ve;let Et;return Et=Fe?[Z,`tr:w-${Fe}`,Se]:[Z,Se],Et.join("/")}const ds=Yi(Qo);function Qo(Z,Ve){const Se=new URL(`${Z}/${Ve.src}`);return Se.searchParams.set("auto","format"),Ve.width&&Se.searchParams.set("w",Ve.width.toString()),Se.href}function ct(Z){if(Z&&!Ni(Z))throw new n.\u0275RuntimeError(2959,!1);return Z&&(Z=new URL(Z).origin),[{provide:Ji,useValue:Fe=>function Kn(Z,Ve){const Se=new URL(Ve??"https://a/");Se.pathname="/.netlify/images",!Vr(Z.src)&&!Z.src.startsWith("/")&&(Z.src="/"+Z.src),Se.searchParams.set("url",Z.src),Z.width&&Se.searchParams.set("w",Z.width.toString());for(const[Fe,Et]of Object.entries(Z.loaderParams??{}))kt.has(Fe)&&Se.searchParams.set(kt.get(Fe),Et.toString());return"a"===Se.hostname?Se.href.replace(Se.origin,""):Se.href}(Fe,Z)}]}const kt=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Xo=new n.InjectionToken(""),Ao=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let To=(()=>{class Z{constructor(){this.preloadedImages=(0,n.inject)(Ao),this.document=(0,n.inject)(c)}createPreloadLinkTag(Se,Fe,Et,Xt){if(this.preloadedImages.has(Fe))return;this.preloadedImages.add(Fe);const ln=Se.createElement("link");Se.setAttribute(ln,"as","image"),Se.setAttribute(ln,"href",Fe),Se.setAttribute(ln,"rel","preload"),Se.setAttribute(ln,"fetchpriority","high"),Xt&&Se.setAttribute(ln,"imageSizes",Xt),Et&&Se.setAttribute(ln,"imageSrcset",Et),Se.appendChild(this.document.head,ln)}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})();const zo=/^((\s*\d+w\s*(,|$)){1,})$/,hs=[1,2];let Cn=(()=>{class Z{constructor(){this.imageLoader=(0,n.inject)(Ji),this.config=function $n(Z){let Ve={};return Z.breakpoints&&(Ve.breakpoints=Z.breakpoints.sort((Se,Fe)=>Se-Fe)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,Z,Ve)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=no((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(To),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Se=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Se,this.sizes)}ngOnChanges(Se){if(Se.ngSrc&&!Se.ngSrc.isFirstChange()){const Fe=this._renderedSrc;this.updateSrcAndSrcset(!0);const Et=this._renderedSrc;null!==this.lcpObserver&&Fe&&Et&&Fe!==Et&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Fe,Et)})}}callImageLoader(Se){let Fe=Se;return this.loaderParams&&(Fe.loaderParams=this.loaderParams),this.imageLoader(Fe)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Se=zo.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Et=>""!==Et).map(Et=>{Et=Et.trim();const Xt=Se?parseFloat(Et):parseFloat(Et)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Xt})} ${Et}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Se}=this.config;let Fe=Se;return"100vw"===this.sizes?.trim()&&(Fe=Se.filter(Xt=>Xt>=640)),Fe.map(Xt=>`${this.callImageLoader({src:this.ngSrc,width:Xt})} ${Xt}w`).join(", ")}updateSrcAndSrcset(Se=!1){Se&&(this._renderedSrc=null);const Fe=this.getRewrittenSrc();let Et;return this.setHostAttribute("src",Fe),this.ngSrcset?Et=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Et=this.getAutomaticSrcset()),Et&&this.setHostAttribute("srcset",Et),Et}getFixedSrcset(){return hs.map(Fe=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Fe})} ${Fe}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Se=!1;return this.sizes||(Se=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ji&&!Se}generatePlaceholder(Se){const{placeholderResolution:Fe}=this.config;return!0===Se?`url(${this.callImageLoader({src:this.ngSrc,width:Fe,isPlaceholder:!0})})`:"string"==typeof Se&&Se.startsWith("data:")?`url(${Se})`:null}shouldBlurPlaceholder(Se){return!Se||!Se.hasOwnProperty("blur")||!!Se.blur}removePlaceholderOnLoad(Se){const Fe=()=>{const ln=this.injector.get(n.ChangeDetectorRef);Et(),Xt(),this.placeholder=!1,ln.markForCheck()},Et=this.renderer.listen(Se,"load",Fe),Xt=this.renderer.listen(Se,"error",Fe)}ngOnDestroy(){}setHostAttribute(Se,Fe){this.renderer.setAttribute(this.imgElement,Se,Fe)}static#e=this.\u0275fac=function(Fe){return new(Fe||Z)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Fe,Et){2&Fe&&n.\u0275\u0275styleProp("position",Et.fill?"absolute":null)("width",Et.fill?"100%":null)("height",Et.fill?"100%":null)("inset",Et.fill?"0":null)("background-size",Et.placeholder?"cover":null)("background-position",Et.placeholder?"50% 50%":null)("background-repeat",Et.placeholder?"no-repeat":null)("background-image",Et.placeholder?Et.generatePlaceholder(Et.placeholder):null)("filter",Et.placeholder&&Et.shouldBlurPlaceholder(Et.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",Ft],ngSrcset:"ngSrcset",sizes:"sizes",width:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",n.numberAttribute],height:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",n.numberAttribute],loading:"loading",priority:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",n.booleanAttribute],placeholder:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",cn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return Z})();function Ft(Z){return"string"==typeof Z?Z:(0,n.\u0275unwrapSafeValue)(Z)}function cn(Z){return"string"==typeof Z&&Z.startsWith("data:")?Z:(0,n.booleanAttribute)(Z)}},97048:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{FetchBackend:()=>be,HTTP_INTERCEPTORS:()=>tt,HttpBackend:()=>m,HttpClient:()=>ee,HttpClientJsonpModule:()=>qn,HttpClientModule:()=>_r,HttpClientXsrfModule:()=>yr,HttpContext:()=>L,HttpContextToken:()=>I,HttpErrorResponse:()=>ae,HttpEventType:()=>K,HttpFeatureKind:()=>zt,HttpHandler:()=>y,HttpHeaderResponse:()=>Y,HttpHeaders:()=>h,HttpParams:()=>N,HttpRequest:()=>ce,HttpResponse:()=>H,HttpResponseBase:()=>ne,HttpStatusCode:()=>re,HttpUrlEncodingCodec:()=>v,HttpXhrBackend:()=>gt,HttpXsrfTokenExtractor:()=>Tt,JsonpClientBackend:()=>Pe,JsonpInterceptor:()=>Re,provideHttpClient:()=>Pt,withFetch:()=>ar,withInterceptors:()=>tn,withInterceptorsFromDi:()=>Tn,withJsonpSupport:()=>Ir,withNoXsrfProtection:()=>tr,withRequestsMadeViaParent:()=>Rr,withXsrfConfiguration:()=>nn,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>st,\u0275HttpInterceptingHandler:()=>sn,\u0275HttpInterceptorHandler:()=>sn,\u0275PRIMARY_HTTP_BACKEND:()=>ft,\u0275withHttpTransferCache:()=>si});var n=o(1528),i=o(54496),d=o(82700),u=o(53252),a=o(74496),e=o(26020),c=o(66684),l=o(54704),g=o(68824),b=o(17368),_=o(19212),S=o(91368);class y{}class m{}class h{constructor(Ot){this.normalizedNames=new Map,this.lazyUpdate=null,Ot?"string"==typeof Ot?this.lazyInit=()=>{this.headers=new Map,Ot.split("\n").forEach(It=>{const rn=It.indexOf(":");if(rn>0){const hn=It.slice(0,rn),Mn=hn.toLowerCase(),En=It.slice(rn+1).trim();this.maybeSetNormalizedName(hn,Mn),this.headers.has(Mn)?this.headers.get(Mn).push(En):this.headers.set(Mn,[En])}})}:typeof Headers<"u"&&Ot instanceof Headers?(this.headers=new Map,Ot.forEach((It,rn)=>{this.setHeaderEntries(rn,It)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ot).forEach(([It,rn])=>{this.setHeaderEntries(It,rn)})}:this.headers=new Map}has(Ot){return this.init(),this.headers.has(Ot.toLowerCase())}get(Ot){this.init();const It=this.headers.get(Ot.toLowerCase());return It&&It.length>0?It[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ot){return this.init(),this.headers.get(Ot.toLowerCase())||null}append(Ot,It){return this.clone({name:Ot,value:It,op:"a"})}set(Ot,It){return this.clone({name:Ot,value:It,op:"s"})}delete(Ot,It){return this.clone({name:Ot,value:It,op:"d"})}maybeSetNormalizedName(Ot,It){this.normalizedNames.has(It)||this.normalizedNames.set(It,Ot)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ot=>this.applyUpdate(Ot)),this.lazyUpdate=null))}copyFrom(Ot){Ot.init(),Array.from(Ot.headers.keys()).forEach(It=>{this.headers.set(It,Ot.headers.get(It)),this.normalizedNames.set(It,Ot.normalizedNames.get(It))})}clone(Ot){const It=new h;return It.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,It.lazyUpdate=(this.lazyUpdate||[]).concat([Ot]),It}applyUpdate(Ot){const It=Ot.name.toLowerCase();switch(Ot.op){case"a":case"s":let rn=Ot.value;if("string"==typeof rn&&(rn=[rn]),0===rn.length)return;this.maybeSetNormalizedName(Ot.name,It);const hn=("a"===Ot.op?this.headers.get(It):void 0)||[];hn.push(...rn),this.headers.set(It,hn);break;case"d":const Mn=Ot.value;if(Mn){let En=this.headers.get(It);if(!En)return;En=En.filter(Xn=>-1===Mn.indexOf(Xn)),0===En.length?(this.headers.delete(It),this.normalizedNames.delete(It)):this.headers.set(It,En)}else this.headers.delete(It),this.normalizedNames.delete(It)}}setHeaderEntries(Ot,It){const rn=(Array.isArray(It)?It:[It]).map(Mn=>Mn.toString()),hn=Ot.toLowerCase();this.headers.set(hn,rn),this.maybeSetNormalizedName(Ot,hn)}forEach(Ot){this.init(),Array.from(this.normalizedNames.keys()).forEach(It=>Ot(this.normalizedNames.get(It),this.headers.get(It)))}}class v{encodeKey(Ot){return T(Ot)}encodeValue(Ot){return T(Ot)}decodeKey(Ot){return decodeURIComponent(Ot)}decodeValue(Ot){return decodeURIComponent(Ot)}}const E=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function T(ot){return encodeURIComponent(ot).replace(E,(Ot,It)=>A[It]??Ot)}function R(ot){return`${ot}`}class N{constructor(Ot={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ot.encoder||new v,Ot.fromString){if(Ot.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(ot,Ot){const It=new Map;return ot.length>0&&ot.replace(/^\?/,"").split("&").forEach(hn=>{const Mn=hn.indexOf("="),[En,Xn]=-1==Mn?[Ot.decodeKey(hn),""]:[Ot.decodeKey(hn.slice(0,Mn)),Ot.decodeValue(hn.slice(Mn+1))],zn=It.get(En)||[];zn.push(Xn),It.set(En,zn)}),It}(Ot.fromString,this.encoder)}else Ot.fromObject?(this.map=new Map,Object.keys(Ot.fromObject).forEach(It=>{const rn=Ot.fromObject[It],hn=Array.isArray(rn)?rn.map(R):[R(rn)];this.map.set(It,hn)})):this.map=null}has(Ot){return this.init(),this.map.has(Ot)}get(Ot){this.init();const It=this.map.get(Ot);return It?It[0]:null}getAll(Ot){return this.init(),this.map.get(Ot)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ot,It){return this.clone({param:Ot,value:It,op:"a"})}appendAll(Ot){const It=[];return Object.keys(Ot).forEach(rn=>{const hn=Ot[rn];Array.isArray(hn)?hn.forEach(Mn=>{It.push({param:rn,value:Mn,op:"a"})}):It.push({param:rn,value:hn,op:"a"})}),this.clone(It)}set(Ot,It){return this.clone({param:Ot,value:It,op:"s"})}delete(Ot,It){return this.clone({param:Ot,value:It,op:"d"})}toString(){return this.init(),this.keys().map(Ot=>{const It=this.encoder.encodeKey(Ot);return this.map.get(Ot).map(rn=>It+"="+this.encoder.encodeValue(rn)).join("&")}).filter(Ot=>""!==Ot).join("&")}clone(Ot){const It=new N({encoder:this.encoder});return It.cloneFrom=this.cloneFrom||this,It.updates=(this.updates||[]).concat(Ot),It}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ot=>this.map.set(Ot,this.cloneFrom.map.get(Ot))),this.updates.forEach(Ot=>{switch(Ot.op){case"a":case"s":const It=("a"===Ot.op?this.map.get(Ot.param):void 0)||[];It.push(R(Ot.value)),this.map.set(Ot.param,It);break;case"d":if(void 0===Ot.value){this.map.delete(Ot.param);break}{let rn=this.map.get(Ot.param)||[];const hn=rn.indexOf(R(Ot.value));-1!==hn&&rn.splice(hn,1),rn.length>0?this.map.set(Ot.param,rn):this.map.delete(Ot.param)}}}),this.cloneFrom=this.updates=null)}}class I{constructor(Ot){this.defaultValue=Ot}}class L{constructor(){this.map=new Map}set(Ot,It){return this.map.set(Ot,It),this}get(Ot){return this.map.has(Ot)||this.map.set(Ot,Ot.defaultValue()),this.map.get(Ot)}delete(Ot){return this.map.delete(Ot),this}has(Ot){return this.map.has(Ot)}keys(){return this.map.keys()}}function z(ot){return typeof ArrayBuffer<"u"&&ot instanceof ArrayBuffer}function F(ot){return typeof Blob<"u"&&ot instanceof Blob}function q(ot){return typeof FormData<"u"&&ot instanceof FormData}class ce{constructor(Ot,It,rn,hn){let Mn;if(this.url=It,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ot.toUpperCase(),function O(ot){switch(ot){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||hn?(this.body=void 0!==rn?rn:null,Mn=hn):Mn=rn,Mn&&(this.reportProgress=!!Mn.reportProgress,this.withCredentials=!!Mn.withCredentials,Mn.responseType&&(this.responseType=Mn.responseType),Mn.headers&&(this.headers=Mn.headers),Mn.context&&(this.context=Mn.context),Mn.params&&(this.params=Mn.params),this.transferCache=Mn.transferCache),this.headers??=new h,this.context??=new L,this.params){const En=this.params.toString();if(0===En.length)this.urlWithParams=It;else{const Xn=It.indexOf("?");this.urlWithParams=It+(-1===Xn?"?":Xnwr.set(Yn,Ot.setHeaders[Yn]),zn)),Ot.setParams&&(Er=Object.keys(Ot.setParams).reduce((wr,Yn)=>wr.set(Yn,Ot.setParams[Yn]),Er)),new ce(It,rn,Mn,{params:Er,headers:zn,context:Ar,reportProgress:Xn,responseType:hn,withCredentials:En})}}var K=function(ot){return ot[ot.Sent=0]="Sent",ot[ot.UploadProgress=1]="UploadProgress",ot[ot.ResponseHeader=2]="ResponseHeader",ot[ot.DownloadProgress=3]="DownloadProgress",ot[ot.Response=4]="Response",ot[ot.User=5]="User",ot}(K||{});class ne{constructor(Ot,It=re.Ok,rn="OK"){this.headers=Ot.headers||new h,this.status=void 0!==Ot.status?Ot.status:It,this.statusText=Ot.statusText||rn,this.url=Ot.url||null,this.ok=this.status>=200&&this.status<300}}class Y extends ne{constructor(Ot={}){super(Ot),this.type=K.ResponseHeader}clone(Ot={}){return new Y({headers:Ot.headers||this.headers,status:void 0!==Ot.status?Ot.status:this.status,statusText:Ot.statusText||this.statusText,url:Ot.url||this.url||void 0})}}class H extends ne{constructor(Ot={}){super(Ot),this.type=K.Response,this.body=void 0!==Ot.body?Ot.body:null}clone(Ot={}){return new H({body:void 0!==Ot.body?Ot.body:this.body,headers:Ot.headers||this.headers,status:void 0!==Ot.status?Ot.status:this.status,statusText:Ot.statusText||this.statusText,url:Ot.url||this.url||void 0})}}class ae extends ne{constructor(Ot){super(Ot,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ot.url||"(unknown url)"}`:`Http failure response for ${Ot.url||"(unknown url)"}: ${Ot.status} ${Ot.statusText}`,this.error=Ot.error||null}}var re=function(ot){return ot[ot.Continue=100]="Continue",ot[ot.SwitchingProtocols=101]="SwitchingProtocols",ot[ot.Processing=102]="Processing",ot[ot.EarlyHints=103]="EarlyHints",ot[ot.Ok=200]="Ok",ot[ot.Created=201]="Created",ot[ot.Accepted=202]="Accepted",ot[ot.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ot[ot.NoContent=204]="NoContent",ot[ot.ResetContent=205]="ResetContent",ot[ot.PartialContent=206]="PartialContent",ot[ot.MultiStatus=207]="MultiStatus",ot[ot.AlreadyReported=208]="AlreadyReported",ot[ot.ImUsed=226]="ImUsed",ot[ot.MultipleChoices=300]="MultipleChoices",ot[ot.MovedPermanently=301]="MovedPermanently",ot[ot.Found=302]="Found",ot[ot.SeeOther=303]="SeeOther",ot[ot.NotModified=304]="NotModified",ot[ot.UseProxy=305]="UseProxy",ot[ot.Unused=306]="Unused",ot[ot.TemporaryRedirect=307]="TemporaryRedirect",ot[ot.PermanentRedirect=308]="PermanentRedirect",ot[ot.BadRequest=400]="BadRequest",ot[ot.Unauthorized=401]="Unauthorized",ot[ot.PaymentRequired=402]="PaymentRequired",ot[ot.Forbidden=403]="Forbidden",ot[ot.NotFound=404]="NotFound",ot[ot.MethodNotAllowed=405]="MethodNotAllowed",ot[ot.NotAcceptable=406]="NotAcceptable",ot[ot.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ot[ot.RequestTimeout=408]="RequestTimeout",ot[ot.Conflict=409]="Conflict",ot[ot.Gone=410]="Gone",ot[ot.LengthRequired=411]="LengthRequired",ot[ot.PreconditionFailed=412]="PreconditionFailed",ot[ot.PayloadTooLarge=413]="PayloadTooLarge",ot[ot.UriTooLong=414]="UriTooLong",ot[ot.UnsupportedMediaType=415]="UnsupportedMediaType",ot[ot.RangeNotSatisfiable=416]="RangeNotSatisfiable",ot[ot.ExpectationFailed=417]="ExpectationFailed",ot[ot.ImATeapot=418]="ImATeapot",ot[ot.MisdirectedRequest=421]="MisdirectedRequest",ot[ot.UnprocessableEntity=422]="UnprocessableEntity",ot[ot.Locked=423]="Locked",ot[ot.FailedDependency=424]="FailedDependency",ot[ot.TooEarly=425]="TooEarly",ot[ot.UpgradeRequired=426]="UpgradeRequired",ot[ot.PreconditionRequired=428]="PreconditionRequired",ot[ot.TooManyRequests=429]="TooManyRequests",ot[ot.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ot[ot.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ot[ot.InternalServerError=500]="InternalServerError",ot[ot.NotImplemented=501]="NotImplemented",ot[ot.BadGateway=502]="BadGateway",ot[ot.ServiceUnavailable=503]="ServiceUnavailable",ot[ot.GatewayTimeout=504]="GatewayTimeout",ot[ot.HttpVersionNotSupported=505]="HttpVersionNotSupported",ot[ot.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ot[ot.InsufficientStorage=507]="InsufficientStorage",ot[ot.LoopDetected=508]="LoopDetected",ot[ot.NotExtended=510]="NotExtended",ot[ot.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ot}(re||{});function W(ot,Ot){return{body:Ot,headers:ot.headers,context:ot.context,observe:ot.observe,params:ot.params,reportProgress:ot.reportProgress,responseType:ot.responseType,withCredentials:ot.withCredentials,transferCache:ot.transferCache}}let ee=(()=>{class ot{constructor(It){this.handler=It}request(It,rn,hn={}){let Mn;if(It instanceof ce)Mn=It;else{let zn,Er;zn=hn.headers instanceof h?hn.headers:new h(hn.headers),hn.params&&(Er=hn.params instanceof N?hn.params:new N({fromObject:hn.params})),Mn=new ce(It,rn,void 0!==hn.body?hn.body:null,{headers:zn,context:hn.context,params:Er,reportProgress:hn.reportProgress,responseType:hn.responseType||"json",withCredentials:hn.withCredentials,transferCache:hn.transferCache})}const En=(0,d.of)(Mn).pipe((0,e.m)(zn=>this.handler.handle(zn)));if(It instanceof ce||"events"===hn.observe)return En;const Xn=En.pipe((0,c.I)(zn=>zn instanceof H));switch(hn.observe||"body"){case"body":switch(Mn.responseType){case"arraybuffer":return Xn.pipe((0,l.k)(zn=>{if(null!==zn.body&&!(zn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zn.body}));case"blob":return Xn.pipe((0,l.k)(zn=>{if(null!==zn.body&&!(zn.body instanceof Blob))throw new Error("Response is not a Blob.");return zn.body}));case"text":return Xn.pipe((0,l.k)(zn=>{if(null!==zn.body&&"string"!=typeof zn.body)throw new Error("Response is not a string.");return zn.body}));default:return Xn.pipe((0,l.k)(zn=>zn.body))}case"response":return Xn;default:throw new Error(`Unreachable: unhandled observe type ${hn.observe}}`)}}delete(It,rn={}){return this.request("DELETE",It,rn)}get(It,rn={}){return this.request("GET",It,rn)}head(It,rn={}){return this.request("HEAD",It,rn)}jsonp(It,rn){return this.request("JSONP",It,{params:(new N).append(rn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(It,rn={}){return this.request("OPTIONS",It,rn)}patch(It,rn,hn={}){return this.request("PATCH",It,W(hn,rn))}post(It,rn,hn={}){return this.request("POST",It,W(hn,rn))}put(It,rn,hn={}){return this.request("PUT",It,W(hn,rn))}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(y))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();const J=/^\)\]\}',?\n/;function de(ot){if(ot.url)return ot.url;const Ot="X-Request-URL".toLocaleLowerCase();return ot.headers.get(Ot)}let be=(()=>{class ot{constructor(){this.fetchImpl=(0,i.inject)(Ae,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,i.inject)(i.NgZone)}handle(It){return new u._(rn=>{const hn=new AbortController;return this.doRequest(It,hn.signal,rn).then(ye,Mn=>rn.error(new ae({error:Mn}))),()=>hn.abort()})}doRequest(It,rn,hn){var Mn=this;return(0,n.c)(function*(){const En=Mn.createRequestInit(It);let Xn;try{const un=Mn.fetchImpl(It.urlWithParams,{signal:rn,...En});(function le(ot){ot.then(ye,ye)})(un),hn.next({type:K.Sent}),Xn=yield un}catch(un){return void hn.error(new ae({error:un,status:un.status??0,statusText:un.statusText,url:It.urlWithParams,headers:un.headers}))}const zn=new h(Xn.headers),Er=Xn.statusText,Ar=de(Xn)??It.urlWithParams;let wr=Xn.status,Yn=null;if(It.reportProgress&&hn.next(new Y({headers:zn,status:wr,statusText:Er,url:Ar})),Xn.body){const un=Xn.headers.get("content-length"),B=[],V=Xn.body.getReader();let Ne,Ie,ue=0;const me=typeof Zone<"u"&&Zone.current;yield Mn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:et,value:_t}=yield V.read();if(et)break;if(B.push(_t),ue+=_t.length,It.reportProgress){Ie="text"===It.responseType?(Ie??"")+(Ne??=new TextDecoder).decode(_t,{stream:!0}):void 0;const At=()=>hn.next({type:K.DownloadProgress,total:un?+un:void 0,loaded:ue,partialText:Ie});me?me.run(At):At()}}}));const Te=Mn.concatChunks(B,ue);try{const et=Xn.headers.get("Content-Type")??"";Yn=Mn.parseBody(It,Te,et)}catch(et){return void hn.error(new ae({error:et,headers:new h(Xn.headers),status:Xn.status,statusText:Xn.statusText,url:de(Xn)??It.urlWithParams}))}}0===wr&&(wr=Yn?re.Ok:0),wr>=200&&wr<300?(hn.next(new H({body:Yn,headers:zn,status:wr,statusText:Er,url:Ar})),hn.complete()):hn.error(new ae({error:Yn,headers:zn,status:wr,statusText:Er,url:Ar}))})()}parseBody(It,rn,hn){switch(It.responseType){case"json":const Mn=(new TextDecoder).decode(rn).replace(J,"");return""===Mn?null:JSON.parse(Mn);case"text":return(new TextDecoder).decode(rn);case"blob":return new Blob([rn],{type:hn});case"arraybuffer":return rn.buffer}}createRequestInit(It){const rn={},hn=It.withCredentials?"include":void 0;if(It.headers.forEach((Mn,En)=>rn[Mn]=En.join(",")),rn.Accept??="application/json, text/plain, */*",!rn["Content-Type"]){const Mn=It.detectContentTypeHeader();null!==Mn&&(rn["Content-Type"]=Mn)}return{body:It.serializeBody(),method:It.method,headers:rn,credentials:hn}}concatChunks(It,rn){const hn=new Uint8Array(rn);let Mn=0;for(const En of It)hn.set(En,Mn),Mn+=En.length;return hn}static#e=this.\u0275fac=function(rn){return new(rn||ot)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();class Ae{}function ye(){}function Me(ot,Ot){return Ot(ot)}function $e(ot,Ot){return(It,rn)=>Ot.intercept(It,{handle:hn=>ot(hn,rn)})}const tt=new i.InjectionToken(""),mt=new i.InjectionToken(""),st=new i.InjectionToken(""),ft=new i.InjectionToken("");function Qt(){let ot=null;return(Ot,It)=>{null===ot&&(ot=((0,i.inject)(tt,{optional:!0})??[]).reduceRight($e,Me));const rn=(0,i.inject)(i.\u0275PendingTasks),hn=rn.add();return ot(Ot,It).pipe((0,g.U)(()=>rn.remove(hn)))}}let wn,sn=(()=>{class ot extends y{constructor(It,rn){super(),this.backend=It,this.injector=rn,this.chain=null,this.pendingTasks=(0,i.inject)(i.\u0275PendingTasks);const hn=(0,i.inject)(ft,{optional:!0});this.backend=hn??It}handle(It){if(null===this.chain){const hn=Array.from(new Set([...this.injector.get(mt),...this.injector.get(st,[])]));this.chain=hn.reduceRight((Mn,En)=>function qe(ot,Ot,It){return(rn,hn)=>(0,i.runInInjectionContext)(It,()=>Ot(rn,Mn=>ot(Mn,hn)))}(Mn,En,this.injector),Me)}const rn=this.pendingTasks.add();return this.chain(It,hn=>this.backend.handle(hn)).pipe((0,g.U)(()=>this.pendingTasks.remove(rn)))}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(m),i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})(),dn=0;class Ue{}function De(){return"object"==typeof window?window:{}}let Pe=(()=>{class ot{constructor(It,rn){this.callbackMap=It,this.document=rn,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+dn++}handle(It){if("JSONP"!==It.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==It.responseType)throw new Error("JSONP requests must use Json response type.");if(It.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new u._(rn=>{const hn=this.nextCallback(),Mn=It.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${hn}$1`),En=this.document.createElement("script");En.src=Mn;let Xn=null,zn=!1;this.callbackMap[hn]=Yn=>{delete this.callbackMap[hn],Xn=Yn,zn=!0};const Er=()=>{En.parentNode&&En.parentNode.removeChild(En),delete this.callbackMap[hn]};return En.addEventListener("load",Yn=>{this.resolvedPromise.then(()=>{Er(),zn?(rn.next(new H({body:Xn,status:re.Ok,statusText:"OK",url:Mn})),rn.complete()):rn.error(new ae({url:Mn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),En.addEventListener("error",Yn=>{Er(),rn.error(new ae({error:Yn,status:0,statusText:"JSONP Error",url:Mn}))}),this.document.body.appendChild(En),rn.next({type:K.Sent}),()=>{zn||this.removeListeners(En),Er()}})}removeListeners(It){wn??=this.document.implementation.createHTMLDocument(),wn.adoptNode(It)}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(Ue),i.\u0275\u0275inject(S.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();function Qe(ot,Ot){return"JSONP"===ot.method?(0,i.inject)(Pe).handle(ot):Ot(ot)}let Re=(()=>{class ot{constructor(It){this.injector=It}intercept(It,rn){return(0,i.runInInjectionContext)(this.injector,()=>Qe(It,hn=>rn.handle(hn)))}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();const lt=/^\)\]\}',?\n/;let gt=(()=>{class ot{constructor(It){this.xhrFactory=It}handle(It){if("JSONP"===It.method)throw new i.\u0275RuntimeError(-2800,!1);const rn=this.xhrFactory;return(rn.\u0275loadImpl?(0,a.Q)(rn.\u0275loadImpl()):(0,d.of)(null)).pipe((0,b.G)(()=>new u._(Mn=>{const En=rn.build();if(En.open(It.method,It.urlWithParams),It.withCredentials&&(En.withCredentials=!0),It.headers.forEach((B,V)=>En.setRequestHeader(B,V.join(","))),It.headers.has("Accept")||En.setRequestHeader("Accept","application/json, text/plain, */*"),!It.headers.has("Content-Type")){const B=It.detectContentTypeHeader();null!==B&&En.setRequestHeader("Content-Type",B)}if(It.responseType){const B=It.responseType.toLowerCase();En.responseType="json"!==B?B:"text"}const Xn=It.serializeBody();let zn=null;const Er=()=>{if(null!==zn)return zn;const B=En.statusText||"OK",V=new h(En.getAllResponseHeaders()),ue=function He(ot){return"responseURL"in ot&&ot.responseURL?ot.responseURL:/^X-Request-URL:/m.test(ot.getAllResponseHeaders())?ot.getResponseHeader("X-Request-URL"):null}(En)||It.url;return zn=new Y({headers:V,status:En.status,statusText:B,url:ue}),zn},Ar=()=>{let{headers:B,status:V,statusText:ue,url:Ne}=Er(),Ie=null;V!==re.NoContent&&(Ie=typeof En.response>"u"?En.responseText:En.response),0===V&&(V=Ie?re.Ok:0);let me=V>=200&&V<300;if("json"===It.responseType&&"string"==typeof Ie){const Te=Ie;Ie=Ie.replace(lt,"");try{Ie=""!==Ie?JSON.parse(Ie):null}catch(et){Ie=Te,me&&(me=!1,Ie={error:et,text:Ie})}}me?(Mn.next(new H({body:Ie,headers:B,status:V,statusText:ue,url:Ne||void 0})),Mn.complete()):Mn.error(new ae({error:Ie,headers:B,status:V,statusText:ue,url:Ne||void 0}))},wr=B=>{const{url:V}=Er(),ue=new ae({error:B,status:En.status||0,statusText:En.statusText||"Unknown Error",url:V||void 0});Mn.error(ue)};let Yn=!1;const di=B=>{Yn||(Mn.next(Er()),Yn=!0);let V={type:K.DownloadProgress,loaded:B.loaded};B.lengthComputable&&(V.total=B.total),"text"===It.responseType&&En.responseText&&(V.partialText=En.responseText),Mn.next(V)},un=B=>{let V={type:K.UploadProgress,loaded:B.loaded};B.lengthComputable&&(V.total=B.total),Mn.next(V)};return En.addEventListener("load",Ar),En.addEventListener("error",wr),En.addEventListener("timeout",wr),En.addEventListener("abort",wr),It.reportProgress&&(En.addEventListener("progress",di),null!==Xn&&En.upload&&En.upload.addEventListener("progress",un)),En.send(Xn),Mn.next({type:K.Sent}),()=>{En.removeEventListener("error",wr),En.removeEventListener("abort",wr),En.removeEventListener("load",Ar),En.removeEventListener("timeout",wr),It.reportProgress&&(En.removeEventListener("progress",di),null!==Xn&&En.upload&&En.upload.removeEventListener("progress",un)),En.readyState!==En.DONE&&En.abort()}})))}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(S.XhrFactory))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();const dt=new i.InjectionToken(""),Mt="XSRF-TOKEN",nt=new i.InjectionToken("",{providedIn:"root",factory:()=>Mt}),$t="X-XSRF-TOKEN",pt=new i.InjectionToken("",{providedIn:"root",factory:()=>$t});class Tt{}let Ut=(()=>{class ot{constructor(It,rn,hn){this.doc=It,this.platform=rn,this.cookieName=hn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const It=this.doc.cookie||"";return It!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,S.\u0275parseCookieValue)(It,this.cookieName),this.lastCookieString=It),this.lastToken}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(S.DOCUMENT),i.\u0275\u0275inject(i.PLATFORM_ID),i.\u0275\u0275inject(nt))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();function Zt(ot,Ot){const It=ot.url.toLowerCase();if(!(0,i.inject)(dt)||"GET"===ot.method||"HEAD"===ot.method||It.startsWith("http://")||It.startsWith("https://"))return Ot(ot);const rn=(0,i.inject)(Tt).getToken(),hn=(0,i.inject)(pt);return null!=rn&&!ot.headers.has(hn)&&(ot=ot.clone({headers:ot.headers.set(hn,rn)})),Ot(ot)}let Dt=(()=>{class ot{constructor(It){this.injector=It}intercept(It,rn){return(0,i.runInInjectionContext)(this.injector,()=>Zt(It,hn=>rn.handle(hn)))}static#e=this.\u0275fac=function(rn){return new(rn||ot)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ot,factory:ot.\u0275fac})}return ot})();var zt=function(ot){return ot[ot.Interceptors=0]="Interceptors",ot[ot.LegacyInterceptors=1]="LegacyInterceptors",ot[ot.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ot[ot.NoXsrfProtection=3]="NoXsrfProtection",ot[ot.JsonpSupport=4]="JsonpSupport",ot[ot.RequestsMadeViaParent=5]="RequestsMadeViaParent",ot[ot.Fetch=6]="Fetch",ot}(zt||{});function Ct(ot,Ot){return{\u0275kind:ot,\u0275providers:Ot}}function Pt(...ot){const Ot=[ee,gt,sn,{provide:y,useExisting:sn},{provide:m,useExisting:gt},{provide:mt,useValue:Zt,multi:!0},{provide:dt,useValue:!0},{provide:Tt,useClass:Ut}];for(const It of ot)Ot.push(...It.\u0275providers);return(0,i.makeEnvironmentProviders)(Ot)}function tn(ot){return Ct(zt.Interceptors,ot.map(Ot=>({provide:mt,useValue:Ot,multi:!0})))}const bn=new i.InjectionToken("");function Tn(){return Ct(zt.LegacyInterceptors,[{provide:bn,useFactory:Qt},{provide:mt,useExisting:bn,multi:!0}])}function nn({cookieName:ot,headerName:Ot}){const It=[];return void 0!==ot&&It.push({provide:nt,useValue:ot}),void 0!==Ot&&It.push({provide:pt,useValue:Ot}),Ct(zt.CustomXsrfConfiguration,It)}function tr(){return Ct(zt.NoXsrfProtection,[{provide:dt,useValue:!1}])}function Ir(){return Ct(zt.JsonpSupport,[Pe,{provide:Ue,useFactory:De},{provide:mt,useValue:Qe,multi:!0}])}function Rr(){return Ct(zt.RequestsMadeViaParent,[{provide:m,useFactory:()=>(0,i.inject)(y,{skipSelf:!0,optional:!0})}])}function ar(){return Ct(zt.Fetch,[be,{provide:m,useExisting:be},{provide:ft,useExisting:be}])}let yr=(()=>{class ot{static disable(){return{ngModule:ot,providers:[tr().\u0275providers]}}static withOptions(It={}){return{ngModule:ot,providers:nn(It).\u0275providers}}static#e=this.\u0275fac=function(rn){return new(rn||ot)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ot});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[Dt,{provide:tt,useExisting:Dt,multi:!0},{provide:Tt,useClass:Ut},nn({cookieName:Mt,headerName:$t}).\u0275providers,{provide:dt,useValue:!0}]})}return ot})(),_r=(()=>{class ot{static#e=this.\u0275fac=function(rn){return new(rn||ot)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ot});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[Pt(Tn())]})}return ot})(),qn=(()=>{class ot{static#e=this.\u0275fac=function(rn){return new(rn||ot)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ot});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[Ir().\u0275providers]})}return ot})();const Fn="b",oi="h",vr="s",Mr="st",Qn="u",er="rt",xr=new i.InjectionToken(""),Si=["GET","HEAD"];function en(ot,Ot){const{isCacheActive:It,...rn}=(0,i.inject)(xr),{transferCache:hn,method:Mn}=ot;if(!It||"POST"===Mn&&!rn.includePostRequests&&!hn||"POST"!==Mn&&!Si.includes(Mn)||!1===hn||!1===rn.filter?.(ot))return Ot(ot);const En=(0,i.inject)(i.TransferState),Xn=function Zn(ot){const{params:Ot,method:It,responseType:rn,url:hn,body:Mn}=ot,Er=function sr(ot){let Ot=0;for(const It of ot)Ot=Math.imul(31,Ot)+It.charCodeAt(0)<<0;return Ot+=2147483648,Ot.toString()}([It,rn,hn,"string"==typeof Mn?Mn:"",Ot.keys().sort().map(Ar=>`${Ar}=${Ot.getAll(Ar)}`).join("&")].join("|"));return(0,i.makeStateKey)(Er)}(ot),zn=En.get(Xn,null);let Er=rn.includeHeaders;if("object"==typeof hn&&hn.includeHeaders&&(Er=hn.includeHeaders),zn){const{[Fn]:Ar,[er]:wr,[oi]:Yn,[vr]:di,[Mr]:un,[Qn]:B}=zn;let V=Ar;switch(wr){case"arraybuffer":V=(new TextEncoder).encode(Ar).buffer;break;case"blob":V=new Blob([Ar])}let ue=new h(Yn);return(0,d.of)(new H({body:V,headers:ue,status:di,statusText:un,url:B}))}return Ot(ot).pipe((0,_.y)(Ar=>{Ar instanceof H&&En.set(Xn,{[Fn]:Ar.body,[oi]:jn(Ar.headers,Er),[vr]:Ar.status,[Mr]:Ar.statusText,[Qn]:Ar.url||"",[er]:ot.responseType})}))}function jn(ot,Ot){if(!Ot)return{};const It={};for(const rn of Ot){const hn=ot.getAll(rn);null!==hn&&(It[rn]=hn)}return It}function si(ot){return[{provide:xr,useFactory:()=>((0,i.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...ot})},{provide:st,useValue:en,multi:!0,deps:[i.TransferState,xr]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Ot=(0,i.inject)(i.ApplicationRef),It=(0,i.inject)(xr);return()=>{(0,i.\u0275whenStable)(Ot).then(()=>{It.isCacheActive=!1})}}}]}},54496:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ANIMATION_MODULE_TYPE:()=>Jr,APP_BOOTSTRAP_LISTENER:()=>hb,APP_ID:()=>ht,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>Za,ApplicationInitStatus:()=>_g,ApplicationModule:()=>Mb,ApplicationRef:()=>Ua,Attribute:()=>am,COMPILER_OPTIONS:()=>bw,CSP_NONCE:()=>li,CUSTOM_ELEMENTS_SCHEMA:()=>jy,ChangeDetectionStrategy:()=>yr,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>yw,Component:()=>NI,ComponentFactory:()=>Ju,ComponentFactoryResolver:()=>qu,ComponentRef:()=>Zh,ContentChild:()=>YA,ContentChildren:()=>VA,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Ld,DebugEventListener:()=>Fw,DebugNode:()=>Mg,DefaultIterableDiffer:()=>z0,DestroyRef:()=>Oc,Directive:()=>$E,ENVIRONMENT_INITIALIZER:()=>xs,ElementRef:()=>aa,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>qs,ErrorHandler:()=>Ns,EventEmitter:()=>Ue,Host:()=>Kd,HostBinding:()=>BI,HostListener:()=>ib,INJECTOR:()=>Qd,Inject:()=>Wa,InjectFlags:()=>lt,Injectable:()=>gy,InjectionToken:()=>Ye,Injector:()=>Fs,Input:()=>jI,IterableDiffers:()=>yp,KeyValueDiffers:()=>nd,LOCALE_ID:()=>yg,MissingTranslationStrategy:()=>Aw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>By,NgModule:()=>UI,NgModuleFactory:()=>JC,NgModuleRef:()=>Ol,NgProbeToken:()=>tP,NgZone:()=>Oo,Optional:()=>Wd,Output:()=>hu,PACKAGE_ROOT_URL:()=>Wn,PLATFORM_ID:()=>an,PLATFORM_INITIALIZER:()=>fn,Pipe:()=>WE,PlatformRef:()=>pb,Query:()=>Nc,QueryList:()=>Ea,Renderer2:()=>fp,RendererFactory2:()=>B0,RendererStyleFlags2:()=>Ah,Sanitizer:()=>gp,SecurityContext:()=>wl,Self:()=>Tu,SimpleChange:()=>Hb,SkipSelf:()=>Gd,TRANSLATIONS:()=>iP,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Ku,Testability:()=>eP,TestabilityRegistry:()=>hw,TransferState:()=>Mu,Type:()=>rh,VERSION:()=>KE,Version:()=>GE,ViewChild:()=>$A,ViewChildren:()=>zA,ViewContainerRef:()=>lf,ViewEncapsulation:()=>_r,ViewRef:()=>Lw,afterNextRender:()=>iC,afterRender:()=>wp,asNativeElements:()=>lP,assertInInjectionContext:()=>vl,assertNotInReactiveContext:()=>yA,assertPlatform:()=>Iw,booleanAttribute:()=>Tk,computed:()=>aA,contentChild:()=>UA,contentChildren:()=>RC,createComponent:()=>Bk,createEnvironmentInjector:()=>zp,createNgModule:()=>qC,createNgModuleRef:()=>eS,createPlatform:()=>vb,createPlatformFactory:()=>Tw,defineInjectable:()=>ec,destroyPlatform:()=>oP,effect:()=>Sp,enableProdMode:()=>sP,forwardRef:()=>Zi,getDebugNode:()=>Ui,getModuleFactory:()=>Ow,getNgModuleById:()=>aP,getPlatform:()=>Od,importProvidersFrom:()=>cs,inject:()=>rt,input:()=>Re,isDevMode:()=>xw,isSignal:()=>mp,isStandalone:()=>cr,makeEnvironmentProviders:()=>Iu,makeStateKey:()=>Js,mergeApplicationConfig:()=>Hk,model:()=>jC,numberAttribute:()=>Ik,platformCore:()=>As,provideZoneChangeDetection:()=>Ew,reflectComponentType:()=>Uk,resolveForwardRef:()=>Tr,runInInjectionContext:()=>Zg,setTestabilityGetter:()=>lb,signal:()=>Io,untracked:()=>uA,viewChild:()=>LC,viewChildren:()=>jA,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_b,\u0275AfterRenderEventManager:()=>xl,\u0275CONTAINER_HEADER_OFFSET:()=>Vr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>Ju,\u0275Console:()=>QE,\u0275DEFAULT_LOCALE_ID:()=>nl,\u0275DEFER_BLOCK_CONFIG:()=>CS,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fT,\u0275DeferBlockBehavior:()=>Mf,\u0275DeferBlockState:()=>Po,\u0275EffectScheduler:()=>q0,\u0275IMAGE_CONFIG:()=>Vs,\u0275IMAGE_CONFIG_DEFAULTS:()=>vo,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>An,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>vc,\u0275LContext:()=>Eh,\u0275LifecycleHooksFeature:()=>gC,\u0275LocaleDataIndex:()=>eu,\u0275NG_COMP_DEF:()=>Si,\u0275NG_DIR_DEF:()=>en,\u0275NG_ELEMENT_ID:()=>si,\u0275NG_INJ_DEF:()=>Ce,\u0275NG_MOD_DEF:()=>Zn,\u0275NG_PIPE_DEF:()=>jn,\u0275NG_PROV_DEF:()=>oe,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ed,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Ep,\u0275PendingTasks:()=>fd,\u0275ReflectionCapabilities:()=>Ub,\u0275Render3ComponentFactory:()=>Rc,\u0275Render3ComponentRef:()=>af,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>bt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>wu,\u0275TESTABILITY:()=>ab,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Pl,\u0275XSS_SECURITY_URL:()=>Qt,\u0275_sanitizeHtml:()=>Iy,\u0275_sanitizeUrl:()=>bh,\u0275allowSanitizationBypassAndThrow:()=>Ml,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>My,\u0275bypassSanitizationTrustResourceUrl:()=>fm,\u0275bypassSanitizationTrustScript:()=>PD,\u0275bypassSanitizationTrustStyle:()=>ID,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LE,\u0275compileDirective:()=>nb,\u0275compileNgModule:()=>AE,\u0275compileNgModuleDefs:()=>Jv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>zE,\u0275convertToBitFlags:()=>Ht,\u0275createInjector:()=>mh,\u0275defaultIterableDiffers:()=>Os,\u0275defaultKeyValueDiffers:()=>vA,\u0275depsTracker:()=>Lc,\u0275devModeEqual:()=>Q0,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DE,\u0275formatRuntimeError:()=>Vt,\u0275generateStandaloneInDeclarationsError:()=>TE,\u0275getAsyncClassMetadataFn:()=>iT,\u0275getDebugNode:()=>Ui,\u0275getDeferBlocks:()=>Ag,\u0275getDirectives:()=>oE,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Do,\u0275getHostElement:()=>Dd,\u0275getInjectableDef:()=>Da,\u0275getLContext:()=>Es,\u0275getLocaleCurrencyCode:()=>BT,\u0275getLocalePluralCase:()=>Xf,\u0275getSanitizationBypassType:()=>Sy,\u0275getUnknownElementStrictMode:()=>pa,\u0275getUnknownPropertyStrictMode:()=>e1,\u0275global:()=>Fn,\u0275injectChangeDetectorRef:()=>xc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>Vo,\u0275isBoundToModule:()=>Ba,\u0275isComponentDefPendingResolution:()=>HC,\u0275isEnvironmentProviders:()=>rc,\u0275isInjectable:()=>Un,\u0275isNgModule:()=>Ja,\u0275isPromise:()=>ub,\u0275isSubscribable:()=>db,\u0275noSideEffects:()=>qn,\u0275output:()=>De,\u0275patchComponentDefWithScope:()=>eb,\u0275performanceMarkFeature:()=>$s,\u0275provideZonelessChangeDetection:()=>Va,\u0275queueStateUpdate:()=>Lr,\u0275readHydrationInfo:()=>Ug,\u0275registerLocaleData:()=>jT,\u0275renderDeferBlockState:()=>Na,\u0275resetCompiledComponents:()=>kI,\u0275resetJitOptions:()=>wE,\u0275resolveComponentResources:()=>UC,\u0275restoreComponentResolutionQueue:()=>GA,\u0275setAllowDuplicateNgModuleIdsForTest:()=>XA,\u0275setAlternateWeakRefImpl:()=>fi,\u0275setClassDebugInfo:()=>ME,\u0275setClassMetadata:()=>rS,\u0275setClassMetadataAsync:()=>hd,\u0275setCurrentInjector:()=>U,\u0275setDocument:()=>pu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>go,\u0275setInjectorProfilerContext:()=>nc,\u0275setLocaleId:()=>j_,\u0275setUnknownElementStrictMode:()=>Tl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>$M,\u0275stringify:()=>He,\u0275transitiveScopesFor:()=>$l,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>dt,\u0275unregisterLocaleData:()=>hM,\u0275unwrapSafeValue:()=>ka,\u0275unwrapWritableSignal:()=>lA,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>KC,\u0275\u0275FactoryTarget:()=>bl,\u0275\u0275HostDirectivesFeature:()=>dd,\u0275\u0275InheritDefinitionFeature:()=>gf,\u0275\u0275InputFlags:()=>ot,\u0275\u0275InputTransformsFeature:()=>ZC,\u0275\u0275NgOnChangesFeature:()=>qg,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>o0,\u0275\u0275attribute:()=>l_,\u0275\u0275attributeInterpolate1:()=>c_,\u0275\u0275attributeInterpolate2:()=>xf,\u0275\u0275attributeInterpolate3:()=>u_,\u0275\u0275attributeInterpolate4:()=>d_,\u0275\u0275attributeInterpolate5:()=>Of,\u0275\u0275attributeInterpolate6:()=>h_,\u0275\u0275attributeInterpolate7:()=>f_,\u0275\u0275attributeInterpolate8:()=>Lf,\u0275\u0275attributeInterpolateV:()=>g_,\u0275\u0275classMap:()=>M_,\u0275\u0275classMapInterpolate1:()=>A_,\u0275\u0275classMapInterpolate2:()=>ZS,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>JS,\u0275\u0275classMapInterpolate5:()=>T_,\u0275\u0275classMapInterpolate6:()=>qS,\u0275\u0275classMapInterpolate7:()=>eM,\u0275\u0275classMapInterpolate8:()=>Vl,\u0275\u0275classMapInterpolateV:()=>tM,\u0275\u0275classProp:()=>S_,\u0275\u0275componentInstance:()=>nM,\u0275\u0275conditional:()=>iM,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YM,\u0275\u0275defer:()=>SS,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>AS,\u0275\u0275deferOnIdle:()=>ES,\u0275\u0275deferOnImmediate:()=>wS,\u0275\u0275deferOnInteraction:()=>TS,\u0275\u0275deferOnTimer:()=>DS,\u0275\u0275deferOnViewport:()=>Pf,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>If,\u0275\u0275deferPrefetchOnInteraction:()=>IS,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>PS,\u0275\u0275deferPrefetchWhen:()=>MS,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>_t,\u0275\u0275defineDirective:()=>_n,\u0275\u0275defineInjectable:()=>Zr,\u0275\u0275defineInjector:()=>Hs,\u0275\u0275defineNgModule:()=>Jt,\u0275\u0275definePipe:()=>yn,\u0275\u0275directiveInject:()=>wc,\u0275\u0275disableBindings:()=>bi,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>Wf,\u0275\u0275elementContainerStart:()=>qc,\u0275\u0275elementEnd:()=>vd,\u0275\u0275elementStart:()=>$f,\u0275\u0275enableBindings:()=>Ii,\u0275\u0275getComponentDepsFactory:()=>Xv,\u0275\u0275getCurrentView:()=>uM,\u0275\u0275getInheritedFactory:()=>oy,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LM,\u0275\u0275i18nAttributes:()=>OM,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>eg,\u0275\u0275i18nPostprocess:()=>RM,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>xe,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>a0,\u0275\u0275invalidFactoryDep:()=>We,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VM,\u0275\u0275namespaceHTML:()=>Ca,\u0275\u0275namespaceMathML:()=>rl,\u0275\u0275namespaceSVG:()=>jo,\u0275\u0275nextContext:()=>jM,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Pk,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>jk,\u0275\u0275pipe:()=>_E,\u0275\u0275pipeBind1:()=>bE,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>yE,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CE,\u0275\u0275projection:()=>UM,\u0275\u0275projectionDef:()=>BM,\u0275\u0275property:()=>y_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>wd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tg,\u0275\u0275propertyInterpolate4:()=>sv,\u0275\u0275propertyInterpolate5:()=>ng,\u0275\u0275propertyInterpolate6:()=>av,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rg,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cE,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uE,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dE,\u0275\u0275pureFunction6:()=>zv,\u0275\u0275pureFunction7:()=>hE,\u0275\u0275pureFunction8:()=>$v,\u0275\u0275pureFunctionV:()=>fE,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>zf,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>sM,\u0275\u0275resetView:()=>Oi,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Pm,\u0275\u0275resolveWindow:()=>Vy,\u0275\u0275restoreView:()=>Qi,\u0275\u0275sanitizeHtml:()=>_m,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>ym,\u0275\u0275sanitizeStyle:()=>vm,\u0275\u0275sanitizeUrl:()=>bm,\u0275\u0275sanitizeUrlOrResourceUrl:()=>La,\u0275\u0275setComponentScope:()=>tE,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>Ls,\u0275\u0275styleMapInterpolate1:()=>WM,\u0275\u0275styleMapInterpolate2:()=>gv,\u0275\u0275styleMapInterpolate3:()=>GM,\u0275\u0275styleMapInterpolate4:()=>mv,\u0275\u0275styleMapInterpolate5:()=>KM,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QM,\u0275\u0275styleMapInterpolate8:()=>XM,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>jf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>ig,\u0275\u0275stylePropInterpolate3:()=>bv,\u0275\u0275stylePropInterpolate4:()=>yv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>su,\u0275\u0275stylePropInterpolate7:()=>Sv,\u0275\u0275stylePropInterpolate8:()=>og,\u0275\u0275stylePropInterpolateV:()=>Mv,\u0275\u0275syntheticHostListener:()=>Ed,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Uc,\u0275\u0275templateRefExtractor:()=>SE,\u0275\u0275text:()=>Ev,\u0275\u0275textInterpolate:()=>sg,\u0275\u0275textInterpolate1:()=>ag,\u0275\u0275textInterpolate2:()=>au,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Av,\u0275\u0275textInterpolate6:()=>Tv,\u0275\u0275textInterpolate7:()=>Iv,\u0275\u0275textInterpolate8:()=>lg,\u0275\u0275textInterpolateV:()=>Pv,\u0275\u0275trustConstantHtml:()=>Py,\u0275\u0275trustConstantResourceUrl:()=>Cm,\u0275\u0275twoWayBindingSet:()=>JM,\u0275\u0275twoWayListener:()=>ug,\u0275\u0275twoWayProperty:()=>cg,\u0275\u0275validateIframeAttribute:()=>ud,\u0275\u0275viewQuery:()=>HM,\u0275\u0275viewQuerySignal:()=>zM});var n=o(1528);function i(t,r){return Object.is(t,r)}let d=null,u=!1,a=1;const e=Symbol("SIGNAL");function c(t){const r=d;return d=t,r}const _={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 S(t){if(u)throw new Error("");if(null===d)return;d.consumerOnSignalRead(t);const r=d.nextProducerIndex++;L(d),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function A(t){L(t);for(let r=0;r0}function L(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function O(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function z(t){const r=Object.create(ce);r.computation=t;const s=()=>{if(m(r),S(r),r.value===X)throw r.error;return r.value};return s[e]=r,s}const F=Symbol("UNSET"),q=Symbol("COMPUTING"),X=Symbol("ERRORED"),ce={..._,value:F,dirty:!0,error:null,equal:i,producerMustRecompute:t=>t.value===F||t.value===q,producerRecomputeValue(t){if(t.value===q)throw new Error("Detected cycle in computations.");const r=t.value;t.value=q;const s=M(t);let p;try{p=t.computation()}catch(D){p=X,t.error=D}finally{E(t,s)}r!==F&&r!==X&&p!==X&&t.equal(r,p)?t.value=r:(t.value=p,t.version++)}};let ne=function K(){throw new Error};function Y(){ne()}let ae=null;function J(t,r){C()||Y(),t.equal(t.value,r)||(t.value=r,function be(t){t.version++,function y(){a++}(),h(t),ae?.()}(t))}const de={..._,equal:i,value:void 0};const ye=()=>{},le={..._,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ye};var $e=o(95657),qe=o(46928),tt=o(46700),mt=o(54704),st=o(75084);const Qt="https://g.co/ng/security#xss";class bt extends Error{constructor(r,s){super(Vt(r,s)),this.code=r}}function Vt(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const sn=Symbol("InputSignalNode#UNSET"),dn={...de,transformFn:void 0,applyValueToInputSignal(t,r){J(t,r)}},An=Symbol();function vn(t,r){const s=Object.create(dn);function p(){if(S(s),s.value===sn)throw new bt(-950,!1);return s.value}return s.value=t,s.transformFn=r?.transform,p[e]=s,p}function ut(t){return r=>{setTimeout(t,void 0,r)}}const Ue=class qt extends $e.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,p){let D=r,k=s||(()=>null),$=p;if(r&&"object"==typeof r){const _e=r;D=_e.next?.bind(_e),k=_e.error?.bind(_e),$=_e.complete?.bind(_e)}this.__isAsync&&(k=ut(k),D&&(D=ut(D)),$&&($=ut($)));const se=super.subscribe({next:D,error:k,complete:$});return r instanceof qe.wH&&r.add(se),se}};function De(t){return new Ue}function Pe(t,r){return vn(t,r)}const Re=(Pe.required=function Qe(t){return vn(sn,t)},Pe);var lt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(lt||{});function He(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(He).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const r=t.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function gt(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function dt(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const s=Math.round(r/2);return t.substring(0,s)+"..."+t.substring(t.length-s)}function nn(t,r,s,p){throw new Error(`ASSERTION ERROR: ${t}`+(null==p?"":` [Expected=> ${s} ${p} ${r} <=Actual]`))}var yr=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(yr||{}),_r=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(_r||{});function qn(t){return{toString:t}.toString()}const Fn=globalThis,Mr={},Qn=[];function er(t){for(let r in t)if(t[r]===er)return r;throw Error("Could not find renamed property on target object.")}function xr(t,r){for(const s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}const Si=er({\u0275cmp:er}),en=er({\u0275dir:er}),jn=er({\u0275pipe:er}),Zn=er({\u0275mod:er}),sr=er({\u0275fac:er}),si=er({__NG_ELEMENT_ID__:er}),kr=er({__NG_ENV_ID__:er});var ot=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ot||{});function Ot(t,r,s){let p=t.length;for(;;){const D=t.indexOf(r,s);if(-1===D)return D;if(0===D||t.charCodeAt(D-1)<=32){const k=r.length;if(D+k===p||t.charCodeAt(D+k)<=32)return D}s=D+1}}function It(t,r,s){let p=0;for(;pr){$=k-1;break}}}for(;kk?"":D[St+1].toLowerCase();const Kt=8&p?jt:null;if(Kt&&-1!==Ot(Kt,je,0)||2&p&&je!==jt){if(Yn(p))return!1;$=!0}}}}else{if(!$&&!Yn(p)&&!Yn(_e))return!1;if($&&Yn(_e))continue;$=!1,p=_e|1&p}}return Yn(p)||$}function Yn(t){return 0==(1&t)}function di(t,r,s,p){if(null===r)return-1;let D=0;if(p||!s){let k=!1;for(;D-1)for(s++;s0?'="'+se+'"':"")+"]"}else 8&p?D+="."+$:4&p&&(D+=" "+$);else""!==D&&!Yn($)&&(r+=Ie(k,D),D=""),p=$,k=k||!Yn(p);s++}return""!==D&&(r+=Ie(k,D)),r}function _t(t){return qn(()=>{const r=Ur(t),s={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||_r.Emulated,styles:t.styles||Qn,_:null,schemas:t.schemas||null,tView:null,id:""};Hr(s);const p=t.dependencies;return s.directiveDefs=at(p,!1),s.pipeDefs=at(p,!0),s.id=function vi(t){let r=0;const s=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const D of s)r=Math.imul(31,r)+D.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(s),s})}function At(t){return gn(t)||Gt(t)}function Nt(t){return null!==t}function Jt(t){return qn(()=>({type:t.type,bootstrap:t.bootstrap||Qn,declarations:t.declarations||Qn,imports:t.imports||Qn,exports:t.exports||Qn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mn(t,r){if(null==t)return Mr;const s={};for(const p in t)if(t.hasOwnProperty(p)){const D=t[p];let k,$,se=ot.None;Array.isArray(D)?(se=D[0],k=D[1],$=D[2]??k):(k=D,$=D),r?(s[k]=se!==ot.None?[p,se]:p,r[k]=$):s[k]=p}return s}function _n(t){return qn(()=>{const r=Ur(t);return Hr(r),r})}function yn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[Si]||null}function Gt(t){return t[en]||null}function Nn(t){return t[jn]||null}function cr(t){const r=gn(t)||Gt(t)||Nn(t);return null!==r&&r.standalone}function rr(t,r){const s=t[Zn]||null;if(!s&&!0===r)throw new Error(`Type ${He(t)} does not have '\u0275mod' property.`);return s}function Ur(t){const r={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:t.inputs||Mr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Qn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mn(t.inputs,r),outputs:mn(t.outputs),debugInfo:null}}function Hr(t){t.features?.forEach(r=>r(t))}function at(t,r){if(!t)return null;const s=r?Nn:At;return()=>("function"==typeof t?t():t).map(p=>s(p)).filter(Nt)}const uo=new Map,Pr=0,In=1,Gn=2,ni=3,Dr=4,pi=5,Rn=6,ai=7,Kr=8,qr=9,Ri=10,dr=11,Vi=12,Mo=13,bo=14,zr=15,eo=16,Gi=17,to=18,$r=19,no=20,_i=21,Fi=22,ei=23,lr=25,mo=1,xi=6,Mi=7,ho=9,Vr=10;var yo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(yo||{});function Ni(t){return Array.isArray(t)&&"object"==typeof t[mo]}function Qr(t){return Array.isArray(t)&&!0===t[mo]}function ko(t){return 0!=(4&t.flags)}function ji(t){return t.componentOffset>-1}function Ji(t){return 1==(1&t.flags)}function Yi(t){return!!t.template}function Co(t){return 0!=(512&t[Gn])}function oo(t){return 16==(16&t.type)}function fo(t){return 256==(256&t[Gn])}const Hn="svg",zi="math";let So=!1;function Do(){return So}function go(t){So=t}function Fr(t){for(;Array.isArray(t);)t=t[Pr];return t}function Xo(t){for(;Array.isArray(t);){if("object"==typeof t[mo])return t;t=t[Pr]}return null}function ns(t,r){return Fr(r[t])}function qi(t,r){return Fr(r[t.index])}function Ao(t,r){return t.data[r]}function To(t,r){return t[r]}function Ti(t,r){const s=r[t];return Ni(s)?s:s[Pr]}function No(t){return 128==(128&t[Gn])}function so(t,r){return null==r?null:t[r]}function hs(t){t[Gi]=0}function Je(t){1024&t[Gn]||(t[Gn]|=1024,No(t)&&Ze(t))}function ie(t,r){for(;t>0;)r=r[bo],t--;return r}function pe(t){return!!(9216&t[Gn]||t[ei]?.dirty)}function Le(t){pe(t)?Ze(t):64&t[Gn]&&(Do()?(t[Gn]|=1024,Ze(t)):t[Ri].changeDetectionScheduler?.notify())}function Ze(t){t[Ri].changeDetectionScheduler?.notify();let r=Bt(t);for(;null!==r&&!(8192&r[Gn])&&(r[Gn]|=8192,No(r));)r=Bt(r)}function wt(t,r){if(256==(256&t[Gn]))throw new bt(911,!1);null===t[_i]&&(t[_i]=[]),t[_i].push(r)}function Rt(t,r){if(null===t[_i])return;const s=t[_i].indexOf(r);-1!==s&&t[_i].splice(s,1)}function Bt(t){const r=t[ni];return Qr(r)?r[ni]:r}const Yt={lFrame:Ei(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function nr(){return Yt.bindingsEnabled}function mr(){return null!==Yt.skipHydrationRootTNode}function Ii(){Yt.bindingsEnabled=!0}function bi(){Yt.bindingsEnabled=!1}function Sn(){return Yt.lFrame.lView}function Cr(){return Yt.lFrame.tView}function Qi(t){return Yt.lFrame.contextLView=t,t[Kr]}function Oi(t){return Yt.lFrame.contextLView=null,t}function Xr(){let t=ao();for(;null!==t&&64===t.type;)t=t.parent;return t}function ao(){return Yt.lFrame.currentTNode}function Be(){const t=Yt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function it(t,r){const s=Yt.lFrame;s.currentTNode=t,s.isParent=r}function x(){return Yt.lFrame.isParent}function te(){Yt.lFrame.isParent=!1}function vt(){const t=Yt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function Ft(){return Yt.lFrame.bindingIndex}function cn(t){return Yt.lFrame.bindingIndex=t}function Z(){return Yt.lFrame.bindingIndex++}function Ve(t){const r=Yt.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,s}function Fe(t){Yt.lFrame.inI18n=t}function Et(t,r){const s=Yt.lFrame;s.bindingIndex=s.bindingRootIndex=t,ln(r)}function ln(t){Yt.lFrame.currentDirectiveIndex=t}function Pn(t){const r=Yt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function fr(){return Yt.lFrame.currentQueryIndex}function pr(t){Yt.lFrame.currentQueryIndex=t}function Nr(t){const r=t[In];return 2===r.type?r.declTNode:1===r.type?t[pi]:null}function br(t,r,s){if(s<.SkipSelf){let D=r,k=t;for(;!(D=D.parent,null!==D||s<.Host||(D=Nr(k),null===D||(k=k[bo],10&D.type))););if(null===D)return!1;r=D,t=k}const p=Yt.lFrame=ti();return p.currentTNode=r,p.lView=t,!0}function Wr(t){const r=ti(),s=t[In];Yt.lFrame=r,r.currentTNode=s.firstChild,r.lView=t,r.tView=s,r.contextLView=t,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function ti(){const t=Yt.lFrame,r=null===t?null:t.child;return null===r?Ei(t):r}function Ei(t){const r={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:t,child:null,inI18n:!1};return null!==t&&(t.child=r),r}function Xi(){const t=Yt.lFrame;return Yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const $o=Xi;function fs(){const t=Xi();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function mi(){return Yt.lFrame.selectedIndex}function Wo(t){Yt.lFrame.selectedIndex=t}function yi(){const t=Yt.lFrame;return Ao(t.tView,t.selectedIndex)}function jo(){Yt.lFrame.currentNamespace=Hn}function rl(){Yt.lFrame.currentNamespace=zi}function Ca(){!function Ya(){Yt.lFrame.currentNamespace=null}()}function il(){return Yt.lFrame.currentNamespace}let Kl=!0;function sa(){return Kl}function Ps(t){Kl=t}function Ql(){return is(Xr(),Sn())}function is(t,r){return new aa(qi(t,r))}let aa=(()=>{class t{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=Ql}return t})();function Ss(t){return t instanceof aa?t.nativeElement:t}function as(t){return t.flat(Number.POSITIVE_INFINITY)}function la(t,r){t.forEach(s=>Array.isArray(s)?la(s,r):r(s))}function Xl(t,r,s){r>=t.length?t.push(s):t.splice(r,0,s)}function Sa(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function Ma(t,r){const s=[];for(let p=0;pr;)t[D]=t[D-2],D--;t[r]=s,t[r+1]=p}}function Go(t,r,s){let p=ca(t,r);return p>=0?t[1|p]=s:(p=~p,ol(t,p,r,s)),p}function Xs(t,r){const s=ca(t,r);if(s>=0)return t[1|s]}function ca(t,r){return function Zl(t,r,s){let p=0,D=t.length>>s;for(;D!==p;){const k=p+(D-p>>1),$=t[k<r?D=k:p=k+1}return~(D<xt}),xt="ng",fn=new Ye(""),an=new Ye("",{providedIn:"platform",factory:()=>"unknown"}),Wn=new Ye(""),Jr=new Ye(""),li=new Ye("",{providedIn:"root",factory:()=>Zo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),vo={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Vs=new Ye("",{providedIn:"root",factory:()=>vo}),da=er({__forward_ref__:er});function Zi(t){return t.__forward_ref__=Zi,t.toString=function(){return He(this())},t}function Tr(t){return ms(t)?t():t}function ms(t){return"function"==typeof t&&t.hasOwnProperty(da)&&t.__forward_ref__===Zi}let _u,ul;function nc(t){nn("setInjectorProfilerContext should never be called in production mode");const r=_u;return _u=t,r}function rc(t){return t&&!!t.\u0275providers}function jr(t){return"string"==typeof t?t:null==t?"":String(t)}function Bi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():jr(t)}function yu(t,r){throw new bt(-201,!1)}function Ud(){return ul}function Ko(t){const r=ul;return ul=t,r}function Hd(t,r,s){const p=Da(t);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:s<.Optional?null:void 0!==r?r:void yu()}const hl={},Cu="__NG_DI_FLAG__",ic="ngTempTokenPath",xg=/\n/gm,Ta="__source";let Zs;function U(t){const r=Zs;return Zs=t,r}function fe(t,r=lt.Default){if(void 0===Zs)throw new bt(-203,!1);return null===Zs?Hd(t,void 0,r):Zs.get(t,r<.Optional?null:void 0,r)}function xe(t,r=lt.Default){return(Ud()||fe)(Tr(t),r)}function We(t){throw new bt(202,!1)}function rt(t,r=lt.Default){return xe(t,Ht(r))}function Ht(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Dn(t){const r=[];for(let s=0;s{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:fa});get(s,p){return void 0!==this.store[s]?this.store[s]:p}set(s,p){this.store[s]=p}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,p){this.onSerializeCallbacks[s]=p}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(p){console.warn("Exception in onSerialize callback: ",p)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,s=!1){let p=t.getAttribute(Eu);if(null==p)return null;const[D,k]=p.split("|");if(p=s?k:D,!p)return null;const se=s?D:k?`|${k}`:"";let _e={};if(""!==p){const Xe=r.get(Mu,null,{optional:!0});null!==Xe&&(_e=Xe.get(jg,[])[Number(p)])}const je={data:_e,firstChild:t.firstChild??null};return s&&(je.firstChild=t,Yd(je,0,t.nextSibling)),se?t.setAttribute(Eu,se):t.removeAttribute(Eu),je}function Bg(t,r,s=!1){return kb(t,r,s)}function xb(t){let r=t._lView;return 2===r[In].type?null:(Co(r)&&(r=r[lr]),r)}const ml="__ngDebugHydrationInfo__";function Ug(t){return t[ml]??null}function Yd(t,r,s){t.segmentHeads??={},t.segmentHeads[r]=s}function Hg(t,r){return t.segmentHeads?.[r]??null}function Rb(t,r){return t.data[ga]?.[r]??null}function zd(t,r){const s=Rb(t,r)??[];let p=0;for(let D of s)p+=D[sc]*(D[fl]??1);return p}function $d(t,r){if(typeof t.disconnectedNodes>"u"){const s=t.data[Vd];t.disconnectedNodes=s?new Set(s):null}return!!t.disconnectedNodes?.has(r)}const Di="__annotations__",cc="__parameters__",Rs="__prop__metadata__";function Au(t,r,s,p,D){return qn(()=>{const k=Vg(r);function $(...se){if(this instanceof $)return k.call(this,...se),this;const _e=new $(...se);return function(Xe){return D&&D(Xe,...se),(Xe.hasOwnProperty(Di)?Xe[Di]:Object.defineProperty(Xe,Di,{value:[]})[Di]).push(_e),p&&p(Xe),Xe}}return s&&($.prototype=Object.create(s.prototype)),$.prototype.ngMetadataName=t,$.annotationCls=$,$})}function Vg(t){return function(...s){if(t){const p=t(...s);for(const D in p)this[D]=p[D]}}}function Ms(t,r,s){return qn(()=>{const p=Vg(r);function D(...k){if(this instanceof D)return p.apply(this,k),this;const $=new D(...k);return se.annotation=$,se;function se(_e,je,Xe){const St=_e.hasOwnProperty(cc)?_e[cc]:Object.defineProperty(_e,cc,{value:[]})[cc];for(;St.length<=Xe;)St.push(null);return(St[Xe]=St[Xe]||[]).push($),_e}}return s&&(D.prototype=Object.create(s.prototype)),D.prototype.ngMetadataName=t,D.annotationCls=D,D})}function $a(t,r,s,p){return qn(()=>{const D=Vg(r);function k(...$){if(this instanceof k)return D.apply(this,$),this;const se=new k(...$);return function _e(je,Xe){if(void 0===je)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const St=je.constructor,jt=St.hasOwnProperty(Rs)?St[Rs]:Object.defineProperty(St,Rs,{value:{}})[Rs];jt[Xe]=jt.hasOwnProperty(Xe)&&jt[Xe]||[],jt[Xe].unshift(se),p&&p(je,Xe,...$)}}return s&&(k.prototype=Object.create(s.prototype)),k.prototype.ngMetadataName=t,k.annotationCls=k,k})}const Wa=ir(Ms("Inject",t=>({token:t})),-1),Wd=ir(Ms("Optional"),8),Tu=ir(Ms("Self"),2),Gd=ir(Ms("SkipSelf"),4),Kd=ir(Ms("Host"),1);function pl(t,r){return t.hasOwnProperty(sr)?t[sr]:null}const xs=new Ye(""),Qd=new Ye("",-1),Yg=new Ye("");class Xd{get(r,s=hl){if(s===hl){const p=new Error(`NullInjectorError: No provider for ${He(r)}!`);throw p.name="NullInjectorError",p}return s}}function Iu(t){return{\u0275providers:t}}function cs(...t){return{\u0275providers:zg(0,t),\u0275fromNgModule:!0}}function zg(t,...r){const s=[],p=new Set;let D;const k=$=>{s.push($)};return la(r,$=>{const se=$;Jd(se,k,[],p)&&(D||=[],D.push(se))}),void 0!==D&&Zd(D,k),s}function Zd(t,r){for(let s=0;s{r(k,p)})}}function Jd(t,r,s,p){if(!(t=Tr(t)))return!1;let D=null,k=ua(t);const $=!k&&gn(t);if(k||$){if($&&!$.standalone)return!1;D=t}else{const _e=t.ngModule;if(k=ua(_e),!k)return!1;D=_e}const se=p.has(D);if($){if(se)return!1;if(p.add(D),$.dependencies){const _e="function"==typeof $.dependencies?$.dependencies():$.dependencies;for(const je of _e)Jd(je,r,s,p)}}else{if(!k)return!1;{if(null!=k.imports&&!se){let je;p.add(D);try{la(k.imports,Xe=>{Jd(Xe,r,s,p)&&(je||=[],je.push(Xe))})}finally{}void 0!==je&&Zd(je,r)}if(!se){const je=pl(D)||(()=>new D);r({provide:D,useFactory:je,deps:Qn},D),r({provide:Yg,useValue:D,multi:!0},D),r({provide:xs,useValue:()=>xe(D),multi:!0},D)}const _e=k.providers;if(null!=_e&&!se){const je=t;$g(_e,Xe=>{r(Xe,je)})}}}return D!==t&&void 0!==t.providers}function $g(t,r){for(let s of t)rc(s)&&(s=s.\u0275providers),Array.isArray(s)?$g(s,r):r(s)}const Fb=er({provide:String,useValue:er});function Wg(t){return null!==t&&"object"==typeof t&&Fb in t}function _l(t){return"function"==typeof t}const qd=new Ye(""),eh={},tD={};let Gg;function Ia(){return void 0===Gg&&(Gg=new Xd),Gg}class qs{}class uc extends qs{get destroyed(){return this._destroyed}constructor(r,s,p,D){super(),this.parent=s,this.source=p,this.scopes=D,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xg(r,$=>this.processProvider($)),this.records.set(Qd,dc(void 0,this)),D.has("environment")&&this.records.set(qs,dc(void 0,this));const k=this.records.get(qd);null!=k&&"string"==typeof k.value&&this.scopes.add(k.value),this.injectorDefTypes=new Set(this.get(Yg,Qn,lt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const s=U(this),p=Ko(void 0);try{return r()}finally{U(s),Ko(p)}}get(r,s=hl,p=lt.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(kr))return r[kr](this);p=Ht(p);const k=U(this),$=Ko(void 0);try{if(!(p<.SkipSelf)){let _e=this.records.get(r);if(void 0===_e){const je=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof Ye}(r)&&Da(r);_e=je&&this.injectableDefInScope(je)?dc(Kg(r),eh):null,this.records.set(r,_e)}if(null!=_e)return this.hydrate(r,_e)}return(p<.Self?Ia():this.parent).get(r,s=p<.Optional&&s===hl?null:s)}catch(se){if("NullInjectorError"===se.name){if((se[ic]=se[ic]||[]).unshift(He(r)),k)throw se;return function hi(t,r,s,p){const D=t[ic];throw r[Ta]&&D.unshift(r[Ta]),t.message=function ls(t,r,s,p=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let D=He(r);if(Array.isArray(r))D=r.map(He).join(" -> ");else if("object"==typeof r){let k=[];for(let $ in r)if(r.hasOwnProperty($)){let se=r[$];k.push($+":"+("string"==typeof se?JSON.stringify(se):He(se)))}D=`{${k.join(", ")}}`}return`${s}${p?"("+p+")":""}[${D}]: ${t.replace(xg,"\n ")}`}("\n"+t.message,D,s,p),t.ngTokenPath=D,t[ic]=null,t}(se,r,"R3InjectorError",this.source)}throw se}finally{Ko($),U(k)}}resolveInjectorInitializers(){const r=U(this),s=Ko(void 0);try{const D=this.get(xs,Qn,lt.Self);for(const k of D)k()}finally{U(r),Ko(s)}}toString(){const r=[],s=this.records;for(const p of s.keys())r.push(He(p));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new bt(205,!1)}processProvider(r){let s=_l(r=Tr(r))?r:Tr(r&&r.provide);const p=function nD(t){return Wg(t)?dc(void 0,t.useValue):dc(nh(t),eh)}(r);if(!_l(r)&&!0===r.multi){let D=this.records.get(s);D||(D=dc(void 0,eh,!0),D.factory=()=>Dn(D.multi),this.records.set(s,D)),s=r,D.multi.push(r)}this.records.set(s,p)}hydrate(r,s){return s.value===eh&&(s.value=tD,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Qg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=Tr(r.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(r){const s=this._onDestroyHooks.indexOf(r);-1!==s&&this._onDestroyHooks.splice(s,1)}}function Kg(t){const r=Da(t),s=null!==r?r.factory:pl(t);if(null!==s)return s;if(t instanceof Ye)throw new bt(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new bt(204,!1);const s=function gs(t){return t&&(t[oe]||t[ge])||null}(t);return null!==s?()=>s.factory(t):()=>new t}(t);throw new bt(204,!1)}function nh(t,r,s){let p;if(_l(t)){const D=Tr(t);return pl(D)||Kg(D)}if(Wg(t))p=()=>Tr(t.useValue);else if(function Nb(t){return!(!t||!t.useFactory)}(t))p=()=>t.useFactory(...Dn(t.deps||[]));else if(function Pu(t){return!(!t||!t.useExisting)}(t))p=()=>xe(Tr(t.useExisting));else{const D=Tr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return pl(D)||Kg(D);p=()=>new D(...Dn(t.deps))}return p}function dc(t,r,s=!1){return{factory:t,value:r,multi:s?[]:void 0}}function Xg(t,r){for(const s of t)Array.isArray(s)?Xg(s,r):s&&rc(s)?Xg(s.\u0275providers,r):r(s)}function Zg(t,r){t instanceof uc&&t.assertNotDestroyed();const p=U(t),D=Ko(void 0);try{return r()}finally{U(p),Ko(D)}}function vl(t){if(!Ud()&&!function wi(){return Zs}())throw new bt(-203,!1)}var bl=function(t){return t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule",t}(bl||{});function Jo(t){const r=Fn.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bb={\u0275\u0275defineInjectable:Zr,\u0275\u0275defineInjector:Hs,\u0275\u0275inject:xe,\u0275\u0275invalidFactoryDep:We,resolveForwardRef:Tr},rh=Function;function hc(t){return"function"==typeof t}const sD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ys=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,aD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ka=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ub{constructor(r){this._reflect=r||Fn.Reflect}factory(r){return(...s)=>new r(...s)}_zipTypesAndAnnotations(r,s){let p;p=Ma(typeof r>"u"?s.length:r.length);for(let D=0;D"u"?[]:r[D]&&r[D]!=Object?[r[D]]:[],s&&null!=s[D]&&(p[D]=p[D].concat(s[D]));return p}_ownParameters(r,s){if(function lD(t){return sD.test(t)||Ka.test(t)||Ys.test(t)&&!aD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==s.parameters)return r.parameters;const D=r.ctorParameters;if(D&&D!==s.ctorParameters){const se="function"==typeof D?D():D,_e=se.map(Xe=>Xe&&Xe.type),je=se.map(Xe=>Xe&&Jg(Xe.decorators));return this._zipTypesAndAnnotations(_e,je)}const k=r.hasOwnProperty(cc)&&r[cc],$=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return $||k?this._zipTypesAndAnnotations($,k):Ma(r.length)}parameters(r){if(!hc(r))return[];const s=ih(r);let p=this._ownParameters(r,s);return!p&&s!==Object&&(p=this.parameters(s)),p||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let p=r.annotations;return"function"==typeof p&&p.annotations&&(p=p.annotations),p}return r.decorators&&r.decorators!==s.decorators?Jg(r.decorators):r.hasOwnProperty(Di)?r[Di]:null}annotations(r){if(!hc(r))return[];const s=ih(r),p=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(p)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let p=r.propMetadata;return"function"==typeof p&&p.propMetadata&&(p=p.propMetadata),p}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const p=r.propDecorators,D={};return Object.keys(p).forEach(k=>{D[k]=Jg(p[k])}),D}return r.hasOwnProperty(Rs)?r[Rs]:null}propMetadata(r){if(!hc(r))return{};const s=ih(r),p={};if(s!==Object){const k=this.propMetadata(s);Object.keys(k).forEach($=>{p[$]=k[$]})}const D=this._ownPropMetadata(r,s);return D&&Object.keys(D).forEach(k=>{const $=[];p.hasOwnProperty(k)&&$.push(...p[k]),$.push(...D[k]),p[k]=$}),p}ownPropMetadata(r){return hc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,s){return r instanceof rh&&s in r.prototype}}function Jg(t){return t?t.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function ih(t){const r=t.prototype?Object.getPrototypeOf(t.prototype):null;return(r?r.constructor:null)||Object}class Hb{constructor(r,s,p){this.previousValue=r,this.currentValue=s,this.firstChange=p}isFirstChange(){return this.firstChange}}function Vb(t,r,s,p){null!==r?r.applyValueToInputSignal(r,p):t[s]=p}function qg(){return Yb}function Yb(t){return t.type.prototype.ngOnChanges&&(t.setInput=fc),cD}function cD(){const t=$b(this),r=t?.current;if(r){const s=t.previous;if(s===Mr)t.previous=r;else for(let p in r)s[p]=r[p];t.current=null,this.ngOnChanges(r)}}function fc(t,r,s,p,D){const k=this.declaredInputs[p],$=$b(t)||function Wb(t,r){return t[zb]=r}(t,{previous:Mr,current:null}),se=$.current||($.current={}),_e=$.previous,je=_e[k];se[k]=new Hb(je&&je.currentValue,s,_e===Mr),Vb(t,r,D,s)}qg.ngInherit=!0;const zb="__ngSimpleChanges__";function $b(t){return t[zb]||null}const ma=function(t,r,s){};function oh(t,r){for(let s=r.directiveStart,p=r.directiveEnd;s=p)break}else r[_e]<0&&(t[Gi]+=65536),(se>14>16&&(3&t[Gn])===r&&(t[Gn]+=16384,tm(se,k)):tm(se,k)}const yl=-1;class xu{constructor(r,s,p){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=p}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function nm(t){return t!==yl}function Ou(t){return 32767&t}function Lu(t,r){let s=function ea(t){return t>>16}(t),p=r;for(;s>0;)p=p[bo],s--;return p}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Xb=255,uh=5;let mD=0;const zs={};function mc(t,r){const s=Zb(t,r);if(-1!==s)return s;const p=r[In];p.firstCreatePass&&(t.injectorIndex=r.length,im(p.data,t),im(r,null),im(p.blueprint,null));const D=dh(t,r),k=t.injectorIndex;if(nm(D)){const $=Ou(D),se=Lu(D,r),_e=se[In].data;for(let je=0;je<8;je++)r[k+je]=se[$+je]|_e[$+je]}return r[k+8]=D,k}function im(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Zb(t,r){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===r[t.injectorIndex+8]?-1:t.injectorIndex}function dh(t,r){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let s=0,p=null,D=r;for(;null!==D;){if(p=sy(D),null===p)return yl;if(s++,D=D[bo],-1!==p.injectorIndex)return p.injectorIndex|s<<16}return yl}function om(t,r,s){!function pD(t,r,s){let p;"string"==typeof s?p=s.charCodeAt(0)||0:s.hasOwnProperty(si)&&(p=s[si]),null==p&&(p=s[si]=mD++);const D=p&Xb;r.data[t+(D>>uh)]|=1<=0?r&Xb:iy:r}(s);if("function"==typeof k){if(!br(r,t,p))return p<.Host?Jb(D,0,p):qb(r,s,p,D);try{let $;if($=k(p),null!=$||p<.Optional)return $;yu()}finally{$o()}}else if("number"==typeof k){let $=null,se=Zb(t,r),_e=yl,je=p<.Host?r[zr][pi]:null;for((-1===se||p<.SkipSelf)&&(_e=-1===se?dh(t,r):r[se+8],_e!==yl&&ry(p,!1)?($=r[In],se=Ou(_e),r=Lu(_e,r)):se=-1);-1!==se;){const Xe=r[In];if(ny(k,se,Xe.data)){const St=vD(se,r,s,$,p,je);if(St!==zs)return St}_e=r[se+8],_e!==yl&&ry(p,r[In].data[se+8]===je)&&ny(k,se,r)?($=Xe,se=Ou(_e),r=Lu(_e,r)):se=-1}}return D}function vD(t,r,s,p,D,k){const $=r[In],se=$.data[t+8],Xe=hh(se,$,s,null==p?ji(se)&&lh:p!=$&&0!=(3&se.type),D<.Host&&k===se);return null!==Xe?Pa(r,$,Xe,se):zs}function hh(t,r,s,p,D){const k=t.providerIndexes,$=r.data,se=1048575&k,_e=t.directiveStart,Xe=k>>20,jt=D?se+Xe:t.directiveEnd;for(let Kt=p?se:se+Xe;Kt=_e&&pn.type===s)return Kt}if(D){const Kt=$[_e];if(Kt&&Yi(Kt)&&Kt.type===s)return _e}return null}function Pa(t,r,s,p){let D=t[s];const k=r.data;if(function Qb(t){return t instanceof xu}(D)){const $=D;$.resolving&&function Bd(t,r){throw r&&r.join(" > "),new bt(-200,t)}(Bi(k[s]));const se=ch($.canSeeViewProviders);$.resolving=!0;const je=$.injectImpl?Ko($.injectImpl):null;br(t,p,lt.Default);try{D=t[s]=$.factory(void 0,k,t,p),r.firstCreatePass&&s>=p.directiveStart&&function dD(t,r,s){const{ngOnChanges:p,ngOnInit:D,ngDoCheck:k}=r.type.prototype;if(p){const $=Yb(r);(s.preOrderHooks??=[]).push(t,$),(s.preOrderCheckHooks??=[]).push(t,$)}D&&(s.preOrderHooks??=[]).push(0-t,D),k&&((s.preOrderHooks??=[]).push(t,k),(s.preOrderCheckHooks??=[]).push(t,k))}(s,k[s],r)}finally{null!==je&&Ko(je),ch(se),$.resolving=!1,$o()}}return D}function ny(t,r,s){return!!(s[r+(t>>uh)]&1<{const r=t.prototype.constructor,s=r[sr]||sm(r),p=Object.prototype;let D=Object.getPrototypeOf(t.prototype).constructor;for(;D&&D!==p;){const k=D[sr]||sm(D);if(k&&k!==s)return k;D=Object.getPrototypeOf(D)}return k=>new k})}function sm(t){return ms(t)?()=>{const r=sm(Tr(t));return r&&r()}:pl(t)}function sy(t){const r=t[In],s=r.type;return 2===s?r.declTNode:1===s?t[pi]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const s=t.attrs;if(s){const p=s.length;let D=0;for(;D({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let ay=null;function lm(){return ay=ay||new Ub}function gh(t){return ly(lm().parameters(t))}function ly(t){return t.map(r=>function cy(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let s=0;sfunction CD(t,r){let s=null,p=null;t.hasOwnProperty(oe)||Object.defineProperty(t,oe,{get:()=>(null===s&&(s=Jo().compileInjectable(Bb,`ng:///${t.name}/\u0275prov.js`,function SD(t,r){const s=r||{providedIn:null},p={name:t.name,type:t,typeArgumentCount:0,providedIn:s.providedIn};return(cm(s)||hy(s))&&void 0!==s.deps&&(p.deps=ly(s.deps)),cm(s)?p.useClass=s.useClass:function dy(t){return uy in t}(s)?p.useValue=s.useValue:hy(s)?p.useFactory=s.useFactory:function fy(t){return void 0!==t.useExisting}(s)&&(p.useExisting=s.useExisting),p}(t,r))),s)}),t.hasOwnProperty(sr)||Object.defineProperty(t,sr,{get:()=>{if(null===p){const D=Jo();p=D.compileFactory(Bb,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Injectable})}return p},configurable:!0})}(t,r));function mh(t,r=null,s=null,p){const D=my(t,r,s,p);return D.resolveInjectorInitializers(),D}function my(t,r=null,s=null,p,D=new Set){const k=[s||Qn,cs(t)];return p=p||("object"==typeof t?void 0:He(t)),new uc(k,r||Ia(),p||null,D)}let Fs=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=hl;static#t=this.NULL=new Xd;static create(s,p){if(Array.isArray(s))return mh({name:""},p,s,"");{const D=s.name??"";return mh({name:D},s.parent,s.providers,D)}}static#n=this.\u0275prov=Zr({token:t,providedIn:"any",factory:()=>xe(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Ns{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r);this._console.error("ERROR",r),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&ph(r);for(;s&&ph(s);)s=ph(s);return s||null}}const _y=new Ye("",{providedIn:"root",factory:()=>rt(Ns).handleError.bind(void 0)}),vc=new Ye(""),um=new Ye("",{providedIn:"root",factory:()=>!1});let Ru,vh;function _h(){if(void 0===Ru&&(Ru=null,Fn.trustedTypes))try{Ru=Fn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}function Cl(t){return _h()?.createHTML(t)||t}function dm(){if(void 0===vh&&(vh=null,Fn.trustedTypes))try{vh=Fn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function by(t){return dm()?.createHTML(t)||t}function yy(t){return dm()?.createScript(t)||t}function Cy(t){return dm()?.createScriptURL(t)||t}class Sl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qt})`}}class hm extends Sl{getTypeName(){return"HTML"}}class DD extends Sl{getTypeName(){return"Style"}}class AD extends Sl{getTypeName(){return"Script"}}class TD extends Sl{getTypeName(){return"URL"}}class bc extends Sl{getTypeName(){return"ResourceURL"}}function ka(t){return t instanceof Sl?t.changingThisBreaksApplicationSecurity:t}function Ml(t,r){const s=Sy(t);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see ${Qt})`)}return s===r}function Sy(t){return t instanceof Sl&&t.getTypeName()||null}function My(t){return new hm(t)}function ID(t){return new DD(t)}function PD(t){return new AD(t)}function kD(t){return new TD(t)}function fm(t){return new bc(t)}function Ey(t){const r=new xD(t);return function gm(){try{return!!(new window.DOMParser).parseFromString(Cl(""),"text/html")}catch{return!1}}()?new wy(r):r}class wy{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(Cl(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const s=this.inertDocument.createElement("template");return s.innerHTML=Cl(r),s}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function xa(t){const r={};for(const s of t.split(","))r[s]=!0;return r}function yc(...t){const r={};for(const s of t)for(const p in s)s.hasOwnProperty(p)&&(r[p]=!0);return r}const Dy=xa("area,br,col,hr,img,wbr"),Qa=xa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ay=xa("rp,rt"),mm=yc(Dy,yc(Qa,xa("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")),yc(Ay,xa("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")),yc(Ay,Qa)),pm=xa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ty=yc(pm,xa("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"),xa("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")),RD=xa("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let s=r.firstChild,p=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?p=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,p&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let D=this.checkClobberedElement(s,s.nextSibling);if(D){s=D;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(r){const s=r.nodeName.toLowerCase();if(!mm.hasOwnProperty(s))return this.sanitizedSomething=!0,!RD.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const p=r.attributes;for(let D=0;D"),!0}endElement(r){const s=r.nodeName.toLowerCase();mm.hasOwnProperty(s)&&!Dy.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(El(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jD=/([^\#-~ |!])/g;function El(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(jD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Oa;function Iy(t,r){let s=null;try{Oa=Oa||Ey(t);let p=r?String(r):"";s=Oa.getInertBodyElement(p);let D=5,k=p;do{if(0===D)throw new Error("Failed to sanitize html because the input is unstable");D--,p=k,k=s.innerHTML,s=Oa.getInertBodyElement(p)}while(p!==k);return Cl((new FD).sanitizeChildren(yh(s)||s))}finally{if(s){const p=yh(s)||s;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function yh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var wl=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(wl||{});function _m(t){const r=Fu();return r?by(r.sanitize(wl.HTML,t)||""):Ml(t,"HTML")?by(ka(t)):Iy(Zo(),jr(t))}function vm(t){const r=Fu();return r?r.sanitize(wl.STYLE,t)||"":Ml(t,"Style")?ka(t):jr(t)}function bm(t){const r=Fu();return r?r.sanitize(wl.URL,t)||"":Ml(t,"URL")?ka(t):bh(jr(t))}function Ch(t){const r=Fu();if(r)return Cy(r.sanitize(wl.RESOURCE_URL,t)||"");if(Ml(t,"ResourceURL"))return Cy(ka(t));throw new bt(904,!1)}function ym(t){const r=Fu();if(r)return yy(r.sanitize(wl.SCRIPT,t)||"");if(Ml(t,"Script"))return yy(ka(t));throw new bt(905,!1)}function Py(t){return Cl(t[0])}function Cm(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function La(t,r,s){return function UD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:bm}(r,s)(t)}function Fu(){const t=Sn();return t&&t[Ri].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Mh=new Map;let GD=0;function Mm(t){return Mh.get(t)||null}class Eh{get lView(){return Mm(this.lViewId)}constructor(r,s,p){this.lViewId=r,this.nodeIndex=s,this.native=p}}function Es(t){let r=Dl(t);if(r){if(Ni(r)){const s=r;let p,D,k;if(Al(t)){if(p=function Em(t,r){const s=t[In].components;if(s)for(let p=0;p=0){const se=Fr(k[$]),_e=Nu(k,$,se);_s(se,_e),r=_e;break}}}}return r||null}function Nu(t,r,s){return new Eh(t[$r],r,s)}const ju="__ngContext__";function _s(t,r){Ni(r)?(t[ju]=r[$r],function QD(t){Mh.set(t[$r],t)}(r)):t[ju]=r}function Dl(t){const r=t[ju];return"number"==typeof r?Mm(r):r||null}function Al(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Ry(t,r){const s=t[In];for(let p=lr;pr.replace(ky,VD))}(r))}function Ih(t,r,s){return t.createElement(r,s)}function Wy(t,r){Lh(t,r,r[dr],2,null,null)}function Rm(t,r){const s=t[ho],p=s.indexOf(r);s.splice(p,1)}function Bu(t,r){if(t.length<=Vr)return;const s=Vr+r,p=t[s];if(p){const D=p[eo];null!==D&&D!==t&&Rm(D,p),r>0&&(t[s-1][Dr]=p[Dr]);const k=Sa(t,Vr+r);!function i1(t,r){Wy(t,r),r[Pr]=null,r[pi]=null}(p[In],p);const $=k[to];null!==$&&$.detachView(k[In]),p[ni]=null,p[Dr]=null,p[Gn]&=-129}return p}function Ph(t,r){if(!(256&r[Gn])){const s=r[dr];s.destroyNode&&Lh(t,r,s,3,null,null),function s1(t){let r=t[Vi];if(!r)return Fm(t[In],t);for(;r;){let s=null;if(Ni(r))s=r[Vi];else{const p=r[Vr];p&&(s=p)}if(!s){for(;r&&!r[Dr]&&r!==t;)Ni(r)&&Fm(r[In],r),r=r[ni];null===r&&(r=t),Ni(r)&&Fm(r[In],r),s=r&&r[Dr]}r=s}}(r)}}function Fm(t,r){if(!(256&r[Gn])){r[Gn]&=-129,r[Gn]|=256,r[ei]&&T(r[ei]),function c1(t,r){let s;if(null!=t&&null!=(s=t.destroyHooks))for(let p=0;p=0?p[$]():p[-$].unsubscribe(),k+=2}else s[k].call(p[s[k+1]]);null!==p&&(r[ai]=null);const D=r[_i];if(null!==D){r[_i]=null;for(let k=0;k-1){const{encapsulation:k}=t.data[p.directiveStart+D];if(k===_r.None||k===_r.Emulated)return null}return qi(p,s)}}function Il(t,r,s,p,D){t.insertBefore(r,s,p,D)}function Qy(t,r,s){t.appendChild(r,s)}function Nm(t,r,s,p,D){null!==p?Il(t,r,s,p,D):Qy(t,r,s)}function kh(t,r){return t.parentNode(r)}function Zy(t,r,s){return Jy(t,r,s)}function jm(t,r,s){return 40&t.type?qi(t,s):null}let Bm,Jy=jm;function qy(t,r){Jy=t,Bm=r}function xh(t,r,s,p){const D=Uu(t,p,r),k=r[dr],se=Zy(p.parent||r[pi],p,r);if(null!=D)if(Array.isArray(s))for(let _e=0;_elr&&s0(t,r,lr,!1),ma($?2:0,D),s(p,D)}finally{Wo(k),ma($?3:1,D)}}function Rh(t,r,s){if(ko(r)){const p=c(null);try{const k=r.directiveEnd;for(let $=r.directiveStart;$null;function y1(t){ql(t)?Hm(t):function Zw(t){const r=Zo(),s=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(k){const $=function Xw(t){return t.textContent?.replace(/\s/gm,"")}(k);return"ngetn"===$||"ngtns"===$?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let p;const D=[];for(;p=s.nextNode();)D.push(p);for(const k of D)"ngetn"===k.textContent?k.replaceWith(r.createTextNode("")):k.remove()}(t)}function Nh(t,r,s,p,D){for(let k in r){if(!r.hasOwnProperty(k))continue;const $=r[k];if(void 0===$)continue;p??={};let se,_e=ot.None;Array.isArray($)?(se=$[0],_e=$[1]):se=$;let je=k;if(null!==D){if(!D.hasOwnProperty(k))continue;je=D[k]}0===t?h0(p,s,je,se,_e):h0(p,s,je,se)}return p}function h0(t,r,s,p,D){let k;t.hasOwnProperty(s)?(k=t[s]).push(r,p):k=t[s]=[r,p],void 0!==D&&k.push(D)}function ws(t,r,s,p,D,k,$,se){const _e=qi(r,s);let Xe,je=r.inputs;!se&&null!=je&&(Xe=je[p])?(Xm(t,s,Xe,p,D),ji(r)&&function E1(t,r){const s=Ti(r,t);16&s[Gn]||(s[Gn]|=64)}(s,r.index)):3&r.type&&(p=function M1(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(p),D=null!=$?$(D,r.value||"",p):D,k.setProperty(_e,p,D))}function Wm(t,r,s,p){if(nr()){const D=null===p?null:{"":-1},k=function Vu(t,r){const s=t.directiveRegistry;let p=null,D=null;if(s)for(let k=0;k0;){const s=t[--r];if("number"==typeof s&&s<0)return s}return 0})($)!=se&&$.push(se),$.push(s,p,k)}}(t,r,p,Hu(t,s,D.hostVars,ri),D)}function _a(t,r,s,p,D,k){const $=qi(t,r);Dc(r[dr],$,k,t.value,s,p,D)}function Dc(t,r,s,p,D,k,$){if(null==k)t.removeAttribute(r,D,s);else{const se=null==$?jr(k):$(k,p||"",D);t.setAttribute(r,D,se,s)}}function k1(t,r,s,p,D,k){const $=k[r];if(null!==$)for(let se=0;se<$.length;)l0(p,s,$[se++],$[se++],$[se++],$[se++])}function x1(t,r,s){let p=null,D=0;for(;D0&&(s[D-1][Dr]=r),p{Ze(t.lView)},consumerOnSignalRead(){this.lView[ei]=this}};function Wu(t){return D0(t[Vi])}function w0(t){return D0(t[Dr])}function D0(t){for(;null!==t&&!Qr(t);)t=t[Dr];return t}function Tc(t,r=!0,s=0){const p=t[Ri],D=p.rendererFactory;D.begin?.();try{!function N1(t,r){ip(t,r);let s=0;for(;pe(t);){if(100===s)throw new bt(103,!1);s++,ip(t,1)}}(t,s)}catch($){throw r&&Vh(t,$),$}finally{D.end?.(),p.inlineEffectRunner?.flush()}}function B1(t,r,s,p){const D=r[Gn];if(256==(256&D))return;r[Ri].inlineEffectRunner?.flush(),Wr(r);let $=null,se=null;(function np(t){return 2!==t.type})(t)&&(se=function Yh(t){return t[ei]??function L1(t){const r=tp.pop()??Object.create(R1);return r.lView=t,r}(t)}(r),$=M(se));try{hs(r),cn(t.bindingStartIndex),null!==s&&c0(t,r,s,2,p);const _e=3==(3&D);if(_e){const St=t.preOrderCheckHooks;null!==St&&sh(r,St,null)}else{const St=t.preOrderHooks;null!==St&&gc(r,St,0,null),ku(r,0)}if(function I0(t){for(let r=Wu(t);null!==r;r=w0(r)){if(!(r[Gn]&yo.HasTransplantedViews))continue;const s=r[ho];for(let p=0;p-1&&(Bu(r,p),Sa(s,p))}this._attachedToViewContainer=!1}Ph(this._lView[In],this._lView)}onDestroy(r){wt(this._lView,r)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Gn]&=-129}reattach(){Le(this._lView),this._lView[Gn]|=128}detectChanges(){this._lView[Gn]|=1024,Tc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new bt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Wy(this._lView[In],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new bt(902,!1);this._appRef=r,Le(this._lView)}}let Ku=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=V1}return t})();const zh=Ku,H1=class extends zh{constructor(r,s,p){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,s){return this.createEmbeddedViewImpl(r,s)}createEmbeddedViewImpl(r,s,p){const D=Yu(this._declarationLView,this._declarationTContainer,r,{injector:s,dehydratedView:p});return new Pl(D)}};function V1(){return $h(Xr(),Sn())}function $h(t,r){return 4&t.type?new H1(r,t,is(t,r)):null}const Wh="<-- AT THIS LOCATION";function W1(t){const p=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function Gh(t){const r=" ";let s="";const p=t;return p.previousSibling&&(s+=" \u2026\n",s+=r+Ic(p.previousSibling)+"\n"),s+=r+Ic(p)+` ${Wh}\n`,t.nextSibling&&(s+=" \u2026\n"),t.parentNode&&(s=Ic(p.parentNode,"\n"+s)),s}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new bt(-503,p)}const K1=new Set(["ngh","ng-version","ng-server-context"]);function op(t,r="\u2026"){switch(t.type){case 1:return"#text"+(t.value?`(${t.value})`:"");case 2:const p=function G1(t){const r=[];if(t.attrs)for(let s=0;s${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function Y1(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(t.type)})`}}function Ic(t,r="\u2026"){const s=t;switch(s.nodeType){case Node.ELEMENT_NODE:const p=s.tagName.toLowerCase(),D=function O0(t){const r=[];for(let s=0;s${r}`;case Node.TEXT_NODE:const k=s.textContent?Pc(s.textContent):"";return"#text"+(k?`(${k})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Pc(s.textContent??"")} --\x3e`;default:return`#node(${s.nodeType})`}}function Pc(t,r=50){return t?(t=function Q1(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function R0(t){const r=t[xi]??[],p=t[ni][dr];for(const D of r)X1(D,p);t[xi]=Qn}function X1(t,r){let s=0,p=t.firstChild;if(p){const D=t.data[sc];for(;s0&&s[D-1]===p?s[D]=(s[D]||1)+1:s.push(p,"")}return s.join("")}(s,p)}function j0(t,r){let p,D,k,s=t.parent;for(;null!==s&&Zu(s,r);)s=s.parent;null!==s&&3&s.type?(p=s.index,D=Fr(r[p]),k=jr(p-lr)):(p=k=Og,D=r[zr][Pr]);let $=Fr(r[t.index]);if(12&t.type){const _e=Ec(r,t);_e&&($=_e)}let se=N0(D,$,k);if(null===se&&D!==$&&(se=N0(D.ownerDocument.body,$,Lg),null===se))throw function $1(t,r){const p=`${function sp(t,r,s){const p=" ";let D="";r.prev?(D+=" \u2026\n",D+=p+op(r.prev)+"\n"):r.type&&12&r.type&&(D+=" \u2026\n"),s?(D+=p+op(r)+"\n",D+=p+`\x3c!-- container --\x3e ${Wh}\n`):D+=p+op(r)+` ${Wh}\n`,D+=" \u2026\n";const k=r.type?Uu(t[In],r,t):null;return k&&(D=Ic(k,"\n"+D)),D}(t,r,!1)}\n\n`,D=function Qu(t){return`To fix this problem:\n * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new bt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+p+D)}(r,t);return se}let up=()=>null;function rA(t,r){const s=t[xi];return r&&null!==s&&0!==s.length?s[0].data[gl]===r?s.shift():(R0(t),null):null}function kl(t,r){return up(t,r)}class hp{}class Zh{}class Ju{}class oA{resolveComponentFactory(r){throw function iA(t){const r=Error(`No component factory found for ${He(t)}.`);return r.ngComponent=t,r}(r)}}let qu=(()=>{class t{static#e=this.NULL=new oA}return t})();class B0{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sA(){const t=Sn(),s=Ti(Xr().index,t);return(Ni(s)?s:t)[dr]}()}return t})(),gp=(()=>{class t{static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:()=>null})}return t})();const ed={};function mp(t){return"function"==typeof t&&void 0!==t[e]}const U0=new Set;function $s(t){U0.has(t)||(U0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function aA(t,r){$s("NgSignals");const s=z(t);return r?.equal&&(s[e].equal=r.equal),s}function lA(t){return null}function Io(t,r){$s("NgSignals");const s=function re(t){const r=Object.create(de);r.value=t;const s=()=>(S(r),r.value);return s[e]=r,s}(t),p=s[e];return r?.equal&&(p.equal=r.equal),s.set=D=>J(p,D),s.update=D=>function G(t,r){C()||Y(),J(t,r(t.value))}(p,D),s.asReadonly=cA.bind(s),s}function cA(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Jh(t){return mp(t)&&"function"==typeof t.set}function uA(t){const r=c(null);try{return t()}finally{c(r)}}function qh(t){return!!td(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function td(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new z0(r)}}const hA=(t,r)=>r;class z0{constructor(r){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=r||hA}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,p=this._removalsHead,D=0,k=null;for(;s||p;){const $=!p||s&&s.currentIndex<$0(p,D,k)?s:p,se=$0($,D,k),_e=$.currentIndex;if($===p)D--,p=p._nextRemoved;else if(s=s._next,null==$.previousIndex)D++;else{k||(k=[]);const je=se-D,Xe=_e-D;if(je!=Xe){for(let jt=0;jt{$=this._trackByFn(D,se),null!==s&&Object.is(s.trackById,$)?(p&&(s=this._verifyReinsertion(s,se,$,D)),Object.is(s.item,se)||this._addIdentityChange(s,se)):(s=this._mismatch(s,se,$,D),p=!0),s=s._next,D++}),this.length=D;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,p,D){let k;return null===r?k=this._itTail:(k=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,k,D)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(p,D))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,k,D)):r=this._addAfter(new _p(s,p),k,D),r}_verifyReinsertion(r,s,p,D){let k=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==k?r=this._reinsertAfter(k,r._prev,D):r.currentIndex!=D&&(r.currentIndex=D,this._addToMoves(r,D)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}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(r,s,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const D=r._prevRemoved,k=r._nextRemoved;return null===D?this._removalsHead=k:D._nextRemoved=k,null===k?this._removalsTail=D:k._prevRemoved=D,this._insertAfter(r,s,p),this._addToMoves(r,p),r}_moveAfter(r,s,p){return this._unlink(r),this._insertAfter(r,s,p),this._addToMoves(r,p),r}_addAfter(r,s,p){return this._insertAfter(r,s,p),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,p){const D=null===s?this._itHead:s._next;return r._next=D,r._prev=s,null===D?this._itTail=r:D._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=p,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,p=r._next;return null===s?this._itHead=p:s._next=p,null===p?this._itTail=s:p._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vp),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,s){this.item=r,this.trackById=s,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 fA{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===s||s<=p.currentIndex)&&Object.is(p.trackById,r))return p;return null}remove(r){const s=r._prevDup,p=r._nextDup;return null===s?this._head=p:s._nextDup=p,null===p?this._tail=s:p._prevDup=s,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const s=r.trackById;let p=this.map.get(s);p||(p=new fA,this.map.set(s,p)),p.add(r)}get(r,s){const D=this.map.get(r);return D?D.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $0(t,r,s){const p=t.previousIndex;if(null===p)return p;let D=0;return s&&p{if(s&&s.key===D)this._maybeAddToChanges(s,p),this._appendAfter=s,s=s._next;else{const k=this._getOrCreateRecordForKey(D,p);s=this._insertBeforeOrAppend(s,k)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let p=s;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const p=r._prev;return s._next=r,s._prev=p,r._prev=s,p&&(p._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const D=this._records.get(r);this._maybeAddToChanges(D,s);const k=D._prev,$=D._next;return k&&(k._next=$),$&&($._prev=k),D._next=null,D._prev=null,D}const p=new gA(r);return this._records.set(r,p),p.currentValue=s,this._addToAdditions(p),p}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(p=>s(r[p],p))}}class gA{constructor(r){this.key=r,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 bp(){return new yp([new pp])}let yp=(()=>{class t{static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:bp});constructor(s){this.factories=s}static create(s,p){if(null!=p){const D=p.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:p=>t.create(s,p||bp()),deps:[[t,new Gd,new Wd]]}}find(s){const p=this.factories.find(D=>D.supports(s));if(null!=p)return p;throw new bt(901,!1)}}return t})();function K0(){return new nd([new W0])}let nd=(()=>{class t{static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:K0});constructor(s){this.factories=s}static create(s,p){if(p){const D=p.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:p=>t.create(s,p||K0()),deps:[[t,new Gd,new Wd]]}}find(s){const p=this.factories.find(D=>D.supports(s));if(p)return p;throw new bt(901,!1)}}return t})();function Q0(t,r){const s=qh(t),p=qh(r);return s&&p?function dA(t,r,s){const p=t[Symbol.iterator](),D=r[Symbol.iterator]();for(;;){const k=p.next(),$=D.next();if(k.done&&$.done)return!0;if(k.done||$.done||!s(k.value,$.value))return!1}}(t,r,Q0):!(s||!t||"object"!=typeof t&&"function"!=typeof t||p||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=xc}return t})();function xc(t){return function pA(t,r,s){if(ji(t)&&!s){const p=Ti(t.index,r);return new Pl(p,p)}return 47&t.type?new Pl(r[zr],r):null}(Xr(),Sn(),16==(16&t))}const X0=[new W0],Os=new yp([new pp]),vA=new nd(X0);let Oc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=Z0;static#t=this.__NG_ENV_ID__=s=>s}return t})();class bA extends Oc{constructor(r){super(),this._lView=r}onDestroy(r){return wt(this._lView,r),()=>Rt(this._lView,r)}}function Z0(){return new bA(Sn())}function yA(t,r){if(null!==function l(){return d}())throw new bt(-602,!1)}const J0=new Ye("",{providedIn:"root",factory:()=>rt(q0)});let q0=(()=>{class t{static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:()=>new eC})}return t})();class eC{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){this.enqueue(r),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(r){const s=r.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const p=this.queues.get(s);p.has(r)||(this.queuedEffectCount++,p.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,s]of this.queues)null===r?this.flushQueue(s):r.run(()=>this.flushQueue(s))}flushQueue(r){for(const s of r)r.delete(s),this.queuedEffectCount--,s.run()}}class CA{constructor(r,s,p,D,k,$){this.scheduler=r,this.effectFn=s,this.creationZone=p,this.injector=k,this.watcher=function Ae(t,r,s){const p=Object.create(le);s&&(p.consumerAllowSignalWrites=!0),p.fn=t,p.schedule=r;const D=_e=>{p.cleanupFn=_e};return p.ref={notify:()=>v(p),run:()=>{if(null===p.fn)return;if(function g(){return u}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(p.dirty=!1,p.hasRun&&!A(p))return;p.hasRun=!0;const _e=M(p);try{p.cleanupFn(),p.cleanupFn=ye,p.fn(D)}finally{E(p,_e)}},cleanup:()=>p.cleanupFn(),destroy:()=>function $(_e){(function k(_e){return null===_e.fn&&null===_e.schedule})(_e)||(T(_e),_e.cleanupFn(),_e.fn=null,_e.schedule=null,_e.cleanupFn=ye)}(p),[e]:p},p.ref}(se=>this.runEffect(se),()=>this.schedule(),$),this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(s){this.injector.get(Ns,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Sp(t,r){$s("NgSignals"),!r?.injector&&vl();const s=r?.injector??rt(Fs),p=!0!==r?.manualCleanup?s.get(Oc):null,D=new CA(s.get(J0),t,typeof Zone>"u"?null:Zone.current,p,s,r?.allowSignalWrites??!1),k=s.get(Cp,null,{optional:!0});return k&&8&k._lView[Gn]?(k._lView[Fi]??=[]).push(D.watcher.notify):D.watcher.notify(),D}function tC(...t){}class Oo{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),typeof Zone>"u")throw new bt(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!p&&s,D.shouldCoalesceRunChangeDetection=p,D.lastRequestAnimationFrameId=-1,D.nativeRequestAnimationFrame=function ef(){const t="function"==typeof Fn.requestAnimationFrame;let r=Fn[t?"requestAnimationFrame":"setTimeout"],s=Fn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&s){const p=r[Zone.__symbol__("OriginalDelegate")];p&&(r=p);const D=s[Zone.__symbol__("OriginalDelegate")];D&&(s=D)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function ba(t){const r=()=>{!function MA(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Fn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Mp(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Mp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,p,D,k,$,se)=>{if(function EA(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(se))return s.invokeTask(D,k,$,se);try{return rd(t),s.invokeTask(D,k,$,se)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===k.type||t.shouldCoalesceRunChangeDetection)&&r(),nC(t)}},onInvoke:(s,p,D,k,$,se,_e)=>{try{return rd(t),s.invoke(D,k,$,se,_e)}finally{t.shouldCoalesceRunChangeDetection&&r(),nC(t)}},onHasTask:(s,p,D,k)=>{s.hasTask(D,k),p===D&&("microTask"==k.change?(t._hasPendingMicrotasks=k.microTask,Mp(t),tf(t)):"macroTask"==k.change&&(t.hasPendingMacrotasks=k.macroTask))},onHandleError:(s,p,D,k)=>(s.handleError(D,k),t.runOutsideAngular(()=>t.onError.emit(k)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Oo.isInAngularZone())throw new bt(909,!1)}static assertNotInAngularZone(){if(Oo.isInAngularZone())throw new bt(909,!1)}run(r,s,p){return this._inner.run(r,s,p)}runTask(r,s,p,D){const k=this._inner,$=k.scheduleEventTask("NgZoneEvent: "+D,r,SA,tC,tC);try{return k.runTask($,s,p)}finally{k.cancelTask($)}}runGuarded(r,s,p){return this._inner.runGuarded(r,s,p)}runOutsideAngular(r){return this._outer.run(r)}}const SA={};function tf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Mp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nC(t){t._nesting--,tf(t)}class Ep{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}run(r,s,p){return r.apply(s,p)}runGuarded(r,s,p){return r.apply(s,p)}runOutsideAngular(r){return r()}runTask(r,s,p,D){return r.apply(s,p)}}var Za=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Za||{});const nf={destroy(){}};function rf(t,r){const s=r?.injector??rt(Fs);(r?.runOnServer||Xa(s))&&s.get(xl).internalCallbacks.push(t)}function wp(t,r){!r&&vl();const s=r?.injector??rt(Fs);if(!Xa(s))return nf;$s("NgAfterRender");const p=s.get(xl),D=p.handler??=new oC,k=r?.phase??Za.MixedReadWrite,$=()=>{D.unregister(_e),se()},se=s.get(Oc).onDestroy($),_e=new id(s,k,t);return D.register(_e),{destroy:$}}function iC(t,r){!r&&vl();const s=r?.injector??rt(Fs);if(!Xa(s))return nf;$s("NgAfterNextRender");const p=s.get(xl),D=p.handler??=new oC,k=r?.phase??Za.MixedReadWrite,$=()=>{D.unregister(_e),se()},se=s.get(Oc).onDestroy($),_e=new id(s,k,()=>{$(),t()});return D.register(_e),{destroy:$}}class id{constructor(r,s,p){this.phase=s,this.callbackFn=p,this.zone=r.get(Oo),this.errorHandler=r.get(Ns,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class oC{constructor(){this.executingCallbacks=!1,this.buckets={[Za.EarlyRead]:new Set,[Za.Write]:new Set,[Za.MixedReadWrite]:new Set,[Za.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const s of r)s.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let xl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const p of s)p()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function Ja(t){return!!rr(t)}function of(t){return!!Nn(t)}function sC(t){return!!Gt(t)}function od(t){return!!gn(t)}function DA(t,r){if(ms(t)&&!(t=Tr(t)))throw new Error(`Expected forwardRef function, imported from "${Bi(r)}", to return a standalone entity or NgModule but got "${Bi(t)||t}".`);if(null==rr(t)){const s=gn(t)||Gt(t)||Nn(t);if(null==s)throw Dp(t)?new Error(`A module with providers was imported from "${Bi(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bi(t)}" type, imported from "${Bi(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone)throw new Error(`The "${Bi(t)}" ${function wA(t){return gn(t)?"component":Gt(t)?"directive":Nn(t)?"pipe":"type"}(t)}, imported from "${Bi(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class aC{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const s=rr(r);if(s?.declarations)for(const p of js(s.declarations))od(p)&&this.ownerNgModule.set(p,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,s){this.resolveNgModulesDecls();const p=gn(r);if(null===p)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(p.standalone){const D=this.getStandaloneComponentScope(r,s);return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes,...D.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const D=this.getNgModuleScope(this.ownerNgModule.get(r));return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes]}}}registerNgModule(r,s){if(!Ja(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const s=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,s),s}computeNgModuleScope(r){const s=rr(r,!0),p={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const D of js(s.imports))if(Ja(D)){const k=this.getNgModuleScope(D);ra(k.exported.directives,p.compilation.directives),ra(k.exported.pipes,p.compilation.pipes)}else{if(!cr(D)){p.compilation.isPoisoned=!0;break}if(sC(D)||od(D))p.compilation.directives.add(D);else{if(!of(D))throw new bt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");p.compilation.pipes.add(D)}}if(!p.compilation.isPoisoned)for(const D of js(s.declarations)){if(Ja(D)||cr(D)){p.compilation.isPoisoned=!0;break}of(D)?p.compilation.pipes.add(D):p.compilation.directives.add(D)}for(const D of js(s.exports))if(Ja(D)){const k=this.getNgModuleScope(D);ra(k.exported.directives,p.exported.directives),ra(k.exported.pipes,p.exported.pipes),ra(k.exported.directives,p.compilation.directives),ra(k.exported.pipes,p.compilation.pipes)}else of(D)?p.exported.pipes.add(D):p.exported.directives.add(D);return p}getStandaloneComponentScope(r,s){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const p=this.computeStandaloneComponentScope(r,s);return this.standaloneComponentsScopeCache.set(r,p),p}computeStandaloneComponentScope(r,s){const p={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const D of as(s??[])){const k=Tr(D);try{DA(k,r)}catch{return p.compilation.isPoisoned=!0,p}if(Ja(k)){p.compilation.ngModules.add(k);const $=this.getNgModuleScope(k);if($.exported.isPoisoned)return p.compilation.isPoisoned=!0,p;ra($.exported.directives,p.compilation.directives),ra($.exported.pipes,p.compilation.pipes)}else if(of(k))p.compilation.pipes.add(k);else{if(!sC(k)&&!od(k))return p.compilation.isPoisoned=!0,p;p.compilation.directives.add(k)}}return p}isOrphanComponent(r){const s=gn(r);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function ra(t,r){for(const s of t)r.add(s)}const Lc=new aC;function sf(t,r,s){let p=s?t.styles:null,D=s?t.classes:null,k=0;if(null!==r)for(let $=0;$0&&n0(t,s,k.join(" "))}}(jt,Li,pn,p),void 0!==s&&function fC(t,r,s){const p=t.projection=[];for(let D=0;D{class t{static#e=this.__NG_ELEMENT_ID__=kA}return t})();function kA(){return vC(Xr(),Sn())}const mC=lf,pC=class extends mC{constructor(r,s,p){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=p}get element(){return is(this._hostTNode,this._hostLView)}get injector(){return new qo(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(nm(r)){const s=Lu(r,this._hostLView),p=Ou(r);return new qo(s[In].data[p+8],s)}return new qo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=_C(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-Vr}createEmbeddedView(r,s,p){let D,k;"number"==typeof p?D=p:null!=p&&(D=p.index,k=p.injector);const $=kl(this._lContainer,r.ssrId),se=r.createEmbeddedViewImpl(s||{},k,$);return this.insertImpl(se,D,Ac(this._hostTNode,$)),se}createComponent(r,s,p,D,k){const $=r&&!hc(r);let se;if($)se=s;else{const pn=s||{};se=pn.index,p=pn.injector,D=pn.projectableNodes,k=pn.environmentInjector||pn.ngModuleRef}const _e=$?r:new Rc(gn(r)),je=p||this.parentInjector;if(!k&&null==_e.ngModule){const kn=($?je:this.parentInjector).get(qs,null);kn&&(k=kn)}const Xe=gn(_e.componentType??{}),St=kl(this._lContainer,Xe?.id??null),Kt=_e.create(je,D,St?.firstChild??null,k);return this.insertImpl(Kt.hostView,se,Ac(this._hostTNode,St)),Kt}insert(r,s){return this.insertImpl(r,s,!0)}insertImpl(r,s,p){const D=r._lView;if(function ss(t){return Qr(t[ni])}(D)){const se=this.indexOf(r);if(-1!==se)this.detach(se);else{const _e=D[ni],je=new pC(_e,_e[pi],_e[ni]);je.detach(je.indexOf(r))}}const k=this._adjustIndex(s),$=this._lContainer;return zu($,D,k,p),r.attachToViewContainerRef(),Xl(ad($),k,r),r}move(r,s){return this.insert(r,s)}indexOf(r){const s=_C(this._lContainer);return null!==s?s.indexOf(r):-1}remove(r){const s=this._adjustIndex(r,-1),p=Bu(this._lContainer,s);p&&(Sa(ad(this._lContainer),s),Ph(p[In],p))}detach(r){const s=this._adjustIndex(r,-1),p=Bu(this._lContainer,s);return p&&null!=Sa(ad(this._lContainer),s)?new Pl(p):null}_adjustIndex(r,s=0){return r??this.length+s}};function _C(t){return t[8]}function ad(t){return t[8]||(t[8]=[])}function vC(t,r){let s;const p=r[t.index];return Qr(p)?s=p:(s=p0(p,r,null,t),r[t.index]=s,Hh(r,s)),bC(s,r,t,p),new pC(s,t,r)}let bC=Tp,cf=()=>!1;function yC(t,r,s){return cf(t,r,s)}function Tp(t,r,s,p){if(t[Mi])return;let D;D=8&s.type?Fr(p):function xA(t,r){const s=t[dr],p=s.createComment(""),D=qi(r,t);return Il(s,kh(s,D),p,function d1(t,r){return t.nextSibling(r)}(s,D),!1),p}(r,s),t[Mi]=D}function OA(t,r,s){if(t[Mi]&&t[xi])return!0;const p=s[Rn],D=r.index-lr;if(!p||Wi(r)||$d(p,D))return!1;const $=Hg(p,D),se=p.data[ga]?.[D],[_e,je]=function nA(t,r){const s=[];for(const p of r)for(let D=0;D<(p[fl]??1);D++){const k={data:p,firstChild:null};p[sc]>0&&(k.firstChild=t,t=Qh(p[sc],t)),s.push(k)}return[t,s]}($,se);return t[Mi]=_e,t[xi]=je,!0}function CC(t,r,s,p){cf(t,s,r)||Tp(t,r,s,p)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ip{constructor(r=[]){this.queries=r}createEmbeddedView(r){const s=r.queries;if(null!==s){const p=null!==r.contentQueries?r.contentQueries[0]:s.length,D=[];for(let k=0;kr.trim())}(r):r}}class ld{constructor(r=[]){this.queries=r}elementStart(r,s){for(let p=0;p0)p.push($[se/2]);else{const je=k[se+1],Xe=r[-_e];for(let St=Vr;St{s._dirtyCounter();const D=function xC(t,r){const s=t._lView,p=t._queryIndex;if(void 0===s||void 0===p||4&s[Gn])return r?void 0:Qn;const D=Op(s,p),k=cd(s,p);return D.reset(k,Ss),r?D.first:D._changesDetected||void 0===t._flatValue?t._flatValue=D.toArray():t._flatValue}(s,t);if(r&&void 0===D)throw new bt(-951,!1);return D});return s=p[e],s._dirtyCounter=Io(0),s._flatValue=void 0,p}function Fp(){return Rp(!0,!1)}function PC(){return Rp(!0,!0)}function Fc(){return Rp(!1,!1)}function kC(t,r){const s=t[e];s._lView=Sn(),s._queryIndex=r,s._queryList=Op(s._lView,r),s._queryList.onDirty(()=>s._dirtyCounter.update(p=>p+1))}function OC(t,r){return Fp()}const LC=(OC.required=function NA(t,r){return PC()},OC);function jA(t,r){return Fc()}function Np(t,r){return Fp()}const UA=(Np.required=function BA(t,r){return PC()},Np);function RC(t,r){return Fc()}function FC(t){const r=[],s=Object.create(dn);function p(){return S(s),jp(s.value),s.value}return s.value=t,p[e]=s,p.asReadonly=()=>p(),p.set=k=>{s.equal(s.value,k)||(J(s,k),function D(k){for(let $=0;${jp(s.value),p.set(k(s.value))},p.subscribe=k=>(r.push(k),()=>{const $=r.indexOf(k);$>-1&&r.splice($,1)}),p}function jp(t){if(t===sn)throw new bt(-952,!1)}function NC(t){return FC(t)}const jC=(NC.required=function HA(){return FC(sn)},NC);class Nc{}const VA=$a("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Nc),YA=$a("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Nc),zA=$a("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Nc),$A=$a("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Nc);function UC(t){const r=[],s=new Map;function p(D){let k=s.get(D);if(!k){const $=t(D);s.set(D,k=$.then(KA))}return k}return jc.forEach((D,k)=>{const $=[];D.templateUrl&&$.push(p(D.templateUrl).then(je=>{D.template=je}));const se="string"==typeof D.styles?[D.styles]:D.styles||[];if(D.styles=se,D.styleUrl&&D.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(D.styleUrls?.length){const je=D.styles.length,Xe=D.styleUrls;D.styleUrls.forEach((St,jt)=>{se.push(""),$.push(p(St).then(Kt=>{se[je+jt]=Kt,Xe.splice(Xe.indexOf(St),1),0==Xe.length&&(D.styleUrls=void 0)}))})}else D.styleUrl&&$.push(p(D.styleUrl).then(je=>{se.push(je),D.styleUrl=void 0}));const _e=Promise.all($).then(()=>function zC(t){Bc.delete(t)}(k));r.push(_e)}),Bp(),Promise.all(r).then(()=>{})}let jc=new Map;const Bc=new Set;function HC(t){return Bc.has(t)}function VC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=jc;return jc=new Map,t}function GA(t){Bc.clear(),t.forEach((r,s)=>Bc.add(s)),jc=t}function KA(t){return"string"==typeof t?t:t.text()}const hf=new Map;let Up=!0;function ff(t,r){(function QA(t,r,s){if(r&&r!==s&&Up)throw new Error(`Duplicate module registered for ${t} - ${He(r)} vs ${He(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function XA(t){Up=!t}function ud(t,r,s){const p=Sn(),D=yi(),k=qi(D,p);if(2===D.type&&"iframe"===r.toLowerCase()){const $=k;throw $.src="",$.srcdoc=Cl(""),Oh(p[dr],$),new bt(-910,!1)}return t}function $C(t){return Object.getPrototypeOf(t.prototype).constructor}function gf(t){let r=$C(t.type),s=!0;const p=[t];for(;r;){let D;if(Yi(t))D=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new bt(903,!1);D=r.\u0275dir}if(D){if(s){p.push(D);const $=t;$.inputs=mf(t.inputs),$.inputTransforms=mf(t.inputTransforms),$.declaredInputs=mf(t.declaredInputs),$.outputs=mf(t.outputs);const se=D.hostBindings;se&&GC(t,se);const _e=D.viewQuery,je=D.contentQueries;if(_e&&JA(t,_e),je&&qA(t,je),ZA(t,D),xr(t.outputs,D.outputs),Yi(D)&&D.data.animation){const Xe=t.data;Xe.animation=(Xe.animation||[]).concat(D.data.animation)}}const k=D.features;if(k)for(let $=0;$=0;p--){const D=t[p];D.hostVars=r+=D.hostVars,D.hostAttrs=Mn(D.hostAttrs,s=Mn(s,D.hostAttrs))}}(p)}function ZA(t,r){for(const s in r.inputs){if(!r.inputs.hasOwnProperty(s)||t.inputs.hasOwnProperty(s))continue;const p=r.inputs[s];if(void 0!==p&&(t.inputs[s]=p,t.declaredInputs[s]=r.declaredInputs[s],null!==r.inputTransforms)){const D=Array.isArray(p)?p[0]:p;if(!r.inputTransforms.hasOwnProperty(D))continue;t.inputTransforms??={},t.inputTransforms[D]=r.inputTransforms[D]}}}function mf(t){return t===Mr?{}:t===Qn?[]:t}function JA(t,r){const s=t.viewQuery;t.viewQuery=s?(p,D)=>{r(p,D),s(p,D)}:r}function qA(t,r){const s=t.contentQueries;t.contentQueries=s?(p,D,k)=>{r(p,D,k),s(p,D,k)}:r}function GC(t,r){const s=t.hostBindings;t.hostBindings=s?(p,D)=>{r(p,D),s(p,D)}:r}const eT=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KC(t){let s,r=$C(t.type);s=Yi(t)?r.\u0275cmp:r.\u0275dir;const p=t;for(const D of eT)p[D]=s[D];if(Yi(s))for(const D of Vp)p[D]=s[D]}function dd(t){const r=s=>{const p=(Array.isArray(t)?t:t()).map(D=>"function"==typeof D?{directive:Tr(D),inputs:Mr,outputs:Mr}:{directive:Tr(D.directive),inputs:Yp(D.inputs),outputs:Yp(D.outputs)});null===s.hostDirectives?(s.findHostDirectiveDefs=QC,s.hostDirectives=p):s.hostDirectives.unshift(...p)};return r.ngInherit=!0,r}function QC(t,r,s){if(null!==t.hostDirectives)for(const p of t.hostDirectives){const D=Gt(p.directive);tT(D.declaredInputs,p.inputs),QC(D,r,s),s.set(D,p),r.push(D)}}function Yp(t){if(void 0===t||0===t.length)return Mr;const r={};for(let s=0;ss()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends JC{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tS extends Ol{constructor(r){super(),this.componentFactoryResolver=new lC(this),this.instance=null;const s=new uc([...r.providers,{provide:Ol,useValue:this},{provide:qu,useValue:this.componentFactoryResolver}],r.parent||Ia(),r.debugName,new Set(["environment"]));this.injector=s,r.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function zp(t,r,s=null){return new tS({providers:t,parent:r,debugName:s,runEnvironmentInitializers:!0}).injector}let nS=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(s,p,D,k){if(!this.cachedInjectors.has(s)){const $=D.length>0?zp(D,p,k):null;this.cachedInjectors.set(s,$)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Zr({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iT(t){return t[vf]??null}function hd(t,r,s){const p=t;return p[vf]=()=>Promise.all(r()).then(D=>(s(...D),p[vf]=null,D)),p[vf]}function rS(t,r,s,p){return qn(()=>{const D=t;null!==r&&(D.hasOwnProperty("decorators")&&void 0!==D.decorators?D.decorators.push(...r):D.decorators=r),null!==s&&(D.ctorParameters=s),null!==p&&(D.propDecorators=D.hasOwnProperty("propDecorators")&&void 0!==D.propDecorators?{...D.propDecorators,...p}:p)})}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tt.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vs(t,r,s){return t[r]=s}function gd(t,r){return t[r]}function Bo(t,r,s){return!Object.is(t[r],s)&&(t[r]=s,!0)}function qa(t,r,s,p){const D=Bo(t,r,s);return Bo(t,r+1,p)||D}function bf(t,r,s,p,D){const k=qa(t,r,s,p);return Bo(t,r+2,D)||k}function Ws(t,r,s,p,D,k){const $=qa(t,r,s,p);return qa(t,r+2,D,k)||$}function Uc(t,r,s,p,D,k,$,se){const _e=Sn(),je=Cr(),Xe=t+lr,St=je.firstCreatePass?function oS(t,r,s,p,D,k,$,se,_e){const je=r.consts,Xe=Ra(r,t,4,$||null,so(je,se));Wm(r,s,Xe,so(je,_e)),oh(r,Xe);const St=Xe.tView=Fh(2,Xe,p,D,k,r.directiveRegistry,r.pipeRegistry,null,r.schemas,je,null);return null!==r.queries&&(r.queries.template(r,Xe),St.queries=r.queries.embeddedTView(Xe)),Xe}(Xe,je,_e,r,s,p,D,k,$):je.data[Xe];it(St,!1);const jt=$p(je,_e,St,t);sa()&&xh(je,_e,jt,St),_s(jt,_e);const Kt=p0(jt,_e,jt,St);return _e[Xe]=Kt,Hh(_e,Kt),yC(Kt,St,_e),Ji(St)&&Ym(je,_e,St),null!=$&&zm(_e,St,se),Uc}let $p=sS;function sS(t,r,s,p){return Ps(!0),r[dr].createComment("")}function oT(t,r,s,p){const D=r[Rn],k=!D||mr()||$d(D,p);if(Ps(k),k)return sS(0,r);const $=D.data[Fg]?.[p]??null;null!==$&&null!==s.tView&&null===s.tView.ssrId&&(s.tView.ssrId=$);const se=na(D,t,r,s);return Yd(D,p,se),Qh(zd(D,p),se)}var Uo=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Uo||{});const yf=0,sT=1;var Po=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Po||{}),md=function(t){return t[t.Initial=-1]="Initial",t}(md||{});const Ll=0,Cf=1,Hc=2,Sf=3,aS=4,lS=5;var Mf=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Mf||{});function Ef(t,r,s){const p=1===t?lS:aS;null===r[p]&&(r[p]=[]),r[p].push(s)}function Gp(t,r){const s=1===t?lS:aS,p=r[s];if(null!==p){for(const D of p)D();r[s]=null}}function cS(t){Gp(1,t),Gp(0,t)}function pd(t){return t+1}function el(t,r){return t[pd(r.index)]}function Bs(t,r){const s=pd(r.index);return t.data[s]}function Kp(t,r){return r===Po.Placeholder?t.placeholderBlockConfig?.[yf]??null:r===Po.Loading?t.loadingBlockConfig?.[yf]??null:null}function Qp(t){return t.loadingBlockConfig?.[sT]??null}function dS(t,r){if(!t||0===t.length)return r;const s=new Set(t);for(const p of r)s.add(p);return t.length===s.size?t:Array.from(s)}function hS(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Xp=new WeakMap,Vc=new WeakMap,fS=["click","keydown"],Zp=["mouseenter","focusin"];let Yc=null,Af=0;class Jp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function gS(t,r){let s=Xp.get(t);if(!s){s=new Jp,Xp.set(t,s);for(const p of fS)t.addEventListener(p,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:p,listener:D}=s;if(p.delete(r),0===p.size){Xp.delete(t);for(const k of fS)t.removeEventListener(k,D,wf)}}}function qp(t,r){let s=Df.get(t);if(!s){s=new Jp,Df.set(t,s);for(const p of Zp)t.addEventListener(p,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:p,listener:D}=s;if(p.delete(r),0===p.size){for(const k of Zp)t.removeEventListener(k,D,wf);Df.delete(t)}}}function mS(t,r,s){const p=s.get(Oo);let D=Vc.get(t);return Yc=Yc||p.runOutsideAngular(()=>new IntersectionObserver(k=>{for(const $ of k)$.isIntersecting&&Vc.has($.target)&&p.run(Vc.get($.target).listener)})),D||(D=new Jp,p.runOutsideAngular(()=>Yc.observe(t)),Vc.set(t,D),Af++),D.callbacks.add(r),()=>{Vc.has(t)&&(D.callbacks.delete(r),0===D.callbacks.size&&(Yc?.unobserve(t),Vc.delete(t),Af--),0===Af&&(Yc?.disconnect(),Yc=null))}}function Rl(t,r,s,p,D,k,$){const se=t[qr];rf(function _e(){if(fo(t))return;const je=el(t,r),Xe=je[Cf];if(Xe!==md.Initial&&Xe!==Po.Placeholder)return;const St=function cT(t,r,s){return null==s?t:s>=0?ie(s,t):t[r.index][Vr]??null}(t,r,p);if(!St)return void rf(_e,{injector:se});if(fo(St))return;const jt=function uT(t,r){return ns(lr+r,t)}(St,s),Kt=D(jt,()=>{t!==St&&Rt(St,Kt),k()},se);t!==St&&wt(St,Kt),Ef($,je,Kt)},{injector:se})}function pS(t,r){const p=r[qr].get(vS);return p.add(t),()=>p.remove(t)}let vS=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=rt(Oo),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:p,deferred:D}=this;p.delete(s),D.delete(s),0===p.size&&0===D.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const p of this.current)p();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const p of this.deferred)this.current.add(p);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:()=>new t})}return t})();function bS(t){return(r,s)=>yS(t,r,s)}function yS(t,r,s){const D=s[qr].get(hT);return D.add(t,r),()=>D.remove(r)}let hT=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(s,p){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,p),this.scheduleTimer()}remove(s){const{current:p,deferred:D}=this;-1===this.removeFromQueue(p,s)&&this.removeFromQueue(D,s),0===p.length&&0===D.length&&this.clearTimeout()}addToQueue(s,p,D){let k=s.length;for(let $=0;$p){k=$;break}ol(s,k,p,D)}removeFromQueue(s,p){let D=-1;for(let k=0;k-1&&Qs(s,D,2),D}scheduleTimer(){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const D=[...this.current],k=Date.now();for(let se=0;se=0&&Qs(this.current,0,$+1),this.executingCallbacks=!1,this.deferred.length>0){for(let se=0;se0){const D=Date.now(),k=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-k>16){this.clearTimeout();const $=Math.max(k-D,16);this.invokeTimerAt=k,this.timeoutId=setTimeout(s,$)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=Zr({token:t,providedIn:"root",factory:()=>new t})}return t})();const fT=new Ye("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CS=new Ye("");function Tf(t){return t.get(CS,null,{optional:!0})?.behavior!==Mf.Manual&&Xa(t)}let e_=null;function t_(t,r,s,p){const D=t.consts;null!=s&&(r.placeholderBlockConfig=so(D,s)),null!=p&&(r.loadingBlockConfig=so(D,p)),null===e_&&(e_=gT)}function SS(t,r,s,p,D,k,$,se,_e){const je=Sn(),Xe=Cr(),St=t+lr;if(Uc(t,null,0,0),Xe.firstCreatePass){$s("NgDefer");const Vn={primaryTmplIndex:r,loadingTmplIndex:p??null,placeholderTmplIndex:D??null,errorTmplIndex:k??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Uo.NOT_STARTED,loadingPromise:null,providers:null};_e?.(Xe,Vn,se,$),function lT(t,r,s){const p=pd(r);t.data[p]=s}(Xe,St,Vn)}const jt=Xr();yC(je[St],jt,je);const pn=[null,md.Initial,null,null,null,null];!function aT(t,r,s){t[pd(r)]=s}(je,St,pn);const kn=()=>cS(pn);Ef(0,pn,()=>Rt(je,kn)),wt(je,kn)}function n_(t){const r=Sn();if(Bo(r,Z(),t)){const p=c(null);try{const D=!!t,k=yi(),se=el(r,k)[Cf];!1===D&&se===md.Initial?Fl(r,k):!0===D&&(se===md.Initial||se===Po.Placeholder)&&$c(r,k)}finally{c(p)}}}function MS(t){const r=Sn();if(Bo(r,Z(),t)){const p=c(null);try{const D=!!t,k=r[In],$=yi(),se=Bs(k,$);!0===D&&se.loadingState===Uo.NOT_STARTED&&zc(se,r,$)}finally{c(p)}}}function ES(){s_(pS)}function r_(){kS(pS)}function wS(){const t=Sn(),r=Xr(),p=t[qr],D=Bs(t[In],r);(!Tf(p)||null===D.loadingTmplIndex)&&Fl(t,r),$c(t,r)}function If(){const t=Sn(),r=Xr(),p=Bs(t[In],r);p.loadingState===Uo.NOT_STARTED&&kf(p,t,r)}function DS(t){s_(bS(t))}function i_(t){kS(bS(t))}function AS(t,r){const s=Sn(),p=Xr();Fl(s,p),Rl(s,p,t,r,qp,()=>$c(s,p),0)}function o_(t,r){const s=Sn(),p=Xr(),k=Bs(s[In],p);k.loadingState===Uo.NOT_STARTED&&Rl(s,p,t,r,qp,()=>zc(k,s,p),1)}function TS(t,r){const s=Sn(),p=Xr();Fl(s,p),Rl(s,p,t,r,gS,()=>$c(s,p),0)}function IS(t,r){const s=Sn(),p=Xr(),k=Bs(s[In],p);k.loadingState===Uo.NOT_STARTED&&Rl(s,p,t,r,gS,()=>zc(k,s,p),1)}function Pf(t,r){const s=Sn(),p=Xr();Fl(s,p),Rl(s,p,t,r,mS,()=>$c(s,p),0)}function PS(t,r){const s=Sn(),p=Xr(),k=Bs(s[In],p);k.loadingState===Uo.NOT_STARTED&&Rl(s,p,t,r,mS,()=>zc(k,s,p),1)}function s_(t){const r=Sn(),s=Xr();Fl(r,s);const p=t(()=>$c(r,s),r);Ef(0,el(r,s),p)}function kS(t){const r=Sn(),s=Xr(),D=Bs(r[In],s);D.loadingState===Uo.NOT_STARTED&&Ef(1,el(r,s),t(()=>zc(D,r,s),r))}function Na(t,r,s,p=!1){const D=s[ni],k=D[In];if(fo(D))return;const $=el(D,r);if(OS($[Cf],t)&&OS($[Ll]??-1,t)){const _e=Bs(k,r),Xe=p||null===Qp(_e)&&null===Kp(_e,Po.Loading)&&!Kp(_e,Po.Placeholder)?xS:e_;try{Xe(t,$,s,r,D)}catch(St){Vh(D,St)}}}function xS(t,r,s,p,D){const k=function uS(t,r,s){const D=Bs(r[In],s);switch(t){case Po.Complete:return D.primaryTmplIndex;case Po.Loading:return D.loadingTmplIndex;case Po.Error:return D.errorTmplIndex;case Po.Placeholder:return D.placeholderTmplIndex;default:return null}}(t,D,p);if(null!==k){r[Cf]=t;const $=D[In],_e=Ao($,k+lr),je=0;let Xe;if(qm(s,je),t===Po.Complete){const Kt=Bs($,p),pn=Kt.providers;if(pn&&pn.length>0){const Vn=D[qr].get(qs);Xe=Vn.get(nS).getOrCreateInjector(Kt,Vn,pn,"")}}const St=kl(s,_e.tView.ssrId),jt=Yu(D,_e,null,{dehydratedView:St,injector:Xe});zu(s,jt,je,Ac(_e,St)),Gu(jt)}}function gT(t,r,s,p,D){const k=Date.now(),se=Bs(D[In],p);if(null===r[Hc]||r[Hc]<=k){r[Hc]=null;const _e=Qp(se),je=null!==r[Sf];if(t!==Po.Loading||null===_e||je){t>Po.Loading&&je&&(r[Sf](),r[Sf]=null,r[Ll]=null),xS(t,r,s,p,D);const Xe=Kp(se,t);null!==Xe&&(r[Hc]=k+Xe,a_(Xe,r,p,s,D))}else{r[Ll]=t;const Xe=a_(_e,r,p,s,D);r[Sf]=Xe}}else r[Ll]=t}function a_(t,r,s,p,D){return yS(t,()=>{const $=r[Ll];r[Hc]=null,r[Ll]=null,null!==$&&Na($,s,p)},D)}function OS(t,r){return t{let St=!1;const jt=[],Kt=[];for(const pn of Xe){if("fulfilled"!==pn.status){St=!0;break}{const kn=pn.value,Vn=gn(kn)||Gt(kn);if(Vn)jt.push(Vn);else{const ur=Nn(kn);ur&&Kt.push(ur)}}}if(t.loadingPromise=null,_e.remove(je),St){if(t.loadingState=Uo.FAILED,null===t.errorTmplIndex){Im(r);const kn=new bt(750,!1);Vh(r,kn)}}else{t.loadingState=Uo.COMPLETE;const pn=$.tView;if(jt.length>0){pn.directiveRegistry=dS(pn.directiveRegistry,jt);const Vn=zg(!1,...jt.map(ur=>ur.type));t.providers=Vn}Kt.length>0&&(pn.pipeRegistry=dS(pn.pipeRegistry,Kt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Uo.COMPLETE,_e.remove(je)})}function Fl(t,r){Na(Po.Placeholder,r,t[r.index])}function LS(t,r,s){t.loadingPromise.then(()=>{t.loadingState===Uo.COMPLETE?Na(Po.Complete,r,s):t.loadingState===Uo.FAILED&&Na(Po.Error,r,s)})}function $c(t,r){const s=t[In],p=t[r.index];if(!Tf(t[qr]))return;const k=el(t,r),$=Bs(s,r);switch(cS(k),$.loadingState){case Uo.NOT_STARTED:Na(Po.Loading,r,p),kf($,t,r),$.loadingState===Uo.IN_PROGRESS&&LS($,r,p);break;case Uo.IN_PROGRESS:Na(Po.Loading,r,p),LS($,r,p);break;case Uo.COMPLETE:Na(Po.Complete,r,p);break;case Uo.FAILED:Na(Po.Error,r,p)}}function l_(t,r,s,p){const D=Sn();return Bo(D,Z(),r)&&(Cr(),_a(yi(),D,t,r,s,p)),l_}function Nl(t,r){let s=!1,p=Ft();for(let k=1;k>17&32767}function Ff(t){return 2|t}function Hl(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function m_(t){return 1|t}function NS(t,r,s,p){const D=t[s+1],k=null===r;let $=p?tl(D):Hl(D),se=!1;for(;0!==$&&(!1===se||k);){const je=t[$+1];jS(t[$],r)&&(se=!0,t[$+1]=p?m_(je):Ff(je)),$=p?tl(je):Hl(je)}se&&(t[s+1]=p?Ff(D):m_(D))}function jS(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&ca(t,r)>=0}const es={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(es.key,es.keyEnd)}function vT(t){return t.substring(es.value,es.valueEnd)}function BS(t,r){const s=es.textEnd;return s===r?-1:(r=es.keyEnd=function VS(t,r,s){for(;r32;)r++;return r}(t,es.key=r,s),Xc(t,r,s))}function HS(t,r){const s=es.textEnd;let p=es.key=Xc(t,r,s);return s===p?-1:(p=es.keyEnd=function bT(t,r,s){let p;for(;r=65&&(-33&p)<=90||p>=48&&p<=57);)r++;return r}(t,p,s),p=b_(t,p,s),p=es.value=Xc(t,p,s),p=es.valueEnd=function yT(t,r,s){let p=-1,D=-1,k=-1,$=r,se=$;for(;$32&&(se=$),k=D,D=p,p=-33&_e}return se}(t,p,s),b_(t,p,s))}function v_(t){es.key=0,es.keyEnd=0,es.value=0,es.valueEnd=0,es.textEnd=t.length}function Xc(t,r,s){for(;r=0;s=HS(r,s))w_(t,p_(r),vT(r))}function M_(t){ia(DT,ya,t,!0)}function ya(t,r){for(let s=function __(t){return v_(t),BS(t,Xc(t,0,es.textEnd))}(r);s>=0;s=BS(r,s))Go(t,p_(r),!0)}function Gs(t,r,s,p){const D=Sn(),k=Cr(),$=Ve(2);k.firstUpdatePass&&zS(k,t,$,p),r!==ri&&Bo(D,$,r)&&KS(k,k.data[mi()],D,D[dr],t,D[$+1]=function QS(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=He(ka(t)))),t}(r,s),p,$)}function ia(t,r,s,p){const D=Cr(),k=Ve(2);D.firstUpdatePass&&zS(D,null,k,p);const $=Sn();if(s!==ri&&Bo($,k,s)){const se=D.data[mi()];if(XS(se,p)&&!Bf(D,k)){let _e=p?se.classesWithoutHost:se.stylesWithoutHost;null!==_e&&(s=gt(_e,s||"")),C_(D,se,$,s,p)}else!function GS(t,r,s,p,D,k,$,se){D===ri&&(D=Qn);let _e=0,je=0,Xe=0=t.expandoStartIndex}function zS(t,r,s,p){const D=t.data;if(null===D[s+1]){const k=D[mi()],$=Bf(t,s);XS(k,p)&&null===r&&!$&&(r=!1),r=function MT(t,r,s,p){const D=Pn(t);let k=p?r.residualClasses:r.residualStyles;if(null===D)0===(p?r.classBindings:r.styleBindings)&&(s=Zc(s=E_(null,t,r,s,p),r.attrs,p),k=null);else{const $=r.directiveStylingLast;if(-1===$||t[$]!==D)if(s=E_(D,t,r,s,p),null===k){let _e=function $S(t,r,s){const p=s?r.classBindings:r.styleBindings;if(0!==Hl(p))return t[tl(p)]}(t,r,p);void 0!==_e&&Array.isArray(_e)&&(_e=E_(null,t,r,_e[1],p),_e=Zc(_e,r.attrs,p),function ET(t,r,s,p){t[tl(s?r.classBindings:r.styleBindings)]=p}(t,r,p,_e))}else k=function WS(t,r,s){let p;const D=r.directiveEnd;for(let k=1+r.directiveStylingLast;k0)&&(je=!0)):Xe=s,D)if(0!==_e){const jt=tl(t[se+1]);t[p+1]=Rf(jt,se),0!==jt&&(t[jt+1]=Nf(t[jt+1],p)),t[se+1]=function mT(t,r){return 131071&t|r<<17}(t[se+1],p)}else t[p+1]=Rf(se,0),0!==se&&(t[se+1]=Nf(t[se+1],p)),se=p;else t[p+1]=Rf(_e,0),0===se?se=p:t[_e+1]=Nf(t[_e+1],p),_e=p;je&&(t[p+1]=Ff(t[p+1])),NS(t,Xe,p,!0),NS(t,Xe,p,!1),function FS(t,r,s,p,D){const k=D?t.residualClasses:t.residualStyles;null!=k&&"string"==typeof r&&ca(k,r)>=0&&(s[p+1]=m_(s[p+1]))}(r,Xe,t,p,k),$=Rf(se,_e),k?r.classBindings=$:r.styleBindings=$}(D,k,r,s,$,p)}}function E_(t,r,s,p,D){let k=null;const $=s.directiveEnd;let se=s.directiveStylingLast;for(-1===se?se=s.directiveStart:se++;se<$&&(k=r[se],p=Zc(p,k.hostAttrs,D),k!==t);)se++;return null!==t&&(s.directiveStylingLast=se),p}function Zc(t,r,s){const p=s?1:2;let D=-1;if(null!==r)for(let k=0;k0;){const _e=t[D],je=Array.isArray(_e),Xe=je?_e[1]:_e,St=null===Xe;let jt=s[D+1];jt===ri&&(jt=St?Qn:void 0);let Kt=St?Xs(jt,p):Xe===p?jt:void 0;if(je&&!Uf(Kt)&&(Kt=Xs(_e,p)),Uf(Kt)&&(se=Kt,$))return se;const pn=t[D+1];D=$?tl(pn):Hl(pn)}if(null!==r){let _e=k?r.residualClasses:r.residualStyles;null!=_e&&(se=Xs(_e,p))}return se}function Uf(t){return void 0!==t}function XS(t,r){return 0!=(t.flags&(r?8:16))}function A_(t,r,s){ia(Go,ya,Wc(Sn(),t,r,s),!0)}function ZS(t,r,s,p,D){ia(Go,ya,ja(Sn(),t,r,s,p,D),!0)}function Hf(t,r,s,p,D,k,$){ia(Go,ya,jl(Sn(),t,r,s,p,D,k,$),!0)}function JS(t,r,s,p,D,k,$,se,_e){ia(Go,ya,Gc(Sn(),t,r,s,p,D,k,$,se,_e),!0)}function T_(t,r,s,p,D,k,$,se,_e,je,Xe){ia(Go,ya,Bl(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe),!0)}function qS(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt){ia(Go,ya,Kc(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe,St,jt),!0)}function eM(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn){ia(Go,ya,Ul(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn),!0)}function Vl(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn){ia(Go,ya,Qc(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn),!0)}function tM(t){ia(Go,ya,Nl(Sn(),t),!0)}function nM(){return Sn()[zr][Kr]}class AT{destroy(r){}updateValue(r,s){}swap(r,s){const p=Math.min(r,s),D=Math.max(r,s),k=this.detach(D);if(D-p>1){const $=this.detach(p);this.attach(p,k),this.attach(D,$)}else this.attach(p,k)}move(r,s){this.attach(s,this.detach(r))}}function I_(t,r,s,p,D){return t===s&&Object.is(r,p)?1:Object.is(D(t,r),D(s,p))?-1:0}function k_(t,r,s,p){return!(void 0===r||!r.has(p)||(t.attach(s,r.get(p)),r.delete(p),0))}function Vf(t,r,s,p,D){if(k_(t,r,p,s(p,D)))t.updateValue(p,D);else{const k=t.create(p,D);t.attach(p,k)}}function rM(t,r,s,p){const D=new Set;for(let k=r;k<=s;k++)D.add(p(k,t.at(k)));return D}class Yf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const s=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(r,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,s){if(this.kvMap.has(r)){let p=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const D=this._vMap;for(;D.has(p);)p=D.get(p);D.set(p,s)}else this.kvMap.set(r,s)}forEach(r){for(let[s,p]of this.kvMap)if(r(p,s),void 0!==this._vMap){const D=this._vMap;for(;D.has(p);)p=D.get(p),r(p,s)}}}function iM(t,r,s){$s("NgControlFlow");const p=Sn(),D=Z(),k=L_(p,lr+t);if(Bo(p,D,r)){const se=c(null);try{if(qm(k,0),-1!==r){const _e=R_(p[In],lr+r),je=kl(k,_e.tView.ssrId);zu(k,Yu(p,_e,s,{dehydratedView:je}),0,Ac(_e,je))}}finally{c(se)}}else{const se=S0(k,0);void 0!==se&&(se[Kr]=s)}}class oM{constructor(r,s,p){this.lContainer=r,this.$implicit=s,this.$index=p}get $count(){return this.lContainer.length-Vr}}function sM(t){return t}function x_(t,r){return r}class TT{constructor(r,s,p){this.hasEmptyBlock=r,this.trackByFn=s,this.liveCollection=p}}function O_(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt){$s("NgControlFlow");const Kt=void 0!==_e,pn=Sn(),kn=se?$.bind(pn[zr][Kr]):$,Vn=new TT(Kt,kn);pn[lr+t]=Vn,Uc(t+1,r,s,p,D,k),Kt&&Uc(t+2,_e,je,Xe,St,jt)}class IT extends AT{constructor(r,s,p){super(),this.lContainer=r,this.hostLView=s,this.templateTNode=p,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Vr}at(r){return this.getLView(r)[Kr].$implicit}attach(r,s){const p=s[Rn];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,s,r,Ac(this.templateTNode,p))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function PT(t,r){return Bu(t,r)}(this.lContainer,r)}create(r,s){const p=kl(this.lContainer,this.templateTNode.tView.ssrId);return Yu(this.hostLView,this.templateTNode,new oM(this.lContainer,s,r),{dehydratedView:p})}destroy(r){Ph(r[In],r)}updateValue(r,s){this.getLView(r)[Kr].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(se)})}($,t,k.trackByFn),$.updateIndexes(),k.hasEmptyBlock){const se=Z(),_e=0===$.length;if(Bo(p,se,_e)){const je=s+2,Xe=L_(p,je);if(_e){const St=R_(D,je),jt=kl(Xe,St.tView.ssrId);zu(Xe,Yu(p,St,void 0,{dehydratedView:jt}),0,Ac(St,jt))}else qm(Xe,0)}}}finally{c(r)}}function L_(t,r){return t[r]}function R_(t,r){return Ao(t,r)}function $f(t,r,s,p){const D=Sn(),k=Cr(),$=lr+t,se=D[dr],_e=k.firstCreatePass?function xT(t,r,s,p,D,k){const $=r.consts,_e=Ra(r,t,2,p,so($,D));return Wm(r,s,_e,so($,k)),null!==_e.attrs&&sf(_e,_e.attrs,!1),null!==_e.mergedAttrs&&sf(_e,_e.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,_e),_e}($,k,D,r,s,p):k.data[$],je=Jc(k,D,_e,se,r,t);D[$]=je;const Xe=Ji(_e);return it(_e,!0),r0(se,je,_e),32!=(32&_e.flags)&&sa()&&xh(k,D,je,_e),0===function Jn(){return Yt.lFrame.elementDepthCount}()&&_s(je,D),function Yr(){Yt.lFrame.elementDepthCount++}(),Xe&&(Ym(k,D,_e),Rh(k,_e,D)),null!==p&&zm(D,_e),$f}function vd(){let t=Xr();x()?te():(t=t.parent,it(t,!1));const r=t;(function gi(t){return Yt.skipHydrationRootTNode===t})(r)&&function ro(){Yt.skipHydrationRootTNode=null}(),function hr(){Yt.lFrame.elementDepthCount--}();const s=Cr();return s.firstCreatePass&&(oh(s,t),ko(t)&&s.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(s,r,Sn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function gD(t){return 0!=(16&t.flags)}(r)&&C_(s,r,Sn(),r.stylesWithoutHost,!1),vd}function F_(t,r,s,p){return $f(t,r,s,p),vd(),F_}let Jc=(t,r,s,p,D,k)=>(Ps(!0),Ih(p,D,il()));function OT(t,r,s,p,D,k){const $=r[Rn],se=!$||mr()||$d($,k);if(Ps(se),se)return Ih(p,D,il());const _e=na($,t,r,s);return Rb($,k)&&Yd($,k,_e.nextSibling),$&&(al(s)||ql(_e))&&ji(s)&&(function $i(t){Yt.skipHydrationRootTNode=t}(s),Hm(_e)),_e}function qc(t,r,s){const p=Sn(),D=Cr(),k=t+lr,$=D.firstCreatePass?function LT(t,r,s,p,D){const k=r.consts,$=so(k,p),se=Ra(r,t,8,"ng-container",$);return null!==$&&sf(se,$,!0),Wm(r,s,se,so(k,D)),null!==r.queries&&r.queries.elementStart(r,se),se}(k,D,p,r,s):D.data[k];it($,!0);const se=lM(D,p,$,t);return p[k]=se,sa()&&xh(D,p,se,$),_s(se,p),Ji($)&&(Ym(D,p,$),Rh(D,$,p)),null!=s&&zm(p,$),qc}function Wf(){let t=Xr();const r=Cr();return x()?te():(t=t.parent,it(t,!1)),r.firstCreatePass&&(oh(r,t),ko(t)&&r.queries.elementEnd(t)),Wf}function Gf(t,r,s){return qc(t,r,s),Wf(),Gf}let lM=(t,r,s,p)=>(Ps(!0),Lm(r[dr],""));function cM(t,r,s,p){let D;const k=r[Rn],$=!k||mr();if(Ps($),$)return Lm(r[dr],"");const se=na(k,t,r,s),_e=function qw(t,r){const s=t.data;let p=s[Rg]?.[r]??null;return null===p&&s[ga]?.[r]&&(p=zd(t,r)),p}(k,p);return Yd(k,p,se),D=Qh(_e,se),D}function uM(){return Sn()}function N_(t,r,s){const p=Sn();return Bo(p,Z(),r)&&ws(Cr(),yi(),p,t,r,p[dr],s,!0),N_}function Kf(t,r,s){const p=Sn();if(Bo(p,Z(),r)){const k=Cr(),$=yi();ws(k,$,p,t,r,y0(Pn(k.data),$,p),s,!0)}return Kf}const Yl=void 0;var NT=["en",[["a","p"],["AM","PM"],Yl],[["AM","PM"],Yl,Yl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Yl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Yl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Yl,"{1} 'at' {0}",Yl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FT(t){const s=Math.floor(Math.abs(t)),p=t.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===p?1:5}];let zl={};function jT(t,r,s){"string"!=typeof r&&(s=r,r=t[eu.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),zl[r]=t,s&&(zl[r][eu.ExtraData]=s)}function Qf(t){const r=function UT(t){return t.toLowerCase().replace(/_/g,"-")}(t);let s=dM(r);if(s)return s;const p=r.split("-")[0];if(s=dM(p),s)return s;if("en"===p)return NT;throw new bt(701,!1)}function BT(t){return Qf(t)[eu.CurrencyCode]||null}function Xf(t){return Qf(t)[eu.PluralCase]}function dM(t){return t in zl||(zl[t]=Fn.ng&&Fn.ng.common&&Fn.ng.common.locales&&Fn.ng.common.locales[t]),zl[t]}function hM(){zl={}}var eu=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(eu||{});const HT=["zero","one","two","few","many"],nl="en-US",bd={marker:"element"},Zf={marker:"ICU"};var Ds=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(Ds||{});let fM=nl;function j_(t){"string"==typeof t&&(fM=t.toLowerCase().replace(/_/g,"-"))}function Jf(t,r,s){const p=r.insertBeforeIndex,D=Array.isArray(p)?p[0]:p;return null===D?jm(t,0,s):Fr(s[D])}function gM(t,r,s,p,D){const k=r.insertBeforeIndex;if(Array.isArray(k)){let $=p,se=null;if(3&r.type||(se=$,$=D),null!==$&&-1===r.componentOffset)for(let _e=1;_e1)for(let s=t.length-2;s>=0;s--){const p=t[s];B_(p)||$T(p,r)&&null===WT(p)&>(p,r.index)}}function B_(t){return!(64&t.type)}function $T(t,r){return B_(r)||t.index>r.index}function WT(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GT(t,r){const s=t.insertBeforeIndex;Array.isArray(s)?s[0]=r:(qy(Jf,gM),t.insertBeforeIndex=r)}function yd(t,r){const s=t.data[r];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function U_(t,r,s){const p=ta(t,s,64,null,null);return mM(r,p),p}function tu(t,r){const s=r[t.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function pM(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Cd=0,nu=0;function bM(t,r,s,p){const D=s[dr];let $,k=null;for(let se=0;se>>1,s),null,null,Kt,pn,null)}else switch(_e){case Zf:const je=r[++se],Xe=r[++se];null===s[Xe]&&_s(s[Xe]=Lm(D,je),s);break;case bd:const St=r[++se],jt=r[++se];null===s[jt]&&_s(s[jt]=Ih(D,St,null),s)}}}function Y_(t,r,s,p,D){for(let k=0;k>>2;switch(3&Xe){case 1:const jt=s[++je],Kt=s[++je],pn=t.data[St];"string"==typeof pn?Dc(r[dr],r[St],null,pn,jt,_e,Kt):ws(t,pn,r,jt,_e,r[dr],Kt,!1);break;case 0:const kn=r[St];null!==kn&&$y(r[dr],kn,_e);break;case 2:JT(t,yd(t,St),r,_e);break;case 3:yM(t,yd(t,St),p,r)}}}}else{const _e=s[k+1];if(_e>0&&3==(3&_e)){const Xe=yd(t,_e>>>2);r[Xe.currentCaseLViewIndex]<0&&yM(t,Xe,p,r)}}k+=se}}function yM(t,r,s,p){let D=p[r.currentCaseLViewIndex];if(null!==D){let k=Cd;D<0&&(D=p[r.currentCaseLViewIndex]=~D,k=-1),Y_(t,p,r.update[D],s,k)}}function JT(t,r,s,p){const D=function ru(t,r){let s=t.cases.indexOf(r);if(-1===s)switch(t.type){case 1:{const p=function VT(t,r){const s=Xf(r)(parseInt(t,10)),p=HT[s];return void 0!==p?p:"other"}(r,function zT(){return fM}());s=t.cases.indexOf(p),-1===s&&"other"!==p&&(s=t.cases.indexOf("other"));break}case 0:s=t.cases.indexOf("other")}return-1===s?null:s}(r,p);if(tu(r,s)!==D&&(CM(t,r,s),s[r.currentCaseLViewIndex]=null===D?null:~D,null!==D)){const $=s[r.anchorIdx];$&&bM(t,r.create[D],s,$)}}function CM(t,r,s){let p=tu(r,s);if(null!==p){const D=r.remove[p];for(let k=0;k0){const se=ns($,s);null!==se&&Oh(s[dr],se)}else CM(t,yd(t,~$),s)}}}function qT(){const t=[];let s,p,r=-1;function k(se,_e){r=0;const je=tu(se,_e);p=null!==je?se.remove[je]:Qn}function $(){if(r0?s[se]:(t.push(r,p),k(s[In].data[~se],s),$())}return 0===t.length?null:(p=t.pop(),r=t.pop(),$())}return function D(se,_e){for(s=_e;t.length;)t.pop();return k(se.value,_e),$}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eI=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,MM=/\ufffd(\d+)\ufffd/,EM=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,iu="\ufffd",tI=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nI=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rI=/\uE500/g;function qf(t,r,s,p,D,k,$){const se=Hu(t,p,1,null);let _e=se<s.length&&s.push(_e)}return{type:p,mainBinding:D,cases:r,values:s}}function Md(t){if(!t)return[];let r=0;const s=[],p=[],D=/[{}]/g;let k;for(D.lastIndex=0;k=D.exec(t);){const se=k.index;if("}"==k[0]){if(s.pop(),0==s.length){const _e=t.substring(r,se);EM.test(_e)?p.push(lI(_e)):p.push(_e),r=se+1}}else{if(0==s.length){const _e=t.substring(r,se);p.push(_e),r=se+1}s.push("{")}}const $=t.substring(r);return p.push($),p}function cI(t,r,s,p,D,k,$,se){const _e=[],je=[],Xe=[];r.cases.push(k),r.create.push(_e),r.remove.push(je),r.update.push(Xe);const jt=Ey(Zo()).getInertBodyElement($),Kt=yh(jt)||jt;return Kt?Q_(t,r,s,p,_e,je,Xe,Kt,D,se,0):0}function Q_(t,r,s,p,D,k,$,se,_e,je,Xe){let St=0,jt=se.firstChild;for(;jt;){const Kt=Hu(t,s,1,null);switch(jt.nodeType){case Node.ELEMENT_NODE:const pn=jt,kn=pn.tagName.toLowerCase();if(mm.hasOwnProperty(kn)){X_(D,bd,kn,_e,Kt),t.data[Kt]=kn;const ui=pn.attributes;for(let ki=0;ki>>Ds.SHIFT;let St=t[Xe];null===St&&(St=t[Xe]=($&Ds.COMMENT)===Ds.COMMENT?D.createComment(se):Th(D,se)),je&&null!==s&&Il(D,s,St,p,!1)}})(D,_e.create,Xe,se&&8&se.type?D[se.index]:null),Fe(!0)}function ev(){Fe(!1)}function tv(t,r,s){q_(t,r,s),ev()}function OM(t,r){const s=Cr(),p=so(s.consts,r);!function W_(t,r,s){const D=Xr().index,k=[];if(t.firstCreatePass&&null===t.data[r]){for(let $=0;$0){const p=t.data[s];Y_(t,r,Array.isArray(p)?p:p.update,Ft()-nu-1,Cd)}Cd=0,nu=0}(Cr(),Sn(),t+lr)}function RM(t,r={}){return function mI(t,r={}){let s=t;if(J_.test(t)){const p={},D=[IM];s=s.replace(hI,(k,$,se)=>{const _e=$||se,je=p[_e]||[];if(je.length||(_e.split("|").forEach(kn=>{const Vn=kn.match(xM),ur=Vn?parseInt(Vn[1],10):IM,Ln=gI.test(kn);je.push([ur,Ln,kn])}),p[_e]=je),!je.length)throw new Error(`i18n postprocess: unmatched placeholder - ${_e}`);const Xe=D[D.length-1];let St=0;for(let kn=0;knr.hasOwnProperty(k)?`${D}${r[k]}${_e}`:p),s=s.replace(fI,(p,D)=>r.hasOwnProperty(D)?r[D]:p),s=s.replace(kM,(p,D)=>{if(r.hasOwnProperty(D)){const k=r[D];if(!k.length)throw new Error(`i18n postprocess: unmatched ICU - ${p} with key: ${D}`);return k.shift()}return p})),s}(t,r)}function nv(t,r,s,p){const D=Sn(),k=Cr(),$=Xr();return rv(k,D,D[dr],$,t,r,p),nv}function Ed(t,r){const s=Xr(),p=Sn(),D=Cr();return rv(D,p,y0(Pn(D.data),s,p),s,t,r),Ed}function rv(t,r,s,p,D,k,$){const se=Ji(p),je=t.firstCreatePass&&b0(t),Xe=r[Kr],St=v0(r);let jt=!0;if(3&p.type||$){const kn=qi(p,r),Vn=$?$(kn):kn,ur=St.length,Ln=$?ki=>$(Fr(ki[p.index])):p.index;let ui=null;if(!$&&se&&(ui=function pI(t,r,s,p){const D=t.cleanup;if(null!=D)for(let k=0;k_e?se[_e]:null}"string"==typeof $&&(k+=2)}return null}(t,r,D,p.index)),null!==ui)(ui.__ngLastListenerFn__||ui).__ngNextListenerFn__=k,ui.__ngLastListenerFn__=k,jt=!1;else{k=NM(p,r,Xe,k,!1);const ki=s.listen(Vn,D,k);St.push(k,ki),je&&je.push(D,Ln,ur,ur+1)}}else k=NM(p,r,Xe,k,!1);const Kt=p.outputs;let pn;if(jt&&null!==Kt&&(pn=Kt[D])){const kn=pn.length;if(kn)for(let Vn=0;Vn-1?Ti(t.index,r):r);let _e=FM(r,s,p,$),je=k.__ngNextListenerFn__;for(;je;)_e=FM(r,s,je,$)&&_e,je=je.__ngNextListenerFn__;return D&&!1===_e&&$.preventDefault(),_e}}function jM(t=1){return function Cs(t){return(Yt.lFrame.contextLView=ie(t,Yt.lFrame.contextLView))[Kr]}(t)}function vI(t,r){let s=null;const p=function B(t){const r=t.attrs;if(null!=r){const s=r.indexOf(5);if(!(1&s))return r[s+1]}return null}(t);for(let D=0;D=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),r[s]=p}function fv(t){return To(function j(){return Yt.lFrame.contextLView}(),lr+t)}function WM(t,r,s){Ls(Wc(Sn(),t,r,s))}function gv(t,r,s,p,D){Ls(ja(Sn(),t,r,s,p,D))}function GM(t,r,s,p,D,k,$){Ls(jl(Sn(),t,r,s,p,D,k,$))}function mv(t,r,s,p,D,k,$,se,_e){Ls(Gc(Sn(),t,r,s,p,D,k,$,se,_e))}function KM(t,r,s,p,D,k,$,se,_e,je,Xe){Ls(Bl(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe))}function pv(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt){Ls(Kc(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe,St,jt))}function QM(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn){Ls(Ul(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn))}function XM(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn){Ls(Qc(Sn(),t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn))}function _v(t){Ls(Nl(Sn(),t))}function vv(t,r,s,p,D){return Gs(t,Wc(Sn(),r,s,p),D,!1),vv}function ig(t,r,s,p,D,k,$){return Gs(t,ja(Sn(),r,s,p,D,k),$,!1),ig}function bv(t,r,s,p,D,k,$,se,_e){return Gs(t,jl(Sn(),r,s,p,D,k,$,se),_e,!1),bv}function yv(t,r,s,p,D,k,$,se,_e,je,Xe){return Gs(t,Gc(Sn(),r,s,p,D,k,$,se,_e,je),Xe,!1),yv}function Cv(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt){return Gs(t,Bl(Sn(),r,s,p,D,k,$,se,_e,je,Xe,St),jt,!1),Cv}function su(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn){return Gs(t,Kc(Sn(),r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt),pn,!1),su}function Sv(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn){return Gs(t,Ul(Sn(),r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn),Vn,!1),Sv}function og(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn,ur,Ln){return Gs(t,Qc(Sn(),r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn,ur),Ln,!1),og}function Mv(t,r,s){return Gs(t,Nl(Sn(),r),s,!1),Mv}function Ev(t,r=""){const s=Sn(),p=Cr(),D=t+lr,k=p.firstCreatePass?Ra(p,D,1,r,null):p.data[D],$=ZM(p,s,k,r,t);s[D]=$,sa()&&xh(p,s,$,k),it(k,!1)}let ZM=(t,r,s,p,D)=>(Ps(!0),Th(r[dr],p));function bI(t,r,s,p,D){const k=r[Rn],$=!k||mr()||$d(k,D);return Ps($),$?Th(r[dr],p):na(k,t,r,s)}function sg(t){return ag("",t,""),sg}function ag(t,r,s){const p=Sn(),D=Wc(p,t,r,s);return D!==ri&&Fa(p,mi(),D),ag}function au(t,r,s,p,D){const k=Sn(),$=ja(k,t,r,s,p,D);return $!==ri&&Fa(k,mi(),$),au}function wv(t,r,s,p,D,k,$){const se=Sn(),_e=jl(se,t,r,s,p,D,k,$);return _e!==ri&&Fa(se,mi(),_e),wv}function Dv(t,r,s,p,D,k,$,se,_e){const je=Sn(),Xe=Gc(je,t,r,s,p,D,k,$,se,_e);return Xe!==ri&&Fa(je,mi(),Xe),Dv}function Av(t,r,s,p,D,k,$,se,_e,je,Xe){const St=Sn(),jt=Bl(St,t,r,s,p,D,k,$,se,_e,je,Xe);return jt!==ri&&Fa(St,mi(),jt),Av}function Tv(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt){const Kt=Sn(),pn=Kc(Kt,t,r,s,p,D,k,$,se,_e,je,Xe,St,jt);return pn!==ri&&Fa(Kt,mi(),pn),Tv}function Iv(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn){const kn=Sn(),Vn=Ul(kn,t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn);return Vn!==ri&&Fa(kn,mi(),Vn),Iv}function lg(t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn){const ur=Sn(),Ln=Qc(ur,t,r,s,p,D,k,$,se,_e,je,Xe,St,jt,Kt,pn,kn,Vn);return Ln!==ri&&Fa(ur,mi(),Ln),lg}function Pv(t){const r=Sn(),s=Nl(r,t);return s!==ri&&Fa(r,mi(),s),Pv}function cg(t,r,s){Jh(r)&&(r=r());const p=Sn();return Bo(p,Z(),r)&&ws(Cr(),yi(),p,t,r,p[dr],s,!1),cg}function JM(t,r){const s=Jh(t);return s&&t.set(r),s}function ug(t,r){const s=Sn(),p=Cr(),D=Xr();return rv(p,s,s[dr],D,t,r),ug}function kv(t,r,s,p,D){if(t=Tr(t),Array.isArray(t))for(let k=0;k>20;if(_l(t)||!t.multi){const Kt=new xu(je,D,wc),pn=Ov(_e,r,D?Xe:Xe+jt,St);-1===pn?(om(mc(se,$),k,_e),xv(k,t,r.length),r.push(_e),se.directiveStart++,se.directiveEnd++,D&&(se.providerIndexes+=1048576),s.push(Kt),$.push(Kt)):(s[pn]=Kt,$[pn]=Kt)}else{const Kt=Ov(_e,r,Xe+jt,St),pn=Ov(_e,r,Xe,Xe+jt),Vn=pn>=0&&s[pn];if(D&&!Vn||!D&&!(Kt>=0&&s[Kt])){om(mc(se,$),k,_e);const ur=function MI(t,r,s,p,D){const k=new xu(t,s,wc);return k.multi=[],k.index=r,k.componentProviders=0,qM(k,D,p&&!s),k}(D?SI:eE,s.length,D,p,je);!D&&Vn&&(s[pn].providerFactory=ur),xv(k,t,r.length,0),r.push(_e),se.directiveStart++,se.directiveEnd++,D&&(se.providerIndexes+=1048576),s.push(ur),$.push(ur)}else xv(k,t,Kt>-1?Kt:pn,qM(s[D?pn:Kt],je,!D&&p));!D&&p&&Vn&&s[pn].componentProviders++}}}function xv(t,r,s,p){const D=_l(r),k=function eD(t){return!!t.useClass}(r);if(D||k){const _e=(k?Tr(r.useClass):r).prototype.ngOnDestroy;if(_e){const je=t.destroyHooks||(t.destroyHooks=[]);if(!D&&r.multi){const Xe=je.indexOf(s);-1===Xe?je.push(s,[p,_e]):je[Xe+1].push(p,_e)}else je.push(s,_e)}}}function qM(t,r,s){return s&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,s,p){for(let D=s;D{s.providersResolver=(p,D)=>function CI(t,r,s){const p=Cr();if(p.firstCreatePass){const D=Yi(t);kv(s,p.data,p.blueprint,D,!0),kv(r,p.data,p.blueprint,D,!1)}}(p,D?D(t):t,r)}}let EI=(()=>{class t{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const p=zg(0,s.type),D=p.length>0?zp([p],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,D)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Zr({token:t,providedIn:"environment",factory:()=>new t(xe(qs))})}return t})();function Fv(t){$s("NgStandalone"),t.getStandaloneInjector=r=>r.get(EI).getOrCreateStandaloneInjector(t)}function tE(t,r,s){const p=t.\u0275cmp;p.directiveDefs=at(r,!1),p.pipeDefs=at(s,!0)}function Nv(t,r){return qn(()=>{const s=rr(t,!0);s.declarations=dg(r.declarations||Qn),s.imports=dg(r.imports||Qn),s.exports=dg(r.exports||Qn),r.bootstrap&&(s.bootstrap=dg(r.bootstrap)),Lc.registerNgModule(t,r)})}function dg(t){if("function"==typeof t)return t;const r=as(t);return r.some(ms)?()=>r.map(Tr).map(nE):r.map(nE)}function nE(t){return Dp(t)?t.ngModule:t}function jv(t){const r=Es(t);if(null===r)return null;if(void 0===r.component){const s=r.lView;if(null===s)return null;r.component=function ZD(t,r){const s=r[In].data[t],{directiveStart:p,componentOffset:D}=s;return D>-1?r[p+D]:null}(r.nodeIndex,s)}return r.component}function oE(t){if(t instanceof Text)return[];const r=Es(t),s=r?r.lView:null;if(null===s)return[];const p=s[In],D=r.nodeIndex;return p?.data[D]?(void 0===r.directives&&(r.directives=wm(D,s)),null===r.directives?[]:[...r.directives]):[]}function Dd(t){return Es(t).native}function TI(t,r){return t.name==r.name?0:t.name=0;s--){const p=r[s];if(t===p.name)return p}}(r,s.pipeRegistry),s.data[D]=p,p.onDestroy&&(s.destroyHooks??=[]).push(D,p.onDestroy)):p=s.data[D];const k=p.factory||(p.factory=pl(p.type)),se=Ko(wc);try{const _e=ch(!1),je=k();return ch(_e),$M(s,Sn(),D,je),je}finally{Ko(se)}}function bE(t,r,s){const p=t+lr,D=Sn(),k=To(D,p);return cu(D,p)?gE(D,vt(),r,k.transform,s,k):k.transform(s)}function Kv(t,r,s,p){const D=t+lr,k=Sn(),$=To(k,D);return cu(k,D)?Wv(k,vt(),r,$.transform,s,p,$):$.transform(s,p)}function yE(t,r,s,p,D){const k=t+lr,$=Sn(),se=To($,k);return cu($,k)?mE($,vt(),r,se.transform,s,p,D,se):se.transform(s,p,D)}function Qv(t,r,s,p,D,k){const $=t+lr,se=Sn(),_e=To(se,$);return cu(se,$)?Gv(se,vt(),r,_e.transform,s,p,D,k,_e):_e.transform(s,p,D,k)}function CE(t,r,s){const p=t+lr,D=Sn(),k=To(D,p);return cu(D,p)?pE(D,vt(),r,k.transform,s,k):k.transform.apply(k,s)}function cu(t,r){return t[In].data[r].pure}function SE(t,r){return $h(t,r)}function Xv(t,r){return()=>{try{return Lc.getComponentDependencies(t,r).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,s),s}}}function ME(t,r){const s=gn(t);null!==s&&(s.debugInfo=r)}const bs={\u0275\u0275attribute:l_,\u0275\u0275attributeInterpolate1:c_,\u0275\u0275attributeInterpolate2:xf,\u0275\u0275attributeInterpolate3:u_,\u0275\u0275attributeInterpolate4:d_,\u0275\u0275attributeInterpolate5:Of,\u0275\u0275attributeInterpolate6:h_,\u0275\u0275attributeInterpolate7:f_,\u0275\u0275attributeInterpolate8:Lf,\u0275\u0275attributeInterpolateV:g_,\u0275\u0275defineComponent:_t,\u0275\u0275defineDirective:_n,\u0275\u0275defineInjectable:Zr,\u0275\u0275defineInjector:Hs,\u0275\u0275defineNgModule:Jt,\u0275\u0275definePipe:yn,\u0275\u0275directiveInject:wc,\u0275\u0275getInheritedFactory:oy,\u0275\u0275inject:xe,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:a0,\u0275\u0275invalidFactoryDep:We,\u0275\u0275templateRefExtractor:SE,\u0275\u0275resetView:Oi,\u0275\u0275HostDirectivesFeature:dd,\u0275\u0275NgOnChangesFeature:qg,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:KC,\u0275\u0275InheritDefinitionFeature:gf,\u0275\u0275InputTransformsFeature:ZC,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:jM,\u0275\u0275namespaceHTML:Ca,\u0275\u0275namespaceMathML:rl,\u0275\u0275namespaceSVG:jo,\u0275\u0275enableBindings:Ii,\u0275\u0275disableBindings:bi,\u0275\u0275elementStart:$f,\u0275\u0275elementEnd:vd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:qc,\u0275\u0275elementContainerEnd:Wf,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cE,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uE,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dE,\u0275\u0275pureFunction6:zv,\u0275\u0275pureFunction7:hE,\u0275\u0275pureFunction8:$v,\u0275\u0275pureFunctionV:fE,\u0275\u0275getCurrentView:uM,\u0275\u0275restoreView:Qi,\u0275\u0275listener:nv,\u0275\u0275projection:UM,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:Ed,\u0275\u0275pipeBind1:bE,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:yE,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CE,\u0275\u0275projectionDef:BM,\u0275\u0275hostProperty:N_,\u0275\u0275property:y_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:wd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tg,\u0275\u0275propertyInterpolate4:sv,\u0275\u0275propertyInterpolate5:ng,\u0275\u0275propertyInterpolate6:av,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rg,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_E,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HM,\u0275\u0275viewQuerySignal:zM,\u0275\u0275loadQuery:VM,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YM,\u0275\u0275reference:fv,\u0275\u0275classMap:M_,\u0275\u0275classMapInterpolate1:A_,\u0275\u0275classMapInterpolate2:ZS,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:JS,\u0275\u0275classMapInterpolate5:T_,\u0275\u0275classMapInterpolate6:qS,\u0275\u0275classMapInterpolate7:eM,\u0275\u0275classMapInterpolate8:Vl,\u0275\u0275classMapInterpolateV:tM,\u0275\u0275styleMap:Ls,\u0275\u0275styleMapInterpolate1:WM,\u0275\u0275styleMapInterpolate2:gv,\u0275\u0275styleMapInterpolate3:GM,\u0275\u0275styleMapInterpolate4:mv,\u0275\u0275styleMapInterpolate5:KM,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QM,\u0275\u0275styleMapInterpolate8:XM,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:jf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:ig,\u0275\u0275stylePropInterpolate3:bv,\u0275\u0275stylePropInterpolate4:yv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:su,\u0275\u0275stylePropInterpolate7:Sv,\u0275\u0275stylePropInterpolate8:og,\u0275\u0275stylePropInterpolateV:Mv,\u0275\u0275classProp:S_,\u0275\u0275advance:o0,\u0275\u0275template:Uc,\u0275\u0275conditional:iM,\u0275\u0275defer:SS,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:ES,\u0275\u0275deferOnImmediate:wS,\u0275\u0275deferOnTimer:DS,\u0275\u0275deferOnHover:AS,\u0275\u0275deferOnInteraction:TS,\u0275\u0275deferOnViewport:Pf,\u0275\u0275deferPrefetchWhen:MS,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:If,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:IS,\u0275\u0275deferPrefetchOnViewport:PS,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:zf,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:sM,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nM,\u0275\u0275text:Ev,\u0275\u0275textInterpolate:sg,\u0275\u0275textInterpolate1:ag,\u0275\u0275textInterpolate2:au,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Av,\u0275\u0275textInterpolate6:Tv,\u0275\u0275textInterpolate7:Iv,\u0275\u0275textInterpolate8:lg,\u0275\u0275textInterpolateV:Pv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OM,\u0275\u0275i18nExp:eg,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LM,\u0275\u0275i18nPostprocess:RM,\u0275\u0275resolveWindow:Vy,\u0275\u0275resolveDocument:Pm,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tE,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Xv,\u0275setClassDebugInfo:ME,\u0275\u0275sanitizeHtml:_m,\u0275\u0275sanitizeStyle:vm,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:ym,\u0275\u0275sanitizeUrl:bm,\u0275\u0275sanitizeUrlOrResourceUrl:La,\u0275\u0275trustConstantHtml:Py,\u0275\u0275trustConstantResourceUrl:Cm,\u0275\u0275validateIframeAttribute:ud,forwardRef:Zi,resolveForwardRef:Tr,\u0275\u0275twoWayProperty:cg,\u0275\u0275twoWayBindingSet:JM,\u0275\u0275twoWayListener:ug,\u0275\u0275InputFlags:ot};let uu=null;function wE(){uu=null}const du=[];let fg=!1;function DE(){if(!fg){fg=!0;try{for(let t=du.length-1;t>=0;t--){const{moduleType:r,ngModule:s}=du[t];s.declarations&&s.declarations.every(Zv)&&(du.splice(t,1),kE(r,s))}}finally{fg=!1}}}function Zv(t){return Array.isArray(t)?t.every(Zv):!!Tr(t)}function AE(t,r={}){Jv(t,r),void 0!==r.id&&ff(t,r.id),function PI(t,r){du.push({moduleType:t,ngModule:r})}(t,r)}function Jv(t,r,s=!1){const p=as(r.declarations||Qn);let D=null;Object.defineProperty(t,Zn,{configurable:!0,get:()=>(null===D&&(D=Jo().compileNgModule(bs,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:as(r.bootstrap||Qn).map(Tr),declarations:p.map(Tr),imports:as(r.imports||Qn).map(Tr).map(OE),exports:as(r.exports||Qn).map(Tr).map(OE),schemas:r.schemas?as(r.schemas):null,id:r.id||null}),D.schemas||(D.schemas=[])),D)});let k=null;Object.defineProperty(t,sr,{get:()=>{if(null===k){const se=Jo();k=se.compileFactory(bs,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:gh(t),target:se.FactoryTarget.NgModule,typeArgumentCount:0})}return k},configurable:!1});let $=null;Object.defineProperty(t,Ce,{get:()=>{if(null===$){const se={name:t.name,type:t,providers:r.providers||Qn,imports:[(r.imports||Qn).map(Tr),(r.exports||Qn).map(Tr)]};$=Jo().compileInjector(bs,`ng:///${t.name}/\u0275inj.js`,se)}return $},configurable:!1})}function TE(t,r){return`Unexpected "${Bi(t)}" found in the "declarations" array of the ${r}, "${Bi(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let mg=new WeakMap,pg=new WeakMap;function kI(){mg=new WeakMap,pg=new WeakMap,du.length=0,uo.clear()}function kE(t,r){const s=as(r.declarations||Qn),p=$l(t);s.forEach(D=>{(D=Tr(D)).hasOwnProperty(Si)?eb(gn(D),p):!D.hasOwnProperty(en)&&!D.hasOwnProperty(jn)&&(D.ngSelectorScope=t)})}function eb(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(s=>s.hasOwnProperty(Si)?gn(s):Gt(s)).filter(s=>!!s),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(s=>Nn(s)),t.schemas=r.schemas,t.tView=null}function $l(t){if(Ja(t)){if(sd){const r=Lc.getNgModuleScope(t);return{schemas:rr(t,!0).schemas||null,...r}}return function xE(t){const r=rr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const s={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return js(r.imports).forEach(p=>{const D=$l(p);D.exported.directives.forEach(k=>s.compilation.directives.add(k)),D.exported.pipes.forEach(k=>s.compilation.pipes.add(k))}),js(r.declarations).forEach(p=>{Nn(p)?s.compilation.pipes.add(p):s.compilation.directives.add(p)}),js(r.exports).forEach(p=>{const D=p;if(Ja(D)){const k=$l(D);k.exported.directives.forEach($=>{s.compilation.directives.add($),s.exported.directives.add($)}),k.exported.pipes.forEach($=>{s.compilation.pipes.add($),s.exported.pipes.add($)})}else Nn(D)?s.exported.pipes.add(D):s.exported.directives.add(D)}),r.transitiveCompileScopes=s,s}(t)}if(cr(t)){if(null!==(gn(t)||Gt(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Nn(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function OE(t){return Dp(t)?t.ngModule:t}let tb=0;function LE(t,r){let s=null;(function WA(t,r){VC(r)&&(jc.set(t,r),Bc.add(t))})(t,r),NE(t,r),Object.defineProperty(t,Si,{get:()=>{if(null===s){const p=Jo();if(VC(r)){const je=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&je.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&je.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&je.push(` - styleUrl: ${r.styleUrl}`),je.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(je.join("\n"))}const D=function II(){return uu}();let k=r.preserveWhitespaces;void 0===k&&(k=null!==D&&void 0!==D.preserveWhitespaces&&D.preserveWhitespaces);let $=r.encapsulation;void 0===$&&($=null!==D&&void 0!==D.defaultEncapsulation?D.defaultEncapsulation:_r.Emulated);const se=r.templateUrl||`ng:///${t.name}/template.html`,_e={...jE(t,r),typeSourceSpan:p.createParseSourceSpan("Component",t.name,se),template:r.template||"",preserveWhitespaces:k,styles:"string"==typeof r.styles?[r.styles]:r.styles||Qn,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:$,interpolation:r.interpolation,viewProviders:r.viewProviders||null};tb++;try{if(_e.usesInheritance&&Ad(t),s=p.compileComponent(bs,se,_e),r.standalone){const je=as(r.imports||Qn),{directiveDefs:Xe,pipeDefs:St}=function xI(t,r){let s=null,p=null;return{directiveDefs:()=>{if(sd)return od(t)?[...Lc.getStandaloneComponentScope(t,r).compilation.directives].map(se=>gn(se)||Gt(se)).filter(se=>null!==se):[];if(null===s){s=[gn(t)];const $=new Set([t]);for(const se of r){const _e=Tr(se);if(!$.has(_e))if($.add(_e),rr(_e)){const je=$l(_e);for(const Xe of je.exported.directives){const St=gn(Xe)||Gt(Xe);St&&!$.has(Xe)&&($.add(Xe),s.push(St))}}else{const je=gn(_e)||Gt(_e);je&&s.push(je)}}}return s},pipeDefs:()=>{if(sd)return od(t)?[...Lc.getStandaloneComponentScope(t,r).compilation.pipes].map(se=>Nn(se)).filter(se=>null!==se):[];if(null===p){p=[];const $=new Set;for(const se of r){const _e=Tr(se);if(!$.has(_e))if($.add(_e),rr(_e)){const je=$l(_e);for(const Xe of je.exported.pipes){const St=Nn(Xe);St&&!$.has(Xe)&&($.add(Xe),p.push(St))}}else{const je=Nn(_e);je&&p.push(je)}}}return p}}}(t,je);s.directiveDefs=Xe,s.pipeDefs=St,s.dependencies=()=>je.map(Tr)}}finally{tb--}if(0===tb&&DE(),function RE(t){return void 0!==t.ngSelectorScope}(t)){const je=$l(t.ngSelectorScope);eb(s,je)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${Bi(t)} but is only valid on a component that is standalone.`);s.schemas=r.schemas}else r.standalone&&(s.schemas=[])}return s},configurable:!1})}function nb(t,r){let s=null;NE(t,r||{}),Object.defineProperty(t,en,{get:()=>{if(null===s){const p=FE(t,r||{});s=Jo().compileDirective(bs,p.sourceMapUrl,p.metadata)}return s},configurable:!1})}function FE(t,r){const s=t&&t.name,p=`ng:///${s}/\u0275dir.js`,D=Jo(),k=jE(t,r);return k.typeSourceSpan=D.createParseSourceSpan("Directive",s,p),k.usesInheritance&&Ad(t),{metadata:k,sourceMapUrl:p}}function NE(t,r){let s=null;Object.defineProperty(t,sr,{get:()=>{if(null===s){const p=FE(t,r),D=Jo();s=D.compileFactory(bs,`ng:///${t.name}/\u0275fac.js`,{name:p.metadata.name,type:p.metadata.type,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Directive})}return s},configurable:!1})}function qP(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function jE(t,r){const s=lm(),p=s.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||Mr,propMetadata:p,inputs:r.inputs||Qn,outputs:r.outputs||Qn,queries:BE(t,p,UE),lifecycle:{usesOnChanges:s.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qP(t),exportAs:RI(r.exportAs),providers:r.providers||null,viewQueries:BE(t,p,HE),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(D=>"function"==typeof D?{directive:D}:D)||null}}function Ad(t){const r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;)!Gt(s)&&!gn(s)&&YE(s)&&nb(s,null),s=Object.getPrototypeOf(s)}function OI(t){return"string"==typeof t?VE(t):Tr(t)}function LI(t,r){return{propertyName:t,predicate:OI(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function BE(t,r,s){const p=[];for(const D in r)if(r.hasOwnProperty(D)){const k=r[D];k.forEach($=>{if(s($)){if(!$.selector)throw new Error(`Can't construct a query for the property "${D}" of "${Bi(t)}" since the query selector wasn't defined.`);if(k.some(Td))throw new Error("Cannot combine @Input decorators with query decorators");p.push(LI(D,$))}})}return p}function RI(t){return void 0===t?null:VE(t)}function UE(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HE(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Td(t){return"Input"===t.ngMetadataName}function VE(t){return t.split(",").map(r=>r.trim())}const FI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YE(t){const r=lm();if(FI.some(p=>r.hasLifecycleHook(t,p)))return!0;const s=r.propMetadata(t);for(const p in s){const D=s[p];for(let k=0;k{if(null===p){const D=rb(t,r),k=Jo();p=k.compileFactory(bs,`ng:///${D.name}/\u0275fac.js`,{name:D.name,type:D.type,typeArgumentCount:0,deps:gh(t),target:k.FactoryTarget.Pipe})}return p},configurable:!1}),Object.defineProperty(t,jn,{get:()=>{if(null===s){const D=rb(t,r);s=Jo().compilePipe(bs,`ng:///${D.name}/\u0275pipe.js`,D)}return s},configurable:!1})}function rb(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const $E=Au("Directive",(t={})=>t,void 0,void 0,(t,r)=>nb(t,r)),NI=Au("Component",(t={})=>({changeDetection:yr.Default,...t}),$E,void 0,(t,r)=>LE(t,r)),WE=Au("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>zE(t,r)),jI=$a("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),hu=$a("Output",t=>({alias:t})),BI=$a("HostBinding",t=>({hostPropertyName:t})),ib=$a("HostListener",(t,r)=>({eventName:t,args:r})),UI=Au("NgModule",t=>t,void 0,void 0,(t,r)=>AE(t,r));class GE{constructor(r){this.full=r;const s=r.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}const KE=new GE("17.2.3");let QE=(()=>{class t{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const ab=new Ye(""),dw=new Ye("");let cb,eP=(()=>{class t{constructor(s,p,D){this._ngZone=s,this.registry=p,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cb||(lb(D),D.addToWindow(p)),this._watchAngularEvents(),s.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:()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(s)||(clearTimeout(p.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,p,D){let k=-1;p&&p>0&&(k=setTimeout(()=>{this._callbacks=this._callbacks.filter($=>$.timeoutId!==k),s()},p)),this._callbacks.push({doneCb:s,timeoutId:k,updateCb:D})}whenStable(s,p,D){if(D&&!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(s,p,D),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,p,D){return[]}static#e=this.\u0275fac=function(p){return new(p||t)(xe(Oo),xe(hw),xe(dw))};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(s,p){this._applications.set(s,p)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,p=!0){return cb?.findTestabilityInTree(this,s,p)??null}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function lb(t){cb=t}function ub(t){return!!t&&"function"==typeof t.then}function db(t){return!!t&&"function"==typeof t.subscribe}const fw=new Ye("");let _g=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,p)=>{this.resolve=s,this.reject=p}),this.appInits=rt(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const D of this.appInits){const k=D();if(ub(k))s.push(k);else if(db(k)){const $=new Promise((se,_e)=>{k.subscribe({complete:se,error:_e})});s.push($)}}const p=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{p()}).catch(D=>{this.reject(D)}),0===s.length&&p(),this.initialized=!0}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hb=new Ye("");function gw(){!function H(t){ne=t}(()=>{throw new bt(600,!1)})}function Ba(t){return t.isBoundToModule}class tP{constructor(r,s){this.name=r,this.token=s}}function fb(t,r,s){try{const p=s();return ub(p)?p.catch(D=>{throw r.runOutsideAngular(()=>t.handleError(D)),D}):p}catch(p){throw r.runOutsideAngular(()=>t.handleError(p)),p}}function mw(t,r){return Array.isArray(r)?r.reduce(mw,t):{...t,...r}}let kd,Ua=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=rt(_y),this.afterRenderEffectManager=rt(xl),this.componentTypes=[],this.components=[],this.isStable=rt(fd).hasPendingTasks.pipe((0,mt.k)(s=>!s)),this._injector=rt(qs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,p){const D=s instanceof Ju;if(!this._injector.get(_g).done)throw!D&&cr(s),new bt(405,!1);let $;$=D?s:this._injector.get(qu).resolveComponentFactory(s),this.componentTypes.push($.componentType);const se=Ba($)?void 0:this._injector.get(Ol),je=$.create(Fs.NULL,[],p||$.selector,se),Xe=je.location.nativeElement,St=je.injector.get(ab,null);return St?.registerApplication(Xe),je.onDestroy(()=>{this.detachView(je.hostView),vg(this.components,je),St?.unregisterApplication(Xe)}),this._loadComponent(je),je}tick(){if(this._runningTick)throw new bt(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let s=0;const p=this.afterRenderEffectManager;for(;;){if(100===s)throw new bt(103,!1);const D=0===s;for(let{_lView:k,notifyErrorHandler:$}of this._views)!D&&!bg(k)||this.detectChangesInView(k,$,D);if(s++,p.executeInternalCallbacks(),!this._views.some(({_lView:k})=>bg(k))&&(p.execute(),!this._views.some(({_lView:k})=>bg(k))))break}}detectChangesInView(s,p,D){let k;D?(k=0,s[Gn]|=1024):k=64&s[Gn]?0:1,Tc(s,p,k)}attachView(s){const p=s;this._views.push(p),p.attachToAppRef(this)}detachView(s){const p=s;vg(this._views,p),p.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const p=this._injector.get(hb,[]);[...this._bootstrapListeners,...p].forEach(D=>D(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vg(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new bt(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vg(t,r){const s=t.indexOf(r);s>-1&&t.splice(s,1)}function pw(t){kd??=new WeakMap;const r=kd.get(t);if(r)return r;const s=t.isStable.pipe((0,st.K)(p=>p)).toPromise().then(()=>{});return kd.set(t,s),t.onDestroy(()=>kd?.delete(t)),s}function bg(t){return pe(t)}class _w{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let vw=(()=>{class t{compileModuleSync(s){return new _f(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const p=this.compileModuleSync(s),k=js(rr(s).declarations).reduce(($,se)=>{const _e=gn(se);return _e&&$.push(new Rc(_e)),$},[]);return new _w(p,k)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bw=new Ye("");class yw{}function Cw(t,r,s){const p=new _f(s);return Promise.resolve(p)}let Mw=(()=>{class t{constructor(){this.zone=rt(Oo),this.applicationRef=rt(Ua)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gb(t){return[{provide:Oo,useFactory:t},{provide:xs,multi:!0,useFactory:()=>{const r=rt(Mw,{optional:!0});return()=>r.initialize()}},{provide:xs,multi:!0,useFactory:()=>{const r=rt(rP);return()=>{r.initialize()}}},{provide:_y,useFactory:nP}]}function nP(){const t=rt(Oo),r=rt(Ns);return s=>t.runOutsideAngular(()=>r.handleError(s))}function Ew(t){return Iu([[],gb(()=>new Oo(xd(t)))])}function xd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rP=(()=>{class t{constructor(){this.subscription=new qe.wH,this.initialized=!1,this.zone=rt(Oo),this.pendingTasks=rt(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oo.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yg=new Ye("",{providedIn:"root",factory:()=>rt(yg,lt.Optional|lt.SkipSelf)||function mb(){return typeof $localize<"u"&&$localize.locale||nl}()}),ww=new Ye("",{providedIn:"root",factory:()=>"USD"}),iP=new Ye(""),Dw=new Ye("");var Aw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Aw||{});const Cg=new Ye("");let pb=(()=>{class t{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,p){const D=function rC(t="zone.js",r){return"noop"===t?new Ep:"zone.js"===t?new Oo(r):t}(p?.ngZone,xd({eventCoalescing:p?.ngZoneEventCoalescing,runCoalescing:p?.ngZoneRunCoalescing}));return D.run(()=>{const k=function rT(t,r,s){return new pf(t,r,s)}(s.moduleType,this.injector,gb(()=>D)),$=k.injector.get(Ns,null);return D.runOutsideAngular(()=>{const se=D.onError.subscribe({next:_e=>{$.handleError(_e)}});k.onDestroy(()=>{vg(this._modules,k),se.unsubscribe()})}),fb($,D,()=>{const se=k.injector.get(_g);return se.runInitializers(),se.donePromise.then(()=>(j_(k.injector.get(yg,nl)||nl),this._moduleDoBootstrap(k),k))})})}bootstrapModule(s,p=[]){const D=mw({},p);return Cw(0,0,s).then(k=>this.bootstrapModuleFactory(k,D))}_moduleDoBootstrap(s){const p=s.injector.get(Ua);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(D=>p.bootstrap(D));else{if(!s.instance.ngDoBootstrap)throw new bt(-403,!1);s.instance.ngDoBootstrap(p)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new bt(404,!1);this._modules.slice().forEach(p=>p.destroy()),this._destroyListeners.forEach(p=>p());const s=this._injector.get(Cg,null);s&&(s.forEach(p=>p()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(p){return new(p||t)(xe(Fs))};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ha=null;const _b=new Ye("");function vb(t){if(Ha&&!Ha.get(_b,!1))throw new bt(400,!1);gw(),Ha=t;const r=t.get(pb);return kw(t),r}function Tw(t,r,s=[]){const p=`Platform: ${r}`,D=new Ye(p);return(k=[])=>{let $=Od();if(!$||$.injector.get(_b,!1)){const se=[...s,...k,{provide:D,useValue:!0}];t?t(se):vb(bb(se,p))}return Iw()}}function bb(t=[],r){return Fs.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Ha=null])},...t]})}function Iw(t){const r=Od();if(!r)throw new bt(401,!1);return r}function Od(){return Ha?.get(pb)??null}function oP(){Od()?.destroy()}function kw(t){t.get(fn,null)?.forEach(s=>s())}function xw(){return!1}function sP(){}function Ow(t){const r=Hp(t);if(!r)throw Sg(t);return new _f(r)}function aP(t){const r=Hp(t);if(!r)throw Sg(t);return r}function Sg(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,s){this.name=r,this.callback=s}}function lP(t){return t.map(r=>r.nativeElement)}class Mg{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Ld(r):null}get injector(){return function iE(t){const r=Es(t),s=r?r.lView:null;return null===s?Fs.NULL:new qo(s[In].data[r.nodeIndex],s)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(jv(r)||function rE(t){const r=Es(t);let p,s=r?r.lView:null;if(null===s)return null;for(;2===s[In].type&&(p=Bt(s));)s=p;return 512&s[Gn]?null:s[Kr]}(r))}get context(){return jv(this.nativeNode)||function Bv(t){!function aE(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Es(t),s=r?r.lView:null;return null===s?null:s[Kr]}(this.nativeNode)}get listeners(){return function sE(t){const r=Es(t),s=null===r?null:r.lView;if(null===s)return[];const D=s[ai],k=s[In].cleanup,$=[];if(k&&D)for(let se=0;se=0?"dom":"output"})}}return $.sort(TI),$}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function AI(t){const r=Es(t);if(null===r)return{};if(void 0===r.localRefs){const s=r.lView;if(null===s)return{};r.localRefs=function JD(t,r){const s=t[In].data[r];if(s&&s.localNames){const p={};let D=s.index+1;for(let k=0;k1){let Xe=_e[1];for(let St=1;St<_e.length-1;St++)Xe+=jr(s[$+St-1])+_e[St+1];t[je]=Xe}else t[je]=s[$]}}(k,D,s,p),k}get attributes(){const r={},s=this.nativeElement;if(!s)return r;const p=Es(s),D=p?p.lView:null;if(null===D)return{};const k=D[In].data[p.nodeIndex].attrs,$=[];if(k){let se=0;for(;ser[k]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,s=[];for(let p=0;p{if(k.name===r){const $=k.callback;$.call(p,s),D.push($)}}),"function"==typeof p.eventListeners&&p.eventListeners(r).forEach(k=>{if(-1!==k.toString().indexOf("__ngUnwrap__")){const $=k("__ngUnwrap__");return-1===D.indexOf($)&&$.call(p,s)}})}}function cP(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function yb(t,r,s,p){const D=Es(t.nativeNode),k=D?D.lView:null;null!==k?Gl(k[In].data[D.nodeIndex],k,r,s,p,t.nativeNode):Eg(t.nativeNode,r,s,p)}function Gl(t,r,s,p,D,k){const $=function rs(t,r){const s=null===t?-1:t.index;return-1!==s?Fr(r[s]):null}(t,r);if(11&t.type){if(Sb($,s,p,D,k),ji(t)){const _e=Ti(t.index,r);_e&&_e[In].firstChild&&Gl(_e[In].firstChild,_e,s,p,D,k)}else t.child&&Gl(t.child,r,s,p,D,k),$&&Eg($,s,p,D);const se=r[t.index];Qr(se)&&Cb(se,s,p,D,k)}else if(4&t.type){const se=r[t.index];Sb(se[Mi],s,p,D,k),Cb(se,s,p,D,k)}else if(16&t.type){const se=r[zr],je=se[pi].projection[t.projection];if(Array.isArray(je))for(let Xe of je)Sb(Xe,s,p,D,k);else if(je){const Xe=se[ni];Gl(Xe[In].data[je.index],Xe,s,p,D,k)}}else t.child&&Gl(t.child,r,s,p,D,k);if(k!==$){const se=2&t.flags?t.projectionNext:t.next;se&&Gl(se,r,s,p,D,k)}}function Cb(t,r,s,p,D){for(let k=Vr;k{class t{constructor(s){}static#e=this.\u0275fac=function(p){return new(p||t)(xe(Ua))};static#t=this.\u0275mod=Jt({type:t});static#n=this.\u0275inj=Hs({})}return t})();function fi(t){}function Lr(t,r){!r&&vl();const s=r?.injector??rt(Fs),p=s.get(Ua);let D=!1;const k=()=>{D||p.destroyed||(D=!0,t())};rf(k,{injector:s,runOnServer:!0}),queueMicrotask(()=>{k()})}function Vo(t){try{const{rootComponent:r,appProviders:s,platformProviders:p}=t,D=function Pw(t=[]){if(Ha)return Ha;const r=bb(t);return Ha=r,gw(),kw(r),r}(p),k=[Ew(),...s||[]],se=new tS({providers:k,parent:D,debugName:"",runEnvironmentInitializers:!1}).injector,_e=se.get(Oo);return _e.run(()=>{se.resolveInjectorInitializers();const je=se.get(Ns,null);let Xe;_e.runOutsideAngular(()=>{Xe=_e.onError.subscribe({next:Kt=>{je.handleError(Kt)}})});const St=()=>se.destroy(),jt=D.get(Cg);return jt.add(St),se.onDestroy(()=>{Xe.unsubscribe(),jt.delete(St)}),fb(je,_e,()=>{const Kt=se.get(_g);return Kt.runInitializers(),Kt.donePromise.then(()=>{j_(se.get(yg,nl)||nl);const kn=se.get(Ua);return void 0!==r&&kn.bootstrap(r),kn})})})}catch(r){return Promise.reject(r)}}let oa=(()=>{class t{constructor(){this.appRef=rt(Ua),this.taskService=rt(fd),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var s=this;return(0,n.c)(function*(){const p=new Promise(k=>setTimeout(k)),D="function"==typeof Fn.requestAnimationFrame?new Promise(k=>requestAnimationFrame(()=>k())):null;yield Promise.race([p,D]),s.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(p){return new(p||t)};static#t=this.\u0275prov=Zr({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Va(){return Iu([{provide:hp,useExisting:oa},{provide:Oo,useClass:Ep}])}function Ag(t,r){const s=t[In];for(let p=lr;p0&&je===p){const Xe=s[s.length-1];Xe[fl]??=1,Xe[fl]++}else p=je,s.push(_e)}return s}function $w(t,r,s){const p=r.index-lr;t[Ng]??={},t[Ng][p]=j0(r,s)}function hk(t,r){const s=r.index-lr;t[Vd]??=[],t[Vd].includes(s)||t[Vd].push(s)}function fk(t,r){const s={},p=t[In];for(let D=lr;D{let t=!0;return Xa()&&(t=!!rt(Mu,{optional:!0})?.get(jg,null)),t&&$s("NgHydration"),t}},{provide:xs,useValue:()=>{Xa()&&rt(vc)&&(function Ak(){const t=Zo();let r;for(const s of t.body.childNodes)if(s.nodeType===Node.COMMENT_NODE&&s.textContent?.trim()===wu){r=s;break}if(!r)throw new bt(-507,!1)}(),function Ek(){gk||(gk=!0,function Qw(){kb=Kw}(),function aM(){Jc=OT}(),function yI(){ZM=bI}(),function RT(){lM=cM}(),function Wp(){$p=oT}(),function LA(){bC=CC,cf=OA}(),function dp(){up=rA}(),function C1(){$m=y1}())}())},multi:!0},{provide:um,useFactory:()=>Xa()&&rt(vc)},{provide:hb,useFactory:()=>{if(Xa()&&rt(vc)){const t=rt(Ua);return rt(Fs),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{Oo.assertInAngularZone(),function Z1(t){const r=t._views;for(const s of r){const p=xb(s);null!==p&&null!==p[Pr]&&(Ni(p)?Xu(p):(Xu(p[Pr]),F0(p)))}}(t)})}}return()=>{}},multi:!0}])}function Tk(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Ik(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Pk(t){return Jo().compileDirectiveDeclaration(bs,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rS(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return Jo().compileComponentDeclaration(bs,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return Jo(function Lk(t){switch(t){case bl.Directive:return"directive";case bl.Component:return"component";case bl.Injectable:return"injectable";case bl.Pipe:return"pipe";case bl.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(bs,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return Jo().compileInjectableDeclaration(bs,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return Jo().compileInjectorDeclaration(bs,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return Jo().compileNgModuleDeclaration(bs,`ng:///${t.type.name}/\u0275mod.js`,t)}function jk(t){return Jo().compilePipeDeclaration(bs,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const s=gn(t),p=r.elementInjector||Ia();return new Rc(s).create(p,r.projectableNodes,r.hostElement,r.environmentInjector)}function Uk(t){const r=gn(t);if(!r)return null;const s=new Rc(r);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,s)=>Object.assign(r,s,{providers:[...r.providers,...s.providers]}),{providers:[]})}},44716:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{AbstractControl:()=>Rr,AbstractControlDirective:()=>Qt,AbstractFormGroupDirective:()=>et,COMPOSITION_BUFFER_MODE:()=>A,CheckboxControlValueAccessor:()=>v,CheckboxRequiredValidator:()=>ko,ControlContainer:()=>bt,DefaultValueAccessor:()=>T,EmailValidator:()=>Ji,FormArray:()=>Ki,FormArrayName:()=>qr,FormBuilder:()=>co,FormControl:()=>Ie,FormControlDirective:()=>ni,FormControlName:()=>Vi,FormGroup:()=>ar,FormGroupDirective:()=>pi,FormGroupName:()=>ai,FormRecord:()=>Fn,FormsModule:()=>ds,MaxLengthValidator:()=>Yo,MaxValidator:()=>po,MinLengthValidator:()=>Co,MinValidator:()=>Vr,NG_ASYNC_VALIDATORS:()=>L,NG_VALIDATORS:()=>I,NG_VALUE_ACCESSOR:()=>h,NgControl:()=>Vt,NgControlStatus:()=>An,NgControlStatusGroup:()=>vn,NgForm:()=>V,NgModel:()=>Gt,NgModelGroup:()=>_n,NgSelectOption:()=>Gi,NonNullableFormBuilder:()=>os,NumberValueAccessor:()=>rr,PatternValidator:()=>xo,RadioControlValueAccessor:()=>uo,RangeValueAccessor:()=>Pr,ReactiveFormsModule:()=>Qo,RequiredValidator:()=>Qr,SelectControlValueAccessor:()=>eo,SelectMultipleControlValueAccessor:()=>Fi,UntypedFormArray:()=>Ro,UntypedFormBuilder:()=>Eo,UntypedFormControl:()=>me,UntypedFormGroup:()=>_r,VERSION:()=>wo,Validators:()=>z,isFormArray:()=>_o,isFormControl:()=>Te,isFormGroup:()=>qn,isFormRecord:()=>oi,\u0275InternalFormsSharedModule:()=>Lo,\u0275NgNoValidate:()=>Nn,\u0275NgSelectMultipleOption:()=>ei});var n=o(54496),i=o(91368),d=o(74496),u=o(53252),a=o(64300),e=o(50560),c=o(59472),l=o(87773),g=o(74187),b=o(67904),S=o(54704);let y=(()=>{class ze{constructor(ke,ct){this._renderer=ke,this._elementRef=ct,this.onChange=kt=>{},this.onTouched=()=>{}}setProperty(ke,ct){this._renderer.setProperty(this._elementRef.nativeElement,ke,ct)}registerOnTouched(ke){this.onTouched=ke}registerOnChange(ke){this.onChange=ke}setDisabledState(ke){this.setProperty("disabled",ke)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze})}return ze})(),m=(()=>{class ze extends y{static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const h=new n.InjectionToken(""),C={provide:h,useExisting:(0,n.forwardRef)(()=>v),multi:!0};let v=(()=>{class ze extends m{writeValue(ke){this.setProperty("checked",ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("change",function(Hn){return kt.onChange(Hn.target.checked)})("blur",function(){return kt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([C]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const M={provide:h,useExisting:(0,n.forwardRef)(()=>T),multi:!0},A=new n.InjectionToken("");let T=(()=>{class ze extends y{constructor(ke,ct,kt){super(ke,ct),this._compositionMode=kt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function E(){const ze=(0,i.\u0275getDOM)()?(0,i.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(ze.toLowerCase())}())}writeValue(ke){this.setProperty("value",ke??"")}_handleInput(ke){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ke)}_compositionStart(){this._composing=!0}_compositionEnd(ke){this._composing=!1,this._compositionMode&&this.onChange(ke)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,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(ct,kt){1&ct&&n.\u0275\u0275listener("input",function(Hn){return kt._handleInput(Hn.target.value)})("blur",function(){return kt.onTouched()})("compositionstart",function(){return kt._compositionStart()})("compositionend",function(Hn){return kt._compositionEnd(Hn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([M]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();function R(ze){return null==ze||("string"==typeof ze||Array.isArray(ze))&&0===ze.length}function N(ze){return null!=ze&&"number"==typeof ze.length}const I=new n.InjectionToken(""),L=new n.InjectionToken(""),O=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class z{static min(Ke){return F(Ke)}static max(Ke){return q(Ke)}static required(Ke){return X(Ke)}static requiredTrue(Ke){return ce(Ke)}static email(Ke){return K(Ke)}static minLength(Ke){return ne(Ke)}static maxLength(Ke){return Y(Ke)}static pattern(Ke){return H(Ke)}static nullValidator(Ke){return null}static compose(Ke){return be(Ke)}static composeAsync(Ke){return ye(Ke)}}function F(ze){return Ke=>{if(R(Ke.value)||R(ze))return null;const ke=parseFloat(Ke.value);return!isNaN(ke)&&ke{if(R(Ke.value)||R(ze))return null;const ke=parseFloat(Ke.value);return!isNaN(ke)&&ke>ze?{max:{max:ze,actual:Ke.value}}:null}}function X(ze){return R(ze.value)?{required:!0}:null}function ce(ze){return!0===ze.value?null:{required:!0}}function K(ze){return R(ze.value)||O.test(ze.value)?null:{email:!0}}function ne(ze){return Ke=>R(Ke.value)||!N(Ke.value)?null:Ke.value.lengthN(Ke.value)&&Ke.value.length>ze?{maxlength:{requiredLength:ze,actualLength:Ke.value.length}}:null}function H(ze){if(!ze)return ae;let Ke,ke;return"string"==typeof ze?(ke="","^"!==ze.charAt(0)&&(ke+="^"),ke+=ze,"$"!==ze.charAt(ze.length-1)&&(ke+="$"),Ke=new RegExp(ke)):(ke=ze.toString(),Ke=ze),ct=>{if(R(ct.value))return null;const kt=ct.value;return Ke.test(kt)?null:{pattern:{requiredPattern:ke,actualValue:kt}}}}function ae(ze){return null}function re(ze){return null!=ze}function W(ze){return(0,n.\u0275isPromise)(ze)?(0,d.Q)(ze):ze}function ee(ze){let Ke={};return ze.forEach(ke=>{Ke=null!=ke?{...Ke,...ke}:Ke}),0===Object.keys(Ke).length?null:Ke}function J(ze,Ke){return Ke.map(ke=>ke(ze))}function de(ze){return ze.map(Ke=>function G(ze){return!ze.validate}(Ke)?Ke:ke=>Ke.validate(ke))}function be(ze){if(!ze)return null;const Ke=ze.filter(re);return 0==Ke.length?null:function(ke){return ee(J(ke,Ke))}}function Ae(ze){return null!=ze?be(de(ze)):null}function ye(ze){if(!ze)return null;const Ke=ze.filter(re);return 0==Ke.length?null:function(ke){return function _(...ze){const Ke=(0,c.yu)(ze),{args:ke,keys:ct}=(0,a.Q)(ze),kt=new u._(Kn=>{const{length:Hn}=ke;if(!Hn)return void Kn.complete();const zi=new Array(Hn);let So=Hn,Do=Hn;for(let go=0;go{Fr||(Fr=!0,Do--),zi[go]=Xo},()=>So--,void 0,()=>{(!So||!Fr)&&(Do||Kn.next(ct?(0,b.q)(ct,zi):zi),Kn.complete())}))}});return Ke?kt.pipe((0,g.j)(Ke)):kt}(J(ke,Ke).map(W)).pipe((0,S.k)(ee))}}function le(ze){return null!=ze?ye(de(ze)):null}function Me(ze,Ke){return null===ze?[Ke]:Array.isArray(ze)?[...ze,Ke]:[ze,Ke]}function $e(ze){return ze._rawValidators}function qe(ze){return ze._rawAsyncValidators}function tt(ze){return ze?Array.isArray(ze)?ze:[ze]:[]}function mt(ze,Ke){return Array.isArray(ze)?ze.includes(Ke):ze===Ke}function st(ze,Ke){const ke=tt(Ke);return tt(ze).forEach(kt=>{mt(ke,kt)||ke.push(kt)}),ke}function ft(ze,Ke){return tt(Ke).filter(ke=>!mt(ze,ke))}class Qt{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(Ke){this._rawValidators=Ke||[],this._composedValidatorFn=Ae(this._rawValidators)}_setAsyncValidators(Ke){this._rawAsyncValidators=Ke||[],this._composedAsyncValidatorFn=le(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ke){this._onDestroyCallbacks.push(Ke)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ke=>Ke()),this._onDestroyCallbacks=[]}reset(Ke=void 0){this.control&&this.control.reset(Ke)}hasError(Ke,ke){return!!this.control&&this.control.hasError(Ke,ke)}getError(Ke,ke){return this.control?this.control.getError(Ke,ke):null}}class bt extends Qt{get formDirective(){return null}get path(){return null}}class Vt extends Qt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sn{constructor(Ke){this._cd=Ke}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let An=(()=>{class ze extends sn{constructor(ke){super(ke)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(Vt,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275classProp("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),vn=(()=>{class ze extends sn{constructor(ke){super(ke)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(bt,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275classProp("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)("ng-submitted",kt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Zt="VALID",Dt="INVALID",zt="PENDING",Ct="DISABLED";function Pt(ze){return(nn(ze)?ze.validators:ze)||null}function bn(ze,Ke){return(nn(Ke)?Ke.asyncValidators:ze)||null}function nn(ze){return null!=ze&&!Array.isArray(ze)&&"object"==typeof ze}function tr(ze,Ke,ke){const ct=ze.controls;if(!(Ke?Object.keys(ct):ct).length)throw new n.\u0275RuntimeError(1e3,"");if(!ct[ke])throw new n.\u0275RuntimeError(1001,"")}function Ir(ze,Ke,ke){ze._forEachChild((ct,kt)=>{if(void 0===ke[kt])throw new n.\u0275RuntimeError(1002,"")})}class Rr{constructor(Ke,ke){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ke),this._assignAsyncValidators(ke)}get validator(){return this._composedValidatorFn}set validator(Ke){this._rawValidators=this._composedValidatorFn=Ke}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ke){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ke}get parent(){return this._parent}get valid(){return this.status===Zt}get invalid(){return this.status===Dt}get pending(){return this.status==zt}get disabled(){return this.status===Ct}get enabled(){return this.status!==Ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ke){this._assignValidators(Ke)}setAsyncValidators(Ke){this._assignAsyncValidators(Ke)}addValidators(Ke){this.setValidators(st(Ke,this._rawValidators))}addAsyncValidators(Ke){this.setAsyncValidators(st(Ke,this._rawAsyncValidators))}removeValidators(Ke){this.setValidators(ft(Ke,this._rawValidators))}removeAsyncValidators(Ke){this.setAsyncValidators(ft(Ke,this._rawAsyncValidators))}hasValidator(Ke){return mt(this._rawValidators,Ke)}hasAsyncValidator(Ke){return mt(this._rawAsyncValidators,Ke)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ke={}){this.touched=!0,this._parent&&!Ke.onlySelf&&this._parent.markAsTouched(Ke)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ke=>Ke.markAllAsTouched())}markAsUntouched(Ke={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ke=>{ke.markAsUntouched({onlySelf:!0})}),this._parent&&!Ke.onlySelf&&this._parent._updateTouched(Ke)}markAsDirty(Ke={}){this.pristine=!1,this._parent&&!Ke.onlySelf&&this._parent.markAsDirty(Ke)}markAsPristine(Ke={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ke=>{ke.markAsPristine({onlySelf:!0})}),this._parent&&!Ke.onlySelf&&this._parent._updatePristine(Ke)}markAsPending(Ke={}){this.status=zt,!1!==Ke.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ke.onlySelf&&this._parent.markAsPending(Ke)}disable(Ke={}){const ke=this._parentMarkedDirty(Ke.onlySelf);this.status=Ct,this.errors=null,this._forEachChild(ct=>{ct.disable({...Ke,onlySelf:!0})}),this._updateValue(),!1!==Ke.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ke,skipPristineCheck:ke}),this._onDisabledChange.forEach(ct=>ct(!0))}enable(Ke={}){const ke=this._parentMarkedDirty(Ke.onlySelf);this.status=Zt,this._forEachChild(ct=>{ct.enable({...Ke,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ke.emitEvent}),this._updateAncestors({...Ke,skipPristineCheck:ke}),this._onDisabledChange.forEach(ct=>ct(!1))}_updateAncestors(Ke){this._parent&&!Ke.onlySelf&&(this._parent.updateValueAndValidity(Ke),Ke.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ke){this._parent=Ke}getRawValue(){return this.value}updateValueAndValidity(Ke={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zt||this.status===zt)&&this._runAsyncValidator(Ke.emitEvent)),!1!==Ke.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ke.onlySelf&&this._parent.updateValueAndValidity(Ke)}_updateTreeValidity(Ke={emitEvent:!0}){this._forEachChild(ke=>ke._updateTreeValidity(Ke)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ke.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ct:Zt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ke){if(this.asyncValidator){this.status=zt,this._hasOwnPendingAsyncValidator=!0;const ke=W(this.asyncValidator(this));this._asyncValidationSubscription=ke.subscribe(ct=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ct,{emitEvent:Ke})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ke,ke={}){this.errors=Ke,this._updateControlsErrors(!1!==ke.emitEvent)}get(Ke){let ke=Ke;return null==ke||(Array.isArray(ke)||(ke=ke.split(".")),0===ke.length)?null:ke.reduce((ct,kt)=>ct&&ct._find(kt),this)}getError(Ke,ke){const ct=ke?this.get(ke):this;return ct&&ct.errors?ct.errors[Ke]:null}hasError(Ke,ke){return!!this.getError(Ke,ke)}get root(){let Ke=this;for(;Ke._parent;)Ke=Ke._parent;return Ke}_updateControlsErrors(Ke){this.status=this._calculateStatus(),Ke&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ke)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Ct:this.errors?Dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zt)?zt:this._anyControlsHaveStatus(Dt)?Dt:Zt}_anyControlsHaveStatus(Ke){return this._anyControls(ke=>ke.status===Ke)}_anyControlsDirty(){return this._anyControls(Ke=>Ke.dirty)}_anyControlsTouched(){return this._anyControls(Ke=>Ke.touched)}_updatePristine(Ke={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ke.onlySelf&&this._parent._updatePristine(Ke)}_updateTouched(Ke={}){this.touched=this._anyControlsTouched(),this._parent&&!Ke.onlySelf&&this._parent._updateTouched(Ke)}_registerOnCollectionChange(Ke){this._onCollectionChange=Ke}_setUpdateStrategy(Ke){nn(Ke)&&null!=Ke.updateOn&&(this._updateOn=Ke.updateOn)}_parentMarkedDirty(Ke){return!Ke&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ke){return null}_assignValidators(Ke){this._rawValidators=Array.isArray(Ke)?Ke.slice():Ke,this._composedValidatorFn=function tn(ze){return Array.isArray(ze)?Ae(ze):ze||null}(this._rawValidators)}_assignAsyncValidators(Ke){this._rawAsyncValidators=Array.isArray(Ke)?Ke.slice():Ke,this._composedAsyncValidatorFn=function Tn(ze){return Array.isArray(ze)?le(ze):ze||null}(this._rawAsyncValidators)}}class ar extends Rr{constructor(Ke,ke,ct){super(Pt(ke),bn(ct,ke)),this.controls=Ke,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ke,ke){return this.controls[Ke]?this.controls[Ke]:(this.controls[Ke]=ke,ke.setParent(this),ke._registerOnCollectionChange(this._onCollectionChange),ke)}addControl(Ke,ke,ct={}){this.registerControl(Ke,ke),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}removeControl(Ke,ke={}){this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),delete this.controls[Ke],this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}setControl(Ke,ke,ct={}){this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),delete this.controls[Ke],ke&&this.registerControl(Ke,ke),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}contains(Ke){return this.controls.hasOwnProperty(Ke)&&this.controls[Ke].enabled}setValue(Ke,ke={}){Ir(this,0,Ke),Object.keys(Ke).forEach(ct=>{tr(this,!0,ct),this.controls[ct].setValue(Ke[ct],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Ke,ke={}){null!=Ke&&(Object.keys(Ke).forEach(ct=>{const kt=this.controls[ct];kt&&kt.patchValue(Ke[ct],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Ke={},ke={}){this._forEachChild((ct,kt)=>{ct.reset(Ke?Ke[kt]:null,{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this._reduceChildren({},(Ke,ke,ct)=>(Ke[ct]=ke.getRawValue(),Ke))}_syncPendingControls(){let Ke=this._reduceChildren(!1,(ke,ct)=>!!ct._syncPendingControls()||ke);return Ke&&this.updateValueAndValidity({onlySelf:!0}),Ke}_forEachChild(Ke){Object.keys(this.controls).forEach(ke=>{const ct=this.controls[ke];ct&&Ke(ct,ke)})}_setUpControls(){this._forEachChild(Ke=>{Ke.setParent(this),Ke._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ke){for(const[ke,ct]of Object.entries(this.controls))if(this.contains(ke)&&Ke(ct))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ke,ct,kt)=>((ct.enabled||this.disabled)&&(ke[kt]=ct.value),ke))}_reduceChildren(Ke,ke){let ct=Ke;return this._forEachChild((kt,Kn)=>{ct=ke(ct,kt,Kn)}),ct}_allControlsDisabled(){for(const Ke of Object.keys(this.controls))if(this.controls[Ke].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ke){return this.controls.hasOwnProperty(Ke)?this.controls[Ke]:null}}const _r=ar,qn=ze=>ze instanceof ar;class Fn extends ar{}const oi=ze=>ze instanceof Fn,vr=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Mr}),Mr="always";function Qn(ze,Ke){return[...Ke.path,ze]}function er(ze,Ke,ke=Mr){jn(ze,Ke),Ke.valueAccessor.writeValue(ze.value),(ze.disabled||"always"===ke)&&Ke.valueAccessor.setDisabledState?.(ze.disabled),function sr(ze,Ke){Ke.valueAccessor.registerOnChange(ke=>{ze._pendingValue=ke,ze._pendingChange=!0,ze._pendingDirty=!0,"change"===ze.updateOn&&kr(ze,Ke)})}(ze,Ke),function ot(ze,Ke){const ke=(ct,kt)=>{Ke.valueAccessor.writeValue(ct),kt&&Ke.viewToModelUpdate(ct)};ze.registerOnChange(ke),Ke._registerOnDestroy(()=>{ze._unregisterOnChange(ke)})}(ze,Ke),function si(ze,Ke){Ke.valueAccessor.registerOnTouched(()=>{ze._pendingTouched=!0,"blur"===ze.updateOn&&ze._pendingChange&&kr(ze,Ke),"submit"!==ze.updateOn&&ze.markAsTouched()})}(ze,Ke),function en(ze,Ke){if(Ke.valueAccessor.setDisabledState){const ke=ct=>{Ke.valueAccessor.setDisabledState(ct)};ze.registerOnDisabledChange(ke),Ke._registerOnDestroy(()=>{ze._unregisterOnDisabledChange(ke)})}}(ze,Ke)}function xr(ze,Ke,ke=!0){const ct=()=>{};Ke.valueAccessor&&(Ke.valueAccessor.registerOnChange(ct),Ke.valueAccessor.registerOnTouched(ct)),Zn(ze,Ke),ze&&(Ke._invokeOnDestroyCallbacks(),ze._registerOnCollectionChange(()=>{}))}function Si(ze,Ke){ze.forEach(ke=>{ke.registerOnValidatorChange&&ke.registerOnValidatorChange(Ke)})}function jn(ze,Ke){const ke=$e(ze);null!==Ke.validator?ze.setValidators(Me(ke,Ke.validator)):"function"==typeof ke&&ze.setValidators([ke]);const ct=qe(ze);null!==Ke.asyncValidator?ze.setAsyncValidators(Me(ct,Ke.asyncValidator)):"function"==typeof ct&&ze.setAsyncValidators([ct]);const kt=()=>ze.updateValueAndValidity();Si(Ke._rawValidators,kt),Si(Ke._rawAsyncValidators,kt)}function Zn(ze,Ke){let ke=!1;if(null!==ze){if(null!==Ke.validator){const kt=$e(ze);if(Array.isArray(kt)&&kt.length>0){const Kn=kt.filter(Hn=>Hn!==Ke.validator);Kn.length!==kt.length&&(ke=!0,ze.setValidators(Kn))}}if(null!==Ke.asyncValidator){const kt=qe(ze);if(Array.isArray(kt)&&kt.length>0){const Kn=kt.filter(Hn=>Hn!==Ke.asyncValidator);Kn.length!==kt.length&&(ke=!0,ze.setAsyncValidators(Kn))}}}const ct=()=>{};return Si(Ke._rawValidators,ct),Si(Ke._rawAsyncValidators,ct),ke}function kr(ze,Ke){ze._pendingDirty&&ze.markAsDirty(),ze.setValue(ze._pendingValue,{emitModelToViewChange:!1}),Ke.viewToModelUpdate(ze._pendingValue),ze._pendingChange=!1}function Ot(ze,Ke){jn(ze,Ke)}function zn(ze,Ke){if(!ze.hasOwnProperty("model"))return!1;const ke=ze.model;return!!ke.isFirstChange()||!Object.is(Ke,ke.currentValue)}function Ar(ze,Ke){ze._syncPendingControls(),Ke.forEach(ke=>{const ct=ke.control;"submit"===ct.updateOn&&ct._pendingChange&&(ke.viewToModelUpdate(ct._pendingValue),ct._pendingChange=!1)})}function wr(ze,Ke){if(!Ke)return null;let ke,ct,kt;return Array.isArray(Ke),Ke.forEach(Kn=>{Kn.constructor===T?ke=Kn:function Er(ze){return Object.getPrototypeOf(ze.constructor)===m}(Kn)?ct=Kn:kt=Kn}),kt||ct||ke||null}const un={provide:bt,useExisting:(0,n.forwardRef)(()=>V)},B=Promise.resolve();let V=(()=>{class ze extends bt{constructor(ke,ct,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new ar({},Ae(ke),le(ct))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ke){B.then(()=>{const ct=this._findContainer(ke.path);ke.control=ct.registerControl(ke.name,ke.control),er(ke.control,ke,this.callSetDisabledState),ke.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ke)})}getControl(ke){return this.form.get(ke.path)}removeControl(ke){B.then(()=>{const ct=this._findContainer(ke.path);ct&&ct.removeControl(ke.name),this._directives.delete(ke)})}addFormGroup(ke){B.then(()=>{const ct=this._findContainer(ke.path),kt=new ar({});Ot(kt,ke),ct.registerControl(ke.name,kt),kt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ke){B.then(()=>{const ct=this._findContainer(ke.path);ct&&ct.removeControl(ke.name)})}getFormGroup(ke){return this.form.get(ke.path)}updateModel(ke,ct){B.then(()=>{this.form.get(ke.path).setValue(ct)})}setValue(ke){this.control.setValue(ke)}onSubmit(ke){return this.submitted=!0,Ar(this.form,this._directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ke){return ke.pop(),ke.length?this.form.get(ke):this.form}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(vr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("submit",function(Hn){return kt.onSubmit(Hn)})("reset",function(){return kt.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([un]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();function ue(ze,Ke){const ke=ze.indexOf(Ke);ke>-1&&ze.splice(ke,1)}function Ne(ze){return"object"==typeof ze&&null!==ze&&2===Object.keys(ze).length&&"value"in ze&&"disabled"in ze}const Ie=class extends Rr{constructor(Ke=null,ke,ct){super(Pt(ke),bn(ct,ke)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ke),this._setUpdateStrategy(ke),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nn(ke)&&(ke.nonNullable||ke.initialValueIsDefault)&&(this.defaultValue=Ne(Ke)?Ke.value:Ke)}setValue(Ke,ke={}){this.value=this._pendingValue=Ke,this._onChange.length&&!1!==ke.emitModelToViewChange&&this._onChange.forEach(ct=>ct(this.value,!1!==ke.emitViewToModelChange)),this.updateValueAndValidity(ke)}patchValue(Ke,ke={}){this.setValue(Ke,ke)}reset(Ke=this.defaultValue,ke={}){this._applyFormState(Ke),this.markAsPristine(ke),this.markAsUntouched(ke),this.setValue(this.value,ke),this._pendingChange=!1}_updateValue(){}_anyControls(Ke){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ke){this._onChange.push(Ke)}_unregisterOnChange(Ke){ue(this._onChange,Ke)}registerOnDisabledChange(Ke){this._onDisabledChange.push(Ke)}_unregisterOnDisabledChange(Ke){ue(this._onDisabledChange,Ke)}_forEachChild(Ke){}_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(Ke){Ne(Ke)?(this.value=this._pendingValue=Ke.value,Ke.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ke}},me=Ie,Te=ze=>ze instanceof Ie;let et=(()=>{class ze extends bt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Qn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const mn={provide:bt,useExisting:(0,n.forwardRef)(()=>_n)};let _n=(()=>{class ze extends et{constructor(ke,ct,kt){super(),this.name="",this._parent=ke,this._setValidators(ct),this._setAsyncValidators(kt)}_checkParentType(){}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(bt,5),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([mn]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const yn={provide:Vt,useExisting:(0,n.forwardRef)(()=>Gt)},gn=Promise.resolve();let Gt=(()=>{class ze extends Vt{constructor(ke,ct,kt,Kn,Hn,zi){super(),this._changeDetectorRef=Hn,this.callSetDisabledState=zi,this.control=new Ie,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ke,this._setValidators(ct),this._setAsyncValidators(kt),this.valueAccessor=wr(0,Kn)}ngOnChanges(ke){if(this._checkForErrors(),!this._registered||"name"in ke){if(this._registered&&(this._checkName(),this.formDirective)){const ct=ke.name.previousValue;this.formDirective.removeControl({name:ct,path:this._getPath(ct)})}this._setUpControl()}"isDisabled"in ke&&this._updateDisabled(ke),zn(ke,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(ke){this.viewModel=ke,this.update.emit(ke)}_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(){er(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(ke){gn.then(()=>{this.control.setValue(ke,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ke){const ct=ke.isDisabled.currentValue,kt=0!==ct&&(0,n.booleanAttribute)(ct);gn.then(()=>{kt&&!this.control.disabled?this.control.disable():!kt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ke){return this._parent?Qn(ke,this._parent):[ke]}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(bt,9),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(h,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(vr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"],options:[n.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([yn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})(),Nn=(()=>{class ze{static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ze})();const cr={provide:h,useExisting:(0,n.forwardRef)(()=>rr),multi:!0};let rr=(()=>{class ze extends m{writeValue(ke){this.setProperty("value",ke??"")}registerOnChange(ke){this.onChange=ct=>{ke(""==ct?null:parseFloat(ct))}}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("input",function(Hn){return kt.onChange(Hn.target.value)})("blur",function(){return kt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([cr]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Ur={provide:h,useExisting:(0,n.forwardRef)(()=>uo),multi:!0};let at=(()=>{class ze{constructor(){this._accessors=[]}add(ke,ct){this._accessors.push([ke,ct])}remove(ke){for(let ct=this._accessors.length-1;ct>=0;--ct)if(this._accessors[ct][1]===ke)return void this._accessors.splice(ct,1)}select(ke){this._accessors.forEach(ct=>{this._isSameGroup(ct,ke)&&ct[1]!==ke&&ct[1].fireUncheck(ke.value)})}_isSameGroup(ke,ct){return!!ke[0].control&&ke[0]._parent===ct._control._parent&&ke[1].name===ct.name}static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),uo=(()=>{class ze extends m{constructor(ke,ct,kt,Kn){super(ke,ct),this._registry=kt,this._injector=Kn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(vr,{optional:!0})??Mr}ngOnInit(){this._control=this._injector.get(Vt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ke){this._state=ke===this.value,this.setProperty("checked",this._state)}registerOnChange(ke){this._fn=ke,this.onChange=()=>{ke(this.value),this._registry.select(this)}}setDisabledState(ke){(this.setDisabledStateFired||ke||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ke),this.setDisabledStateFired=!0}fireUncheck(ke){this.writeValue(ke)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(at),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("change",function(){return kt.onChange()})("blur",function(){return kt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Ur]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const vi={provide:h,useExisting:(0,n.forwardRef)(()=>Pr),multi:!0};let Pr=(()=>{class ze extends m{writeValue(ke){this.setProperty("value",parseFloat(ke))}registerOnChange(ke){this.onChange=ct=>{ke(""==ct?null:parseFloat(ct))}}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("change",function(Hn){return kt.onChange(Hn.target.value)})("input",function(Hn){return kt.onChange(Hn.target.value)})("blur",function(){return kt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const In=new n.InjectionToken(""),Gn={provide:Vt,useExisting:(0,n.forwardRef)(()=>ni)};let ni=(()=>{class ze extends Vt{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,ct,kt,Kn,Hn){super(),this._ngModelWarningConfig=Kn,this.callSetDisabledState=Hn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ke),this._setAsyncValidators(ct),this.valueAccessor=wr(0,kt)}ngOnChanges(ke){if(this._isControlChanged(ke)){const ct=ke.form.previousValue;ct&&xr(ct,this,!1),er(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}zn(ke,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}_isControlChanged(ke){return ke.hasOwnProperty("form")}static#t=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(h,10),n.\u0275\u0275directiveInject(In,8),n.\u0275\u0275directiveInject(vr,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formControl",""]],inputs:{form:[n.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})();const Dr={provide:bt,useExisting:(0,n.forwardRef)(()=>pi)};let pi=(()=>{class ze extends bt{constructor(ke,ct,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ke),this._setAsyncValidators(ct)}ngOnChanges(ke){this._checkFormPresent(),ke.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Zn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ke){const ct=this.form.get(ke.path);return er(ct,ke,this.callSetDisabledState),ct.updateValueAndValidity({emitEvent:!1}),this.directives.push(ke),ct}getControl(ke){return this.form.get(ke.path)}removeControl(ke){xr(ke.control||null,ke,!1),function Yn(ze,Ke){const ke=ze.indexOf(Ke);ke>-1&&ze.splice(ke,1)}(this.directives,ke)}addFormGroup(ke){this._setUpFormContainer(ke)}removeFormGroup(ke){this._cleanUpFormContainer(ke)}getFormGroup(ke){return this.form.get(ke.path)}addFormArray(ke){this._setUpFormContainer(ke)}removeFormArray(ke){this._cleanUpFormContainer(ke)}getFormArray(ke){return this.form.get(ke.path)}updateModel(ke,ct){this.form.get(ke.path).setValue(ct)}onSubmit(ke){return this.submitted=!0,Ar(this.form,this.directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_updateDomValue(){this.directives.forEach(ke=>{const ct=ke.control,kt=this.form.get(ke.path);ct!==kt&&(xr(ct||null,ke),Te(kt)&&(er(kt,ke,this.callSetDisabledState),ke.control=kt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ke){const ct=this.form.get(ke.path);Ot(ct,ke),ct.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ke){if(this.form){const ct=this.form.get(ke.path);ct&&function It(ze,Ke){return Zn(ze,Ke)}(ct,ke)&&ct.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jn(this.form,this),this._oldForm&&Zn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(vr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formGroup",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("submit",function(Hn){return kt.onSubmit(Hn)})("reset",function(){return kt.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Dr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})();const Rn={provide:bt,useExisting:(0,n.forwardRef)(()=>ai)};let ai=(()=>{class ze extends et{constructor(ke,ct,kt){super(),this.name=null,this._parent=ke,this._setValidators(ct),this._setAsyncValidators(kt)}_checkParentType(){Ri(this._parent)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(bt,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Kr={provide:bt,useExisting:(0,n.forwardRef)(()=>qr)};let qr=(()=>{class ze extends bt{constructor(ke,ct,kt){super(),this.name=null,this._parent=ke,this._setValidators(ct),this._setAsyncValidators(kt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Qn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ri(this._parent)}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(bt,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Kr]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();function Ri(ze){return!(ze instanceof ai||ze instanceof pi||ze instanceof qr)}const dr={provide:Vt,useExisting:(0,n.forwardRef)(()=>Vi)};let Vi=(()=>{class ze extends Vt{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,ct,kt,Kn,Hn){super(),this._ngModelWarningConfig=Hn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ke,this._setValidators(ct),this._setAsyncValidators(kt),this.valueAccessor=wr(0,Kn)}ngOnChanges(ke){this._added||this._setUpControl(),zn(ke,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}get path(){return Qn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(bt,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(h,10),n.\u0275\u0275directiveInject(In,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formControlName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})();const Mo={provide:h,useExisting:(0,n.forwardRef)(()=>eo),multi:!0};function bo(ze,Ke){return null==ze?`${Ke}`:(Ke&&"object"==typeof Ke&&(Ke="Object"),`${ze}: ${Ke}`.slice(0,50))}let eo=(()=>{class ze extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){this.value=ke;const kt=bo(this._getOptionId(ke),ke);this.setProperty("value",kt)}registerOnChange(ke){this.onChange=ct=>{this.value=this._getOptionValue(ct),ke(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ke){for(const ct of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ct),ke))return ct;return null}_getOptionValue(ke){const ct=function zr(ze){return ze.split(":")[0]}(ke);return this._optionMap.has(ct)?this._optionMap.get(ct):ke}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("change",function(Hn){return kt.onChange(Hn.target.value)})("blur",function(){return kt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Mo]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),Gi=(()=>{class ze{constructor(ke,ct,kt){this._element=ke,this._renderer=ct,this._select=kt,this._select&&(this.id=this._select._registerOption())}set ngValue(ke){null!=this._select&&(this._select._optionMap.set(this.id,ke),this._setElementValue(bo(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._setElementValue(ke),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(eo,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ze})();const to={provide:h,useExisting:(0,n.forwardRef)(()=>Fi),multi:!0};function $r(ze,Ke){return null==ze?`${Ke}`:("string"==typeof Ke&&(Ke=`'${Ke}'`),Ke&&"object"==typeof Ke&&(Ke="Object"),`${ze}: ${Ke}`.slice(0,50))}let Fi=(()=>{class ze extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){let ct;if(this.value=ke,Array.isArray(ke)){const kt=ke.map(Kn=>this._getOptionId(Kn));ct=(Kn,Hn)=>{Kn._setSelected(kt.indexOf(Hn.toString())>-1)}}else ct=(kt,Kn)=>{kt._setSelected(!1)};this._optionMap.forEach(ct)}registerOnChange(ke){this.onChange=ct=>{const kt=[],Kn=ct.selectedOptions;if(void 0!==Kn){const Hn=Kn;for(let zi=0;zi{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ct,kt){1&ct&&n.\u0275\u0275listener("change",function(Hn){return kt.onChange(Hn.target)})("blur",function(){return kt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([to]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),ei=(()=>{class ze{constructor(ke,ct,kt){this._element=ke,this._renderer=ct,this._select=kt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ke){null!=this._select&&(this._value=ke,this._setElementValue($r(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._select?(this._value=ke,this._setElementValue($r(this.id,ke)),this._select.writeValue(this._select.value)):this._setElementValue(ke)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}_setSelected(ke){this._renderer.setProperty(this._element.nativeElement,"selected",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ct){return new(ct||ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Fi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ze})();function lr(ze){return"number"==typeof ze?ze:parseInt(ze,10)}function mo(ze){return"number"==typeof ze?ze:parseFloat(ze)}let xi=(()=>{class ze{constructor(){this._validator=ae}ngOnChanges(ke){if(this.inputName in ke){const ct=this.normalizeInput(ke[this.inputName].currentValue);this._enabled=this.enabled(ct),this._validator=this._enabled?this.createValidator(ct):ae,this._onChange&&this._onChange()}}validate(ke){return this._validator(ke)}registerOnValidatorChange(ke){this._onChange=ke}enabled(ke){return null!=ke}static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,features:[n.\u0275\u0275NgOnChangesFeature]})}return ze})();const Mi={provide:I,useExisting:(0,n.forwardRef)(()=>po),multi:!0};let po=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ke=>mo(ke),this.createValidator=ke=>q(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("max",kt._enabled?kt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Mi]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const ho={provide:I,useExisting:(0,n.forwardRef)(()=>Vr),multi:!0};let Vr=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ke=>mo(ke),this.createValidator=ke=>F(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("min",kt._enabled?kt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([ho]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const yo={provide:I,useExisting:(0,n.forwardRef)(()=>Qr),multi:!0},Ni={provide:I,useExisting:(0,n.forwardRef)(()=>ko),multi:!0};let Qr=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>X}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("required",kt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([yo]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),ko=(()=>{class ze extends Qr{constructor(){super(...arguments),this.createValidator=ke=>ce}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("required",kt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const ji={provide:I,useExisting:(0,n.forwardRef)(()=>Ji),multi:!0};let Ji=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>K}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([ji]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Yi={provide:I,useExisting:(0,n.forwardRef)(()=>Co),multi:!0};let Co=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ke=>lr(ke),this.createValidator=ke=>ne(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("minlength",kt._enabled?kt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Yi]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const oo={provide:I,useExisting:(0,n.forwardRef)(()=>Yo),multi:!0};let Yo=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ke=>lr(ke),this.createValidator=ke=>Y(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("maxlength",kt._enabled?kt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([oo]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const fo={provide:I,useExisting:(0,n.forwardRef)(()=>xo),multi:!0};let xo=(()=>{class ze extends xi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ke=>ke,this.createValidator=ke=>H(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ct,kt){2&ct&&n.\u0275\u0275attribute("pattern",kt._enabled?kt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([fo]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),Lo=(()=>{class ze{static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return ze})();class Ki extends Rr{constructor(Ke,ke,ct){super(Pt(ke),bn(ct,ke)),this.controls=Ke,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ke){return this.controls[this._adjustIndex(Ke)]}push(Ke,ke={}){this.controls.push(Ke),this._registerControl(Ke),this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}insert(Ke,ke,ct={}){this.controls.splice(Ke,0,ke),this._registerControl(ke),this.updateValueAndValidity({emitEvent:ct.emitEvent})}removeAt(Ke,ke={}){let ct=this._adjustIndex(Ke);ct<0&&(ct=0),this.controls[ct]&&this.controls[ct]._registerOnCollectionChange(()=>{}),this.controls.splice(ct,1),this.updateValueAndValidity({emitEvent:ke.emitEvent})}setControl(Ke,ke,ct={}){let kt=this._adjustIndex(Ke);kt<0&&(kt=0),this.controls[kt]&&this.controls[kt]._registerOnCollectionChange(()=>{}),this.controls.splice(kt,1),ke&&(this.controls.splice(kt,0,ke),this._registerControl(ke)),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ke,ke={}){Ir(this,0,Ke),Ke.forEach((ct,kt)=>{tr(this,!1,kt),this.at(kt).setValue(ct,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Ke,ke={}){null!=Ke&&(Ke.forEach((ct,kt)=>{this.at(kt)&&this.at(kt).patchValue(ct,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Ke=[],ke={}){this._forEachChild((ct,kt)=>{ct.reset(Ke[kt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this.controls.map(Ke=>Ke.getRawValue())}clear(Ke={}){this.controls.length<1||(this._forEachChild(ke=>ke._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ke.emitEvent}))}_adjustIndex(Ke){return Ke<0?Ke+this.length:Ke}_syncPendingControls(){let Ke=this.controls.reduce((ke,ct)=>!!ct._syncPendingControls()||ke,!1);return Ke&&this.updateValueAndValidity({onlySelf:!0}),Ke}_forEachChild(Ke){this.controls.forEach((ke,ct)=>{Ke(ke,ct)})}_updateValue(){this.value=this.controls.filter(Ke=>Ke.enabled||this.disabled).map(Ke=>Ke.value)}_anyControls(Ke){return this.controls.some(ke=>ke.enabled&&Ke(ke))}_setUpControls(){this._forEachChild(Ke=>this._registerControl(Ke))}_allControlsDisabled(){for(const Ke of this.controls)if(Ke.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ke){Ke.setParent(this),Ke._registerOnCollectionChange(this._onCollectionChange)}_find(Ke){return this.at(Ke)??null}}const Ro=Ki,_o=ze=>ze instanceof Ki;function Fo(ze){return!!ze&&(void 0!==ze.asyncValidators||void 0!==ze.validators||void 0!==ze.updateOn)}let co=(()=>{class ze{constructor(){this.useNonNullable=!1}get nonNullable(){const ke=new ze;return ke.useNonNullable=!0,ke}group(ke,ct=null){const kt=this._reduceControls(ke);let Kn={};return Fo(ct)?Kn=ct:null!==ct&&(Kn.validators=ct.validator,Kn.asyncValidators=ct.asyncValidator),new ar(kt,Kn)}record(ke,ct=null){const kt=this._reduceControls(ke);return new Fn(kt,ct)}control(ke,ct,kt){let Kn={};return this.useNonNullable?(Fo(ct)?Kn=ct:(Kn.validators=ct,Kn.asyncValidators=kt),new Ie(ke,{...Kn,nonNullable:!0})):new Ie(ke,ct,kt)}array(ke,ct,kt){const Kn=ke.map(Hn=>this._createControl(Hn));return new Ki(Kn,ct,kt)}_reduceControls(ke){const ct={};return Object.keys(ke).forEach(kt=>{ct[kt]=this._createControl(ke[kt])}),ct}_createControl(ke){return ke instanceof Ie||ke instanceof Rr?ke:Array.isArray(ke)?this.control(ke[0],ke.length>1?ke[1]:null,ke.length>2?ke[2]:null):this.control(ke)}static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),os=(()=>{class ze{static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:()=>(0,n.inject)(co).nonNullable,providedIn:"root"})}return ze})(),Eo=(()=>{class ze extends co{group(ke,ct=null){return super.group(ke,ct)}control(ke,ct,kt){return super.control(ke,ct,kt)}array(ke,ct,kt){return super.array(ke,ct,kt)}static#e=this.\u0275fac=(()=>{let ke;return function(kt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(kt||ze)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();const wo=new n.Version("17.2.3");let ds=(()=>{class ze{static withConfig(ke){return{ngModule:ze,providers:[{provide:vr,useValue:ke.callSetDisabledState??Mr}]}}static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Lo]})}return ze})(),Qo=(()=>{class ze{static withConfig(ke){return{ngModule:ze,providers:[{provide:In,useValue:ke.warnOnNgModelWithFormControl??"always"},{provide:vr,useValue:ke.callSetDisabledState??Mr}]}}static#e=this.\u0275fac=function(ct){return new(ct||ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Lo]})}return ze})()},44556:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>No,NoopAnimationsModule:()=>so,provideAnimations:()=>ss,provideNoopAnimations:()=>hs,\u0275InjectableAnimationEngine:()=>qi});var n=o(54496),i=o(14476),d=function(Je){return Je[Je.State=0]="State",Je[Je.Transition=1]="Transition",Je[Je.Sequence=2]="Sequence",Je[Je.Group=3]="Group",Je[Je.Animate=4]="Animate",Je[Je.Keyframes=5]="Keyframes",Je[Je.Style=6]="Style",Je[Je.Trigger=7]="Trigger",Je[Je.Reference=8]="Reference",Je[Je.AnimateChild=9]="AnimateChild",Je[Je.AnimateRef=10]="AnimateRef",Je[Je.Query=11]="Query",Je[Je.Stagger=12]="Stagger",Je}(d||{});const u="*";function g(Je){return{type:d.Style,styles:Je,offset:null}}class O{constructor(ie=0,pe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ie+pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}onStart(ie){this._originalOnStartFns.push(ie),this._onStartFns.push(ie)}onDone(ie){this._originalOnDoneFns.push(ie),this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ie=>ie()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ie){this._position=this.totalTime?ie*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ie){const pe="start"==ie?this._onStartFns:this._onDoneFns;pe.forEach(Le=>Le()),pe.length=0}}class z{constructor(ie){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ie;let pe=0,Le=0,Ze=0;const wt=this.players.length;0==wt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Rt=>{Rt.onDone(()=>{++pe==wt&&this._onFinish()}),Rt.onDestroy(()=>{++Le==wt&&this._onDestroy()}),Rt.onStart(()=>{++Ze==wt&&this._onStart()})}),this.totalTime=this.players.reduce((Rt,Bt)=>Math.max(Rt,Bt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}init(){this.players.forEach(ie=>ie.init())}onStart(ie){this._onStartFns.push(ie)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ie=>ie()),this._onStartFns=[])}onDone(ie){this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ie=>ie.play())}pause(){this.players.forEach(ie=>ie.pause())}restart(){this.players.forEach(ie=>ie.restart())}finish(){this._onFinish(),this.players.forEach(ie=>ie.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ie=>ie.destroy()),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this.players.forEach(ie=>ie.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ie){const pe=ie*this.totalTime;this.players.forEach(Le=>{const Ze=Le.totalTime?Math.min(1,pe/Le.totalTime):1;Le.setPosition(Ze)})}getPosition(){const ie=this.players.reduce((pe,Le)=>null===pe||Le.totalTime>pe.totalTime?Le:pe,null);return null!=ie?ie.getPosition():0}beforeDestroy(){this.players.forEach(ie=>{ie.beforeDestroy&&ie.beforeDestroy()})}triggerCallback(ie){const pe="start"==ie?this._onStartFns:this._onDoneFns;pe.forEach(Le=>Le()),pe.length=0}}function X(Je){return new n.\u0275RuntimeError(3e3,!1)}function Qe(Je){switch(Je.length){case 0:return new O;case 1:return Je[0];default:return new z(Je)}}function Re(Je,ie,pe=new Map,Le=new Map){const Ze=[],wt=[];let Rt=-1,Bt=null;if(ie.forEach(Yt=>{const Cn=Yt.get("offset"),$n=Cn==Rt,Jn=$n&&Bt||new Map;Yt.forEach((Yr,hr)=>{let nr=hr,mr=Yr;if("offset"!==hr)switch(nr=Je.normalizePropertyName(nr,Ze),mr){case"!":mr=pe.get(hr);break;case u:mr=Le.get(hr);break;default:mr=Je.normalizeStyleValue(hr,nr,mr,Ze)}Jn.set(nr,mr)}),$n||wt.push(Jn),Bt=Jn,Rt=Cn}),Ze.length)throw function Qt(Je){return new n.\u0275RuntimeError(3502,!1)}();return wt}function lt(Je,ie,pe,Le){switch(ie){case"start":Je.onStart(()=>Le(pe&&He(pe,"start",Je)));break;case"done":Je.onDone(()=>Le(pe&&He(pe,"done",Je)));break;case"destroy":Je.onDestroy(()=>Le(pe&&He(pe,"destroy",Je)))}}function He(Je,ie,pe){const wt=gt(Je.element,Je.triggerName,Je.fromState,Je.toState,ie||Je.phaseName,pe.totalTime??Je.totalTime,!!pe.disabled),Rt=Je._data;return null!=Rt&&(wt._data=Rt),wt}function gt(Je,ie,pe,Le,Ze="",wt=0,Rt){return{element:Je,triggerName:ie,fromState:pe,toState:Le,phaseName:Ze,totalTime:wt,disabled:!!Rt}}function dt(Je,ie,pe){let Le=Je.get(ie);return Le||Je.set(ie,Le=pe),Le}function Mt(Je){const ie=Je.indexOf(":");return[Je.substring(1,ie),Je.slice(ie+1)]}const nt=typeof document>"u"?null:document.documentElement;function $t(Je){const ie=Je.parentNode||Je.host||null;return ie===nt?null:ie}let Tt=null,Ut=!1;function Ct(Je,ie){for(;ie;){if(ie===Je)return!0;ie=$t(ie)}return!1}function Pt(Je,ie,pe){if(pe)return Array.from(Je.querySelectorAll(ie));const Le=Je.querySelector(ie);return Le?[Le]:[]}let bn=(()=>{class Je{validateStyleProperty(pe){return function Zt(Je){Tt||(Tt=function zt(){return typeof document<"u"?document.body:null}()||{},Ut=!!Tt.style&&"WebkitAppearance"in Tt.style);let ie=!0;return Tt.style&&!function pt(Je){return"ebkit"==Je.substring(1,6)}(Je)&&(ie=Je in Tt.style,!ie&&Ut&&(ie="Webkit"+Je.charAt(0).toUpperCase()+Je.slice(1)in Tt.style)),ie}(pe)}matchesElement(pe,Le){return!1}containsElement(pe,Le){return Ct(pe,Le)}getParentElement(pe){return $t(pe)}query(pe,Le,Ze){return Pt(pe,Le,Ze)}computeStyle(pe,Le,Ze){return Ze||""}animate(pe,Le,Ze,wt,Rt,Bt=[],Yt){return new O(Ze,wt)}static#e=this.\u0275fac=function(Le){return new(Le||Je)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}return Je})();class Tn{static#e=this.NOOP=new bn}class nn{}const Ir=1e3,yr="ng-enter",_r="ng-leave",qn="ng-trigger",Fn=".ng-trigger",oi="ng-animating",vr=".ng-animating";function Mr(Je){if("number"==typeof Je)return Je;const ie=Je.match(/^(-?[\.\d]+)(m?s)/);return!ie||ie.length<2?0:Qn(parseFloat(ie[1]),ie[2])}function Qn(Je,ie){return"s"===ie?Je*Ir:Je}function er(Je,ie,pe){return Je.hasOwnProperty("duration")?Je:function xr(Je,ie,pe){let Ze,wt=0,Rt="";if("string"==typeof Je){const Bt=Je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Bt)return ie.push(X()),{duration:0,delay:0,easing:""};Ze=Qn(parseFloat(Bt[1]),Bt[2]);const Yt=Bt[3];null!=Yt&&(wt=Qn(parseFloat(Yt),Bt[4]));const Cn=Bt[5];Cn&&(Rt=Cn)}else Ze=Je;if(!pe){let Bt=!1,Yt=ie.length;Ze<0&&(ie.push(function ce(){return new n.\u0275RuntimeError(3100,!1)}()),Bt=!0),wt<0&&(ie.push(function K(){return new n.\u0275RuntimeError(3101,!1)}()),Bt=!0),Bt&&ie.splice(Yt,0,X())}return{duration:Ze,delay:wt,easing:Rt}}(Je,ie,pe)}function jn(Je,ie,pe){ie.forEach((Le,Ze)=>{const wt=rn(Ze);pe&&!pe.has(Ze)&&pe.set(Ze,Je.style[wt]),Je.style[wt]=Le})}function Zn(Je,ie){ie.forEach((pe,Le)=>{const Ze=rn(Le);Je.style[Ze]=""})}function sr(Je){return Array.isArray(Je)?1==Je.length?Je[0]:function l(Je,ie=null){return{type:d.Sequence,steps:Je,options:ie}}(Je):Je}const kr=new RegExp("{{\\s*(.+?)\\s*}}","g");function ot(Je){let ie=[];if("string"==typeof Je){let pe;for(;pe=kr.exec(Je);)ie.push(pe[1]);kr.lastIndex=0}return ie}function Ot(Je,ie,pe){const Le=`${Je}`,Ze=Le.replace(kr,(wt,Rt)=>{let Bt=ie[Rt];return null==Bt&&(pe.push(function Y(Je){return new n.\u0275RuntimeError(3003,!1)}()),Bt=""),Bt.toString()});return Ze==Le?Je:Ze}const It=/-+([a-z0-9])/g;function rn(Je){return Je.replace(It,(...ie)=>ie[1].toUpperCase())}function Xn(Je,ie,pe){switch(ie.type){case d.Trigger:return Je.visitTrigger(ie,pe);case d.State:return Je.visitState(ie,pe);case d.Transition:return Je.visitTransition(ie,pe);case d.Sequence:return Je.visitSequence(ie,pe);case d.Group:return Je.visitGroup(ie,pe);case d.Animate:return Je.visitAnimate(ie,pe);case d.Keyframes:return Je.visitKeyframes(ie,pe);case d.Style:return Je.visitStyle(ie,pe);case d.Reference:return Je.visitReference(ie,pe);case d.AnimateChild:return Je.visitAnimateChild(ie,pe);case d.AnimateRef:return Je.visitAnimateRef(ie,pe);case d.Query:return Je.visitQuery(ie,pe);case d.Stagger:return Je.visitStagger(ie,pe);default:throw function H(Je){return new n.\u0275RuntimeError(3004,!1)}()}}function zn(Je,ie){return window.getComputedStyle(Je)[ie]}const Er=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Ar extends nn{normalizePropertyName(ie,pe){return rn(ie)}normalizeStyleValue(ie,pe,Le,Ze){let wt="";const Rt=Le.toString().trim();if(Er.has(pe)&&0!==Le&&"0"!==Le)if("number"==typeof Le)wt="px";else{const Bt=Le.match(/^[+-]?[\d\.]+([a-z]*)$/);Bt&&0==Bt[1].length&&Ze.push(function ae(Je,ie){return new n.\u0275RuntimeError(3005,!1)}())}return Rt+wt}}const ue="*";const Te=new Set(["true","1"]),et=new Set(["false","0"]);function _t(Je,ie){const pe=Te.has(Je)||et.has(Je),Le=Te.has(ie)||et.has(ie);return(Ze,wt)=>{let Rt=Je==ue||Je==Ze,Bt=ie==ue||ie==wt;return!Rt&&pe&&"boolean"==typeof Ze&&(Rt=Ze?Te.has(Je):et.has(Je)),!Bt&&Le&&"boolean"==typeof wt&&(Bt=wt?Te.has(ie):et.has(ie)),Rt&&Bt}}const Nt=new RegExp("s*:selfs*,?","g");function Jt(Je,ie,pe,Le){return new _n(Je).build(ie,pe,Le)}class _n{constructor(ie){this._driver=ie}build(ie,pe,Le){const Ze=new Gt(pe);return this._resetContextStyleTimingState(Ze),Xn(this,sr(ie),Ze)}_resetContextStyleTimingState(ie){ie.currentQuerySelector="",ie.collectedStyles=new Map,ie.collectedStyles.set("",new Map),ie.currentTime=0}visitTrigger(ie,pe){let Le=pe.queryCount=0,Ze=pe.depCount=0;const wt=[],Rt=[];return"@"==ie.name.charAt(0)&&pe.errors.push(function re(){return new n.\u0275RuntimeError(3006,!1)}()),ie.definitions.forEach(Bt=>{if(this._resetContextStyleTimingState(pe),Bt.type==d.State){const Yt=Bt,Cn=Yt.name;Cn.toString().split(/\s*,\s*/).forEach($n=>{Yt.name=$n,wt.push(this.visitState(Yt,pe))}),Yt.name=Cn}else if(Bt.type==d.Transition){const Yt=this.visitTransition(Bt,pe);Le+=Yt.queryCount,Ze+=Yt.depCount,Rt.push(Yt)}else pe.errors.push(function W(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:d.Trigger,name:ie.name,states:wt,transitions:Rt,queryCount:Le,depCount:Ze,options:null}}visitState(ie,pe){const Le=this.visitStyle(ie.styles,pe),Ze=ie.options&&ie.options.params||null;if(Le.containsDynamicStyles){const wt=new Set,Rt=Ze||{};Le.styles.forEach(Bt=>{Bt instanceof Map&&Bt.forEach(Yt=>{ot(Yt).forEach(Cn=>{Rt.hasOwnProperty(Cn)||wt.add(Cn)})})}),wt.size&&pe.errors.push(function ee(Je,ie){return new n.\u0275RuntimeError(3008,!1)}(0,wt.values()))}return{type:d.State,name:ie.name,style:Le,options:Ze?{params:Ze}:null}}visitTransition(ie,pe){pe.queryCount=0,pe.depCount=0;const Le=Xn(this,sr(ie.animation),pe),Ze=function Ne(Je,ie){const pe=[];return"string"==typeof Je?Je.split(/\s*,\s*/).forEach(Le=>function Ie(Je,ie,pe){if(":"==Je[0]){const Yt=function me(Je,ie){switch(Je){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(pe,Le)=>parseFloat(Le)>parseFloat(pe);case":decrement":return(pe,Le)=>parseFloat(Le) *"}}(Je,pe);if("function"==typeof Yt)return void ie.push(Yt);Je=Yt}const Le=Je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Le||Le.length<4)return pe.push(function qe(Je){return new n.\u0275RuntimeError(3015,!1)}()),ie;const Ze=Le[1],wt=Le[2],Rt=Le[3];ie.push(_t(Ze,Rt)),"<"==wt[0]&&(Ze!=ue||Rt!=ue)&&ie.push(_t(Rt,Ze))}(Le,pe,ie)):pe.push(Je),pe}(ie.expr,pe.errors);return{type:d.Transition,matchers:Ze,animation:Le,queryCount:pe.queryCount,depCount:pe.depCount,options:rr(ie.options)}}visitSequence(ie,pe){return{type:d.Sequence,steps:ie.steps.map(Le=>Xn(this,Le,pe)),options:rr(ie.options)}}visitGroup(ie,pe){const Le=pe.currentTime;let Ze=0;const wt=ie.steps.map(Rt=>{pe.currentTime=Le;const Bt=Xn(this,Rt,pe);return Ze=Math.max(Ze,pe.currentTime),Bt});return pe.currentTime=Ze,{type:d.Group,steps:wt,options:rr(ie.options)}}visitAnimate(ie,pe){const Le=function cr(Je,ie){if(Je.hasOwnProperty("duration"))return Je;if("number"==typeof Je)return Ur(er(Je,ie).duration,0,"");const pe=Je;if(pe.split(/\s+/).some(wt=>"{"==wt.charAt(0)&&"{"==wt.charAt(1))){const wt=Ur(0,0,"");return wt.dynamic=!0,wt.strValue=pe,wt}const Ze=er(pe,ie);return Ur(Ze.duration,Ze.delay,Ze.easing)}(ie.timings,pe.errors);pe.currentAnimateTimings=Le;let Ze,wt=ie.styles?ie.styles:g({});if(wt.type==d.Keyframes)Ze=this.visitKeyframes(wt,pe);else{let Rt=ie.styles,Bt=!1;if(!Rt){Bt=!0;const Cn={};Le.easing&&(Cn.easing=Le.easing),Rt=g(Cn)}pe.currentTime+=Le.duration+Le.delay;const Yt=this.visitStyle(Rt,pe);Yt.isEmptyStep=Bt,Ze=Yt}return pe.currentAnimateTimings=null,{type:d.Animate,timings:Le,style:Ze,options:null}}visitStyle(ie,pe){const Le=this._makeStyleAst(ie,pe);return this._validateStyleAst(Le,pe),Le}_makeStyleAst(ie,pe){const Le=[],Ze=Array.isArray(ie.styles)?ie.styles:[ie.styles];for(let Bt of Ze)"string"==typeof Bt?Bt===u?Le.push(Bt):pe.errors.push(new n.\u0275RuntimeError(3002,!1)):Le.push(new Map(Object.entries(Bt)));let wt=!1,Rt=null;return Le.forEach(Bt=>{if(Bt instanceof Map&&(Bt.has("easing")&&(Rt=Bt.get("easing"),Bt.delete("easing")),!wt))for(let Yt of Bt.values())if(Yt.toString().indexOf("{{")>=0){wt=!0;break}}),{type:d.Style,styles:Le,easing:Rt,offset:ie.offset,containsDynamicStyles:wt,options:null}}_validateStyleAst(ie,pe){const Le=pe.currentAnimateTimings;let Ze=pe.currentTime,wt=pe.currentTime;Le&&wt>0&&(wt-=Le.duration+Le.delay),ie.styles.forEach(Rt=>{"string"!=typeof Rt&&Rt.forEach((Bt,Yt)=>{const Cn=pe.collectedStyles.get(pe.currentQuerySelector),$n=Cn.get(Yt);let Jn=!0;$n&&(wt!=Ze&&wt>=$n.startTime&&Ze<=$n.endTime&&(pe.errors.push(function de(Je,ie,pe,Le,Ze){return new n.\u0275RuntimeError(3010,!1)}()),Jn=!1),wt=$n.startTime),Jn&&Cn.set(Yt,{startTime:wt,endTime:Ze}),pe.options&&function si(Je,ie,pe){const Le=ie.params||{},Ze=ot(Je);Ze.length&&Ze.forEach(wt=>{Le.hasOwnProperty(wt)||pe.push(function ne(Je){return new n.\u0275RuntimeError(3001,!1)}())})}(Bt,pe.options,pe.errors)})})}visitKeyframes(ie,pe){const Le={type:d.Keyframes,styles:[],options:null};if(!pe.currentAnimateTimings)return pe.errors.push(function be(){return new n.\u0275RuntimeError(3011,!1)}()),Le;let wt=0;const Rt=[];let Bt=!1,Yt=!1,Cn=0;const $n=ie.steps.map(Ii=>{const $i=this._makeStyleAst(Ii,pe);let bi=null!=$i.offset?$i.offset:function Nn(Je){if("string"==typeof Je)return null;let ie=null;if(Array.isArray(Je))Je.forEach(pe=>{if(pe instanceof Map&&pe.has("offset")){const Le=pe;ie=parseFloat(Le.get("offset")),Le.delete("offset")}});else if(Je instanceof Map&&Je.has("offset")){const pe=Je;ie=parseFloat(pe.get("offset")),pe.delete("offset")}return ie}($i.styles),ro=0;return null!=bi&&(wt++,ro=$i.offset=bi),Yt=Yt||ro<0||ro>1,Bt=Bt||ro0&&wt{const bi=Yr>0?$i==hr?1:Yr*$i:Rt[$i],ro=bi*gi;pe.currentTime=nr+mr.delay+ro,mr.duration=ro,this._validateStyleAst(Ii,pe),Ii.offset=bi,Le.styles.push(Ii)}),Le}visitReference(ie,pe){return{type:d.Reference,animation:Xn(this,sr(ie.animation),pe),options:rr(ie.options)}}visitAnimateChild(ie,pe){return pe.depCount++,{type:d.AnimateChild,options:rr(ie.options)}}visitAnimateRef(ie,pe){return{type:d.AnimateRef,animation:this.visitReference(ie.animation,pe),options:rr(ie.options)}}visitQuery(ie,pe){const Le=pe.currentQuerySelector,Ze=ie.options||{};pe.queryCount++,pe.currentQuery=ie;const[wt,Rt]=function yn(Je){const ie=!!Je.split(/\s*,\s*/).find(pe=>":self"==pe);return ie&&(Je=Je.replace(Nt,"")),Je=Je.replace(/@\*/g,Fn).replace(/@\w+/g,pe=>Fn+"-"+pe.slice(1)).replace(/:animating/g,vr),[Je,ie]}(ie.selector);pe.currentQuerySelector=Le.length?Le+" "+wt:wt,dt(pe.collectedStyles,pe.currentQuerySelector,new Map);const Bt=Xn(this,sr(ie.animation),pe);return pe.currentQuery=null,pe.currentQuerySelector=Le,{type:d.Query,selector:wt,limit:Ze.limit||0,optional:!!Ze.optional,includeSelf:Rt,animation:Bt,originalSelector:ie.selector,options:rr(ie.options)}}visitStagger(ie,pe){pe.currentQuery||pe.errors.push(function Me(){return new n.\u0275RuntimeError(3013,!1)}());const Le="full"===ie.timings?{duration:0,delay:0,easing:"full"}:er(ie.timings,pe.errors,!0);return{type:d.Stagger,animation:Xn(this,sr(ie.animation),pe),timings:Le,options:null}}}class Gt{constructor(ie){this.errors=ie,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(Je){return Je?(Je={...Je}).params&&(Je.params=function gn(Je){return Je?{...Je}:null}(Je.params)):Je={},Je}function Ur(Je,ie,pe){return{duration:Je,delay:ie,easing:pe}}function Hr(Je,ie,pe,Le,Ze,wt,Rt=null,Bt=!1){return{type:1,element:Je,keyframes:ie,preStyleProps:pe,postStyleProps:Le,duration:Ze,delay:wt,totalTime:Ze+wt,easing:Rt,subTimeline:Bt}}class at{constructor(){this._map=new Map}get(ie){return this._map.get(ie)||[]}append(ie,pe){let Le=this._map.get(ie);Le||this._map.set(ie,Le=[]),Le.push(...pe)}has(ie){return this._map.has(ie)}clear(){this._map.clear()}}const Pr=new RegExp(":enter","g"),Gn=new RegExp(":leave","g");function ni(Je,ie,pe,Le,Ze,wt=new Map,Rt=new Map,Bt,Yt,Cn=[]){return(new Dr).buildKeyframes(Je,ie,pe,Le,Ze,wt,Rt,Bt,Yt,Cn)}class Dr{buildKeyframes(ie,pe,Le,Ze,wt,Rt,Bt,Yt,Cn,$n=[]){Cn=Cn||new at;const Jn=new Rn(ie,pe,Cn,Ze,wt,$n,[]);Jn.options=Yt;const Yr=Yt.delay?Mr(Yt.delay):0;Jn.currentTimeline.delayNextStep(Yr),Jn.currentTimeline.setStyles([Rt],null,Jn.errors,Yt),Xn(this,Le,Jn);const hr=Jn.timelines.filter(nr=>nr.containsAnimation());if(hr.length&&Bt.size){let nr;for(let mr=hr.length-1;mr>=0;mr--){const gi=hr[mr];if(gi.element===pe){nr=gi;break}}nr&&!nr.allowOnlyTimelineStyles()&&nr.setStyles([Bt],null,Jn.errors,Yt)}return hr.length?hr.map(nr=>nr.buildKeyframes()):[Hr(pe,[],[],[],0,Yr,"",!1)]}visitTrigger(ie,pe){}visitState(ie,pe){}visitTransition(ie,pe){}visitAnimateChild(ie,pe){const Le=pe.subInstructions.get(pe.element);if(Le){const Ze=pe.createSubContext(ie.options),wt=pe.currentTimeline.currentTime,Rt=this._visitSubInstructions(Le,Ze,Ze.options);wt!=Rt&&pe.transformIntoNewTimeline(Rt)}pe.previousNode=ie}visitAnimateRef(ie,pe){const Le=pe.createSubContext(ie.options);Le.transformIntoNewTimeline(),this._applyAnimationRefDelays([ie.options,ie.animation.options],pe,Le),this.visitReference(ie.animation,Le),pe.transformIntoNewTimeline(Le.currentTimeline.currentTime),pe.previousNode=ie}_applyAnimationRefDelays(ie,pe,Le){for(const Ze of ie){const wt=Ze?.delay;if(wt){const Rt="number"==typeof wt?wt:Mr(Ot(wt,Ze?.params??{},pe.errors));Le.delayNextStep(Rt)}}}_visitSubInstructions(ie,pe,Le){let wt=pe.currentTimeline.currentTime;const Rt=null!=Le.duration?Mr(Le.duration):null,Bt=null!=Le.delay?Mr(Le.delay):null;return 0!==Rt&&ie.forEach(Yt=>{const Cn=pe.appendInstructionToTimeline(Yt,Rt,Bt);wt=Math.max(wt,Cn.duration+Cn.delay)}),wt}visitReference(ie,pe){pe.updateOptions(ie.options,!0),Xn(this,ie.animation,pe),pe.previousNode=ie}visitSequence(ie,pe){const Le=pe.subContextCount;let Ze=pe;const wt=ie.options;if(wt&&(wt.params||wt.delay)&&(Ze=pe.createSubContext(wt),Ze.transformIntoNewTimeline(),null!=wt.delay)){Ze.previousNode.type==d.Style&&(Ze.currentTimeline.snapshotCurrentStyles(),Ze.previousNode=pi);const Rt=Mr(wt.delay);Ze.delayNextStep(Rt)}ie.steps.length&&(ie.steps.forEach(Rt=>Xn(this,Rt,Ze)),Ze.currentTimeline.applyStylesToKeyframe(),Ze.subContextCount>Le&&Ze.transformIntoNewTimeline()),pe.previousNode=ie}visitGroup(ie,pe){const Le=[];let Ze=pe.currentTimeline.currentTime;const wt=ie.options&&ie.options.delay?Mr(ie.options.delay):0;ie.steps.forEach(Rt=>{const Bt=pe.createSubContext(ie.options);wt&&Bt.delayNextStep(wt),Xn(this,Rt,Bt),Ze=Math.max(Ze,Bt.currentTimeline.currentTime),Le.push(Bt.currentTimeline)}),Le.forEach(Rt=>pe.currentTimeline.mergeTimelineCollectedStyles(Rt)),pe.transformIntoNewTimeline(Ze),pe.previousNode=ie}_visitTiming(ie,pe){if(ie.dynamic){const Le=ie.strValue;return er(pe.params?Ot(Le,pe.params,pe.errors):Le,pe.errors)}return{duration:ie.duration,delay:ie.delay,easing:ie.easing}}visitAnimate(ie,pe){const Le=pe.currentAnimateTimings=this._visitTiming(ie.timings,pe),Ze=pe.currentTimeline;Le.delay&&(pe.incrementTime(Le.delay),Ze.snapshotCurrentStyles());const wt=ie.style;wt.type==d.Keyframes?this.visitKeyframes(wt,pe):(pe.incrementTime(Le.duration),this.visitStyle(wt,pe),Ze.applyStylesToKeyframe()),pe.currentAnimateTimings=null,pe.previousNode=ie}visitStyle(ie,pe){const Le=pe.currentTimeline,Ze=pe.currentAnimateTimings;!Ze&&Le.hasCurrentStyleProperties()&&Le.forwardFrame();const wt=Ze&&Ze.easing||ie.easing;ie.isEmptyStep?Le.applyEmptyStep(wt):Le.setStyles(ie.styles,wt,pe.errors,pe.options),pe.previousNode=ie}visitKeyframes(ie,pe){const Le=pe.currentAnimateTimings,Ze=pe.currentTimeline.duration,wt=Le.duration,Bt=pe.createSubContext().currentTimeline;Bt.easing=Le.easing,ie.styles.forEach(Yt=>{Bt.forwardTime((Yt.offset||0)*wt),Bt.setStyles(Yt.styles,Yt.easing,pe.errors,pe.options),Bt.applyStylesToKeyframe()}),pe.currentTimeline.mergeTimelineCollectedStyles(Bt),pe.transformIntoNewTimeline(Ze+wt),pe.previousNode=ie}visitQuery(ie,pe){const Le=pe.currentTimeline.currentTime,Ze=ie.options||{},wt=Ze.delay?Mr(Ze.delay):0;wt&&(pe.previousNode.type===d.Style||0==Le&&pe.currentTimeline.hasCurrentStyleProperties())&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=pi);let Rt=Le;const Bt=pe.invokeQuery(ie.selector,ie.originalSelector,ie.limit,ie.includeSelf,!!Ze.optional,pe.errors);pe.currentQueryTotal=Bt.length;let Yt=null;Bt.forEach((Cn,$n)=>{pe.currentQueryIndex=$n;const Jn=pe.createSubContext(ie.options,Cn);wt&&Jn.delayNextStep(wt),Cn===pe.element&&(Yt=Jn.currentTimeline),Xn(this,ie.animation,Jn),Jn.currentTimeline.applyStylesToKeyframe(),Rt=Math.max(Rt,Jn.currentTimeline.currentTime)}),pe.currentQueryIndex=0,pe.currentQueryTotal=0,pe.transformIntoNewTimeline(Rt),Yt&&(pe.currentTimeline.mergeTimelineCollectedStyles(Yt),pe.currentTimeline.snapshotCurrentStyles()),pe.previousNode=ie}visitStagger(ie,pe){const Le=pe.parentContext,Ze=pe.currentTimeline,wt=ie.timings,Rt=Math.abs(wt.duration),Bt=Rt*(pe.currentQueryTotal-1);let Yt=Rt*pe.currentQueryIndex;switch(wt.duration<0?"reverse":wt.easing){case"reverse":Yt=Bt-Yt;break;case"full":Yt=Le.currentStaggerTime}const $n=pe.currentTimeline;Yt&&$n.delayNextStep(Yt);const Jn=$n.currentTime;Xn(this,ie.animation,pe),pe.previousNode=ie,Le.currentStaggerTime=Ze.currentTime-Jn+(Ze.startTime-Le.currentTimeline.startTime)}}const pi={};class Rn{constructor(ie,pe,Le,Ze,wt,Rt,Bt,Yt){this._driver=ie,this.element=pe,this.subInstructions=Le,this._enterClassName=Ze,this._leaveClassName=wt,this.errors=Rt,this.timelines=Bt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Yt||new ai(this._driver,pe,0),Bt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(ie,pe){if(!ie)return;const Le=ie;let Ze=this.options;null!=Le.duration&&(Ze.duration=Mr(Le.duration)),null!=Le.delay&&(Ze.delay=Mr(Le.delay));const wt=Le.params;if(wt){let Rt=Ze.params;Rt||(Rt=this.options.params={}),Object.keys(wt).forEach(Bt=>{(!pe||!Rt.hasOwnProperty(Bt))&&(Rt[Bt]=Ot(wt[Bt],Rt,this.errors))})}}_copyOptions(){const ie={};if(this.options){const pe=this.options.params;if(pe){const Le=ie.params={};Object.keys(pe).forEach(Ze=>{Le[Ze]=pe[Ze]})}}return ie}createSubContext(ie=null,pe,Le){const Ze=pe||this.element,wt=new Rn(this._driver,Ze,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ze,Le||0));return wt.previousNode=this.previousNode,wt.currentAnimateTimings=this.currentAnimateTimings,wt.options=this._copyOptions(),wt.updateOptions(ie),wt.currentQueryIndex=this.currentQueryIndex,wt.currentQueryTotal=this.currentQueryTotal,wt.parentContext=this,this.subContextCount++,wt}transformIntoNewTimeline(ie){return this.previousNode=pi,this.currentTimeline=this.currentTimeline.fork(this.element,ie),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(ie,pe,Le){const Ze={duration:pe??ie.duration,delay:this.currentTimeline.currentTime+(Le??0)+ie.delay,easing:""},wt=new Kr(this._driver,ie.element,ie.keyframes,ie.preStyleProps,ie.postStyleProps,Ze,ie.stretchStartingKeyframe);return this.timelines.push(wt),Ze}incrementTime(ie){this.currentTimeline.forwardTime(this.currentTimeline.duration+ie)}delayNextStep(ie){ie>0&&this.currentTimeline.delayNextStep(ie)}invokeQuery(ie,pe,Le,Ze,wt,Rt){let Bt=[];if(Ze&&Bt.push(this.element),ie.length>0){ie=(ie=ie.replace(Pr,"."+this._enterClassName)).replace(Gn,"."+this._leaveClassName);let Cn=this._driver.query(this.element,ie,1!=Le);0!==Le&&(Cn=Le<0?Cn.slice(Cn.length+Le,Cn.length):Cn.slice(0,Le)),Bt.push(...Cn)}return!wt&&0==Bt.length&&Rt.push(function $e(Je){return new n.\u0275RuntimeError(3014,!1)}()),Bt}}class ai{constructor(ie,pe,Le,Ze){this._driver=ie,this.element=pe,this.startTime=Le,this._elementTimelineStylesLookup=Ze,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(pe),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(pe,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(ie){const pe=1===this._keyframes.size&&this._pendingStyles.size;this.duration||pe?(this.forwardTime(this.currentTime+ie),pe&&this.snapshotCurrentStyles()):this.startTime+=ie}fork(ie,pe){return this.applyStylesToKeyframe(),new ai(this._driver,ie,pe||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(ie){this.applyStylesToKeyframe(),this.duration=ie,this._loadKeyframe()}_updateStyle(ie,pe){this._localTimelineStyles.set(ie,pe),this._globalTimelineStyles.set(ie,pe),this._styleSummary.set(ie,{time:this.currentTime,value:pe})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(ie){ie&&this._previousKeyframe.set("easing",ie);for(let[pe,Le]of this._globalTimelineStyles)this._backFill.set(pe,Le||u),this._currentKeyframe.set(pe,u);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(ie,pe,Le,Ze){pe&&this._previousKeyframe.set("easing",pe);const wt=Ze&&Ze.params||{},Rt=function Ri(Je,ie){const pe=new Map;let Le;return Je.forEach(Ze=>{if("*"===Ze){Le??=ie.keys();for(let wt of Le)pe.set(wt,u)}else for(let[wt,Rt]of Ze)pe.set(wt,Rt)}),pe}(ie,this._globalTimelineStyles);for(let[Bt,Yt]of Rt){const Cn=Ot(Yt,wt,Le);this._pendingStyles.set(Bt,Cn),this._localTimelineStyles.has(Bt)||this._backFill.set(Bt,this._globalTimelineStyles.get(Bt)??u),this._updateStyle(Bt,Cn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((ie,pe)=>{this._currentKeyframe.set(pe,ie)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((ie,pe)=>{this._currentKeyframe.has(pe)||this._currentKeyframe.set(pe,ie)}))}snapshotCurrentStyles(){for(let[ie,pe]of this._localTimelineStyles)this._pendingStyles.set(ie,pe),this._updateStyle(ie,pe)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const ie=[];for(let pe in this._currentKeyframe)ie.push(pe);return ie}mergeTimelineCollectedStyles(ie){ie._styleSummary.forEach((pe,Le)=>{const Ze=this._styleSummary.get(Le);(!Ze||pe.time>Ze.time)&&this._updateStyle(Le,pe.value)})}buildKeyframes(){this.applyStylesToKeyframe();const ie=new Set,pe=new Set,Le=1===this._keyframes.size&&0===this.duration;let Ze=[];this._keyframes.forEach((Bt,Yt)=>{const Cn=new Map([...this._backFill,...Bt]);Cn.forEach(($n,Jn)=>{"!"===$n?ie.add(Jn):$n===u&&pe.add(Jn)}),Le||Cn.set("offset",Yt/this.duration),Ze.push(Cn)});const wt=[...ie.values()],Rt=[...pe.values()];if(Le){const Bt=Ze[0],Yt=new Map(Bt);Bt.set("offset",0),Yt.set("offset",1),Ze=[Bt,Yt]}return Hr(this.element,Ze,wt,Rt,this.duration,this.startTime,this.easing,!1)}}class Kr extends ai{constructor(ie,pe,Le,Ze,wt,Rt,Bt=!1){super(ie,pe,Rt.delay),this.keyframes=Le,this.preStyleProps=Ze,this.postStyleProps=wt,this._stretchStartingKeyframe=Bt,this.timings={duration:Rt.duration,delay:Rt.delay,easing:Rt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let ie=this.keyframes,{delay:pe,duration:Le,easing:Ze}=this.timings;if(this._stretchStartingKeyframe&&pe){const wt=[],Rt=Le+pe,Bt=pe/Rt,Yt=new Map(ie[0]);Yt.set("offset",0),wt.push(Yt);const Cn=new Map(ie[0]);Cn.set("offset",qr(Bt)),wt.push(Cn);const $n=ie.length-1;for(let Jn=1;Jn<=$n;Jn++){let Yr=new Map(ie[Jn]);const hr=Yr.get("offset");Yr.set("offset",qr((pe+hr*Le)/Rt)),wt.push(Yr)}Le=Rt,pe=0,Ze="",ie=wt}return Hr(this.element,ie,this.preStyleProps,this.postStyleProps,Le,pe,Ze,!0)}}function qr(Je,ie=3){const pe=Math.pow(10,ie-1);return Math.round(Je*pe)/pe}function dr(Je,ie,pe,Le,Ze,wt,Rt,Bt,Yt,Cn,$n,Jn,Yr){return{type:0,element:Je,triggerName:ie,isRemovalTransition:Ze,fromState:pe,fromStyles:wt,toState:Le,toStyles:Rt,timelines:Bt,queriedElements:Yt,preStyleProps:Cn,postStyleProps:$n,totalTime:Jn,errors:Yr}}const Vi={};class Mo{constructor(ie,pe,Le){this._triggerName=ie,this.ast=pe,this._stateStyles=Le}match(ie,pe,Le,Ze){return function zr(Je,ie,pe,Le,Ze){return Je.some(wt=>wt(ie,pe,Le,Ze))}(this.ast.matchers,ie,pe,Le,Ze)}buildStyles(ie,pe,Le){let Ze=this._stateStyles.get("*");return void 0!==ie&&(Ze=this._stateStyles.get(ie?.toString())||Ze),Ze?Ze.buildStyles(pe,Le):new Map}build(ie,pe,Le,Ze,wt,Rt,Bt,Yt,Cn,$n){const Jn=[],Yr=this.ast.options&&this.ast.options.params||Vi,nr=this.buildStyles(Le,Bt&&Bt.params||Vi,Jn),mr=Yt&&Yt.params||Vi,gi=this.buildStyles(Ze,mr,Jn),Ii=new Set,$i=new Map,bi=new Map,ro="void"===Ze,Sn={params:eo(mr,Yr),delay:this.ast.options?.delay},Cr=$n?[]:ni(ie,pe,this.ast.animation,wt,Rt,nr,gi,Sn,Cn,Jn);let Qi=0;return Cr.forEach(Oi=>{Qi=Math.max(Oi.duration+Oi.delay,Qi)}),Jn.length?dr(pe,this._triggerName,Le,Ze,ro,nr,gi,[],[],$i,bi,Qi,Jn):(Cr.forEach(Oi=>{const Xr=Oi.element,ao=dt($i,Xr,new Set);Oi.preStyleProps.forEach(it=>ao.add(it));const Be=dt(bi,Xr,new Set);Oi.postStyleProps.forEach(it=>Be.add(it)),Xr!==pe&&Ii.add(Xr)}),dr(pe,this._triggerName,Le,Ze,ro,nr,gi,Cr,[...Ii.values()],$i,bi,Qi))}}function eo(Je,ie){const pe={...ie};return Object.entries(Je).forEach(([Le,Ze])=>{null!=Ze&&(pe[Le]=Ze)}),pe}class Gi{constructor(ie,pe,Le){this.styles=ie,this.defaultParams=pe,this.normalizer=Le}buildStyles(ie,pe){const Le=new Map,Ze=eo(ie,this.defaultParams);return this.styles.styles.forEach(wt=>{"string"!=typeof wt&&wt.forEach((Rt,Bt)=>{Rt&&(Rt=Ot(Rt,Ze,pe));const Yt=this.normalizer.normalizePropertyName(Bt,pe);Rt=this.normalizer.normalizeStyleValue(Bt,Yt,Rt,pe),Le.set(Bt,Rt)})}),Le}}class $r{constructor(ie,pe,Le){this.name=ie,this.ast=pe,this._normalizer=Le,this.transitionFactories=[],this.states=new Map,pe.states.forEach(Ze=>{this.states.set(Ze.name,new Gi(Ze.style,Ze.options&&Ze.options.params||{},Le))}),_i(this.states,"true","1"),_i(this.states,"false","0"),pe.transitions.forEach(Ze=>{this.transitionFactories.push(new Mo(ie,Ze,this.states))}),this.fallbackTransition=function no(Je,ie,pe){return new Mo(Je,{type:d.Transition,animation:{type:d.Sequence,steps:[],options:null},matchers:[(Rt,Bt)=>!0],options:null,queryCount:0,depCount:0},ie)}(ie,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(ie,pe,Le,Ze){return this.transitionFactories.find(Rt=>Rt.match(ie,pe,Le,Ze))||null}matchStyles(ie,pe,Le){return this.fallbackTransition.buildStyles(ie,pe,Le)}}function _i(Je,ie,pe){Je.has(ie)?Je.has(pe)||Je.set(pe,Je.get(ie)):Je.has(pe)&&Je.set(ie,Je.get(pe))}const Fi=new at;class ei{constructor(ie,pe,Le){this.bodyNode=ie,this._driver=pe,this._normalizer=Le,this._animations=new Map,this._playersById=new Map,this.players=[]}register(ie,pe){const Le=[],wt=Jt(this._driver,pe,Le,[]);if(Le.length)throw function bt(Je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(ie,wt)}_buildPlayer(ie,pe,Le){const Ze=ie.element,wt=Re(this._normalizer,ie.keyframes,pe,Le);return this._driver.animate(Ze,wt,ie.duration,ie.delay,ie.easing,[],!0)}create(ie,pe,Le={}){const Ze=[],wt=this._animations.get(ie);let Rt;const Bt=new Map;if(wt?(Rt=ni(this._driver,pe,wt,yr,_r,new Map,new Map,Le,Fi,Ze),Rt.forEach($n=>{const Jn=dt(Bt,$n.element,new Map);$n.postStyleProps.forEach(Yr=>Jn.set(Yr,null))})):(Ze.push(function Vt(){return new n.\u0275RuntimeError(3300,!1)}()),Rt=[]),Ze.length)throw function sn(Je){return new n.\u0275RuntimeError(3504,!1)}();Bt.forEach(($n,Jn)=>{$n.forEach((Yr,hr)=>{$n.set(hr,this._driver.computeStyle(Jn,hr,u))})});const Cn=Qe(Rt.map($n=>{const Jn=Bt.get($n.element);return this._buildPlayer($n,new Map,Jn)}));return this._playersById.set(ie,Cn),Cn.onDestroy(()=>this.destroy(ie)),this.players.push(Cn),Cn}destroy(ie){const pe=this._getPlayer(ie);pe.destroy(),this._playersById.delete(ie);const Le=this.players.indexOf(pe);Le>=0&&this.players.splice(Le,1)}_getPlayer(ie){const pe=this._playersById.get(ie);if(!pe)throw function dn(Je){return new n.\u0275RuntimeError(3301,!1)}();return pe}listen(ie,pe,Le,Ze){const wt=gt(pe,"","","");return lt(this._getPlayer(ie),Le,wt,Ze),()=>{}}command(ie,pe,Le,Ze){if("register"==Le)return void this.register(ie,Ze[0]);if("create"==Le)return void this.create(ie,pe,Ze[0]||{});const wt=this._getPlayer(ie);switch(Le){case"play":wt.play();break;case"pause":wt.pause();break;case"reset":wt.reset();break;case"restart":wt.restart();break;case"finish":wt.finish();break;case"init":wt.init();break;case"setPosition":wt.setPosition(parseFloat(Ze[0]));break;case"destroy":this.destroy(ie)}}}const lr="ng-animate-queued",xi="ng-animate-disabled",Vr=[],yo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ni={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qr="__ng_removed";class ko{get params(){return this.options.params}constructor(ie,pe=""){this.namespaceId=pe;const Le=ie&&ie.hasOwnProperty("value");if(this.value=function fo(Je){return Je??null}(Le?ie.value:ie),Le){const{value:wt,...Rt}=ie;this.options=Rt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(ie){const pe=ie.params;if(pe){const Le=this.options.params;Object.keys(pe).forEach(Ze=>{null==Le[Ze]&&(Le[Ze]=pe[Ze])})}}}const ji="void",Ji=new ko(ji);class Yi{constructor(ie,pe,Le){this.id=ie,this.hostElement=pe,this._engine=Le,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ie,Ki(pe,this._hostClassName)}listen(ie,pe,Le,Ze){if(!this._triggers.has(pe))throw function wn(Je,ie){return new n.\u0275RuntimeError(3302,!1)}();if(null==Le||0==Le.length)throw function An(Je){return new n.\u0275RuntimeError(3303,!1)}();if(!function ys(Je){return"start"==Je||"done"==Je}(Le))throw function vn(Je,ie){return new n.\u0275RuntimeError(3400,!1)}();const wt=dt(this._elementListeners,ie,[]),Rt={name:pe,phase:Le,callback:Ze};wt.push(Rt);const Bt=dt(this._engine.statesByElement,ie,new Map);return Bt.has(pe)||(Ki(ie,qn),Ki(ie,qn+"-"+pe),Bt.set(pe,Ji)),()=>{this._engine.afterFlush(()=>{const Yt=wt.indexOf(Rt);Yt>=0&&wt.splice(Yt,1),this._triggers.has(pe)||Bt.delete(pe)})}}register(ie,pe){return!this._triggers.has(ie)&&(this._triggers.set(ie,pe),!0)}_getTrigger(ie){const pe=this._triggers.get(ie);if(!pe)throw function qt(Je){return new n.\u0275RuntimeError(3401,!1)}();return pe}trigger(ie,pe,Le,Ze=!0){const wt=this._getTrigger(pe),Rt=new oo(this.id,pe,ie);let Bt=this._engine.statesByElement.get(ie);Bt||(Ki(ie,qn),Ki(ie,qn+"-"+pe),this._engine.statesByElement.set(ie,Bt=new Map));let Yt=Bt.get(pe);const Cn=new ko(Le,this.id);if(!(Le&&Le.hasOwnProperty("value"))&&Yt&&Cn.absorbOptions(Yt.options),Bt.set(pe,Cn),Yt||(Yt=Ji),Cn.value!==ji&&Yt.value===Cn.value){if(!function os(Je,ie){const pe=Object.keys(Je),Le=Object.keys(ie);if(pe.length!=Le.length)return!1;for(let Ze=0;Ze{Zn(ie,gi),jn(ie,Ii)})}return}const Yr=dt(this._engine.playersByElement,ie,[]);Yr.forEach(mr=>{mr.namespaceId==this.id&&mr.triggerName==pe&&mr.queued&&mr.destroy()});let hr=wt.matchTransition(Yt.value,Cn.value,ie,Cn.params),nr=!1;if(!hr){if(!Ze)return;hr=wt.fallbackTransition,nr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:ie,triggerName:pe,transition:hr,fromState:Yt,toState:Cn,player:Rt,isFallbackTransition:nr}),nr||(Ki(ie,lr),Rt.onStart(()=>{Ro(ie,lr)})),Rt.onDone(()=>{let mr=this.players.indexOf(Rt);mr>=0&&this.players.splice(mr,1);const gi=this._engine.playersByElement.get(ie);if(gi){let Ii=gi.indexOf(Rt);Ii>=0&&gi.splice(Ii,1)}}),this.players.push(Rt),Yr.push(Rt),Rt}deregister(ie){this._triggers.delete(ie),this._engine.statesByElement.forEach(pe=>pe.delete(ie)),this._elementListeners.forEach((pe,Le)=>{this._elementListeners.set(Le,pe.filter(Ze=>Ze.name!=ie))})}clearElementCache(ie){this._engine.statesByElement.delete(ie),this._elementListeners.delete(ie);const pe=this._engine.playersByElement.get(ie);pe&&(pe.forEach(Le=>Le.destroy()),this._engine.playersByElement.delete(ie))}_signalRemovalForInnerTriggers(ie,pe){const Le=this._engine.driver.query(ie,Fn,!0);Le.forEach(Ze=>{if(Ze[Qr])return;const wt=this._engine.fetchNamespacesByElement(Ze);wt.size?wt.forEach(Rt=>Rt.triggerLeaveAnimation(Ze,pe,!1,!0)):this.clearElementCache(Ze)}),this._engine.afterFlushAnimationsDone(()=>Le.forEach(Ze=>this.clearElementCache(Ze)))}triggerLeaveAnimation(ie,pe,Le,Ze){const wt=this._engine.statesByElement.get(ie),Rt=new Map;if(wt){const Bt=[];if(wt.forEach((Yt,Cn)=>{if(Rt.set(Cn,Yt.value),this._triggers.has(Cn)){const $n=this.trigger(ie,Cn,ji,Ze);$n&&Bt.push($n)}}),Bt.length)return this._engine.markElementAsRemoved(this.id,ie,!0,pe,Rt),Le&&Qe(Bt).onDone(()=>this._engine.processLeaveNode(ie)),!0}return!1}prepareLeaveAnimationListeners(ie){const pe=this._elementListeners.get(ie),Le=this._engine.statesByElement.get(ie);if(pe&&Le){const Ze=new Set;pe.forEach(wt=>{const Rt=wt.name;if(Ze.has(Rt))return;Ze.add(Rt);const Yt=this._triggers.get(Rt).fallbackTransition,Cn=Le.get(Rt)||Ji,$n=new ko(ji),Jn=new oo(this.id,Rt,ie);this._engine.totalQueuedPlayers++,this._queue.push({element:ie,triggerName:Rt,transition:Yt,fromState:Cn,toState:$n,player:Jn,isFallbackTransition:!0})})}}removeNode(ie,pe){const Le=this._engine;if(ie.childElementCount&&this._signalRemovalForInnerTriggers(ie,pe),this.triggerLeaveAnimation(ie,pe,!0))return;let Ze=!1;if(Le.totalAnimations){const wt=Le.players.length?Le.playersByQueriedElement.get(ie):[];if(wt&&wt.length)Ze=!0;else{let Rt=ie;for(;Rt=Rt.parentNode;)if(Le.statesByElement.get(Rt)){Ze=!0;break}}}if(this.prepareLeaveAnimationListeners(ie),Ze)Le.markElementAsRemoved(this.id,ie,!1,pe);else{const wt=ie[Qr];(!wt||wt===yo)&&(Le.afterFlush(()=>this.clearElementCache(ie)),Le.destroyInnerAnimations(ie),Le._onRemovalComplete(ie,pe))}}insertNode(ie,pe){Ki(ie,this._hostClassName)}drainQueuedTransitions(ie){const pe=[];return this._queue.forEach(Le=>{const Ze=Le.player;if(Ze.destroyed)return;const wt=Le.element,Rt=this._elementListeners.get(wt);Rt&&Rt.forEach(Bt=>{if(Bt.name==Le.triggerName){const Yt=gt(wt,Le.triggerName,Le.fromState.value,Le.toState.value);Yt._data=ie,lt(Le.player,Bt.phase,Yt,Bt.callback)}}),Ze.markedForDestroy?this._engine.afterFlush(()=>{Ze.destroy()}):pe.push(Le)}),this._queue=[],pe.sort((Le,Ze)=>{const wt=Le.transition.ast.depCount,Rt=Ze.transition.ast.depCount;return 0==wt||0==Rt?wt-Rt:this._engine.driver.containsElement(Le.element,Ze.element)?1:-1})}destroy(ie){this.players.forEach(pe=>pe.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,ie)}}class Co{_onRemovalComplete(ie,pe){this.onRemovalComplete(ie,pe)}constructor(ie,pe,Le,Ze){this.bodyNode=ie,this.driver=pe,this._normalizer=Le,this.scheduler=Ze,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(wt,Rt)=>{}}get queuedPlayers(){const ie=[];return this._namespaceList.forEach(pe=>{pe.players.forEach(Le=>{Le.queued&&ie.push(Le)})}),ie}createNamespace(ie,pe){const Le=new Yi(ie,pe,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,pe)?this._balanceNamespaceList(Le,pe):(this.newHostElements.set(pe,Le),this.collectEnterElement(pe)),this._namespaceLookup[ie]=Le}_balanceNamespaceList(ie,pe){const Le=this._namespaceList,Ze=this.namespacesByHostElement;if(Le.length-1>=0){let Rt=!1,Bt=this.driver.getParentElement(pe);for(;Bt;){const Yt=Ze.get(Bt);if(Yt){const Cn=Le.indexOf(Yt);Le.splice(Cn+1,0,ie),Rt=!0;break}Bt=this.driver.getParentElement(Bt)}Rt||Le.unshift(ie)}else Le.push(ie);return Ze.set(pe,ie),ie}register(ie,pe){let Le=this._namespaceLookup[ie];return Le||(Le=this.createNamespace(ie,pe)),Le}registerTrigger(ie,pe,Le){let Ze=this._namespaceLookup[ie];Ze&&Ze.register(pe,Le)&&this.totalAnimations++}destroy(ie,pe){ie&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Le=this._fetchNamespace(ie);this.namespacesByHostElement.delete(Le.hostElement);const Ze=this._namespaceList.indexOf(Le);Ze>=0&&this._namespaceList.splice(Ze,1),Le.destroy(pe),delete this._namespaceLookup[ie]}))}_fetchNamespace(ie){return this._namespaceLookup[ie]}fetchNamespacesByElement(ie){const pe=new Set,Le=this.statesByElement.get(ie);if(Le)for(let Ze of Le.values())if(Ze.namespaceId){const wt=this._fetchNamespace(Ze.namespaceId);wt&&pe.add(wt)}return pe}trigger(ie,pe,Le,Ze){if(xo(pe)){const wt=this._fetchNamespace(ie);if(wt)return wt.trigger(pe,Le,Ze),!0}return!1}insertNode(ie,pe,Le,Ze){if(!xo(pe))return;const wt=pe[Qr];if(wt&&wt.setForRemoval){wt.setForRemoval=!1,wt.setForMove=!0;const Rt=this.collectedLeaveElements.indexOf(pe);Rt>=0&&this.collectedLeaveElements.splice(Rt,1)}if(ie){const Rt=this._fetchNamespace(ie);Rt&&Rt.insertNode(pe,Le)}Ze&&this.collectEnterElement(pe)}collectEnterElement(ie){this.collectedEnterElements.push(ie)}markElementAsDisabled(ie,pe){pe?this.disabledNodes.has(ie)||(this.disabledNodes.add(ie),Ki(ie,xi)):this.disabledNodes.has(ie)&&(this.disabledNodes.delete(ie),Ro(ie,xi))}removeNode(ie,pe,Le){if(xo(pe)){this.scheduler?.notify();const Ze=ie?this._fetchNamespace(ie):null;Ze?Ze.removeNode(pe,Le):this.markElementAsRemoved(ie,pe,!1,Le);const wt=this.namespacesByHostElement.get(pe);wt&&wt.id!==ie&&wt.removeNode(pe,Le)}else this._onRemovalComplete(pe,Le)}markElementAsRemoved(ie,pe,Le,Ze,wt){this.collectedLeaveElements.push(pe),pe[Qr]={namespaceId:ie,setForRemoval:Ze,hasAnimation:Le,removedBeforeQueried:!1,previousTriggersValues:wt}}listen(ie,pe,Le,Ze,wt){return xo(pe)?this._fetchNamespace(ie).listen(pe,Le,Ze,wt):()=>{}}_buildInstruction(ie,pe,Le,Ze,wt){return ie.transition.build(this.driver,ie.element,ie.fromState.value,ie.toState.value,Le,Ze,ie.fromState.options,ie.toState.options,pe,wt)}destroyInnerAnimations(ie){let pe=this.driver.query(ie,Fn,!0);pe.forEach(Le=>this.destroyActiveAnimationsForElement(Le)),0!=this.playersByQueriedElement.size&&(pe=this.driver.query(ie,vr,!0),pe.forEach(Le=>this.finishActiveQueriedAnimationOnElement(Le)))}destroyActiveAnimationsForElement(ie){const pe=this.playersByElement.get(ie);pe&&pe.forEach(Le=>{Le.queued?Le.markedForDestroy=!0:Le.destroy()})}finishActiveQueriedAnimationOnElement(ie){const pe=this.playersByQueriedElement.get(ie);pe&&pe.forEach(Le=>Le.finish())}whenRenderingDone(){return new Promise(ie=>{if(this.players.length)return Qe(this.players).onDone(()=>ie());ie()})}processLeaveNode(ie){const pe=ie[Qr];if(pe&&pe.setForRemoval){if(ie[Qr]=yo,pe.namespaceId){this.destroyInnerAnimations(ie);const Le=this._fetchNamespace(pe.namespaceId);Le&&Le.clearElementCache(ie)}this._onRemovalComplete(ie,pe.setForRemoval)}ie.classList?.contains(xi)&&this.markElementAsDisabled(ie,!1),this.driver.query(ie,".ng-animate-disabled",!0).forEach(Le=>{this.markElementAsDisabled(Le,!1)})}flush(ie=-1){let pe=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Le,Ze)=>this._balanceNamespaceList(Le,Ze)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Le=0;LeLe()),this._flushFns=[],this._whenQuietFns.length){const Le=this._whenQuietFns;this._whenQuietFns=[],pe.length?Qe(pe).onDone(()=>{Le.forEach(Ze=>Ze())}):Le.forEach(Ze=>Ze())}}reportError(ie){throw function ut(Je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(ie,pe){const Le=new at,Ze=[],wt=new Map,Rt=[],Bt=new Map,Yt=new Map,Cn=new Map,$n=new Set;this.disabledNodes.forEach(he=>{$n.add(he);const Oe=this.driver.query(he,".ng-animate-queued",!0);for(let vt=0;vt{const vt=yr+mr++;nr.set(Oe,vt),he.forEach(Ft=>Ki(Ft,vt))});const gi=[],Ii=new Set,$i=new Set;for(let he=0;heIi.add(Ft)):$i.add(Oe))}const bi=new Map,ro=Lo(Yr,Array.from(Ii));ro.forEach((he,Oe)=>{const vt=_r+mr++;bi.set(Oe,vt),he.forEach(Ft=>Ki(Ft,vt))}),ie.push(()=>{hr.forEach((he,Oe)=>{const vt=nr.get(Oe);he.forEach(Ft=>Ro(Ft,vt))}),ro.forEach((he,Oe)=>{const vt=bi.get(Oe);he.forEach(Ft=>Ro(Ft,vt))}),gi.forEach(he=>{this.processLeaveNode(he)})});const Sn=[],Cr=[];for(let he=this._namespaceList.length-1;he>=0;he--)this._namespaceList[he].drainQueuedTransitions(pe).forEach(vt=>{const Ft=vt.player,cn=vt.element;if(Sn.push(Ft),this.collectedEnterElements.length){const ln=cn[Qr];if(ln&&ln.setForMove){if(ln.previousTriggersValues&&ln.previousTriggersValues.has(vt.triggerName)){const Pn=ln.previousTriggersValues.get(vt.triggerName),fr=this.statesByElement.get(vt.element);if(fr&&fr.has(vt.triggerName)){const pr=fr.get(vt.triggerName);pr.value=Pn,fr.set(vt.triggerName,pr)}}return void Ft.destroy()}}const Z=!Jn||!this.driver.containsElement(Jn,cn),Ve=bi.get(cn),Se=nr.get(cn),Fe=this._buildInstruction(vt,Le,Se,Ve,Z);if(Fe.errors&&Fe.errors.length)return void Cr.push(Fe);if(Z)return Ft.onStart(()=>Zn(cn,Fe.fromStyles)),Ft.onDestroy(()=>jn(cn,Fe.toStyles)),void Ze.push(Ft);if(vt.isFallbackTransition)return Ft.onStart(()=>Zn(cn,Fe.fromStyles)),Ft.onDestroy(()=>jn(cn,Fe.toStyles)),void Ze.push(Ft);const Et=[];Fe.timelines.forEach(ln=>{ln.stretchStartingKeyframe=!0,this.disabledNodes.has(ln.element)||Et.push(ln)}),Fe.timelines=Et,Le.append(cn,Fe.timelines),Rt.push({instruction:Fe,player:Ft,element:cn}),Fe.queriedElements.forEach(ln=>dt(Bt,ln,[]).push(Ft)),Fe.preStyleProps.forEach((ln,Pn)=>{if(ln.size){let fr=Yt.get(Pn);fr||Yt.set(Pn,fr=new Set),ln.forEach((pr,Nr)=>fr.add(Nr))}}),Fe.postStyleProps.forEach((ln,Pn)=>{let fr=Cn.get(Pn);fr||Cn.set(Pn,fr=new Set),ln.forEach((pr,Nr)=>fr.add(Nr))})});if(Cr.length){const he=[];Cr.forEach(Oe=>{he.push(function De(Je,ie){return new n.\u0275RuntimeError(3505,!1)}())}),Sn.forEach(Oe=>Oe.destroy()),this.reportError(he)}const Qi=new Map,Oi=new Map;Rt.forEach(he=>{const Oe=he.element;Le.has(Oe)&&(Oi.set(Oe,Oe),this._beforeAnimationBuild(he.player.namespaceId,he.instruction,Qi))}),Ze.forEach(he=>{const Oe=he.element;this._getPreviousPlayers(Oe,!1,he.namespaceId,he.triggerName,null).forEach(Ft=>{dt(Qi,Oe,[]).push(Ft),Ft.destroy()})});const Xr=gi.filter(he=>Eo(he,Yt,Cn)),ao=new Map;us(ao,this.driver,$i,Cn,u).forEach(he=>{Eo(he,Yt,Cn)&&Xr.push(he)});const it=new Map;hr.forEach((he,Oe)=>{us(it,this.driver,new Set(he),Yt,"!")}),Xr.forEach(he=>{const Oe=ao.get(he),vt=it.get(he);ao.set(he,new Map([...Oe?.entries()??[],...vt?.entries()??[]]))});const x=[],te=[],j={};Rt.forEach(he=>{const{element:Oe,player:vt,instruction:Ft}=he;if(Le.has(Oe)){if($n.has(Oe))return vt.onDestroy(()=>jn(Oe,Ft.toStyles)),vt.disabled=!0,vt.overrideTotalTime(Ft.totalTime),void Ze.push(vt);let cn=j;if(Oi.size>1){let Ve=Oe;const Se=[];for(;Ve=Ve.parentNode;){const Fe=Oi.get(Ve);if(Fe){cn=Fe;break}Se.push(Ve)}Se.forEach(Fe=>Oi.set(Fe,cn))}const Z=this._buildAnimation(vt.namespaceId,Ft,Qi,wt,it,ao);if(vt.setRealPlayer(Z),cn===j)x.push(vt);else{const Ve=this.playersByElement.get(cn);Ve&&Ve.length&&(vt.parentPlayer=Qe(Ve)),Ze.push(vt)}}else Zn(Oe,Ft.fromStyles),vt.onDestroy(()=>jn(Oe,Ft.toStyles)),te.push(vt),$n.has(Oe)&&Ze.push(vt)}),te.forEach(he=>{const Oe=wt.get(he.element);if(Oe&&Oe.length){const vt=Qe(Oe);he.setRealPlayer(vt)}}),Ze.forEach(he=>{he.parentPlayer?he.syncPlayerEvents(he.parentPlayer):he.destroy()});for(let he=0;he!Z.destroyed);cn.length?_o(this,Oe,cn):this.processLeaveNode(Oe)}return gi.length=0,x.forEach(he=>{this.players.push(he),he.onDone(()=>{he.destroy();const Oe=this.players.indexOf(he);this.players.splice(Oe,1)}),he.play()}),x}afterFlush(ie){this._flushFns.push(ie)}afterFlushAnimationsDone(ie){this._whenQuietFns.push(ie)}_getPreviousPlayers(ie,pe,Le,Ze,wt){let Rt=[];if(pe){const Bt=this.playersByQueriedElement.get(ie);Bt&&(Rt=Bt)}else{const Bt=this.playersByElement.get(ie);if(Bt){const Yt=!wt||wt==ji;Bt.forEach(Cn=>{Cn.queued||!Yt&&Cn.triggerName!=Ze||Rt.push(Cn)})}}return(Le||Ze)&&(Rt=Rt.filter(Bt=>!(Le&&Le!=Bt.namespaceId||Ze&&Ze!=Bt.triggerName))),Rt}_beforeAnimationBuild(ie,pe,Le){const wt=pe.element,Rt=pe.isRemovalTransition?void 0:ie,Bt=pe.isRemovalTransition?void 0:pe.triggerName;for(const Yt of pe.timelines){const Cn=Yt.element,$n=Cn!==wt,Jn=dt(Le,Cn,[]);this._getPreviousPlayers(Cn,$n,Rt,Bt,pe.toState).forEach(hr=>{const nr=hr.getRealPlayer();nr.beforeDestroy&&nr.beforeDestroy(),hr.destroy(),Jn.push(hr)})}Zn(wt,pe.fromStyles)}_buildAnimation(ie,pe,Le,Ze,wt,Rt){const Bt=pe.triggerName,Yt=pe.element,Cn=[],$n=new Set,Jn=new Set,Yr=pe.timelines.map(nr=>{const mr=nr.element;$n.add(mr);const gi=mr[Qr];if(gi&&gi.removedBeforeQueried)return new O(nr.duration,nr.delay);const Ii=mr!==Yt,$i=function Fo(Je){const ie=[];return co(Je,ie),ie}((Le.get(mr)||Vr).map(Qi=>Qi.getRealPlayer())).filter(Qi=>!!Qi.element&&Qi.element===mr),bi=wt.get(mr),ro=Rt.get(mr),Sn=Re(this._normalizer,nr.keyframes,bi,ro),Cr=this._buildPlayer(nr,Sn,$i);if(nr.subTimeline&&Ze&&Jn.add(mr),Ii){const Qi=new oo(ie,Bt,mr);Qi.setRealPlayer(Cr),Cn.push(Qi)}return Cr});Cn.forEach(nr=>{dt(this.playersByQueriedElement,nr.element,[]).push(nr),nr.onDone(()=>function Yo(Je,ie,pe){let Le=Je.get(ie);if(Le){if(Le.length){const Ze=Le.indexOf(pe);Le.splice(Ze,1)}0==Le.length&&Je.delete(ie)}return Le}(this.playersByQueriedElement,nr.element,nr))}),$n.forEach(nr=>Ki(nr,oi));const hr=Qe(Yr);return hr.onDestroy(()=>{$n.forEach(nr=>Ro(nr,oi)),jn(Yt,pe.toStyles)}),Jn.forEach(nr=>{dt(Ze,nr,[]).push(hr)}),hr}_buildPlayer(ie,pe,Le){return pe.length>0?this.driver.animate(ie.element,pe,ie.duration,ie.delay,ie.easing,Le):new O(ie.duration,ie.delay)}}class oo{constructor(ie,pe,Le){this.namespaceId=ie,this.triggerName=pe,this.element=Le,this._player=new O,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(ie){this._containsRealPlayer||(this._player=ie,this._queuedCallbacks.forEach((pe,Le)=>{pe.forEach(Ze=>lt(ie,Le,void 0,Ze))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(ie.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(ie){this.totalTime=ie}syncPlayerEvents(ie){const pe=this._player;pe.triggerCallback&&ie.onStart(()=>pe.triggerCallback("start")),ie.onDone(()=>this.finish()),ie.onDestroy(()=>this.destroy())}_queueEvent(ie,pe){dt(this._queuedCallbacks,ie,[]).push(pe)}onDone(ie){this.queued&&this._queueEvent("done",ie),this._player.onDone(ie)}onStart(ie){this.queued&&this._queueEvent("start",ie),this._player.onStart(ie)}onDestroy(ie){this.queued&&this._queueEvent("destroy",ie),this._player.onDestroy(ie)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(ie){this.queued||this._player.setPosition(ie)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(ie){const pe=this._player;pe.triggerCallback&&pe.triggerCallback(ie)}}function xo(Je){return Je&&1===Je.nodeType}function ts(Je,ie){const pe=Je.style.display;return Je.style.display=ie??"none",pe}function us(Je,ie,pe,Le,Ze){const wt=[];pe.forEach(Yt=>wt.push(ts(Yt)));const Rt=[];Le.forEach((Yt,Cn)=>{const $n=new Map;Yt.forEach(Jn=>{const Yr=ie.computeStyle(Cn,Jn,Ze);$n.set(Jn,Yr),(!Yr||0==Yr.length)&&(Cn[Qr]=Ni,Rt.push(Cn))}),Je.set(Cn,$n)});let Bt=0;return pe.forEach(Yt=>ts(Yt,wt[Bt++])),Rt}function Lo(Je,ie){const pe=new Map;if(Je.forEach(Bt=>pe.set(Bt,[])),0==ie.length)return pe;const Ze=new Set(ie),wt=new Map;function Rt(Bt){if(!Bt)return 1;let Yt=wt.get(Bt);if(Yt)return Yt;const Cn=Bt.parentNode;return Yt=pe.has(Cn)?Cn:Ze.has(Cn)?1:Rt(Cn),wt.set(Bt,Yt),Yt}return ie.forEach(Bt=>{const Yt=Rt(Bt);1!==Yt&&pe.get(Yt).push(Bt)}),pe}function Ki(Je,ie){Je.classList?.add(ie)}function Ro(Je,ie){Je.classList?.remove(ie)}function _o(Je,ie,pe){Qe(pe).onDone(()=>Je.processLeaveNode(ie))}function co(Je,ie){for(let pe=0;peZe.add(wt)):ie.set(Je,Le),pe.delete(Je),!0}class wo{constructor(ie,pe,Le,Ze){this._driver=pe,this._normalizer=Le,this._triggerCache={},this.onRemovalComplete=(wt,Rt)=>{},this._transitionEngine=new Co(ie.body,pe,Le,Ze),this._timelineEngine=new ei(ie.body,pe,Le),this._transitionEngine.onRemovalComplete=(wt,Rt)=>this.onRemovalComplete(wt,Rt)}registerTrigger(ie,pe,Le,Ze,wt){const Rt=ie+"-"+Ze;let Bt=this._triggerCache[Rt];if(!Bt){const Yt=[],$n=Jt(this._driver,wt,Yt,[]);if(Yt.length)throw function ft(Je,ie){return new n.\u0275RuntimeError(3404,!1)}();Bt=function to(Je,ie,pe){return new $r(Je,ie,pe)}(Ze,$n,this._normalizer),this._triggerCache[Rt]=Bt}this._transitionEngine.registerTrigger(pe,Ze,Bt)}register(ie,pe){this._transitionEngine.register(ie,pe)}destroy(ie,pe){this._transitionEngine.destroy(ie,pe)}onInsert(ie,pe,Le,Ze){this._transitionEngine.insertNode(ie,pe,Le,Ze)}onRemove(ie,pe,Le){this._transitionEngine.removeNode(ie,pe,Le)}disableAnimations(ie,pe){this._transitionEngine.markElementAsDisabled(ie,pe)}process(ie,pe,Le,Ze){if("@"==Le.charAt(0)){const[wt,Rt]=Mt(Le);this._timelineEngine.command(wt,pe,Rt,Ze)}else this._transitionEngine.trigger(ie,pe,Le,Ze)}listen(ie,pe,Le,Ze,wt){if("@"==Le.charAt(0)){const[Rt,Bt]=Mt(Le);return this._timelineEngine.listen(Rt,pe,Bt,wt)}return this._transitionEngine.listen(ie,pe,Le,Ze,wt)}flush(ie=-1){this._transitionEngine.flush(ie)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(ie){this._transitionEngine.afterFlushAnimationsDone(ie)}}class Qo{static#e=this.initialStylesByElement=new WeakMap;constructor(ie,pe,Le){this._element=ie,this._startStyles=pe,this._endStyles=Le,this._state=0;let Ze=Qo.initialStylesByElement.get(ie);Ze||Qo.initialStylesByElement.set(ie,Ze=new Map),this._initialStyles=Ze}start(){this._state<1&&(this._startStyles&&jn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jn(this._element,this._initialStyles),this._endStyles&&(jn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qo.initialStylesByElement.delete(this._element),this._startStyles&&(Zn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zn(this._element,this._endStyles),this._endStyles=null),jn(this._element,this._initialStyles),this._state=3)}}function ze(Je){let ie=null;return Je.forEach((pe,Le)=>{(function Ke(Je){return"display"===Je||"position"===Je})(Le)&&(ie=ie||new Map,ie.set(Le,pe))}),ie}class ke{constructor(ie,pe,Le,Ze){this.element=ie,this.keyframes=pe,this.options=Le,this._specialStyles=Ze,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=Le.duration,this._delay=Le.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const ie=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ie,this.options),this._finalKeyframe=ie.length?ie[ie.length-1]:new Map;const pe=()=>this._onFinish();this.domPlayer.addEventListener("finish",pe),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",pe)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(ie){const pe=[];return ie.forEach(Le=>{pe.push(Object.fromEntries(Le))}),pe}_triggerWebAnimation(ie,pe,Le){return ie.animate(this._convertKeyframesToObject(pe),Le)}onStart(ie){this._originalOnStartFns.push(ie),this._onStartFns.push(ie)}onDone(ie){this._originalOnDoneFns.push(ie),this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(ie=>ie()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}setPosition(ie){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=ie*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const ie=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Le,Ze)=>{"offset"!==Ze&&ie.set(Ze,this._finished?Le:zn(this.element,Ze))}),this.currentSnapshot=ie}triggerCallback(ie){const pe="start"===ie?this._onStartFns:this._onDoneFns;pe.forEach(Le=>Le()),pe.length=0}}class ct{validateStyleProperty(ie){return!0}validateAnimatableStyleProperty(ie){return!0}matchesElement(ie,pe){return!1}containsElement(ie,pe){return Ct(ie,pe)}getParentElement(ie){return $t(ie)}query(ie,pe,Le){return Pt(ie,pe,Le)}computeStyle(ie,pe,Le){return zn(ie,pe)}animate(ie,pe,Le,Ze,wt,Rt=[]){const Yt={duration:Le,delay:Ze,fill:0==Ze?"both":"forwards"};wt&&(Yt.easing=wt);const Cn=new Map,$n=Rt.filter(hr=>hr instanceof ke);(function Mn(Je,ie){return 0===Je||0===ie})(Le,Ze)&&$n.forEach(hr=>{hr.currentSnapshot.forEach((nr,mr)=>Cn.set(mr,nr))});let Jn=function Si(Je){return Je.length?Je[0]instanceof Map?Je:Je.map(ie=>new Map(Object.entries(ie))):[]}(pe).map(hr=>new Map(hr));Jn=function En(Je,ie,pe){if(pe.size&&ie.length){let Le=ie[0],Ze=[];if(pe.forEach((wt,Rt)=>{Le.has(Rt)||Ze.push(Rt),Le.set(Rt,wt)}),Ze.length)for(let wt=1;wtRt.set(Bt,zn(Je,Bt)))}}return ie}(ie,Jn,Cn);const Yr=function ds(Je,ie){let pe=null,Le=null;return Array.isArray(ie)&&ie.length?(pe=ze(ie[0]),ie.length>1&&(Le=ze(ie[ie.length-1]))):ie instanceof Map&&(pe=ze(ie)),pe||Le?new Qo(Je,pe,Le):null}(ie,Jn);return new ke(ie,Jn,Yt,Yr)}}const zi="@.disabled";class So{constructor(ie,pe,Le,Ze){this.namespaceId=ie,this.delegate=pe,this.engine=Le,this._onDestroy=Ze,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(ie){this.delegate.destroyNode?.(ie)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(ie,pe){return this.delegate.createElement(ie,pe)}createComment(ie){return this.delegate.createComment(ie)}createText(ie){return this.delegate.createText(ie)}appendChild(ie,pe){this.delegate.appendChild(ie,pe),this.engine.onInsert(this.namespaceId,pe,ie,!1)}insertBefore(ie,pe,Le,Ze=!0){this.delegate.insertBefore(ie,pe,Le),this.engine.onInsert(this.namespaceId,pe,ie,Ze)}removeChild(ie,pe,Le){this.engine.onRemove(this.namespaceId,pe,this.delegate)}selectRootElement(ie,pe){return this.delegate.selectRootElement(ie,pe)}parentNode(ie){return this.delegate.parentNode(ie)}nextSibling(ie){return this.delegate.nextSibling(ie)}setAttribute(ie,pe,Le,Ze){this.delegate.setAttribute(ie,pe,Le,Ze)}removeAttribute(ie,pe,Le){this.delegate.removeAttribute(ie,pe,Le)}addClass(ie,pe){this.delegate.addClass(ie,pe)}removeClass(ie,pe){this.delegate.removeClass(ie,pe)}setStyle(ie,pe,Le,Ze){this.delegate.setStyle(ie,pe,Le,Ze)}removeStyle(ie,pe,Le){this.delegate.removeStyle(ie,pe,Le)}setProperty(ie,pe,Le){"@"==pe.charAt(0)&&pe==zi?this.disableAnimations(ie,!!Le):this.delegate.setProperty(ie,pe,Le)}setValue(ie,pe){this.delegate.setValue(ie,pe)}listen(ie,pe,Le){return this.delegate.listen(ie,pe,Le)}disableAnimations(ie,pe){this.engine.disableAnimations(ie,pe)}}class Do extends So{constructor(ie,pe,Le,Ze,wt){super(pe,Le,Ze,wt),this.factory=ie,this.namespaceId=pe}setProperty(ie,pe,Le){"@"==pe.charAt(0)?"."==pe.charAt(1)&&pe==zi?this.disableAnimations(ie,Le=void 0===Le||!!Le):this.engine.process(this.namespaceId,ie,pe.slice(1),Le):this.delegate.setProperty(ie,pe,Le)}listen(ie,pe,Le){if("@"==pe.charAt(0)){const Ze=function go(Je){switch(Je){case"body":return document.body;case"document":return document;case"window":return window;default:return Je}}(ie);let wt=pe.slice(1),Rt="";return"@"!=wt.charAt(0)&&([wt,Rt]=function Fr(Je){const ie=Je.indexOf(".");return[Je.substring(0,ie),Je.slice(ie+1)]}(wt)),this.engine.listen(this.namespaceId,Ze,wt,Rt,Bt=>{this.factory.scheduleListenerCallback(Bt._data||-1,Le,Bt)})}return this.delegate.listen(ie,pe,Le)}}class Xo{constructor(ie,pe,Le){this.delegate=ie,this.engine=pe,this._zone=Le,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,pe.onRemovalComplete=(Ze,wt)=>{const Rt=wt?.parentNode(Ze);Rt&&wt.removeChild(Rt,Ze)}}createRenderer(ie,pe){const Ze=this.delegate.createRenderer(ie,pe);if(!ie||!pe?.data?.animation){const Cn=this._rendererCache;let $n=Cn.get(Ze);return $n||($n=new So("",Ze,this.engine,()=>Cn.delete(Ze)),Cn.set(Ze,$n)),$n}const wt=pe.id,Rt=pe.id+"-"+this._currentId;this._currentId++,this.engine.register(Rt,ie);const Bt=Cn=>{Array.isArray(Cn)?Cn.forEach(Bt):this.engine.registerTrigger(wt,Rt,ie,Cn.name,Cn)};return pe.data.animation.forEach(Bt),new Do(this,Rt,Ze,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(ie,pe,Le){if(ie>=0&&iepe(Le));const Ze=this._animationCallbacksBuffer;0==Ze.length&&queueMicrotask(()=>{this._zone.run(()=>{Ze.forEach(wt=>{const[Rt,Bt]=wt;Rt(Bt)}),this._animationCallbacksBuffer=[]})}),Ze.push([pe,Le])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var ns=o(91368);let qi=(()=>{class Je extends wo{constructor(pe,Le,Ze){super(pe,Le,Ze,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Le){return new(Le||Je)(n.\u0275\u0275inject(ns.DOCUMENT),n.\u0275\u0275inject(Tn),n.\u0275\u0275inject(nn))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}return Je})();const To=[{provide:nn,useFactory:function rs(){return new Ar}},{provide:wo,useClass:qi},{provide:n.RendererFactory2,useFactory:function Ao(Je,ie,pe){return new Xo(Je,ie,pe)},deps:[i.\u0275DomRendererFactory2,wo,n.NgZone]}],Ti=[{provide:Tn,useFactory:()=>new ct},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...To],zo=[{provide:Tn,useClass:bn},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...To];let No=(()=>{class Je{static withConfig(pe){return{ngModule:Je,providers:pe.disableAnimations?zo:Ti}}static#e=this.\u0275fac=function(Le){return new(Le||Je)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Ti,imports:[i.BrowserModule]})}return Je})();function ss(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...Ti]}let so=(()=>{class Je{static#e=this.\u0275fac=function(Le){return new(Le||Je)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:zo,imports:[i.BrowserModule]})}return Je})();function hs(){return[...zo]}},14476:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{BrowserModule:()=>mt,By:()=>vn,DomSanitizer:()=>lt,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>S,EventManagerPlugin:()=>y,HAMMER_GESTURE_CONFIG:()=>Ue,HAMMER_LOADER:()=>De,HammerGestureConfig:()=>Pe,HammerModule:()=>Re,HydrationFeatureKind:()=>gt,Meta:()=>st,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>R,Title:()=>Qt,TransferState:()=>Zt,VERSION:()=>Tt,bootstrapApplication:()=>ee,createApplication:()=>J,disableDebugTools:()=>An,enableDebugTools:()=>wn,makeStateKey:()=>Ut,platformBrowser:()=>Me,provideClientHydration:()=>pt,provideProtractorTestingSupport:()=>de,withHttpTransferCacheOptions:()=>nt,withNoHttpTransferCache:()=>Mt,\u0275BrowserDomAdapter:()=>a,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>Y,\u0275DomRendererFactory2:()=>O,\u0275DomSanitizerImpl:()=>He,\u0275HammerGesturesPlugin:()=>Qe,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>le,\u0275KeyEventsPlugin:()=>W,\u0275SharedStylesHost:()=>h,\u0275getDOM:()=>i.\u0275getDOM,\u0275initDomAdapter:()=>be});var n=o(54496),i=o(91368),d=o(97048);class u extends i.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class a extends u{static makeCurrent(){(0,i.\u0275setRootDomAdapter)(new a)}onAndCancel(zt,Ct,Pt){return zt.addEventListener(Ct,Pt),()=>{zt.removeEventListener(Ct,Pt)}}dispatchEvent(zt,Ct){zt.dispatchEvent(Ct)}remove(zt){zt.parentNode&&zt.parentNode.removeChild(zt)}createElement(zt,Ct){return(Ct=Ct||this.getDefaultDocument()).createElement(zt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(zt){return zt.nodeType===Node.ELEMENT_NODE}isShadowRoot(zt){return zt instanceof DocumentFragment}getGlobalEventTarget(zt,Ct){return"window"===Ct?window:"document"===Ct?zt:"body"===Ct?zt.body:null}getBaseHref(zt){const Ct=function c(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==Ct?null:function l(Dt){return new URL(Dt,document.baseURI).pathname}(Ct)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(zt){return(0,i.\u0275parseCookieValue)(document.cookie,zt)}}let e=null;class g{addToWindow(zt){n.\u0275global.getAngularTestability=(Pt,tn=!0)=>{const bn=zt.findTestabilityInTree(Pt,tn);if(null==bn)throw new n.\u0275RuntimeError(5103,!1);return bn},n.\u0275global.getAllAngularTestabilities=()=>zt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>zt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(Pt=>{const tn=n.\u0275global.getAllAngularTestabilities();let bn=tn.length;const Tn=function(){bn--,0==bn&&Pt()};tn.forEach(nn=>{nn.whenStable(Tn)})})}findTestabilityInTree(zt,Ct,Pt){return null==Ct?null:zt.getTestability(Ct)??(Pt?(0,i.\u0275getDOM)().isShadowRoot(Ct)?this.findTestabilityInTree(zt,Ct.host,!0):this.findTestabilityInTree(zt,Ct.parentElement,!0):null)}}let b=(()=>{class Dt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();const _=new n.InjectionToken("");let S=(()=>{class Dt{constructor(Ct,Pt){this._zone=Pt,this._eventNameToPlugin=new Map,Ct.forEach(tn=>{tn.manager=this}),this._plugins=Ct.slice().reverse()}addEventListener(Ct,Pt,tn){return this._findPluginFor(Pt).addEventListener(Ct,Pt,tn)}getZone(){return this._zone}_findPluginFor(Ct){let Pt=this._eventNameToPlugin.get(Ct);if(Pt)return Pt;if(Pt=this._plugins.find(bn=>bn.supports(Ct)),!Pt)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Ct,Pt),Pt}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(_),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();class y{constructor(zt){this._doc=zt}}const m="ng-app-id";let h=(()=>{class Dt{constructor(Ct,Pt,tn,bn={}){this.doc=Ct,this.appId=Pt,this.nonce=tn,this.platformId=bn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,i.isPlatformServer)(bn),this.resetHostNodes()}addStyles(Ct){for(const Pt of Ct)1===this.changeUsageCount(Pt,1)&&this.onStyleAdded(Pt)}removeStyles(Ct){for(const Pt of Ct)this.changeUsageCount(Pt,-1)<=0&&this.onStyleRemoved(Pt)}ngOnDestroy(){const Ct=this.styleNodesInDOM;Ct&&(Ct.forEach(Pt=>Pt.remove()),Ct.clear());for(const Pt of this.getAllStyles())this.onStyleRemoved(Pt);this.resetHostNodes()}addHost(Ct){this.hostNodes.add(Ct);for(const Pt of this.getAllStyles())this.addStyleToHost(Ct,Pt)}removeHost(Ct){this.hostNodes.delete(Ct)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ct){for(const Pt of this.hostNodes)this.addStyleToHost(Pt,Ct)}onStyleRemoved(Ct){const Pt=this.styleRef;Pt.get(Ct)?.elements?.forEach(tn=>tn.remove()),Pt.delete(Ct)}collectServerRenderedStyles(){const Ct=this.doc.head?.querySelectorAll(`style[${m}="${this.appId}"]`);if(Ct?.length){const Pt=new Map;return Ct.forEach(tn=>{null!=tn.textContent&&Pt.set(tn.textContent,tn)}),Pt}return null}changeUsageCount(Ct,Pt){const tn=this.styleRef;if(tn.has(Ct)){const bn=tn.get(Ct);return bn.usage+=Pt,bn.usage}return tn.set(Ct,{usage:Pt,elements:[]}),Pt}getStyleElement(Ct,Pt){const tn=this.styleNodesInDOM,bn=tn?.get(Pt);if(bn?.parentNode===Ct)return tn.delete(Pt),bn.removeAttribute(m),bn;{const Tn=this.doc.createElement("style");return this.nonce&&Tn.setAttribute("nonce",this.nonce),Tn.textContent=Pt,this.platformIsServer&&Tn.setAttribute(m,this.appId),Ct.appendChild(Tn),Tn}}addStyleToHost(Ct,Pt){const tn=this.getStyleElement(Ct,Pt),bn=this.styleRef,Tn=bn.get(Pt)?.elements;Tn?Tn.push(tn):bn.set(Pt,{elements:[tn],usage:1})}resetHostNodes(){const Ct=this.hostNodes;Ct.clear(),Ct.add(this.doc.head)}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();const C={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/MathML/"},v=/%COMP%/g,M="%COMP%",E=`_nghost-${M}`,A=`_ngcontent-${M}`,R=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function L(Dt,zt){return zt.map(Ct=>Ct.replace(v,Dt))}let O=(()=>{class Dt{constructor(Ct,Pt,tn,bn,Tn,nn,tr,Ir=null){this.eventManager=Ct,this.sharedStylesHost=Pt,this.appId=tn,this.removeStylesOnCompDestroy=bn,this.doc=Tn,this.platformId=nn,this.ngZone=tr,this.nonce=Ir,this.rendererByCompId=new Map,this.platformIsServer=(0,i.isPlatformServer)(nn),this.defaultRenderer=new z(Ct,Tn,tr,this.platformIsServer)}createRenderer(Ct,Pt){if(!Ct||!Pt)return this.defaultRenderer;this.platformIsServer&&Pt.encapsulation===n.ViewEncapsulation.ShadowDom&&(Pt={...Pt,encapsulation:n.ViewEncapsulation.Emulated});const tn=this.getOrCreateRenderer(Ct,Pt);return tn instanceof ne?tn.applyToHost(Ct):tn instanceof K&&tn.applyStyles(),tn}getOrCreateRenderer(Ct,Pt){const tn=this.rendererByCompId;let bn=tn.get(Pt.id);if(!bn){const Tn=this.doc,nn=this.ngZone,tr=this.eventManager,Ir=this.sharedStylesHost,Rr=this.removeStylesOnCompDestroy,ar=this.platformIsServer;switch(Pt.encapsulation){case n.ViewEncapsulation.Emulated:bn=new ne(tr,Ir,Pt,this.appId,Rr,Tn,nn,ar);break;case n.ViewEncapsulation.ShadowDom:return new ce(tr,Ir,Ct,Pt,Tn,nn,this.nonce,ar);default:bn=new K(tr,Ir,Pt,Rr,Tn,nn,ar)}tn.set(Pt.id,bn)}return bn}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(h),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(R),n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();class z{constructor(zt,Ct,Pt,tn){this.eventManager=zt,this.doc=Ct,this.ngZone=Pt,this.platformIsServer=tn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(zt,Ct){return Ct?this.doc.createElementNS(C[Ct]||Ct,zt):this.doc.createElement(zt)}createComment(zt){return this.doc.createComment(zt)}createText(zt){return this.doc.createTextNode(zt)}appendChild(zt,Ct){(X(zt)?zt.content:zt).appendChild(Ct)}insertBefore(zt,Ct,Pt){zt&&(X(zt)?zt.content:zt).insertBefore(Ct,Pt)}removeChild(zt,Ct){zt&&zt.removeChild(Ct)}selectRootElement(zt,Ct){let Pt="string"==typeof zt?this.doc.querySelector(zt):zt;if(!Pt)throw new n.\u0275RuntimeError(-5104,!1);return Ct||(Pt.textContent=""),Pt}parentNode(zt){return zt.parentNode}nextSibling(zt){return zt.nextSibling}setAttribute(zt,Ct,Pt,tn){if(tn){Ct=tn+":"+Ct;const bn=C[tn];bn?zt.setAttributeNS(bn,Ct,Pt):zt.setAttribute(Ct,Pt)}else zt.setAttribute(Ct,Pt)}removeAttribute(zt,Ct,Pt){if(Pt){const tn=C[Pt];tn?zt.removeAttributeNS(tn,Ct):zt.removeAttribute(`${Pt}:${Ct}`)}else zt.removeAttribute(Ct)}addClass(zt,Ct){zt.classList.add(Ct)}removeClass(zt,Ct){zt.classList.remove(Ct)}setStyle(zt,Ct,Pt,tn){tn&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?zt.style.setProperty(Ct,Pt,tn&n.RendererStyleFlags2.Important?"important":""):zt.style[Ct]=Pt}removeStyle(zt,Ct,Pt){Pt&n.RendererStyleFlags2.DashCase?zt.style.removeProperty(Ct):zt.style[Ct]=""}setProperty(zt,Ct,Pt){null!=zt&&(zt[Ct]=Pt)}setValue(zt,Ct){zt.nodeValue=Ct}listen(zt,Ct,Pt){if("string"==typeof zt&&!(zt=(0,i.\u0275getDOM)().getGlobalEventTarget(this.doc,zt)))throw new Error(`Unsupported event target ${zt} for event ${Ct}`);return this.eventManager.addEventListener(zt,Ct,this.decoratePreventDefault(Pt))}decoratePreventDefault(zt){return Ct=>{if("__ngUnwrap__"===Ct)return zt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>zt(Ct)):zt(Ct))&&Ct.preventDefault()}}}function X(Dt){return"TEMPLATE"===Dt.tagName&&void 0!==Dt.content}class ce extends z{constructor(zt,Ct,Pt,tn,bn,Tn,nn,tr){super(zt,bn,Tn,tr),this.sharedStylesHost=Ct,this.hostEl=Pt,this.shadowRoot=Pt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ir=L(tn.id,tn.styles);for(const Rr of Ir){const ar=document.createElement("style");nn&&ar.setAttribute("nonce",nn),ar.textContent=Rr,this.shadowRoot.appendChild(ar)}}nodeOrShadowRoot(zt){return zt===this.hostEl?this.shadowRoot:zt}appendChild(zt,Ct){return super.appendChild(this.nodeOrShadowRoot(zt),Ct)}insertBefore(zt,Ct,Pt){return super.insertBefore(this.nodeOrShadowRoot(zt),Ct,Pt)}removeChild(zt,Ct){return super.removeChild(this.nodeOrShadowRoot(zt),Ct)}parentNode(zt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(zt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class K extends z{constructor(zt,Ct,Pt,tn,bn,Tn,nn,tr){super(zt,bn,Tn,nn),this.sharedStylesHost=Ct,this.removeStylesOnCompDestroy=tn,this.styles=tr?L(tr,Pt.styles):Pt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ne extends K{constructor(zt,Ct,Pt,tn,bn,Tn,nn,tr){const Ir=tn+"-"+Pt.id;super(zt,Ct,Pt,bn,Tn,nn,tr,Ir),this.contentAttr=function N(Dt){return A.replace(v,Dt)}(Ir),this.hostAttr=function I(Dt){return E.replace(v,Dt)}(Ir)}applyToHost(zt){this.applyStyles(),this.setAttribute(zt,this.hostAttr,"")}createElement(zt,Ct){const Pt=super.createElement(zt,Ct);return super.setAttribute(Pt,this.contentAttr,""),Pt}}let Y=(()=>{class Dt extends y{constructor(Ct){super(Ct)}supports(Ct){return!0}addEventListener(Ct,Pt,tn){return Ct.addEventListener(Pt,tn,!1),()=>this.removeEventListener(Ct,Pt,tn)}removeEventListener(Ct,Pt,tn){return Ct.removeEventListener(Pt,tn)}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();const H=["alt","control","meta","shift"],ae={"\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"},re={alt:Dt=>Dt.altKey,control:Dt=>Dt.ctrlKey,meta:Dt=>Dt.metaKey,shift:Dt=>Dt.shiftKey};let W=(()=>{class Dt extends y{constructor(Ct){super(Ct)}supports(Ct){return null!=Dt.parseEventName(Ct)}addEventListener(Ct,Pt,tn){const bn=Dt.parseEventName(Pt),Tn=Dt.eventCallback(bn.fullKey,tn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.\u0275getDOM)().onAndCancel(Ct,bn.domEventName,Tn))}static parseEventName(Ct){const Pt=Ct.toLowerCase().split("."),tn=Pt.shift();if(0===Pt.length||"keydown"!==tn&&"keyup"!==tn)return null;const bn=Dt._normalizeKey(Pt.pop());let Tn="",nn=Pt.indexOf("code");if(nn>-1&&(Pt.splice(nn,1),Tn="code."),H.forEach(Ir=>{const Rr=Pt.indexOf(Ir);Rr>-1&&(Pt.splice(Rr,1),Tn+=Ir+".")}),Tn+=bn,0!=Pt.length||0===bn.length)return null;const tr={};return tr.domEventName=tn,tr.fullKey=Tn,tr}static matchEventFullKeyCode(Ct,Pt){let tn=ae[Ct.key]||Ct.key,bn="";return Pt.indexOf("code.")>-1&&(tn=Ct.code,bn="code."),!(null==tn||!tn)&&(tn=tn.toLowerCase()," "===tn?tn="space":"."===tn&&(tn="dot"),H.forEach(Tn=>{Tn!==tn&&(0,re[Tn])(Ct)&&(bn+=Tn+".")}),bn+=tn,bn===Pt)}static eventCallback(Ct,Pt,tn){return bn=>{Dt.matchEventFullKeyCode(bn,Ct)&&tn.runGuarded(()=>Pt(bn))}}static _normalizeKey(Ct){return"esc"===Ct?"escape":Ct}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();function ee(Dt,zt){return(0,n.\u0275internalCreateApplication)({rootComponent:Dt,...G(zt)})}function J(Dt){return(0,n.\u0275internalCreateApplication)(G(Dt))}function G(Dt){return{appProviders:[...tt,...Dt?.providers??[]],platformProviders:le}}function de(){return[...qe]}function be(){a.makeCurrent()}const le=[{provide:n.PLATFORM_ID,useValue:i.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:be,multi:!0},{provide:i.DOCUMENT,useFactory:function ye(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Me=(0,n.createPlatformFactory)(n.platformCore,"browser",le),$e=new n.InjectionToken(""),qe=[{provide:n.\u0275TESTABILITY_GETTER,useClass:g,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],tt=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Ae(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Y,multi:!0,deps:[i.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:W,multi:!0,deps:[i.DOCUMENT]},O,h,S,{provide:n.RendererFactory2,useExisting:O},{provide:i.XhrFactory,useClass:b,deps:[]},[]];let mt=(()=>{class Dt{constructor(Ct){}static withServerTransition(Ct){return{ngModule:Dt,providers:[{provide:n.APP_ID,useValue:Ct.appId}]}}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject($e,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Dt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...tt,...qe],imports:[i.CommonModule,n.ApplicationModule]})}return Dt})(),st=(()=>{class Dt{constructor(Ct){this._doc=Ct,this._dom=(0,i.\u0275getDOM)()}addTag(Ct,Pt=!1){return Ct?this._getOrCreateElement(Ct,Pt):null}addTags(Ct,Pt=!1){return Ct?Ct.reduce((tn,bn)=>(bn&&tn.push(this._getOrCreateElement(bn,Pt)),tn),[]):[]}getTag(Ct){return Ct&&this._doc.querySelector(`meta[${Ct}]`)||null}getTags(Ct){if(!Ct)return[];const Pt=this._doc.querySelectorAll(`meta[${Ct}]`);return Pt?[].slice.call(Pt):[]}updateTag(Ct,Pt){if(!Ct)return null;Pt=Pt||this._parseSelector(Ct);const tn=this.getTag(Pt);return tn?this._setMetaElementAttributes(Ct,tn):this._getOrCreateElement(Ct,!0)}removeTag(Ct){this.removeTagElement(this.getTag(Ct))}removeTagElement(Ct){Ct&&this._dom.remove(Ct)}_getOrCreateElement(Ct,Pt=!1){if(!Pt){const Tn=this._parseSelector(Ct),nn=this.getTags(Tn).filter(tr=>this._containsAttributes(Ct,tr))[0];if(void 0!==nn)return nn}const tn=this._dom.createElement("meta");return this._setMetaElementAttributes(Ct,tn),this._doc.getElementsByTagName("head")[0].appendChild(tn),tn}_setMetaElementAttributes(Ct,Pt){return Object.keys(Ct).forEach(tn=>Pt.setAttribute(this._getMetaKeyMap(tn),Ct[tn])),Pt}_parseSelector(Ct){const Pt=Ct.name?"name":"property";return`${Pt}="${Ct[Pt]}"`}_containsAttributes(Ct,Pt){return Object.keys(Ct).every(tn=>Pt.getAttribute(this._getMetaKeyMap(tn))===Ct[tn])}_getMetaKeyMap(Ct){return ft[Ct]||Ct}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();const ft={httpEquiv:"http-equiv"};let Qt=(()=>{class Dt{constructor(Ct){this._doc=Ct}getTitle(){return this._doc.title}setTitle(Ct){this._doc.title=Ct||""}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();function bt(Dt,zt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[Dt]=zt)}class Vt{constructor(zt,Ct){this.msPerTick=zt,this.numTicks=Ct}}class sn{constructor(zt){this.appRef=zt.injector.get(n.ApplicationRef)}timeChangeDetection(zt){const Ct=zt&&zt.record,Pt="Change Detection";Ct&&"profile"in console&&"function"==typeof console.profile&&console.profile(Pt);const tn=performance.now();let bn=0;for(;bn<5||performance.now()-tn<500;)this.appRef.tick(),bn++;const Tn=performance.now();Ct&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Pt);const nn=(Tn-tn)/bn;return console.log(`ran ${bn} change detection cycles`),console.log(`${nn.toFixed(2)} ms per check`),new Vt(nn,bn)}}const dn="profiler";function wn(Dt){return bt(dn,new sn(Dt)),Dt}function An(){bt(dn,null)}class vn{static all(){return()=>!0}static css(zt){return Ct=>null!=Ct.nativeElement&&function qt(Dt,zt){return!!(0,i.\u0275getDOM)().isElementNode(Dt)&&(Dt.matches&&Dt.matches(zt)||Dt.msMatchesSelector&&Dt.msMatchesSelector(zt)||Dt.webkitMatchesSelector&&Dt.webkitMatchesSelector(zt))}(Ct.nativeElement,zt)}static directive(zt){return Ct=>-1!==Ct.providerTokens.indexOf(zt)}}const ut={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ue=new n.InjectionToken("HammerGestureConfig"),De=new n.InjectionToken("HammerLoader");let Pe=(()=>{class Dt{constructor(){this.events=[],this.overrides={}}buildHammer(Ct){const Pt=new Hammer(Ct,this.options);Pt.get("pinch").set({enable:!0}),Pt.get("rotate").set({enable:!0});for(const tn in this.overrides)Pt.get(tn).set(this.overrides[tn]);return Pt}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})(),Qe=(()=>{class Dt extends y{constructor(Ct,Pt,tn,bn){super(Ct),this._config=Pt,this.console=tn,this.loader=bn,this._loaderPromise=null}supports(Ct){return!(!ut.hasOwnProperty(Ct.toLowerCase())&&!this.isCustomEvent(Ct)||!window.Hammer&&!this.loader)}addEventListener(Ct,Pt,tn){const bn=this.manager.getZone();if(Pt=Pt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||bn.runOutsideAngular(()=>this.loader());let Tn=!1,nn=()=>{Tn=!0};return bn.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Tn||(nn=this.addEventListener(Ct,Pt,tn)):nn=()=>{}}).catch(()=>{nn=()=>{}})),()=>{nn()}}return bn.runOutsideAngular(()=>{const Tn=this._config.buildHammer(Ct),nn=function(tr){bn.runGuarded(function(){tn(tr)})};return Tn.on(Pt,nn),()=>{Tn.off(Pt,nn),"function"==typeof Tn.destroy&&Tn.destroy()}})}isCustomEvent(Ct){return this._config.events.indexOf(Ct)>-1}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(Ue),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(De,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})(),Re=(()=>{class Dt{static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Dt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:_,useClass:Qe,multi:!0,deps:[i.DOCUMENT,Ue,n.\u0275Console,[new n.Optional,De]]},{provide:Ue,useClass:Pe,deps:[]}]})}return Dt})(),lt=(()=>{class Dt{static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:function(Pt){let tn=null;return tn=Pt?new(Pt||Dt):n.\u0275\u0275inject(He),tn},providedIn:"root"})}return Dt})(),He=(()=>{class Dt extends lt{constructor(Ct){super(),this._doc=Ct}sanitize(Ct,Pt){if(null==Pt)return null;switch(Ct){case n.SecurityContext.NONE:return Pt;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(Pt,"HTML")?(0,n.\u0275unwrapSafeValue)(Pt):(0,n.\u0275_sanitizeHtml)(this._doc,String(Pt)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(Pt,"Style")?(0,n.\u0275unwrapSafeValue)(Pt):Pt;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(Pt,"Script"))return(0,n.\u0275unwrapSafeValue)(Pt);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(Pt,"URL")?(0,n.\u0275unwrapSafeValue)(Pt):(0,n.\u0275_sanitizeUrl)(String(Pt));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(Pt,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(Pt);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Ct){return(0,n.\u0275bypassSanitizationTrustHtml)(Ct)}bypassSecurityTrustStyle(Ct){return(0,n.\u0275bypassSanitizationTrustStyle)(Ct)}bypassSecurityTrustScript(Ct){return(0,n.\u0275bypassSanitizationTrustScript)(Ct)}bypassSecurityTrustUrl(Ct){return(0,n.\u0275bypassSanitizationTrustUrl)(Ct)}bypassSecurityTrustResourceUrl(Ct){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(Ct)}static#e=this.\u0275fac=function(Pt){return new(Pt||Dt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();var gt=function(Dt){return Dt[Dt.NoHttpTransferCache=0]="NoHttpTransferCache",Dt[Dt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Dt}(gt||{});function dt(Dt,zt=[],Ct={}){return{\u0275kind:Dt,\u0275providers:zt}}function Mt(){return dt(gt.NoHttpTransferCache)}function nt(Dt){return dt(gt.HttpTransferCacheOptions,(0,d.\u0275withHttpTransferCache)(Dt))}function pt(...Dt){const zt=[],Ct=new Set,Pt=Ct.has(gt.HttpTransferCacheOptions);for(const{\u0275providers:tn,\u0275kind:bn}of Dt)Ct.add(bn),tn.length&&zt.push(tn);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),Ct.has(gt.NoHttpTransferCache)||Pt?[]:(0,d.\u0275withHttpTransferCache)({}),zt])}const Tt=new n.Version("17.2.3"),Ut=n.makeStateKey,Zt=n.TransferState},84588:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ActivatedRoute:()=>Rn,ActivatedRouteSnapshot:()=>Kr,ActivationEnd:()=>Gt,ActivationStart:()=>gn,BaseRouteReuseStrategy:()=>Nr,ChildActivationEnd:()=>yn,ChildActivationStart:()=>_n,ChildrenOutletContexts:()=>at,DefaultTitleStrategy:()=>j,DefaultUrlSerializer:()=>nt,EventType:()=>Yn,GuardsCheckEnd:()=>_t,GuardsCheckStart:()=>et,NavigationCancel:()=>Ne,NavigationCancellationCode:()=>V,NavigationEnd:()=>B,NavigationError:()=>me,NavigationSkipped:()=>Ie,NavigationSkippedCode:()=>ue,NavigationStart:()=>un,NoPreloading:()=>Kl,OutletContext:()=>Hr,PRIMARY_OUTLET:()=>Me,PreloadAllModules:()=>il,PreloadingStrategy:()=>Ya,ROUTER_CONFIGURATION:()=>he,ROUTER_INITIALIZER:()=>Zr,ROUTES:()=>Oe,ResolveEnd:()=>Nt,ResolveStart:()=>At,RouteConfigLoadEnd:()=>mn,RouteConfigLoadStart:()=>Jt,RouteReuseStrategy:()=>pr,Router:()=>mi,RouterEvent:()=>di,RouterLink:()=>jo,RouterLinkActive:()=>rl,RouterLinkWithHref:()=>jo,RouterModule:()=>ql,RouterOutlet:()=>zr,RouterPreloader:()=>sa,RouterState:()=>ni,RouterStateSnapshot:()=>qr,RoutesRecognized:()=>Te,Scroll:()=>Nn,TitleStrategy:()=>te,UrlHandlingStrategy:()=>Ve,UrlSegment:()=>lt,UrlSegmentGroup:()=>Re,UrlSerializer:()=>Mt,UrlTree:()=>Qe,VERSION:()=>ua,convertToParamMap:()=>tt,createUrlTreeFromSnapshot:()=>er,defaultUrlMatcher:()=>mt,mapToCanActivate:()=>Da,mapToCanActivateChild:()=>Un,mapToCanDeactivate:()=>tc,mapToCanMatch:()=>Hs,mapToResolve:()=>gs,provideRouter:()=>is,provideRoutes:()=>la,withComponentInputBinding:()=>Jl,withDebugTracing:()=>Nd,withDisabledInitialNavigation:()=>ol,withEnabledBlockingInitialNavigation:()=>mu,withHashLocation:()=>jd,withInMemoryScrolling:()=>Xl,withNavigationErrorHandler:()=>Zl,withPreloading:()=>Xs,withRouterConfig:()=>ca,withViewTransitions:()=>Ea,\u0275EmptyOutletComponent:()=>po,\u0275ROUTER_PROVIDERS:()=>al,\u0275afterNextNavigation:()=>Xi,\u0275loadChildren:()=>Ft});var n=o(54496),i=o(53252),d=o(38880),a=o(74496),e=o(82700),c=o(46700),l=o(56040),g=o(37696),b=o(7400),_=o(528);function S(oe=1/0){return(0,b.O)(_.Z,oe)}var m=o(59472);function h(...oe){return function y(){return S(1)}()((0,a.Q)(oe,(0,m.e_)(oe)))}var C=o(50560);function v(oe){return new i._(Ce=>{(0,C.Uv)(oe()).subscribe(Ce)})}var M=o(83928);function E(oe,Ce){const ge=(0,d.m)(oe)?oe:()=>oe,Ee=Ye=>Ye.error(ge());return new i._(Ce?Ye=>Ce.schedule(Ee,0,Ye):Ee)}var A=o(28960),T=o(46928),R=o(95448),N=o(87773);function I(){return(0,R.i)((oe,Ce)=>{let ge=null;oe._refCount++;const Ee=(0,N.e)(Ce,void 0,void 0,void 0,()=>{if(!oe||oe._refCount<=0||0<--oe._refCount)return void(ge=null);const Ye=oe._connection,ht=ge;ge=null,Ye&&(!ht||Ye===ht)&&Ye.unsubscribe(),Ce.unsubscribe()});oe.subscribe(Ee),Ee.closed||(ge=oe.connect())})}class L extends i._{constructor(Ce,ge){super(),this.source=Ce,this.subjectFactory=ge,this._subject=null,this._refCount=0,this._connection=null,(0,R.e)(Ce)&&(this.lift=Ce.lift)}_subscribe(Ce){return this.getSubject().subscribe(Ce)}getSubject(){const Ce=this._subject;return(!Ce||Ce.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Ce}=this;this._subject=this._connection=null,Ce?.unsubscribe()}connect(){let Ce=this._connection;if(!Ce){Ce=this._connection=new T.wH;const ge=this.getSubject();Ce.add(this.source.subscribe((0,N.e)(ge,void 0,()=>{this._teardown(),ge.complete()},Ee=>{this._teardown(),ge.error(Ee)},()=>this._teardown()))),Ce.closed&&(this._connection=null,Ce=T.wH.EMPTY)}return Ce}refCount(){return I()(this)}}var O=o(95657),z=o(91368),F=o(54704),q=o(17368),X=o(3992),K=o(66684),ne=o(75084),Y=o(26020),H=o(19212),ae=o(39144);var ee=o(22156);function J(oe){return oe<=0?()=>A.k:(0,R.i)((Ce,ge)=>{let Ee=[];Ce.subscribe((0,N.e)(ge,Ye=>{Ee.push(Ye),oe{for(const Ye of Ee)ge.next(Ye);ge.complete()},void 0,()=>{Ee=null}))})}var G=o(98124),Ae=o(68824),ye=o(53616),le=o(14476);const Me="primary",$e=Symbol("RouteTitle");class qe{constructor(Ce){this.params=Ce||{}}has(Ce){return Object.prototype.hasOwnProperty.call(this.params,Ce)}get(Ce){if(this.has(Ce)){const ge=this.params[Ce];return Array.isArray(ge)?ge[0]:ge}return null}getAll(Ce){if(this.has(Ce)){const ge=this.params[Ce];return Array.isArray(ge)?ge:[ge]}return[]}get keys(){return Object.keys(this.params)}}function tt(oe){return new qe(oe)}function mt(oe,Ce,ge){const Ee=ge.path.split("/");if(Ee.length>oe.length||"full"===ge.pathMatch&&(Ce.hasChildren()||Ee.lengthEe[ht]===Ye)}return oe===Ce}function Vt(oe){return oe.length>0?oe[oe.length-1]:null}function sn(oe){return function u(oe){return!!oe&&(oe instanceof i._||(0,d.m)(oe.lift)&&(0,d.m)(oe.subscribe))}(oe)?oe:(0,n.\u0275isPromise)(oe)?(0,a.Q)(Promise.resolve(oe)):(0,e.of)(oe)}const dn={exact:function qt(oe,Ce,ge){if(!gt(oe.segments,Ce.segments)||!Pe(oe.segments,Ce.segments,ge)||oe.numberOfChildren!==Ce.numberOfChildren)return!1;for(const Ee in Ce.children)if(!oe.children[Ee]||!qt(oe.children[Ee],Ce.children[Ee],ge))return!1;return!0},subset:Ue},wn={exact:function vn(oe,Ce){return ft(oe,Ce)},subset:function ut(oe,Ce){return Object.keys(Ce).length<=Object.keys(oe).length&&Object.keys(Ce).every(ge=>bt(oe[ge],Ce[ge]))},ignored:()=>!0};function An(oe,Ce,ge){return dn[ge.paths](oe.root,Ce.root,ge.matrixParams)&&wn[ge.queryParams](oe.queryParams,Ce.queryParams)&&!("exact"===ge.fragment&&oe.fragment!==Ce.fragment)}function Ue(oe,Ce,ge){return De(oe,Ce,Ce.segments,ge)}function De(oe,Ce,ge,Ee){if(oe.segments.length>ge.length){const Ye=oe.segments.slice(0,ge.length);return!(!gt(Ye,ge)||Ce.hasChildren()||!Pe(Ye,ge,Ee))}if(oe.segments.length===ge.length){if(!gt(oe.segments,ge)||!Pe(oe.segments,ge,Ee))return!1;for(const Ye in Ce.children)if(!oe.children[Ye]||!Ue(oe.children[Ye],Ce.children[Ye],Ee))return!1;return!0}{const Ye=ge.slice(0,oe.segments.length),ht=ge.slice(oe.segments.length);return!!(gt(oe.segments,Ye)&&Pe(oe.segments,Ye,Ee)&&oe.children[Me])&&De(oe.children[Me],Ce,ht,Ee)}}function Pe(oe,Ce,ge){return Ce.every((Ee,Ye)=>wn[ge](oe[Ye].parameters,Ee.parameters))}class Qe{constructor(Ce=new Re([],{}),ge={},Ee=null){this.root=Ce,this.queryParams=ge,this.fragment=Ee}get queryParamMap(){return this._queryParamMap??=tt(this.queryParams),this._queryParamMap}toString(){return $t.serialize(this)}}class Re{constructor(Ce,ge){this.segments=Ce,this.children=ge,this.parent=null,Object.values(ge).forEach(Ee=>Ee.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pt(this)}}class lt{constructor(Ce,ge){this.path=Ce,this.parameters=ge}get parameterMap(){return this._parameterMap??=tt(this.parameters),this._parameterMap}toString(){return tn(this)}}function gt(oe,Ce){return oe.length===Ce.length&&oe.every((ge,Ee)=>ge.path===Ce[Ee].path)}let Mt=(()=>{class oe{static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>new nt,providedIn:"root"})}return oe})();class nt{parse(Ce){const ge=new Fn(Ce);return new Qe(ge.parseRootSegment(),ge.parseQueryParams(),ge.parseFragment())}serialize(Ce){const ge=`/${Tt(Ce.root,!0)}`,Ee=function Tn(oe){const Ce=Object.entries(oe).map(([ge,Ee])=>Array.isArray(Ee)?Ee.map(Ye=>`${Zt(ge)}=${Zt(Ye)}`).join("&"):`${Zt(ge)}=${Zt(Ee)}`).filter(ge=>ge);return Ce.length?`?${Ce.join("&")}`:""}(Ce.queryParams);return`${ge}${Ee}${"string"==typeof Ce.fragment?`#${function Dt(oe){return encodeURI(oe)}(Ce.fragment)}`:""}`}}const $t=new nt;function pt(oe){return oe.segments.map(Ce=>tn(Ce)).join("/")}function Tt(oe,Ce){if(!oe.hasChildren())return pt(oe);if(Ce){const ge=oe.children[Me]?Tt(oe.children[Me],!1):"",Ee=[];return Object.entries(oe.children).forEach(([Ye,ht])=>{Ye!==Me&&Ee.push(`${Ye}:${Tt(ht,!1)}`)}),Ee.length>0?`${ge}(${Ee.join("//")})`:ge}{const ge=function dt(oe,Ce){let ge=[];return Object.entries(oe.children).forEach(([Ee,Ye])=>{Ee===Me&&(ge=ge.concat(Ce(Ye,Ee)))}),Object.entries(oe.children).forEach(([Ee,Ye])=>{Ee!==Me&&(ge=ge.concat(Ce(Ye,Ee)))}),ge}(oe,(Ee,Ye)=>Ye===Me?[Tt(oe.children[Me],!1)]:[`${Ye}:${Tt(Ee,!1)}`]);return 1===Object.keys(oe.children).length&&null!=oe.children[Me]?`${pt(oe)}/${ge[0]}`:`${pt(oe)}/(${ge.join("//")})`}}function Ut(oe){return encodeURIComponent(oe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zt(oe){return Ut(oe).replace(/%3B/gi,";")}function zt(oe){return Ut(oe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(oe){return decodeURIComponent(oe)}function Pt(oe){return Ct(oe.replace(/\+/g,"%20"))}function tn(oe){return`${zt(oe.path)}${function bn(oe){return Object.entries(oe).map(([Ce,ge])=>`;${zt(Ce)}=${zt(ge)}`).join("")}(oe.parameters)}`}const nn=/^[^\/()?;#]+/;function tr(oe){const Ce=oe.match(nn);return Ce?Ce[0]:""}const Ir=/^[^\/()?;=#]+/,ar=/^[^=?&#]+/,_r=/^[^&#]+/;class Fn{constructor(Ce){this.url=Ce,this.remaining=Ce}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){const Ce={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ce)}while(this.consumeOptional("&"));return Ce}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ce=[];for(this.peekStartsWith("(")||Ce.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ce.push(this.parseSegment());let ge={};this.peekStartsWith("/(")&&(this.capture("/"),ge=this.parseParens(!0));let Ee={};return this.peekStartsWith("(")&&(Ee=this.parseParens(!1)),(Ce.length>0||Object.keys(ge).length>0)&&(Ee[Me]=new Re(Ce,ge)),Ee}parseSegment(){const Ce=tr(this.remaining);if(""===Ce&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(Ce),new lt(Ct(Ce),this.parseMatrixParams())}parseMatrixParams(){const Ce={};for(;this.consumeOptional(";");)this.parseParam(Ce);return Ce}parseParam(Ce){const ge=function Rr(oe){const Ce=oe.match(Ir);return Ce?Ce[0]:""}(this.remaining);if(!ge)return;this.capture(ge);let Ee="";if(this.consumeOptional("=")){const Ye=tr(this.remaining);Ye&&(Ee=Ye,this.capture(Ee))}Ce[Ct(ge)]=Ct(Ee)}parseQueryParam(Ce){const ge=function yr(oe){const Ce=oe.match(ar);return Ce?Ce[0]:""}(this.remaining);if(!ge)return;this.capture(ge);let Ee="";if(this.consumeOptional("=")){const xt=function qn(oe){const Ce=oe.match(_r);return Ce?Ce[0]:""}(this.remaining);xt&&(Ee=xt,this.capture(Ee))}const Ye=Pt(ge),ht=Pt(Ee);if(Ce.hasOwnProperty(Ye)){let xt=Ce[Ye];Array.isArray(xt)||(xt=[xt],Ce[Ye]=xt),xt.push(ht)}else Ce[Ye]=ht}parseParens(Ce){const ge={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ee=tr(this.remaining),Ye=this.remaining[Ee.length];if("/"!==Ye&&")"!==Ye&&";"!==Ye)throw new n.\u0275RuntimeError(4010,!1);let ht;Ee.indexOf(":")>-1?(ht=Ee.slice(0,Ee.indexOf(":")),this.capture(ht),this.capture(":")):Ce&&(ht=Me);const xt=this.parseChildren();ge[ht]=1===Object.keys(xt).length?xt[Me]:new Re([],xt),this.consumeOptional("//")}return ge}peekStartsWith(Ce){return this.remaining.startsWith(Ce)}consumeOptional(Ce){return!!this.peekStartsWith(Ce)&&(this.remaining=this.remaining.substring(Ce.length),!0)}capture(Ce){if(!this.consumeOptional(Ce))throw new n.\u0275RuntimeError(4011,!1)}}function oi(oe){return oe.segments.length>0?new Re([],{[Me]:oe}):oe}function vr(oe){const Ce={};for(const[Ee,Ye]of Object.entries(oe.children)){const ht=vr(Ye);if(Ee===Me&&0===ht.segments.length&&ht.hasChildren())for(const[xt,fn]of Object.entries(ht.children))Ce[xt]=fn;else(ht.segments.length>0||ht.hasChildren())&&(Ce[Ee]=ht)}return function Mr(oe){if(1===oe.numberOfChildren&&oe.children[Me]){const Ce=oe.children[Me];return new Re(oe.segments.concat(Ce.segments),Ce.children)}return oe}(new Re(oe.segments,Ce))}function Qn(oe){return oe instanceof Qe}function er(oe,Ce,ge=null,Ee=null){return Si(xr(oe),Ce,ge,Ee)}function xr(oe){let Ce;const Ye=oi(function ge(ht){const xt={};for(const an of ht.children){const Wn=ge(an);xt[an.outlet]=Wn}const fn=new Re(ht.url,xt);return ht===oe&&(Ce=fn),fn}(oe.root));return Ce??Ye}function Si(oe,Ce,ge,Ee){let Ye=oe;for(;Ye.parent;)Ye=Ye.parent;if(0===Ce.length)return Zn(Ye,Ye,Ye,ge,Ee);const ht=function kr(oe){if("string"==typeof oe[0]&&1===oe.length&&"/"===oe[0])return new si(!0,0,oe);let Ce=0,ge=!1;const Ee=oe.reduce((Ye,ht,xt)=>{if("object"==typeof ht&&null!=ht){if(ht.outlets){const fn={};return Object.entries(ht.outlets).forEach(([an,Wn])=>{fn[an]="string"==typeof Wn?Wn.split("/"):Wn}),[...Ye,{outlets:fn}]}if(ht.segmentPath)return[...Ye,ht.segmentPath]}return"string"!=typeof ht?[...Ye,ht]:0===xt?(ht.split("/").forEach((fn,an)=>{0==an&&"."===fn||(0==an&&""===fn?ge=!0:".."===fn?Ce++:""!=fn&&Ye.push(fn))}),Ye):[...Ye,ht]},[]);return new si(ge,Ce,Ee)}(Ce);if(ht.toRoot())return Zn(Ye,Ye,new Re([],{}),ge,Ee);const xt=function Ot(oe,Ce,ge){if(oe.isAbsolute)return new ot(Ce,!0,0);if(!ge)return new ot(Ce,!1,NaN);if(null===ge.parent)return new ot(ge,!0,0);const Ee=en(oe.commands[0])?0:1;return function It(oe,Ce,ge){let Ee=oe,Ye=Ce,ht=ge;for(;ht>Ye;){if(ht-=Ye,Ee=Ee.parent,!Ee)throw new n.\u0275RuntimeError(4005,!1);Ye=Ee.segments.length}return new ot(Ee,!1,Ye-ht)}(ge,ge.segments.length-1+Ee,oe.numberOfDoubleDots)}(ht,Ye,oe),fn=xt.processChildren?Mn(xt.segmentGroup,xt.index,ht.commands):hn(xt.segmentGroup,xt.index,ht.commands);return Zn(Ye,xt.segmentGroup,fn,ge,Ee)}function en(oe){return"object"==typeof oe&&null!=oe&&!oe.outlets&&!oe.segmentPath}function jn(oe){return"object"==typeof oe&&null!=oe&&oe.outlets}function Zn(oe,Ce,ge,Ee,Ye){let xt,ht={};Ee&&Object.entries(Ee).forEach(([an,Wn])=>{ht[an]=Array.isArray(Wn)?Wn.map(Jr=>`${Jr}`):`${Wn}`}),xt=oe===Ce?ge:sr(oe,Ce,ge);const fn=oi(vr(xt));return new Qe(fn,ht,Ye)}function sr(oe,Ce,ge){const Ee={};return Object.entries(oe.children).forEach(([Ye,ht])=>{Ee[Ye]=ht===Ce?ge:sr(ht,Ce,ge)}),new Re(oe.segments,Ee)}class si{constructor(Ce,ge,Ee){if(this.isAbsolute=Ce,this.numberOfDoubleDots=ge,this.commands=Ee,Ce&&Ee.length>0&&en(Ee[0]))throw new n.\u0275RuntimeError(4003,!1);const Ye=Ee.find(jn);if(Ye&&Ye!==Vt(Ee))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ot{constructor(Ce,ge,Ee){this.segmentGroup=Ce,this.processChildren=ge,this.index=Ee}}function hn(oe,Ce,ge){if(oe??=new Re([],{}),0===oe.segments.length&&oe.hasChildren())return Mn(oe,Ce,ge);const Ee=function En(oe,Ce,ge){let Ee=0,Ye=Ce;const ht={match:!1,pathIndex:0,commandIndex:0};for(;Ye=ge.length)return ht;const xt=oe.segments[Ye],fn=ge[Ee];if(jn(fn))break;const an=`${fn}`,Wn=Ee0&&void 0===an)break;if(an&&Wn&&"object"==typeof Wn&&void 0===Wn.outlets){if(!Ar(an,Wn,xt))return ht;Ee+=2}else{if(!Ar(an,{},xt))return ht;Ee++}Ye++}return{match:!0,pathIndex:Ye,commandIndex:Ee}}(oe,Ce,ge),Ye=ge.slice(Ee.commandIndex);if(Ee.match&&Ee.pathIndexht!==Me)&&oe.children[Me]&&1===oe.numberOfChildren&&0===oe.children[Me].segments.length){const ht=Mn(oe.children[Me],Ce,ge);return new Re(oe.segments,ht.children)}return Object.entries(Ee).forEach(([ht,xt])=>{"string"==typeof xt&&(xt=[xt]),null!==xt&&(Ye[ht]=hn(oe.children[ht],Ce,xt))}),Object.entries(oe.children).forEach(([ht,xt])=>{void 0===Ee[ht]&&(Ye[ht]=xt)}),new Re(oe.segments,Ye)}}function Xn(oe,Ce,ge){const Ee=oe.segments.slice(0,Ce);let Ye=0;for(;Ye{"string"==typeof Ee&&(Ee=[Ee]),null!==Ee&&(Ce[ge]=Xn(new Re([],{}),0,Ee))}),Ce}function Er(oe){const Ce={};return Object.entries(oe).forEach(([ge,Ee])=>Ce[ge]=`${Ee}`),Ce}function Ar(oe,Ce,ge){return oe==ge.path&&ft(Ce,ge.parameters)}const wr="imperative";var Yn=function(oe){return oe[oe.NavigationStart=0]="NavigationStart",oe[oe.NavigationEnd=1]="NavigationEnd",oe[oe.NavigationCancel=2]="NavigationCancel",oe[oe.NavigationError=3]="NavigationError",oe[oe.RoutesRecognized=4]="RoutesRecognized",oe[oe.ResolveStart=5]="ResolveStart",oe[oe.ResolveEnd=6]="ResolveEnd",oe[oe.GuardsCheckStart=7]="GuardsCheckStart",oe[oe.GuardsCheckEnd=8]="GuardsCheckEnd",oe[oe.RouteConfigLoadStart=9]="RouteConfigLoadStart",oe[oe.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",oe[oe.ChildActivationStart=11]="ChildActivationStart",oe[oe.ChildActivationEnd=12]="ChildActivationEnd",oe[oe.ActivationStart=13]="ActivationStart",oe[oe.ActivationEnd=14]="ActivationEnd",oe[oe.Scroll=15]="Scroll",oe[oe.NavigationSkipped=16]="NavigationSkipped",oe}(Yn||{});class di{constructor(Ce,ge){this.id=Ce,this.url=ge}}class un extends di{constructor(Ce,ge,Ee="imperative",Ye=null){super(Ce,ge),this.type=Yn.NavigationStart,this.navigationTrigger=Ee,this.restoredState=Ye}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class B extends di{constructor(Ce,ge,Ee){super(Ce,ge),this.urlAfterRedirects=Ee,this.type=Yn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var V=function(oe){return oe[oe.Redirect=0]="Redirect",oe[oe.SupersededByNewNavigation=1]="SupersededByNewNavigation",oe[oe.NoDataFromResolver=2]="NoDataFromResolver",oe[oe.GuardRejected=3]="GuardRejected",oe}(V||{}),ue=function(oe){return oe[oe.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",oe[oe.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",oe}(ue||{});class Ne extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.reason=Ee,this.code=Ye,this.type=Yn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ie extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.reason=Ee,this.code=Ye,this.type=Yn.NavigationSkipped}}class me extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.error=Ee,this.target=Ye,this.type=Yn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Te extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.urlAfterRedirects=Ee,this.state=Ye,this.type=Yn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.urlAfterRedirects=Ee,this.state=Ye,this.type=Yn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _t extends di{constructor(Ce,ge,Ee,Ye,ht){super(Ce,ge),this.urlAfterRedirects=Ee,this.state=Ye,this.shouldActivate=ht,this.type=Yn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class At extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.urlAfterRedirects=Ee,this.state=Ye,this.type=Yn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nt extends di{constructor(Ce,ge,Ee,Ye){super(Ce,ge),this.urlAfterRedirects=Ee,this.state=Ye,this.type=Yn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jt{constructor(Ce){this.route=Ce,this.type=Yn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class mn{constructor(Ce){this.route=Ce,this.type=Yn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _n{constructor(Ce){this.snapshot=Ce,this.type=Yn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yn{constructor(Ce){this.snapshot=Ce,this.type=Yn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gn{constructor(Ce){this.snapshot=Ce,this.type=Yn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gt{constructor(Ce){this.snapshot=Ce,this.type=Yn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nn{constructor(Ce,ge,Ee){this.routerEvent=Ce,this.position=ge,this.anchor=Ee,this.type=Yn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class cr{}class rr{constructor(Ce){this.url=Ce}}class Hr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new at,this.attachRef=null}}let at=(()=>{class oe{constructor(){this.contexts=new Map}onChildOutletCreated(ge,Ee){const Ye=this.getOrCreateContext(ge);Ye.outlet=Ee,this.contexts.set(ge,Ye)}onChildOutletDestroyed(ge){const Ee=this.getContext(ge);Ee&&(Ee.outlet=null,Ee.attachRef=null)}onOutletDeactivated(){const ge=this.contexts;return this.contexts=new Map,ge}onOutletReAttached(ge){this.contexts=ge}getOrCreateContext(ge){let Ee=this.getContext(ge);return Ee||(Ee=new Hr,this.contexts.set(ge,Ee)),Ee}getContext(ge){return this.contexts.get(ge)||null}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();class uo{constructor(Ce){this._root=Ce}get root(){return this._root.value}parent(Ce){const ge=this.pathFromRoot(Ce);return ge.length>1?ge[ge.length-2]:null}children(Ce){const ge=vi(Ce,this._root);return ge?ge.children.map(Ee=>Ee.value):[]}firstChild(Ce){const ge=vi(Ce,this._root);return ge&&ge.children.length>0?ge.children[0].value:null}siblings(Ce){const ge=Pr(Ce,this._root);return ge.length<2?[]:ge[ge.length-2].children.map(Ye=>Ye.value).filter(Ye=>Ye!==Ce)}pathFromRoot(Ce){return Pr(Ce,this._root).map(ge=>ge.value)}}function vi(oe,Ce){if(oe===Ce.value)return Ce;for(const ge of Ce.children){const Ee=vi(oe,ge);if(Ee)return Ee}return null}function Pr(oe,Ce){if(oe===Ce.value)return[Ce];for(const ge of Ce.children){const Ee=Pr(oe,ge);if(Ee.length)return Ee.unshift(Ce),Ee}return[]}class In{constructor(Ce,ge){this.value=Ce,this.children=ge}toString(){return`TreeNode(${this.value})`}}function Gn(oe){const Ce={};return oe&&oe.children.forEach(ge=>Ce[ge.value.outlet]=ge),Ce}class ni extends uo{constructor(Ce,ge){super(Ce),this.snapshot=ge,Ri(this,Ce)}toString(){return this.snapshot.toString()}}function Dr(oe){const Ce=function pi(oe){const ht=new Kr([],{},{},"",{},Me,oe,null,{});return new qr("",new In(ht,[]))}(oe),ge=new c.g([new lt("",{})]),Ee=new c.g({}),Ye=new c.g({}),ht=new c.g({}),xt=new c.g(""),fn=new Rn(ge,Ee,ht,xt,Ye,Me,oe,Ce.root);return fn.snapshot=Ce.root,new ni(new In(fn,[]),Ce)}class Rn{constructor(Ce,ge,Ee,Ye,ht,xt,fn,an){this.urlSubject=Ce,this.paramsSubject=ge,this.queryParamsSubject=Ee,this.fragmentSubject=Ye,this.dataSubject=ht,this.outlet=xt,this.component=fn,this._futureSnapshot=an,this.title=this.dataSubject?.pipe((0,F.k)(Wn=>Wn[$e]))??(0,e.of)(void 0),this.url=Ce,this.params=ge,this.queryParams=Ee,this.fragment=Ye,this.data=ht}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,F.k)(Ce=>tt(Ce))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,F.k)(Ce=>tt(Ce))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ai(oe,Ce,ge="emptyOnly"){let Ee;const{routeConfig:Ye}=oe;return Ee=null===Ce||"always"!==ge&&""!==Ye?.path&&(Ce.component||Ce.routeConfig?.loadComponent)?{params:{...oe.params},data:{...oe.data},resolve:{...oe.data,...oe._resolvedData??{}}}:{params:{...Ce.params,...oe.params},data:{...Ce.data,...oe.data},resolve:{...oe.data,...Ce.data,...Ye?.data,...oe._resolvedData}},Ye&&bo(Ye)&&(Ee.resolve[$e]=Ye.title),Ee}class Kr{get title(){return this.data?.[$e]}constructor(Ce,ge,Ee,Ye,ht,xt,fn,an,Wn){this.url=Ce,this.params=ge,this.queryParams=Ee,this.fragment=Ye,this.data=ht,this.outlet=xt,this.component=fn,this.routeConfig=an,this._resolve=Wn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=tt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=tt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ee=>Ee.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qr extends uo{constructor(Ce,ge){super(ge),this.url=Ce,Ri(this,ge)}toString(){return dr(this._root)}}function Ri(oe,Ce){Ce.value._routerState=oe,Ce.children.forEach(ge=>Ri(oe,ge))}function dr(oe){const Ce=oe.children.length>0?` { ${oe.children.map(dr).join(", ")} } `:"";return`${oe.value}${Ce}`}function Vi(oe){if(oe.snapshot){const Ce=oe.snapshot,ge=oe._futureSnapshot;oe.snapshot=ge,ft(Ce.queryParams,ge.queryParams)||oe.queryParamsSubject.next(ge.queryParams),Ce.fragment!==ge.fragment&&oe.fragmentSubject.next(ge.fragment),ft(Ce.params,ge.params)||oe.paramsSubject.next(ge.params),function st(oe,Ce){if(oe.length!==Ce.length)return!1;for(let ge=0;geft(ge.parameters,Ce[Ee].parameters))}(oe.url,Ce.url);return ge&&!(!oe.parent!=!Ce.parent)&&(!oe.parent||Mo(oe.parent,Ce.parent))}function bo(oe){return"string"==typeof oe.title||null===oe.title}let zr=(()=>{class oe{constructor(){this.activated=null,this._activatedRoute=null,this.name=Me,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(at),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Gi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ge){if(ge.name){const{firstChange:Ee,previousValue:Ye}=ge.name;if(Ee)return;this.isTrackedInParentContexts(Ye)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ye)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ge){return this.parentContexts.getContext(ge)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ge=this.parentContexts.getContext(this.name);ge?.route&&(ge.attachRef?this.attach(ge.attachRef,ge.route):this.activateWith(ge.route,ge.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const ge=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ge.instance),ge}attach(ge,Ee){this.activated=ge,this._activatedRoute=Ee,this.location.insert(ge.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ge.instance)}deactivate(){if(this.activated){const ge=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ge)}}activateWith(ge,Ee){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=ge;const Ye=this.location,xt=ge.snapshot.component,fn=this.parentContexts.getOrCreateContext(this.name).children,an=new eo(ge,fn,Ye.injector);this.activated=Ye.createComponent(xt,{index:Ye.length,injector:an,environmentInjector:Ee??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class eo{constructor(Ce,ge,Ee){this.route=Ce,this.childContexts=ge,this.parent=Ee}get(Ce,ge){return Ce===Rn?this.route:Ce===at?this.childContexts:this.parent.get(Ce,ge)}}const Gi=new n.InjectionToken("");let to=(()=>{class oe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ge){this.unsubscribeFromRouteData(ge),this.subscribeToRouteData(ge)}unsubscribeFromRouteData(ge){this.outletDataSubscriptions.get(ge)?.unsubscribe(),this.outletDataSubscriptions.delete(ge)}subscribeToRouteData(ge){const{activatedRoute:Ee}=ge,Ye=(0,l.E)([Ee.queryParams,Ee.params,Ee.data]).pipe((0,q.G)(([ht,xt,fn],an)=>(fn={...ht,...xt,...fn},0===an?(0,e.of)(fn):Promise.resolve(fn)))).subscribe(ht=>{if(!ge.isActivated||!ge.activatedComponentRef||ge.activatedRoute!==Ee||null===Ee.component)return void this.unsubscribeFromRouteData(ge);const xt=(0,n.reflectComponentType)(Ee.component);if(xt)for(const{templateName:fn}of xt.inputs)ge.activatedComponentRef.setInput(fn,ht[fn]);else this.unsubscribeFromRouteData(ge)});this.outletDataSubscriptions.set(ge,Ye)}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function no(oe,Ce,ge){if(ge&&oe.shouldReuseRoute(Ce.value,ge.value.snapshot)){const Ee=ge.value;Ee._futureSnapshot=Ce.value;const Ye=function _i(oe,Ce,ge){return Ce.children.map(Ee=>{for(const Ye of ge.children)if(oe.shouldReuseRoute(Ee.value,Ye.value.snapshot))return no(oe,Ee,Ye);return no(oe,Ee)})}(oe,Ce,ge);return new In(Ee,Ye)}{if(oe.shouldAttach(Ce.value)){const ht=oe.retrieve(Ce.value);if(null!==ht){const xt=ht.route;return xt.value._futureSnapshot=Ce.value,xt.children=Ce.children.map(fn=>no(oe,fn)),xt}}const Ee=function Fi(oe){return new Rn(new c.g(oe.url),new c.g(oe.params),new c.g(oe.queryParams),new c.g(oe.fragment),new c.g(oe.data),oe.outlet,oe.component,oe)}(Ce.value),Ye=Ce.children.map(ht=>no(oe,ht));return new In(Ee,Ye)}}const ei="ngNavigationCancelingError";function lr(oe,Ce){const{redirectTo:ge,navigationBehaviorOptions:Ee}=Qn(Ce)?{redirectTo:Ce,navigationBehaviorOptions:void 0}:Ce,Ye=mo(!1,V.Redirect);return Ye.url=ge,Ye.navigationBehaviorOptions=Ee,Ye}function mo(oe,Ce){const ge=new Error(`NavigationCancelingError: ${oe||""}`);return ge[ei]=!0,ge.cancellationCode=Ce,ge}function Mi(oe){return!!oe&&oe[ei]}let po=(()=>{class oe{static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(Ee,Ye){1&Ee&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[zr],encapsulation:2})}return oe})();function Co(oe){const Ce=oe.children&&oe.children.map(Co),ge=Ce?{...oe,children:Ce}:{...oe};return!ge.component&&!ge.loadComponent&&(Ce||ge.loadChildren)&&ge.outlet&&ge.outlet!==Me&&(ge.component=po),ge}function oo(oe){return oe.outlet||Me}function fo(oe){if(!oe)return null;if(oe.routeConfig?._injector)return oe.routeConfig._injector;for(let Ce=oe.parent;Ce;Ce=Ce.parent){const ge=Ce.routeConfig;if(ge?._loadedInjector)return ge._loadedInjector;if(ge?._injector)return ge._injector}return null}class ts{constructor(Ce,ge,Ee,Ye,ht){this.routeReuseStrategy=Ce,this.futureState=ge,this.currState=Ee,this.forwardEvent=Ye,this.inputBindingEnabled=ht}activate(Ce){const ge=this.futureState._root,Ee=this.currState?this.currState._root:null;this.deactivateChildRoutes(ge,Ee,Ce),Vi(this.futureState.root),this.activateChildRoutes(ge,Ee,Ce)}deactivateChildRoutes(Ce,ge,Ee){const Ye=Gn(ge);Ce.children.forEach(ht=>{const xt=ht.value.outlet;this.deactivateRoutes(ht,Ye[xt],Ee),delete Ye[xt]}),Object.values(Ye).forEach(ht=>{this.deactivateRouteAndItsChildren(ht,Ee)})}deactivateRoutes(Ce,ge,Ee){const Ye=Ce.value,ht=ge?ge.value:null;if(Ye===ht)if(Ye.component){const xt=Ee.getContext(Ye.outlet);xt&&this.deactivateChildRoutes(Ce,ge,xt.children)}else this.deactivateChildRoutes(Ce,ge,Ee);else ht&&this.deactivateRouteAndItsChildren(ge,Ee)}deactivateRouteAndItsChildren(Ce,ge){Ce.value.component&&this.routeReuseStrategy.shouldDetach(Ce.value.snapshot)?this.detachAndStoreRouteSubtree(Ce,ge):this.deactivateRouteAndOutlet(Ce,ge)}detachAndStoreRouteSubtree(Ce,ge){const Ee=ge.getContext(Ce.value.outlet),Ye=Ee&&Ce.value.component?Ee.children:ge,ht=Gn(Ce);for(const xt of Object.values(ht))this.deactivateRouteAndItsChildren(xt,Ye);if(Ee&&Ee.outlet){const xt=Ee.outlet.detach(),fn=Ee.children.onOutletDeactivated();this.routeReuseStrategy.store(Ce.value.snapshot,{componentRef:xt,route:Ce,contexts:fn})}}deactivateRouteAndOutlet(Ce,ge){const Ee=ge.getContext(Ce.value.outlet),Ye=Ee&&Ce.value.component?Ee.children:ge,ht=Gn(Ce);for(const xt of Object.values(ht))this.deactivateRouteAndItsChildren(xt,Ye);Ee&&(Ee.outlet&&(Ee.outlet.deactivate(),Ee.children.onOutletDeactivated()),Ee.attachRef=null,Ee.route=null)}activateChildRoutes(Ce,ge,Ee){const Ye=Gn(ge);Ce.children.forEach(ht=>{this.activateRoutes(ht,Ye[ht.value.outlet],Ee),this.forwardEvent(new Gt(ht.value.snapshot))}),Ce.children.length&&this.forwardEvent(new yn(Ce.value.snapshot))}activateRoutes(Ce,ge,Ee){const Ye=Ce.value,ht=ge?ge.value:null;if(Vi(Ye),Ye===ht)if(Ye.component){const xt=Ee.getOrCreateContext(Ye.outlet);this.activateChildRoutes(Ce,ge,xt.children)}else this.activateChildRoutes(Ce,ge,Ee);else if(Ye.component){const xt=Ee.getOrCreateContext(Ye.outlet);if(this.routeReuseStrategy.shouldAttach(Ye.snapshot)){const fn=this.routeReuseStrategy.retrieve(Ye.snapshot);this.routeReuseStrategy.store(Ye.snapshot,null),xt.children.onOutletReAttached(fn.contexts),xt.attachRef=fn.componentRef,xt.route=fn.route.value,xt.outlet&&xt.outlet.attach(fn.componentRef,fn.route.value),Vi(fn.route.value),this.activateChildRoutes(Ce,null,xt.children)}else{const fn=fo(Ye.snapshot);xt.attachRef=null,xt.route=Ye,xt.injector=fn,xt.outlet&&xt.outlet.activateWith(Ye,xt.injector),this.activateChildRoutes(Ce,null,xt.children)}}else this.activateChildRoutes(Ce,null,Ee)}}class us{constructor(Ce){this.path=Ce,this.route=this.path[this.path.length-1]}}class Lo{constructor(Ce,ge){this.component=Ce,this.route=ge}}function Ki(oe,Ce,ge){const Ee=oe._root;return Fo(Ee,Ce?Ce._root:null,ge,[Ee.value])}function _o(oe,Ce){const ge=Symbol(),Ee=Ce.get(oe,ge);return Ee===ge?"function"!=typeof oe||(0,n.\u0275isInjectable)(oe)?Ce.get(oe):oe:Ee}function Fo(oe,Ce,ge,Ee,Ye={canDeactivateChecks:[],canActivateChecks:[]}){const ht=Gn(Ce);return oe.children.forEach(xt=>{(function co(oe,Ce,ge,Ee,Ye={canDeactivateChecks:[],canActivateChecks:[]}){const ht=oe.value,xt=Ce?Ce.value:null,fn=ge?ge.getContext(oe.value.outlet):null;if(xt&&ht.routeConfig===xt.routeConfig){const an=function os(oe,Ce,ge){if("function"==typeof ge)return ge(oe,Ce);switch(ge){case"pathParamsChange":return!gt(oe.url,Ce.url);case"pathParamsOrQueryParamsChange":return!gt(oe.url,Ce.url)||!ft(oe.queryParams,Ce.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mo(oe,Ce)||!ft(oe.queryParams,Ce.queryParams);default:return!Mo(oe,Ce)}}(xt,ht,ht.routeConfig.runGuardsAndResolvers);an?Ye.canActivateChecks.push(new us(Ee)):(ht.data=xt.data,ht._resolvedData=xt._resolvedData),Fo(oe,Ce,ht.component?fn?fn.children:null:ge,Ee,Ye),an&&fn&&fn.outlet&&fn.outlet.isActivated&&Ye.canDeactivateChecks.push(new Lo(fn.outlet.component,xt))}else xt&&Eo(Ce,fn,Ye),Ye.canActivateChecks.push(new us(Ee)),Fo(oe,null,ht.component?fn?fn.children:null:ge,Ee,Ye)})(xt,ht[xt.value.outlet],ge,Ee.concat([xt.value]),Ye),delete ht[xt.value.outlet]}),Object.entries(ht).forEach(([xt,fn])=>Eo(fn,ge.getContext(xt),Ye)),Ye}function Eo(oe,Ce,ge){const Ee=Gn(oe),Ye=oe.value;Object.entries(Ee).forEach(([ht,xt])=>{Eo(xt,Ye.component?Ce?Ce.children.getContext(ht):null:Ce,ge)}),ge.canDeactivateChecks.push(new Lo(Ye.component&&Ce&&Ce.outlet&&Ce.outlet.isActivated?Ce.outlet.component:null,Ye))}function wo(oe){return"function"==typeof oe}function kt(oe){return oe instanceof g.G||"EmptyError"===oe?.name}const Kn=Symbol("INITIAL_VALUE");function Hn(){return(0,q.G)(oe=>(0,l.E)(oe.map(Ce=>Ce.pipe((0,X.U)(1),function ce(...oe){const Ce=(0,m.e_)(oe);return(0,R.i)((ge,Ee)=>{(Ce?h(oe,ge,Ce):h(oe,ge)).subscribe(Ee)})}(Kn)))).pipe((0,F.k)(Ce=>{for(const ge of Ce)if(!0!==ge){if(ge===Kn)return Kn;if(!1===ge||ge instanceof Qe)return ge}return!0}),(0,K.I)(Ce=>Ce!==Kn),(0,X.U)(1)))}function Ao(oe){return(0,M.W)((0,H.y)(Ce=>{if(Qn(Ce))throw lr(0,Ce)}),(0,F.k)(Ce=>!0===Ce))}class Ti{constructor(Ce){this.segmentGroup=Ce||null}}class zo extends Error{constructor(Ce){super(),this.urlTree=Ce}}function No(oe){return E(new Ti(oe))}class Je{constructor(Ce,ge){this.urlSerializer=Ce,this.urlTree=ge}lineralizeSegments(Ce,ge){let Ee=[],Ye=ge.root;for(;;){if(Ee=Ee.concat(Ye.segments),0===Ye.numberOfChildren)return(0,e.of)(Ee);if(Ye.numberOfChildren>1||!Ye.children[Me])return E(new n.\u0275RuntimeError(4e3,!1));Ye=Ye.children[Me]}}applyRedirectCommands(Ce,ge,Ee){const Ye=this.applyRedirectCreateUrlTree(ge,this.urlSerializer.parse(ge),Ce,Ee);if(ge.startsWith("/"))throw new zo(Ye);return Ye}applyRedirectCreateUrlTree(Ce,ge,Ee,Ye){const ht=this.createSegmentGroup(Ce,ge.root,Ee,Ye);return new Qe(ht,this.createQueryParams(ge.queryParams,this.urlTree.queryParams),ge.fragment)}createQueryParams(Ce,ge){const Ee={};return Object.entries(Ce).forEach(([Ye,ht])=>{if("string"==typeof ht&&ht.startsWith(":")){const fn=ht.substring(1);Ee[Ye]=ge[fn]}else Ee[Ye]=ht}),Ee}createSegmentGroup(Ce,ge,Ee,Ye){const ht=this.createSegments(Ce,ge.segments,Ee,Ye);let xt={};return Object.entries(ge.children).forEach(([fn,an])=>{xt[fn]=this.createSegmentGroup(Ce,an,Ee,Ye)}),new Re(ht,xt)}createSegments(Ce,ge,Ee,Ye){return ge.map(ht=>ht.path.startsWith(":")?this.findPosParam(Ce,ht,Ye):this.findOrReturn(ht,Ee))}findPosParam(Ce,ge,Ee){const Ye=Ee[ge.path.substring(1)];if(!Ye)throw new n.\u0275RuntimeError(4001,!1);return Ye}findOrReturn(Ce,ge){let Ee=0;for(const Ye of ge){if(Ye.path===Ce.path)return ge.splice(Ee),Ye;Ee++}return Ce}}const ie={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pe(oe,Ce,ge,Ee,Ye){const ht=Le(oe,Ce,ge);return ht.matched?(Ee=function ho(oe,Ce){return oe.providers&&!oe._injector&&(oe._injector=(0,n.createEnvironmentInjector)(oe.providers,Ce,`Route: ${oe.path}`)),oe._injector??Ce}(Ce,Ee),function To(oe,Ce,ge,Ee){const Ye=Ce.canMatch;if(!Ye||0===Ye.length)return(0,e.of)(!0);const ht=Ye.map(xt=>{const fn=_o(xt,oe);return sn(function ct(oe){return oe&&wo(oe.canMatch)}(fn)?fn.canMatch(Ce,ge):(0,n.runInInjectionContext)(oe,()=>fn(Ce,ge)))});return(0,e.of)(ht).pipe(Hn(),Ao())}(Ee,Ce,ge).pipe((0,F.k)(xt=>!0===xt?ht:{...ie}))):(0,e.of)(ht)}function Le(oe,Ce,ge){if("**"===Ce.path)return function Ze(oe){return{matched:!0,parameters:oe.length>0?Vt(oe).parameters:{},consumedSegments:oe,remainingSegments:[],positionalParamSegments:{}}}(ge);if(""===Ce.path)return"full"===Ce.pathMatch&&(oe.hasChildren()||ge.length>0)?{...ie}:{matched:!0,consumedSegments:[],remainingSegments:ge,parameters:{},positionalParamSegments:{}};const Ye=(Ce.matcher||mt)(ge,oe,Ce);if(!Ye)return{...ie};const ht={};Object.entries(Ye.posParams??{}).forEach(([fn,an])=>{ht[fn]=an.path});const xt=Ye.consumed.length>0?{...ht,...Ye.consumed[Ye.consumed.length-1].parameters}:ht;return{matched:!0,consumedSegments:Ye.consumed,remainingSegments:ge.slice(Ye.consumed.length),parameters:xt,positionalParamSegments:Ye.posParams??{}}}function wt(oe,Ce,ge,Ee){return ge.length>0&&function Yt(oe,Ce,ge){return ge.some(Ee=>$n(oe,Ce,Ee)&&oo(Ee)!==Me)}(oe,ge,Ee)?{segmentGroup:new Re(Ce,Bt(Ee,new Re(ge,oe.children))),slicedSegments:[]}:0===ge.length&&function Cn(oe,Ce,ge){return ge.some(Ee=>$n(oe,Ce,Ee))}(oe,ge,Ee)?{segmentGroup:new Re(oe.segments,Rt(oe,ge,Ee,oe.children)),slicedSegments:ge}:{segmentGroup:new Re(oe.segments,oe.children),slicedSegments:ge}}function Rt(oe,Ce,ge,Ee){const Ye={};for(const ht of ge)if($n(oe,Ce,ht)&&!Ee[oo(ht)]){const xt=new Re([],{});Ye[oo(ht)]=xt}return{...Ee,...Ye}}function Bt(oe,Ce){const ge={};ge[Me]=Ce;for(const Ee of oe)if(""===Ee.path&&oo(Ee)!==Me){const Ye=new Re([],{});ge[oo(Ee)]=Ye}return ge}function $n(oe,Ce,ge){return(!(oe.hasChildren()||Ce.length>0)||"full"!==ge.pathMatch)&&""===ge.path}class hr{}class gi{constructor(Ce,ge,Ee,Ye,ht,xt,fn){this.injector=Ce,this.configLoader=ge,this.rootComponentType=Ee,this.config=Ye,this.urlTree=ht,this.paramsInheritanceStrategy=xt,this.urlSerializer=fn,this.applyRedirects=new Je(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Ce){return new n.\u0275RuntimeError(4002,`'${Ce.segmentGroup}'`)}recognize(){const Ce=wt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Ce).pipe((0,F.k)(ge=>{const Ee=new Kr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Me,this.rootComponentType,null,{}),Ye=new In(Ee,ge),ht=new qr("",Ye),xt=er(Ee,[],this.urlTree.queryParams,this.urlTree.fragment);return xt.queryParams=this.urlTree.queryParams,ht.url=this.urlSerializer.serialize(xt),this.inheritParamsAndData(ht._root,null),{state:ht,tree:xt}}))}match(Ce){return this.processSegmentGroup(this.injector,this.config,Ce,Me).pipe((0,ae.a)(Ee=>{if(Ee instanceof zo)return this.urlTree=Ee.urlTree,this.match(Ee.urlTree.root);throw Ee instanceof Ti?this.noMatchError(Ee):Ee}))}inheritParamsAndData(Ce,ge){const Ee=Ce.value,Ye=ai(Ee,ge,this.paramsInheritanceStrategy);Ee.params=Object.freeze(Ye.params),Ee.data=Object.freeze(Ye.data),Ce.children.forEach(ht=>this.inheritParamsAndData(ht,Ee))}processSegmentGroup(Ce,ge,Ee,Ye){return 0===Ee.segments.length&&Ee.hasChildren()?this.processChildren(Ce,ge,Ee):this.processSegment(Ce,ge,Ee,Ee.segments,Ye,!0).pipe((0,F.k)(ht=>ht instanceof In?[ht]:[]))}processChildren(Ce,ge,Ee){const Ye=[];for(const ht of Object.keys(Ee.children))"primary"===ht?Ye.unshift(ht):Ye.push(ht);return(0,a.Q)(Ye).pipe((0,Y.m)(ht=>{const xt=Ee.children[ht],fn=function Yo(oe,Ce){const ge=oe.filter(Ee=>oo(Ee)===Ce);return ge.push(...oe.filter(Ee=>oo(Ee)!==Ce)),ge}(ge,ht);return this.processSegmentGroup(Ce,fn,xt,ht)}),function W(oe,Ce){return(0,R.i)(function re(oe,Ce,ge,Ee,Ye){return(ht,xt)=>{let fn=ge,an=Ce,Wn=0;ht.subscribe((0,N.e)(xt,Jr=>{const li=Wn++;an=fn?oe(an,Jr,li):(fn=!0,Jr),Ee&&xt.next(an)},Ye&&(()=>{fn&&xt.next(an),xt.complete()})))}}(oe,Ce,arguments.length>=2,!0))}((ht,xt)=>(ht.push(...xt),ht)),(0,ee.G)(null),function de(oe,Ce){const ge=arguments.length>=2;return Ee=>Ee.pipe(oe?(0,K.I)((Ye,ht)=>oe(Ye,ht,Ee)):_.Z,J(1),ge?(0,ee.G)(Ce):(0,G._)(()=>new g.G))}(),(0,b.O)(ht=>{if(null===ht)return No(Ee);const xt=bi(ht);return function Ii(oe){oe.sort((Ce,ge)=>Ce.value.outlet===Me?-1:ge.value.outlet===Me?1:Ce.value.outlet.localeCompare(ge.value.outlet))}(xt),(0,e.of)(xt)}))}processSegment(Ce,ge,Ee,Ye,ht,xt){return(0,a.Q)(ge).pipe((0,Y.m)(fn=>this.processSegmentAgainstRoute(fn._injector??Ce,ge,fn,Ee,Ye,ht,xt).pipe((0,ae.a)(an=>{if(an instanceof Ti)return(0,e.of)(null);throw an}))),(0,ne.K)(fn=>!!fn),(0,ae.a)(fn=>{if(kt(fn))return function Yr(oe,Ce,ge){return 0===Ce.length&&!oe.children[ge]}(Ee,Ye,ht)?(0,e.of)(new hr):No(Ee);throw fn}))}processSegmentAgainstRoute(Ce,ge,Ee,Ye,ht,xt,fn){return function Jn(oe,Ce,ge,Ee){return!!(oo(oe)===Ee||Ee!==Me&&$n(Ce,ge,oe))&&Le(Ce,oe,ge).matched}(Ee,Ye,ht,xt)?void 0===Ee.redirectTo?this.matchSegmentAgainstRoute(Ce,Ye,Ee,ht,xt):this.allowRedirects&&fn?this.expandSegmentAgainstRouteUsingRedirect(Ce,Ye,ge,Ee,ht,xt):No(Ye):No(Ye)}expandSegmentAgainstRouteUsingRedirect(Ce,ge,Ee,Ye,ht,xt){const{matched:fn,consumedSegments:an,positionalParamSegments:Wn,remainingSegments:Jr}=Le(ge,Ye,ht);if(!fn)return No(ge);Ye.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const li=this.applyRedirects.applyRedirectCommands(an,Ye.redirectTo,Wn);return this.applyRedirects.lineralizeSegments(Ye,li).pipe((0,b.O)(vo=>this.processSegment(Ce,Ee,ge,vo.concat(Jr),xt,!1)))}matchSegmentAgainstRoute(Ce,ge,Ee,Ye,ht){const xt=pe(ge,Ee,Ye,Ce);return"**"===Ee.path&&(ge.children={}),xt.pipe((0,q.G)(fn=>fn.matched?this.getChildConfig(Ce=Ee._injector??Ce,Ee,Ye).pipe((0,q.G)(({routes:an})=>{const Wn=Ee._loadedInjector??Ce,{consumedSegments:Jr,remainingSegments:li,parameters:vo}=fn,Vs=new Kr(Jr,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Sn(oe){return oe.data||{}}(Ee),oo(Ee),Ee.component??Ee._loadedComponent??null,Ee,function Cr(oe){return oe.resolve||{}}(Ee)),{segmentGroup:da,slicedSegments:Zi}=wt(ge,Jr,li,an);if(0===Zi.length&&da.hasChildren())return this.processChildren(Wn,an,da).pipe((0,F.k)(ms=>null===ms?null:new In(Vs,ms)));if(0===an.length&&0===Zi.length)return(0,e.of)(new In(Vs,[]));const Tr=oo(Ee)===ht;return this.processSegment(Wn,an,da,Zi,Tr?Me:ht,!0).pipe((0,F.k)(ms=>new In(Vs,ms instanceof In?[ms]:[])))})):No(ge)))}getChildConfig(Ce,ge,Ee){return ge.children?(0,e.of)({routes:ge.children,injector:Ce}):ge.loadChildren?void 0!==ge._loadedRoutes?(0,e.of)({routes:ge._loadedRoutes,injector:ge._loadedInjector}):function rs(oe,Ce,ge,Ee){const Ye=Ce.canLoad;if(void 0===Ye||0===Ye.length)return(0,e.of)(!0);const ht=Ye.map(xt=>{const fn=_o(xt,oe);return sn(function Qo(oe){return oe&&wo(oe.canLoad)}(fn)?fn.canLoad(Ce,ge):(0,n.runInInjectionContext)(oe,()=>fn(Ce,ge)))});return(0,e.of)(ht).pipe(Hn(),Ao())}(Ce,ge,Ee).pipe((0,b.O)(Ye=>Ye?this.configLoader.loadChildren(Ce,ge).pipe((0,H.y)(ht=>{ge._loadedRoutes=ht.routes,ge._loadedInjector=ht.injector})):function hs(oe){return E(mo(!1,V.GuardRejected))}())):(0,e.of)({routes:[],injector:Ce})}}function $i(oe){const Ce=oe.value.routeConfig;return Ce&&""===Ce.path}function bi(oe){const Ce=[],ge=new Set;for(const Ee of oe){if(!$i(Ee)){Ce.push(Ee);continue}const Ye=Ce.find(ht=>Ee.value.routeConfig===ht.value.routeConfig);void 0!==Ye?(Ye.children.push(...Ee.children),ge.add(Ye)):Ce.push(Ee)}for(const Ee of ge){const Ye=bi(Ee.children);Ce.push(new In(Ee.value,Ye))}return Ce.filter(Ee=>!ge.has(Ee))}function Xr(oe){const Ce=oe.children.map(ge=>Xr(ge)).flat();return[oe,...Ce]}function x(oe){return(0,q.G)(Ce=>{const ge=oe(Ce);return ge?(0,a.Q)(ge).pipe((0,F.k)(()=>Ce)):(0,e.of)(Ce)})}let te=(()=>{class oe{buildTitle(ge){let Ee,Ye=ge.root;for(;void 0!==Ye;)Ee=this.getResolvedTitleForRoute(Ye)??Ee,Ye=Ye.children.find(ht=>ht.outlet===Me);return Ee}getResolvedTitleForRoute(ge){return ge.data[$e]}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(j),providedIn:"root"})}return oe})(),j=(()=>{class oe extends te{constructor(ge){super(),this.title=ge}updateTitle(ge){const Ee=this.buildTitle(ge);void 0!==Ee&&this.title.setTitle(Ee)}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)(n.\u0275\u0275inject(le.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const he=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),Oe=new n.InjectionToken("");let vt=(()=>{class oe{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(ge){if(this.componentLoaders.get(ge))return this.componentLoaders.get(ge);if(ge._loadedComponent)return(0,e.of)(ge._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ge);const Ee=sn(ge.loadComponent()).pipe((0,F.k)(Z),(0,H.y)(ht=>{this.onLoadEndListener&&this.onLoadEndListener(ge),ge._loadedComponent=ht}),(0,Ae.U)(()=>{this.componentLoaders.delete(ge)})),Ye=new L(Ee,()=>new O.E).pipe(I());return this.componentLoaders.set(ge,Ye),Ye}loadChildren(ge,Ee){if(this.childrenLoaders.get(Ee))return this.childrenLoaders.get(Ee);if(Ee._loadedRoutes)return(0,e.of)({routes:Ee._loadedRoutes,injector:Ee._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ee);const ht=Ft(Ee,this.compiler,ge,this.onLoadEndListener).pipe((0,Ae.U)(()=>{this.childrenLoaders.delete(Ee)})),xt=new L(ht,()=>new O.E).pipe(I());return this.childrenLoaders.set(Ee,xt),xt}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function Ft(oe,Ce,ge,Ee){return sn(oe.loadChildren()).pipe((0,F.k)(Z),(0,b.O)(Ye=>Ye instanceof n.NgModuleFactory||Array.isArray(Ye)?(0,e.of)(Ye):(0,a.Q)(Ce.compileModuleAsync(Ye))),(0,F.k)(Ye=>{Ee&&Ee(oe);let ht,xt;return Array.isArray(Ye)?xt=Ye:(ht=Ye.create(ge).injector,xt=ht.get(Oe,[],{optional:!0,self:!0}).flat()),{routes:xt.map(Co),injector:ht}}))}function Z(oe){return function cn(oe){return oe&&"object"==typeof oe&&"default"in oe}(oe)?oe.default:oe}let Ve=(()=>{class oe{static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Se),providedIn:"root"})}return oe})(),Se=(()=>{class oe{shouldProcessUrl(ge){return!0}extract(ge){return ge}merge(ge,Ee){return ge}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Fe=new n.InjectionToken(""),Et=new n.InjectionToken("");function Xt(oe,Ce,ge){const Ee=oe.get(Et),Ye=oe.get(z.DOCUMENT);return oe.get(n.NgZone).runOutsideAngular(()=>{if(!Ye.startViewTransition||Ee.skipNextTransition)return Ee.skipNextTransition=!1,Promise.resolve();let ht;const xt=new Promise(Wn=>{ht=Wn}),fn=Ye.startViewTransition(()=>(ht(),function ln(oe){return new Promise(Ce=>{(0,n.afterNextRender)(Ce,{injector:oe})})}(oe))),{onViewTransitionCreated:an}=Ee;return an&&(0,n.runInInjectionContext)(oe,()=>an({transition:fn,from:Ce,to:ge})),xt})}let Pn=(()=>{class oe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new O.E,this.transitionAbortSubject=new O.E,this.configLoader=(0,n.inject)(vt),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(Mt),this.rootContexts=(0,n.inject)(at),this.location=(0,n.inject)(z.Location),this.inputBindingEnabled=null!==(0,n.inject)(Gi,{optional:!0}),this.titleStrategy=(0,n.inject)(te),this.options=(0,n.inject)(he,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(Ve),this.createViewTransition=(0,n.inject)(Fe,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ye=>this.events.next(new mn(Ye)),this.configLoader.onLoadStartListener=Ye=>this.events.next(new Jt(Ye))}complete(){this.transitions?.complete()}handleNavigationRequest(ge){const Ee=++this.navigationId;this.transitions?.next({...this.transitions.value,...ge,id:Ee})}setupNavigations(ge,Ee,Ye){return this.transitions=new c.g({id:0,currentUrlTree:Ee,currentRawUrl:Ee,extractedUrl:this.urlHandlingStrategy.extract(Ee),urlAfterRedirects:this.urlHandlingStrategy.extract(Ee),rawUrl:Ee,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:wr,restoredState:null,currentSnapshot:Ye.snapshot,targetSnapshot:null,currentRouterState:Ye,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,K.I)(ht=>0!==ht.id),(0,F.k)(ht=>({...ht,extractedUrl:this.urlHandlingStrategy.extract(ht.rawUrl)})),(0,q.G)(ht=>{this.currentTransition=ht;let xt=!1,fn=!1;return(0,e.of)(ht).pipe((0,H.y)(an=>{this.currentNavigation={id:an.id,initialUrl:an.rawUrl,extractedUrl:an.extractedUrl,trigger:an.source,extras:an.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,q.G)(an=>{const Wn=!ge.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Wn&&"reload"!==(an.extras.onSameUrlNavigation??ge.onSameUrlNavigation)){const li="";return this.events.next(new Ie(an.id,this.urlSerializer.serialize(an.rawUrl),li,ue.IgnoredSameUrlNavigation)),an.resolve(null),A.k}if(this.urlHandlingStrategy.shouldProcessUrl(an.rawUrl))return(0,e.of)(an).pipe((0,q.G)(li=>{const vo=this.transitions?.getValue();return this.events.next(new un(li.id,this.urlSerializer.serialize(li.extractedUrl),li.source,li.restoredState)),vo!==this.transitions?.getValue()?A.k:Promise.resolve(li)}),function Qi(oe,Ce,ge,Ee,Ye,ht){return(0,b.O)(xt=>function nr(oe,Ce,ge,Ee,Ye,ht,xt="emptyOnly"){return new gi(oe,Ce,ge,Ee,Ye,xt,ht).recognize()}(oe,Ce,ge,Ee,xt.extractedUrl,Ye,ht).pipe((0,F.k)(({state:fn,tree:an})=>({...xt,targetSnapshot:fn,urlAfterRedirects:an}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ge.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,H.y)(li=>{ht.targetSnapshot=li.targetSnapshot,ht.urlAfterRedirects=li.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:li.urlAfterRedirects};const vo=new Te(li.id,this.urlSerializer.serialize(li.extractedUrl),this.urlSerializer.serialize(li.urlAfterRedirects),li.targetSnapshot);this.events.next(vo)}));if(Wn&&this.urlHandlingStrategy.shouldProcessUrl(an.currentRawUrl)){const{id:li,extractedUrl:vo,source:Vs,restoredState:da,extras:Zi}=an,Tr=new un(li,this.urlSerializer.serialize(vo),Vs,da);this.events.next(Tr);const ms=Dr(this.rootComponentType).snapshot;return this.currentTransition=ht={...an,targetSnapshot:ms,urlAfterRedirects:vo,extras:{...Zi,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vo,(0,e.of)(ht)}{const li="";return this.events.next(new Ie(an.id,this.urlSerializer.serialize(an.extractedUrl),li,ue.IgnoredByUrlHandlingStrategy)),an.resolve(null),A.k}}),(0,H.y)(an=>{const Wn=new et(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(Wn)}),(0,F.k)(an=>(this.currentTransition=ht={...an,guards:Ki(an.targetSnapshot,an.currentSnapshot,this.rootContexts)},ht)),function zi(oe,Ce){return(0,b.O)(ge=>{const{targetSnapshot:Ee,currentSnapshot:Ye,guards:{canActivateChecks:ht,canDeactivateChecks:xt}}=ge;return 0===xt.length&&0===ht.length?(0,e.of)({...ge,guardsResult:!0}):function So(oe,Ce,ge,Ee){return(0,a.Q)(oe).pipe((0,b.O)(Ye=>function qi(oe,Ce,ge,Ee,Ye){const ht=Ce&&Ce.routeConfig?Ce.routeConfig.canDeactivate:null;if(!ht||0===ht.length)return(0,e.of)(!0);const xt=ht.map(fn=>{const an=fo(Ce)??Ye,Wn=_o(fn,an);return sn(function ke(oe){return oe&&wo(oe.canDeactivate)}(Wn)?Wn.canDeactivate(oe,Ce,ge,Ee):(0,n.runInInjectionContext)(an,()=>Wn(oe,Ce,ge,Ee))).pipe((0,ne.K)())});return(0,e.of)(xt).pipe(Hn())}(Ye.component,Ye.route,ge,Ce,Ee)),(0,ne.K)(Ye=>!0!==Ye,!0))}(xt,Ee,Ye,oe).pipe((0,b.O)(fn=>fn&&function ds(oe){return"boolean"==typeof oe}(fn)?function Do(oe,Ce,ge,Ee){return(0,a.Q)(Ce).pipe((0,Y.m)(Ye=>h(function Fr(oe,Ce){return null!==oe&&Ce&&Ce(new _n(oe)),(0,e.of)(!0)}(Ye.route.parent,Ee),function go(oe,Ce){return null!==oe&&Ce&&Ce(new gn(oe)),(0,e.of)(!0)}(Ye.route,Ee),function ns(oe,Ce,ge){const Ee=Ce[Ce.length-1],ht=Ce.slice(0,Ce.length-1).reverse().map(xt=>function Ro(oe){const Ce=oe.routeConfig?oe.routeConfig.canActivateChild:null;return Ce&&0!==Ce.length?{node:oe,guards:Ce}:null}(xt)).filter(xt=>null!==xt).map(xt=>v(()=>{const fn=xt.guards.map(an=>{const Wn=fo(xt.node)??ge,Jr=_o(an,Wn);return sn(function Ke(oe){return oe&&wo(oe.canActivateChild)}(Jr)?Jr.canActivateChild(Ee,oe):(0,n.runInInjectionContext)(Wn,()=>Jr(Ee,oe))).pipe((0,ne.K)())});return(0,e.of)(fn).pipe(Hn())}));return(0,e.of)(ht).pipe(Hn())}(oe,Ye.path,ge),function Xo(oe,Ce,ge){const Ee=Ce.routeConfig?Ce.routeConfig.canActivate:null;if(!Ee||0===Ee.length)return(0,e.of)(!0);const Ye=Ee.map(ht=>v(()=>{const xt=fo(Ce)??ge,fn=_o(ht,xt);return sn(function ze(oe){return oe&&wo(oe.canActivate)}(fn)?fn.canActivate(Ce,oe):(0,n.runInInjectionContext)(xt,()=>fn(Ce,oe))).pipe((0,ne.K)())}));return(0,e.of)(Ye).pipe(Hn())}(oe,Ye.route,ge))),(0,ne.K)(Ye=>!0!==Ye,!0))}(Ee,ht,oe,Ce):(0,e.of)(fn)),(0,F.k)(fn=>({...ge,guardsResult:fn})))})}(this.environmentInjector,an=>this.events.next(an)),(0,H.y)(an=>{if(ht.guardsResult=an.guardsResult,Qn(an.guardsResult))throw lr(0,an.guardsResult);const Wn=new _t(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot,!!an.guardsResult);this.events.next(Wn)}),(0,K.I)(an=>!!an.guardsResult||(this.cancelNavigationTransition(an,"",V.GuardRejected),!1)),x(an=>{if(an.guards.canActivateChecks.length)return(0,e.of)(an).pipe((0,H.y)(Wn=>{const Jr=new At(Wn.id,this.urlSerializer.serialize(Wn.extractedUrl),this.urlSerializer.serialize(Wn.urlAfterRedirects),Wn.targetSnapshot);this.events.next(Jr)}),(0,q.G)(Wn=>{let Jr=!1;return(0,e.of)(Wn).pipe(function Oi(oe,Ce){return(0,b.O)(ge=>{const{targetSnapshot:Ee,guards:{canActivateChecks:Ye}}=ge;if(!Ye.length)return(0,e.of)(ge);const ht=new Set(Ye.map(an=>an.route)),xt=new Set;for(const an of ht)if(!xt.has(an))for(const Wn of Xr(an))xt.add(Wn);let fn=0;return(0,a.Q)(xt).pipe((0,Y.m)(an=>ht.has(an)?function ao(oe,Ce,ge,Ee){const Ye=oe.routeConfig,ht=oe._resolve;return void 0!==Ye?.title&&!bo(Ye)&&(ht[$e]=Ye.title),function Be(oe,Ce,ge,Ee){const Ye=Qt(oe);if(0===Ye.length)return(0,e.of)({});const ht={};return(0,a.Q)(Ye).pipe((0,b.O)(xt=>function it(oe,Ce,ge,Ee){const Ye=fo(Ce)??Ee,ht=_o(oe,Ye);return sn(ht.resolve?ht.resolve(Ce,ge):(0,n.runInInjectionContext)(Ye,()=>ht(Ce,ge)))}(oe[xt],Ce,ge,Ee).pipe((0,ne.K)(),(0,H.y)(fn=>{ht[xt]=fn}))),J(1),function be(oe){return(0,F.k)(()=>oe)}(ht),(0,ae.a)(xt=>kt(xt)?A.k:E(xt)))}(ht,oe,Ce,Ee).pipe((0,F.k)(xt=>(oe._resolvedData=xt,oe.data=ai(oe,oe.parent,ge).resolve,null)))}(an,Ee,oe,Ce):(an.data=ai(an,an.parent,oe).resolve,(0,e.of)(void 0))),(0,H.y)(()=>fn++),J(1),(0,b.O)(an=>fn===xt.size?(0,e.of)(ge):A.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,H.y)({next:()=>Jr=!0,complete:()=>{Jr||this.cancelNavigationTransition(Wn,"",V.NoDataFromResolver)}}))}),(0,H.y)(Wn=>{const Jr=new Nt(Wn.id,this.urlSerializer.serialize(Wn.extractedUrl),this.urlSerializer.serialize(Wn.urlAfterRedirects),Wn.targetSnapshot);this.events.next(Jr)}))}),x(an=>{const Wn=Jr=>{const li=[];Jr.routeConfig?.loadComponent&&!Jr.routeConfig._loadedComponent&&li.push(this.configLoader.loadComponent(Jr.routeConfig).pipe((0,H.y)(vo=>{Jr.component=vo}),(0,F.k)(()=>{})));for(const vo of Jr.children)li.push(...Wn(vo));return li};return(0,l.E)(Wn(an.targetSnapshot.root)).pipe((0,ee.G)(null),(0,X.U)(1))}),x(()=>this.afterPreactivation()),(0,q.G)(()=>{const{currentSnapshot:an,targetSnapshot:Wn}=ht,Jr=this.createViewTransition?.(this.environmentInjector,an.root,Wn.root);return Jr?(0,a.Q)(Jr).pipe((0,F.k)(()=>ht)):(0,e.of)(ht)}),(0,F.k)(an=>{const Wn=function $r(oe,Ce,ge){const Ee=no(oe,Ce._root,ge?ge._root:void 0);return new ni(Ee,Ce)}(ge.routeReuseStrategy,an.targetSnapshot,an.currentRouterState);return this.currentTransition=ht={...an,targetRouterState:Wn},this.currentNavigation.targetRouterState=Wn,ht}),(0,H.y)(()=>{this.events.next(new cr)}),((oe,Ce,ge,Ee)=>(0,F.k)(Ye=>(new ts(Ce,Ye.targetRouterState,Ye.currentRouterState,ge,Ee).activate(oe),Ye)))(this.rootContexts,ge.routeReuseStrategy,an=>this.events.next(an),this.inputBindingEnabled),(0,X.U)(1),(0,H.y)({next:an=>{xt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new B(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects))),this.titleStrategy?.updateTitle(an.targetRouterState.snapshot),an.resolve(!0)},complete:()=>{xt=!0}}),(0,ye.a)(this.transitionAbortSubject.pipe((0,H.y)(an=>{throw an}))),(0,Ae.U)(()=>{!xt&&!fn&&this.cancelNavigationTransition(ht,"",V.SupersededByNewNavigation),this.currentTransition?.id===ht.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,ae.a)(an=>{if(fn=!0,Mi(an))this.events.next(new Ne(ht.id,this.urlSerializer.serialize(ht.extractedUrl),an.message,an.cancellationCode)),function xi(oe){return Mi(oe)&&Qn(oe.url)}(an)?this.events.next(new rr(an.url)):ht.resolve(!1);else{this.events.next(new me(ht.id,this.urlSerializer.serialize(ht.extractedUrl),an,ht.targetSnapshot??void 0));try{ht.resolve(ge.errorHandler(an))}catch(Wn){this.options.resolveNavigationPromiseOnError?ht.resolve(!1):ht.reject(Wn)}}return A.k}))}))}cancelNavigationTransition(ge,Ee,Ye){const ht=new Ne(ge.id,this.urlSerializer.serialize(ge.extractedUrl),Ee,Ye);this.events.next(ht),ge.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function fr(oe){return oe!==wr}let pr=(()=>{class oe{static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(br),providedIn:"root"})}return oe})();class Nr{shouldDetach(Ce){return!1}store(Ce,ge){}shouldAttach(Ce){return!1}retrieve(Ce){return null}shouldReuseRoute(Ce,ge){return Ce.routeConfig===ge.routeConfig}}let br=(()=>{class oe extends Nr{static#e=this.\u0275fac=(()=>{let ge;return function(Ye){return(ge||(ge=n.\u0275\u0275getInheritedFactory(oe)))(Ye||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),Wr=(()=>{class oe{static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(ti),providedIn:"root"})}return oe})(),ti=(()=>{class oe extends Wr{constructor(){super(...arguments),this.location=(0,n.inject)(z.Location),this.urlSerializer=(0,n.inject)(Mt),this.options=(0,n.inject)(he,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(Ve),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Qe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Dr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(ge){return this.location.subscribe(Ee=>{"popstate"===Ee.type&&ge(Ee.url,Ee.state)})}handleRouterEvent(ge,Ee){if(ge instanceof un)this.stateMemento=this.createStateMemento();else if(ge instanceof Ie)this.rawUrlTree=Ee.initialUrl;else if(ge instanceof Te){if("eager"===this.urlUpdateStrategy&&!Ee.extras.skipLocationChange){const Ye=this.urlHandlingStrategy.merge(Ee.finalUrl,Ee.initialUrl);this.setBrowserUrl(Ye,Ee)}}else ge instanceof cr?(this.currentUrlTree=Ee.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Ee.finalUrl,Ee.initialUrl),this.routerState=Ee.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Ee.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Ee))):ge instanceof Ne&&(ge.code===V.GuardRejected||ge.code===V.NoDataFromResolver)?this.restoreHistory(Ee):ge instanceof me?this.restoreHistory(Ee,!0):ge instanceof B&&(this.lastSuccessfulId=ge.id,this.currentPageId=this.browserPageId)}setBrowserUrl(ge,Ee){const Ye=this.urlSerializer.serialize(ge);if(this.location.isCurrentPathEqualTo(Ye)||Ee.extras.replaceUrl){const xt={...Ee.extras.state,...this.generateNgRouterState(Ee.id,this.browserPageId)};this.location.replaceState(Ye,"",xt)}else{const ht={...Ee.extras.state,...this.generateNgRouterState(Ee.id,this.browserPageId+1)};this.location.go(Ye,"",ht)}}restoreHistory(ge,Ee=!1){if("computed"===this.canceledNavigationResolution){const ht=this.currentPageId-this.browserPageId;0!==ht?this.location.historyGo(ht):this.currentUrlTree===ge.finalUrl&&0===ht&&(this.resetState(ge),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Ee&&this.resetState(ge),this.resetUrlToCurrentUrlTree())}resetState(ge){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ge.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ge,Ee){return"computed"===this.canceledNavigationResolution?{navigationId:ge,\u0275routerPageId:Ee}:{navigationId:ge}}static#e=this.\u0275fac=(()=>{let ge;return function(Ye){return(ge||(ge=n.\u0275\u0275getInheritedFactory(oe)))(Ye||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();var Ei=function(oe){return oe[oe.COMPLETE=0]="COMPLETE",oe[oe.FAILED=1]="FAILED",oe[oe.REDIRECTING=2]="REDIRECTING",oe}(Ei||{});function Xi(oe,Ce){oe.events.pipe((0,K.I)(ge=>ge instanceof B||ge instanceof Ne||ge instanceof me||ge instanceof Ie),(0,F.k)(ge=>ge instanceof B||ge instanceof Ie?Ei.COMPLETE:ge instanceof Ne&&(ge.code===V.Redirect||ge.code===V.SupersededByNewNavigation)?Ei.REDIRECTING:Ei.FAILED),(0,K.I)(ge=>ge!==Ei.REDIRECTING),(0,X.U)(1)).subscribe(()=>{Ce()})}function $o(oe){throw oe}const fs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Cs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let mi=(()=>{class oe{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(Wr),this.options=(0,n.inject)(he,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(Pn),this.urlSerializer=(0,n.inject)(Mt),this.location=(0,n.inject)(z.Location),this.urlHandlingStrategy=(0,n.inject)(Ve),this._events=new O.E,this.errorHandler=this.options.errorHandler||$o,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(pr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(Oe,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(Gi,{optional:!0}),this.eventsSubscription=new T.wH,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ge=>{this.console.warn(ge)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ge=this.navigationTransitions.events.subscribe(Ee=>{try{const Ye=this.navigationTransitions.currentTransition,ht=this.navigationTransitions.currentNavigation;if(null!==Ye&&null!==ht)if(this.stateManager.handleRouterEvent(Ee,ht),Ee instanceof Ne&&Ee.code!==V.Redirect&&Ee.code!==V.SupersededByNewNavigation)this.navigated=!0;else if(Ee instanceof B)this.navigated=!0;else if(Ee instanceof rr){const xt=this.urlHandlingStrategy.merge(Ee.url,Ye.currentRawUrl),fn={info:Ye.extras.info,skipLocationChange:Ye.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||fr(Ye.source)};this.scheduleNavigation(xt,wr,null,fn,{resolve:Ye.resolve,reject:Ye.reject,promise:Ye.promise})}(function yi(oe){return!(oe instanceof cr||oe instanceof rr)})(Ee)&&this._events.next(Ee)}catch(Ye){this.navigationTransitions.transitionAbortSubject.next(Ye)}});this.eventsSubscription.add(ge)}resetRootComponentType(ge){this.routerState.root.component=ge,this.navigationTransitions.rootComponentType=ge}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),wr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((ge,Ee)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(ge,"popstate",Ee)},0)})}navigateToSyncWithBrowser(ge,Ee,Ye){const ht={replaceUrl:!0},xt=Ye?.navigationId?Ye:null;if(Ye){const an={...Ye};delete an.navigationId,delete an.\u0275routerPageId,0!==Object.keys(an).length&&(ht.state=an)}const fn=this.parseUrl(ge);this.scheduleNavigation(fn,Ee,xt,ht)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ge){this.config=ge.map(Co),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ge,Ee={}){const{relativeTo:Ye,queryParams:ht,fragment:xt,queryParamsHandling:fn,preserveFragment:an}=Ee,Wn=an?this.currentUrlTree.fragment:xt;let li,Jr=null;switch(fn){case"merge":Jr={...this.currentUrlTree.queryParams,...ht};break;case"preserve":Jr=this.currentUrlTree.queryParams;break;default:Jr=ht||null}null!==Jr&&(Jr=this.removeEmptyProps(Jr));try{li=xr(Ye?Ye.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ge[0]||!ge[0].startsWith("/"))&&(ge=[]),li=this.currentUrlTree.root}return Si(li,ge,Jr,Wn??null)}navigateByUrl(ge,Ee={skipLocationChange:!1}){const Ye=Qn(ge)?ge:this.parseUrl(ge),ht=this.urlHandlingStrategy.merge(Ye,this.rawUrlTree);return this.scheduleNavigation(ht,wr,null,Ee)}navigate(ge,Ee={skipLocationChange:!1}){return function Wo(oe){for(let Ce=0;Ce(null!=ht&&(Ee[Ye]=ht),Ee),{})}scheduleNavigation(ge,Ee,Ye,ht,xt){if(this.disposed)return Promise.resolve(!1);let fn,an,Wn;xt?(fn=xt.resolve,an=xt.reject,Wn=xt.promise):Wn=new Promise((li,vo)=>{fn=li,an=vo});const Jr=this.pendingTasks.add();return Xi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jr))}),this.navigationTransitions.handleNavigationRequest({source:Ee,restoredState:Ye,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ge,extras:ht,resolve:fn,reject:an,promise:Wn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Wn.catch(li=>Promise.reject(li))}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),jo=(()=>{class oe{constructor(ge,Ee,Ye,ht,xt,fn){this.router=ge,this.route=Ee,this.tabIndexAttribute=Ye,this.renderer=ht,this.el=xt,this.locationStrategy=fn,this.href=null,this.commands=null,this.onChanges=new O.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const an=xt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===an||"area"===an,this.isAnchorElement?this.subscription=ge.events.subscribe(Wn=>{Wn instanceof B&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ge){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ge)}ngOnChanges(ge){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ge){null!=ge?(this.commands=Array.isArray(ge)?ge:[ge],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ge,Ee,Ye,ht,xt){const fn=this.urlTree;return!!(null===fn||this.isAnchorElement&&(0!==ge||Ee||Ye||ht||xt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(fn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const ge=this.urlTree;this.href=null!==ge&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ge)):null;const Ee=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Ee)}applyAttributeValue(ge,Ee){const Ye=this.renderer,ht=this.el.nativeElement;null!==Ee?Ye.setAttribute(ht,ge,Ee):Ye.removeAttribute(ht,ge)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)(n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(Rn),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(z.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Ee,Ye){1&Ee&&n.\u0275\u0275listener("click",function(xt){return Ye.onClick(xt.button,xt.ctrlKey,xt.shiftKey,xt.altKey,xt.metaKey)}),2&Ee&&n.\u0275\u0275attribute("target",Ye.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return oe})(),rl=(()=>{class oe{get isActive(){return this._isActive}constructor(ge,Ee,Ye,ht,xt){this.router=ge,this.element=Ee,this.renderer=Ye,this.cdr=ht,this.link=xt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=ge.events.subscribe(fn=>{fn instanceof B&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(S()).subscribe(ge=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ge=[...this.links.toArray(),this.link].filter(Ee=>!!Ee).map(Ee=>Ee.onChanges);this.linkInputChangesSubscription=(0,a.Q)(ge).pipe(S()).subscribe(Ee=>{this._isActive!==this.isLinkActive(this.router)(Ee)&&this.update()})}set routerLinkActive(ge){const Ee=Array.isArray(ge)?ge:ge.split(" ");this.classes=Ee.filter(Ye=>!!Ye)}ngOnChanges(ge){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ge=this.hasActiveLinks();this._isActive!==ge&&(this._isActive=ge,this.cdr.markForCheck(),this.classes.forEach(Ee=>{ge?this.renderer.addClass(this.element.nativeElement,Ee):this.renderer.removeClass(this.element.nativeElement,Ee)}),ge&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ge))})}isLinkActive(ge){const Ee=function Ca(oe){return!!oe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ye=>{const ht=Ye.urlTree;return!!ht&&ge.isActive(ht,Ee)}}hasActiveLinks(){const ge=this.isLinkActive(this.router);return this.link&&ge(this.link)||this.links.some(ge)}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)(n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(jo,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLinkActive",""]],contentQueries:function(Ee,Ye,ht){if(1&Ee&&n.\u0275\u0275contentQuery(ht,jo,5),2&Ee){let xt;n.\u0275\u0275queryRefresh(xt=n.\u0275\u0275loadQuery())&&(Ye.links=xt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Ya{}let il=(()=>{class oe{preload(ge,Ee){return Ee().pipe((0,ae.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),Kl=(()=>{class oe{preload(ge,Ee){return(0,e.of)(null)}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),sa=(()=>{class oe{constructor(ge,Ee,Ye,ht,xt){this.router=ge,this.injector=Ye,this.preloadingStrategy=ht,this.loader=xt}setUpPreloading(){this.subscription=this.router.events.pipe((0,K.I)(ge=>ge instanceof B),(0,Y.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ge,Ee){const Ye=[];for(const ht of Ee){ht.providers&&!ht._injector&&(ht._injector=(0,n.createEnvironmentInjector)(ht.providers,ge,`Route: ${ht.path}`));const xt=ht._injector??ge,fn=ht._loadedInjector??xt;(ht.loadChildren&&!ht._loadedRoutes&&void 0===ht.canLoad||ht.loadComponent&&!ht._loadedComponent)&&Ye.push(this.preloadConfig(xt,ht)),(ht.children||ht._loadedRoutes)&&Ye.push(this.processRoutes(fn,ht.children??ht._loadedRoutes))}return(0,a.Q)(Ye).pipe(S())}preloadConfig(ge,Ee){return this.preloadingStrategy.preload(Ee,()=>{let Ye;Ye=Ee.loadChildren&&void 0===Ee.canLoad?this.loader.loadChildren(ge,Ee):(0,e.of)(null);const ht=Ye.pipe((0,b.O)(xt=>null===xt?(0,e.of)(void 0):(Ee._loadedRoutes=xt.routes,Ee._loadedInjector=xt.injector,this.processRoutes(xt.injector??ge,xt.routes))));if(Ee.loadComponent&&!Ee._loadedComponent){const xt=this.loader.loadComponent(Ee);return(0,a.Q)([ht,xt]).pipe(S())}return ht})}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)(n.\u0275\u0275inject(mi),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ya),n.\u0275\u0275inject(vt))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Ps=new n.InjectionToken("");let Ql=(()=>{class oe{constructor(ge,Ee,Ye,ht,xt={}){this.urlSerializer=ge,this.transitions=Ee,this.viewportScroller=Ye,this.zone=ht,this.options=xt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},xt.scrollPositionRestoration||="disabled",xt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ge=>{ge instanceof un?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ge.navigationTrigger,this.restoredId=ge.restoredState?ge.restoredState.navigationId:0):ge instanceof B?(this.lastId=ge.id,this.scheduleScrollEvent(ge,this.urlSerializer.parse(ge.urlAfterRedirects).fragment)):ge instanceof Ie&&ge.code===ue.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ge,this.urlSerializer.parse(ge.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ge=>{ge instanceof Nn&&(ge.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ge.position):ge.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ge.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ge,Ee){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Nn(ge,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ee))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Ee){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function is(oe,...Ce){return(0,n.makeEnvironmentProviders)([{provide:Oe,multi:!0,useValue:oe},[],{provide:Rn,useFactory:aa,deps:[mi]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Sa},Ce.map(ge=>ge.\u0275providers)])}function aa(oe){return oe.routerState.root}function Ss(oe,Ce){return{\u0275kind:oe,\u0275providers:Ce}}function la(oe){return[{provide:Oe,multi:!0,useValue:oe},[]]}function Xl(oe={}){return Ss(4,[{provide:Ps,useFactory:()=>{const ge=(0,n.inject)(z.ViewportScroller),Ee=(0,n.inject)(n.NgZone),Ye=(0,n.inject)(Pn),ht=(0,n.inject)(Mt);return new Ql(ht,Ye,ge,Ee,oe)}}])}function Sa(){const oe=(0,n.inject)(n.Injector);return Ce=>{const ge=oe.get(n.ApplicationRef);if(Ce!==ge.components[0])return;const Ee=oe.get(mi),Ye=oe.get(Ma);1===oe.get(Qs)&&Ee.initialNavigation(),oe.get(Go,null,n.InjectFlags.Optional)?.setUpPreloading(),oe.get(Ps,null,n.InjectFlags.Optional)?.init(),Ee.resetRootComponentType(ge.componentTypes[0]),Ye.closed||(Ye.next(),Ye.complete(),Ye.unsubscribe())}}const Ma=new n.InjectionToken("",{factory:()=>new O.E}),Qs=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function mu(){return Ss(2,[{provide:Qs,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:Ce=>{const ge=Ce.get(z.LOCATION_INITIALIZED,Promise.resolve());return()=>ge.then(()=>new Promise(Ee=>{const Ye=Ce.get(mi),ht=Ce.get(Ma);Xi(Ye,()=>{Ee(!0)}),Ce.get(Pn).afterPreactivation=()=>(Ee(!0),ht.closed?(0,e.of)(void 0):ht),Ye.initialNavigation()}))}}])}function ol(){return Ss(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const Ce=(0,n.inject)(mi);return()=>{Ce.setUpLocationChangeListener()}}},{provide:Qs,useValue:2}])}function Nd(){let oe=[];return oe=[],Ss(1,oe)}const Go=new n.InjectionToken("");function Xs(oe){return Ss(0,[{provide:Go,useExisting:sa},{provide:Ya,useExisting:oe}])}function ca(oe){return Ss(5,[{provide:he,useValue:oe}])}function jd(){return Ss(6,[{provide:z.LocationStrategy,useClass:z.HashLocationStrategy}])}function Zl(oe){return Ss(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const ge=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(mi).events.subscribe(Ee=>{Ee instanceof me&&(0,n.runInInjectionContext)(ge,()=>oe(Ee))})}}])}function Jl(){return Ss(8,[to,{provide:Gi,useExisting:to}])}function Ea(oe){return Ss(9,[{provide:Fe,useValue:Xt},{provide:Et,useValue:{skipNextTransition:!!oe?.skipInitialTransition,...oe}}])}const sl=new n.InjectionToken("ROUTER_FORROOT_GUARD"),al=[z.Location,{provide:Mt,useClass:nt},mi,at,{provide:Rn,useFactory:aa,deps:[mi]},vt,[]];let ql=(()=>{class oe{constructor(ge){}static forRoot(ge,Ee){return{ngModule:oe,providers:[al,[],{provide:Oe,multi:!0,useValue:ge},{provide:sl,useFactory:pu,deps:[[mi,new n.Optional,new n.SkipSelf]]},{provide:he,useValue:Ee||{}},Ee?.useHash?{provide:z.LocationStrategy,useClass:z.HashLocationStrategy}:{provide:z.LocationStrategy,useClass:z.PathLocationStrategy},{provide:Ps,useFactory:()=>{const oe=(0,n.inject)(z.ViewportScroller),Ce=(0,n.inject)(n.NgZone),ge=(0,n.inject)(he),Ee=(0,n.inject)(Pn),Ye=(0,n.inject)(Mt);return ge.scrollOffset&&oe.setOffset(ge.scrollOffset),new Ql(Ye,Ee,oe,Ce,ge)}},Ee?.preloadingStrategy?Xs(Ee.preloadingStrategy).\u0275providers:[],Ee?.initialNavigation?Zo(Ee):[],Ee?.bindToComponentInputs?Jl().\u0275providers:[],Ee?.enableViewTransitions?Ea().\u0275providers:[],[{provide:Zr,useFactory:Sa},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Zr}]]}}static forChild(ge){return{ngModule:oe,providers:[{provide:Oe,multi:!0,useValue:ge}]}}static#e=this.\u0275fac=function(Ee){return new(Ee||oe)(n.\u0275\u0275inject(sl,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:oe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return oe})();function pu(oe){return"guarded"}function Zo(oe){return["disabled"===oe.initialNavigation?ol().\u0275providers:[],"enabledBlocking"===oe.initialNavigation?mu().\u0275providers:[]]}const Zr=new n.InjectionToken("");function Hs(oe){return oe.map(Ce=>(...ge)=>(0,n.inject)(Ce).canMatch(...ge))}function Da(oe){return oe.map(Ce=>(...ge)=>(0,n.inject)(Ce).canActivate(...ge))}function Un(oe){return oe.map(Ce=>(...ge)=>(0,n.inject)(Ce).canActivateChild(...ge))}function tc(oe){return oe.map(Ce=>(...ge)=>(0,n.inject)(Ce).canDeactivate(...ge))}function gs(oe){return(...Ce)=>(0,n.inject)(oe).resolve(...Ce)}const ua=new n.Version("17.2.3")},42348:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{MSAL_BROADCAST_CONFIG:()=>X,MSAL_GUARD_CONFIG:()=>F,MSAL_INSTANCE:()=>z,MSAL_INTERCEPTOR_CONFIG:()=>q,MsalBroadcastService:()=>K,MsalCustomNavigationClient:()=>re,MsalGuard:()=>ne,MsalInterceptor:()=>Y,MsalModule:()=>ae,MsalRedirectComponent:()=>H,MsalService:()=>ce,version:()=>O});var n=o(1528),i=o(54496),d=o(26956),u=o(88904),a=o(72592),e=o(67648),c=o(84644),l=o(7828),g=o(64952),b=o(74496),_=o(95657),S=o(35960);class y extends _.E{constructor(ee=1/0,J=1/0,G=S.K){super(),this._bufferSize=ee,this._windowTime=J,this._timestampProvider=G,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=J===1/0,this._bufferSize=Math.max(1,ee),this._windowTime=Math.max(1,J)}next(ee){const{isStopped:J,_buffer:G,_infiniteTimeWindow:de,_timestampProvider:be,_windowTime:Ae}=this;J||(G.push(ee),!de&&G.push(be.now()+Ae)),this._trimBuffer(),super.next(ee)}_subscribe(ee){this._throwIfClosed(),this._trimBuffer();const J=this._innerSubscribe(ee),{_infiniteTimeWindow:G,_buffer:de}=this,be=de.slice();for(let Ae=0;Ae{class W{constructor(J,G){this.instance=J,this.location=G;const de=this.location.path(!0).split("#").pop();de&&(this.redirectHash=`#${de}`),this.instance.initializeWrapperLibrary(d.Lm.Angular,O)}initialize(){return(0,b.Q)(this.instance.initialize())}acquireTokenPopup(J){return(0,b.Q)(this.instance.acquireTokenPopup(J))}acquireTokenRedirect(J){return(0,b.Q)(this.instance.acquireTokenRedirect(J))}acquireTokenSilent(J){return(0,b.Q)(this.instance.acquireTokenSilent(J))}handleRedirectObservable(J){return(0,b.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(J||this.redirectHash)))}loginPopup(J){return(0,b.Q)(this.instance.loginPopup(J))}loginRedirect(J){return(0,b.Q)(this.instance.loginRedirect(J))}logout(J){return(0,b.Q)(this.instance.logout(J))}logoutRedirect(J){return(0,b.Q)(this.instance.logoutRedirect(J))}logoutPopup(J){return(0,b.Q)(this.instance.logoutPopup(J))}ssoSilent(J){return(0,b.Q)(this.instance.ssoSilent(J))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(L,O)),this.logger}setLogger(J){this.logger=J.clone(L,O),this.instance.setLogger(J)}}return W.\u0275fac=function(J){return new(J||W)(i.\u0275\u0275inject(z),i.\u0275\u0275inject(v.Location))},W.\u0275prov=i.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac}),W})(),K=(()=>{class W{constructor(J,G,de){this.msalInstance=J,this.authService=G,this.msalBroadcastConfig=de,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay} events`),this._msalSubject=new y(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new _.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new m.g(d.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(be=>{this._msalSubject.next(be);const Ae=u.M.getInteractionStatusFromEvent(be,this._inProgress.value);null!==Ae&&(this.authService.getLogger().verbose(`BroadcastService - ${be.eventType} results in setting inProgress from ${this._inProgress.value} to ${Ae}`),this._inProgress.next(Ae))})}}return W.\u0275fac=function(J){return new(J||W)(i.\u0275\u0275inject(z),i.\u0275\u0275inject(ce),i.\u0275\u0275inject(X,8))},W.\u0275prov=i.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac}),W})(),ne=(()=>{class W{constructor(J,G,de,be,Ae){this.msalGuardConfig=J,this.msalBroadcastService=G,this.authService=de,this.location=be,this.router=Ae,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(J){return this.router.parseUrl(J)}getDestinationUrl(J){this.authService.getLogger().verbose("Guard - getting destination url");const G=document.getElementsByTagName("base"),de=this.location.normalize(G.length?G[0].href:window.location.origin),be=this.location.prepareExternalUrl(J);return be.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${de}/${be}`):`${de}${J}`}loginInteractively(J){const G="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,J):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(G).pipe((0,M.k)(be=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(be.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const de=this.getDestinationUrl(J.url);return this.authService.loginRedirect({redirectStartPage:de,...G}).pipe((0,M.k)(()=>!1))}activateHelper(J){if(this.msalGuardConfig.interactionType!==d.wV.Popup&&this.msalGuardConfig.interactionType!==d.wV.Redirect)throw new a.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),!(typeof window<"u"))return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),(0,h.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&c.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),(0,h.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const G=this.location.path(!0);return this.authService.initialize().pipe((0,E.m)(()=>this.authService.handleRedirectObservable()),(0,E.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return J?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(J)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,h.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),J){const de=this.includesCode(J.url),be=!!J.root&&!!J.root.fragment&&this.includesCode(`#${J.root.fragment}`),Ae=0===this.location.prepareExternalUrl(J.url).indexOf("#");if(de&&(be||Ae))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),G.indexOf("#")>-1?(0,h.of)(this.parseUrl(this.location.path())):(0,h.of)(this.parseUrl(""))}return(0,h.of)(!0)}),(0,A.a)(de=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${de.message}`),this.loginFailedRoute&&J?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,h.of)(this.loginFailedRoute)):(0,h.of)(!1))))}includesCode(J){return J.lastIndexOf("/code")>-1&&J.lastIndexOf("/code")===J.length-5||J.indexOf("#code=")>-1||J.indexOf("&code=")>-1}canActivate(J,G){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(G)}canActivateChild(J,G){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(G)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return W.\u0275fac=function(J){return new(J||W)(i.\u0275\u0275inject(F),i.\u0275\u0275inject(K),i.\u0275\u0275inject(ce),i.\u0275\u0275inject(v.Location),i.\u0275\u0275inject(I.Router))},W.\u0275prov=i.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac}),W})(),Y=(()=>{class W{constructor(J,G,de,be,Ae){this.msalInterceptorConfig=J,this.authService=G,this.location=de,this.msalBroadcastService=be,this._document=Ae}intercept(J,G){if(this.msalInterceptorConfig.interactionType!==d.wV.Popup&&this.msalInterceptorConfig.interactionType!==d.wV.Redirect)throw new a.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const de=this.getScopesForEndpoint(J.url,J.method);if(!de||0===de.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),G.handle(J);let be;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),be=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),be=this.authService.instance.getAllAccounts()[0]);const Ae="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,J,{account:be}):{...this.msalInterceptorConfig.authRequest,account:be};return this.authService.getLogger().info(`Interceptor - ${de.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${de}] scopes found for ${J.url}`),this.acquireToken(Ae,de,be).pipe((0,T.G)(ye=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const le=J.headers.set("Authorization",`Bearer ${ye.accessToken}`),Me=J.clone({headers:le});return G.handle(Me)}))}acquireToken(J,G,de){return this.authService.acquireTokenSilent({...J,scopes:G,account:de}).pipe((0,A.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,R.U)(1),(0,T.G)(be=>be===d.Yz.None?this.acquireTokenInteractively(J,G):this.msalBroadcastService.inProgress$.pipe((0,N.I)(Ae=>Ae===d.Yz.None),(0,R.U)(1),(0,T.G)(()=>this.acquireToken(J,G,de))))))),(0,T.G)(be=>be.accessToken?(0,h.of)(be):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,N.I)(Ae=>Ae===d.Yz.None),(0,R.U)(1),(0,T.G)(()=>this.acquireTokenInteractively(J,G))))))}acquireTokenInteractively(J,G){if(this.msalInterceptorConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...J,scopes:G});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const de=window.location.href;return this.authService.acquireTokenRedirect({...J,scopes:G,redirectStartPage:de}),C.k}getScopesForEndpoint(J,G){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const de=this.location.normalize(J),be=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),Ae=this.matchResourcesToEndpoint(be,de);return Ae.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Ae.absoluteResources,G):Ae.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Ae.relativeResources,G):null}matchResourcesToEndpoint(J,G){const de={absoluteResources:[],relativeResources:[]};return J.forEach(be=>{const Ae=this.location.normalize(be);l.e.matchPattern(Ae,G)&&de.absoluteResources.push(be);const ye=this.getAbsoluteUrl(be),le=new e._(ye).getUrlComponents(),Me=this.getAbsoluteUrl(G),$e=new e._(Me).getUrlComponents(),qe=le.QueryString?`${le.AbsolutePath}?${le.QueryString}`:this.location.normalize(le.AbsolutePath);le.HostNameAndPort===$e.HostNameAndPort&&l.e.matchPattern(qe,Me)&&""!==qe&&"/*"!==qe&&de.relativeResources.push(be)}),de}getAbsoluteUrl(J){const G=this._document.createElement("a");return G.href=J,G.href}matchScopesToEndpoint(J,G,de){const be=[];return G.forEach(Ae=>{const ye=[],le=J.get(Ae);null!==le?(le.forEach(Me=>{if("string"==typeof Me)ye.push(Me);else{const $e=de.toLowerCase();Me.httpMethod.toLowerCase()===$e&&(null===Me.scopes?be.push(null):Me.scopes.forEach(tt=>{ye.push(tt)}))}}),ye.length>0&&be.push(ye)):be.push(null)}),be.length>0?(be.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),be[0]):null}}return W.\u0275fac=function(J){return new(J||W)(i.\u0275\u0275inject(q),i.\u0275\u0275inject(ce),i.\u0275\u0275inject(v.Location),i.\u0275\u0275inject(K),i.\u0275\u0275inject(v.DOCUMENT))},W.\u0275prov=i.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac}),W})(),H=(()=>{class W{constructor(J){this.authService=J}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return W.\u0275fac=function(J){return new(J||W)(i.\u0275\u0275directiveInject(ce))},W.\u0275cmp=i.\u0275\u0275defineComponent({type:W,selectors:[["app-redirect"]],decls:0,vars:0,template:function(J,G){},encapsulation:2}),W})(),ae=(()=>{class W{static forRoot(J,G,de){return{ngModule:W,providers:[{provide:z,useValue:J},{provide:F,useValue:G},{provide:q,useValue:de},ce]}}}return W.\u0275fac=function(J){return new(J||W)},W.\u0275mod=i.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=i.\u0275\u0275defineInjector({providers:[ne,K],imports:[v.CommonModule]}),W})(),re=(()=>{class W extends g.m{constructor(J,G,de){super(),this.authService=J,this.router=G,this.location=de}navigateInternal(J,G){var de=()=>super.navigateInternal,be=this;return(0,n.c)(function*(){if(be.authService.getLogger().trace("MsalCustomNavigationClient called"),be.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),be.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${J}`),G.noHistory)return de().call(be,J,G);{const Ae=new e._(J).getUrlComponents(),ye=Ae.QueryString?`${Ae.AbsolutePath}?${Ae.QueryString}`:be.location.normalize(Ae.AbsolutePath);yield be.router.navigateByUrl(ye,{replaceUrl:G.noHistory})}return Promise.resolve(G.noHistory)})()}}return W.\u0275fac=function(J){return new(J||W)(i.\u0275\u0275inject(ce),i.\u0275\u0275inject(I.Router),i.\u0275\u0275inject(v.Location))},W.\u0275prov=i.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac}),W})()},69812:(ve,f,o)=>{"use strict";o.d(f,{S:()=>I,Y:()=>N});var n=o(1528),i=o(6536),d=o(34739),u=o(72584),a=o(98416),e=o(28876),c=o(71408),l=o(85348),g=o(7828),b=o(86144),_=o(16256),S=o(6400),y=o(9488),m=o(65172),h=o(4792),C=o(26956),v=o(71720),M=o(61744),E=o(99632),A=o(55084),T=o(37988),R=o(32828);class N extends i.B{constructor(O,z,F,q,X){super(O,F,q,X),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=z,this.logger=q,this.internalStorage=new M.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),z.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(O){switch(O){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new v.K(O)}catch(z){this.logger.verbose(z);break}}return this.cacheConfig.cacheLocation=C.Ir.MemoryStorage,new M.W}setupTemporaryCacheStorage(O,z){switch(z){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new v.K(O||C.Ir.SessionStorage)}catch(F){return this.logger.verbose(F),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const z=`${d.Mv.CACHE_PREFIX}.${d.IH.CLIENT_INFO}`,F=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR}`,q=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR_DESC}`,Y=[this.browserStorage.getItem(`${d.Mv.CACHE_PREFIX}.${d.IH.ID_TOKEN}`),this.browserStorage.getItem(z),this.browserStorage.getItem(F),this.browserStorage.getItem(q)];[d.IH.ID_TOKEN,d.IH.CLIENT_INFO,d.IH.ERROR,d.IH.ERROR_DESC].forEach((ae,re)=>this.migrateCacheEntry(ae,Y[re]))}migrateCacheEntry(O,z){z&&this.setTemporaryCache(O,z,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const O=this.getItem(C.UZ.ACCOUNT_KEYS),z=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);O&&z?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(q=>{if(this.isCredentialKey(q)){const X=this.getItem(q);if(X){const ce=this.validateAndParseJson(X);if(ce&&ce.hasOwnProperty("credentialType"))switch(ce.credentialType){case d.yu.ID_TOKEN:if(u.LS(ce)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${q} found, saving key to token key map`);const ne=this.updateCredentialCacheKey(q,ce);return void this.addTokenKey(ne,d.yu.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed idToken validation on key: ${q}`);break;case d.yu.ACCESS_TOKEN:case d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(u.Ul(ce)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${q} found, saving key to token key map`);const ne=this.updateCredentialCacheKey(q,ce);return void this.addTokenKey(ne,d.yu.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ${q}`);break;case d.yu.REFRESH_TOKEN:if(u.U5(ce)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${q} found, saving key to token key map`);const ne=this.updateCredentialCacheKey(q,ce);return void this.addTokenKey(ne,d.yu.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ${q}`)}}}if(this.isAccountKey(q)){const X=this.getItem(q);if(X){const ce=this.validateAndParseJson(X);ce&&a.M.isAccountEntity(ce)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${q} found, saving key to account key map`),this.addAccountKeyToMap(q))}}})}validateAndParseJson(O){try{const z=JSON.parse(O);return z&&"object"==typeof z?z:null}catch{return null}}getItem(O){return this.browserStorage.getItem(O)}setItem(O,z){this.browserStorage.setItem(O,z)}getAccount(O,z){this.logger.trace("BrowserCacheManager.getAccount called");const F=this.getCachedAccountEntity(O);return this.updateOutdatedCachedAccount(O,F,z)}getCachedAccountEntity(O){const z=this.getItem(O);if(!z)return this.removeAccountKeyFromMap(O),null;const F=this.validateAndParseJson(z);return F&&a.M.isAccountEntity(F)?i.B.toObject(new a.M,F):(this.removeAccountKeyFromMap(O),null)}setAccount(O){this.logger.trace("BrowserCacheManager.setAccount called");const z=O.generateAccountKey();this.setItem(z,JSON.stringify(O)),this.addAccountKeyToMap(z)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const O=this.getItem(C.UZ.ACCOUNT_KEYS);return O?JSON.parse(O):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(O){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${O}`);const z=this.getAccountKeys();-1===z.indexOf(O)?(z.push(O),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(z)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(O){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${O}`);const z=this.getAccountKeys(),F=z.indexOf(O);F>-1?(z.splice(F,1),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(z)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(O){var z=()=>super.removeAccount,F=this;return(0,n.c)(function*(){z().call(F,O),F.removeAccountKeyFromMap(O)})()}removeOutdatedAccount(O){this.removeItem(O),this.removeAccountKeyFromMap(O)}removeIdToken(O){super.removeIdToken(O),this.removeTokenKey(O,d.yu.ID_TOKEN)}removeAccessToken(O){var z=()=>super.removeAccessToken,F=this;return(0,n.c)(function*(){z().call(F,O),F.removeTokenKey(O,d.yu.ACCESS_TOKEN)})()}removeRefreshToken(O){super.removeRefreshToken(O),this.removeTokenKey(O,d.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const O=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);if(O){const z=this.validateAndParseJson(O);if(z&&z.hasOwnProperty("idToken")&&z.hasOwnProperty("accessToken")&&z.hasOwnProperty("refreshToken"))return z;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(O,z){this.logger.trace("BrowserCacheManager addTokenKey called");const F=this.getTokenKeys();switch(z){case d.yu.ID_TOKEN:-1===F.idToken.indexOf(O)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),F.idToken.push(O));break;case d.yu.ACCESS_TOKEN:-1===F.accessToken.indexOf(O)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),F.accessToken.push(O));break;case d.yu.REFRESH_TOKEN:-1===F.refreshToken.indexOf(O)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),F.refreshToken.push(O));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${z}`),(0,e.mQ)(c.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(F))}removeTokenKey(O,z){this.logger.trace("BrowserCacheManager removeTokenKey called");const F=this.getTokenKeys();switch(z){case d.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${O} from map`);const q=F.idToken.indexOf(O);q>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),F.idToken.splice(q,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${O} from map`);const X=F.accessToken.indexOf(O);X>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),F.accessToken.splice(X,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${O} from map`);const ce=F.refreshToken.indexOf(O);ce>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),F.refreshToken.splice(ce,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${z}`),(0,e.mQ)(c.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(F))}getIdTokenCredential(O){const z=this.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(O,d.yu.ID_TOKEN),null;const F=this.validateAndParseJson(z);return F&&u.LS(F)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),F):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(O,d.yu.ID_TOKEN),null)}setIdTokenCredential(O){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const z=u.AZ(O);this.setItem(z,JSON.stringify(O)),this.addTokenKey(z,d.yu.ID_TOKEN)}getAccessTokenCredential(O){const z=this.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(O,d.yu.ACCESS_TOKEN),null;const F=this.validateAndParseJson(z);return F&&u.Ul(F)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),F):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(O,d.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(O){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const z=u.AZ(O);this.setItem(z,JSON.stringify(O)),this.addTokenKey(z,d.yu.ACCESS_TOKEN)}getRefreshTokenCredential(O){const z=this.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(O,d.yu.REFRESH_TOKEN),null;const F=this.validateAndParseJson(z);return F&&u.U5(F)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),F):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(O,d.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(O){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const z=u.AZ(O);this.setItem(z,JSON.stringify(O)),this.addTokenKey(z,d.yu.REFRESH_TOKEN)}getAppMetadata(O){const z=this.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const F=this.validateAndParseJson(z);return F&&u.q6(O,F)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),F):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(O){this.logger.trace("BrowserCacheManager.setAppMetadata called");const z=u.S(O);this.setItem(z,JSON.stringify(O))}getServerTelemetry(O){const z=this.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const F=this.validateAndParseJson(z);return F&&u.sX(O,F)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),F):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(O,z){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(O,JSON.stringify(z))}getAuthorityMetadata(O){const z=this.internalStorage.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const F=this.validateAndParseJson(z);return F&&u.aA(O,F)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),F):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(z=>this.isAuthorityMetadata(z))}setWrapperMetadata(O,z){this.internalStorage.setItem(C.CM.WRAPPER_SKU,O),this.internalStorage.setItem(C.CM.WRAPPER_VER,z)}getWrapperMetadata(){return[this.internalStorage.getItem(C.CM.WRAPPER_SKU)||d.Mv.EMPTY_STRING,this.internalStorage.getItem(C.CM.WRAPPER_VER)||d.Mv.EMPTY_STRING]}setAuthorityMetadata(O,z){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(O,JSON.stringify(z))}getActiveAccount(){const O=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),z=this.getItem(O);if(!z){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const q=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT),X=this.getItem(q);if(!X)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const ce=this.getAccountInfoFilteredBy({localAccountId:X});return ce?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(ce),ce):null}const F=this.validateAndParseJson(z);return F?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:F.homeAccountId,localAccountId:F.localAccountId,tenantId:F.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(O){const z=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),F=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT);O?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(z,JSON.stringify({homeAccountId:O.homeAccountId,localAccountId:O.localAccountId,tenantId:O.tenantId})),this.browserStorage.setItem(F,O.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(z),this.browserStorage.removeItem(F))}getThrottlingCache(O){const z=this.getItem(O);if(!z)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const F=this.validateAndParseJson(z);return F&&u.s7(O,F)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),F):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(O,z){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(O,JSON.stringify(z))}getTemporaryCache(O,z){const F=z?this.generateCacheKey(O):O;if(this.cacheConfig.storeAuthStateInCookie){const X=this.getItemCookie(F);if(X)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),X}const q=this.temporaryCacheStorage.getItem(F);if(!q){if(this.cacheConfig.cacheLocation===C.Ir.LocalStorage){const X=this.browserStorage.getItem(F);if(X)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),X}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),q}setTemporaryCache(O,z,F){const q=F?this.generateCacheKey(O):O;this.temporaryCacheStorage.setItem(q,z),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(q,z))}removeItem(O){this.browserStorage.removeItem(O),this.temporaryCacheStorage.removeItem(O),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(O))}containsKey(O){return this.browserStorage.containsKey(O)||this.temporaryCacheStorage.containsKey(O)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var O=this;return(0,n.c)(function*(){yield O.removeAllAccounts(),O.removeAppMetadata(),O.getKeys().forEach(z=>{(O.browserStorage.containsKey(z)||O.temporaryCacheStorage.containsKey(z))&&(-1!==z.indexOf(d.Mv.CACHE_PREFIX)||-1!==z.indexOf(O.clientId))&&O.removeItem(z)}),O.internalStorage.clear()})()}clearTokensAndKeysWithClaims(O){var z=this;return(0,n.c)(function*(){O.addQueueMeasurement(l.Xv.ClearTokensAndKeysWithClaims);const F=z.getTokenKeys(),q=[];F.accessToken.forEach(X=>{const ce=z.getAccessTokenCredential(X);ce?.requestedClaimsHash&&X.includes(ce.requestedClaimsHash.toLowerCase())&&q.push(z.removeAccessToken(X))}),yield Promise.all(q),q.length>0&&z.logger.warning(`${q.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(O,z,F){let q=`${encodeURIComponent(O)}=${encodeURIComponent(z)};path=/;SameSite=Lax;`;F&&(q+=`expires=${this.getCookieExpirationTime(F)};`),this.cacheConfig.secureCookies&&(q+="Secure;"),document.cookie=q}getItemCookie(O){const z=`${encodeURIComponent(O)}=`,F=document.cookie.split(";");for(let q=0;q{for(;" "===F.charAt(0);)F=F.substring(1);if(0===F.indexOf(O)){const q=F.split("=")[0];this.clearItemCookie(q)}})}clearItemCookie(O){this.setItemCookie(O,d.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(O){return new Date((new Date).getTime()+O*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(O){return this.validateAndParseJson(O)?JSON.stringify(O):g.e.startsWith(O,d.Mv.CACHE_PREFIX)||g.e.startsWith(O,d.IH.ADAL_ID_TOKEN)?O:`${d.Mv.CACHE_PREFIX}.${this.clientId}.${O}`}generateAuthorityKey(O){const{libraryState:{id:z}}=b.c.parseRequestState(this.cryptoImpl,O);return this.generateCacheKey(`${C.zH.AUTHORITY}.${z}`)}generateNonceKey(O){const{libraryState:{id:z}}=b.c.parseRequestState(this.cryptoImpl,O);return this.generateCacheKey(`${C.zH.NONCE_IDTOKEN}.${z}`)}generateStateKey(O){const{libraryState:{id:z}}=b.c.parseRequestState(this.cryptoImpl,O);return this.generateCacheKey(`${C.zH.REQUEST_STATE}.${z}`)}getCachedAuthority(O){const z=this.generateStateKey(O),F=this.getTemporaryCache(z);if(!F)return null;const q=this.generateAuthorityKey(F);return this.getTemporaryCache(q)}updateCacheEntries(O,z,F,q,X){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const ce=this.generateStateKey(O);this.setTemporaryCache(ce,O,!1);const K=this.generateNonceKey(O);this.setTemporaryCache(K,z,!1);const ne=this.generateAuthorityKey(O);this.setTemporaryCache(ne,F,!1),X?this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:X.homeAccountId,type:_.s.HOME_ACCOUNT_ID}),!0):q&&this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:q,type:_.s.UPN}),!0)}resetRequestCache(O){this.logger.trace("BrowserCacheManager.resetRequestCache called"),O&&(this.getKeys().forEach(z=>{-1!==z.indexOf(O)&&this.removeItem(z)}),this.removeItem(this.generateStateKey(O)),this.removeItem(this.generateNonceKey(O)),this.removeItem(this.generateAuthorityKey(O))),this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(C.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(C.zH.URL_HASH)),this.removeItem(this.generateCacheKey(C.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(C.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(C.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(O){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),O){const z=this.generateStateKey(O),F=this.temporaryCacheStorage.getItem(z);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${F}`),this.resetRequestCache(F||d.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(O){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(z=>{if(-1===z.indexOf(C.zH.REQUEST_STATE))return;const F=this.temporaryCacheStorage.getItem(z);if(!F)return;const q=(0,E.Q)(this.cryptoImpl,F);q&&q.interactionType===O&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${F}`),this.resetRequestCache(F))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(O){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const z=(0,T.c9)(JSON.stringify(O));this.setTemporaryCache(C.zH.REQUEST_PARAMS,z,!0)}getCachedRequest(O){this.logger.trace("BrowserCacheManager.getCachedRequest called");const z=this.getTemporaryCache(C.zH.REQUEST_PARAMS,!0);if(!z)throw(0,h.Wq)(R.noTokenRequestCacheError);let F;try{F=JSON.parse((0,A.W)(z))}catch(q){throw this.logger.errorPii(`Attempted to parse: ${z}`),this.logger.error(`Parsing cached token request threw with error: ${q}`),(0,h.Wq)(R.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),!F.authority){const q=this.generateAuthorityKey(O),X=this.getTemporaryCache(q);if(!X)throw(0,h.Wq)(R.noCachedAuthorityError);F.authority=X}return F}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const O=this.getTemporaryCache(C.zH.NATIVE_REQUEST,!0);return O?this.validateAndParseJson(O)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(O){const z=this.getInteractionInProgress();return O?z===this.clientId:!!z}getInteractionInProgress(){return this.getTemporaryCache(`${d.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(O){const z=`${d.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`;if(O){if(this.getInteractionInProgress())throw(0,h.Wq)(R.interactionInProgress);this.setTemporaryCache(z,this.clientId,!1)}else!O&&this.getInteractionInProgress()===this.clientId&&this.removeItem(z)}getLegacyLoginHint(){const O=this.getTemporaryCache(d.IH.ADAL_ID_TOKEN);O&&(this.browserStorage.removeItem(d.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const z=this.getTemporaryCache(d.IH.ID_TOKEN,!0);z&&(this.removeItem(this.generateCacheKey(d.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const F=z||O;if(F){const q=S.aw(F,A.W);if(q.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),q.preferred_username;if(q.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),q.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(O,z){const F=u.AZ(z);if(O!==F){const q=this.getItem(O);if(q)return this.removeItem(O),this.setItem(F,q),this.logger.verbose(`Updated an outdated ${z.credentialType} cache key`),F;this.logger.error(`Attempted to update an outdated ${z.credentialType} cache key but no item matching the outdated key was found in storage`)}return O}getRedirectRequestContext(){return this.getTemporaryCache(C.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(O){this.setTemporaryCache(C.zH.REDIRECT_CONTEXT,O,!0)}hydrateCache(O,z){var F=this;return(0,n.c)(function*(){const q=u.YF(O.account?.homeAccountId,O.account?.environment,O.idToken,F.clientId,O.tenantId);let X;z.claims&&(X=yield F.cryptoImpl.hashString(z.claims));const ce=u.MJ(O.account?.homeAccountId,O.account.environment,O.accessToken,F.clientId,O.tenantId,O.scopes.join(" "),O.expiresOn?.getTime()||0,O.extExpiresOn?.getTime()||0,A.W,void 0,O.tokenType,void 0,z.sshKid,z.claims,X),K=new y.O(void 0,q,ce);return F.saveCacheRecord(K)})()}}const I=(L,O)=>new N(L,{cacheLocation:C.Ir.MemoryStorage,temporaryCacheLocation:C.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},m.K,O)},71720:(ve,f,o)=>{"use strict";o.d(f,{K:()=>u});var n=o(72592),i=o(26956),d=o(85288);class u{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==i.Ir.LocalStorage&&e!==i.Ir.SessionStorage||!window[e])throw(0,n.cf)(d.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,c){this.windowStorage.setItem(e,c)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(ve,f,o)=>{"use strict";o.d(f,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(d){return this.cache.get(d)||null}setItem(d,u){this.cache.set(d,u)}removeItem(d){this.cache.delete(d)}getKeys(){const d=[];return this.cache.forEach((u,a)=>{d.push(a)}),d}containsKey(d){return this.cache.has(d)}clear(){this.cache.clear()}}},48124:(ve,f,o)=>{"use strict";o.d(f,{Ks:()=>E,k5:()=>R});var n=o(34739),i=o(65072),d=o(67952),u=o(73364),a=o(80660),e=o(28876),c=o(71408);const l={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(c.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(c.methodNotImplemented))};var g=o(35128),b=o(59684),_=o(32336),S=o(26956),y=o(64952),m=o(1528),h=o(4792),C=o(32828);class v{sendGetRequestAsync(I,L){var O=this;return(0,m.c)(function*(){let z;try{z=yield fetch(I,{method:S.yI.GET,headers:O.getFetchHeaders(L)})}catch{throw window.navigator.onLine?(0,h.Wq)(C.getRequestFailed):(0,h.Wq)(C.noNetworkConnectivity)}try{return{headers:O.getHeaderDict(z.headers),body:yield z.json(),status:z.status}}catch{throw(0,h.Wq)(C.failedToParseResponse)}})()}sendPostRequestAsync(I,L){var O=this;return(0,m.c)(function*(){const z=L&&L.body||n.Mv.EMPTY_STRING;let F;try{F=yield fetch(I,{method:S.yI.POST,headers:O.getFetchHeaders(L),body:z})}catch{throw window.navigator.onLine?(0,h.Wq)(C.postRequestFailed):(0,h.Wq)(C.noNetworkConnectivity)}try{return{headers:O.getHeaderDict(F.headers),body:yield F.json(),status:F.status}}catch{throw(0,h.Wq)(C.failedToParseResponse)}})()}getFetchHeaders(I){const L=new Headers;if(!I||!I.headers)return L;const O=I.headers;return Object.keys(O).forEach(z=>{L.append(z,O[z])}),L}getHeaderDict(I){const L={};return I.forEach((O,z)=>{L[z]=O}),L}}const M=6e4,E=1e4,A=3e4,T=2e3;function R({auth:N,cache:I,system:L,telemetry:O},z){const F={clientId:n.Mv.EMPTY_STRING,authority:`${n.Mv.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:n.Mv.EMPTY_STRING,authorityMetadata:n.Mv.EMPTY_STRING,redirectUri:n.Mv.EMPTY_STRING,postLogoutRedirectUri:n.Mv.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:i.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:d.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},q={cacheLocation:S.Ir.SessionStorage,temporaryCacheLocation:S.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!I||I.cacheLocation!==S.Ir.LocalStorage),claimsBasedCachingEnabled:!1},X={loggerCallback:()=>{},logLevel:u.G.Info,piiLoggingEnabled:!1},K={...{...a.k5,loggerOptions:X,networkClient:z?new v:l,navigationClient:new y.m,loadFrameTimeout:0,windowHashTimeout:L?.loadFrameTimeout||M,iframeHashTimeout:L?.loadFrameTimeout||E,navigateFrameWait:0,redirectNavigationTimeout:A,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:L?.nativeBrokerHandshakeTimeout||T,pollIntervalMilliseconds:S.ig.DEFAULT_POLL_INTERVAL_MS},...L,loggerOptions:L?.loggerOptions||X},ne={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new g._};if(N?.protocolMode!==i.g.OIDC&&N?.OIDCOptions&&new u.Y(K.loggerOptions).warning(JSON.stringify((0,b.QN)(_.cannotSetOIDCOptions))),N?.protocolMode&&N.protocolMode!==i.g.AAD&&K?.allowNativeBroker)throw(0,b.QN)(_.cannotAllowNativeBroker);return{auth:{...F,...N,OIDCOptions:{...F.OIDCOptions,...N?.OIDCOptions}},cache:{...q,...I},system:K,telemetry:{...ne,...O}}}},65304:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{StandardController:()=>Yn});var n=o(1528),i=o(7184),d=o(65172),u=o(25988),e=o(67648),c=o(28876),l=o(34739),g=o(74968),b=o(59684),_=o(65072),S=o(67952),h=o(85348),C=o(14035);let v=(()=>{class un{constructor(V,ue,Ne,Ie){this.networkInterface=V,this.logger=ue,this.performanceClient=Ne,this.correlationId=Ie}detectRegion(V,ue){var Ne=this;return(0,n.c)(function*(){Ne.performanceClient?.addQueueMeasurement(h.Xv.RegionDiscoveryDetectRegion,Ne.correlationId);let Ie=V;if(Ie)ue.region_source=l.Q$.ENVIRONMENT_VARIABLE;else{const me=un.IMDS_OPTIONS;try{const Te=yield(0,C.C)(Ne.getRegionFromIMDS.bind(Ne),h.Xv.RegionDiscoveryGetRegionFromIMDS,Ne.logger,Ne.performanceClient,Ne.correlationId)(l.Mv.IMDS_VERSION,me);if(Te.status===l.sL.httpSuccess&&(Ie=Te.body,ue.region_source=l.Q$.IMDS),Te.status===l.sL.httpBadRequest){const et=yield(0,C.C)(Ne.getCurrentVersion.bind(Ne),h.Xv.RegionDiscoveryGetCurrentVersion,Ne.logger,Ne.performanceClient,Ne.correlationId)(me);if(!et)return ue.region_source=l.Q$.FAILED_AUTO_DETECTION,null;const _t=yield(0,C.C)(Ne.getRegionFromIMDS.bind(Ne),h.Xv.RegionDiscoveryGetRegionFromIMDS,Ne.logger,Ne.performanceClient,Ne.correlationId)(et,me);_t.status===l.sL.httpSuccess&&(Ie=_t.body,ue.region_source=l.Q$.IMDS)}}catch{return ue.region_source=l.Q$.FAILED_AUTO_DETECTION,null}}return Ie||(ue.region_source=l.Q$.FAILED_AUTO_DETECTION),Ie||null})()}getRegionFromIMDS(V,ue){var Ne=this;return(0,n.c)(function*(){return Ne.performanceClient?.addQueueMeasurement(h.Xv.RegionDiscoveryGetRegionFromIMDS,Ne.correlationId),Ne.networkInterface.sendGetRequestAsync(`${l.Mv.IMDS_ENDPOINT}?api-version=${V}&format=text`,ue,l.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(V){var ue=this;return(0,n.c)(function*(){ue.performanceClient?.addQueueMeasurement(h.Xv.RegionDiscoveryGetCurrentVersion,ue.correlationId);try{const Ne=yield ue.networkInterface.sendGetRequestAsync(`${l.Mv.IMDS_ENDPOINT}?format=json`,V);return Ne.status===l.sL.httpBadRequest&&Ne.body&&Ne.body["newest-versions"]&&Ne.body["newest-versions"].length>0?Ne.body["newest-versions"][0]:null}catch{return null}})()}}return un.IMDS_OPTIONS={headers:{Metadata:"true"}},un})();var M=o(66936),E=o(72584),A=o(71408),T=o(32336);class R{constructor(B,V,ue,Ne,Ie,me,Te){this.canonicalAuthority=B,this._canonicalAuthority.validateAsUri(),this.networkInterface=V,this.cacheManager=ue,this.authorityOptions=Ne,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=Ie,this.performanceClient=Te,this.correlationId=me,this.regionDiscovery=new v(V,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(B){if(B.HostNameAndPort.endsWith(l.Mv.CIAM_AUTH_URL))return u.O.Ciam;const V=B.PathSegments;if(V.length)switch(V[0].toLowerCase()){case l.Mv.ADFS:return u.O.Adfs;case l.Mv.DSTS:return u.O.Dsts}return u.O.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(B){this._canonicalAuthority=new e._(B),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw(0,c.mQ)(A.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,c.mQ)(A.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,c.mQ)(A.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,c.mQ)(A.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,c.mQ)(A.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,c.mQ)(A.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,c.mQ)(A.endpointResolutionError)}canReplaceTenant(B){return 1===B.PathSegments.length&&!R.reservedTenantDomains.has(B.PathSegments[0])&&this.getAuthorityType(B)===u.O.Default&&this.protocolMode===_.g.AAD}replaceTenant(B){return B.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(B){let V=B;const Ne=new e._(this.metadata.canonical_authority).getUrlComponents(),Ie=Ne.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((Te,et)=>{let _t=Ie[et];if(0===et&&this.canReplaceTenant(Ne)){const At=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];_t!==At&&(this.logger.verbose(`Replacing tenant domain name ${_t} with id ${At}`),_t=At)}Te!==_t&&(V=V.replace(`/${_t}/`,`/${Te}/`))}),this.replaceTenant(V)}get defaultOpenIdConfigurationEndpoint(){const B=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===u.O.Adfs||this.protocolMode!==_.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(B)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var B=this;return(0,n.c)(function*(){B.performanceClient?.addQueueMeasurement(h.Xv.AuthorityResolveEndpointsAsync,B.correlationId);const V=B.getCurrentMetadataEntity(),ue=yield(0,C.C)(B.updateCloudDiscoveryMetadata.bind(B),h.Xv.AuthorityUpdateCloudDiscoveryMetadata,B.logger,B.performanceClient,B.correlationId)(V);B.canonicalAuthority=B.canonicalAuthority.replace(B.hostnameAndPort,V.preferred_network);const Ne=yield(0,C.C)(B.updateEndpointMetadata.bind(B),h.Xv.AuthorityUpdateEndpointMetadata,B.logger,B.performanceClient,B.correlationId)(V);B.updateCachedMetadata(V,ue,{source:Ne}),B.performanceClient?.addFields({cloudDiscoverySource:ue,authorityEndpointSource:Ne},B.correlationId)})()}getCurrentMetadataEntity(){let B=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return B||(B={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:(0,E.gv)(),jwks_uri:""}),B}updateCachedMetadata(B,V,ue){V!==l.cv.CACHE&&ue?.source!==l.cv.CACHE&&(B.expiresAt=(0,E.gv)(),B.canonical_authority=this.canonicalAuthority);const Ne=this.cacheManager.generateAuthorityMetadataCacheKey(B.preferred_cache);this.cacheManager.setAuthorityMetadata(Ne,B),this.metadata=B}updateEndpointMetadata(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.AuthorityUpdateEndpointMetadata,V.correlationId);const ue=V.updateEndpointMetadataFromLocalSources(B);if(ue){if(ue.source===l.cv.HARDCODED_VALUES&&V.authorityOptions.azureRegionConfiguration?.azureRegion&&ue.metadata){const Ie=yield(0,C.C)(V.updateMetadataWithRegionalInformation.bind(V),h.Xv.AuthorityUpdateMetadataWithRegionalInformation,V.logger,V.performanceClient,V.correlationId)(ue.metadata);(0,E.sH)(B,Ie,!1),B.canonical_authority=V.canonicalAuthority}return ue.source}let Ne=yield(0,C.C)(V.getEndpointMetadataFromNetwork.bind(V),h.Xv.AuthorityGetEndpointMetadataFromNetwork,V.logger,V.performanceClient,V.correlationId)();if(Ne)return V.authorityOptions.azureRegionConfiguration?.azureRegion&&(Ne=yield(0,C.C)(V.updateMetadataWithRegionalInformation.bind(V),h.Xv.AuthorityUpdateMetadataWithRegionalInformation,V.logger,V.performanceClient,V.correlationId)(Ne)),(0,E.sH)(B,Ne,!0),l.cv.NETWORK;throw(0,c.mQ)(A.openIdConfigError,V.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(B){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const V=this.getEndpointMetadataFromConfig();if(V)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,E.sH)(B,V,!1),{source:l.cv.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const Ne=this.getEndpointMetadataFromHardcodedValues();if(Ne)return(0,E.sH)(B,Ne,!1),{source:l.cv.HARDCODED_VALUES,metadata:Ne};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const ue=(0,E.mk)(B);return this.isAuthoritySameType(B)&&B.endpointsFromNetwork&&!ue?(this.logger.verbose("Found endpoint metadata in the cache."),{source:l.cv.CACHE}):(ue&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(B){return new e._(B.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,b.QN)(T.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var B=this;return(0,n.c)(function*(){B.performanceClient?.addQueueMeasurement(h.Xv.AuthorityGetEndpointMetadataFromNetwork,B.correlationId);const V={},ue=B.defaultOpenIdConfigurationEndpoint;B.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${ue}`);try{const Ne=yield B.networkInterface.sendGetRequestAsync(ue,V);return function a(un){return un.hasOwnProperty("authorization_endpoint")&&un.hasOwnProperty("token_endpoint")&&un.hasOwnProperty("issuer")&&un.hasOwnProperty("jwks_uri")}(Ne.body)?Ne.body:(B.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(Ne){return B.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${Ne}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in g.gB?g.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.AuthorityUpdateMetadataWithRegionalInformation,V.correlationId);const ue=V.authorityOptions.azureRegionConfiguration?.azureRegion;if(ue){if(ue!==l.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return V.regionDiscoveryMetadata.region_outcome=l.wR.CONFIGURED_NO_AUTO_DETECTION,V.regionDiscoveryMetadata.region_used=ue,R.replaceWithRegionalInformation(B,ue);const Ne=yield(0,C.C)(V.regionDiscovery.detectRegion.bind(V.regionDiscovery),h.Xv.RegionDiscoveryDetectRegion,V.logger,V.performanceClient,V.correlationId)(V.authorityOptions.azureRegionConfiguration?.environmentRegion,V.regionDiscoveryMetadata);if(Ne)return V.regionDiscoveryMetadata.region_outcome=l.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,V.regionDiscoveryMetadata.region_used=Ne,R.replaceWithRegionalInformation(B,Ne);V.regionDiscoveryMetadata.region_outcome=l.wR.AUTO_DETECTION_REQUESTED_FAILED}return B})()}updateCloudDiscoveryMetadata(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.AuthorityUpdateCloudDiscoveryMetadata,V.correlationId);const ue=V.updateCloudDiscoveryMetadataFromLocalSources(B);if(ue)return ue;const Ne=yield(0,C.C)(V.getCloudDiscoveryMetadataFromNetwork.bind(V),h.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,V.logger,V.performanceClient,V.correlationId)();if(Ne)return(0,E.cb)(B,Ne,!0),l.cv.NETWORK;throw(0,b.QN)(T.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(B){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||l.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||l.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${B.canonical_authority||l.Mv.NOT_APPLICABLE}`);const V=this.getCloudDiscoveryMetadataFromConfig();if(V)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,E.cb)(B,V,!1),l.cv.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const Ne=(0,g.UD)(this.hostnameAndPort);if(Ne)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,E.cb)(B,Ne,!1),l.cv.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}const ue=(0,E.mk)(B);return this.isAuthoritySameType(B)&&B.aliasesFromNetwork&&!ue?(this.logger.verbose("Found cloud discovery metadata in the cache."),l.cv.CACHE):(ue&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===u.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),R.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const B=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),V=(0,g._8)(B.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),V)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),V;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),(0,b.QN)(T.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),R.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var B=this;return(0,n.c)(function*(){B.performanceClient?.addQueueMeasurement(h.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,B.correlationId);const V=`${l.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${B.canonicalAuthority}oauth2/v2.0/authorize`,ue={};let Ne=null;try{const Ie=yield B.networkInterface.sendGetRequestAsync(V,ue);let me,Te;if(function y(un){return un.hasOwnProperty("tenant_discovery_endpoint")&&un.hasOwnProperty("metadata")}(Ie.body))me=Ie.body,Te=me.metadata,B.logger.verbosePii(`tenant_discovery_endpoint is: ${me.tenant_discovery_endpoint}`);else{if(!function m(un){return un.hasOwnProperty("error")&&un.hasOwnProperty("error_description")}(Ie.body))return B.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(B.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${Ie.status}`),me=Ie.body,me.error===l.Mv.INVALID_INSTANCE)return B.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;B.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${me.error}`),B.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${me.error_description}`),B.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),Te=[]}B.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),Ne=(0,g._8)(Te,B.hostnameAndPort)}catch(Ie){return B.logger.error(Ie instanceof M.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${Ie.errorCode}\nError Description: ${Ie.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${Ie.name}\nError Description: ${Ie.message}`),null}return Ne||(B.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),B.logger.verbose("Creating custom Authority for custom domain scenario."),Ne=R.createCloudDiscoveryMetadataFromHost(B.hostnameAndPort)),Ne})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(V=>V&&e._.getDomainFromUrl(V).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(B,V){let ue;return V&&V.azureCloudInstance!==S.C.None&&(ue=`${V.azureCloudInstance}/${V.tenant?V.tenant:l.Mv.DEFAULT_COMMON_TENANT}/`),ue||B}static createCloudDiscoveryMetadataFromHost(B){return{preferred_network:B,preferred_cache:B,aliases:[B]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,c.mQ)(A.endpointResolutionError)}isAlias(B){return this.metadata.aliases.indexOf(B)>-1}isAliasOfKnownMicrosoftAuthority(B){return g.IP.has(B)}static isPublicCloudAuthority(B){return l.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(B)>=0}static buildRegionalAuthorityString(B,V,ue){const Ne=new e._(B);Ne.validateAsUri();const Ie=Ne.getUrlComponents();let me=`${V}.${Ie.HostNameAndPort}`;this.isPublicCloudAuthority(Ie.HostNameAndPort)&&(me=`${V}.${l.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const Te=e._.constructAuthorityUriFromObject({...Ne.getUrlComponents(),HostNameAndPort:me}).urlString;return ue?`${Te}?${ue}`:Te}static replaceWithRegionalInformation(B,V){const ue={...B};return ue.authorization_endpoint=R.buildRegionalAuthorityString(ue.authorization_endpoint,V),ue.token_endpoint=R.buildRegionalAuthorityString(ue.token_endpoint,V),ue.end_session_endpoint&&(ue.end_session_endpoint=R.buildRegionalAuthorityString(ue.end_session_endpoint,V)),ue}static transformCIAMAuthority(B){let V=B;const Ne=new e._(B).getUrlComponents();return 0===Ne.PathSegments.length&&Ne.HostNameAndPort.endsWith(l.Mv.CIAM_AUTH_URL)&&(V=`${V}${Ne.HostNameAndPort.split(".")[0]}${l.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),V}}function I(un){return un.endsWith(l.Mv.FORWARD_SLASH)?un:`${un}${l.Mv.FORWARD_SLASH}`}R.reservedTenantDomains=new Set(["{tenant}","{tenantid}",l.sN.COMMON,l.sN.CONSUMERS,l.sN.ORGANIZATIONS]);var O=o(53408),z=o(98416),F=o(72896),q=o(69812),X=o(26956),ce=o(84644),K=o(28612),ne=o(72592),Y=o(85968),H=o(76944);class ae{static generateThrottlingStorageKey(B){return`${l.gr.THROTTLING_PREFIX}.${JSON.stringify(B)}`}static preProcess(B,V){const ue=ae.generateThrottlingStorageKey(V),Ne=B.getThrottlingCache(ue);if(Ne){if(Ne.throttleTime=500&&B.status<600}static checkResponseForRetryAfter(B){return!!B.headers&&B.headers.hasOwnProperty(l.MF.RETRY_AFTER)&&(B.status<200||B.status>=300)}static calculateThrottleTime(B){const V=B<=0?0:B,ue=Date.now()/1e3;return Math.floor(1e3*Math.min(ue+(V||l.gr.DEFAULT_THROTTLE_TIME_SECONDS),ue+l.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(B,V,ue,Ne){const me=this.generateThrottlingStorageKey({clientId:V,authority:ue.authority,scopes:ue.scopes,homeAccountIdentifier:Ne,claims:ue.claims,authenticationScheme:ue.authenticationScheme,resourceRequestMethod:ue.resourceRequestMethod,resourceRequestUri:ue.resourceRequestUri,shrClaims:ue.shrClaims,sshKid:ue.sshKid});B.removeItem(me)}}var re=o(86144),W=o(80660);class ee{constructor(B,V){this.networkClient=B,this.cacheManager=V}sendPostRequest(B,V,ue){var Ne=this;return(0,n.c)(function*(){let Ie;ae.preProcess(Ne.cacheManager,B);try{Ie=yield Ne.networkClient.sendPostRequestAsync(V,ue)}catch(me){throw me instanceof M.WM?me:(0,c.mQ)(A.networkError)}return ae.postProcess(Ne.cacheManager,B,Ie),Ie})()}}var J=o(73364),G=o(75205),de=o(16256),be=o(22045),Ae=o(33363);function ye(un,B,V,ue,Ne,Ie,me){return le.apply(this,arguments)}function le(){return(le=(0,n.c)(function*(un,B,V,ue,Ne,Ie,me){me?.addQueueMeasurement(h.Xv.AuthorityFactoryCreateDiscoveredInstance,Ie);const Te=R.transformCIAMAuthority(I(un)),et=new R(Te,B,V,ue,Ne,Ie,me);try{return yield(0,C.C)(et.resolveEndpointsAsync.bind(et),h.Xv.AuthorityResolveEndpointsAsync,Ne,me,Ie)(),et}catch{throw(0,c.mQ)(A.endpointResolutionError)}})).apply(this,arguments)}class Me{constructor(B,V){this.config=(0,W.cJ)(B),this.logger=new J.Y(this.config.loggerOptions,G.N,G.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new ee(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=V}createTokenRequestHeaders(B){const V={};if(V[l.MF.CONTENT_TYPE]=l.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&B)switch(B.type){case de.s.HOME_ACCOUNT_ID:try{const ue=(0,be.k)(B.credential);V[l.MF.CCS_HEADER]=`Oid:${ue.uid}@${ue.utid}`}catch(ue){this.logger.verbose("Could not parse home account ID for CCS Header: "+ue)}break;case de.s.UPN:V[l.MF.CCS_HEADER]=`UPN: ${B.credential}`}return V}executePostToTokenEndpoint(B,V,ue,Ne,Ie,me){var Te=this;return(0,n.c)(function*(){me&&Te.performanceClient?.addQueueMeasurement(me,Ie);const et=yield Te.networkManager.sendPostRequest(Ne,B,{body:V,headers:ue});return Te.performanceClient?.addFields({refreshTokenSize:et.body.refresh_token?.length||0,httpVerToken:et.headers?.[l.MF.X_MS_HTTP_VERSION]||""},Ie),Te.config.serverTelemetryManager&&et.status<500&&429!==et.status&&Te.config.serverTelemetryManager.clearTelemetryCache(),et})()}updateAuthority(B,V){var ue=this;return(0,n.c)(function*(){ue.performanceClient?.addQueueMeasurement(h.Xv.UpdateTokenEndpointAuthority,V);const Ne=`https://${B}/${ue.authority.tenant}/`,Ie=yield ye(Ne,ue.networkClient,ue.cacheManager,ue.authority.options,ue.logger,V,ue.performanceClient);ue.authority=Ie})()}createTokenQueryParameters(B){const V=new Ae.I;return B.tokenQueryParameters&&V.addExtraQueryParameters(B.tokenQueryParameters),V.createQueryString()}}var $e=o(91076),qe=o(95248),tt=o(9488),mt=o(46392);class st{constructor(B,V){this.cache=B,this.hasChanged=V}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var ft=o(6400),Qt=o(79032),bt=o(60928);class Vt{constructor(B,V,ue,Ne,Ie,me,Te){this.clientId=B,this.cacheStorage=V,this.cryptoObj=ue,this.logger=Ne,this.serializableCache=Ie,this.persistencePlugin=me,this.performanceClient=Te}validateServerAuthorizationCodeResponse(B,V){if(!B.state||!V)throw(0,c.mQ)(A.stateNotFound,B.state?"Cached State":"Server State");let ue,Ne;try{ue=decodeURIComponent(B.state)}catch{throw(0,c.mQ)(A.invalidState,B.state)}try{Ne=decodeURIComponent(V)}catch{throw(0,c.mQ)(A.invalidState,B.state)}if(ue!==Ne)throw(0,c.mQ)(A.stateMismatch);if(B.error||B.error_description||B.suberror)throw(0,O.aq)(B.error,B.error_description,B.suberror)?new O.uw(B.error||"",B.error_description,B.suberror,B.timestamp||"",B.trace_id||"",B.correlation_id||"",B.claims||""):new H.s(B.error||"",B.error_description,B.suberror)}validateTokenResponse(B,V){if(B.error||B.error_description||B.suberror){const Ne=new H.s(B.error,`${B.error_codes} - [${B.timestamp}]: ${B.error_description} - Correlation ID: ${B.correlation_id} - Trace ID: ${B.trace_id}`,B.suberror);if(V&&B.status&&B.status>=l.Q3.SERVER_ERROR_RANGE_START&&B.status<=l.Q3.SERVER_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n${Ne}`);if(V&&B.status&&B.status>=l.Q3.CLIENT_ERROR_RANGE_START&&B.status<=l.Q3.CLIENT_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n${Ne}`);throw(0,O.aq)(B.error,B.error_description,B.suberror)?new O.uw(B.error,B.error_description,B.suberror,B.timestamp||l.Mv.EMPTY_STRING,B.trace_id||l.Mv.EMPTY_STRING,B.correlation_id||l.Mv.EMPTY_STRING,B.claims||l.Mv.EMPTY_STRING):Ne}}handleServerTokenResponse(B,V,ue,Ne,Ie,me,Te,et,_t){var At=this;return(0,n.c)(function*(){let Nt,Jt;if(At.performanceClient?.addQueueMeasurement(h.Xv.HandleServerTokenResponse,B.correlation_id),B.id_token){if(Nt=(0,ft.aw)(B.id_token||l.Mv.EMPTY_STRING,At.cryptoObj.base64Decode),Ie&&Ie.nonce&&Nt.nonce!==Ie.nonce)throw(0,c.mQ)(A.nonceMismatch);if(Ne.maxAge||0===Ne.maxAge){const yn=Nt.auth_time;if(!yn)throw(0,c.mQ)(A.authTimeNotFound);(0,ft.UH)(yn,Ne.maxAge)}}At.homeAccountIdentifier=z.M.generateHomeAccountId(B.client_info||l.Mv.EMPTY_STRING,V.authorityType,At.logger,At.cryptoObj,Nt),Ie&&Ie.state&&(Jt=re.c.parseRequestState(At.cryptoObj,Ie.state)),B.key_id=B.key_id||Ne.sshKid||void 0;const mn=At.generateCacheRecord(B,V,ue,Ne,Nt,me,Ie);let _n;try{if(At.persistencePlugin&&At.serializableCache&&(At.logger.verbose("Persistence enabled, calling beforeCacheAccess"),_n=new st(At.serializableCache,!0),yield At.persistencePlugin.beforeCacheAccess(_n)),Te&&!et&&mn.account){const yn=mn.account.generateAccountKey();if(!At.cacheStorage.getAccount(yn,At.logger))return At.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Vt.generateAuthenticationResult(At.cryptoObj,V,mn,!1,Ne,Nt,Jt,void 0,_t)}yield At.cacheStorage.saveCacheRecord(mn,Ne.storeInCache)}finally{At.persistencePlugin&&At.serializableCache&&_n&&(At.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield At.persistencePlugin.afterCacheAccess(_n))}return Vt.generateAuthenticationResult(At.cryptoObj,V,mn,!1,Ne,Nt,Jt,B,_t)})()}generateCacheRecord(B,V,ue,Ne,Ie,me,Te){const et=V.getPreferredCache();if(!et)throw(0,c.mQ)(A.invalidCacheEnvironment);const _t=(0,Qt.c)(Ie);let At,Nt;B.id_token&&Ie&&(At=(0,E.YF)(this.homeAccountIdentifier,et,B.id_token,this.clientId,_t||""),Nt=sn(this.cacheStorage,V,this.homeAccountIdentifier,Ie,this.cryptoObj.base64Decode,B.client_info,et,_t,Te,void 0,this.logger));let Jt=null;if(B.access_token){const yn=B.scope?qe.k.fromString(B.scope):new qe.k(Ne.scopes||[]),gn=("string"==typeof B.expires_in?parseInt(B.expires_in,10):B.expires_in)||0,Gt=("string"==typeof B.ext_expires_in?parseInt(B.ext_expires_in,10):B.ext_expires_in)||0,Nn=("string"==typeof B.refresh_in?parseInt(B.refresh_in,10):B.refresh_in)||void 0,cr=ue+gn,rr=cr+Gt,Ur=Nn&&Nn>0?ue+Nn:void 0;Jt=(0,E.MJ)(this.homeAccountIdentifier,et,B.access_token,this.clientId,_t||V.tenant||"",yn.printScopes(),cr,rr,this.cryptoObj.base64Decode,Ur,B.token_type,me,B.key_id,Ne.claims,Ne.requestedClaimsHash)}let mn=null;if(B.refresh_token){let yn;B.refresh_token_expires_in&&(yn=ue+("string"==typeof B.refresh_token_expires_in?parseInt(B.refresh_token_expires_in,10):B.refresh_token_expires_in)),mn=(0,E._c)(this.homeAccountIdentifier,et,B.refresh_token,this.clientId,B.foci,me,yn)}let _n=null;return B.foci&&(_n={clientId:this.clientId,environment:et,familyId:B.foci}),new tt.O(Nt,At,Jt,mn,_n)}static generateAuthenticationResult(B,V,ue,Ne,Ie,me,Te,et,_t){return(0,n.c)(function*(){let mn,_n,At=l.Mv.EMPTY_STRING,Nt=[],Jt=null,yn=l.Mv.EMPTY_STRING;if(ue.accessToken){if(ue.accessToken.tokenType===l.me.POP){const cr=new mt.w(B),{secret:rr,keyId:Ur}=ue.accessToken;if(!Ur)throw(0,c.mQ)(A.keyIdMissing);At=yield cr.signPopToken(rr,Ur,Ie)}else At=ue.accessToken.secret;Nt=qe.k.fromString(ue.accessToken.target).asArray(),Jt=new Date(1e3*Number(ue.accessToken.expiresOn)),mn=new Date(1e3*Number(ue.accessToken.extendedExpiresOn)),ue.accessToken.refreshOn&&(_n=new Date(1e3*Number(ue.accessToken.refreshOn)))}ue.appMetadata&&(yn=ue.appMetadata.familyId===l.wj?l.wj:"");const gn=me?.oid||me?.sub||"",Gt=me?.tid||"";et?.spa_accountid&&ue.account&&(ue.account.nativeAccountId=et?.spa_accountid);const Nn=ue.account?(0,bt.Ho)(ue.account.getAccountInfo(),void 0,me,ue.idToken?.secret):null;return{authority:V.canonicalAuthority,uniqueId:gn,tenantId:Gt,scopes:Nt,account:Nn,idToken:ue?.idToken?.secret||"",idTokenClaims:me||{},accessToken:At,fromCache:Ne,expiresOn:Jt,extExpiresOn:mn,refreshOn:_n,correlationId:Ie.correlationId,requestId:_t||l.Mv.EMPTY_STRING,familyId:yn,tokenType:ue.accessToken?.tokenType||l.Mv.EMPTY_STRING,state:Te?Te.userRequestState:l.Mv.EMPTY_STRING,cloudGraphHostName:ue.account?.cloudGraphHostName||l.Mv.EMPTY_STRING,msGraphHost:ue.account?.msGraphHost||l.Mv.EMPTY_STRING,code:et?.spa_code,fromNativeBroker:!1}})()}}function sn(un,B,V,ue,Ne,Ie,me,Te,et,_t,At){At?.verbose("setCachedAccount called");const Jt=un.getAccountKeys().find(gn=>gn.startsWith(V));let mn=null;Jt&&(mn=un.getAccount(Jt,At));const _n=mn||z.M.createAccount({homeAccountId:V,idTokenClaims:ue,clientInfo:Ie,environment:me,cloudGraphHostName:et?.cloud_graph_host_name,msGraphHost:et?.msgraph_host,nativeAccountId:_t},B,Ne),yn=_n.tenantProfiles||[];if(Te&&!yn.find(gn=>gn.tenantId===Te)){const gn=(0,bt.EJ)(V,ue);yn.push(gn)}return _n.tenantProfiles=yn,_n}var dn=o(7828),wn=o(50160),An=o(77768);class vn extends Me{constructor(B,V){super(B,V),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.GetAuthCodeUrl,B.correlationId);const ue=yield(0,C.C)(V.createAuthCodeUrlQueryString.bind(V),h.Xv.AuthClientCreateQueryString,V.logger,V.performanceClient,B.correlationId)(B);return e._.appendQueryString(V.authority.authorizationEndpoint,ue)})()}acquireToken(B,V){var ue=this;return(0,n.c)(function*(){if(ue.performanceClient?.addQueueMeasurement(h.Xv.AuthClientAcquireToken,B.correlationId),!B.code)throw(0,c.mQ)(A.requestCannotBeMade);const Ne=(0,wn.GO)(),Ie=yield(0,C.C)(ue.executeTokenRequest.bind(ue),h.Xv.AuthClientExecuteTokenRequest,ue.logger,ue.performanceClient,B.correlationId)(ue.authority,B),me=Ie.headers?.[l.MF.X_MS_REQUEST_ID],Te=new Vt(ue.config.authOptions.clientId,ue.cacheManager,ue.cryptoUtils,ue.logger,ue.config.serializableCache,ue.config.persistencePlugin,ue.performanceClient);return Te.validateTokenResponse(Ie.body),(0,C.C)(Te.handleServerTokenResponse.bind(Te),h.Xv.HandleServerTokenResponse,ue.logger,ue.performanceClient,B.correlationId)(Ie.body,ue.authority,Ne,B,V,void 0,void 0,void 0,me)})()}handleFragmentResponse(B,V){if(new Vt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(B,V),!B.code)throw(0,c.mQ)(A.authorizationCodeMissingFromServerResponse);return B}getLogoutUri(B){if(!B)throw(0,b.QN)(T.logoutRequestEmpty);const V=this.createLogoutUrlQueryString(B);return e._.appendQueryString(this.authority.endSessionEndpoint,V)}executeTokenRequest(B,V){var ue=this;return(0,n.c)(function*(){ue.performanceClient?.addQueueMeasurement(h.Xv.AuthClientExecuteTokenRequest,V.correlationId);const Ne=ue.createTokenQueryParameters(V),Ie=e._.appendQueryString(B.tokenEndpoint,Ne),me=yield(0,C.C)(ue.createTokenRequestBody.bind(ue),h.Xv.AuthClientCreateTokenRequestBody,ue.logger,ue.performanceClient,V.correlationId)(V);let Te;if(V.clientInfo)try{const At=(0,be.G)(V.clientInfo,ue.cryptoUtils.base64Decode);Te={credential:`${At.uid}${l.Mj.CLIENT_INFO_SEPARATOR}${At.utid}`,type:de.s.HOME_ACCOUNT_ID}}catch(At){ue.logger.verbose("Could not parse client info for CCS Header: "+At)}const et=ue.createTokenRequestHeaders(Te||V.ccsCredential),_t={clientId:V.tokenBodyParameters?.clientId||ue.config.authOptions.clientId,authority:B.canonicalAuthority,scopes:V.scopes,claims:V.claims,authenticationScheme:V.authenticationScheme,resourceRequestMethod:V.resourceRequestMethod,resourceRequestUri:V.resourceRequestUri,shrClaims:V.shrClaims,sshKid:V.sshKid};return(0,C.C)(ue.executePostToTokenEndpoint.bind(ue),h.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,ue.logger,ue.performanceClient,V.correlationId)(Ie,me,et,_t,V.correlationId,h.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.AuthClientCreateTokenRequestBody,B.correlationId);const ue=new Ae.I;if(ue.addClientId(B.tokenBodyParameters?.[$e._k]||V.config.authOptions.clientId),V.includeRedirectUri?ue.addRedirectUri(B.redirectUri):An.e.validateRedirectUri(B.redirectUri),ue.addScopes(B.scopes,!0,V.oidcDefaultScopes),ue.addAuthorizationCode(B.code),ue.addLibraryInfo(V.config.libraryInfo),ue.addApplicationTelemetry(V.config.telemetry.application),ue.addThrottling(),V.serverTelemetryManager&&!(0,W.qW)(V.config)&&ue.addServerTelemetry(V.serverTelemetryManager),B.codeVerifier&&ue.addCodeVerifier(B.codeVerifier),V.config.clientCredentials.clientSecret&&ue.addClientSecret(V.config.clientCredentials.clientSecret),V.config.clientCredentials.clientAssertion){const me=V.config.clientCredentials.clientAssertion;ue.addClientAssertion(me.assertion),ue.addClientAssertionType(me.assertionType)}if(ue.addGrantType(l.Ku.AUTHORIZATION_CODE_GRANT),ue.addClientInfo(),B.authenticationScheme===l.me.POP){const me=new mt.w(V.cryptoUtils,V.performanceClient),Te=yield(0,C.C)(me.generateCnf.bind(me),h.Xv.PopTokenGenerateCnf,V.logger,V.performanceClient,B.correlationId)(B,V.logger);ue.addPopToken(Te.reqCnfString)}else if(B.authenticationScheme===l.me.SSH){if(!B.sshJwk)throw(0,b.QN)(T.missingSshJwk);ue.addSshJwk(B.sshJwk)}const Ne=B.correlationId||V.config.cryptoInterface.createNewGuid();let Ie;if(ue.addCorrelationId(Ne),(!dn.e.isEmptyObj(B.claims)||V.config.authOptions.clientCapabilities&&V.config.authOptions.clientCapabilities.length>0)&&ue.addClaims(B.claims,V.config.authOptions.clientCapabilities),B.clientInfo)try{const me=(0,be.G)(B.clientInfo,V.cryptoUtils.base64Decode);Ie={credential:`${me.uid}${l.Mj.CLIENT_INFO_SEPARATOR}${me.utid}`,type:de.s.HOME_ACCOUNT_ID}}catch(me){V.logger.verbose("Could not parse client info for CCS Header: "+me)}else Ie=B.ccsCredential;if(V.config.systemOptions.preventCorsPreflight&&Ie)switch(Ie.type){case de.s.HOME_ACCOUNT_ID:try{const me=(0,be.k)(Ie.credential);ue.addCcsOid(me)}catch(me){V.logger.verbose("Could not parse home account ID for CCS Header: "+me)}break;case de.s.UPN:ue.addCcsUpn(Ie.credential)}return B.tokenBodyParameters&&ue.addExtraQueryParameters(B.tokenBodyParameters),B.enableSpaAuthorizationCode&&(!B.tokenBodyParameters||!B.tokenBodyParameters[$e.SS])&&ue.addExtraQueryParameters({[$e.SS]:"1"}),ue.createQueryString()})()}createAuthCodeUrlQueryString(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.AuthClientCreateQueryString,B.correlationId);const ue=new Ae.I;ue.addClientId(B.extraQueryParameters?.[$e._k]||V.config.authOptions.clientId);const Ne=[...B.scopes||[],...B.extraScopesToConsent||[]];ue.addScopes(Ne,!0,V.oidcDefaultScopes),ue.addRedirectUri(B.redirectUri);const Ie=B.correlationId||V.config.cryptoInterface.createNewGuid();if(ue.addCorrelationId(Ie),ue.addResponseMode(B.responseMode),ue.addResponseTypeCode(),ue.addLibraryInfo(V.config.libraryInfo),(0,W.qW)(V.config)||ue.addApplicationTelemetry(V.config.telemetry.application),ue.addClientInfo(),B.codeChallenge&&B.codeChallengeMethod&&ue.addCodeChallengeParams(B.codeChallenge,B.codeChallengeMethod),B.prompt&&ue.addPrompt(B.prompt),B.domainHint&&ue.addDomainHint(B.domainHint),B.prompt!==l.GI.SELECT_ACCOUNT)if(B.sid&&B.prompt===l.GI.NONE)V.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),ue.addSid(B.sid);else if(B.account){const me=V.extractAccountSid(B.account),Te=V.extractLoginHint(B.account);if(Te){V.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),ue.addLoginHint(Te);try{const et=(0,be.k)(B.account.homeAccountId);ue.addCcsOid(et)}catch{V.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(me&&B.prompt===l.GI.NONE){V.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),ue.addSid(me);try{const et=(0,be.k)(B.account.homeAccountId);ue.addCcsOid(et)}catch{V.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(B.loginHint)V.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),ue.addLoginHint(B.loginHint),ue.addCcsUpn(B.loginHint);else if(B.account.username){V.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),ue.addLoginHint(B.account.username);try{const et=(0,be.k)(B.account.homeAccountId);ue.addCcsOid(et)}catch{V.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else B.loginHint&&(V.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),ue.addLoginHint(B.loginHint),ue.addCcsUpn(B.loginHint));else V.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(B.nonce&&ue.addNonce(B.nonce),B.state&&ue.addState(B.state),(B.claims||V.config.authOptions.clientCapabilities&&V.config.authOptions.clientCapabilities.length>0)&&ue.addClaims(B.claims,V.config.authOptions.clientCapabilities),B.extraQueryParameters&&ue.addExtraQueryParameters(B.extraQueryParameters),B.nativeBroker&&(ue.addNativeBroker(),B.authenticationScheme===l.me.POP)){const me=new mt.w(V.cryptoUtils),Te=yield(0,C.C)(me.generateCnf.bind(me),h.Xv.PopTokenGenerateCnf,V.logger,V.performanceClient,B.correlationId)(B,V.logger);ue.addPopToken(Te.reqCnfHash)}return ue.createQueryString()})()}createLogoutUrlQueryString(B){const V=new Ae.I;return B.postLogoutRedirectUri&&V.addPostLogoutRedirectUri(B.postLogoutRedirectUri),B.correlationId&&V.addCorrelationId(B.correlationId),B.idTokenHint&&V.addIdTokenHint(B.idTokenHint),B.state&&V.addState(B.state),B.logoutHint&&V.addLogoutHint(B.logoutHint),B.extraQueryParameters&&V.addExtraQueryParameters(B.extraQueryParameters),V.createQueryString()}extractAccountSid(B){return B.idTokenClaims?.sid||null}extractLoginHint(B){return B.idTokenClaims?.login_hint||null}}class qt{constructor(B,V){this.cacheOutcome=l.Mf.NOT_APPLICABLE,this.cacheManager=V,this.apiId=B.apiId,this.correlationId=B.correlationId,this.wrapperSKU=B.wrapperSKU||l.Mv.EMPTY_STRING,this.wrapperVer=B.wrapperVer||l.Mv.EMPTY_STRING,this.telemetryCacheKey=l.ic.CACHE_KEY+l.Mj.CACHE_KEY_SEPARATOR+B.clientId}generateCurrentRequestHeaderValue(){const B=`${this.apiId}${l.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,V=[this.wrapperSKU,this.wrapperVer].join(l.ic.VALUE_SEPARATOR),Ne=[B,this.getRegionDiscoveryFields()].join(l.ic.VALUE_SEPARATOR);return[l.ic.SCHEMA_VERSION,Ne,V].join(l.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const B=this.getLastRequests(),V=qt.maxErrorsToSend(B),ue=B.failedRequests.slice(0,2*V).join(l.ic.VALUE_SEPARATOR),Ne=B.errors.slice(0,V).join(l.ic.VALUE_SEPARATOR),Ie=B.errors.length,Te=[Ie,V=l.ic.MAX_CACHED_ERRORS&&(V.failedRequests.shift(),V.failedRequests.shift(),V.errors.shift()),V.failedRequests.push(this.apiId,this.correlationId),B instanceof Error&&B&&B.toString()?V.errors.push(B instanceof M.WM?B.subError?B.subError:B.errorCode?B.errorCode:B.toString():B.toString()):V.errors.push(l.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,V)}incrementCacheHits(){const B=this.getLastRequests();return B.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,B),B.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const B=this.getLastRequests(),V=qt.maxErrorsToSend(B);if(V===B.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const Ne={failedRequests:B.failedRequests.slice(2*V),errors:B.errors.slice(V),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,Ne)}}static maxErrorsToSend(B){let V,ue=0,Ne=0;const Ie=B.errors.length;for(V=0;V0)&&Ne.addClaims(B.claims,V.config.authOptions.clientCapabilities),V.config.systemOptions.preventCorsPreflight&&B.ccsCredential)switch(B.ccsCredential.type){case de.s.HOME_ACCOUNT_ID:try{const Ie=(0,be.k)(B.ccsCredential.credential);Ne.addCcsOid(Ie)}catch(Ie){V.logger.verbose("Could not parse home account ID for CCS Header: "+Ie)}break;case de.s.UPN:Ne.addCcsUpn(B.ccsCredential.credential)}return B.tokenBodyParameters&&Ne.addExtraQueryParameters(B.tokenBodyParameters),Ne.createQueryString()})()}}class yr extends Me{constructor(B,V){super(B,V)}acquireToken(B){var V=this;return(0,n.c)(function*(){try{const[ue,Ne]=yield V.acquireCachedToken(B);return Ne===l.Mf.PROACTIVELY_REFRESHED&&(V.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new ar(V.config,V.performanceClient).acquireTokenByRefreshToken(B).catch(()=>{})),ue}catch(ue){if(ue instanceof c.oJ&&ue.errorCode===A.tokenRefreshRequired)return new ar(V.config,V.performanceClient).acquireTokenByRefreshToken(B);throw ue}})()}acquireCachedToken(B){var V=this;return(0,n.c)(function*(){V.performanceClient?.addQueueMeasurement(h.Xv.SilentFlowClientAcquireCachedToken,B.correlationId);let ue=l.Mf.NOT_APPLICABLE;if(B.forceRefresh||!V.config.cacheOptions.claimsBasedCachingEnabled&&!dn.e.isEmptyObj(B.claims))throw V.setCacheOutcome(l.Mf.FORCE_REFRESH_OR_CLAIMS,B.correlationId),(0,c.mQ)(A.tokenRefreshRequired);if(!B.account)throw(0,c.mQ)(A.noAccountInSilentRequest);const Ne=B.account.tenantId||function N(un){const ue=new e._(un).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(ue){case l.sN.COMMON:case l.sN.ORGANIZATIONS:case l.sN.CONSUMERS:return;default:return ue}}(B.authority),Ie=V.cacheManager.getTokenKeys(),me=V.cacheManager.getAccessToken(B.account,B,Ie,Ne,V.performanceClient,B.correlationId);if(!me)throw V.setCacheOutcome(l.Mf.NO_CACHED_ACCESS_TOKEN,B.correlationId),(0,c.mQ)(A.tokenRefreshRequired);if((0,wn.G4)(me.cachedAt)||(0,wn.WY)(me.expiresOn,V.config.systemOptions.tokenRenewalOffsetSeconds))throw V.setCacheOutcome(l.Mf.CACHED_ACCESS_TOKEN_EXPIRED,B.correlationId),(0,c.mQ)(A.tokenRefreshRequired);me.refreshOn&&(0,wn.WY)(me.refreshOn,0)&&(ue=l.Mf.PROACTIVELY_REFRESHED);const Te=B.authority||V.authority.getPreferredCache(),et={account:V.cacheManager.readAccountFromCache(B.account),accessToken:me,idToken:V.cacheManager.getIdToken(B.account,Ie,Ne,V.performanceClient,B.correlationId),refreshToken:null,appMetadata:V.cacheManager.readAppMetadataFromCache(Te)};return V.setCacheOutcome(ue,B.correlationId),V.config.serverTelemetryManager&&V.config.serverTelemetryManager.incrementCacheHits(),[yield(0,C.C)(V.generateResultFromCacheRecord.bind(V),h.Xv.SilentFlowClientGenerateResultFromCacheRecord,V.logger,V.performanceClient,B.correlationId)(et,B),ue]})()}setCacheOutcome(B,V){this.serverTelemetryManager?.setCacheOutcome(B),this.performanceClient?.addFields({cacheOutcome:B},V),B!==l.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${B}`)}generateResultFromCacheRecord(B,V){var ue=this;return(0,n.c)(function*(){let Ne;if(ue.performanceClient?.addQueueMeasurement(h.Xv.SilentFlowClientGenerateResultFromCacheRecord,V.correlationId),B.idToken&&(Ne=(0,ft.aw)(B.idToken.secret,ue.config.cryptoInterface.base64Decode)),V.maxAge||0===V.maxAge){const Ie=Ne?.auth_time;if(!Ie)throw(0,c.mQ)(A.authTimeNotFound);(0,ft.UH)(Ie,V.maxAge)}return Vt.generateAuthenticationResult(ue.cryptoUtils,ue.authority,B,!0,V,Ne)})()}}class _r extends $t{acquireToken(B){var V=this;return(0,n.c)(function*(){V.performanceClient.addQueueMeasurement(h.Xv.SilentCacheClientAcquireToken,B.correlationId);const ue=V.initializeServerTelemetryManager(X.Ed.acquireTokenSilent_silentFlow),Ne=yield V.createSilentFlowClient(ue,B.authority,B.azureCloudOptions,B.account);V.logger.verbose("Silent auth client created");try{const me=(yield(0,C.C)(Ne.acquireCachedToken.bind(Ne),h.Xv.SilentFlowClientAcquireCachedToken,V.logger,V.performanceClient,B.correlationId)(B))[0];return V.performanceClient.addFields({fromCache:!0},B.correlationId),me}catch(Ie){throw Ie instanceof Pe.G&&Ie.errorCode===Re.cryptoKeyNotFound&&V.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),Ie}})()}logout(B){this.logger.verbose("logoutRedirect called");const V=this.initializeLogoutRequest(B);return this.clearCacheOnLogout(V?.account)}createSilentFlowClient(B,V,ue,Ne){var Ie=this;return(0,n.c)(function*(){const me=yield(0,C.C)(Ie.getClientConfiguration.bind(Ie),h.Xv.StandardInteractionClientGetClientConfiguration,Ie.logger,Ie.performanceClient,Ie.correlationId)(B,V,ue,Ne);return new yr(me,Ie.performanceClient)})()}initializeSilentRequest(B,V){var ue=this;return(0,n.c)(function*(){ue.performanceClient.addQueueMeasurement(h.Xv.InitializeSilentRequest,ue.correlationId);const Ne=yield(0,C.C)(ue.initializeBaseRequest.bind(ue),h.Xv.InitializeBaseRequest,ue.logger,ue.performanceClient,ue.correlationId)(B);return{...B,...Ne,account:V,forceRefresh:B.forceRefresh||!1}})()}}var qn=o(55084);class oi extends De{constructor(B,V,ue,Ne,Ie,me,Te,et,_t,At,Nt,Jt){super(B,V,ue,Ne,Ie,me,et,_t,Jt),this.apiId=Te,this.accountId=At,this.nativeMessageHandler=_t,this.nativeStorageManager=Nt,this.silentCacheClient=new _r(B,this.nativeStorageManager,ue,Ne,Ie,me,et,_t,Jt)}acquireToken(B){var V=this;return(0,n.c)(function*(){V.performanceClient.addQueueMeasurement(h.Xv.NativeInteractionClientAcquireToken,B.correlationId),V.logger.trace("NativeInteractionClient - acquireToken called.");const ue=V.performanceClient.startMeasurement(h.Xv.NativeInteractionClientAcquireToken,B.correlationId),Ne=wn.GO(),Ie=yield V.initializeNativeRequest(B);try{const _t=yield V.acquireTokensFromCache(V.accountId,Ie);return ue.end({success:!0,isNativeBroker:!1,fromCache:!0}),_t}catch{V.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const me={method:X.Ce.GetToken,request:Ie},Te=yield V.nativeMessageHandler.sendMessage(me),et=V.validateNativeResponse(Te);return V.handleNativeResponse(et,Ie,Ne).then(_t=>(ue.end({success:!0,isNativeBroker:!0,requestId:_t.requestId}),_t)).catch(_t=>{throw ue.end({success:!1,errorCode:_t.errorCode,subErrorCode:_t.subError,isNativeBroker:!0}),_t})})()}createSilentCacheRequest(B,V){return{authority:B.authority,correlationId:this.correlationId,scopes:qe.k.fromString(B.scope).asArray(),account:V,forceRefresh:!1}}acquireTokensFromCache(B,V){var ue=this;return(0,n.c)(function*(){if(!B)throw ue.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,c.mQ)(A.noAccountFound);const Ne=ue.browserStorage.getBaseAccountInfo({nativeAccountId:B});if(!Ne)throw(0,c.mQ)(A.noAccountFound);try{const Ie=ue.createSilentCacheRequest(V,Ne),me=yield ue.silentCacheClient.acquireToken(Ie),Te={...Ne,idTokenClaims:me?.idTokenClaims,idToken:me?.idToken};return{...me,account:Te}}catch(Ie){throw Ie}})()}acquireTokenRedirect(B){var V=this;return(0,n.c)(function*(){V.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const ue=yield V.initializeNativeRequest(B),Ne={method:X.Ce.GetToken,request:ue};try{const Te=yield V.nativeMessageHandler.sendMessage(Ne);V.validateNativeResponse(Te)}catch(Te){if(Te instanceof nn&&tr(Te))throw Te}V.browserStorage.setTemporaryCache(X.zH.NATIVE_REQUEST,JSON.stringify(ue),!0);const Ie={apiId:X.Ed.acquireTokenRedirect,timeout:V.config.system.redirectNavigationTimeout,noHistory:!1},me=V.config.auth.navigateToLoginRequestUrl?window.location.href:V.getRedirectUri(B.redirectUri);yield V.navigationClient.navigateExternal(me,Ie)})()}handleRedirectPromise(B,V){var ue=this;return(0,n.c)(function*(){if(ue.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!ue.browserStorage.isInteractionInProgress(!0))return ue.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const Ne=ue.browserStorage.getCachedNativeRequest();if(!Ne)return ue.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),B&&V&&B?.addFields({errorCode:"no_cached_request"},V),null;const{prompt:Ie,...me}=Ne;Ie&&ue.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),ue.browserStorage.removeItem(ue.browserStorage.generateCacheKey(X.zH.NATIVE_REQUEST));const Te={method:X.Ce.GetToken,request:me},et=wn.GO();try{ue.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const _t=yield ue.nativeMessageHandler.sendMessage(Te);ue.validateNativeResponse(_t);const At=ue.handleNativeResponse(_t,me,et);return ue.browserStorage.setInteractionInProgress(!1),yield At}catch(_t){throw ue.browserStorage.setInteractionInProgress(!1),_t}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(B,V,ue){var Ne=this;return(0,n.c)(function*(){Ne.logger.trace("NativeInteractionClient - handleNativeResponse called.");const Ie=ft.aw(B.id_token,qn.W),me=Ne.createHomeAccountIdentifier(B,Ie),Te=Ne.browserStorage.getAccountInfoFilteredBy({nativeAccountId:V.accountId})?.homeAccountId;if(me!==Te&&B.account.id!==V.accountId)throw Ir(Ut);const et=yield Ne.getDiscoveredAuthority(V.authority),_t=sn(Ne.browserStorage,et,me,Ie,qn.W,B.client_info,void 0,Ie.tid,void 0,B.account.id,Ne.logger),At=yield Ne.generateAuthenticationResult(B,V,Ie,_t,et.canonicalAuthority,ue);return Ne.cacheAccount(_t),Ne.cacheNativeTokens(B,V,me,Ie,At.accessToken,At.tenantId,ue),At})()}createHomeAccountIdentifier(B,V){return z.M.generateHomeAccountId(B.client_info||l.Mv.EMPTY_STRING,u.O.Default,this.logger,this.browserCrypto,V)}generateScopes(B,V){return qe.k.fromString(B.scope?B.scope:V.scope)}generatePopAccessToken(B,V){var ue=this;return(0,n.c)(function*(){if(V.tokenType===l.me.POP){if(B.shr)return ue.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),B.shr;const Ne=new mt.w(ue.browserCrypto),Ie={resourceRequestMethod:V.resourceRequestMethod,resourceRequestUri:V.resourceRequestUri,shrClaims:V.shrClaims,shrNonce:V.shrNonce};if(!V.keyId)throw(0,c.mQ)(A.keyIdMissing);return Ne.signPopToken(B.access_token,V.keyId,Ie)}return B.access_token})()}generateAuthenticationResult(B,V,ue,Ne,Ie,me){var Te=this;return(0,n.c)(function*(){const et=Te.addTelemetryFromNativeResponse(B),_t=qe.k.fromString(B.scope?B.scope:V.scope),At=B.account.properties||{},Nt=At.UID||ue.oid||ue.sub||l.Mv.EMPTY_STRING,Jt=At.TenantId||ue.tid||l.Mv.EMPTY_STRING,mn=(0,bt.Ho)(Ne.getAccountInfo(),void 0,ue,B.id_token);mn.nativeAccountId!==B.account.id&&(mn.nativeAccountId=B.account.id);const _n=yield Te.generatePopAccessToken(B,V),yn=V.tokenType===l.me.POP?l.me.POP:l.me.BEARER;return{authority:Ie,uniqueId:Nt,tenantId:Jt,scopes:_t.asArray(),account:mn,idToken:B.id_token,idTokenClaims:ue,accessToken:_n,fromCache:!!et&&Te.isResponseFromCache(et),expiresOn:new Date(1e3*Number(me+B.expires_in)),tokenType:yn,correlationId:Te.correlationId,state:B.state,fromNativeBroker:!0}})()}cacheAccount(B){this.browserStorage.setAccount(B),this.browserStorage.removeAccountContext(B).catch(V=>{this.logger.error(`Error occurred while removing account context from browser storage. ${V}`)})}cacheNativeTokens(B,V,ue,Ne,Ie,me,Te){const et=E.YF(ue,V.authority,B.id_token||"",V.clientId,Ne.tid||""),At=Te+(V.tokenType===l.me.POP?l.Mv.SHR_NONCE_VALIDITY:("string"==typeof B.expires_in?parseInt(B.expires_in,10):B.expires_in)||0),Nt=this.generateScopes(B,V),Jt=E.MJ(ue,V.authority,Ie,V.clientId,Ne.tid||me,Nt.printScopes(),At,0,qn.W),mn=new tt.O(void 0,et,Jt);this.nativeStorageManager.saveCacheRecord(mn,V.storeInCache)}addTelemetryFromNativeResponse(B){const V=this.getMATSFromResponse(B);return V?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:V.broker_version,matsAccountJoinOnStart:V.account_join_on_start,matsAccountJoinOnEnd:V.account_join_on_end,matsDeviceJoin:V.device_join,matsPromptBehavior:V.prompt_behavior,matsApiErrorCode:V.api_error_code,matsUiVisible:V.ui_visible,matsSilentCode:V.silent_code,matsSilentBiSubCode:V.silent_bi_sub_code,matsSilentMessage:V.silent_message,matsSilentStatus:V.silent_status,matsHttpStatus:V.http_status,matsHttpEventCount:V.http_event_count},this.correlationId),V):null}validateNativeResponse(B){if(B.hasOwnProperty("access_token")&&B.hasOwnProperty("id_token")&&B.hasOwnProperty("client_info")&&B.hasOwnProperty("account")&&B.hasOwnProperty("scope")&&B.hasOwnProperty("expires_in"))return B;throw(0,M.Ub)(pt.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(B){if(B.properties.MATS)try{return JSON.parse(B.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(B){return typeof B.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!B.is_cached}initializeNativeRequest(B){var V=this;return(0,n.c)(function*(){V.logger.trace("NativeInteractionClient - initializeNativeRequest called");const ue=B.authority||V.config.auth.authority;B.account&&(yield V.getDiscoveredAuthority(ue,B.azureCloudOptions,B.account));const Ne=new e._(ue);Ne.validateAsUri();const{scopes:Ie,...me}=B,Te=new qe.k(Ie||[]);Te.appendScopes(l.ac);const _t={...me,accountId:V.accountId,clientId:V.config.auth.clientId,authority:Ne.urlString,scope:Te.printScopes(),redirectUri:V.getRedirectUri(B.redirectUri),prompt:(()=>{switch(V.apiId){case X.Ed.ssoSilent:case X.Ed.acquireTokenSilent_silentFlow:return V.logger.trace("initializeNativeRequest: silent request sets prompt to none"),l.GI.NONE}if(B.prompt)switch(B.prompt){case l.GI.NONE:case l.GI.CONSENT:case l.GI.LOGIN:return V.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),B.prompt;default:throw V.logger.trace(`initializeNativeRequest: prompt = ${B.prompt} is not compatible with native flow`),(0,Pe.Wq)(Re.nativePromptNotSupported)}else V.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:V.correlationId,tokenType:B.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...B.extraQueryParameters,...B.tokenQueryParameters},extendedExpiryToken:!1};if(V.handleExtraBrokerParams(_t),_t.extraParameters=_t.extraParameters||{},_t.extraParameters.telemetry=X.sJ.MATS_TELEMETRY,B.authenticationScheme===l.me.POP){const At={resourceRequestUri:B.resourceRequestUri,resourceRequestMethod:B.resourceRequestMethod,shrClaims:B.shrClaims,shrNonce:B.shrNonce},Nt=new mt.w(V.browserCrypto),Jt=yield(0,C.C)(Nt.generateCnf.bind(Nt),h.Xv.PopTokenGenerateCnf,V.logger,V.performanceClient,V.correlationId)(At,V.logger);_t.reqCnf=Jt.reqCnfHash,_t.keyId=Jt.kid}return _t})()}handleExtraBrokerParams(B){if(B.extraParameters&&B.extraParameters.hasOwnProperty("brk_client_id")&&B.extraParameters.hasOwnProperty("brk_redirect_uri")&&B.extraParameters.hasOwnProperty($e._k)){const Ne=B.extraParameters.brk_redirect_uri;B.extraParameters={child_client_id:B.extraParameters[$e._k],child_redirect_uri:B.redirectUri},B.redirectUri=Ne}}}class vr{constructor(B,V,ue,Ne){this.logger=B,this.handshakeTimeoutMs=V,this.extensionId=Ne,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=ue,this.handshakeEvent=ue.startMeasurement(h.Xv.NativeMessageHandlerHandshake)}sendMessage(B){var V=this;return(0,n.c)(function*(){V.logger.trace("NativeMessageHandler - sendMessage called.");const ue={channel:X.sJ.CHANNEL_ID,extensionId:V.extensionId,responseId:(0,Ue.E5)(),body:B};return V.logger.trace("NativeMessageHandler - Sending request to browser extension"),V.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(ue)}`),V.messageChannel.port1.postMessage(ue),new Promise((Ne,Ie)=>{V.resolvers.set(ue.responseId,{resolve:Ne,reject:Ie})})})()}static createProvider(B,V,ue){return(0,n.c)(function*(){B.trace("NativeMessageHandler - createProvider called.");try{const Ne=new vr(B,V,ue,X.sJ.PREFERRED_EXTENSION_ID);return yield Ne.sendHandshakeRequest(),Ne}catch{const Ie=new vr(B,V,ue);return yield Ie.sendHandshakeRequest(),Ie}})()}sendHandshakeRequest(){var B=this;return(0,n.c)(function*(){B.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",B.windowListener,!1);const V={channel:X.sJ.CHANNEL_ID,extensionId:B.extensionId,responseId:(0,Ue.E5)(),body:{method:X.Ce.HandshakeRequest}};return B.handshakeEvent.add({extensionId:B.extensionId,extensionHandshakeTimeoutMs:B.handshakeTimeoutMs}),B.messageChannel.port1.onmessage=ue=>{B.onChannelMessage(ue)},window.postMessage(V,window.origin,[B.messageChannel.port2]),new Promise((ue,Ne)=>{B.handshakeResolvers.set(V.responseId,{resolve:ue,reject:Ne}),B.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",B.windowListener,!1),B.messageChannel.port1.close(),B.messageChannel.port2.close(),B.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),Ne((0,Pe.Wq)(Re.nativeHandshakeTimeout)),B.handshakeResolvers.delete(V.responseId)},B.handshakeTimeoutMs)})})()}onWindowMessage(B){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),B.source!==window)return;const V=B.data;if(V.channel&&V.channel===X.sJ.CHANNEL_ID&&(!V.extensionId||V.extensionId===this.extensionId)&&V.body.method===X.Ce.HandshakeRequest){const ue=this.handshakeResolvers.get(V.responseId);if(!ue)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${V.responseId}`);this.logger.verbose(V.extensionId?`Extension with id: ${V.extensionId} not installed`:"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),ue.reject((0,Pe.Wq)(Re.nativeExtensionNotInstalled))}}onChannelMessage(B){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const V=B.data,ue=this.resolvers.get(V.responseId),Ne=this.handshakeResolvers.get(V.responseId);try{const Ie=V.body.method;if(Ie===X.Ce.Response){if(!ue)return;const me=V.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(me)}`),"Success"!==me.status)ue.reject(Ir(me.code,me.description,me.ext));else{if(!me.result)throw(0,M.Ub)(pt.unexpectedError,"Event does not contain result.");me.result.code&&me.result.description?ue.reject(Ir(me.result.code,me.result.description,me.result.ext)):ue.resolve(me.result)}this.resolvers.delete(V.responseId)}else if(Ie===X.Ce.HandshakeResponse){if(!Ne)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${V.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=V.extensionId,this.extensionVersion=V.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),Ne.resolve(),this.handshakeResolvers.delete(V.responseId)}}catch(Ie){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${Ie}`),this.logger.errorPii(`Unable to parse ${B}`),ue?ue.reject(Ie):Ne&&Ne.reject(Ie)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(B,V,ue,Ne){if(V.trace("isNativeAvailable called"),!B.system.allowNativeBroker)return V.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!ue)return V.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(Ne)switch(Ne){case l.me.BEARER:case l.me.POP:return V.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return V.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class Mr{constructor(B,V,ue,Ne,Ie){this.authModule=B,this.browserStorage=V,this.authCodeRequest=ue,this.logger=Ne,this.performanceClient=Ie}handleCodeResponse(B,V){var ue=this;return(0,n.c)(function*(){let Ne;ue.performanceClient.addQueueMeasurement(h.Xv.HandleCodeResponse,V.correlationId);try{Ne=ue.authModule.handleFragmentResponse(B,V.state)}catch(Ie){throw Ie instanceof H.s&&Ie.subError===Re.userCancelled?(0,Pe.Wq)(Re.userCancelled):Ie}return(0,C.C)(ue.handleCodeResponseFromServer.bind(ue),h.Xv.HandleCodeResponseFromServer,ue.logger,ue.performanceClient,V.correlationId)(Ne,V)})()}handleCodeResponseFromServer(B,V,ue=!0){var Ne=this;return(0,n.c)(function*(){if(Ne.performanceClient.addQueueMeasurement(h.Xv.HandleCodeResponseFromServer,V.correlationId),Ne.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),Ne.authCodeRequest.code=B.code,B.cloud_instance_host_name&&(yield(0,C.C)(Ne.authModule.updateAuthority.bind(Ne.authModule),h.Xv.UpdateTokenEndpointAuthority,Ne.logger,Ne.performanceClient,V.correlationId)(B.cloud_instance_host_name,V.correlationId)),ue&&(B.nonce=V.nonce||void 0),B.state=V.state,B.client_info)Ne.authCodeRequest.clientInfo=B.client_info;else{const me=Ne.createCcsCredentials(V);me&&(Ne.authCodeRequest.ccsCredential=me)}return yield(0,C.C)(Ne.authModule.acquireToken.bind(Ne.authModule),h.Xv.AuthClientAcquireToken,Ne.logger,Ne.performanceClient,V.correlationId)(Ne.authCodeRequest,B)})()}createCcsCredentials(B){return B.account?{credential:B.account.homeAccountId,type:de.s.HOME_ACCOUNT_ID}:B.loginHint?{credential:B.loginHint,type:de.s.UPN}:null}}var Qn=o(33680),er=o(99632);function xr(un,B,V){const ue=Qn.u(un);if(!ue)throw Qn.w(un)?(V.error(`A ${B} is present in the iframe but it does not contain known properties. It's likely that the ${B} has been replaced by code running on the redirectUri page.`),V.errorPii(`The ${B} detected is: ${un}`),(0,Pe.Wq)(Re.hashDoesNotContainKnownProperties)):(V.error(`The request has returned to the redirectUri but a ${B} is not present. It's likely that the ${B} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,Pe.Wq)(Re.hashEmptyError));return ue}class en extends $t{constructor(B,V,ue,Ne,Ie,me,Te,et,_t,At){super(B,V,ue,Ne,Ie,me,Te,_t,At),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=et}acquireToken(B){try{const V=this.generatePopupName(B.scopes||l.ac,B.authority||this.config.auth.authority),ue=B.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(B,V,ue);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const Ne=this.openSizedPopup("about:blank",V,ue);return this.acquireTokenPopupAsync(B,V,ue,Ne)}}catch(V){return Promise.reject(V)}}logout(B){try{this.logger.verbose("logoutPopup called");const V=this.initializeLogoutRequest(B),ue=this.generateLogoutPopupName(V),Ne=B&&B.authority,Ie=B&&B.mainWindowRedirectUri,me=B?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(V,ue,me,Ne,void 0,Ie);{this.logger.verbose("asyncPopup set to false, opening popup");const Te=this.openSizedPopup("about:blank",ue,me);return this.logoutPopupAsync(V,ue,me,Ne,Te,Ie)}}catch(V){return Promise.reject(V)}}acquireTokenPopupAsync(B,V,ue,Ne){var Ie=this;return(0,n.c)(function*(){Ie.logger.verbose("acquireTokenPopupAsync called");const me=Ie.initializeServerTelemetryManager(X.Ed.acquireTokenPopup),Te=yield(0,C.C)(Ie.initializeAuthorizationRequest.bind(Ie),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,Ie.logger,Ie.performanceClient,Ie.correlationId)(B,X.wV.Popup);(0,ce.preconnect)(Te.authority);try{const et=yield(0,C.C)(Ie.initializeAuthorizationCodeRequest.bind(Ie),h.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Ie.logger,Ie.performanceClient,Ie.correlationId)(Te),_t=yield(0,C.C)(Ie.createAuthCodeClient.bind(Ie),h.Xv.StandardInteractionClientCreateAuthCodeClient,Ie.logger,Ie.performanceClient,Ie.correlationId)(me,Te.authority,Te.azureCloudOptions,Te.account),At=vr.isNativeAvailable(Ie.config,Ie.logger,Ie.nativeMessageHandler,B.authenticationScheme);let Nt;At&&(Nt=Ie.performanceClient.startMeasurement(h.Xv.FetchAccountIdWithNativeBroker,B.correlationId));const Jt=yield _t.getAuthCodeUrl({...Te,nativeBroker:At}),mn=new Mr(_t,Ie.browserStorage,et,Ie.logger,Ie.performanceClient),yn=Ie.initiateAuthRequest(Jt,{popup:Ne,popupName:V,popupWindowAttributes:ue});Ie.eventHandler.emitEvent(K.W.POPUP_OPENED,X.wV.Popup,{popupWindow:yn},null);const gn=yield Ie.monitorPopupForHash(yn),Gt=(0,C.q)(xr,h.Xv.DeserializeResponse,Ie.logger,Ie.performanceClient,Ie.correlationId)(gn,Ie.config.auth.OIDCOptions.serverResponseType,Ie.logger);if(ae.removeThrottle(Ie.browserStorage,Ie.config.auth.clientId,et),Gt.accountId){if(Ie.logger.verbose("Account id found in hash, calling WAM for token"),Nt&&Nt.end({success:!0,isNativeBroker:!0}),!Ie.nativeMessageHandler)throw(0,Pe.Wq)(Re.nativeConnectionNotEstablished);const cr=new oi(Ie.config,Ie.browserStorage,Ie.browserCrypto,Ie.logger,Ie.eventHandler,Ie.navigationClient,X.Ed.acquireTokenPopup,Ie.performanceClient,Ie.nativeMessageHandler,Gt.accountId,Ie.nativeStorage,Te.correlationId),{userRequestState:rr}=re.c.parseRequestState(Ie.browserCrypto,Te.state);return yield cr.acquireToken({...Te,state:rr,prompt:void 0})}return yield mn.handleCodeResponse(Gt,Te)}catch(et){throw Ne&&Ne.close(),et instanceof M.WM&&(et.setCorrelationId(Ie.correlationId),me.cacheFailedRequest(et)),et}})()}logoutPopupAsync(B,V,ue,Ne,Ie,me){var Te=this;return(0,n.c)(function*(){Te.logger.verbose("logoutPopupAsync called"),Te.eventHandler.emitEvent(K.W.LOGOUT_START,X.wV.Popup,B);const et=Te.initializeServerTelemetryManager(X.Ed.logoutPopup);try{yield Te.clearCacheOnLogout(B.account);const At=(yield(0,C.C)(Te.createAuthCodeClient.bind(Te),h.Xv.StandardInteractionClientCreateAuthCodeClient,Te.logger,Te.performanceClient,Te.correlationId)(et,Ne,void 0,B.account||void 0)).getLogoutUri(B);Te.eventHandler.emitEvent(K.W.LOGOUT_SUCCESS,X.wV.Popup,B);const Nt=Te.openPopup(At,{popupName:V,popupWindowAttributes:ue,popup:Ie});if(Te.eventHandler.emitEvent(K.W.POPUP_OPENED,X.wV.Popup,{popupWindow:Nt},null),yield Te.monitorPopupForHash(Nt).catch(()=>{}),me){const Jt={apiId:X.Ed.logoutPopup,timeout:Te.config.system.redirectNavigationTimeout,noHistory:!1},mn=e._.getAbsoluteUrl(me,(0,ce.getCurrentUri)());Te.logger.verbose("Redirecting main window to url specified in the request"),Te.logger.verbosePii(`Redirecting main window to: ${mn}`),yield Te.navigationClient.navigateInternal(mn,Jt)}else Te.logger.verbose("No main window navigation requested")}catch(_t){throw Ie&&Ie.close(),_t instanceof M.WM&&(_t.setCorrelationId(Te.correlationId),et.cacheFailedRequest(_t)),Te.browserStorage.setInteractionInProgress(!1),Te.eventHandler.emitEvent(K.W.LOGOUT_FAILURE,X.wV.Popup,null,_t),Te.eventHandler.emitEvent(K.W.LOGOUT_END,X.wV.Popup),_t}Te.eventHandler.emitEvent(K.W.LOGOUT_END,X.wV.Popup)})()}initiateAuthRequest(B,V){if(B)return this.logger.infoPii(`Navigate to: ${B}`),this.openPopup(B,V);throw this.logger.error("Navigate url is empty"),(0,Pe.Wq)(Re.emptyNavigateUri)}monitorPopupForHash(B){return new Promise((V,ue)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const Ne=setInterval(()=>{if(B.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(Ne),void ue((0,Pe.Wq)(Re.userCancelled));let Ie="";try{Ie=B.location.href}catch{}if(!Ie||"about:blank"===Ie)return;clearInterval(Ne);let me="";B&&(me=this.config.auth.OIDCOptions.serverResponseType===l.eE.QUERY?B.location.search:B.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),V(me)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(B)})}openPopup(B,V){try{let ue;if(V.popup?(ue=V.popup,this.logger.verbosePii(`Navigating popup window to: ${B}`),ue.location.assign(B)):typeof V.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${B}`),ue=this.openSizedPopup(B,V.popupName,V.popupWindowAttributes)),!ue)throw(0,Pe.Wq)(Re.emptyWindowError);return ue.focus&&ue.focus(),this.currentWindow=ue,window.addEventListener("beforeunload",this.unloadWindow),ue}catch(ue){throw this.logger.error("error opening popup "+ue.message),this.browserStorage.setInteractionInProgress(!1),(0,Pe.Wq)(Re.popupWindowError)}}openSizedPopup(B,V,ue){const Ne=window.screenLeft?window.screenLeft:window.screenX,Ie=window.screenTop?window.screenTop:window.screenY,me=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Te=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let et=ue.popupSize?.width,_t=ue.popupSize?.height,At=ue.popupPosition?.top,Nt=ue.popupPosition?.left;return(!et||et<0||et>me)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),et=X.ig.POPUP_WIDTH),(!_t||_t<0||_t>Te)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),_t=X.ig.POPUP_HEIGHT),(!At||At<0||At>Te)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),At=Math.max(0,Te/2-X.ig.POPUP_HEIGHT/2+Ie)),(!Nt||Nt<0||Nt>me)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Nt=Math.max(0,me/2-X.ig.POPUP_WIDTH/2+Ne)),window.open(B,V,`width=${et}, height=${_t}, top=${At}, left=${Nt}, scrollbars=yes`)}unloadWindow(B){this.browserStorage.cleanRequestByInteractionType(X.wV.Popup),this.currentWindow&&this.currentWindow.close(),B.preventDefault()}cleanPopup(B){B&&B.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(B,V){return`${X.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${B.join("-")}.${V}.${this.correlationId}`}generateLogoutPopupName(B){return`${X.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${B.account&&B.account.homeAccountId}.${this.correlationId}`}}class jn{constructor(B,V,ue,Ne,Ie){this.authModule=B,this.browserStorage=V,this.authCodeRequest=ue,this.logger=Ne,this.performanceClient=Ie}initiateAuthRequest(B,V){var ue=this;return(0,n.c)(function*(){if(ue.logger.verbose("RedirectHandler.initiateAuthRequest called"),B){V.redirectStartPage&&(ue.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),ue.browserStorage.setTemporaryCache(X.zH.ORIGIN_URI,V.redirectStartPage,!0)),ue.browserStorage.setTemporaryCache(X.zH.CORRELATION_ID,ue.authCodeRequest.correlationId,!0),ue.browserStorage.cacheCodeRequest(ue.authCodeRequest),ue.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${B}`);const Ne={apiId:X.Ed.acquireTokenRedirect,timeout:V.redirectTimeout,noHistory:!1};return"function"==typeof V.onRedirectNavigate?(ue.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==V.onRedirectNavigate(B)?(ue.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield V.navigationClient.navigateExternal(B,Ne))):void ue.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(ue.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield V.navigationClient.navigateExternal(B,Ne)))}throw ue.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,Pe.Wq)(Re.emptyNavigateUri)})()}handleCodeResponse(B,V){var ue=this;return(0,n.c)(function*(){ue.logger.verbose("RedirectHandler.handleCodeResponse called"),ue.browserStorage.setInteractionInProgress(!1);const Ne=ue.browserStorage.generateStateKey(V),Ie=ue.browserStorage.getTemporaryCache(Ne);if(!Ie)throw(0,c.mQ)(A.stateNotFound,"Cached State");let me;try{me=ue.authModule.handleFragmentResponse(B,Ie)}catch(At){throw At instanceof H.s&&At.subError===Re.userCancelled?(0,Pe.Wq)(Re.userCancelled):At}const Te=ue.browserStorage.generateNonceKey(Ie),et=ue.browserStorage.getTemporaryCache(Te);if(ue.authCodeRequest.code=me.code,me.cloud_instance_host_name&&(yield(0,C.C)(ue.authModule.updateAuthority.bind(ue.authModule),h.Xv.UpdateTokenEndpointAuthority,ue.logger,ue.performanceClient,ue.authCodeRequest.correlationId)(me.cloud_instance_host_name,ue.authCodeRequest.correlationId)),me.nonce=et||void 0,me.state=Ie,me.client_info)ue.authCodeRequest.clientInfo=me.client_info;else{const At=ue.checkCcsCredentials();At&&(ue.authCodeRequest.ccsCredential=At)}const _t=yield ue.authModule.acquireToken(ue.authCodeRequest,me);return ue.browserStorage.cleanRequestByState(V),_t})()}checkCcsCredentials(){const B=this.browserStorage.getTemporaryCache(X.zH.CCS_CREDENTIAL,!0);if(B)try{return JSON.parse(B)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${B}`)}return null}}class Zn extends $t{constructor(B,V,ue,Ne,Ie,me,Te,et,_t,At){super(B,V,ue,Ne,Ie,me,Te,_t,At),this.nativeStorage=et}acquireToken(B){var V=this;return(0,n.c)(function*(){const ue=yield(0,C.C)(V.initializeAuthorizationRequest.bind(V),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,V.logger,V.performanceClient,V.correlationId)(B,X.wV.Redirect);V.browserStorage.updateCacheEntries(ue.state,ue.nonce,ue.authority,ue.loginHint||"",ue.account||null);const Ne=V.initializeServerTelemetryManager(X.Ed.acquireTokenRedirect),Ie=me=>{me.persisted&&(V.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),V.browserStorage.cleanRequestByState(ue.state),V.eventHandler.emitEvent(K.W.RESTORE_FROM_BFCACHE,X.wV.Redirect))};try{const me=yield(0,C.C)(V.initializeAuthorizationCodeRequest.bind(V),h.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,V.logger,V.performanceClient,V.correlationId)(ue),Te=yield(0,C.C)(V.createAuthCodeClient.bind(V),h.Xv.StandardInteractionClientCreateAuthCodeClient,V.logger,V.performanceClient,V.correlationId)(Ne,ue.authority,ue.azureCloudOptions,ue.account),et=new jn(Te,V.browserStorage,me,V.logger,V.performanceClient),_t=yield Te.getAuthCodeUrl({...ue,nativeBroker:vr.isNativeAvailable(V.config,V.logger,V.nativeMessageHandler,B.authenticationScheme)}),At=V.getRedirectStartPage(B.redirectStartPage);return V.logger.verbosePii(`Redirect start page: ${At}`),window.addEventListener("pageshow",Ie),yield et.initiateAuthRequest(_t,{navigationClient:V.navigationClient,redirectTimeout:V.config.system.redirectNavigationTimeout,redirectStartPage:At,onRedirectNavigate:B.onRedirectNavigate})}catch(me){throw me instanceof M.WM&&(me.setCorrelationId(V.correlationId),Ne.cacheFailedRequest(me)),window.removeEventListener("pageshow",Ie),V.browserStorage.cleanRequestByState(ue.state),me}})()}handleRedirectPromise(B,V,ue){var Ne=this;return(0,n.c)(function*(){const Ie=Ne.initializeServerTelemetryManager(X.Ed.handleRedirectPromise);try{if(!Ne.browserStorage.isInteractionInProgress(!0))return Ne.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[me,Te]=Ne.getRedirectResponse(B||"");if(!me)return Ne.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),Ne.browserStorage.cleanRequestByInteractionType(X.wV.Redirect),V&&ue&&V?.addFields({errorCode:"no_server_response"},ue),null;const et=Ne.browserStorage.getTemporaryCache(X.zH.ORIGIN_URI,!0)||l.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(et)===e._.removeHashFromUrl(window.location.href)&&Ne.config.auth.navigateToLoginRequestUrl)return Ne.logger.verbose("Current page is loginRequestUrl, handling response"),et.indexOf("#")>-1&&(0,ce.replaceHash)(et),yield Ne.handleResponse(me,Ie);if(!Ne.config.auth.navigateToLoginRequestUrl)return Ne.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield Ne.handleResponse(me,Ie);if(!(0,ce.isInIframe)()||Ne.config.system.allowRedirectInIframe){Ne.browserStorage.setTemporaryCache(X.zH.URL_HASH,Te,!0);const Nt={apiId:X.Ed.handleRedirectPromise,timeout:Ne.config.system.redirectNavigationTimeout,noHistory:!0};let Jt=!0;if(et&&"null"!==et)Ne.logger.verbose(`Navigating to loginRequestUrl: ${et}`),Jt=yield Ne.navigationClient.navigateInternal(et,Nt);else{const mn=(0,ce.getHomepage)();Ne.browserStorage.setTemporaryCache(X.zH.ORIGIN_URI,mn,!0),Ne.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),Jt=yield Ne.navigationClient.navigateInternal(mn,Nt)}if(!Jt)return yield Ne.handleResponse(me,Ie)}return null}catch(me){throw me instanceof M.WM&&(me.setCorrelationId(Ne.correlationId),Ie.cacheFailedRequest(me)),Ne.browserStorage.cleanRequestByInteractionType(X.wV.Redirect),me}})()}getRedirectResponse(B){this.logger.verbose("getRedirectResponseHash called");let V=B;V||(V=this.config.auth.OIDCOptions.serverResponseType===l.eE.QUERY?window.location.search:window.location.hash);let ue=Qn.u(V);if(ue){try{!function Si(un,B,V){if(!un.state)throw(0,Pe.Wq)(Re.noStateInHash);const ue=(0,er.Q)(B,un.state);if(!ue)throw(0,Pe.Wq)(Re.unableToParseState);if(ue.interactionType!==V)throw(0,Pe.Wq)(Re.stateInteractionTypeMismatch)}(ue,this.browserCrypto,X.wV.Redirect)}catch(Ie){return Ie instanceof M.WM&&this.logger.error(`Interaction type validation failed due to ${Ie.errorCode}: ${Ie.errorMessage}`),[null,""]}return(0,ce.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[ue,V]}const Ne=this.browserStorage.getTemporaryCache(X.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(X.zH.URL_HASH)),Ne&&(ue=Qn.u(Ne),ue)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[ue,Ne]):[null,""]}handleResponse(B,V){var ue=this;return(0,n.c)(function*(){const Ne=B.state;if(!Ne)throw(0,Pe.Wq)(Re.noStateInHash);const Ie=ue.browserStorage.getCachedRequest(Ne);if(ue.logger.verbose("handleResponse called, retrieved cached request"),B.accountId){if(ue.logger.verbose("Account id found in hash, calling WAM for token"),!ue.nativeMessageHandler)throw(0,Pe.Wq)(Re.nativeConnectionNotEstablished);const _t=new oi(ue.config,ue.browserStorage,ue.browserCrypto,ue.logger,ue.eventHandler,ue.navigationClient,X.Ed.acquireTokenPopup,ue.performanceClient,ue.nativeMessageHandler,B.accountId,ue.nativeStorage,Ie.correlationId),{userRequestState:At}=re.c.parseRequestState(ue.browserCrypto,Ne);return _t.acquireToken({...Ie,state:At,prompt:void 0}).finally(()=>{ue.browserStorage.cleanRequestByState(Ne)})}const me=ue.browserStorage.getCachedAuthority(Ne);if(!me)throw(0,Pe.Wq)(Re.noCachedAuthorityError);const Te=yield(0,C.C)(ue.createAuthCodeClient.bind(ue),h.Xv.StandardInteractionClientCreateAuthCodeClient,ue.logger,ue.performanceClient,ue.correlationId)(V,me);return ae.removeThrottle(ue.browserStorage,ue.config.auth.clientId,Ie),new jn(Te,ue.browserStorage,Ie,ue.logger,ue.performanceClient).handleCodeResponse(B,Ne)})()}logout(B){var V=this;return(0,n.c)(function*(){V.logger.verbose("logoutRedirect called");const ue=V.initializeLogoutRequest(B),Ne=V.initializeServerTelemetryManager(X.Ed.logout);try{V.eventHandler.emitEvent(K.W.LOGOUT_START,X.wV.Redirect,B),yield V.clearCacheOnLogout(ue.account);const Ie={apiId:X.Ed.logout,timeout:V.config.system.redirectNavigationTimeout,noHistory:!1},Te=(yield(0,C.C)(V.createAuthCodeClient.bind(V),h.Xv.StandardInteractionClientCreateAuthCodeClient,V.logger,V.performanceClient,V.correlationId)(Ne,B&&B.authority,void 0,B&&B.account||void 0)).getLogoutUri(ue);if(V.eventHandler.emitEvent(K.W.LOGOUT_SUCCESS,X.wV.Redirect,ue),!B||"function"!=typeof B.onRedirectNavigate)return V.browserStorage.getInteractionInProgress()||V.browserStorage.setInteractionInProgress(!0),void(yield V.navigationClient.navigateExternal(Te,Ie));if(!1!==B.onRedirectNavigate(Te))return V.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),V.browserStorage.getInteractionInProgress()||V.browserStorage.setInteractionInProgress(!0),void(yield V.navigationClient.navigateExternal(Te,Ie));V.browserStorage.setInteractionInProgress(!1),V.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(Ie){throw Ie instanceof M.WM&&(Ie.setCorrelationId(V.correlationId),Ne.cacheFailedRequest(Ie)),V.eventHandler.emitEvent(K.W.LOGOUT_FAILURE,X.wV.Redirect,null,Ie),V.eventHandler.emitEvent(K.W.LOGOUT_END,X.wV.Redirect),Ie}V.eventHandler.emitEvent(K.W.LOGOUT_END,X.wV.Redirect)})()}getRedirectStartPage(B){const V=B||window.location.href;return e._.getAbsoluteUrl(V,(0,ce.getCurrentUri)())}}var sr=o(48124);function si(un,B,V,ue,Ne){return kr.apply(this,arguments)}function kr(){return(kr=(0,n.c)(function*(un,B,V,ue,Ne){if(B.addQueueMeasurement(h.Xv.SilentHandlerInitiateAuthRequest,ue),!un)throw V.info("Navigate url is empty"),(0,Pe.Wq)(Re.emptyNavigateUri);return Ne?(0,C.C)(It,h.Xv.SilentHandlerLoadFrame,V,B,ue)(un,Ne,B,ue):(0,C.q)(rn,h.Xv.SilentHandlerLoadFrameSync,V,B,ue)(un)})).apply(this,arguments)}function ot(un,B,V,ue,Ne,Ie,me){return Ot.apply(this,arguments)}function Ot(){return(Ot=(0,n.c)(function*(un,B,V,ue,Ne,Ie,me){return ue.addQueueMeasurement(h.Xv.SilentHandlerMonitorIframeForHash,Ie),new Promise((Te,et)=>{B{window.clearInterval(At),et((0,Pe.Wq)(Re.monitorWindowTimeout))},B),At=window.setInterval(()=>{let Nt="";const Jt=un.contentWindow;try{Nt=Jt?Jt.location.href:""}catch{}if(!Nt||"about:blank"===Nt)return;let mn="";Jt&&(mn=me===l.eE.QUERY?Jt.location.search:Jt.location.hash),window.clearTimeout(_t),window.clearInterval(At),Te(mn)},V)}).finally(()=>{(0,C.q)(Mn,h.Xv.RemoveHiddenIframe,Ne,ue,Ie)(un)})})).apply(this,arguments)}function It(un,B,V,ue){return V.addQueueMeasurement(h.Xv.SilentHandlerLoadFrame,ue),new Promise((Ne,Ie)=>{const me=hn();window.setTimeout(()=>{me?(me.src=un,Ne(me)):Ie("Unable to load iframe")},B)})}function rn(un){const B=hn();return B.src=un,B}function hn(){const un=document.createElement("iframe");return un.style.visibility="hidden",un.style.position="absolute",un.style.width=un.style.height="0",un.style.border="0",un.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(un),un}function Mn(un){document.body===un.parentNode&&document.body.removeChild(un)}class En extends $t{constructor(B,V,ue,Ne,Ie,me,Te,et,_t,At,Nt){super(B,V,ue,Ne,Ie,me,et,At,Nt),this.apiId=Te,this.nativeStorage=_t}acquireToken(B){var V=this;return(0,n.c)(function*(){V.performanceClient.addQueueMeasurement(h.Xv.SilentIframeClientAcquireToken,B.correlationId),!B.loginHint&&!B.sid&&(!B.account||!B.account.username)&&V.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const ue={...B};ue.prompt?ue.prompt!==l.GI.NONE&&ue.prompt!==l.GI.NO_SESSION&&(V.logger.warning(`SilentIframeClient. Replacing invalid prompt ${ue.prompt} with ${l.GI.NONE}`),ue.prompt=l.GI.NONE):ue.prompt=l.GI.NONE;const Ne=yield(0,C.C)(V.initializeAuthorizationRequest.bind(V),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,V.logger,V.performanceClient,B.correlationId)(ue,X.wV.Silent);(0,ce.preconnect)(Ne.authority);const Ie=V.initializeServerTelemetryManager(V.apiId);try{const me=yield(0,C.C)(V.createAuthCodeClient.bind(V),h.Xv.StandardInteractionClientCreateAuthCodeClient,V.logger,V.performanceClient,B.correlationId)(Ie,Ne.authority,Ne.azureCloudOptions,Ne.account);return yield(0,C.C)(V.silentTokenHelper.bind(V),h.Xv.SilentIframeClientTokenHelper,V.logger,V.performanceClient,B.correlationId)(me,Ne)}catch(me){throw me instanceof M.WM&&(me.setCorrelationId(V.correlationId),Ie.cacheFailedRequest(me)),me}})()}logout(){return Promise.reject((0,Pe.Wq)(Re.silentLogoutUnsupported))}silentTokenHelper(B,V){var ue=this;return(0,n.c)(function*(){const Ne=V.correlationId;ue.performanceClient.addQueueMeasurement(h.Xv.SilentIframeClientTokenHelper,Ne);const Ie=yield(0,C.C)(ue.initializeAuthorizationCodeRequest.bind(ue),h.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,ue.logger,ue.performanceClient,Ne)(V),me=yield(0,C.C)(B.getAuthCodeUrl.bind(B),h.Xv.GetAuthCodeUrl,ue.logger,ue.performanceClient,Ne)({...V,nativeBroker:vr.isNativeAvailable(ue.config,ue.logger,ue.nativeMessageHandler,V.authenticationScheme)}),Te=new Mr(B,ue.browserStorage,Ie,ue.logger,ue.performanceClient),et=yield(0,C.C)(si,h.Xv.SilentHandlerInitiateAuthRequest,ue.logger,ue.performanceClient,Ne)(me,ue.performanceClient,ue.logger,Ne,ue.config.system.navigateFrameWait),_t=ue.config.auth.OIDCOptions.serverResponseType,At=yield(0,C.C)(ot,h.Xv.SilentHandlerMonitorIframeForHash,ue.logger,ue.performanceClient,Ne)(et,ue.config.system.iframeHashTimeout,ue.config.system.pollIntervalMilliseconds,ue.performanceClient,ue.logger,Ne,_t),Nt=(0,C.q)(xr,h.Xv.DeserializeResponse,ue.logger,ue.performanceClient,ue.correlationId)(At,_t,ue.logger);if(Nt.accountId){if(ue.logger.verbose("Account id found in hash, calling WAM for token"),!ue.nativeMessageHandler)throw(0,Pe.Wq)(Re.nativeConnectionNotEstablished);const Jt=new oi(ue.config,ue.browserStorage,ue.browserCrypto,ue.logger,ue.eventHandler,ue.navigationClient,ue.apiId,ue.performanceClient,ue.nativeMessageHandler,Nt.accountId,ue.browserStorage,Ne),{userRequestState:mn}=re.c.parseRequestState(ue.browserCrypto,V.state);return(0,C.C)(Jt.acquireToken.bind(Jt),h.Xv.NativeInteractionClientAcquireToken,ue.logger,ue.performanceClient,Ne)({...V,state:mn,prompt:V.prompt||l.GI.NONE})}return(0,C.C)(Te.handleCodeResponse.bind(Te),h.Xv.HandleCodeResponse,ue.logger,ue.performanceClient,Ne)(Nt,V)})()}}class Xn extends $t{acquireToken(B){var V=this;return(0,n.c)(function*(){V.performanceClient.addQueueMeasurement(h.Xv.SilentRefreshClientAcquireToken,B.correlationId);const ue=yield(0,C.C)(V.initializeBaseRequest.bind(V),h.Xv.InitializeBaseRequest,V.logger,V.performanceClient,B.correlationId)(B),Ne={...B,...ue};B.redirectUri&&(Ne.redirectUri=V.getRedirectUri(B.redirectUri));const Ie=V.initializeServerTelemetryManager(X.Ed.acquireTokenSilent_silentFlow),me=yield V.createRefreshTokenClient(Ie,Ne.authority,Ne.azureCloudOptions,Ne.account);return(0,C.C)(me.acquireTokenByRefreshToken.bind(me),h.Xv.RefreshTokenClientAcquireTokenByRefreshToken,V.logger,V.performanceClient,B.correlationId)(Ne).catch(Te=>{throw Te.setCorrelationId(V.correlationId),Ie.cacheFailedRequest(Te),Te})})()}logout(){return Promise.reject((0,Pe.Wq)(Re.silentLogoutUnsupported))}createRefreshTokenClient(B,V,ue,Ne){var Ie=this;return(0,n.c)(function*(){const me=yield(0,C.C)(Ie.getClientConfiguration.bind(Ie),h.Xv.StandardInteractionClientGetClientConfiguration,Ie.logger,Ie.performanceClient,Ie.correlationId)(B,V,ue,Ne);return new ar(me,Ie.performanceClient)})()}}class zn{constructor(B,V,ue,Ne){this.isBrowserEnvironment=typeof window<"u",this.config=B,this.storage=V,this.logger=ue,this.cryptoObj=Ne}loadExternalTokens(B,V,ue){if(this.logger.info("TokenCache - loadExternalTokens called"),!V.id_token)throw(0,Pe.Wq)(Re.unableToLoadToken);const Ne=ft.aw(V.id_token,qn.W);let Ie,me,Te;if(B.account)Te=z.M.createFromAccountInfo(B.account),Ie=new tt.O(Te,this.loadIdToken(V.id_token,Te.homeAccountId,B.account.environment,B.account.tenantId),this.loadAccessToken(B,V,Te.homeAccountId,B.account.environment,B.account.tenantId,ue),this.loadRefreshToken(B,V,Te.homeAccountId,B.account.environment));else{if(!B.authority)throw(0,Pe.Wq)(Re.unableToLoadToken);{const et=R.generateAuthority(B.authority,B.azureCloudOptions);if(me=new R(et,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},this.logger,B.correlationId||(0,Ue.E5)()),ue.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),Te=this.loadAccount(Ne,me,ue.clientInfo),Ie=new tt.O(Te,this.loadIdToken(V.id_token,Te.homeAccountId,me.hostnameAndPort,me.tenant),this.loadAccessToken(B,V,Te.homeAccountId,me.hostnameAndPort,me.tenant,ue),this.loadRefreshToken(B,V,Te.homeAccountId,me.hostnameAndPort));else{if(!V.client_info)throw(0,Pe.Wq)(Re.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),Te=this.loadAccount(Ne,me,V.client_info),Ie=new tt.O(Te,this.loadIdToken(V.id_token,Te.homeAccountId,me.hostnameAndPort,me.tenant),this.loadAccessToken(B,V,Te.homeAccountId,me.hostnameAndPort,me.tenant,ue),this.loadRefreshToken(B,V,Te.homeAccountId,me.hostnameAndPort))}}}return this.generateAuthenticationResult(B,Ne,Ie,Te,me)}loadAccount(B,V,ue,Ne){if(this.isBrowserEnvironment){let Ie;if(this.logger.verbose("TokenCache - loading account"),Ne?Ie=Ne:void 0!==V.authorityType&&ue&&(Ie=z.M.generateHomeAccountId(ue,V.authorityType,this.logger,this.cryptoObj,B)),!Ie)throw(0,Pe.Wq)(Re.unableToLoadToken);const Te=sn(this.storage,V,Ie,B,qn.W,ue,V.hostnameAndPort,B.tid,void 0,void 0,this.logger);return this.storage.setAccount(Te),Te}throw(0,Pe.Wq)(Re.unableToLoadToken)}loadIdToken(B,V,ue,Ne){const Ie=E.YF(V,ue,B,this.config.auth.clientId,Ne);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(Ie),Ie;throw(0,Pe.Wq)(Re.unableToLoadToken)}loadAccessToken(B,V,ue,Ne,Ie,me){if(!V.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!V.expires_in||!me.extendedExpiresOn)throw(0,Pe.Wq)(Re.unableToLoadToken);const Te=new qe.k(B.scopes).printScopes(),et=me.expiresOn||V.expires_in+(new Date).getTime()/1e3,At=E.MJ(ue,Ne,V.access_token,this.config.auth.clientId,Ie,Te,et,me.extendedExpiresOn,qn.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(At),At;throw(0,Pe.Wq)(Re.unableToLoadToken)}loadRefreshToken(B,V,ue,Ne){if(!V.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const Ie=E._c(ue,Ne,V.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(Ie),Ie;throw(0,Pe.Wq)(Re.unableToLoadToken)}generateAuthenticationResult(B,V,ue,Ne,Ie){let _t,me=l.Mv.EMPTY_STRING,Te=[],et=null;return ue?.accessToken&&(me=ue.accessToken.secret,Te=qe.k.fromString(ue.accessToken.target).asArray(),et=new Date(1e3*Number(ue.accessToken.expiresOn)),_t=new Date(1e3*Number(ue.accessToken.extendedExpiresOn))),{authority:Ie?Ie.canonicalAuthority:l.Mv.EMPTY_STRING,uniqueId:V.oid||V.sub||l.Mv.EMPTY_STRING,tenantId:V.tid||l.Mv.EMPTY_STRING,scopes:Te,account:Ne.getAccountInfo(),idToken:ue.idToken?.secret||"",idTokenClaims:V||{},accessToken:me,fromCache:!0,expiresOn:et,correlationId:B.correlationId||l.Mv.EMPTY_STRING,requestId:l.Mv.EMPTY_STRING,extExpiresOn:_t,familyId:l.Mv.EMPTY_STRING,tokenType:ue?.accessToken?.tokenType||l.Mv.EMPTY_STRING,state:l.Mv.EMPTY_STRING,cloudGraphHostName:Ne.cloudGraphHostName||l.Mv.EMPTY_STRING,msGraphHost:Ne.msGraphHost||l.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class Er extends vn{constructor(B){super(B),this.includeRedirectUri=!1}}class Ar extends $t{constructor(B,V,ue,Ne,Ie,me,Te,et,_t,At){super(B,V,ue,Ne,Ie,me,et,_t,At),this.apiId=Te}acquireToken(B){var V=this;return(0,n.c)(function*(){if(!B.code)throw(0,Pe.Wq)(Re.authCodeRequired);const ue=yield(0,C.C)(V.initializeAuthorizationRequest.bind(V),h.Xv.StandardInteractionClientInitializeAuthorizationRequest,V.logger,V.performanceClient,B.correlationId)(B,X.wV.Silent),Ne=V.initializeServerTelemetryManager(V.apiId);try{const Ie={...ue,code:B.code},me=yield(0,C.C)(V.getClientConfiguration.bind(V),h.Xv.StandardInteractionClientGetClientConfiguration,V.logger,V.performanceClient,B.correlationId)(Ne,ue.authority,ue.azureCloudOptions,ue.account),Te=new Er(me);V.logger.verbose("Auth code client created");const et=new Mr(Te,V.browserStorage,Ie,V.logger,V.performanceClient);return yield(0,C.C)(et.handleCodeResponseFromServer.bind(et),h.Xv.HandleCodeResponseFromServer,V.logger,V.performanceClient,B.correlationId)({code:B.code,msgraph_host:B.msGraphHost,cloud_graph_host_name:B.cloudGraphHostName,cloud_instance_host_name:B.cloudInstanceHostName},ue,!1)}catch(Ie){throw Ie instanceof M.WM&&(Ie.setCorrelationId(V.correlationId),Ne.cacheFailedRequest(Ie)),Ie}})()}logout(){return Promise.reject((0,Pe.Wq)(Re.silentLogoutUnsupported))}}var wr=o(85288);class Yn{constructor(B){this.atsAsyncMeasurement=void 0,this.operatingContext=B,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=B.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new i.A(this.logger,this.performanceClient):d.K,this.eventHandler=new Y.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new q.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function L(un){const B=un.cloudDiscoveryMetadata;let V;if(B)try{V=JSON.parse(B)}catch{throw(0,b.QN)(T.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:un.authority?I(un.authority):void 0,knownAuthorities:un.knownAuthorities,cloudDiscoveryMetadata:V}}(this.config.auth)):(0,q.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new q.Y(this.config.auth.clientId,{cacheLocation:X.Ir.MemoryStorage,temporaryCacheLocation:X.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new zn(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}static createController(B){return(0,n.c)(function*(){const V=new Yn(B);return yield V.initialize(),V})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var B=this;return(0,n.c)(function*(){if(B.logger.trace("initialize called"),B.initialized)return void B.logger.info("initialize has already been called, exiting early.");const V=B.config.system.allowNativeBroker,ue=B.performanceClient.startMeasurement(h.Xv.InitializeClientApplication);if(B.eventHandler.emitEvent(K.W.INITIALIZE_START),V)try{B.nativeExtensionProvider=yield vr.createProvider(B.logger,B.config.system.nativeBrokerHandshakeTimeout,B.performanceClient)}catch(Ne){B.logger.verbose(Ne)}B.config.cache.claimsBasedCachingEnabled||(B.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,C.C)(B.browserStorage.clearTokensAndKeysWithClaims.bind(B.browserStorage),h.Xv.ClearTokensAndKeysWithClaims,B.logger,B.performanceClient)(B.performanceClient)),B.initialized=!0,B.eventHandler.emitEvent(K.W.INITIALIZE_END),ue.end({allowNativeBroker:V,success:!0})})()}handleRedirectPromise(B){var V=this;return(0,n.c)(function*(){V.logger.verbose("handleRedirectPromise called"),(0,ce.blockAPICallsBeforeInitialize)(V.initialized);const ue=V.getAllAccounts();if(V.isBrowserEnvironment){const Ne=B||"";let Ie=V.redirectResponse.get(Ne);if(typeof Ie>"u"){const me=V.browserStorage.getCachedNativeRequest(),Te=me&&vr.isNativeAvailable(V.config,V.logger,V.nativeExtensionProvider)&&V.nativeExtensionProvider&&!B,et=Te?me?.correlationId:V.browserStorage.getTemporaryCache(X.zH.CORRELATION_ID,!0)||"",_t=V.performanceClient.startMeasurement("acquireTokenRedirect",et);let At;if(V.eventHandler.emitEvent(K.W.HANDLE_REDIRECT_START,X.wV.Redirect),V.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),Te&&V.nativeExtensionProvider){V.logger.trace("handleRedirectPromise - acquiring token from native platform");const Nt=new oi(V.config,V.browserStorage,V.browserCrypto,V.logger,V.eventHandler,V.navigationClient,X.Ed.handleRedirectPromise,V.performanceClient,V.nativeExtensionProvider,me.accountId,V.nativeInternalStorage,me.correlationId);At=(0,C.C)(Nt.handleRedirectPromise.bind(Nt),h.Xv.HandleNativeRedirectPromiseMeasurement,V.logger,V.performanceClient,_t.event.correlationId)(V.performanceClient,_t.event.correlationId)}else{V.logger.trace("handleRedirectPromise - acquiring token from web flow");const Nt=V.createRedirectClient(et);At=(0,C.C)(Nt.handleRedirectPromise.bind(Nt),h.Xv.HandleRedirectPromiseMeasurement,V.logger,V.performanceClient,_t.event.correlationId)(B,V.performanceClient,_t.event.correlationId)}Ie=At.then(Nt=>(Nt&&(ue.length{const Jt=Nt;throw V.eventHandler.emitEvent(ue.length>0?K.W.ACQUIRE_TOKEN_FAILURE:K.W.LOGIN_FAILURE,X.wV.Redirect,null,Jt),V.eventHandler.emitEvent(K.W.HANDLE_REDIRECT_END,X.wV.Redirect),_t.end(Jt instanceof M.WM?{success:!1,errorCode:Jt.errorCode,subErrorCode:Jt.subError}:{success:!1}),Nt}),V.redirectResponse.set(Ne,Ie)}else V.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return Ie}return V.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B);V.logger.verbose("acquireTokenRedirect called",ue),V.preflightBrowserEnvironmentCheck(X.wV.Redirect);const Ne=V.getAllAccounts().length>0;let Ie;return V.eventHandler.emitEvent(Ne?K.W.ACQUIRE_TOKEN_START:K.W.LOGIN_START,X.wV.Redirect,B),Ie=V.nativeExtensionProvider&&V.canUseNative(B)?new oi(V.config,V.browserStorage,V.browserCrypto,V.logger,V.eventHandler,V.navigationClient,X.Ed.acquireTokenRedirect,V.performanceClient,V.nativeExtensionProvider,V.getNativeAccountId(B),V.nativeInternalStorage,ue).acquireTokenRedirect(B).catch(Te=>{if(Te instanceof nn&&tr(Te))return V.nativeExtensionProvider=void 0,V.createRedirectClient(ue).acquireToken(B);if(Te instanceof O.uw)return V.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),V.createRedirectClient(ue).acquireToken(B);throw V.getBrowserStorage().setInteractionInProgress(!1),Te}):V.createRedirectClient(ue).acquireToken(B),Ie.catch(me=>{throw V.eventHandler.emitEvent(Ne?K.W.ACQUIRE_TOKEN_FAILURE:K.W.LOGIN_FAILURE,X.wV.Redirect,null,me),me})})()}acquireTokenPopup(B){const V=this.getRequestCorrelationId(B),ue=this.performanceClient.startMeasurement(h.Xv.AcquireTokenPopup,V);try{this.logger.verbose("acquireTokenPopup called",V),this.preflightBrowserEnvironmentCheck(X.wV.Popup)}catch(me){return Promise.reject(me)}const Ne=this.getAllAccounts();let Ie;return this.eventHandler.emitEvent(Ne.length>0?K.W.ACQUIRE_TOKEN_START:K.W.LOGIN_START,X.wV.Popup,B),Ie=this.canUseNative(B)?this.acquireTokenNative({...B,correlationId:V},X.Ed.acquireTokenPopup).then(me=>(this.getBrowserStorage().setInteractionInProgress(!1),ue.end({success:!0,isNativeBroker:!0,requestId:me.requestId}),me)).catch(me=>{if(me instanceof nn&&tr(me))return this.nativeExtensionProvider=void 0,this.createPopupClient(V).acquireToken(B);if(me instanceof O.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(V).acquireToken(B);throw this.getBrowserStorage().setInteractionInProgress(!1),me}):this.createPopupClient(V).acquireToken(B),Ie.then(me=>(Ne.length(this.eventHandler.emitEvent(Ne.length>0?K.W.ACQUIRE_TOKEN_FAILURE:K.W.LOGIN_FAILURE,X.wV.Popup,null,me),ue.end({errorCode:me.errorCode,subErrorCode:me.subError,success:!1}),Promise.reject(me)))}trackPageVisibilityWithMeasurement(){const B=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;B&&(this.logger.info("Perf: Visibility change detected in ",B.event.name),B.increment({visibilityChangeCount:1}))}ssoSilent(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B),Ne={...B,prompt:B.prompt,correlationId:ue};let Ie;return V.preflightBrowserEnvironmentCheck(X.wV.Silent),V.ssoSilentMeasurement=V.performanceClient.startMeasurement(h.Xv.SsoSilent,ue),V.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",V.trackPageVisibilityWithMeasurement),V.logger.verbose("ssoSilent called",ue),V.eventHandler.emitEvent(K.W.SSO_SILENT_START,X.wV.Silent,Ne),Ie=V.canUseNative(Ne)?V.acquireTokenNative(Ne,X.Ed.ssoSilent).catch(me=>{if(me instanceof nn&&tr(me))return V.nativeExtensionProvider=void 0,V.createSilentIframeClient(Ne.correlationId).acquireToken(Ne);throw me}):V.createSilentIframeClient(Ne.correlationId).acquireToken(Ne),Ie.then(me=>(V.eventHandler.emitEvent(K.W.SSO_SILENT_SUCCESS,X.wV.Silent,me),V.ssoSilentMeasurement?.add({accessTokenSize:me.accessToken.length,idTokenSize:me.idToken.length}),V.ssoSilentMeasurement?.end({success:!0,isNativeBroker:me.fromNativeBroker,requestId:me.requestId}),me)).catch(me=>{throw V.eventHandler.emitEvent(K.W.SSO_SILENT_FAILURE,X.wV.Silent,null,me),V.ssoSilentMeasurement?.end({errorCode:me.errorCode,subErrorCode:me.subError,success:!1}),me}).finally(()=>{document.removeEventListener("visibilitychange",V.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B);V.preflightBrowserEnvironmentCheck(X.wV.Silent),V.logger.trace("acquireTokenByCode called",ue),V.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_BY_CODE_START,X.wV.Silent,B);const Ne=V.performanceClient.startMeasurement(h.Xv.AcquireTokenByCode,ue);try{if(B.code&&B.nativeAccountId)throw(0,Pe.Wq)(Re.spaCodeAndNativeAccountIdPresent);if(B.code){const Ie=B.code;let me=V.hybridAuthCodeResponses.get(Ie);return me?(V.logger.verbose("Existing acquireTokenByCode request found",ue),Ne.discard()):(V.logger.verbose("Initiating new acquireTokenByCode request",ue),me=V.acquireTokenByCodeAsync({...B,correlationId:ue}).then(Te=>(V.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,X.wV.Silent,Te),V.hybridAuthCodeResponses.delete(Ie),Ne.add({accessTokenSize:Te.accessToken.length,idTokenSize:Te.idToken.length}),Ne.end({success:!0,isNativeBroker:Te.fromNativeBroker,requestId:Te.requestId}),Te)).catch(Te=>{throw V.hybridAuthCodeResponses.delete(Ie),V.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,X.wV.Silent,null,Te),Ne.end({errorCode:Te.errorCode,subErrorCode:Te.subError,success:!1}),Te}),V.hybridAuthCodeResponses.set(Ie,me)),yield me}if(B.nativeAccountId){if(V.canUseNative(B,B.nativeAccountId))return yield V.acquireTokenNative({...B,correlationId:ue},X.Ed.acquireTokenByCode,B.nativeAccountId).catch(Ie=>{throw Ie instanceof nn&&tr(Ie)&&(V.nativeExtensionProvider=void 0),Ie});throw(0,Pe.Wq)(Re.unableToAcquireTokenFromNativePlatform)}throw(0,Pe.Wq)(Re.authCodeOrNativeAccountIdRequired)}catch(Ie){throw V.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,X.wV.Silent,null,Ie),Ne.end({errorCode:Ie instanceof M.WM&&Ie.errorCode||void 0,subErrorCode:Ie instanceof M.WM&&Ie.subError||void 0,success:!1}),Ie}})()}acquireTokenByCodeAsync(B){var V=this;return(0,n.c)(function*(){return V.logger.trace("acquireTokenByCodeAsync called",B.correlationId),V.acquireTokenByCodeAsyncMeasurement=V.performanceClient.startMeasurement(h.Xv.AcquireTokenByCodeAsync,B.correlationId),V.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",V.trackPageVisibilityWithMeasurement),yield V.createSilentAuthCodeClient(B.correlationId).acquireToken(B).then(Ie=>(V.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:Ie.fromCache,isNativeBroker:Ie.fromNativeBroker,requestId:Ie.requestId}),Ie)).catch(Ie=>{throw V.acquireTokenByCodeAsyncMeasurement?.end({errorCode:Ie.errorCode,subErrorCode:Ie.subError,success:!1}),Ie}).finally(()=>{document.removeEventListener("visibilitychange",V.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(B,V,ue){var Ne=this;return(0,n.c)(function*(){switch(Ne.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenFromCache,V.correlationId),ue){case X.wd.Default:case X.wd.AccessToken:case X.wd.AccessTokenAndRefreshToken:return(0,C.C)(B.acquireToken.bind(B),h.Xv.SilentCacheClientAcquireToken,Ne.logger,Ne.performanceClient,V.correlationId)(V);default:throw(0,c.mQ)(A.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(B,V){var ue=this;return(0,n.c)(function*(){switch(ue.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenByRefreshToken,B.correlationId),V){case X.wd.Default:case X.wd.AccessTokenAndRefreshToken:case X.wd.RefreshToken:case X.wd.RefreshTokenAndNetwork:const Ne=ue.createSilentRefreshClient(B.correlationId);return(0,C.C)(Ne.acquireToken.bind(Ne),h.Xv.SilentRefreshClientAcquireToken,ue.logger,ue.performanceClient,B.correlationId)(B);default:throw(0,c.mQ)(A.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(B){var V=this;return(0,n.c)(function*(){V.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenBySilentIframe,B.correlationId);const ue=V.createSilentIframeClient(B.correlationId);return(0,C.C)(ue.acquireToken.bind(ue),h.Xv.SilentIframeClientAcquireToken,V.logger,V.performanceClient,B.correlationId)(B)})()}logout(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B);return V.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",ue),V.logoutRedirect({correlationId:ue,...B})})()}logoutRedirect(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B);return V.preflightBrowserEnvironmentCheck(X.wV.Redirect),V.createRedirectClient(ue).logout(B)})()}logoutPopup(B){try{const V=this.getRequestCorrelationId(B);return this.preflightBrowserEnvironmentCheck(X.wV.Popup),this.createPopupClient(V).logout(B)}catch(V){return Promise.reject(V)}}clearCache(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B);return V.createSilentCacheClient(ue).logout(B)})()}getAllAccounts(B){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(B):[]}getAccount(B){if(this.logger.trace("getAccount called"),0===Object.keys(B).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const V=this.browserStorage.getAccountInfoFilteredBy(B);return V?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),V):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(B){if(this.logger.trace("getAccountByUsername called"),!B)return this.logger.warning("getAccountByUsername: No username provided"),null;const V=this.browserStorage.getAccountInfoFilteredBy({username:B});return V?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${B}`),V):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(B){if(this.logger.trace("getAccountByHomeId called"),!B)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const V=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:B});return V?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${B}`),V):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(B){if(this.logger.trace("getAccountByLocalId called"),!B)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const V=this.browserStorage.getAccountInfoFilteredBy({localAccountId:B});return V?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${B}`),V):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(B){this.browserStorage.setActiveAccount(B)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(B,V){var ue=this;return(0,n.c)(function*(){ue.logger.verbose("hydrateCache called");const Ne=z.M.createFromAccountInfo(B.account,B.cloudGraphHostName,B.msGraphHost);return ue.browserStorage.setAccount(Ne),B.fromNativeBroker?(ue.logger.verbose("Response was from native broker, storing in-memory"),ue.nativeInternalStorage.hydrateCache(B,V)):ue.browserStorage.hydrateCache(B,V)})()}preflightBrowserEnvironmentCheck(B,V=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,ce.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,ce.blockRedirectInIframe)(B,this.config.system.allowRedirectInIframe),(0,ce.blockReloadInHiddenIframes)(),(0,ce.blockAcquireTokenInPopups)(),(0,ce.blockAPICallsBeforeInitialize)(this.initialized),B===X.wV.Redirect&&this.config.cache.cacheLocation===X.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,ne.cf)(wr.inMemRedirectUnavailable);(B===X.wV.Redirect||B===X.wV.Popup)&&this.preflightInteractiveRequest(!V)}preflightInteractiveRequest(B){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,ce.blockReloadInHiddenIframes)(),B&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(B,V,ue){var Ne=this;return(0,n.c)(function*(){if(Ne.logger.trace("acquireTokenNative called"),!Ne.nativeExtensionProvider)throw(0,Pe.Wq)(Re.nativeConnectionNotEstablished);return new oi(Ne.config,Ne.browserStorage,Ne.browserCrypto,Ne.logger,Ne.eventHandler,Ne.navigationClient,V,Ne.performanceClient,Ne.nativeExtensionProvider,ue||Ne.getNativeAccountId(B),Ne.nativeInternalStorage,B.correlationId).acquireToken(B)})()}canUseNative(B,V){if(this.logger.trace("canUseNative called"),!vr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,B.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(B.prompt)switch(B.prompt){case l.GI.NONE:case l.GI.CONSENT:case l.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${B.prompt} is not compatible with native flow, returning false`),!1}return!(!V&&!this.getNativeAccountId(B)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(B){const V=B.account||this.getAccount({loginHint:B.loginHint,sid:B.sid})||this.getActiveAccount();return V&&V.nativeAccountId||""}createPopupClient(B){return new en(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,B)}createRedirectClient(B){return new Zn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,B)}createSilentIframeClient(B){return new En(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,X.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,B)}createSilentCacheClient(B){return new _r(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,B)}createSilentRefreshClient(B){return new Xn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,B)}createSilentAuthCodeClient(B){return new Ar(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,X.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,B)}addEventCallback(B){return this.eventHandler.addEventCallback(B)}removeEventCallback(B){this.eventHandler.removeEventCallback(B)}addPerformanceCallback(B){return this.performanceClient.addPerformanceCallback(B)}removePerformanceCallback(B){return this.performanceClient.removePerformanceCallback(B)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(B){this.logger=B}initializeWrapperLibrary(B,V){this.browserStorage.setWrapperMetadata(B,V)}setNavigationClient(B){this.navigationClient=B}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(B){return B?.correlationId?B.correlationId:this.isBrowserEnvironment?(0,Ue.E5)():l.Mv.EMPTY_STRING}loginRedirect(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B);return V.logger.verbose("loginRedirect called",ue),V.acquireTokenRedirect({correlationId:ue,...B||X.wv})})()}loginPopup(B){const V=this.getRequestCorrelationId(B);return this.logger.verbose("loginPopup called",V),this.acquireTokenPopup({correlationId:V,...B||X.wv})}acquireTokenSilent(B){var V=this;return(0,n.c)(function*(){const ue=V.getRequestCorrelationId(B),Ne=V.performanceClient.startMeasurement(h.Xv.AcquireTokenSilent,ue);Ne.add({cacheLookupPolicy:B.cacheLookupPolicy}),V.preflightBrowserEnvironmentCheck(X.wV.Silent),V.logger.verbose("acquireTokenSilent called",ue);const Ie=B.account||V.getActiveAccount();if(!Ie)throw(0,Pe.Wq)(Re.noAccountError);const Te=JSON.stringify({clientId:V.config.auth.clientId,authority:B.authority||l.Mv.EMPTY_STRING,scopes:B.scopes,homeAccountIdentifier:Ie.homeAccountId,claims:B.claims,authenticationScheme:B.authenticationScheme,resourceRequestMethod:B.resourceRequestMethod,resourceRequestUri:B.resourceRequestUri,shrClaims:B.shrClaims,sshKid:B.sshKid,shrOptions:B.shrOptions}),et=V.activeSilentTokenRequests.get(Te);if(typeof et>"u"){V.logger.verbose("acquireTokenSilent called for the first time, storing active request",ue);const _t=(0,C.C)(V.acquireTokenSilentAsync.bind(V),h.Xv.AcquireTokenSilentAsync,V.logger,V.performanceClient,ue)({...B,correlationId:ue},Ie).then(At=>(V.activeSilentTokenRequests.delete(Te),Ne.add({accessTokenSize:At.accessToken.length,idTokenSize:At.idToken.length}),Ne.end({success:!0,fromCache:At.fromCache,isNativeBroker:At.fromNativeBroker,cacheLookupPolicy:B.cacheLookupPolicy,requestId:At.requestId}),At)).catch(At=>{throw V.activeSilentTokenRequests.delete(Te),Ne.end({errorCode:At.errorCode,subErrorCode:At.subError,success:!1}),At});return V.activeSilentTokenRequests.set(Te,_t),{...yield _t,state:B.state}}return V.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",ue),Ne.discard(),{...yield et,state:B.state}})()}acquireTokenSilentAsync(B,V){var ue=this;return(0,n.c)(function*(){let Ne;if(ue.performanceClient.addQueueMeasurement(h.Xv.AcquireTokenSilentAsync,B.correlationId),ue.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_START,X.wV.Silent,B),ue.atsAsyncMeasurement=ue.performanceClient.startMeasurement(h.Xv.AcquireTokenSilentAsync,B.correlationId),ue.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",ue.trackPageVisibility),vr.isNativeAvailable(ue.config,ue.logger,ue.nativeExtensionProvider,B.authenticationScheme)&&V.nativeAccountId){ue.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const Ie={...B,account:V};Ne=ue.acquireTokenNative(Ie,X.Ed.acquireTokenSilent_silentFlow).catch(function(){var me=(0,n.c)(function*(Te){if(Te instanceof nn&&tr(Te))return ue.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),ue.nativeExtensionProvider=void 0,ue.createSilentIframeClient(B.correlationId).acquireToken(B);throw Te});return function(Te){return me.apply(this,arguments)}}())}else{ue.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const Ie=ue.createSilentCacheClient(B.correlationId),me=yield(0,C.C)(Ie.initializeSilentRequest.bind(Ie),h.Xv.InitializeSilentRequest,ue.logger,ue.performanceClient,B.correlationId)(B,V),Te=B.cacheLookupPolicy||X.wd.Default;Ne=(0,C.C)(ue.acquireTokenFromCache.bind(ue),h.Xv.AcquireTokenFromCache,ue.logger,ue.performanceClient,me.correlationId)(Ie,me,Te).catch(et=>{if(B.cacheLookupPolicy===X.wd.AccessToken)throw et;return(0,ce.blockReloadInHiddenIframes)(),ue.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_NETWORK_START,X.wV.Silent,me),(0,C.C)(ue.acquireTokenByRefreshToken.bind(ue),h.Xv.AcquireTokenByRefreshToken,ue.logger,ue.performanceClient,me.correlationId)(me,Te).catch(_t=>{if(function di(un,B,V){const Ie=!(un instanceof O.uw&&un.subError!==F.badToken)&&(un.errorCode===X.ig.INVALID_GRANT_ERROR||un.errorCode===A.tokenRefreshRequired)||un.errorCode===F.noTokensFound||un.errorCode===F.refreshTokenExpired,me=X.a.includes(V);return Ie&&me}(_t,0,Te))return ue.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",me.correlationId),(0,C.C)(ue.acquireTokenBySilentIframe.bind(ue),h.Xv.AcquireTokenBySilentIframe,ue.logger,ue.performanceClient,me.correlationId)(me);throw _t})})}return Ne.then(Ie=>(ue.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_SUCCESS,X.wV.Silent,Ie),ue.atsAsyncMeasurement?.end({success:!0,fromCache:Ie.fromCache,isNativeBroker:Ie.fromNativeBroker,requestId:Ie.requestId}),Ie)).catch(Ie=>{throw ue.eventHandler.emitEvent(K.W.ACQUIRE_TOKEN_FAILURE,X.wV.Silent,null,Ie),ue.atsAsyncMeasurement?.end({errorCode:Ie.errorCode,subErrorCode:Ie.subError,success:!1}),Ie}).finally(()=>{document.removeEventListener("visibilitychange",ue.trackPageVisibility)})})()}}},27880:(ve,f,o)=>{"use strict";o.d(f,{E5:()=>M,G0:()=>E,IT:()=>C,YD:()=>m,_k:()=>N,eY:()=>y,em:()=>T,kq:()=>L});var n=o(1528),i=o(4792),d=o(85348),u=o(26956),a=o(32828);const c="SHA-256",g=new Uint8Array([1,0,1]),b="0123456789abcdef",_=new Uint32Array(1),S={name:"RSASSA-PKCS1-v1_5",hash:c,modulusLength:2048,publicExponent:g};function y(z){if(!("crypto"in window))throw z.error("BrowserCrypto: crypto interface is unavailable"),(0,i.Wq)(a.cryptoNonExistent);z.verbose("BrowserCrypto: modern crypto interface available")}function m(z,F,q){return h.apply(this,arguments)}function h(){return(h=(0,n.c)(function*(z,F,q){F?.addQueueMeasurement(d.Xv.Sha256Digest,q);const ce=(new TextEncoder).encode(z);return window.crypto.subtle.digest(c,ce)})).apply(this,arguments)}function C(z){return window.crypto.getRandomValues(z)}function v(){return window.crypto.getRandomValues(_),_[0]}function M(){const z=Date.now(),F=1024*v()+(1023&v()),q=new Uint8Array(16),X=Math.trunc(F/2**30),ce=F&2**30-1,K=v();q[0]=z/2**40,q[1]=z/2**32,q[2]=z/2**24,q[3]=z/65536,q[4]=z/256,q[5]=z,q[6]=112|X>>>8,q[7]=X,q[8]=128|ce>>>24,q[9]=ce>>>16,q[10]=ce>>>8,q[11]=ce,q[12]=K>>>24,q[13]=K>>>16,q[14]=K>>>8,q[15]=K;let ne="";for(let Y=0;Y>>4),ne+=b.charAt(15&q[Y]),(3===Y||5===Y||7===Y||9===Y)&&(ne+="-");return ne}function E(z,F){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(z,F){return window.crypto.subtle.generateKey(S,z,F)})).apply(this,arguments)}function T(z){return R.apply(this,arguments)}function R(){return(R=(0,n.c)(function*(z){return window.crypto.subtle.exportKey(u.eG,z)})).apply(this,arguments)}function N(z,F,q){return I.apply(this,arguments)}function I(){return(I=(0,n.c)(function*(z,F,q){return window.crypto.subtle.importKey(u.eG,z,S,F,q)})).apply(this,arguments)}function L(z,F){return O.apply(this,arguments)}function O(){return(O=(0,n.c)(function*(z,F){return window.crypto.subtle.sign(S,z,F)})).apply(this,arguments)}},7184:(ve,f,o)=>{"use strict";o.d(f,{A:()=>R});var n=o(1528),i=o(85348),d=o(66936);const u="missing_kid_error",a="missing_alg_error",e={[u]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[a]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class c extends d.WM{constructor(L,O){super(L,O),this.name="JoseHeaderError",Object.setPrototypeOf(this,c.prototype)}}function l(I){return new c(I,e[I])}var g=o(34739);class b{constructor(L){this.typ=L.typ,this.alg=L.alg,this.kid=L.kid}static getShrHeaderString(L){if(!L.kid)throw l(u);if(!L.alg)throw l(a);const O=new b({typ:L.typ||g.Gu.Pop,kid:L.kid,alg:L.alg});return JSON.stringify(O)}}var _=o(37988),S=o(55084),y=o(27880),m=o(4792),h=o(26956),C=o(32828);class v{constructor(){this.dbName=h.f6,this.version=h.gV,this.tableName=h.eQ,this.dbOpen=!1}open(){var L=this;return(0,n.c)(function*(){return new Promise((O,z)=>{const F=window.indexedDB.open(L.dbName,L.version);F.addEventListener("upgradeneeded",q=>{q.target.result.createObjectStore(L.tableName)}),F.addEventListener("success",q=>{L.db=q.target.result,L.dbOpen=!0,O()}),F.addEventListener("error",()=>z((0,m.Wq)(C.databaseUnavailable)))})})()}closeConnection(){const L=this.db;L&&this.dbOpen&&(L.close(),this.dbOpen=!1)}validateDbIsOpen(){var L=this;return(0,n.c)(function*(){if(!L.dbOpen)return L.open()})()}getItem(L){var O=this;return(0,n.c)(function*(){return yield O.validateDbIsOpen(),new Promise((z,F)=>{if(!O.db)return F((0,m.Wq)(C.databaseNotOpen));const ce=O.db.transaction([O.tableName],"readonly").objectStore(O.tableName).get(L);ce.addEventListener("success",K=>{const ne=K;O.closeConnection(),z(ne.target.result)}),ce.addEventListener("error",K=>{O.closeConnection(),F(K)})})})()}setItem(L,O){var z=this;return(0,n.c)(function*(){return yield z.validateDbIsOpen(),new Promise((F,q)=>{if(!z.db)return q((0,m.Wq)(C.databaseNotOpen));const K=z.db.transaction([z.tableName],"readwrite").objectStore(z.tableName).put(O,L);K.addEventListener("success",()=>{z.closeConnection(),F()}),K.addEventListener("error",ne=>{z.closeConnection(),q(ne)})})})()}removeItem(L){var O=this;return(0,n.c)(function*(){return yield O.validateDbIsOpen(),new Promise((z,F)=>{if(!O.db)return F((0,m.Wq)(C.databaseNotOpen));const ce=O.db.transaction([O.tableName],"readwrite").objectStore(O.tableName).delete(L);ce.addEventListener("success",()=>{O.closeConnection(),z()}),ce.addEventListener("error",K=>{O.closeConnection(),F(K)})})})()}getKeys(){var L=this;return(0,n.c)(function*(){return yield L.validateDbIsOpen(),new Promise((O,z)=>{if(!L.db)return z((0,m.Wq)(C.databaseNotOpen));const X=L.db.transaction([L.tableName],"readonly").objectStore(L.tableName).getAllKeys();X.addEventListener("success",ce=>{const K=ce;L.closeConnection(),O(K.target.result)}),X.addEventListener("error",ce=>{L.closeConnection(),z(ce)})})})()}containsKey(L){var O=this;return(0,n.c)(function*(){return yield O.validateDbIsOpen(),new Promise((z,F)=>{if(!O.db)return F((0,m.Wq)(C.databaseNotOpen));const ce=O.db.transaction([O.tableName],"readonly").objectStore(O.tableName).count(L);ce.addEventListener("success",K=>{const ne=K;O.closeConnection(),z(1===ne.target.result)}),ce.addEventListener("error",K=>{O.closeConnection(),F(K)})})})()}deleteDatabase(){var L=this;return(0,n.c)(function*(){return L.db&&L.dbOpen&&L.closeConnection(),new Promise((O,z)=>{const F=window.indexedDB.deleteDatabase(h.f6);F.addEventListener("success",()=>O(!0)),F.addEventListener("blocked",()=>O(!0)),F.addEventListener("error",()=>z(!1))})})()}}var M=o(61744);class E{constructor(L,O){this.inMemoryCache=new M.W,this.indexedDBCache=new v,this.logger=L,this.storeName=O}handleDatabaseAccessError(L){if(!(L instanceof m.G&&L.errorCode===C.databaseUnavailable))throw L;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}getItem(L){var O=this;return(0,n.c)(function*(){const z=O.inMemoryCache.getItem(L);if(!z)try{return O.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield O.indexedDBCache.getItem(L)}catch(F){O.handleDatabaseAccessError(F)}return z})()}setItem(L,O){var z=this;return(0,n.c)(function*(){z.inMemoryCache.setItem(L,O);try{yield z.indexedDBCache.setItem(L,O)}catch(F){z.handleDatabaseAccessError(F)}})()}removeItem(L){var O=this;return(0,n.c)(function*(){O.inMemoryCache.removeItem(L);try{yield O.indexedDBCache.removeItem(L)}catch(z){O.handleDatabaseAccessError(z)}})()}getKeys(){var L=this;return(0,n.c)(function*(){const O=L.inMemoryCache.getKeys();if(0===O.length)try{return L.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield L.indexedDBCache.getKeys()}catch(z){L.handleDatabaseAccessError(z)}return O})()}containsKey(L){var O=this;return(0,n.c)(function*(){const z=O.inMemoryCache.containsKey(L);if(!z)try{return O.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield O.indexedDBCache.containsKey(L)}catch(F){O.handleDatabaseAccessError(F)}return z})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var L=this;return(0,n.c)(function*(){try{L.logger.verbose("Deleting persistent keystore");const O=yield L.indexedDBCache.deleteDatabase();return O&&L.logger.verbose("Persistent keystore deleted"),O}catch(O){return L.handleDatabaseAccessError(O),!1}})()}}class T{constructor(L){this.logger=L,this.asymmetricKeys=new E(this.logger,"asymmetricKeys"),this.symmetricKeys=new E(this.logger,"symmetricKeys")}clear(){var L=this;return(0,n.c)(function*(){L.asymmetricKeys.clearInMemory(),L.symmetricKeys.clearInMemory();try{return yield L.asymmetricKeys.clearPersistent(),!0}catch(O){return O instanceof Error?L.logger.error(`Clearing keystore failed with error: ${O.message}`):L.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let R=(()=>{class I{constructor(O,z){this.logger=O,(0,y.eY)(O),this.cache=new T(this.logger),this.performanceClient=z}createNewGuid(){return(0,y.E5)()}base64Encode(O){return(0,_.c9)(O)}base64Decode(O){return(0,S.W)(O)}getPublicKeyThumbprint(O){var z=this;return(0,n.c)(function*(){const F=z.performanceClient?.startMeasurement(i.Xv.CryptoOptsGetPublicKeyThumbprint,O.correlationId),q=yield(0,y.G0)(I.EXTRACTABLE,I.POP_KEY_USAGES),X=yield(0,y.em)(q.publicKey),K=N({e:X.e,kty:X.kty,n:X.n}),ne=yield z.hashString(K),Y=yield(0,y.em)(q.privateKey),H=yield(0,y._k)(Y,!1,["sign"]);return yield z.cache.asymmetricKeys.setItem(ne,{privateKey:H,publicKey:q.publicKey,requestMethod:O.resourceRequestMethod,requestUri:O.resourceRequestUri}),F&&F.end({success:!0}),ne})()}removeTokenBindingKey(O){var z=this;return(0,n.c)(function*(){return yield z.cache.asymmetricKeys.removeItem(O),!(yield z.cache.asymmetricKeys.containsKey(O))})()}clearKeystore(){var O=this;return(0,n.c)(function*(){return O.cache.clear()})()}signJwt(O,z,F,q){var X=this;return(0,n.c)(function*(){const ce=X.performanceClient?.startMeasurement(i.Xv.CryptoOptsSignJwt,q),K=yield X.cache.asymmetricKeys.getItem(z);if(!K)throw(0,m.Wq)(C.cryptoKeyNotFound);const ne=yield(0,y.em)(K.publicKey),Y=N(ne),H=(0,_.OW)(JSON.stringify({kid:z})),ae=b.getShrHeaderString({...F?.header,alg:ne.alg,kid:H}),re=(0,_.OW)(ae);O.cnf={jwk:JSON.parse(Y)};const ee=`${re}.${(0,_.OW)(JSON.stringify(O))}`,G=(new TextEncoder).encode(ee),de=yield(0,y.kq)(K.privateKey,G),Ae=`${ee}.${(0,_.gV)(new Uint8Array(de))}`;return ce&&ce.end({success:!0}),Ae})()}hashString(O){return(0,n.c)(function*(){const z=yield(0,y.YD)(O),F=new Uint8Array(z);return(0,_.gV)(F)})()}}return I.POP_KEY_USAGES=["sign","verify"],I.EXTRACTABLE=!0,I})();function N(I){return JSON.stringify(I,Object.keys(I).sort())}},55084:(ve,f,o)=>{"use strict";o.d(f,{W:()=>d});var n=o(4792),i=o(32828);function d(a){return(new TextDecoder).decode(function u(a){let e=a.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(i.invalidBase64String)}const c=atob(e);return Uint8Array.from(c,l=>l.codePointAt(0)||0)}(a))}},37988:(ve,f,o)=>{"use strict";function n(a){return encodeURIComponent(d(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function i(a){return u(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(a){return u((new TextEncoder).encode(a))}function u(a){const e=Array.from(a,c=>String.fromCodePoint(c)).join("");return btoa(e)}o.d(f,{OW:()=>n,c9:()=>d,gV:()=>i})},4792:(ve,f,o)=>{"use strict";o.d(f,{G:()=>e,Wq:()=>c,aC:()=>a});var n=o(66936),i=o(32828);const d="For more visit: aka.ms/msaljs/browser-errors",u={[i.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[i.cryptoNonExistent]:"The crypto object or function is not available.",[i.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[i.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${d}`,[i.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[i.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${d}`,[i.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[i.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[i.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${d}`,[i.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[i.emptyWindowError]:"window.open returned null or undefined window object.",[i.userCancelled]:"User cancelled the flow.",[i.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${d}`,[i.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${d}`,[i.redirectInIframe]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[i.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${d}`,[i.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[i.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[i.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[i.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[i.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[i.noTokenRequestCacheError]:"No token request found in cache.",[i.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[i.noCachedAuthorityError]:"No cached authority found.",[i.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[i.invalidCacheType]:"Invalid cache type",[i.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[i.databaseNotOpen]:"Database is not open!",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.postRequestFailed]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[i.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[i.failedToParseResponse]:"Failed to parse network response. Check network trace.",[i.unableToLoadToken]:"Error loading token to cache.",[i.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[i.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[i.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[i.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[i.databaseUnavailable]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[i.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${d}`,[i.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[i.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[i.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${d}`,[i.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${d}`,[i.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[i.invalidBase64String]:"Invalid base64 encoded string."},a={pkceNotGenerated:{code:i.pkceNotCreated,desc:u[i.pkceNotCreated]},cryptoDoesNotExist:{code:i.cryptoNonExistent,desc:u[i.cryptoNonExistent]},emptyNavigateUriError:{code:i.emptyNavigateUri,desc:u[i.emptyNavigateUri]},hashEmptyError:{code:i.hashEmptyError,desc:u[i.hashEmptyError]},hashDoesNotContainStateError:{code:i.noStateInHash,desc:u[i.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:i.hashDoesNotContainKnownProperties,desc:u[i.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:i.unableToParseState,desc:u[i.unableToParseState]},stateInteractionTypeMismatchError:{code:i.stateInteractionTypeMismatch,desc:u[i.stateInteractionTypeMismatch]},interactionInProgress:{code:i.interactionInProgress,desc:u[i.interactionInProgress]},popupWindowError:{code:i.popupWindowError,desc:u[i.popupWindowError]},emptyWindowError:{code:i.emptyWindowError,desc:u[i.emptyWindowError]},userCancelledError:{code:i.userCancelled,desc:u[i.userCancelled]},monitorPopupTimeoutError:{code:i.monitorPopupTimeout,desc:u[i.monitorPopupTimeout]},monitorIframeTimeoutError:{code:i.monitorWindowTimeout,desc:u[i.monitorWindowTimeout]},redirectInIframeError:{code:i.redirectInIframe,desc:u[i.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:i.blockIframeReload,desc:u[i.blockIframeReload]},blockAcquireTokenInPopupsError:{code:i.blockNestedPopups,desc:u[i.blockNestedPopups]},iframeClosedPrematurelyError:{code:i.iframeClosedPrematurely,desc:u[i.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:i.silentLogoutUnsupported,desc:u[i.silentLogoutUnsupported]},noAccountError:{code:i.noAccountError,desc:u[i.noAccountError]},silentPromptValueError:{code:i.silentPromptValueError,desc:u[i.silentPromptValueError]},noTokenRequestCacheError:{code:i.noTokenRequestCacheError,desc:u[i.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:i.unableToParseTokenRequestCacheError,desc:u[i.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:i.noCachedAuthorityError,desc:u[i.noCachedAuthorityError]},authRequestNotSet:{code:i.authRequestNotSetError,desc:u[i.authRequestNotSetError]},invalidCacheType:{code:i.invalidCacheType,desc:u[i.invalidCacheType]},notInBrowserEnvironment:{code:i.nonBrowserEnvironment,desc:u[i.nonBrowserEnvironment]},databaseNotOpen:{code:i.databaseNotOpen,desc:u[i.databaseNotOpen]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:u[i.noNetworkConnectivity]},postRequestFailed:{code:i.postRequestFailed,desc:u[i.postRequestFailed]},getRequestFailed:{code:i.getRequestFailed,desc:u[i.getRequestFailed]},failedToParseNetworkResponse:{code:i.failedToParseResponse,desc:u[i.failedToParseResponse]},unableToLoadTokenError:{code:i.unableToLoadToken,desc:u[i.unableToLoadToken]},signingKeyNotFoundInStorage:{code:i.cryptoKeyNotFound,desc:u[i.cryptoKeyNotFound]},authCodeRequired:{code:i.authCodeRequired,desc:u[i.authCodeRequired]},authCodeOrNativeAccountRequired:{code:i.authCodeOrNativeAccountIdRequired,desc:u[i.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:i.spaCodeAndNativeAccountIdPresent,desc:u[i.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:i.databaseUnavailable,desc:u[i.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:i.unableToAcquireTokenFromNativePlatform,desc:u[i.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:i.nativeHandshakeTimeout,desc:u[i.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:i.nativeExtensionNotInstalled,desc:u[i.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:i.nativeConnectionNotEstablished,desc:u[i.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:i.uninitializedPublicClientApplication,desc:u[i.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:i.nativePromptNotSupported,desc:u[i.nativePromptNotSupported]},invalidBase64StringError:{code:i.invalidBase64String,desc:u[i.invalidBase64String]}};class e extends n.WM{constructor(g){super(g,u[g]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function c(l){return new e(l)}},32828:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{authCodeOrNativeAccountIdRequired:()=>ae,authCodeRequired:()=>H,authRequestNotSetError:()=>L,blockIframeReload:()=>C,blockNestedPopups:()=>v,cryptoKeyNotFound:()=>Y,cryptoNonExistent:()=>i,databaseNotOpen:()=>F,databaseUnavailable:()=>W,emptyNavigateUri:()=>d,emptyWindowError:()=>_,failedToParseResponse:()=>K,getRequestFailed:()=>ce,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>u,iframeClosedPrematurely:()=>M,interactionInProgress:()=>g,invalidBase64String:()=>ye,invalidCacheType:()=>O,monitorPopupTimeout:()=>y,monitorWindowTimeout:()=>m,nativeConnectionNotEstablished:()=>de,nativeExtensionNotInstalled:()=>G,nativeHandshakeTimeout:()=>J,nativePromptNotSupported:()=>Ae,noAccountError:()=>A,noCachedAuthorityError:()=>I,noNetworkConnectivity:()=>q,noStateInHash:()=>a,noTokenRequestCacheError:()=>R,nonBrowserEnvironment:()=>z,pkceNotCreated:()=>n,popupWindowError:()=>b,postRequestFailed:()=>X,redirectInIframe:()=>h,silentLogoutUnsupported:()=>E,silentPromptValueError:()=>T,spaCodeAndNativeAccountIdPresent:()=>re,stateInteractionTypeMismatch:()=>l,unableToAcquireTokenFromNativePlatform:()=>ee,unableToLoadToken:()=>ne,unableToParseState:()=>c,unableToParseTokenRequestCacheError:()=>N,uninitializedPublicClientApplication:()=>be,userCancelled:()=>S});const n="pkce_not_created",i="crypto_nonexistent",d="empty_navigate_uri",u="hash_empty_error",a="no_state_in_hash",e="hash_does_not_contain_known_properties",c="unable_to_parse_state",l="state_interaction_type_mismatch",g="interaction_in_progress",b="popup_window_error",_="empty_window_error",S="user_cancelled",y="monitor_popup_timeout",m="monitor_window_timeout",h="redirect_in_iframe",C="block_iframe_reload",v="block_nested_popups",M="iframe_closed_prematurely",E="silent_logout_unsupported",A="no_account_error",T="silent_prompt_value_error",R="no_token_request_cache_error",N="unable_to_parse_token_request_cache_error",I="no_cached_authority_error",L="auth_request_not_set_error",O="invalid_cache_type",z="non_browser_environment",F="database_not_open",q="no_network_connectivity",X="post_request_failed",ce="get_request_failed",K="failed_to_parse_response",ne="unable_to_load_token",Y="crypto_key_not_found",H="auth_code_required",ae="auth_code_or_nativeAccountId_required",re="spa_code_and_nativeAccountId_present",W="database_unavailable",ee="unable_to_acquire_token_from_native_platform",J="native_handshake_timeout",G="native_extension_not_installed",de="native_connection_not_established",be="uninitialized_public_client_application",Ae="native_prompt_not_supported",ye="invalid_base64_string"},72592:(ve,f,o)=>{"use strict";o.d(f,{aO:()=>a,c9:()=>u,cf:()=>e});var n=o(66936),i=o(85288);const d={[i.storageNotSupported]:"Given storage configuration option was not supported.",[i.stubbedPublicClientApplicationCalled]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[i.inMemRedirectUnavailable]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},u={storageNotSupportedError:{code:i.storageNotSupported,desc:d[i.storageNotSupported]},stubPcaInstanceCalled:{code:i.stubbedPublicClientApplicationCalled,desc:d[i.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:i.inMemRedirectUnavailable,desc:d[i.inMemRedirectUnavailable]}};class a extends n.WM{constructor(l,g){super(l,g),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,a.prototype)}}function e(c){return new a(c,d[c])}},85288:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{inMemRedirectUnavailable:()=>d,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>i});const n="storage_not_supported",i="stubbed_public_client_application_called",d="in_mem_redirect_unavailable"},85968:(ve,f,o)=>{"use strict";o.d(f,{c:()=>e});var n=o(34739),i=o(98416),d=o(6536),u=o(28612),a=o(27880);class e{constructor(l,g){this.eventCallbacks=new Map,this.logger=l,this.browserCrypto=g,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(l){if(typeof window<"u"){const g=(0,a.E5)();return this.eventCallbacks.set(g,l),this.logger.verbose(`Event callback registered with id: ${g}`),g}return null}removeEventCallback(l){this.eventCallbacks.delete(l),this.logger.verbose(`Event callback ${l} removed.`)}enableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}emitEvent(l,g,b,_){if(typeof window<"u"){const S={eventType:l,interactionType:g||null,payload:b||null,error:_||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${l}`),this.eventCallbacks.forEach((y,m)=>{this.logger.verbose(`Emitting event to callback ${m}: ${l}`),y.apply(null,[S])})}}handleAccountCacheChange(l){try{l.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(u.W.ACTIVE_ACCOUNT_CHANGED);const g=l.newValue||l.oldValue;if(!g)return;const b=JSON.parse(g);if("object"!=typeof b||!i.M.isAccountEntity(b))return;const S=d.B.toObject(new i.M,b).getAccountInfo();!l.oldValue&&l.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(u.W.ACCOUNT_ADDED,void 0,S)):!l.newValue&&l.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(u.W.ACCOUNT_REMOVED,void 0,S))}catch{return}}}},88904:(ve,f,o)=>{"use strict";o.d(f,{M:()=>d});var n=o(28612),i=o(26956);class d{static getInteractionStatusFromEvent(a,e){switch(a.eventType){case n.W.LOGIN_START:return i.Yz.Login;case n.W.SSO_SILENT_START:return i.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(a.interactionType===i.wV.Redirect||a.interactionType===i.wV.Popup)return i.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return i.Yz.HandleRedirect;case n.W.LOGOUT_START:return i.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==i.Yz.SsoSilent)break;return i.Yz.None;case n.W.LOGOUT_END:if(e&&e!==i.Yz.Logout)break;return i.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==i.Yz.HandleRedirect)break;return i.Yz.None;case n.W.LOGIN_SUCCESS:case n.W.LOGIN_FAILURE:case n.W.ACQUIRE_TOKEN_SUCCESS:case n.W.ACQUIRE_TOKEN_FAILURE:case n.W.RESTORE_FROM_BFCACHE:if(a.interactionType===i.wV.Redirect||a.interactionType===i.wV.Popup){if(e&&e!==i.Yz.Login&&e!==i.Yz.AcquireToken)break;return i.Yz.None}}return null}}},28612:(ve,f,o)=>{"use strict";o.d(f,{W:()=>n});const n={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},21112:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{AccountEntity:()=>qe.M,ApiId:()=>e.Ed,AuthError:()=>tt.WM,AuthErrorCodes:()=>mt,AuthErrorMessage:()=>tt.GM,AuthenticationHeaderParser:()=>$e,AuthenticationScheme:()=>ee.me,AzureCloudInstance:()=>st.C,BrowserAuthError:()=>L.G,BrowserAuthErrorCodes:()=>vn,BrowserAuthErrorMessage:()=>L.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>O.aO,BrowserConfigurationAuthErrorCodes:()=>z,BrowserConfigurationAuthErrorMessage:()=>O.c9,BrowserPerformanceClient:()=>Ae,BrowserPerformanceMeasurement:()=>ye.BrowserPerformanceMeasurement,BrowserStorage:()=>ce.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>ft.oJ,ClientAuthErrorCodes:()=>Qt,ClientAuthErrorMessage:()=>ft.m6,ClientConfigurationError:()=>le.Ou,ClientConfigurationErrorCodes:()=>Me,ClientConfigurationErrorMessage:()=>le.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>u.Ks,EventMessageUtils:()=>K.M,EventType:()=>ne.W,InteractionRequiredAuthError:()=>bt.uw,InteractionRequiredAuthErrorCodes:()=>Vt,InteractionRequiredAuthErrorMessage:()=>bt.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>ee.Gu,LogLevel:()=>d.G,Logger:()=>d.Y,MemoryStorage:()=>X.W,NavigationClient:()=>q.m,OIDC_DEFAULT_SCOPES:()=>ee.ac,PerformanceEvents:()=>ae.Xv,PromptValue:()=>ee.GI,ProtocolMode:()=>sn.g,PublicClientApplication:()=>v,PublicClientNext:()=>I,ServerError:()=>dn.s,ServerResponseType:()=>ee.eE,SignedHttpRequest:()=>H,StringUtils:()=>wn.e,UrlString:()=>An._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>F,version:()=>a.W});var n=o(84644),i=o(1528),d=o(73364),u=o(48124),a=o(69096),e=o(26956);class c{static loggerCallback(ut,Ue){switch(ut){case d.G.Error:return void console.error(Ue);case d.G.Info:return void console.info(Ue);case d.G.Verbose:return void console.debug(Ue);case d.G.Warning:return void console.warn(Ue);default:return void console.log(Ue)}}constructor(ut){let Ue;this.browserEnvironment=typeof window<"u",this.config=(0,u.k5)(ut,this.browserEnvironment);try{Ue=window[e.Ir.SessionStorage]}catch{}const De=Ue?.getItem(e.Ip),Pe=Ue?.getItem(e.k9)?.toLowerCase(),Qe="true"===Pe||"false"!==Pe&&void 0,Re={...this.config.system.loggerOptions},lt=De&&Object.keys(d.G).includes(De)?d.G[De]:void 0;lt&&(Re.loggerCallback=c.loggerCallback,Re.logLevel=lt),void 0!==Qe&&(Re.piiLoggingEnabled=Qe),this.logger=new d.Y(Re,a.N,a.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var l=o(59048);let g=(()=>{class qt{static initializeNestedAppAuthBridge(){return(0,i.c)(function*(){if(void 0===window)throw new Error("window is undefined");if(void 0===window.nestedAppAuthBridge)throw new Error("window.nestedAppAuthBridge is undefined");if(void 0===window.crypto)throw new Error("window.crypto is undefined");try{qt.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",De=>{const Qe=JSON.parse("string"==typeof De?De:De.data),Re=qt.bridgeRequests.find(lt=>lt.requestId===Qe.requestId);void 0!==Re&&(qt.bridgeRequests.splice(qt.bridgeRequests.indexOf(Re),1),Qe.success?Re.resolve(Qe):Re.reject(Qe.error))});const Ue=yield new Promise((De,Pe)=>{const Qe={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:qt.getRandomId()};qt.bridgeRequests.push({requestId:Qe.requestId,method:Qe.method,resolve:De,reject:Pe}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Qe))});return qt.validateBridgeResultOrThrow(Ue.initContext)}catch(Ue){throw window.console.log(Ue),Ue}})()}static getRandomId(){return qt.crypto.randomUUID()}getTokenInteractive(Ue){return this.getToken("GetTokenPopup",Ue)}getTokenSilent(Ue){return this.getToken("GetToken",Ue)}getToken(Ue,De){var Pe=this;return(0,i.c)(function*(){const Qe=yield Pe.sendRequest(Ue,{tokenParams:De});return{token:qt.validateBridgeResultOrThrow(Qe.token),account:qt.validateBridgeResultOrThrow(Qe.account)}})()}getActiveAccount(){var Ue=this;return(0,i.c)(function*(){const De=yield Ue.sendRequest("GetActiveAccount");return qt.validateBridgeResultOrThrow(De.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Ue,De){const Pe={messageType:"NestedAppAuthRequest",method:Ue,requestId:qt.getRandomId(),...De};return new Promise((Re,lt)=>{qt.bridgeRequests.push({requestId:Pe.requestId,method:Pe.method,resolve:Re,reject:lt}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Pe))})}static validateBridgeResultOrThrow(Ue){if(void 0===Ue)throw{status:l.I.NestedAppAuthUnavailable};return Ue}constructor(Ue,De,Pe){this.sdkName=Ue,this.sdkVersion=De,this.capabilities=Pe}static create(){return(0,i.c)(function*(){const Ue=yield qt.initializeNestedAppAuthBridge();return new qt(Ue.sdkName,Ue.sdkVersion,Ue.capabilities)})()}}return qt.bridgeRequests=[],qt})(),b=(()=>{class qt extends c{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Ue){this.activeAccount=Ue}initialize(){var Ue=this;return(0,i.c)(function*(){try{if(typeof window<"u"){const De=yield g.create();try{De.getHostCapabilities()?.queryAccount&&(Ue.activeAccount=yield De.getActiveAccount())}catch{Ue.activeAccount=void 0}Ue.bridgeProxy=De,Ue.available=void 0!==De}else Ue.available=!1}catch{Ue.available=!1}finally{return Ue.available}})()}}return qt.MODULE_NAME="",qt.ID="TeamsAppOperatingContext",qt})(),_=(()=>{class qt extends c{getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}initialize(){var Ue=this;return(0,i.c)(function*(){return Ue.available=typeof window<"u",Ue.available})()}}return qt.MODULE_NAME="",qt.ID="StandardOperatingContext",qt})();function y(){return(y=(0,i.c)(function*(qt){const ut=new _(qt);return yield ut.initialize(),(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(ut)})).apply(this,arguments)}function m(qt){return h.apply(this,arguments)}function h(){return(h=(0,i.c)(function*(qt){const ut=new _(qt),Ue=new b(qt),De=[ut.initialize(),Ue.initialize()];return yield Promise.all(De),Ue.isAvailable()&&Ue.getConfig().auth.supportsNestedAppAuth?(yield o.e(1620).then(o.bind(o,61620))).NestedAppAuthController.createController(Ue):ut.isAvailable()?(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(ut):null})).apply(this,arguments)}var C=o(65304);class v{static createPublicClientApplication(ut){return(0,i.c)(function*(){const Ue=yield function S(qt){return y.apply(this,arguments)}(ut);return new v(ut,Ue)})()}constructor(ut,Ue){if(Ue)this.controller=Ue;else{const De=new _(ut);this.controller=new C.StandardController(De)}}initialize(){var ut=this;return(0,i.c)(function*(){return ut.controller.initialize()})()}acquireTokenPopup(ut){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(ut)})()}acquireTokenRedirect(ut){return this.controller.acquireTokenRedirect(ut)}acquireTokenSilent(ut){return this.controller.acquireTokenSilent(ut)}acquireTokenByCode(ut){return this.controller.acquireTokenByCode(ut)}addEventCallback(ut){return this.controller.addEventCallback(ut)}removeEventCallback(ut){return this.controller.removeEventCallback(ut)}addPerformanceCallback(ut){return this.controller.addPerformanceCallback(ut)}removePerformanceCallback(ut){return this.controller.removePerformanceCallback(ut)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ut){return this.controller.getAccount(ut)}getAccountByHomeId(ut){return this.controller.getAccountByHomeId(ut)}getAccountByLocalId(ut){return this.controller.getAccountByLocalId(ut)}getAccountByUsername(ut){return this.controller.getAccountByUsername(ut)}getAllAccounts(ut){return this.controller.getAllAccounts(ut)}handleRedirectPromise(ut){return this.controller.handleRedirectPromise(ut)}loginPopup(ut){return this.controller.loginPopup(ut)}loginRedirect(ut){return this.controller.loginRedirect(ut)}logout(ut){return this.controller.logout(ut)}logoutRedirect(ut){return this.controller.logoutRedirect(ut)}logoutPopup(ut){return this.controller.logoutPopup(ut)}ssoSilent(ut){return this.controller.ssoSilent(ut)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ut){this.controller.setLogger(ut)}setActiveAccount(ut){this.controller.setActiveAccount(ut)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ut,Ue){return this.controller.initializeWrapperLibrary(ut,Ue)}setNavigationClient(ut){this.controller.setNavigationClient(ut)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ut,Ue){var De=this;return(0,i.c)(function*(){return De.controller.hydrateCache(ut,Ue)})()}clearCache(ut){return this.controller.clearCache(ut)}}var M=o(65172),E=o(69812),A=o(7184),T=o(85968);class R{constructor(ut){this.initialized=!1,this.operatingContext=ut,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=ut.getConfig(),this.logger=ut.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new A.A(this.logger,this.performanceClient):M.K,this.browserStorage=this.isBrowserEnvironment?new E.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,E.S)(this.config.auth.clientId,this.logger),this.eventHandler=new T.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(ut){return null}getAccountByHomeId(ut){return null}getAccountByLocalId(ut){return null}getAccountByUsername(ut){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(ut,Ue,De){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(ut,Ue){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(ut){return this.eventHandler.addEventCallback(ut)}removeEventCallback(ut){this.eventHandler.removeEventCallback(ut)}addPerformanceCallback(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}enableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}disableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}handleRedirectPromise(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getTokenCache(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getLogger(){return this.logger}setLogger(ut){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(ut){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(ut,Ue){this.browserStorage.setWrapperMetadata(ut,Ue)}setNavigationClient(ut){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getConfiguration(){return this.config}isBrowserEnv(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}getBrowserCrypto(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getPerformanceClient(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getRedirectResponse(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}preflightBrowserEnvironmentCheck(ut,Ue){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(ut){var Ue=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ue.initialized),(0,n.blockNonBrowserEnvironment)(Ue.isBrowserEnvironment)})()}hydrateCache(ut,Ue){var De=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(De.initialized),(0,n.blockNonBrowserEnvironment)(De.isBrowserEnvironment)})()}}let N=(()=>{class qt extends c{getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}initialize(){return(0,i.c)(function*(){return!0})()}}return qt.MODULE_NAME="",qt.ID="UnknownOperatingContext",qt})();class I{static createPublicClientApplication(ut){return(0,i.c)(function*(){const Ue=yield m(ut);let De;return De=null!==Ue?new I(ut,Ue):new I(ut),De})()}constructor(ut,Ue){if(this.configuration=ut,Ue)this.controller=Ue;else{const De=new N(ut);this.controller=new R(De)}}initialize(){var ut=this;return(0,i.c)(function*(){if(ut.controller instanceof R){const Ue=yield m(ut.configuration);return null!==Ue&&(ut.controller=Ue),ut.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(ut){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(ut)})()}acquireTokenRedirect(ut){return this.controller.acquireTokenRedirect(ut)}acquireTokenSilent(ut){return this.controller.acquireTokenSilent(ut)}acquireTokenByCode(ut){return this.controller.acquireTokenByCode(ut)}addEventCallback(ut){return this.controller.addEventCallback(ut)}removeEventCallback(ut){return this.controller.removeEventCallback(ut)}addPerformanceCallback(ut){return this.controller.addPerformanceCallback(ut)}removePerformanceCallback(ut){return this.controller.removePerformanceCallback(ut)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ut){return this.controller.getAccount(ut)}getAccountByHomeId(ut){return this.controller.getAccountByHomeId(ut)}getAccountByLocalId(ut){return this.controller.getAccountByLocalId(ut)}getAccountByUsername(ut){return this.controller.getAccountByUsername(ut)}getAllAccounts(ut){return this.controller.getAllAccounts(ut)}handleRedirectPromise(ut){return this.controller.handleRedirectPromise(ut)}loginPopup(ut){return this.controller.loginPopup(ut)}loginRedirect(ut){return this.controller.loginRedirect(ut)}logout(ut){return this.controller.logout(ut)}logoutRedirect(ut){return this.controller.logoutRedirect(ut)}logoutPopup(ut){return this.controller.logoutPopup(ut)}ssoSilent(ut){return this.controller.ssoSilent(ut)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ut){this.controller.setLogger(ut)}setActiveAccount(ut){this.controller.setActiveAccount(ut)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ut,Ue){return this.controller.initializeWrapperLibrary(ut,Ue)}setNavigationClient(ut){this.controller.setNavigationClient(ut)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ut,Ue){var De=this;return(0,i.c)(function*(){return De.controller.hydrateCache(ut,Ue)})()}clearCache(ut){return this.controller.clearCache(ut)}}var L=o(4792),O=o(72592),z=o(85288);const F={initialize:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,O.cf)(z.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,O.cf)(z.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,O.cf)(z.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,O.cf)(z.stubbedPublicClientApplicationCalled))};var q=o(64952),X=o(61744),ce=o(71720),K=o(88904),ne=o(28612),Y=o(46392);class H{constructor(ut,Ue){this.logger=new d.Y(Ue&&Ue.loggerOptions||{},a.N,a.W),this.cryptoOps=new A.A(this.logger),this.popTokenGenerator=new Y.w(this.cryptoOps),this.shrParameters=ut}generatePublicKeyThumbprint(){var ut=this;return(0,i.c)(function*(){const{kid:Ue}=yield ut.popTokenGenerator.generateKid(ut.shrParameters);return Ue})()}signRequest(ut,Ue,De){var Pe=this;return(0,i.c)(function*(){return Pe.popTokenGenerator.signPayload(ut,Ue,Pe.shrParameters,De)})()}removeKeys(ut){var Ue=this;return(0,i.c)(function*(){return Ue.cryptoOps.removeTokenBindingKey(ut)})()}}var ae=o(85348),re=o(35128);class W{constructor(ut,Ue,De,Pe,Qe,Re,lt){this.authority=Ue,this.libraryName=Pe,this.libraryVersion=Qe,this.applicationTelemetry=Re,this.clientId=ut,this.logger=De,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=lt||new Set;for(const He of ae.ol)this.intFields.add(He)}startPerformanceMeasurement(ut,Ue){return{}}getPreQueueTime(ut,Ue){const De=this.preQueueTimeByCorrelationId.get(Ue);if(De){if(De.name===ut)return De.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${ut}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Ue}, unable to add queue measurement`)}calculateQueuedTime(ut,Ue){return ut<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${ut}`),0):Ue<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Ue}`),0):Uethis.endMeasurement({...Pe,...Qe}),discard:()=>this.discardMeasurements(Pe.correlationId),add:Qe=>this.addFields(Qe,Pe.correlationId),increment:Qe=>this.incrementFields(Qe,Pe.correlationId),event:Pe,measurement:new re.W}}endMeasurement(ut){const Ue=this.eventsByCorrelationId.get(ut.correlationId);if(!Ue)return this.logger.trace(`PerformanceClient: Measurement not found for ${ut.eventId}`,ut.correlationId),null;const De=ut.eventId===Ue.eventId;let Pe={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};De?(Pe=this.getQueueInfo(ut.correlationId),this.discardCache(Ue.correlationId)):Ue.incompleteSubMeasurements?.delete(ut.eventId);const Qe=ut.durationMs||this.getDurationMs(ut.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${ut.name}: ${Qe} ms`,ut.correlationId),!De)return Ue[ut.name+"DurationMs"]=Math.floor(Qe),{...Ue};let Re={...Ue,...ut},lt=0;return Re.incompleteSubMeasurements?.forEach(He=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${He.name} found for ${ut.name}`,Re.correlationId),lt++}),Re.incompleteSubMeasurements=void 0,Re={...Re,durationMs:Math.round(Qe),queuedTimeMs:Pe.totalQueueTime,queuedCount:Pe.totalQueueCount,queuedManuallyCompletedCount:Pe.manuallyCompletedCount,status:ae.W8.Completed,incompleteSubsCount:lt},this.truncateIntegralFields(Re),this.emitEvents([Re],ut.correlationId),Re}addFields(ut,Ue){this.logger.trace("PerformanceClient: Updating static fields");const De=this.eventsByCorrelationId.get(Ue);De?this.eventsByCorrelationId.set(Ue,{...De,...ut}):this.logger.trace("PerformanceClient: Event not found for",Ue)}incrementFields(ut,Ue){this.logger.trace("PerformanceClient: Updating counters");const De=this.eventsByCorrelationId.get(Ue);if(De)for(const Pe in ut){if(De.hasOwnProperty(Pe)){if(isNaN(Number(De[Pe])))return}else De[Pe]=0;De[Pe]+=ut[Pe]}else this.logger.trace("PerformanceClient: Event not found for",Ue)}cacheEventByCorrelationId(ut){const Ue=this.eventsByCorrelationId.get(ut.correlationId);Ue?(this.logger.trace(`PerformanceClient: Performance measurement for ${ut.name} added/updated`,ut.correlationId),Ue.incompleteSubMeasurements=Ue.incompleteSubMeasurements||new Map,Ue.incompleteSubMeasurements.set(ut.eventId,{name:ut.name,startTimeMs:ut.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${ut.name} started`,ut.correlationId),this.eventsByCorrelationId.set(ut.correlationId,{...ut}))}getQueueInfo(ut){const Ue=this.queueMeasurements.get(ut);Ue||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${ut}`);let De=0,Pe=0,Qe=0;return Ue?.forEach(Re=>{De+=Re.queueTime,Pe++,Qe+=Re.manuallyCompleted?1:0}),{totalQueueTime:De,totalQueueCount:Pe,manuallyCompletedCount:Qe}}discardMeasurements(ut){this.logger.trace("PerformanceClient: Performance measurements discarded",ut),this.eventsByCorrelationId.delete(ut)}discardCache(ut){this.discardMeasurements(ut),this.logger.trace("PerformanceClient: QueueMeasurements discarded",ut),this.queueMeasurements.delete(ut),this.logger.trace("PerformanceClient: Pre-queue times discarded",ut),this.preQueueTimeByCorrelationId.delete(ut)}addPerformanceCallback(ut){const Ue=this.generateId();return this.callbacks.set(Ue,ut),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Ue}`),Ue}removePerformanceCallback(ut){const Ue=this.callbacks.delete(ut);return this.logger.verbose(Ue?`PerformanceClient: Performance callback ${ut} removed.`:`PerformanceClient: Performance callback ${ut} not removed.`),Ue}emitEvents(ut,Ue){this.logger.verbose("PerformanceClient: Emitting performance events",Ue),this.callbacks.forEach((De,Pe)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${Pe}`,Ue),De.apply(null,[ut])})}truncateIntegralFields(ut){this.intFields.forEach(Ue=>{Ue in ut&&"number"==typeof ut[Ue]&&(ut[Ue]=Math.floor(ut[Ue]))})}getDurationMs(ut){const Ue=Date.now()-ut;return Ue<0?Ue:0}}var ee=o(34739),J=o(27880);function G(){let qt;try{qt=window[e.Ir.SessionStorage];const ut=qt?.getItem(e.OG);if(1===Number(ut))return Promise.resolve().then(o.bind(o,18156))}catch{}}function de(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function be(qt){if(qt&&de())return Math.round(window.performance.now()-qt)}class Ae extends W{constructor(ut,Ue){super(ut.auth.clientId,ut.auth.authority||`${ee.Mv.DEFAULT_AUTHORITY}`,new d.Y(ut.system?.loggerOptions||{},a.N,a.W),a.N,a.W,ut.telemetry?.application||{appName:"",appVersion:""},Ue)}generateId(){return(0,J.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(ut){G()?.then(Ue=>{const De=this.eventsByCorrelationId.get(ut.event.correlationId),Qe=[];De&&De.eventId===ut.event.eventId&&De?.incompleteSubMeasurements&&De.incompleteSubMeasurements.forEach(Re=>{Qe.push({...Re})}),Ue.BrowserPerformanceMeasurement.flushMeasurements(ut.event.correlationId,Qe)})}startMeasurement(ut,Ue){const De=this.getPageVisibility(),Pe=super.startMeasurement(ut,Ue),Qe=de()?window.performance.now():void 0,Re=G()?.then(lt=>new lt.BrowserPerformanceMeasurement(ut,Pe.event.correlationId));return Re?.then(lt=>lt.startMeasurement()),{...Pe,end:lt=>{const He=Pe.end({...lt,startPageVisibility:De,endPageVisibility:this.getPageVisibility(),durationMs:be(Qe)});return Re?.then(gt=>gt.endMeasurement()),this.deleteIncompleteSubMeasurements(Pe),He},discard:()=>{Pe.discard(),Re?.then(lt=>lt.flushMeasurement()),this.deleteIncompleteSubMeasurements(Pe)}}}setPreQueueTime(ut,Ue){if(!de())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${ut}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ut} not provided, unable to set telemetry queue time`);const De=this.preQueueTimeByCorrelationId.get(Ue);De&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${De.name} found`,Ue),this.addQueueMeasurement(De.name,Ue,void 0,!0)),this.preQueueTimeByCorrelationId.set(Ue,{name:ut,time:window.performance.now()})}addQueueMeasurement(ut,Ue,De,Pe){if(!de())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${ut}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ut} not provided, unable to add queue measurement`);const Qe=super.getPreQueueTime(ut,Ue);if(!Qe)return;const Re=window.performance.now(),lt=De||super.calculateQueuedTime(Qe,Re);return super.addQueueMeasurement(ut,Ue,lt,Pe)}}var ye=o(18156),le=o(59684),Me=o(32336);class $e{constructor(ut){this.headers=ut}getShrNonce(){const ut=this.headers[ee.MF.AuthenticationInfo];if(ut){const De=this.parseChallenges(ut);if(De.nextnonce)return De.nextnonce;throw(0,le.QN)(Me.invalidAuthenticationHeader)}const Ue=this.headers[ee.MF.WWWAuthenticate];if(Ue){const De=this.parseChallenges(Ue);if(De.nonce)return De.nonce;throw(0,le.QN)(Me.invalidAuthenticationHeader)}throw(0,le.QN)(Me.missingNonceAuthenticationHeader)}parseChallenges(ut){const Ue=ut.indexOf(" "),De=ut.substr(Ue+1).split(","),Pe={};return De.forEach(Qe=>{const[Re,lt]=Qe.split("=");Pe[Re]=unescape(lt.replace(/['"]+/g,ee.Mv.EMPTY_STRING))}),Pe}}var qe=o(98416),tt=o(66936),mt=o(83228),st=o(67952),ft=o(28876),Qt=o(71408),bt=o(53408),Vt=o(72896),sn=o(65072),dn=o(76944),wn=o(7828),An=o(67648),vn=o(32828)},59048:(ve,f,o)=>{"use strict";o.d(f,{I:()=>n});const n={UserInteractionRequired:"USER_INTERACTION_REQUIRED",UserCancel:"USER_CANCEL",NoNetwork:"NO_NETWORK",TransientError:"TRANSIENT_ERROR",PersistentError:"PERSISTENT_ERROR",Disabled:"DISABLED",AccountUnavailable:"ACCOUNT_UNAVAILABLE",NestedAppAuthUnavailable:"NESTED_APP_AUTH_UNAVAILABLE"}},64952:(ve,f,o)=>{"use strict";o.d(f,{m:()=>n});class n{navigateInternal(d,u){return n.defaultNavigateWindow(d,u)}navigateExternal(d,u){return n.defaultNavigateWindow(d,u)}static defaultNavigateWindow(d,u){return u.noHistory?window.location.replace(d):window.location.assign(d),new Promise(a=>{setTimeout(()=>{a(!0)},u.timeout)})}}},69096:(ve,f,o)=>{"use strict";o.d(f,{N:()=>n,W:()=>i});const n="@azure/msal-browser",i="3.10.0"},18156:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{BrowserPerformanceMeasurement:()=>n});class n{constructor(d,u){this.correlationId=u,this.measureName=n.makeMeasureName(d,u),this.startMark=n.makeStartMark(d,u),this.endMark=n.makeEndMark(d,u)}static makeMeasureName(d,u){return`msal.measure.${d}.${u}`}static makeStartMark(d,u){return`msal.start.${d}.${u}`}static makeEndMark(d,u){return`msal.end.${d}.${u}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.measure&&"function"==typeof window.performance.clearMarks&&"function"==typeof window.performance.clearMeasures&&"function"==typeof window.performance.getEntriesByName}static flushMeasurements(d,u){if(n.supportsBrowserPerformance())try{u.forEach(a=>{const e=n.makeMeasureName(a.name,d);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,d)),window.performance.clearMarks(n.makeEndMark(e,d)))})}catch{}}startMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(n.supportsBrowserPerformance())try{const d=window.performance.getEntriesByName(this.measureName,"measure");if(d.length>0){const u=d[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),u}}catch{}return null}}},26956:(ve,f,o)=>{"use strict";o.d(f,{CM:()=>g,Ce:()=>u,Ed:()=>b,Ip:()=>T,Ir:()=>a,Lm:()=>h,OG:()=>N,UZ:()=>l,Yz:()=>S,a:()=>A,eG:()=>m,eQ:()=>M,f6:()=>C,gV:()=>v,ig:()=>i,k9:()=>R,sJ:()=>d,wV:()=>_,wd:()=>E,wv:()=>y,yI:()=>e,zH:()=>c});var n=o(34739);const i={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},d={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},u={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},a={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},c={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},l={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},g={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},b={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var _=function(I){return I.Redirect="redirect",I.Popup="popup",I.Silent="silent",I.None="none",I}(_||{});const S={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},y={scopes:n.ac},m="jwk",h={React:"@azure/msal-react",Angular:"@azure/msal-angular"},C="msal.db",v=1,M=`${C}.keys`,E={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},A=[E.Default,E.Skip,E.RefreshTokenAndNetwork],T="msal.browser.log.level",R="msal.browser.log.pii",N="msal.browser.performance.enabled"},99632:(ve,f,o)=>{"use strict";o.d(f,{Q:()=>u});var n=o(86144),i=o(28876),d=o(71408);function u(a,e){if(!e)return null;try{return n.c.parseRequestState(a,e).libraryState.meta}catch{throw(0,i.mQ)(d.invalidState)}}},84644:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{blockAPICallsBeforeInitialize:()=>C,blockAcquireTokenInPopups:()=>m,blockNonBrowserEnvironment:()=>h,blockRedirectInIframe:()=>y,blockReloadInHiddenIframes:()=>S,clearHash:()=>e,createGuid:()=>M,getCurrentUri:()=>b,getHomepage:()=>_,isInIframe:()=>l,isInPopup:()=>g,preconnect:()=>v,replaceHash:()=>c});var n=o(67648),i=o(4792),d=o(26956),u=o(27880),a=o(32828);function e(E){E.location.hash="","function"==typeof E.history.replaceState&&E.history.replaceState(null,"",`${E.location.origin}${E.location.pathname}${E.location.search}`)}function c(E){const A=E.split("#");A.shift(),window.location.hash=A.length>0?A.join("#"):""}function l(){return window.parent!==window}function g(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${d.ig.POPUP_NAME_PREFIX}.`)}function b(){return window.location.href.split("?")[0].split("#")[0]}function _(){const A=new n._(window.location.href).getUrlComponents();return`${A.Protocol}//${A.HostNameAndPort}/`}function S(){if(n._.hashContainsKnownProperties(window.location.hash)&&l())throw(0,i.Wq)(a.blockIframeReload)}function y(E,A){const T=l();if(E===d.wV.Redirect&&T&&!A)throw(0,i.Wq)(a.redirectInIframe)}function m(){if(g())throw(0,i.Wq)(a.blockNestedPopups)}function h(E){if(!E)throw(0,i.Wq)(a.nonBrowserEnvironment)}function C(E){if(!E)throw(0,i.Wq)(a.uninitializedPublicClientApplication)}function v(E){const A=document.createElement("link");A.rel="preconnect",A.href=new URL(E).origin,A.crossOrigin="anonymous",document.head.appendChild(A),window.setTimeout(()=>{try{document.head.removeChild(A)}catch{}},1e4)}function M(){return(0,u.E5)()}},60928:(ve,f,o)=>{"use strict";function n(u,a){return!!u&&!!a&&u===a.split(".")[1]}function i(u,a){const{oid:e,sub:c,tid:l,name:g,tfp:b,acr:_}=a,S=l||b||_||"";return{tenantId:S,localAccountId:e||c||"",name:g,isHomeTenant:n(S,u)}}function d(u,a,e,c){let l=u;if(a){const{isHomeTenant:g,...b}=a;l={...u,...b}}if(e){const{isHomeTenant:g,...b}=i(u.homeAccountId,e);return l={...l,...b,idTokenClaims:e,idToken:c},l}return l}o.d(f,{EJ:()=>i,Ho:()=>d,Wo:()=>n})},6400:(ve,f,o)=>{"use strict";o.d(f,{UH:()=>a,aw:()=>d});var n=o(28876),i=o(71408);function d(e,c){const l=function u(e){if(!e)throw(0,n.mQ)(i.nullOrEmptyToken);const l=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!l||l.length<4)throw(0,n.mQ)(i.tokenParsingError);return l[2]}(e);try{const g=c(l);return JSON.parse(g)}catch{throw(0,n.mQ)(i.tokenParsingError)}}function a(e,c){if(0===c||Date.now()-3e5>e+c)throw(0,n.mQ)(i.maxAgeTranspired)}},16256:(ve,f,o)=>{"use strict";o.d(f,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(ve,f,o)=>{"use strict";o.d(f,{G:()=>u,k:()=>a});var n=o(28876),i=o(34739),d=o(71408);function u(e,c){if(!e)throw(0,n.mQ)(d.clientInfoEmptyError);try{const l=c(e);return JSON.parse(l)}catch{throw(0,n.mQ)(d.clientInfoDecodingError)}}function a(e){if(!e)throw(0,n.mQ)(d.clientInfoDecodingError);const c=e.split(i.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:c[0],utid:c.length<2?i.Mv.EMPTY_STRING:c[1]}}},79032:(ve,f,o)=>{"use strict";function n(i){return i&&(i.tid||i.tfp||i.acr)||null}o.d(f,{c:()=>n})},74968:(ve,f,o)=>{"use strict";o.d(f,{ET:()=>c,IP:()=>e,UD:()=>g,_8:()=>b,gB:()=>u});var n=o(67648),i=o(34739);const u={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},a={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},e=new Set;function c(_,S){let y;const m=_.canonicalAuthority;if(m){const h=new n._(m).getUrlComponents().HostNameAndPort;y=l(h,_.cloudDiscoveryMetadata?.metadata,i.cv.CONFIG,S)||l(h,a.metadata,i.cv.HARDCODED_VALUES,S)||_.knownAuthorities}return y||[]}function l(_,S,y,m){if(m?.trace(`getAliasesFromMetadata called with source: ${y}`),_&&S){const h=b(S,_);if(h)return m?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${y}, returning aliases`),h.aliases;m?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${y}`)}return null}function g(_){return b(a.metadata,_)}function b(_,S){for(let y=0;y<_.length;y++){const m=_[y];if(m.aliases.includes(S))return m}return null}a.metadata.forEach(_=>{_.aliases.forEach(S=>{e.add(S)})})},67952:(ve,f,o)=>{"use strict";o.d(f,{C:()=>n});const n={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"}},25988:(ve,f,o)=>{"use strict";o.d(f,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(ve,f,o)=>{"use strict";o.d(f,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(ve,f,o)=>{"use strict";o.d(f,{B:()=>S,K:()=>y});var n=o(1528),i=o(34739),d=o(72584),u=o(95248),a=o(98416),e=o(28876),c=o(60928),l=o(6400),g=o(75205),b=o(74968),_=o(71408);class S{constructor(h,C,v,M){this.clientId=h,this.cryptoImpl=C,this.commonLogger=v.clone(g.N,g.W),this.staticAuthorityOptions=M}getAllAccounts(h){return this.buildTenantProfiles(this.getAccountsFilteredBy(h||{}),h)}getAccountInfoFilteredBy(h){const C=this.getAllAccounts(h);return C.length>1?C.sort(M=>M.idTokenClaims?-1:1)[0]:1===C.length?C[0]:null}getBaseAccountInfo(h){const C=this.getAccountsFilteredBy(h);return C.length>0?C[0].getAccountInfo():null}buildTenantProfiles(h,C){return h.flatMap(v=>this.getAccountInfoForTenantProfiles(v,C))}getAccountInfoForTenantProfiles(h,C){return this.getTenantProfilesFromAccountEntity(h,C?.tenantId,C)}getTenantedAccountInfoByFilter(h,C,v,M){let A,E=null;if(M&&!this.tenantProfileMatchesFilter(v,M))return null;const T=this.getIdToken(h,C,v.tenantId);return T&&(A=(0,l.aw)(T.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(A,M))?null:(E=(0,c.Ho)(h,v,A,T?.secret),E)}getTenantProfilesFromAccountEntity(h,C,v){const M=h.getAccountInfo();let E=M.tenantProfiles||new Map;const A=this.getTokenKeys();if(C){const R=E.get(C);if(!R)return[];E=new Map([[C,R]])}const T=[];return E.forEach(R=>{const N=this.getTenantedAccountInfoByFilter(M,A,R,v);N&&T.push(N)}),T}tenantProfileMatchesFilter(h,C){return!(C.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(h,C.localAccountId)||C.name&&h.name!==C.name||void 0!==C.isHomeTenant&&h.isHomeTenant!==C.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(h,C){return!(C&&(C.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(h,C.localAccountId)||C.loginHint&&!this.matchLoginHintFromTokenClaims(h,C.loginHint)||C.username&&!this.matchUsername(h.preferred_username,C.username)||C.name&&!this.matchName(h,C.name)||C.sid&&!this.matchSid(h,C.sid)))}saveCacheRecord(h,C){var v=this;return(0,n.c)(function*(){if(!h)throw(0,e.mQ)(_.invalidCacheRecord);h.account&&v.setAccount(h.account),h.idToken&&!1!==C?.idToken&&v.setIdTokenCredential(h.idToken),h.accessToken&&!1!==C?.accessToken&&(yield v.saveAccessToken(h.accessToken)),h.refreshToken&&!1!==C?.refreshToken&&v.setRefreshTokenCredential(h.refreshToken),h.appMetadata&&v.setAppMetadata(h.appMetadata)})()}saveAccessToken(h){var C=this;return(0,n.c)(function*(){const v={clientId:h.clientId,credentialType:h.credentialType,environment:h.environment,homeAccountId:h.homeAccountId,realm:h.realm,tokenType:h.tokenType,requestedClaimsHash:h.requestedClaimsHash},M=C.getTokenKeys(),E=u.k.fromString(h.target),A=[];M.accessToken.forEach(T=>{if(!C.accessTokenKeyMatchesFilter(T,v,!1))return;const R=C.getAccessTokenCredential(T);R&&C.credentialMatchesFilter(R,v)&&u.k.fromString(R.target).intersectingScopeSets(E)&&A.push(C.removeAccessToken(T))}),yield Promise.all(A),C.setAccessTokenCredential(h)})()}getAccountsFilteredBy(h){const C=this.getAccountKeys(),v=[];return C.forEach(M=>{if(!this.isAccountKey(M,h.homeAccountId))return;const E=this.getAccount(M,this.commonLogger);if(!E||h.homeAccountId&&!this.matchHomeAccountId(E,h.homeAccountId)||h.username&&!this.matchUsername(E.username,h.username)||h.environment&&!this.matchEnvironment(E,h.environment)||h.realm&&!this.matchRealm(E,h.realm)||h.nativeAccountId&&!this.matchNativeAccountId(E,h.nativeAccountId)||h.authorityType&&!this.matchAuthorityType(E,h.authorityType))return;const A={localAccountId:h?.localAccountId,name:h?.name},T=E.tenantProfiles?.filter(R=>this.tenantProfileMatchesFilter(R,A));T&&0===T.length||v.push(E)}),v}isAccountKey(h,C,v){return!(h.split(i.Mj.CACHE_KEY_SEPARATOR).length<3||C&&!h.toLowerCase().includes(C.toLowerCase())||v&&!h.toLowerCase().includes(v.toLowerCase()))}isCredentialKey(h){if(h.split(i.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const C=h.toLowerCase();if(-1===C.indexOf(i.yu.ID_TOKEN.toLowerCase())&&-1===C.indexOf(i.yu.ACCESS_TOKEN.toLowerCase())&&-1===C.indexOf(i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===C.indexOf(i.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(C.indexOf(i.yu.REFRESH_TOKEN.toLowerCase())>-1){const M=`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${i.wj}${i.Mj.CACHE_KEY_SEPARATOR}`;if(-1===C.indexOf(`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${i.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===C.indexOf(M.toLowerCase()))return!1}else if(-1===C.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(h,C){return!(C.clientId&&!this.matchClientId(h,C.clientId)||C.userAssertionHash&&!this.matchUserAssertionHash(h,C.userAssertionHash)||"string"==typeof C.homeAccountId&&!this.matchHomeAccountId(h,C.homeAccountId)||C.environment&&!this.matchEnvironment(h,C.environment)||C.realm&&!this.matchRealm(h,C.realm)||C.credentialType&&!this.matchCredentialType(h,C.credentialType)||C.familyId&&!this.matchFamilyId(h,C.familyId)||C.target&&!this.matchTarget(h,C.target)||(C.requestedClaimsHash||h.requestedClaimsHash)&&h.requestedClaimsHash!==C.requestedClaimsHash||h.credentialType===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(C.tokenType&&!this.matchTokenType(h,C.tokenType)||C.tokenType===i.me.SSH&&C.keyId&&!this.matchKeyId(h,C.keyId)))}getAppMetadataFilteredBy(h){return this.getAppMetadataFilteredByInternal(h.environment,h.clientId)}getAppMetadataFilteredByInternal(h,C){const v=this.getKeys(),M={};return v.forEach(E=>{if(!this.isAppMetadata(E))return;const A=this.getAppMetadata(E);A&&(h&&!this.matchEnvironment(A,h)||C&&!this.matchClientId(A,C)||(M[E]=A))}),M}getAuthorityMetadataByAlias(h){const C=this.getAuthorityMetadataKeys();let v=null;return C.forEach(M=>{if(!this.isAuthorityMetadata(M)||-1===M.indexOf(this.clientId))return;const E=this.getAuthorityMetadata(M);E&&-1!==E.aliases.indexOf(h)&&(v=E)}),v}removeAllAccounts(){var h=this;return(0,n.c)(function*(){const C=h.getAccountKeys(),v=[];C.forEach(M=>{v.push(h.removeAccount(M))}),yield Promise.all(v)})()}removeAccount(h){var C=this;return(0,n.c)(function*(){const v=C.getAccount(h,C.commonLogger);v&&(yield C.removeAccountContext(v),C.removeItem(h))})()}removeAccountContext(h){var C=this;return(0,n.c)(function*(){const v=C.getTokenKeys(),M=h.generateAccountId(),E=[];v.idToken.forEach(A=>{0===A.indexOf(M)&&C.removeIdToken(A)}),v.accessToken.forEach(A=>{0===A.indexOf(M)&&E.push(C.removeAccessToken(A))}),v.refreshToken.forEach(A=>{0===A.indexOf(M)&&C.removeRefreshToken(A)}),yield Promise.all(E)})()}updateOutdatedCachedAccount(h,C,v){if(C&&C.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const M=this.getAccountKeys().filter(N=>N.startsWith(C.homeAccountId)),E=[];M.forEach(N=>{const I=this.getCachedAccountEntity(N);I&&E.push(I)});const A=E.find(N=>(0,c.Wo)(N.realm,N.homeAccountId))||E[0];A.tenantProfiles=E.map(N=>({tenantId:N.realm,localAccountId:N.localAccountId,name:N.name,isHomeTenant:(0,c.Wo)(N.realm,N.homeAccountId)}));const T=S.toObject(new a.M,{...A}),R=T.generateAccountKey();return M.forEach(N=>{N!==R&&this.removeOutdatedAccount(h)}),this.setAccount(T),v?.verbose("Updated an outdated account entity in the cache"),T}return C}removeAccessToken(h){var C=this;return(0,n.c)(function*(){const v=C.getAccessTokenCredential(h);if(v){if(v.credentialType.toLowerCase()===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&v.tokenType===i.me.POP){const E=v.keyId;if(E)try{yield C.cryptoImpl.removeTokenBindingKey(E)}catch{throw(0,e.mQ)(_.bindingKeyNotRemoved)}}return C.removeItem(h)}})()}removeAppMetadata(){return this.getKeys().forEach(C=>{this.isAppMetadata(C)&&this.removeItem(C)}),!0}readAccountFromCache(h){const C=a.M.generateAccountCacheKey(h);return this.getAccount(C,this.commonLogger)}getIdToken(h,C,v,M,E){this.commonLogger.trace("CacheManager - getIdToken called");const T=this.getIdTokensByFilter({homeAccountId:h.homeAccountId,environment:h.environment,credentialType:i.yu.ID_TOKEN,clientId:this.clientId,realm:v},C),R=T.size;if(R<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(R>1){let N=T;if(!v){const I=new Map;T.forEach((O,z)=>{O.realm===h.tenantId&&I.set(z,O)});const L=I.size;if(L<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),T.values().next().value;if(1===L)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),I.values().next().value;N=I}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),N.forEach((I,L)=>{this.removeIdToken(L)}),M&&E&&M.addFields({multiMatchedID:T.size},E),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),T.values().next().value}getIdTokensByFilter(h,C){const v=C&&C.idToken||this.getTokenKeys().idToken,M=new Map;return v.forEach(E=>{if(!this.idTokenKeyMatchesFilter(E,{clientId:this.clientId,...h}))return;const A=this.getIdTokenCredential(E);A&&this.credentialMatchesFilter(A,h)&&M.set(E,A)}),M}idTokenKeyMatchesFilter(h,C){const v=h.toLowerCase();return!(C.clientId&&-1===v.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===v.indexOf(C.homeAccountId.toLowerCase()))}removeIdToken(h){this.removeItem(h)}removeRefreshToken(h){this.removeItem(h)}getAccessToken(h,C,v,M,E,A){this.commonLogger.trace("CacheManager - getAccessToken called");const T=u.k.createSearchScopes(C.scopes),R=C.authenticationScheme||i.me.BEARER,N=R&&R.toLowerCase()!==i.me.BEARER.toLowerCase()?i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:i.yu.ACCESS_TOKEN,I={homeAccountId:h.homeAccountId,environment:h.environment,credentialType:N,clientId:this.clientId,realm:M||h.tenantId,target:T,tokenType:R,keyId:C.sshKid,requestedClaimsHash:C.requestedClaimsHash},L=v&&v.accessToken||this.getTokenKeys().accessToken,O=[];L.forEach(F=>{if(this.accessTokenKeyMatchesFilter(F,I,!0)){const q=this.getAccessTokenCredential(F);q&&this.credentialMatchesFilter(q,I)&&O.push(q)}});const z=O.length;return z<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):z>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),O.forEach(F=>{this.removeAccessToken((0,d.AZ)(F))}),E&&A&&E.addFields({multiMatchedAT:O.length},A),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),O[0])}accessTokenKeyMatchesFilter(h,C,v){const M=h.toLowerCase();if(C.clientId&&-1===M.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===M.indexOf(C.homeAccountId.toLowerCase())||C.realm&&-1===M.indexOf(C.realm.toLowerCase())||C.requestedClaimsHash&&-1===M.indexOf(C.requestedClaimsHash.toLowerCase()))return!1;if(C.target){const E=C.target.asArray();for(let A=0;A{if(!this.accessTokenKeyMatchesFilter(M,h,!0))return;const E=this.getAccessTokenCredential(M);E&&this.credentialMatchesFilter(E,h)&&v.push(E)}),v}getRefreshToken(h,C,v,M,E){this.commonLogger.trace("CacheManager - getRefreshToken called");const T={homeAccountId:h.homeAccountId,environment:h.environment,credentialType:i.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:C?i.wj:void 0},R=v&&v.refreshToken||this.getTokenKeys().refreshToken,N=[];R.forEach(L=>{if(this.refreshTokenKeyMatchesFilter(L,T)){const O=this.getRefreshTokenCredential(L);O&&this.credentialMatchesFilter(O,T)&&N.push(O)}});const I=N.length;return I<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(I>1&&M&&E&&M.addFields({multiMatchedRT:I},E),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),N[0])}refreshTokenKeyMatchesFilter(h,C){const v=h.toLowerCase();return!(C.familyId&&-1===v.indexOf(C.familyId.toLowerCase())||!C.familyId&&C.clientId&&-1===v.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===v.indexOf(C.homeAccountId.toLowerCase()))}readAppMetadataFromCache(h){const v=this.getAppMetadataFilteredBy({environment:h,clientId:this.clientId}),M=Object.keys(v).map(A=>v[A]),E=M.length;if(E<1)return null;if(E>1)throw(0,e.mQ)(_.multipleMatchingAppMetadata);return M[0]}isAppMetadataFOCI(h){const C=this.readAppMetadataFromCache(h);return!(!C||C.familyId!==i.wj)}matchHomeAccountId(h,C){return"string"==typeof h.homeAccountId&&C===h.homeAccountId}matchLocalAccountIdFromTokenClaims(h,C){return C===(h.oid||h.sub)}matchLocalAccountIdFromTenantProfile(h,C){return h.localAccountId===C}matchName(h,C){return C.toLowerCase()===h.name?.toLowerCase()}matchUsername(h,C){return!(!h||"string"!=typeof h||C?.toLowerCase()!==h.toLowerCase())}matchUserAssertionHash(h,C){return!(!h.userAssertionHash||C!==h.userAssertionHash)}matchEnvironment(h,C){if(this.staticAuthorityOptions){const M=(0,b.ET)(this.staticAuthorityOptions,this.commonLogger);if(M.includes(C)&&M.includes(h.environment))return!0}const v=this.getAuthorityMetadataByAlias(C);return!!(v&&v.aliases.indexOf(h.environment)>-1)}matchCredentialType(h,C){return h.credentialType&&C.toLowerCase()===h.credentialType.toLowerCase()}matchClientId(h,C){return!(!h.clientId||C!==h.clientId)}matchFamilyId(h,C){return!(!h.familyId||C!==h.familyId)}matchRealm(h,C){return h.realm?.toLowerCase()===C.toLowerCase()}matchNativeAccountId(h,C){return!(!h.nativeAccountId||C!==h.nativeAccountId)}matchLoginHintFromTokenClaims(h,C){return h.login_hint===C||h.preferred_username===C||h.upn===C}matchSid(h,C){return h.sid===C}matchAuthorityType(h,C){return!(!h.authorityType||C.toLowerCase()!==h.authorityType.toLowerCase())}matchTarget(h,C){return!(h.credentialType!==i.yu.ACCESS_TOKEN&&h.credentialType!==i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!h.target)&&u.k.fromString(h.target).containsScopeSet(C)}matchTokenType(h,C){return!(!h.tokenType||h.tokenType!==C)}matchKeyId(h,C){return!(!h.keyId||h.keyId!==C)}isAppMetadata(h){return-1!==h.indexOf(i.cz)}isAuthorityMetadata(h){return-1!==h.indexOf(i.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(h){return`${i.Ni.CACHE_KEY}-${this.clientId}-${h}`}static toObject(h,C){for(const v in C)h[v]=C[v];return h}}class y extends S{setAccount(){throw(0,e.mQ)(_.methodNotImplemented)}getAccount(){throw(0,e.mQ)(_.methodNotImplemented)}getCachedAccountEntity(){throw(0,e.mQ)(_.methodNotImplemented)}setIdTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}getIdTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}setAccessTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}getAccessTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}setRefreshTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}getRefreshTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}setAppMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}getAppMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}setServerTelemetry(){throw(0,e.mQ)(_.methodNotImplemented)}getServerTelemetry(){throw(0,e.mQ)(_.methodNotImplemented)}setAuthorityMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}getAuthorityMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}getAuthorityMetadataKeys(){throw(0,e.mQ)(_.methodNotImplemented)}setThrottlingCache(){throw(0,e.mQ)(_.methodNotImplemented)}getThrottlingCache(){throw(0,e.mQ)(_.methodNotImplemented)}removeItem(){throw(0,e.mQ)(_.methodNotImplemented)}containsKey(){throw(0,e.mQ)(_.methodNotImplemented)}getKeys(){throw(0,e.mQ)(_.methodNotImplemented)}getAccountKeys(){throw(0,e.mQ)(_.methodNotImplemented)}getTokenKeys(){throw(0,e.mQ)(_.methodNotImplemented)}clear(){return(0,n.c)(function*(){throw(0,e.mQ)(_.methodNotImplemented)})()}updateCredentialCacheKey(){throw(0,e.mQ)(_.methodNotImplemented)}removeOutdatedAccount(){throw(0,e.mQ)(_.methodNotImplemented)}}},98416:(ve,f,o)=>{"use strict";o.d(f,{M:()=>g});var n=o(34739),i=o(22045),d=o(60928),u=o(28876),a=o(25988),e=o(79032),c=o(65072),l=o(71408);class g{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return g.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map(_=>[_.tenantId,_]))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(_){const S=_.homeAccountId.split(".")[1];return[_.homeAccountId,_.environment||"",S||_.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(_,S,y){const m=new g;let h;m.authorityType=S.authorityType===a.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:S.protocolMode===c.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,_.clientInfo&&y&&(h=(0,i.G)(_.clientInfo,y)),m.clientInfo=_.clientInfo,m.homeAccountId=_.homeAccountId,m.nativeAccountId=_.nativeAccountId;const C=_.environment||S&&S.getPreferredCache();if(!C)throw(0,u.mQ)(l.invalidCacheEnvironment);if(m.environment=C,m.realm=h?.utid||(0,e.c)(_.idTokenClaims)||"",m.localAccountId=h?.uid||_.idTokenClaims.oid||_.idTokenClaims.sub||"",m.username=_.idTokenClaims.preferred_username||_.idTokenClaims.upn||(_.idTokenClaims.emails?_.idTokenClaims.emails[0]:null)||"",m.name=_.idTokenClaims.name,m.cloudGraphHostName=_.cloudGraphHostName,m.msGraphHost=_.msGraphHost,_.tenantProfiles)m.tenantProfiles=_.tenantProfiles;else{const E=[];if(_.idTokenClaims){const A=(0,d.EJ)(_.homeAccountId,_.idTokenClaims);E.push(A)}m.tenantProfiles=E}return m}static createFromAccountInfo(_,S,y){const m=new g;return m.authorityType=_.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,m.homeAccountId=_.homeAccountId,m.localAccountId=_.localAccountId,m.nativeAccountId=_.nativeAccountId,m.realm=_.tenantId,m.environment=_.environment,m.username=_.username,m.name=_.name,m.cloudGraphHostName=S,m.msGraphHost=y,m.tenantProfiles=Array.from(_.tenantProfiles?.values()||[]),m}static generateHomeAccountId(_,S,y,m,h){if(S!==a.O.Adfs&&S!==a.O.Dsts){if(_)try{const C=(0,i.G)(_,m.base64Decode);if(C.uid&&C.utid)return`${C.uid}.${C.utid}`}catch{}y.warning("No client info in response")}return h?.sub||""}static isAccountEntity(_){return!!_&&_.hasOwnProperty("homeAccountId")&&_.hasOwnProperty("environment")&&_.hasOwnProperty("realm")&&_.hasOwnProperty("localAccountId")&&_.hasOwnProperty("username")&&_.hasOwnProperty("authorityType")}static accountInfoIsEqual(_,S,y){if(!_||!S)return!1;let m=!0;if(y){const h=_.idTokenClaims||{},C=S.idTokenClaims||{};m=h.iat===C.iat&&h.nonce===C.nonce}return _.homeAccountId===S.homeAccountId&&_.localAccountId===S.localAccountId&&_.username===S.username&&_.tenantId===S.tenantId&&_.environment===S.environment&&_.nativeAccountId===S.nativeAccountId&&m}}},9488:(ve,f,o)=>{"use strict";o.d(f,{O:()=>n});class n{constructor(d,u,a,e,c){this.account=d||null,this.idToken=u||null,this.accessToken=a||null,this.refreshToken=e||null,this.appMetadata=c||null}}},72584:(ve,f,o)=>{"use strict";o.d(f,{AZ:()=>e,LS:()=>S,MJ:()=>l,S:()=>T,U5:()=>y,Ul:()=>_,YF:()=>c,_c:()=>g,aA:()=>N,cb:()=>O,gv:()=>I,mk:()=>z,q6:()=>R,s7:()=>A,sH:()=>L,sX:()=>E});var n=o(6400),i=o(28876),d=o(34739),u=o(50160),a=o(71408);function e(F){return[m(F),h(F),C(F),v(F),M(F)].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function c(F,q,X,ce,K){return{credentialType:d.yu.ID_TOKEN,homeAccountId:F,environment:q,clientId:ce,secret:X,realm:K}}function l(F,q,X,ce,K,ne,Y,H,ae,re,W,ee,J,G,de){const be={homeAccountId:F,credentialType:d.yu.ACCESS_TOKEN,secret:X,cachedAt:(0,u.GO)().toString(),expiresOn:Y.toString(),extendedExpiresOn:H.toString(),environment:q,clientId:ce,realm:K,target:ne,tokenType:W||d.me.BEARER};if(ee&&(be.userAssertionHash=ee),re&&(be.refreshOn=re.toString()),G&&(be.requestedClaims=G,be.requestedClaimsHash=de),be.tokenType?.toLowerCase()!==d.me.BEARER.toLowerCase())switch(be.credentialType=d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,be.tokenType){case d.me.POP:const Ae=(0,n.aw)(X,ae);if(!Ae?.cnf?.kid)throw(0,i.mQ)(a.tokenClaimsCnfRequiredForSignedJwt);be.keyId=Ae.cnf.kid;break;case d.me.SSH:be.keyId=J}return be}function g(F,q,X,ce,K,ne,Y){const H={credentialType:d.yu.REFRESH_TOKEN,homeAccountId:F,environment:q,clientId:ce,secret:X};return ne&&(H.userAssertionHash=ne),K&&(H.familyId=K),Y&&(H.expiresOn=Y.toString()),H}function b(F){return F.hasOwnProperty("homeAccountId")&&F.hasOwnProperty("environment")&&F.hasOwnProperty("credentialType")&&F.hasOwnProperty("clientId")&&F.hasOwnProperty("secret")}function _(F){return!!F&&b(F)&&F.hasOwnProperty("realm")&&F.hasOwnProperty("target")&&(F.credentialType===d.yu.ACCESS_TOKEN||F.credentialType===d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function S(F){return!!F&&b(F)&&F.hasOwnProperty("realm")&&F.credentialType===d.yu.ID_TOKEN}function y(F){return!!F&&b(F)&&F.credentialType===d.yu.REFRESH_TOKEN}function m(F){return[F.homeAccountId,F.environment].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function h(F){return[F.credentialType,F.credentialType===d.yu.REFRESH_TOKEN&&F.familyId||F.clientId,F.realm||""].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function C(F){return(F.target||"").toLowerCase()}function v(F){return(F.requestedClaimsHash||"").toLowerCase()}function M(F){return F.tokenType&&F.tokenType.toLowerCase()!==d.me.BEARER.toLowerCase()?F.tokenType.toLowerCase():""}function E(F,q){const X=0===F.indexOf(d.ic.CACHE_KEY);let ce=!0;return q&&(ce=q.hasOwnProperty("failedRequests")&&q.hasOwnProperty("errors")&&q.hasOwnProperty("cacheHits")),X&&ce}function A(F,q){let X=!1;F&&(X=0===F.indexOf(d.gr.THROTTLING_PREFIX));let ce=!0;return q&&(ce=q.hasOwnProperty("throttleTime")),X&&ce}function T({environment:F,clientId:q}){return[d.cz,F,q].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function R(F,q){return!!q&&0===F.indexOf(d.cz)&&q.hasOwnProperty("clientId")&&q.hasOwnProperty("environment")}function N(F,q){return!!q&&0===F.indexOf(d.Ni.CACHE_KEY)&&q.hasOwnProperty("aliases")&&q.hasOwnProperty("preferred_cache")&&q.hasOwnProperty("preferred_network")&&q.hasOwnProperty("canonical_authority")&&q.hasOwnProperty("authorization_endpoint")&&q.hasOwnProperty("token_endpoint")&&q.hasOwnProperty("issuer")&&q.hasOwnProperty("aliasesFromNetwork")&&q.hasOwnProperty("endpointsFromNetwork")&&q.hasOwnProperty("expiresAt")&&q.hasOwnProperty("jwks_uri")}function I(){return(0,u.GO)()+d.Ni.REFRESH_TIME_SECONDS}function L(F,q,X){F.authorization_endpoint=q.authorization_endpoint,F.token_endpoint=q.token_endpoint,F.end_session_endpoint=q.end_session_endpoint,F.issuer=q.issuer,F.endpointsFromNetwork=X,F.jwks_uri=q.jwks_uri}function O(F,q,X){F.aliases=q.aliases,F.preferred_cache=q.preferred_cache,F.preferred_network=q.preferred_network,F.aliasesFromNetwork=X}function z(F){return F.expiresAt<=(0,u.GO)()}},80660:(ve,f,o)=>{"use strict";o.d(f,{cJ:()=>A,k5:()=>S,qW:()=>R});var n=o(1528),i=o(65172),d=o(73364),u=o(34739),a=o(75205),e=o(67952),c=o(6536),l=o(65072),g=o(28876),b=o(71408);const S={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},y={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:d.G.Info,correlationId:u.Mv.EMPTY_STRING},m={claimsBasedCachingEnabled:!1},h={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(b.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(b.methodNotImplemented)})()},C={sku:u.Mv.SKU,version:a.W,cpu:u.Mv.EMPTY_STRING,os:u.Mv.EMPTY_STRING},v={clientSecret:u.Mv.EMPTY_STRING,clientAssertion:void 0},M={azureCloudInstance:e.C.None,tenant:`${u.Mv.DEFAULT_COMMON_TENANT}`},E={application:{appName:"",appVersion:""}};function A({authOptions:N,systemOptions:I,loggerOptions:L,cacheOptions:O,storageInterface:z,networkInterface:F,cryptoInterface:q,clientCredentials:X,libraryInfo:ce,telemetry:K,serverTelemetryManager:ne,persistencePlugin:Y,serializableCache:H}){const ae={...y,...L};return{authOptions:T(N),systemOptions:{...S,...I},loggerOptions:ae,cacheOptions:{...m,...O},storageInterface:z||new c.K(N.clientId,i.K,new d.Y(ae)),networkInterface:F||h,cryptoInterface:q||i.K,clientCredentials:X||v,libraryInfo:{...C,...ce},telemetry:{...E,...K},serverTelemetryManager:ne||null,persistencePlugin:Y||null,serializableCache:H||null}}function T(N){return{clientCapabilities:[],azureCloudOptions:M,skipAuthorityMetadataCache:!1,...N}}function R(N){return N.authOptions.authority.options.protocolMode===l.g.OIDC}},91076:(ve,f,o)=>{"use strict";o.d(f,{Bz:()=>c,CS:()=>H,E$:()=>v,Gs:()=>be,Ku:()=>u,MZ:()=>A,N2:()=>tt,O0:()=>K,Ok:()=>st,S1:()=>S,SS:()=>Me,U3:()=>d,UJ:()=>R,WG:()=>T,WM:()=>mt,YR:()=>re,Yc:()=>$e,Yr:()=>O,_E:()=>ce,_k:()=>n,aw:()=>Y,cD:()=>a,cf:()=>G,cx:()=>z,e6:()=>L,e8:()=>e,eU:()=>I,eo:()=>ae,gL:()=>ee,gt:()=>N,iK:()=>W,k1:()=>de,kB:()=>i,kT:()=>J,n:()=>C,op:()=>ne,qA:()=>X,sp:()=>qe,sx:()=>q,uQ:()=>F,y2:()=>h});const n="client_id",i="redirect_uri",d="response_type",u="response_mode",a="grant_type",e="claims",c="scope",S="refresh_token",h="state",C="nonce",v="prompt",A="code",T="code_challenge",R="code_challenge_method",N="code_verifier",I="client-request-id",L="x-client-SKU",O="x-client-VER",z="x-client-OS",F="x-client-CPU",q="x-client-current-telemetry",X="x-client-last-telemetry",ce="x-ms-lib-capability",K="x-app-name",ne="x-app-ver",Y="post_logout_redirect_uri",H="id_token_hint",ae="device_code",re="client_secret",W="client_assertion",ee="client_assertion_type",J="token_type",G="req_cnf",de="assertion",be="requested_token_use",Me="return_spa_code",$e="nativebroker",qe="logout_hint",tt="sid",mt="login_hint",st="domain_hint"},65172:(ve,f,o)=>{"use strict";o.d(f,{K:()=>u});var n=o(1528),i=o(28876),d=o(71408);const u={createNewGuid:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Decode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Encode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})()}},46392:(ve,f,o)=>{"use strict";o.d(f,{w:()=>c});var n=o(1528),i=o(50160),d=o(67648),u=o(85348),a=o(14035);class c{constructor(g,b){this.cryptoUtils=g,this.performanceClient=b}generateCnf(g,b){var _=this;return(0,n.c)(function*(){_.performanceClient?.addQueueMeasurement(u.Xv.PopTokenGenerateCnf,g.correlationId);const S=yield(0,a.C)(_.generateKid.bind(_),u.Xv.PopTokenGenerateCnf,b,_.performanceClient,g.correlationId)(g),y=_.cryptoUtils.base64Encode(JSON.stringify(S));return{kid:S.kid,reqCnfString:y,reqCnfHash:yield _.cryptoUtils.hashString(y)}})()}generateKid(g){var b=this;return(0,n.c)(function*(){return b.performanceClient?.addQueueMeasurement(u.Xv.PopTokenGenerateKid,g.correlationId),{kid:yield b.cryptoUtils.getPublicKeyThumbprint(g),xms_ksl:"sw"}})()}signPopToken(g,b,_){var S=this;return(0,n.c)(function*(){return S.signPayload(g,b,_)})()}signPayload(g,b,_,S){var y=this;return(0,n.c)(function*(){const{resourceRequestMethod:m,resourceRequestUri:h,shrClaims:C,shrNonce:v,shrOptions:M}=_,A=(h?new d._(h):void 0)?.getUrlComponents();return y.cryptoUtils.signJwt({at:g,ts:(0,i.GO)(),m:m?.toUpperCase(),u:A?.HostNameAndPort,nonce:v||y.cryptoUtils.createNewGuid(),p:A?.AbsolutePath,q:A?.QueryString?[[],A.QueryString]:void 0,client_claims:C||void 0,...S},b,M,_.correlationId)})()}}},66936:(ve,f,o)=>{"use strict";o.d(f,{GM:()=>u,Ub:()=>e,WM:()=>a});var n=o(34739),i=o(83228);const d={[i.unexpectedError]:"Unexpected error in authentication.",[i.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},u={unexpectedError:{code:i.unexpectedError,desc:d[i.unexpectedError]},postRequestFailed:{code:i.postRequestFailed,desc:d[i.postRequestFailed]}};class a extends Error{constructor(l,g,b){super(g?`${l}: ${g}`:l),Object.setPrototypeOf(this,a.prototype),this.errorCode=l||n.Mv.EMPTY_STRING,this.errorMessage=g||n.Mv.EMPTY_STRING,this.subError=b||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(l){this.correlationId=l}}function e(c,l){return new a(c,l?`${d[c]} ${l}`:d[c])}},83228:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{postRequestFailed:()=>i,unexpectedError:()=>n});const n="unexpected_error",i="post_request_failed"},28876:(ve,f,o)=>{"use strict";o.d(f,{m6:()=>u,mQ:()=>e,oJ:()=>a});var n=o(66936),i=o(71408);const d={[i.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[i.clientInfoEmptyError]:"The client info was empty",[i.tokenParsingError]:"Token cannot be parsed",[i.nullOrEmptyToken]:"The token is null or empty",[i.endpointResolutionError]:"Endpoints cannot be resolved",[i.networkError]:"Network request failed",[i.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[i.hashNotDeserialized]:"The hash parameters could not be deserialized",[i.invalidState]:"State was not the expected format",[i.stateMismatch]:"State mismatch error",[i.stateNotFound]:"State not found",[i.nonceMismatch]:"Nonce mismatch error",[i.authTimeNotFound]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[i.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[i.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[i.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[i.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[i.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[i.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[i.cannotAppendScopeSet]:"Cannot append ScopeSet",[i.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[i.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[i.deviceCodeExpired]:"Device code is expired.",[i.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[i.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[i.invalidCacheRecord]:"Cache record object was null or undefined.",[i.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[i.noAccountFound]:"No account found in cache for given key.",[i.noCryptoObject]:"No crypto object detected.",[i.unexpectedCredentialType]:"Unexpected credential type.",[i.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[i.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[i.tokenRefreshRequired]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[i.userTimeoutReached]:"User defined timeout for device code polling reached",[i.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[i.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[i.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[i.endSessionEndpointNotSupported]:"The provided authority does not support logout",[i.keyIdMissing]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.userCanceled]:"User cancelled the flow.",[i.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[i.methodNotImplemented]:"This method has not been implemented",[i.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},u={clientInfoDecodingError:{code:i.clientInfoDecodingError,desc:d[i.clientInfoDecodingError]},clientInfoEmptyError:{code:i.clientInfoEmptyError,desc:d[i.clientInfoEmptyError]},tokenParsingError:{code:i.tokenParsingError,desc:d[i.tokenParsingError]},nullOrEmptyToken:{code:i.nullOrEmptyToken,desc:d[i.nullOrEmptyToken]},endpointResolutionError:{code:i.endpointResolutionError,desc:d[i.endpointResolutionError]},networkError:{code:i.networkError,desc:d[i.networkError]},unableToGetOpenidConfigError:{code:i.openIdConfigError,desc:d[i.openIdConfigError]},hashNotDeserialized:{code:i.hashNotDeserialized,desc:d[i.hashNotDeserialized]},invalidStateError:{code:i.invalidState,desc:d[i.invalidState]},stateMismatchError:{code:i.stateMismatch,desc:d[i.stateMismatch]},stateNotFoundError:{code:i.stateNotFound,desc:d[i.stateNotFound]},nonceMismatchError:{code:i.nonceMismatch,desc:d[i.nonceMismatch]},authTimeNotFoundError:{code:i.authTimeNotFound,desc:d[i.authTimeNotFound]},maxAgeTranspired:{code:i.maxAgeTranspired,desc:d[i.maxAgeTranspired]},multipleMatchingTokens:{code:i.multipleMatchingTokens,desc:d[i.multipleMatchingTokens]},multipleMatchingAccounts:{code:i.multipleMatchingAccounts,desc:d[i.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:i.multipleMatchingAppMetadata,desc:d[i.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:i.requestCannotBeMade,desc:d[i.requestCannotBeMade]},removeEmptyScopeError:{code:i.cannotRemoveEmptyScope,desc:d[i.cannotRemoveEmptyScope]},appendScopeSetError:{code:i.cannotAppendScopeSet,desc:d[i.cannotAppendScopeSet]},emptyInputScopeSetError:{code:i.emptyInputScopeSet,desc:d[i.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:i.deviceCodePollingCancelled,desc:d[i.deviceCodePollingCancelled]},DeviceCodeExpired:{code:i.deviceCodeExpired,desc:d[i.deviceCodeExpired]},DeviceCodeUnknownError:{code:i.deviceCodeUnknownError,desc:d[i.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:i.noAccountInSilentRequest,desc:d[i.noAccountInSilentRequest]},invalidCacheRecord:{code:i.invalidCacheRecord,desc:d[i.invalidCacheRecord]},invalidCacheEnvironment:{code:i.invalidCacheEnvironment,desc:d[i.invalidCacheEnvironment]},noAccountFound:{code:i.noAccountFound,desc:d[i.noAccountFound]},noCryptoObj:{code:i.noCryptoObject,desc:d[i.noCryptoObject]},unexpectedCredentialType:{code:i.unexpectedCredentialType,desc:d[i.unexpectedCredentialType]},invalidAssertion:{code:i.invalidAssertion,desc:d[i.invalidAssertion]},invalidClientCredential:{code:i.invalidClientCredential,desc:d[i.invalidClientCredential]},tokenRefreshRequired:{code:i.tokenRefreshRequired,desc:d[i.tokenRefreshRequired]},userTimeoutReached:{code:i.userTimeoutReached,desc:d[i.userTimeoutReached]},tokenClaimsRequired:{code:i.tokenClaimsCnfRequiredForSignedJwt,desc:d[i.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:i.authorizationCodeMissingFromServerResponse,desc:d[i.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:i.bindingKeyNotRemoved,desc:d[i.bindingKeyNotRemoved]},logoutNotSupported:{code:i.endSessionEndpointNotSupported,desc:d[i.endSessionEndpointNotSupported]},keyIdMissing:{code:i.keyIdMissing,desc:d[i.keyIdMissing]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:d[i.noNetworkConnectivity]},userCanceledError:{code:i.userCanceled,desc:d[i.userCanceled]},missingTenantIdError:{code:i.missingTenantIdError,desc:d[i.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:i.nestedAppAuthBridgeDisabled,desc:d[i.nestedAppAuthBridgeDisabled]}};class a extends n.WM{constructor(l,g){super(l,g?`${d[l]}: ${g}`:d[l]),this.name="ClientAuthError",Object.setPrototypeOf(this,a.prototype)}}function e(c,l){return new a(c,l)}},71408:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{authTimeNotFound:()=>y,authorizationCodeMissingFromServerResponse:()=>ae,bindingKeyNotRemoved:()=>re,cannotAppendScopeSet:()=>A,cannotRemoveEmptyScope:()=>E,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>i,deviceCodeExpired:()=>N,deviceCodePollingCancelled:()=>R,deviceCodeUnknownError:()=>I,emptyInputScopeSet:()=>T,endSessionEndpointNotSupported:()=>W,endpointResolutionError:()=>a,hashNotDeserialized:()=>l,invalidAssertion:()=>ce,invalidCacheEnvironment:()=>z,invalidCacheRecord:()=>O,invalidClientCredential:()=>K,invalidState:()=>g,keyIdMissing:()=>ee,maxAgeTranspired:()=>m,methodNotImplemented:()=>be,missingTenantIdError:()=>de,multipleMatchingAccounts:()=>C,multipleMatchingAppMetadata:()=>v,multipleMatchingTokens:()=>h,nestedAppAuthBridgeDisabled:()=>Ae,networkError:()=>e,noAccountFound:()=>F,noAccountInSilentRequest:()=>L,noCryptoObject:()=>q,noNetworkConnectivity:()=>J,nonceMismatch:()=>S,nullOrEmptyToken:()=>u,openIdConfigError:()=>c,requestCannotBeMade:()=>M,stateMismatch:()=>b,stateNotFound:()=>_,tokenClaimsCnfRequiredForSignedJwt:()=>H,tokenParsingError:()=>d,tokenRefreshRequired:()=>ne,unexpectedCredentialType:()=>X,userCanceled:()=>G,userTimeoutReached:()=>Y});const n="client_info_decoding_error",i="client_info_empty_error",d="token_parsing_error",u="null_or_empty_token",a="endpoints_resolution_error",e="network_error",c="openid_config_error",l="hash_not_deserialized",g="invalid_state",b="state_mismatch",_="state_not_found",S="nonce_mismatch",y="auth_time_not_found",m="max_age_transpired",h="multiple_matching_tokens",C="multiple_matching_accounts",v="multiple_matching_appMetadata",M="request_cannot_be_made",E="cannot_remove_empty_scope",A="cannot_append_scopeset",T="empty_input_scopeset",R="device_code_polling_cancelled",N="device_code_expired",I="device_code_unknown_error",L="no_account_in_silent_request",O="invalid_cache_record",z="invalid_cache_environment",F="no_account_found",q="no_crypto_object",X="unexpected_credential_type",ce="invalid_assertion",K="invalid_client_credential",ne="token_refresh_required",Y="user_timeout_reached",H="token_claims_cnf_required_for_signedjwt",ae="authorization_code_missing_from_server_response",re="binding_key_not_removed",W="end_session_endpoint_not_supported",ee="key_id_missing",J="no_network_connectivity",G="user_canceled",de="missing_tenant_id_error",be="method_not_implemented",Ae="nested_app_auth_bridge_disabled"},59684:(ve,f,o)=>{"use strict";o.d(f,{OA:()=>u,Ou:()=>a,QN:()=>e});var n=o(66936),i=o(32336);const d={[i.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[i.claimsRequestParsingError]:"Could not parse the given claims request object.",[i.authorityUriInsecure]:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[i.urlParseError]:"URL could not be parsed into appropriate segments.",[i.urlEmptyError]:"URL was empty or null.",[i.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[i.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[i.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[i.tokenRequestEmpty]:"Token request was empty and not found in cache.",[i.logoutRequestEmpty]:"The logout request was null or undefined.",[i.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[i.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[i.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[i.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[i.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[i.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[i.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[i.missingNonceAuthenticationHeader]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[i.invalidAuthenticationHeader]:"Invalid authentication header provided",[i.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[i.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[i.authorityMismatch]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."},u={redirectUriNotSet:{code:i.redirectUriEmpty,desc:d[i.redirectUriEmpty]},claimsRequestParsingError:{code:i.claimsRequestParsingError,desc:d[i.claimsRequestParsingError]},authorityUriInsecure:{code:i.authorityUriInsecure,desc:d[i.authorityUriInsecure]},urlParseError:{code:i.urlParseError,desc:d[i.urlParseError]},urlEmptyError:{code:i.urlEmptyError,desc:d[i.urlEmptyError]},emptyScopesError:{code:i.emptyInputScopesError,desc:d[i.emptyInputScopesError]},invalidPrompt:{code:i.invalidPromptValue,desc:d[i.invalidPromptValue]},invalidClaimsRequest:{code:i.invalidClaims,desc:d[i.invalidClaims]},tokenRequestEmptyError:{code:i.tokenRequestEmpty,desc:d[i.tokenRequestEmpty]},logoutRequestEmptyError:{code:i.logoutRequestEmpty,desc:d[i.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:i.invalidCodeChallengeMethod,desc:d[i.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:i.pkceParamsMissing,desc:d[i.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:i.invalidCloudDiscoveryMetadata,desc:d[i.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:i.invalidAuthorityMetadata,desc:d[i.invalidAuthorityMetadata]},untrustedAuthority:{code:i.untrustedAuthority,desc:d[i.untrustedAuthority]},missingSshJwk:{code:i.missingSshJwk,desc:d[i.missingSshJwk]},missingSshKid:{code:i.missingSshKid,desc:d[i.missingSshKid]},missingNonceAuthenticationHeader:{code:i.missingNonceAuthenticationHeader,desc:d[i.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:i.invalidAuthenticationHeader,desc:d[i.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:i.cannotSetOIDCOptions,desc:d[i.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:i.cannotAllowNativeBroker,desc:d[i.cannotAllowNativeBroker]},authorityMismatch:{code:i.authorityMismatch,desc:d[i.authorityMismatch]}};class a extends n.WM{constructor(l){super(l,d[l]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,a.prototype)}}function e(c){return new a(c)}},32336:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{authorityMismatch:()=>R,authorityUriInsecure:()=>d,cannotAllowNativeBroker:()=>T,cannotSetOIDCOptions:()=>A,claimsRequestParsingError:()=>i,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>E,invalidAuthorityMetadata:()=>m,invalidClaims:()=>l,invalidCloudDiscoveryMetadata:()=>y,invalidCodeChallengeMethod:()=>_,invalidPromptValue:()=>c,logoutRequestEmpty:()=>b,missingNonceAuthenticationHeader:()=>M,missingSshJwk:()=>C,missingSshKid:()=>v,pkceParamsMissing:()=>S,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>g,untrustedAuthority:()=>h,urlEmptyError:()=>a,urlParseError:()=>u});const n="redirect_uri_empty",i="claims_request_parsing_error",d="authority_uri_insecure",u="url_parse_error",a="empty_url_error",e="empty_input_scopes_error",c="invalid_prompt_value",l="invalid_claims",g="token_request_empty",b="logout_request_empty",_="invalid_code_challenge_method",S="pkce_params_missing",y="invalid_cloud_discovery_metadata",m="invalid_authority_metadata",h="untrusted_authority",C="missing_ssh_jwk",v="missing_ssh_kid",M="missing_nonce_authentication_header",E="invalid_authentication_header",A="cannot_set_OIDCOptions",T="cannot_allow_native_broker",R="authority_mismatch"},53408:(ve,f,o)=>{"use strict";o.d(f,{A6:()=>b,aq:()=>g,gx:()=>c,uw:()=>l});var n=o(34739),i=o(66936),d=o(72896);const u=[d.interactionRequired,d.consentRequired,d.loginRequired,d.badToken],a=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[d.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[d.nativeAccountUnavailable]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[d.refreshTokenExpired]:"Refresh token has expired.",[d.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},c={noTokensFoundError:{code:d.noTokensFound,desc:e[d.noTokensFound]},native_account_unavailable:{code:d.nativeAccountUnavailable,desc:e[d.nativeAccountUnavailable]},bad_token:{code:d.badToken,desc:e[d.badToken]}};class l extends i.WM{constructor(S,y,m,h,C,v,M){super(S,y,m),Object.setPrototypeOf(this,l.prototype),this.timestamp=h||n.Mv.EMPTY_STRING,this.traceId=C||n.Mv.EMPTY_STRING,this.correlationId=v||n.Mv.EMPTY_STRING,this.claims=M||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function g(_,S,y){const m=!!_&&u.indexOf(_)>-1,h=!!y&&a.indexOf(y)>-1,C=!!S&&u.some(v=>S.indexOf(v)>-1);return m||C||h}function b(_){return new l(_,e[_])}},72896:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{badToken:()=>c,consentRequired:()=>a,interactionRequired:()=>u,loginRequired:()=>e,nativeAccountUnavailable:()=>i,noTokensFound:()=>n,refreshTokenExpired:()=>d});const n="no_tokens_found",i="native_account_unavailable",d="refresh_token_expired",u="interaction_required",a="consent_required",e="login_required",c="bad_token"},76944:(ve,f,o)=>{"use strict";o.d(f,{s:()=>i});var n=o(66936);class i extends n.WM{constructor(u,a,e){super(u,a,e),this.name="ServerError",Object.setPrototypeOf(this,i.prototype)}}},73364:(ve,f,o)=>{"use strict";o.d(f,{G:()=>i,Y:()=>d});var n=o(34739),i=function(u){return u[u.Error=0]="Error",u[u.Warning=1]="Warning",u[u.Info=2]="Info",u[u.Verbose=3]="Verbose",u[u.Trace=4]="Trace",u}(i||{});class d{constructor(a,e,c){this.level=i.Info;const g=a||d.createDefaultLoggerOptions();this.localCallback=g.loggerCallback||(()=>{}),this.piiLoggingEnabled=g.piiLoggingEnabled||!1,this.level="number"==typeof g.logLevel?g.logLevel:i.Info,this.correlationId=g.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=c||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:i.Info}}clone(a,e,c){return new d({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:c||this.correlationId},a,e)}logMessage(a,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const g=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${i[e.logLevel]} - ${a}`;this.executeCallback(e.logLevel,g,e.containsPii||!1)}executeCallback(a,e,c){this.localCallback&&this.localCallback(a,e,c)}error(a,e){this.logMessage(a,{logLevel:i.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(a,e){this.logMessage(a,{logLevel:i.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(a,e){this.logMessage(a,{logLevel:i.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(a,e){this.logMessage(a,{logLevel:i.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(a,e){this.logMessage(a,{logLevel:i.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(a,e){this.logMessage(a,{logLevel:i.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(a,e){this.logMessage(a,{logLevel:i.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(a,e){this.logMessage(a,{logLevel:i.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(a,e){this.logMessage(a,{logLevel:i.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(a,e){this.logMessage(a,{logLevel:i.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(ve,f,o)=>{"use strict";o.d(f,{N:()=>n,W:()=>i});const n="@azure/msal-common",i="14.7.1"},33363:(ve,f,o)=>{"use strict";o.d(f,{I:()=>c});var n=o(34739),i=o(91076),d=o(95248),u=o(59684),a=o(77768),e=o(32336);class c{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(i.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(i.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(g){this.parameters.set(i.Ku,encodeURIComponent(g||n.oh.QUERY))}addNativeBroker(){this.parameters.set(i.Yc,encodeURIComponent("1"))}addScopes(g,b=!0,_=n.ac){b&&!_.includes("openid")&&!g.includes("openid")&&_.push("openid");const S=b?[...g||[],..._]:g||[],y=new d.k(S);this.parameters.set(i.Bz,encodeURIComponent(y.printScopes()))}addClientId(g){this.parameters.set(i._k,encodeURIComponent(g))}addRedirectUri(g){a.e.validateRedirectUri(g),this.parameters.set(i.kB,encodeURIComponent(g))}addPostLogoutRedirectUri(g){a.e.validateRedirectUri(g),this.parameters.set(i.aw,encodeURIComponent(g))}addIdTokenHint(g){this.parameters.set(i.CS,encodeURIComponent(g))}addDomainHint(g){this.parameters.set(i.Ok,encodeURIComponent(g))}addLoginHint(g){this.parameters.set(i.WM,encodeURIComponent(g))}addCcsUpn(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${g}`))}addCcsOid(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${g.uid}@${g.utid}`))}addSid(g){this.parameters.set(i.N2,encodeURIComponent(g))}addClaims(g,b){const _=this.addClientCapabilitiesToClaims(g,b);a.e.validateClaims(_),this.parameters.set(i.e8,encodeURIComponent(_))}addCorrelationId(g){this.parameters.set(i.eU,encodeURIComponent(g))}addLibraryInfo(g){this.parameters.set(i.e6,g.sku),this.parameters.set(i.Yr,g.version),g.os&&this.parameters.set(i.cx,g.os),g.cpu&&this.parameters.set(i.uQ,g.cpu)}addApplicationTelemetry(g){g?.appName&&this.parameters.set(i.O0,g.appName),g?.appVersion&&this.parameters.set(i.op,g.appVersion)}addPrompt(g){a.e.validatePrompt(g),this.parameters.set(`${i.E$}`,encodeURIComponent(g))}addState(g){g&&this.parameters.set(i.y2,encodeURIComponent(g))}addNonce(g){this.parameters.set(i.n,encodeURIComponent(g))}addCodeChallengeParams(g,b){if(a.e.validateCodeChallengeParams(g,b),!g||!b)throw(0,u.QN)(e.pkceParamsMissing);this.parameters.set(i.WG,encodeURIComponent(g)),this.parameters.set(i.UJ,encodeURIComponent(b))}addAuthorizationCode(g){this.parameters.set(i.MZ,encodeURIComponent(g))}addDeviceCode(g){this.parameters.set(i.eo,encodeURIComponent(g))}addRefreshToken(g){this.parameters.set(i.S1,encodeURIComponent(g))}addCodeVerifier(g){this.parameters.set(i.gt,encodeURIComponent(g))}addClientSecret(g){this.parameters.set(i.YR,encodeURIComponent(g))}addClientAssertion(g){g&&this.parameters.set(i.iK,encodeURIComponent(g))}addClientAssertionType(g){g&&this.parameters.set(i.gL,encodeURIComponent(g))}addOboAssertion(g){this.parameters.set(i.k1,encodeURIComponent(g))}addRequestTokenUse(g){this.parameters.set(i.Gs,encodeURIComponent(g))}addGrantType(g){this.parameters.set(i.cD,encodeURIComponent(g))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(g){const b=a.e.sanitizeEQParams(g,this.parameters);Object.keys(b).forEach(_=>{this.parameters.set(_,g[_])})}addClientCapabilitiesToClaims(g,b){let _;if(g)try{_=JSON.parse(g)}catch{throw(0,u.QN)(e.invalidClaims)}else _={};return b&&b.length>0&&(_.hasOwnProperty(n.ai.ACCESS_TOKEN)||(_[n.ai.ACCESS_TOKEN]={}),_[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:b}),JSON.stringify(_)}addUsername(g){this.parameters.set(n.uU.username,encodeURIComponent(g))}addPassword(g){this.parameters.set(n.uU.password,encodeURIComponent(g))}addPopToken(g){g&&(this.parameters.set(i.kT,n.me.POP),this.parameters.set(i.cf,encodeURIComponent(g)))}addSshJwk(g){g&&(this.parameters.set(i.kT,n.me.SSH),this.parameters.set(i.cf,encodeURIComponent(g)))}addServerTelemetry(g){this.parameters.set(i.sx,g.generateCurrentRequestHeaderValue()),this.parameters.set(i.qA,g.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(i._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(g){this.parameters.set(i.sp,encodeURIComponent(g))}createQueryString(){const g=new Array;return this.parameters.forEach((b,_)=>{g.push(`${_}=${b}`)}),g.join("&")}}},77768:(ve,f,o)=>{"use strict";o.d(f,{e:()=>u});var n=o(59684),i=o(34739),d=o(32336);class u{static validateRedirectUri(e){if(!e)throw(0,n.QN)(d.redirectUriEmpty)}static validatePrompt(e){const c=[];for(const l in i.GI)c.push(i.GI[l]);if(c.indexOf(e)<0)throw(0,n.QN)(d.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(d.invalidClaims)}}static validateCodeChallengeParams(e,c){if(!e||!c)throw(0,n.QN)(d.pkceParamsMissing);this.validateCodeChallengeMethod(c)}static validateCodeChallengeMethod(e){if([i.a2.PLAIN,i.a2.S256].indexOf(e)<0)throw(0,n.QN)(d.invalidCodeChallengeMethod)}static sanitizeEQParams(e,c){return e?(c.forEach((l,g)=>{e[g]&&delete e[g]}),Object.fromEntries(Object.entries(e).filter(l=>""!==l[1]))):{}}}},95248:(ve,f,o)=>{"use strict";o.d(f,{k:()=>c});var n=o(59684),i=o(7828),d=o(28876),u=o(34739),a=o(32336),e=o(71408);class c{constructor(g){const b=g?i.e.trimArrayEntries([...g]):[],_=b?i.e.removeEmptyStringsFromArray(b):[];this.validateInputScopes(_),this.scopes=new Set,_.forEach(S=>this.scopes.add(S))}static fromString(g){const _=(g||u.Mv.EMPTY_STRING).split(" ");return new c(_)}static createSearchScopes(g){const b=new c(g);return b.containsOnlyOIDCScopes()?b.removeScope(u.Mv.OFFLINE_ACCESS_SCOPE):b.removeOIDCScopes(),b}validateInputScopes(g){if(!g||g.length<1)throw(0,n.QN)(a.emptyInputScopesError)}containsScope(g){const b=this.printScopesLowerCase().split(" "),_=new c(b);return!!g&&_.scopes.has(g.toLowerCase())}containsScopeSet(g){return!(!g||g.scopes.size<=0)&&this.scopes.size>=g.scopes.size&&g.asArray().every(b=>this.containsScope(b))}containsOnlyOIDCScopes(){let g=0;return u.sj.forEach(b=>{this.containsScope(b)&&(g+=1)}),this.scopes.size===g}appendScope(g){g&&this.scopes.add(g.trim())}appendScopes(g){try{g.forEach(b=>this.appendScope(b))}catch{throw(0,d.mQ)(e.cannotAppendScopeSet)}}removeScope(g){if(!g)throw(0,d.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(g.trim())}removeOIDCScopes(){u.sj.forEach(g=>{this.scopes.delete(g)})}unionScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);const b=new Set;return g.scopes.forEach(_=>b.add(_.toLowerCase())),this.scopes.forEach(_=>b.add(_.toLowerCase())),b}intersectingScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);g.containsOnlyOIDCScopes()||g.removeOIDCScopes();const b=this.unionScopeSets(g),_=g.getScopeCount(),S=this.getScopeCount();return b.sizeg.push(b)),g}printScopes(){return this.scopes?this.asArray().join(" "):u.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(ve,f,o)=>{"use strict";o.d(f,{W8:()=>i,Xv:()=>n,ol:()=>d});const n={AcquireTokenByCode:"acquireTokenByCode",AcquireTokenByRefreshToken:"acquireTokenByRefreshToken",AcquireTokenSilent:"acquireTokenSilent",AcquireTokenSilentAsync:"acquireTokenSilentAsync",AcquireTokenPopup:"acquireTokenPopup",AcquireTokenRedirect:"acquireTokenRedirect",CryptoOptsGetPublicKeyThumbprint:"cryptoOptsGetPublicKeyThumbprint",CryptoOptsSignJwt:"cryptoOptsSignJwt",SilentCacheClientAcquireToken:"silentCacheClientAcquireToken",SilentIframeClientAcquireToken:"silentIframeClientAcquireToken",SilentRefreshClientAcquireToken:"silentRefreshClientAcquireToken",SsoSilent:"ssoSilent",StandardInteractionClientGetDiscoveredAuthority:"standardInteractionClientGetDiscoveredAuthority",FetchAccountIdWithNativeBroker:"fetchAccountIdWithNativeBroker",NativeInteractionClientAcquireToken:"nativeInteractionClientAcquireToken",BaseClientCreateTokenRequestHeaders:"baseClientCreateTokenRequestHeaders",RefreshTokenClientExecutePostToTokenEndpoint:"refreshTokenClientExecutePostToTokenEndpoint",AuthorizationCodeClientExecutePostToTokenEndpoint:"authorizationCodeClientExecutePostToTokenEndpoint",BrokerHandhshake:"brokerHandshake",AcquireTokenByRefreshTokenInBroker:"acquireTokenByRefreshTokenInBroker",AcquireTokenByBroker:"acquireTokenByBroker",RefreshTokenClientExecuteTokenRequest:"refreshTokenClientExecuteTokenRequest",RefreshTokenClientAcquireToken:"refreshTokenClientAcquireToken",RefreshTokenClientAcquireTokenWithCachedRefreshToken:"refreshTokenClientAcquireTokenWithCachedRefreshToken",RefreshTokenClientAcquireTokenByRefreshToken:"refreshTokenClientAcquireTokenByRefreshToken",RefreshTokenClientCreateTokenRequestBody:"refreshTokenClientCreateTokenRequestBody",AcquireTokenFromCache:"acquireTokenFromCache",SilentFlowClientAcquireCachedToken:"silentFlowClientAcquireCachedToken",SilentFlowClientGenerateResultFromCacheRecord:"silentFlowClientGenerateResultFromCacheRecord",AcquireTokenBySilentIframe:"acquireTokenBySilentIframe",InitializeBaseRequest:"initializeBaseRequest",InitializeSilentRequest:"initializeSilentRequest",InitializeClientApplication:"initializeClientApplication",SilentIframeClientTokenHelper:"silentIframeClientTokenHelper",SilentHandlerInitiateAuthRequest:"silentHandlerInitiateAuthRequest",SilentHandlerMonitorIframeForHash:"silentHandlerMonitorIframeForHash",SilentHandlerLoadFrame:"silentHandlerLoadFrame",SilentHandlerLoadFrameSync:"silentHandlerLoadFrameSync",StandardInteractionClientCreateAuthCodeClient:"standardInteractionClientCreateAuthCodeClient",StandardInteractionClientGetClientConfiguration:"standardInteractionClientGetClientConfiguration",StandardInteractionClientInitializeAuthorizationRequest:"standardInteractionClientInitializeAuthorizationRequest",StandardInteractionClientInitializeAuthorizationCodeRequest:"standardInteractionClientInitializeAuthorizationCodeRequest",GetAuthCodeUrl:"getAuthCodeUrl",HandleCodeResponseFromServer:"handleCodeResponseFromServer",HandleCodeResponse:"handleCodeResponse",UpdateTokenEndpointAuthority:"updateTokenEndpointAuthority",AuthClientAcquireToken:"authClientAcquireToken",AuthClientExecuteTokenRequest:"authClientExecuteTokenRequest",AuthClientCreateTokenRequestBody:"authClientCreateTokenRequestBody",AuthClientCreateQueryString:"authClientCreateQueryString",PopTokenGenerateCnf:"popTokenGenerateCnf",PopTokenGenerateKid:"popTokenGenerateKid",HandleServerTokenResponse:"handleServerTokenResponse",DeserializeResponse:"deserializeResponse",AuthorityFactoryCreateDiscoveredInstance:"authorityFactoryCreateDiscoveredInstance",AuthorityResolveEndpointsAsync:"authorityResolveEndpointsAsync",AuthorityResolveEndpointsFromLocalSources:"authorityResolveEndpointsFromLocalSources",AuthorityGetCloudDiscoveryMetadataFromNetwork:"authorityGetCloudDiscoveryMetadataFromNetwork",AuthorityUpdateCloudDiscoveryMetadata:"authorityUpdateCloudDiscoveryMetadata",AuthorityGetEndpointMetadataFromNetwork:"authorityGetEndpointMetadataFromNetwork",AuthorityUpdateEndpointMetadata:"authorityUpdateEndpointMetadata",AuthorityUpdateMetadataWithRegionalInformation:"authorityUpdateMetadataWithRegionalInformation",RegionDiscoveryDetectRegion:"regionDiscoveryDetectRegion",RegionDiscoveryGetRegionFromIMDS:"regionDiscoveryGetRegionFromIMDS",RegionDiscoveryGetCurrentVersion:"regionDiscoveryGetCurrentVersion",AcquireTokenByCodeAsync:"acquireTokenByCodeAsync",GetEndpointMetadataFromNetwork:"getEndpointMetadataFromNetwork",GetCloudDiscoveryMetadataFromNetworkMeasurement:"getCloudDiscoveryMetadataFromNetworkMeasurement",HandleRedirectPromiseMeasurement:"handleRedirectPromise",HandleNativeRedirectPromiseMeasurement:"handleNativeRedirectPromise",UpdateCloudDiscoveryMetadataMeasurement:"updateCloudDiscoveryMetadataMeasurement",UsernamePasswordClientAcquireToken:"usernamePasswordClientAcquireToken",NativeMessageHandlerHandshake:"nativeMessageHandlerHandshake",NativeGenerateAuthResult:"nativeGenerateAuthResult",RemoveHiddenIframe:"removeHiddenIframe",ClearTokensAndKeysWithClaims:"clearTokensAndKeysWithClaims",CacheManagerGetRefreshToken:"cacheManagerGetRefreshToken",GeneratePkceCodes:"generatePkceCodes",GenerateCodeVerifier:"generateCodeVerifier",GenerateCodeChallengeFromVerifier:"generateCodeChallengeFromVerifier",Sha256Digest:"sha256Digest",GetRandomValues:"getRandomValues"},i={NotStarted:0,InProgress:1,Completed:2},d=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(ve,f,o)=>{"use strict";o.d(f,{W:()=>i,_:()=>d});var n=o(85348);class i{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class d{generateId(){return"callback-id"}startMeasurement(a,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:a,startTimeMs:Date.now(),correlationId:e||""},measurement:new i}}startPerformanceMeasurement(){return new i}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(ve,f,o)=>{"use strict";o.d(f,{_:()=>e});var n=o(59684),i=o(7828),d=o(34739),u=o(33680),a=o(32336);class e{get urlString(){return this._urlString}constructor(l){if(this._urlString=l,!this._urlString)throw(0,n.QN)(a.urlEmptyError);l.includes("#")||(this._urlString=e.canonicalizeUri(l))}static canonicalizeUri(l){if(l){let g=l.toLowerCase();return i.e.endsWith(g,"?")?g=g.slice(0,-1):i.e.endsWith(g,"?/")&&(g=g.slice(0,-2)),i.e.endsWith(g,"/")||(g+="/"),g}return l}validateAsUri(){let l;try{l=this.getUrlComponents()}catch{throw(0,n.QN)(a.urlParseError)}if(!l.HostNameAndPort||!l.PathSegments)throw(0,n.QN)(a.urlParseError);if(!l.Protocol||"https:"!==l.Protocol.toLowerCase())throw(0,n.QN)(a.authorityUriInsecure)}static appendQueryString(l,g){return g?l.indexOf("?")<0?`${l}?${g}`:`${l}&${g}`:l}static removeHashFromUrl(l){return e.canonicalizeUri(l.split("#")[0])}replaceTenantPath(l){const g=this.getUrlComponents(),b=g.PathSegments;return l&&0!==b.length&&(b[0]===d.sN.COMMON||b[0]===d.sN.ORGANIZATIONS)&&(b[0]=l),e.constructAuthorityUriFromObject(g)}getUrlComponents(){const l=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),g=this.urlString.match(l);if(!g)throw(0,n.QN)(a.urlParseError);const b={Protocol:g[1],HostNameAndPort:g[4],AbsolutePath:g[5],QueryString:g[7]};let _=b.AbsolutePath.split("/");return _=_.filter(S=>S&&S.length>0),b.PathSegments=_,b.QueryString&&b.QueryString.endsWith("/")&&(b.QueryString=b.QueryString.substring(0,b.QueryString.length-1)),b}static getDomainFromUrl(l){const g=RegExp("^([^:/?#]+://)?([^/?#]*)"),b=l.match(g);if(!b)throw(0,n.QN)(a.urlParseError);return b[2]}static getAbsoluteUrl(l,g){if(l[0]===d.Mv.FORWARD_SLASH){const _=new e(g).getUrlComponents();return _.Protocol+"//"+_.HostNameAndPort+l}return l}static constructAuthorityUriFromObject(l){return new e(l.Protocol+"//"+l.HostNameAndPort+"/"+l.PathSegments.join("/"))}static hashContainsKnownProperties(l){return!!(0,u.u)(l)}}},34739:(ve,f,o)=>{"use strict";o.d(f,{A9:()=>m,GI:()=>g,Gu:()=>K,IH:()=>e,Ku:()=>y,MF:()=>a,Mf:()=>ce,Mj:()=>h,Mv:()=>n,Ni:()=>T,Q$:()=>q,Q3:()=>i,Y$:()=>E,a2:()=>b,ac:()=>d,ai:()=>l,cv:()=>R,cz:()=>M,eE:()=>_,gr:()=>L,ic:()=>N,me:()=>I,oh:()=>S,rF:()=>O,sL:()=>F,sN:()=>c,sj:()=>u,uU:()=>z,wR:()=>X,wj:()=>A,yu:()=>C});const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},i={SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR_RANGE_START:400,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR_RANGE_START:500,SERVER_ERROR_RANGE_END:599},d=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],u=[...d,n.EMAIL_SCOPE],a={CONTENT_TYPE:"Content-Type",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},e={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},c={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},l={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},g={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},b={PLAIN:"plain",S256:"S256"},_={QUERY:"query",FRAGMENT:"fragment"},S={..._,FORM_POST:"form_post"},y={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},m={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},h={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},C={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},M="appmetadata",E="client_info",A="1",T={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},R={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},N={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},I={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},L={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},O={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},z={username:"username",password:"password"},F={httpSuccess:200,httpBadRequest:400},q={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},X={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ce={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},K={Jwt:"JWT",Jwk:"JWK",Pop:"pop"}},14035:(ve,f,o)=>{"use strict";o.d(f,{C:()=>i,q:()=>n});const n=(d,u,a,e,c)=>(...l)=>{a.trace(`Executing function ${u}`);const g=e?.startMeasurement(u,c);if(c){const b=u+"CallCount";e?.incrementFields({[b]:1},c)}try{const b=d(...l);return g?.end({success:!0}),a.trace(`Returning result from ${u}`),b}catch(b){a.trace(`Error occurred in ${u}`);try{a.trace(JSON.stringify(b))}catch{a.trace("Unable to print error message.")}throw g?.end({success:!1}),b}},i=(d,u,a,e,c)=>(...l)=>{a.trace(`Executing function ${u}`);const g=e?.startMeasurement(u,c);if(c){const b=u+"CallCount";e?.incrementFields({[b]:1},c)}return e?.setPreQueueTime(u,c),d(...l).then(b=>(a.trace(`Returning result from ${u}`),g?.end({success:!0}),b)).catch(b=>{a.trace(`Error occurred in ${u}`);try{a.trace(JSON.stringify(b))}catch{a.trace("Unable to print error message.")}throw g?.end({success:!1}),b})}},86144:(ve,f,o)=>{"use strict";o.d(f,{c:()=>u});var n=o(34739),i=o(28876),d=o(71408);class u{static setRequestState(e,c,l){const g=u.generateLibraryState(e,l);return c?`${g}${n.Mv.RESOURCE_DELIM}${c}`:g}static generateLibraryState(e,c){if(!e)throw(0,i.mQ)(d.noCryptoObject);const l={id:e.createNewGuid()};c&&(l.meta=c);const g=JSON.stringify(l);return e.base64Encode(g)}static parseRequestState(e,c){if(!e)throw(0,i.mQ)(d.noCryptoObject);if(!c)throw(0,i.mQ)(d.invalidState);try{const l=c.split(n.Mv.RESOURCE_DELIM),g=l[0],b=l.length>1?l.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,_=e.base64Decode(g),S=JSON.parse(_);return{userRequestState:b||n.Mv.EMPTY_STRING,libraryState:S}}catch{throw(0,i.mQ)(d.invalidState)}}}},7828:(ve,f,o)=>{"use strict";o.d(f,{e:()=>n});class n{static isEmptyObj(d){if(d)try{const u=JSON.parse(d);return 0===Object.keys(u).length}catch{}return!0}static startsWith(d,u){return 0===d.indexOf(u)}static endsWith(d,u){return d.length>=u.length&&d.lastIndexOf(u)===d.length-u.length}static queryStringToObject(d){const u={},a=d.split("&"),e=c=>decodeURIComponent(c.replace(/\+/g," "));return a.forEach(c=>{if(c.trim()){const[l,g]=c.split(/=(.+)/g,2);l&&g&&(u[e(l)]=e(g))}}),u}static trimArrayEntries(d){return d.map(u=>u.trim())}static removeEmptyStringsFromArray(d){return d.filter(u=>!!u)}static jsonParseHelper(d){try{return JSON.parse(d)}catch{return null}}static matchPattern(d,u){return new RegExp(d.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(u)}}},50160:(ve,f,o)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function i(a,e){const c=Number(a)||0;return n()+e>c}function d(a){return Number(a)>n()}o.d(f,{G4:()=>d,GO:()=>n,WY:()=>i})},33680:(ve,f,o)=>{"use strict";o.d(f,{u:()=>u,w:()=>d});var n=o(28876),i=o(71408);function d(a){return a.startsWith("#/")?a.substring(2):a.startsWith("#")||a.startsWith("?")?a.substring(1):a}function u(a){if(!a||a.indexOf("=")<0)return null;try{const e=d(a),c=Object.fromEntries(new URLSearchParams(e));if(c.code||c.error||c.error_description||c.state)return c}catch{throw(0,n.mQ)(i.hashNotDeserialized)}return null}},57848:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{FaConfig:()=>gi,FaDuotoneIconComponent:()=>Sn,FaIconComponent:()=>ro,FaIconLibrary:()=>Ii,FaLayersComponent:()=>Qi,FaLayersCounterComponent:()=>Oi,FaLayersTextComponent:()=>Xr,FaStackComponent:()=>bi,FaStackItemSizeDirective:()=>$i,FontAwesomeModule:()=>ao});var n=o(54496);function i(Be,it){var x=Object.keys(Be);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(Be);it&&(te=te.filter(function(j){return Object.getOwnPropertyDescriptor(Be,j).enumerable})),x.push.apply(x,te)}return x}function d(Be){for(var it=1;itBe.length)&&(it=Be.length);for(var x=0,te=new Array(it);x0;)it+=bn[62*Math.random()|0];return it}function nn(Be){for(var it=[],x=(Be||[]).length>>>0;x--;)it[x]=Be[x];return it}function tr(Be){return Be.classList?nn(Be.classList):(Be.getAttribute("class")||"").split(" ").filter(function(it){return it})}function Ir(Be){return"".concat(Be).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ar(Be){return Object.keys(Be||{}).reduce(function(it,x){return it+"".concat(x,": ").concat(Be[x].trim(),";")},"")}function yr(Be){return Be.size!==Pt.size||Be.x!==Pt.x||Be.y!==Pt.y||Be.rotate!==Pt.rotate||Be.flipX||Be.flipY}var Fn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function oi(){var Be=Ae,it=ye,x=Zt.cssPrefix,te=Zt.replacementClass,j=Fn;if(x!==Be||te!==it){var he=new RegExp("\\.".concat(Be,"\\-"),"g"),Oe=new RegExp("\\--".concat(Be,"\\-"),"g"),vt=new RegExp("\\.".concat(it),"g");j=j.replace(he,".".concat(x,"-")).replace(Oe,"--".concat(x,"-")).replace(vt,".".concat(te))}return j}var vr=!1;function Mr(){Zt.autoAddCss&&!vr&&(function tn(Be){if(Be&&H){var it=ce.createElement("style");it.setAttribute("type","text/css"),it.innerHTML=Be;for(var x=ce.head.childNodes,te=null,j=x.length-1;j>-1;j--){var he=x[j],Oe=(he.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Oe)>-1&&(te=he)}ce.head.insertBefore(it,te)}}(oi()),vr=!0)}var Qn={mixout:function(){return{dom:{css:oi,insertCss:Mr}}},hooks:function(){return{beforeDOMElementCreation:function(){Mr()},beforeI2svg:function(){Mr()}}}},er=X||{};er[de]||(er[de]={}),er[de].styles||(er[de].styles={}),er[de].hooks||(er[de].hooks={}),er[de].shims||(er[de].shims=[]);var xr=er[de],Si=[],jn=!1;function sr(Be){var it=Be.tag,x=Be.attributes,te=void 0===x?{}:x,j=Be.children,he=void 0===j?[]:j;return"string"==typeof Be?Ir(Be):"<".concat(it," ").concat(function Rr(Be){return Object.keys(Be||{}).reduce(function(it,x){return it+"".concat(x,'="').concat(Ir(Be[x]),'" ')},"").trim()}(te),">").concat(he.map(sr).join(""),"")}function si(Be,it,x){if(Be&&Be[it]&&Be[it][x])return{prefix:it,iconName:x,icon:Be[it][x]}}H&&((jn=(ce.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ce.readyState))||ce.addEventListener("DOMContentLoaded",function Be(){ce.removeEventListener("DOMContentLoaded",Be),jn=1,Si.map(function(it){return it()})}));var ot=function(it,x,te,j){var Ft,cn,Z,he=Object.keys(it),Oe=he.length,vt=void 0!==j?function(it,x){return function(te,j,he,Oe){return it.call(x,te,j,he,Oe)}}(x,j):x;for(void 0===te?(Ft=1,Z=it[he[0]]):(Ft=0,Z=te);Ft=55296&&j<=56319&&x2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,j=void 0!==te&&te,he=hn(it);"function"!=typeof xr.hooks.addPack||j?xr.styles[Be]=d(d({},xr.styles[Be]||{}),he):xr.hooks.addPack(Be,hn(it)),"fas"===Be&&Mn("fa",it)}var Xn,zn,Er,Ar=xr.styles,wr=xr.shims,Yn=(g(Xn={},bt,Object.values(vn[bt])),g(Xn,Vt,Object.values(vn[Vt])),Xn),di=null,un={},B={},V={},ue={},Ne={},Ie=(g(zn={},bt,Object.keys(wn[bt])),g(zn,Vt,Object.keys(wn[Vt])),zn);var et=function(){var it=function(he){return ot(Ar,function(Oe,vt,Ft){return Oe[Ft]=ot(vt,he,{}),Oe},{})};un=it(function(j,he,Oe){return he[3]&&(j[he[3]]=Oe),he[2]&&he[2].filter(function(Ft){return"number"==typeof Ft}).forEach(function(Ft){j[Ft.toString(16)]=Oe}),j}),B=it(function(j,he,Oe){return j[Oe]=Oe,he[2]&&he[2].filter(function(Ft){return"string"==typeof Ft}).forEach(function(Ft){j[Ft]=Oe}),j}),Ne=it(function(j,he,Oe){var vt=he[2];return j[Oe]=Oe,vt.forEach(function(Ft){j[Ft]=Oe}),j});var x="far"in Ar||Zt.autoFetchSvg,te=ot(wr,function(j,he){var Oe=he[0],vt=he[1],Ft=he[2];return"far"===vt&&!x&&(vt="fas"),"string"==typeof Oe&&(j.names[Oe]={prefix:vt,iconName:Ft}),"number"==typeof Oe&&(j.unicodes[Oe.toString(16)]={prefix:vt,iconName:Ft}),j},{names:{},unicodes:{}});V=te.names,ue=te.unicodes,di=gn(Zt.styleDefault,{family:Zt.familyDefault})};function _t(Be,it){return(un[Be]||{})[it]}function Nt(Be,it){return(Ne[Be]||{})[it]}function Jt(Be){return V[Be]||{prefix:null,iconName:null}}function _n(){return di}(function zt(Be){Dt.push(Be)})(function(Be){di=gn(Be.styleDefault,{family:Zt.familyDefault})}),et();var yn=function(){return{prefix:null,iconName:null,rest:[]}};function gn(Be){var x=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,te=void 0===x?bt:x;return An[te][Be]||An[te][wn[te][Be]]||(Be in xr.styles?Be:null)||null}var Gt=(g(Er={},bt,Object.keys(vn[bt])),g(Er,Vt,Object.keys(vn[Vt])),Er);function Nn(Be){var it,te=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,j=void 0!==te&&te,he=(g(it={},bt,"".concat(Zt.cssPrefix,"-").concat(bt)),g(it,Vt,"".concat(Zt.cssPrefix,"-").concat(Vt)),it),Oe=null,vt=bt;(Be.includes(he[bt])||Be.some(function(cn){return Gt[bt].includes(cn)}))&&(vt=bt),(Be.includes(he[Vt])||Be.some(function(cn){return Gt[Vt].includes(cn)}))&&(vt=Vt);var Ft=Be.reduce(function(cn,Z){var Ve=function Te(Be,it){var x=it.split("-"),te=x[0],j=x.slice(1).join("-");return te!==Be||""===j||function me(Be){return~dt.indexOf(Be)}(j)?null:j}(Zt.cssPrefix,Z);if(Ar[Z]?(Z=Yn[vt].includes(Z)?qt[vt][Z]:Z,Oe=Z,cn.prefix=Z):Ie[vt].indexOf(Z)>-1?(Oe=Z,cn.prefix=gn(Z,{family:vt})):Ve?cn.iconName=Ve:Z!==Zt.replacementClass&&Z!==he[bt]&&Z!==he[Vt]&&cn.rest.push(Z),!j&&cn.prefix&&cn.iconName){var Se="fa"===Oe?Jt(cn.iconName):{},Fe=Nt(cn.prefix,cn.iconName);Se.prefix&&(Oe=null),cn.iconName=Se.iconName||Fe||cn.iconName,cn.prefix=Se.prefix||cn.prefix,"far"===cn.prefix&&!Ar.far&&Ar.fas&&!Zt.autoFetchSvg&&(cn.prefix="fas")}return cn},yn());return(Be.includes("fa-brands")||Be.includes("fab"))&&(Ft.prefix="fab"),(Be.includes("fa-duotone")||Be.includes("fad"))&&(Ft.prefix="fad"),!Ft.prefix&&vt===Vt&&(Ar.fass||Zt.autoFetchSvg)&&(Ft.prefix="fass",Ft.iconName=Nt(Ft.prefix,Ft.iconName)||Ft.iconName),("fa"===Ft.prefix||"fa"===Oe)&&(Ft.prefix=_n()||"fas"),Ft}var cr=function(){function Be(){(function e(Be,it){if(!(Be instanceof it))throw new TypeError("Cannot call a class as a function")})(this,Be),this.definitions={}}return function l(Be,it,x){it&&c(Be.prototype,it),x&&c(Be,x),Object.defineProperty(Be,"prototype",{writable:!1})}(Be,[{key:"add",value:function(){for(var x=this,te=arguments.length,j=new Array(te),he=0;he0&&Z.forEach(function(Ve){"string"==typeof Ve&&(x[vt][Ve]=cn)}),x[vt][Ft]=cn}),x}}]),Be}(),rr=[],Ur={},Hr={},at=Object.keys(Hr);function vi(Be,it){for(var x=arguments.length,te=new Array(x>2?x-2:0),j=2;j1?it-1:0),te=1;te0&&void 0!==arguments[0]?arguments[0]:{};return H?(Pr("beforeI2svg",it),In("pseudoElements2svg",it),In("i2svg",it)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var it=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},x=it.autoReplaceSvgRoot;!1===Zt.autoReplaceSvg&&(Zt.autoReplaceSvg=!0),Zt.observeMutations=!0,function Zn(Be){H&&(jn?setTimeout(Be,0):Si.push(Be))}(function(){Kr({autoReplaceSvgRoot:x}),Pr("watch",it)})}},ai={noAuto:function(){Zt.autoReplaceSvg=!1,Zt.observeMutations=!1,Pr("noAuto")},config:Zt,dom:pi,parse:{icon:function(it){if(null===it)return null;if("object"===u(it)&&it.prefix&&it.iconName)return{prefix:it.prefix,iconName:Nt(it.prefix,it.iconName)||it.iconName};if(Array.isArray(it)&&2===it.length){var x=0===it[1].indexOf("fa-")?it[1].slice(3):it[1],te=gn(it[0]);return{prefix:te,iconName:Nt(te,x)||x}}if("string"==typeof it&&(it.indexOf("".concat(Zt.cssPrefix,"-"))>-1||it.match(ut))){var j=Nn(it.split(" "),{skipLookups:!0});return{prefix:j.prefix||_n(),iconName:Nt(j.prefix,j.iconName)||j.iconName}}if("string"==typeof it){var he=_n();return{prefix:he,iconName:Nt(he,it)||it}}}},library:ni,findIconDefinition:Gn,toHtml:sr},Kr=function(){var x=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,te=void 0===x?ce:x;(Object.keys(xr.styles).length>0||Zt.autoFetchSvg)&&H&&Zt.autoReplaceSvg&&ai.dom.i2svg({node:te})};function qr(Be,it){return Object.defineProperty(Be,"abstract",{get:it}),Object.defineProperty(Be,"html",{get:function(){return Be.abstract.map(function(te){return sr(te)})}}),Object.defineProperty(Be,"node",{get:function(){if(H){var te=ce.createElement("div");return te.innerHTML=Be.html,te.children}}}),Be}function Vi(Be){var it=Be.icons,x=it.main,te=it.mask,j=Be.prefix,he=Be.iconName,Oe=Be.transform,vt=Be.symbol,Ft=Be.title,cn=Be.maskId,Z=Be.titleId,Ve=Be.extra,Se=Be.watchable,Fe=void 0!==Se&&Se,Et=te.found?te:x,Xt=Et.width,ln=Et.height,Pn="fak"===j,fr=[Zt.replacementClass,he?"".concat(Zt.cssPrefix,"-").concat(he):""].filter(function(Xi){return-1===Ve.classes.indexOf(Xi)}).filter(function(Xi){return""!==Xi||!!Xi}).concat(Ve.classes).join(" "),pr={children:[],attributes:d(d({},Ve.attributes),{},{"data-prefix":j,"data-icon":he,class:fr,role:Ve.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Xt," ").concat(ln)})},Nr=Pn&&!~Ve.classes.indexOf("fa-fw")?{width:"".concat(Xt/ln*16*.0625,"em")}:{};Fe&&(pr.attributes[le]=""),Ft&&(pr.children.push({tag:"title",attributes:{id:pr.attributes["aria-labelledby"]||"title-".concat(Z||Tn())},children:[Ft]}),delete pr.attributes.title);var br=d(d({},pr),{},{prefix:j,iconName:he,main:x,mask:te,maskId:cn,transform:Oe,symbol:vt,styles:d(d({},Nr),Ve.styles)}),Wr=te.found&&x.found?In("generateAbstractMask",br)||{children:[],attributes:{}}:In("generateAbstractIcon",br)||{children:[],attributes:{}},Ei=Wr.attributes;return br.children=Wr.children,br.attributes=Ei,vt?function dr(Be){var x=Be.iconName,te=Be.children,j=Be.attributes,he=Be.symbol,Oe=!0===he?"".concat(Be.prefix,"-").concat(Zt.cssPrefix,"-").concat(x):he;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},j),{},{id:Oe}),children:te}]}]}(br):function Ri(Be){var it=Be.children,x=Be.main,te=Be.mask,j=Be.attributes,he=Be.styles,Oe=Be.transform;if(yr(Oe)&&x.found&&!te.found){var cn={x:x.width/x.height/2,y:.5};j.style=ar(d(d({},he),{},{"transform-origin":"".concat(cn.x+Oe.x/16,"em ").concat(cn.y+Oe.y/16,"em")}))}return[{tag:"svg",attributes:j,children:it}]}(br)}function Mo(Be){var it=Be.content,x=Be.width,te=Be.height,j=Be.transform,he=Be.title,Oe=Be.extra,vt=Be.watchable,Ft=void 0!==vt&&vt,cn=d(d(d({},Oe.attributes),he?{title:he}:{}),{},{class:Oe.classes.join(" ")});Ft&&(cn[le]="");var Z=d({},Oe.styles);yr(j)&&(Z.transform=function qn(Be){var it=Be.transform,x=Be.width,j=Be.height,he=void 0===j?16:j,Oe=Be.startCentered,vt=void 0!==Oe&&Oe,Ft="";return Ft+=vt&&ae?"translate(".concat(it.x/16-(void 0===x?16:x)/2,"em, ").concat(it.y/16-he/2,"em) "):vt?"translate(calc(-50% + ".concat(it.x/16,"em), calc(-50% + ").concat(it.y/16,"em)) "):"translate(".concat(it.x/16,"em, ").concat(it.y/16,"em) "),(Ft+="scale(".concat(it.size/16*(it.flipX?-1:1),", ").concat(it.size/16*(it.flipY?-1:1),") "))+"rotate(".concat(it.rotate,"deg) ")}({transform:j,startCentered:!0,width:x,height:te}),Z["-webkit-transform"]=Z.transform);var Ve=ar(Z);Ve.length>0&&(cn.style=Ve);var Se=[];return Se.push({tag:"span",attributes:cn,children:[it]}),he&&Se.push({tag:"span",attributes:{class:"sr-only"},children:[he]}),Se}var zr=xr.styles;function eo(Be){var it=Be[0],x=Be[1],he=S(Be.slice(4),1)[0];return{found:!0,width:it,height:x,icon:Array.isArray(he)?{tag:"g",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(He.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(He.SECONDARY),fill:"currentColor",d:he[0]}},{tag:"path",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(He.PRIMARY),fill:"currentColor",d:he[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:he}}}}var Gi={found:!1,width:512,height:512};function $r(Be,it){var x=it;return"fa"===it&&null!==Zt.styleDefault&&(it=_n()),new Promise(function(te,j){if(In("missingIconAbstract"),"fa"===x){var Oe=Jt(Be)||{};Be=Oe.iconName||Be,it=Oe.prefix||it}if(Be&&it&&zr[it]&&zr[it][Be])return te(eo(zr[it][Be]));(function to(Be,it){!Qt&&!Zt.showMissingIcons&&Be&&console.error('Icon with name "'.concat(Be,'" and prefix "').concat(it,'" is missing.'))})(Be,it),te(d(d({},Gi),{},{icon:Zt.showMissingIcons&&Be&&In("missingIconAbstract")||{}}))})}var no=function(){},_i=Zt.measurePerformance&&ne&&ne.mark&&ne.measure?ne:{mark:no,measure:no},Fi='FA "6.5.1"',lr=function(it){_i.mark("".concat(Fi," ").concat(it," ends")),_i.measure("".concat(Fi," ").concat(it),"".concat(Fi," ").concat(it," begins"),"".concat(Fi," ").concat(it," ends"))},mo={begin:function(it){return _i.mark("".concat(Fi," ").concat(it," begins")),function(){return lr(it)}},end:lr},xi=function(){};function Mi(Be){return"string"==typeof(Be.getAttribute?Be.getAttribute(le):null)}function yo(Be){return ce.createElementNS("http://www.w3.org/2000/svg",Be)}function Ni(Be){return ce.createElement(Be)}function Qr(Be){var x=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,te=void 0===x?"svg"===Be.tag?yo:Ni:x;if("string"==typeof Be)return ce.createTextNode(Be);var j=te(Be.tag);return Object.keys(Be.attributes||[]).forEach(function(Oe){j.setAttribute(Oe,Be.attributes[Oe])}),(Be.children||[]).forEach(function(Oe){j.appendChild(Qr(Oe,{ceFn:te}))}),j}var ji={replace:function(it){var x=it[0];if(x.parentNode)if(it[1].forEach(function(j){x.parentNode.insertBefore(Qr(j),x)}),null===x.getAttribute(le)&&Zt.keepOriginalSource){var te=ce.createComment(function ko(Be){var it=" ".concat(Be.outerHTML," ");return"".concat(it,"Font Awesome fontawesome.com ")}(x));x.parentNode.replaceChild(te,x)}else x.remove()},nest:function(it){var x=it[0],te=it[1];if(~tr(x).indexOf(Zt.replacementClass))return ji.replace(it);var j=new RegExp("".concat(Zt.cssPrefix,"-.*"));if(delete te[0].attributes.id,te[0].attributes.class){var he=te[0].attributes.class.split(" ").reduce(function(vt,Ft){return Ft===Zt.replacementClass||Ft.match(j)?vt.toSvg.push(Ft):vt.toNode.push(Ft),vt},{toNode:[],toSvg:[]});te[0].attributes.class=he.toSvg.join(" "),0===he.toNode.length?x.removeAttribute("class"):x.setAttribute("class",he.toNode.join(" "))}var Oe=te.map(function(vt){return sr(vt)}).join("\n");x.setAttribute(le,""),x.innerHTML=Oe}};function Ji(Be){Be()}function Yi(Be,it){var x="function"==typeof it?it:xi;if(0===Be.length)x();else{var te=Ji;Zt.mutateApproach===st&&(te=X.requestAnimationFrame||Ji),te(function(){var j=function Vr(){return!0===Zt.autoReplaceSvg?ji.replace:ji[Zt.autoReplaceSvg]||ji.replace}(),he=mo.begin("mutate");Be.map(j),he(),x()})}}var Co=!1;function oo(){Co=!0}function Yo(){Co=!1}var fo=null;function xo(Be){if(K&&Zt.observeMutations){var it=Be.treeCallback,x=void 0===it?xi:it,te=Be.nodeCallback,j=void 0===te?xi:te,he=Be.pseudoElementsCallback,Oe=void 0===he?xi:he,vt=Be.observeMutationsRoot,Ft=void 0===vt?ce:vt;fo=new K(function(cn){if(!Co){var Z=_n();nn(cn).forEach(function(Ve){if("childList"===Ve.type&&Ve.addedNodes.length>0&&!Mi(Ve.addedNodes[0])&&(Zt.searchPseudoElements&&Oe(Ve.target),x(Ve.target)),"attributes"===Ve.type&&Ve.target.parentNode&&Zt.searchPseudoElements&&Oe(Ve.target.parentNode),"attributes"===Ve.type&&Mi(Ve.target)&&~lt.indexOf(Ve.attributeName))if("class"===Ve.attributeName&&function po(Be){var it=Be.getAttribute?Be.getAttribute(qe):null,x=Be.getAttribute?Be.getAttribute(tt):null;return it&&x}(Ve.target)){var Se=Nn(tr(Ve.target)),Et=Se.iconName;Ve.target.setAttribute(qe,Se.prefix||Z),Et&&Ve.target.setAttribute(tt,Et)}else(function ho(Be){return Be&&Be.classList&&Be.classList.contains&&Be.classList.contains(Zt.replacementClass)})(Ve.target)&&j(Ve.target)})}}),H&&fo.observe(Ft,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ro(Be){var it=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},x=function us(Be){var it=Be.getAttribute("data-prefix"),x=Be.getAttribute("data-icon"),te=void 0!==Be.innerText?Be.innerText.trim():"",j=Nn(tr(Be));return j.prefix||(j.prefix=_n()),it&&x&&(j.prefix=it,j.iconName=x),j.iconName&&j.prefix||(j.prefix&&te.length>0&&(j.iconName=function At(Be,it){return(B[Be]||{})[it]}(j.prefix,Be.innerText)||_t(j.prefix,It(Be.innerText))),!j.iconName&&Zt.autoFetchSvg&&Be.firstChild&&Be.firstChild.nodeType===Node.TEXT_NODE&&(j.iconName=Be.firstChild.data)),j}(Be),te=x.iconName,j=x.prefix,he=x.rest,Oe=function Lo(Be){var it=nn(Be.attributes).reduce(function(j,he){return"class"!==j.name&&"style"!==j.name&&(j[he.name]=he.value),j},{}),x=Be.getAttribute("title"),te=Be.getAttribute("data-fa-title-id");return Zt.autoA11y&&(x?it["aria-labelledby"]="".concat(Zt.replacementClass,"-title-").concat(te||Tn()):(it["aria-hidden"]="true",it.focusable="false")),it}(Be),vt=vi("parseNodeAttributes",{},Be),Ft=it.styleParser?function ts(Be){var it=Be.getAttribute("style"),x=[];return it&&(x=it.split(";").reduce(function(te,j){var he=j.split(":"),Oe=he[0],vt=he.slice(1);return Oe&&vt.length>0&&(te[Oe]=vt.join(":").trim()),te},{})),x}(Be):[];return d({iconName:te,title:Be.getAttribute("title"),titleId:Be.getAttribute("data-fa-title-id"),prefix:j,transform:Pt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:he,styles:Ft,attributes:Oe}},vt)}var _o=xr.styles;function Fo(Be){var it="nest"===Zt.autoReplaceSvg?Ro(Be,{styleParser:!1}):Ro(Be);return~it.extra.classes.indexOf(Ue)?In("generateLayersText",Be,it):In("generateSvgReplacementMutation",Be,it)}var co=new Set;function os(Be){var it=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!H)return Promise.resolve();var x=ce.documentElement.classList,te=function(Ve){return x.add("".concat(mt,"-").concat(Ve))},j=function(Ve){return x.remove("".concat(mt,"-").concat(Ve))},he=Zt.autoFetchSvg?co:sn.map(function(Z){return"fa-".concat(Z)}).concat(Object.keys(_o));he.includes("fa")||he.push("fa");var Oe=[".".concat(Ue,":not([").concat(le,"])")].concat(he.map(function(Z){return".".concat(Z,":not([").concat(le,"])")})).join(", ");if(0===Oe.length)return Promise.resolve();var vt=[];try{vt=nn(Be.querySelectorAll(Oe))}catch{}if(!(vt.length>0))return Promise.resolve();te("pending"),j("complete");var Ft=mo.begin("onTree"),cn=vt.reduce(function(Z,Ve){try{var Se=Fo(Ve);Se&&Z.push(Se)}catch(Fe){Qt||"MissingIcon"===Fe.name&&console.error(Fe)}return Z},[]);return new Promise(function(Z,Ve){Promise.all(cn).then(function(Se){Yi(Se,function(){te("active"),te("complete"),j("pending"),"function"==typeof it&&it(),Ft(),Z()})}).catch(function(Se){Ft(),Ve(Se)})})}function Eo(Be){var it=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Fo(Be).then(function(x){x&&Yi([x],it)})}sn.map(function(Be){co.add("fa-".concat(Be))}),Object.keys(wn[bt]).map(co.add.bind(co)),Object.keys(wn[Vt]).map(co.add.bind(co)),co=y(co);var ds=function(it){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=x.transform,j=void 0===te?Pt:te,he=x.symbol,Oe=void 0!==he&&he,vt=x.mask,Ft=void 0===vt?null:vt,cn=x.maskId,Z=void 0===cn?null:cn,Ve=x.title,Se=void 0===Ve?null:Ve,Fe=x.titleId,Et=void 0===Fe?null:Fe,Xt=x.classes,ln=void 0===Xt?[]:Xt,Pn=x.attributes,fr=void 0===Pn?{}:Pn,pr=x.styles,Nr=void 0===pr?{}:pr;if(it){var br=it.prefix,Wr=it.iconName,ti=it.icon;return qr(d({type:"icon"},it),function(){return Pr("beforeDOMElementCreation",{iconDefinition:it,params:x}),Zt.autoA11y&&(Se?fr["aria-labelledby"]="".concat(Zt.replacementClass,"-title-").concat(Et||Tn()):(fr["aria-hidden"]="true",fr.focusable="false")),Vi({icons:{main:eo(ti),mask:Ft?eo(Ft.icon):{found:!1,width:null,height:null,icon:{}}},prefix:br,iconName:Wr,transform:d(d({},Pt),j),symbol:Oe,title:Se,maskId:Z,titleId:Et,extra:{attributes:fr,styles:Nr,classes:ln}})})}},Qo={mixout:function(){return{icon:(Be=ds,function(it){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=(it||{}).icon?it:Gn(it||{}),j=x.mask;return j&&(j=(j||{}).icon?j:Gn(j||{})),Be(te,d(d({},x),{},{mask:j}))})};var Be},hooks:function(){return{mutationObserverCallbacks:function(x){return x.treeCallback=os,x.nodeCallback=Eo,x}}},provides:function(it){it.i2svg=function(x){var te=x.node,he=x.callback;return os(void 0===te?ce:te,void 0===he?function(){}:he)},it.generateSvgReplacementMutation=function(x,te){var j=te.iconName,he=te.title,Oe=te.titleId,vt=te.prefix,Ft=te.transform,cn=te.symbol,Z=te.mask,Ve=te.maskId,Se=te.extra;return new Promise(function(Fe,Et){Promise.all([$r(j,vt),Z.iconName?$r(Z.iconName,Z.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Xt){var ln=S(Xt,2);Fe([x,Vi({icons:{main:ln[0],mask:ln[1]},prefix:vt,iconName:j,transform:Ft,symbol:cn,maskId:Ve,title:he,titleId:Oe,extra:Se,watchable:!0})])}).catch(Et)})},it.generateAbstractIcon=function(x){var cn,te=x.children,j=x.attributes,he=x.main,Oe=x.transform,Ft=ar(x.styles);return Ft.length>0&&(j.style=Ft),yr(Oe)&&(cn=In("generateAbstractTransformGrouping",{main:he,transform:Oe,containerWidth:he.width,iconWidth:he.width})),te.push(cn||he.icon),{children:te,attributes:j}}}},ze={mixout:function(){return{layer:function(x){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=te.classes,he=void 0===j?[]:j;return qr({type:"layer"},function(){Pr("beforeDOMElementCreation",{assembler:x,params:te});var Oe=[];return x(function(vt){Array.isArray(vt)?vt.map(function(Ft){Oe=Oe.concat(Ft.abstract)}):Oe=Oe.concat(vt.abstract)}),[{tag:"span",attributes:{class:["".concat(Zt.cssPrefix,"-layers")].concat(y(he)).join(" ")},children:Oe}]})}}}},Ke={mixout:function(){return{counter:function(x){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=te.title,he=void 0===j?null:j,Oe=te.classes,vt=void 0===Oe?[]:Oe,Ft=te.attributes,cn=void 0===Ft?{}:Ft,Z=te.styles,Ve=void 0===Z?{}:Z;return qr({type:"counter",content:x},function(){return Pr("beforeDOMElementCreation",{content:x,params:te}),function bo(Be){var it=Be.content,x=Be.title,te=Be.extra,j=d(d(d({},te.attributes),x?{title:x}:{}),{},{class:te.classes.join(" ")}),he=ar(te.styles);he.length>0&&(j.style=he);var Oe=[];return Oe.push({tag:"span",attributes:j,children:[it]}),x&&Oe.push({tag:"span",attributes:{class:"sr-only"},children:[x]}),Oe}({content:x.toString(),title:he,extra:{attributes:cn,styles:Ve,classes:["".concat(Zt.cssPrefix,"-layers-counter")].concat(y(vt))}})})}}}},ke={mixout:function(){return{text:function(x){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=te.transform,he=void 0===j?Pt:j,Oe=te.title,vt=void 0===Oe?null:Oe,Ft=te.classes,cn=void 0===Ft?[]:Ft,Z=te.attributes,Ve=void 0===Z?{}:Z,Se=te.styles,Fe=void 0===Se?{}:Se;return qr({type:"text",content:x},function(){return Pr("beforeDOMElementCreation",{content:x,params:te}),Mo({content:x,transform:d(d({},Pt),he),title:vt,extra:{attributes:Ve,styles:Fe,classes:["".concat(Zt.cssPrefix,"-layers-text")].concat(y(cn))}})})}}},provides:function(it){it.generateLayersText=function(x,te){var j=te.title,he=te.transform,Oe=te.extra,vt=null,Ft=null;if(ae){var cn=parseInt(getComputedStyle(x).fontSize,10),Z=x.getBoundingClientRect();vt=Z.width/cn,Ft=Z.height/cn}return Zt.autoA11y&&!j&&(Oe.attributes["aria-hidden"]="true"),Promise.resolve([x,Mo({content:x.innerHTML,width:vt,height:Ft,transform:he,title:j,extra:Oe,watchable:!0})])}}},ct=new RegExp('"',"ug"),kt=[1105920,1112319];function Hn(Be,it){var x="".concat($e).concat(it.replace(":","-"));return new Promise(function(te,j){if(null!==Be.getAttribute(x))return te();var Oe=nn(Be.children).filter(function(ti){return ti.getAttribute(Me)===it})[0],vt=X.getComputedStyle(Be,it),Ft=vt.getPropertyValue("font-family").match(De),cn=vt.getPropertyValue("font-weight"),Z=vt.getPropertyValue("content");if(Oe&&!Ft)return Be.removeChild(Oe),te();if(Ft&&"none"!==Z&&""!==Z){var Ve=vt.getPropertyValue("content"),Se=~["Sharp"].indexOf(Ft[2])?Vt:bt,Fe=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Ft[2])?An[Se][Ft[2].toLowerCase()]:Pe[Se][cn],Et=function Kn(Be){var it=Be.replace(ct,""),x=function rn(Be,it){var j,x=Be.length,te=Be.charCodeAt(it);return te>=55296&&te<=56319&&x>it+1&&(j=Be.charCodeAt(it+1))>=56320&&j<=57343?1024*(te-55296)+j-56320+65536:te}(it,0),te=x>=kt[0]&&x<=kt[1],j=2===it.length&&it[0]===it[1];return{value:It(j?it[0]:it),isSecondary:te||j}}(Ve),Xt=Et.value,ln=Et.isSecondary,Pn=Ft[0].startsWith("FontAwesome"),fr=_t(Fe,Xt),pr=fr;if(Pn){var Nr=function mn(Be){var it=ue[Be],x=_t("fas",Be);return it||(x?{prefix:"fas",iconName:x}:null)||{prefix:null,iconName:null}}(Xt);Nr.iconName&&Nr.prefix&&(fr=Nr.iconName,Fe=Nr.prefix)}if(!fr||ln||Oe&&Oe.getAttribute(qe)===Fe&&Oe.getAttribute(tt)===pr)te();else{Be.setAttribute(x,pr),Oe&&Be.removeChild(Oe);var br=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Pt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Wr=br.extra;Wr.attributes[Me]=it,$r(fr,Fe).then(function(ti){var Ei=Vi(d(d({},br),{},{icons:{main:ti,mask:yn()},prefix:Fe,iconName:pr,extra:Wr,watchable:!0})),Xi=ce.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===it?Be.insertBefore(Xi,Be.firstChild):Be.appendChild(Xi),Xi.outerHTML=Ei.map(function($o){return sr($o)}).join("\n"),Be.removeAttribute(x),te()}).catch(j)}}else te()})}function zi(Be){return Promise.all([Hn(Be,"::before"),Hn(Be,"::after")])}function So(Be){return!(Be.parentNode===document.head||~ft.indexOf(Be.tagName.toUpperCase())||Be.getAttribute(Me)||Be.parentNode&&"svg"===Be.parentNode.tagName)}function Do(Be){if(H)return new Promise(function(it,x){var te=nn(Be.querySelectorAll("*")).filter(So).map(zi),j=mo.begin("searchPseudoElements");oo(),Promise.all(te).then(function(){j(),Yo(),it()}).catch(function(){j(),Yo(),x()})})}var Fr=!1,ns=function(it){return it.toLowerCase().split(" ").reduce(function(te,j){var he=j.toLowerCase().split("-"),Oe=he[0],vt=he.slice(1).join("-");if(Oe&&"h"===vt)return te.flipX=!0,te;if(Oe&&"v"===vt)return te.flipY=!0,te;if(vt=parseFloat(vt),isNaN(vt))return te;switch(Oe){case"grow":te.size=te.size+vt;break;case"shrink":te.size=te.size-vt;break;case"left":te.x=te.x-vt;break;case"right":te.x=te.x+vt;break;case"up":te.y=te.y-vt;break;case"down":te.y=te.y+vt;break;case"rotate":te.rotate=te.rotate+vt}return te},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},rs={x:0,y:0,width:"100%",height:"100%"};function Ao(Be){return Be.attributes&&(Be.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Be.attributes.fill="black"),Be}!function uo(Be,it){var x=it.mixoutsTo;rr=Be,Ur={},Object.keys(Hr).forEach(function(te){-1===at.indexOf(te)&&delete Hr[te]}),rr.forEach(function(te){var j=te.mixout?te.mixout():{};if(Object.keys(j).forEach(function(Oe){"function"==typeof j[Oe]&&(x[Oe]=j[Oe]),"object"===u(j[Oe])&&Object.keys(j[Oe]).forEach(function(vt){x[Oe]||(x[Oe]={}),x[Oe][vt]=j[Oe][vt]})}),te.hooks){var he=te.hooks();Object.keys(he).forEach(function(Oe){Ur[Oe]||(Ur[Oe]=[]),Ur[Oe].push(he[Oe])})}te.provides&&te.provides(Hr)})}([Qn,Qo,ze,Ke,ke,{hooks:function(){return{mutationObserverCallbacks:function(x){return x.pseudoElementsCallback=Do,x}}},provides:function(it){it.pseudoElements2svg=function(x){var te=x.node;Zt.searchPseudoElements&&Do(void 0===te?ce:te)}}},{mixout:function(){return{dom:{unwatch:function(){oo(),Fr=!0}}}},hooks:function(){return{bootstrap:function(){xo(vi("mutationObserverCallbacks",{}))},noAuto:function(){!function ys(){fo&&fo.disconnect()}()},watch:function(x){var te=x.observeMutationsRoot;Fr?Yo():xo(vi("mutationObserverCallbacks",{observeMutationsRoot:te}))}}}},{mixout:function(){return{parse:{transform:function(x){return ns(x)}}}},hooks:function(){return{parseNodeAttributes:function(x,te){var j=te.getAttribute("data-fa-transform");return j&&(x.transform=ns(j)),x}}},provides:function(it){it.generateAbstractTransformGrouping=function(x){var te=x.main,j=x.transform,Oe=x.iconWidth,vt={transform:"translate(".concat(x.containerWidth/2," 256)")},Ft="translate(".concat(32*j.x,", ").concat(32*j.y,") "),cn="scale(".concat(j.size/16*(j.flipX?-1:1),", ").concat(j.size/16*(j.flipY?-1:1),") "),Z="rotate(".concat(j.rotate," 0 0)"),Fe={outer:vt,inner:{transform:"".concat(Ft," ").concat(cn," ").concat(Z)},path:{transform:"translate(".concat(Oe/2*-1," -256)")}};return{tag:"g",attributes:d({},Fe.outer),children:[{tag:"g",attributes:d({},Fe.inner),children:[{tag:te.icon.tag,children:te.icon.children,attributes:d(d({},te.icon.attributes),Fe.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(x,te){var j=te.getAttribute("data-fa-mask"),he=j?Nn(j.split(" ").map(function(Oe){return Oe.trim()})):yn();return he.prefix||(he.prefix=_n()),x.mask=he,x.maskId=te.getAttribute("data-fa-mask-id"),x}}},provides:function(it){it.generateAbstractMask=function(x){var Be,te=x.children,j=x.attributes,he=x.main,Oe=x.mask,vt=x.maskId,Z=he.icon,Se=Oe.icon,Fe=function _r(Be){var it=Be.transform,te=Be.iconWidth,j={transform:"translate(".concat(Be.containerWidth/2," 256)")},he="translate(".concat(32*it.x,", ").concat(32*it.y,") "),Oe="scale(".concat(it.size/16*(it.flipX?-1:1),", ").concat(it.size/16*(it.flipY?-1:1),") "),vt="rotate(".concat(it.rotate," 0 0)");return{outer:j,inner:{transform:"".concat(he," ").concat(Oe," ").concat(vt)},path:{transform:"translate(".concat(te/2*-1," -256)")}}}({transform:x.transform,containerWidth:Oe.width,iconWidth:he.width}),Et={tag:"rect",attributes:d(d({},rs),{},{fill:"white"})},Xt=Z.children?{children:Z.children.map(Ao)}:{},ln={tag:"g",attributes:d({},Fe.inner),children:[Ao(d({tag:Z.tag,attributes:d(d({},Z.attributes),Fe.path)},Xt))]},Pn={tag:"g",attributes:d({},Fe.outer),children:[ln]},fr="mask-".concat(vt||Tn()),pr="clip-".concat(vt||Tn()),Nr={tag:"mask",attributes:d(d({},rs),{},{id:fr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Et,Pn]},br={tag:"defs",children:[{tag:"clipPath",attributes:{id:pr},children:(Be=Se,"g"===Be.tag?Be.children:[Be])},Nr]};return te.push(br,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(pr,")"),mask:"url(#".concat(fr,")")},rs)}),{children:te,attributes:j}}}},{provides:function(it){var x=!1;X.matchMedia&&(x=X.matchMedia("(prefers-reduced-motion: reduce)").matches),it.missingIconAbstract=function(){var te=[],j={fill:"currentColor"},he={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};te.push({tag:"path",attributes:d(d({},j),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Oe=d(d({},he),{},{attributeName:"opacity"}),vt={tag:"circle",attributes:d(d({},j),{},{cx:"256",cy:"364",r:"28"}),children:[]};return x||vt.children.push({tag:"animate",attributes:d(d({},he),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},Oe),{},{values:"1;0;1;1;0;1;"})}),te.push(vt),te.push({tag:"path",attributes:d(d({},j),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:x?[]:[{tag:"animate",attributes:d(d({},Oe),{},{values:"1;0;0;0;0;1;"})}]}),x||te.push({tag:"path",attributes:d(d({},j),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},Oe),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:te}}}},{hooks:function(){return{parseNodeAttributes:function(x,te){var j=te.getAttribute("data-fa-symbol");return x.symbol=null!==j&&(""===j||j),x}}}}],{mixoutsTo:ai});var pe=ai.parse,wt=ai.icon,Bt=ai.text,Yt=ai.counter,Cn=o(14476);const $n=["*"],hr=Be=>{const it={[`fa-${Be.animation}`]:null!=Be.animation&&!Be.animation.startsWith("spin"),"fa-spin":"spin"===Be.animation||"spin-reverse"===Be.animation,"fa-spin-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-spin-reverse":"spin-reverse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-fw":Be.fixedWidth,"fa-border":Be.border,"fa-inverse":Be.inverse,"fa-layers-counter":Be.counter,"fa-flip-horizontal":"horizontal"===Be.flip||"both"===Be.flip,"fa-flip-vertical":"vertical"===Be.flip||"both"===Be.flip,[`fa-${Be.size}`]:null!==Be.size,[`fa-rotate-${Be.rotate}`]:null!==Be.rotate,[`fa-pull-${Be.pull}`]:null!==Be.pull,[`fa-stack-${Be.stackItemSize}`]:null!=Be.stackItemSize};return Object.keys(it).map(x=>it[x]?x:null).filter(x=>x)};let gi=(()=>{class Be{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),Ii=(()=>{class Be{constructor(){this.definitions={}}addIcons(...x){for(const te of x){te.prefix in this.definitions||(this.definitions[te.prefix]={}),this.definitions[te.prefix][te.iconName]=te;for(const j of te.icon[2])"string"==typeof j&&(this.definitions[te.prefix][j]=te)}}addIconPacks(...x){for(const te of x){const j=Object.keys(te).map(he=>te[he]);this.addIcons(...j)}}getIconDefinition(x,te){return x in this.definitions&&te in this.definitions[x]?this.definitions[x][te]:null}static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),$i=(()=>{class Be{constructor(){this.stackItemSize="1x"}ngOnChanges(x){if("size"in x)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Be,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Be})(),bi=(()=>{class Be{constructor(x,te){this.renderer=x,this.elementRef=te}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(x){"size"in x&&(null!=x.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${x.size.currentValue}`),null!=x.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${x.size.previousValue}`))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:$n,decls:1,vars:0,template:function(te,j){1&te&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),ro=(()=>{class Be{set spin(x){this.animation=x?"spin":void 0}set pulse(x){this.animation=x?"spin-pulse":void 0}constructor(x,te,j,he,Oe){this.sanitizer=x,this.config=te,this.iconLibrary=j,this.stackItem=he,this.classes=[],null!=Oe&&null==he&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(x){if(null!=this.icon||null!=this.config.fallbackIcon){if(x){const j=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=j){const he=this.buildParams();this.renderIcon(j,he)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(x){const te=((Be,it)=>(Be=>void 0!==Be.prefix&&void 0!==Be.iconName)(Be)?Be:"string"==typeof Be?{prefix:it,iconName:Be}:{prefix:Be[0],iconName:Be[1]})(x,this.config.defaultPrefix);return"icon"in te?te:this.iconLibrary.getIconDefinition(te.prefix,te.iconName)??((Be=>{throw new Error(`Could not find icon with iconName=${Be.iconName} and prefix=${Be.prefix} in the icon library.`)})(te),null)}buildParams(){const x={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},te="string"==typeof this.transform?pe.transform(this.transform):this.transform;return{title:this.title,transform:te,classes:[...hr(x),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(x,te){const j=wt(x,te);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(j.html.join("\n"))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(Cn.DomSanitizer),n.\u0275\u0275directiveInject(gi),n.\u0275\u0275directiveInject(Ii),n.\u0275\u0275directiveInject($i,8),n.\u0275\u0275directiveInject(bi,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(te,j){2&te&&(n.\u0275\u0275hostProperty("innerHTML",j.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",j.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})(),Sn=(()=>{class Be extends ro{findIconDefinition(x){const te=super.findIconDefinition(x);if(null!=te&&!Array.isArray(te.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: or use: instead.`);return te}buildParams(){const x=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&x.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(x.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(x.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(x.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(x.styles["--fa-secondary-color"]=this.secondaryColor),x}static#e=this.\u0275fac=(()=>{let x;return function(j){return(x||(x=n.\u0275\u0275getInheritedFactory(Be)))(j||Be)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},standalone:!0,features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})();const Cr=(Be,it,x)=>{if(!Be)throw new Error(`${x} should be used as child of ${it} only.`)};let Qi=(()=>{class Be{constructor(x,te,j){this.renderer=x,this.elementRef=te,this.config=j}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(x){"size"in x&&(null!=x.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${x.size.currentValue}`),null!=x.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${x.size.previousValue}`))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(gi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(te,j){2&te&&n.\u0275\u0275classProp("fa-fw",j.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:$n,decls:1,vars:0,template:function(te,j){1&te&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Oi=(()=>{class Be{constructor(x,te){this.parent=x,this.sanitizer=te,this.classes=[],Cr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(x){if(x){const te=this.buildParams();this.updateContent(te)}}buildParams(){const x=[];return null!=this.classes&&x.push(...this.classes),null!=this.position&&x.push(`fa-layers-${this.position}`),{title:this.title,classes:x,styles:this.styles}}updateContent(x){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Yt(this.content||"",x).html.join(""))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(Cn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(te,j){2&te&&n.\u0275\u0275hostProperty("innerHTML",j.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})(),Xr=(()=>{class Be{set spin(x){this.animation=x?"spin":void 0}set pulse(x){this.animation=x?"spin-pulse":void 0}constructor(x,te){this.parent=x,this.sanitizer=te,this.classes=[],Cr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(x){if(x){const te=this.buildParams();this.updateContent(te)}}buildParams(){const x={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?pe.transform(this.transform):this.transform,classes:[...hr(x),...this.classes],title:this.title,styles:this.styles}}updateContent(x){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Bt(this.content||"",x).html.join("\n"))}static#e=this.\u0275fac=function(te){return new(te||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(Cn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(te,j){2&te&&n.\u0275\u0275hostProperty("innerHTML",j.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,j){},encapsulation:2})}return Be})(),ao=(()=>{class Be{static#e=this.\u0275fac=function(te){return new(te||Be)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Be});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Be})()},10716:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{ActionSheetController:()=>Ii,AlertController:()=>mr,AngularDelegate:()=>lt,AnimationController:()=>gi,BooleanValueAccessor:()=>at,Config:()=>De,DomController:()=>Vt,GestureController:()=>$i,ION_MAX_VALIDATOR:()=>Jn,ION_MIN_VALIDATOR:()=>hr,IonAccordion:()=>ai,IonAccordionGroup:()=>Kr,IonActionSheet:()=>qr,IonAlert:()=>Ri,IonApp:()=>dr,IonAvatar:()=>Vi,IonBackButton:()=>wt,IonBackButtonDelegate:()=>wt,IonBackdrop:()=>Mo,IonBadge:()=>bo,IonBreadcrumb:()=>zr,IonBreadcrumbs:()=>eo,IonButton:()=>Gi,IonButtons:()=>to,IonCard:()=>$r,IonCardContent:()=>no,IonCardHeader:()=>_i,IonCardSubtitle:()=>Fi,IonCardTitle:()=>ei,IonCheckbox:()=>lr,IonChip:()=>mo,IonCol:()=>xi,IonContent:()=>Mi,IonDatetime:()=>po,IonDatetimeButton:()=>ho,IonFab:()=>Vr,IonFabButton:()=>yo,IonFabList:()=>Ni,IonFooter:()=>Qr,IonGrid:()=>ko,IonHeader:()=>ji,IonIcon:()=>Ji,IonImg:()=>Yi,IonInfiniteScroll:()=>Co,IonInfiniteScrollContent:()=>oo,IonInput:()=>Yo,IonItem:()=>fo,IonItemDivider:()=>xo,IonItemGroup:()=>ys,IonItemOption:()=>ts,IonItemOptions:()=>us,IonItemSliding:()=>Lo,IonLabel:()=>Ki,IonList:()=>Ro,IonListHeader:()=>_o,IonLoading:()=>Fo,IonMaxValidator:()=>Yr,IonMenu:()=>co,IonMenuButton:()=>os,IonMenuToggle:()=>Eo,IonMinValidator:()=>nr,IonModal:()=>Cn,IonNav:()=>Rt,IonNavLink:()=>wo,IonNote:()=>ds,IonPicker:()=>Qo,IonPopover:()=>$n,IonProgressBar:()=>ze,IonRadio:()=>Ke,IonRadioGroup:()=>ke,IonRange:()=>ct,IonRefresher:()=>kt,IonRefresherContent:()=>Kn,IonReorder:()=>Hn,IonReorderGroup:()=>zi,IonRippleEffect:()=>So,IonRouterOutlet:()=>Le,IonRow:()=>Do,IonSearchbar:()=>go,IonSegment:()=>Fr,IonSegmentButton:()=>Xo,IonSelect:()=>ns,IonSelectOption:()=>qi,IonSkeletonText:()=>rs,IonSpinner:()=>Ao,IonSplitPane:()=>To,IonTabBar:()=>Ti,IonTabButton:()=>zo,IonTabs:()=>Ze,IonText:()=>No,IonTextarea:()=>ss,IonThumbnail:()=>so,IonTitle:()=>hs,IonToast:()=>Je,IonToggle:()=>ie,IonToolbar:()=>pe,IonicModule:()=>it,IonicRouteStrategy:()=>Ar,IonicSafeString:()=>Ie.I,IonicSlides:()=>mn,LoadingController:()=>bi,MenuController:()=>ro,ModalController:()=>Sn,NavController:()=>vn,NavParams:()=>Re,NumericValueAccessor:()=>uo,PickerController:()=>Cr,Platform:()=>dn,PopoverController:()=>Qi,RadioValueAccessor:()=>vi,RouterLinkDelegate:()=>Bt,RouterLinkWithHrefDelegate:()=>Yt,SelectValueAccessor:()=>Pr,TextValueAccessor:()=>In,ToastController:()=>Oi,createAnimation:()=>Yn.c,createGesture:()=>ue.createGesture,getIonPageElement:()=>di.g,getPlatforms:()=>Ne.g,getTimeGivenProgression:()=>V.g,iosTransitionAnimation:()=>un.iosTransitionAnimation,isPlatform:()=>Ne.a,mdTransitionAnimation:()=>B.mdTransitionAnimation,openURL:()=>me.o});var n=o(54496),i=o(44716),d=o(1528),u=o(84588),a=o(91368);class e{constructor(){this.m=new Map}reset(te){this.m=new Map(Object.entries(te))}get(te,j){const he=this.m.get(te);return void 0!==he?he:j}getBoolean(te,j=!1){const he=this.m.get(te);return void 0===he?j:"string"==typeof he?"true"===he:!!he}getNumber(te,j){const he=parseFloat(this.m.get(te));return isNaN(he)?void 0!==j?j:NaN:he}set(te,j){this.m.set(te,j)}}const c=new e,m=x=>C(x),C=(x=window)=>{if(typeof x>"u")return[];x.Ionic=x.Ionic||{};let te=x.Ionic.platforms;return null==te&&(te=x.Ionic.platforms=v(x),te.forEach(j=>x.document.documentElement.classList.add(`plt-${j}`))),te},v=x=>{const te=c.get("platform");return Object.keys(H).filter(j=>{const he=te?.[j];return"function"==typeof he?he(x):H[j](x)})},E=x=>!!(ne(x,/iPad/i)||ne(x,/Macintosh/i)&&O(x)),R=x=>ne(x,/android|sink/i),O=x=>Y(x,"(any-pointer:coarse)"),F=x=>q(x)||X(x),q=x=>!!(x.cordova||x.phonegap||x.PhoneGap),X=x=>{const te=x.Capacitor;return!!te?.isNative},ne=(x,te)=>te.test(x.navigator.userAgent),Y=(x,te)=>{var j;return null===(j=x.matchMedia)||void 0===j?void 0:j.call(x,te).matches},H={ipad:E,iphone:x=>ne(x,/iPhone/i),ios:x=>ne(x,/iPhone|iPod/i)||E(x),android:R,phablet:x=>{const te=x.innerWidth,j=x.innerHeight,he=Math.min(te,j),Oe=Math.max(te,j);return he>390&&he<520&&Oe>620&&Oe<800},tablet:x=>{const te=x.innerWidth,j=x.innerHeight,he=Math.min(te,j),Oe=Math.max(te,j);return E(x)||(x=>R(x)&&!ne(x,/mobile/i))(x)||he>460&&he<820&&Oe>780&&Oe<1400},cordova:q,capacitor:X,electron:x=>ne(x,/electron/i),pwa:x=>{var te;return!!(null!==(te=x.matchMedia)&&void 0!==te&&te.call(x,"(display-mode: standalone)").matches||x.navigator.standalone)},mobile:O,mobileweb:x=>O(x)&&!F(x),desktop:x=>!O(x),hybrid:F};var ee=o(51896),J=o(19248),G=o(95657),de=o(70800),be=o(46700),Ae=o(56040),ye=o(82700),le=o(81316),Me=o(66684),$e=o(17368),qe=o(528),tt=o(95448),mt=o(87773);function ft(x,te){return x===te}const Qt=["tabsInner"];class bt{constructor(te){this.menuController=te}open(te){return this.menuController.open(te)}close(te){return this.menuController.close(te)}toggle(te){return this.menuController.toggle(te)}enable(te,j){return this.menuController.enable(te,j)}swipeGesture(te,j){return this.menuController.swipeGesture(te,j)}isOpen(te){return this.menuController.isOpen(te)}isEnabled(te){return this.menuController.isEnabled(te)}get(te){return this.menuController.get(te)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(te,j){return this.menuController.registerAnimation(te,j)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(te,j){return this.menuController._createAnimation(te,j)}_register(te){return this.menuController._register(te)}_unregister(te){return this.menuController._unregister(te)}_setOpen(te,j,he){return this.menuController._setOpen(te,j,he)}}let Vt=(()=>{class x{read(j){sn().read(j)}write(j){sn().write(j)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const sn=()=>{const x=typeof window<"u"?window:null;if(null!=x){const te=x.Ionic;return te?.queue?te.queue:{read:j=>x.requestAnimationFrame(j),write:j=>x.requestAnimationFrame(j)}}return{read:te=>te(),write:te=>te()}};let dn=(()=>{class x{constructor(j,he){this.doc=j,this.backButton=new G.E,this.keyboardDidShow=new G.E,this.keyboardDidHide=new G.E,this.pause=new G.E,this.resume=new G.E,this.resize=new G.E,he.run(()=>{let Oe;this.win=j.defaultView,this.backButton.subscribeWithPriority=function(vt,Ft){return this.subscribe(cn=>cn.register(vt,Z=>he.run(()=>Ft(Z))))},An(this.pause,j,"pause",he),An(this.resume,j,"resume",he),An(this.backButton,j,"ionBackButton",he),An(this.resize,this.win,"resize",he),An(this.keyboardDidShow,this.win,"ionKeyboardDidShow",he),An(this.keyboardDidHide,this.win,"ionKeyboardDidHide",he),this._readyPromise=new Promise(vt=>{Oe=vt}),this.win?.cordova?j.addEventListener("deviceready",()=>{Oe("cordova")},{once:!0}):Oe("dom")})}is(j){return((x,te)=>("string"==typeof x&&(te=x,x=void 0),m(x).includes(te)))(this.win,j)}platforms(){return m(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(j){return wn(this.win.location.href,j)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(j){const he=this.win.navigator;return!!(he?.userAgent&&he.userAgent.indexOf(j)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275inject(a.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const wn=(x,te)=>{te=te.replace(/[[\]\\]/g,"\\$&");const he=new RegExp("[\\?&]"+te+"=([^&#]*)").exec(x);return he?decodeURIComponent(he[1].replace(/\+/g," ")):null},An=(x,te,j,he)=>{te&&te.addEventListener(j,Oe=>{he.run(()=>{const vt=Oe?.detail;x.next(vt)})})};let vn=(()=>{class x{constructor(j,he,Oe,vt){this.location=he,this.serializer=Oe,this.router=vt,this.direction=ut,this.animated=Ue,this.guessDirection="forward",this.lastNavId=-1,vt&&vt.events.subscribe(Ft=>{if(Ft instanceof u.NavigationStart){const cn=Ft.restoredState?Ft.restoredState.navigationId:Ft.id;this.guessDirection=cn{this.pop(),Ft()})}navigateForward(j,he={}){return this.setDirection("forward",he.animated,he.animationDirection,he.animation),this.navigate(j,he)}navigateBack(j,he={}){return this.setDirection("back",he.animated,he.animationDirection,he.animation),this.navigate(j,he)}navigateRoot(j,he={}){return this.setDirection("root",he.animated,he.animationDirection,he.animation),this.navigate(j,he)}back(j={animated:!0,animationDirection:"back"}){return this.setDirection("back",j.animated,j.animationDirection,j.animation),this.location.back()}pop(){var j=this;return(0,d.c)(function*(){let he=j.topOutlet;for(;he;){if(yield he.pop())return!0;he=he.parentOutlet}return!1})()}setDirection(j,he,Oe,vt){this.direction=j,this.animated=qt(j,he,Oe),this.animationBuilder=vt}setTopOutlet(j){this.topOutlet=j}consumeTransition(){let he,j="root";const Oe=this.animationBuilder;return"auto"===this.direction?(j=this.guessDirection,he=this.guessAnimation):(he=this.animated,j=this.direction),this.direction=ut,this.animated=Ue,this.animationBuilder=void 0,{direction:j,animation:he,animationBuilder:Oe}}navigate(j,he){if(Array.isArray(j))return this.router.navigate(j,he);{const Oe=this.serializer.parse(j.toString());return void 0!==he.queryParams&&(Oe.queryParams={...he.queryParams}),void 0!==he.fragment&&(Oe.fragment=he.fragment),this.router.navigateByUrl(Oe,he)}}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275inject(dn),n.\u0275\u0275inject(a.Location),n.\u0275\u0275inject(u.UrlSerializer),n.\u0275\u0275inject(u.Router,8))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const qt=(x,te,j)=>{if(!1!==te){if(void 0!==j)return j;if("forward"===x||"back"===x)return x;if("root"===x&&!0===te)return"forward"}},ut="auto",Ue=void 0;let De=(()=>{class x{get(j,he){const Oe=Qe();return Oe?Oe.get(j,he):null}getBoolean(j,he){const Oe=Qe();return!!Oe&&Oe.getBoolean(j,he)}getNumber(j,he){const Oe=Qe();return Oe?Oe.getNumber(j,he):0}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const Pe=new n.InjectionToken("USERCONFIG"),Qe=()=>{if(typeof window<"u"){const x=window.Ionic;if(x?.config)return x.config}return null};class Re{constructor(te={}){this.data=te}get(te){return this.data[te]}}let lt=(()=>{class x{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(j,he,Oe){return new He(j,he,this.applicationRef,this.zone,Oe)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();class He{constructor(te,j,he,Oe,vt){this.environmentInjector=te,this.injector=j,this.applicationRef=he,this.zone=Oe,this.elementReferenceKey=vt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(te,j,he,Oe){return this.zone.run(()=>new Promise(vt=>{const Ft={...he};void 0!==this.elementReferenceKey&&(Ft[this.elementReferenceKey]=te),vt(gt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,te,j,Ft,Oe,this.elementReferenceKey))}))}removeViewFromDom(te,j){return this.zone.run(()=>new Promise(he=>{const Oe=this.elRefMap.get(j);if(Oe){Oe.destroy(),this.elRefMap.delete(j);const vt=this.elEventsMap.get(j);vt&&(vt(),this.elEventsMap.delete(j))}he()}))}}const gt=(x,te,j,he,Oe,vt,Ft,cn,Z,Ve,Se)=>{const Fe=n.Injector.create({providers:$t(Z),parent:j}),Et=(0,n.createComponent)(cn,{environmentInjector:te,elementInjector:Fe}),Xt=Et.instance,ln=Et.location.nativeElement;if(Z&&(Se&&void 0!==Xt[Se]&&console.error(`[Ionic Error]: ${Se} is a reserved property when using ${Ft.tagName.toLowerCase()}. Rename or remove the "${Se}" property from ${cn.name}.`),Object.assign(Xt,Z)),Ve)for(const fr of Ve)ln.classList.add(fr);const Pn=Mt(x,Xt,ln);return Ft.appendChild(ln),he.attachView(Et.hostView),Oe.set(ln,Et),vt.set(ln,Pn),ln},dt=[ee.L,ee.a,ee.b,ee.c,ee.d],Mt=(x,te,j)=>x.run(()=>{const he=dt.filter(Oe=>"function"==typeof te[Oe]).map(Oe=>{const vt=Ft=>te[Oe](Ft.detail);return j.addEventListener(Oe,vt),()=>j.removeEventListener(Oe,vt)});return()=>he.forEach(Oe=>Oe())}),nt=new n.InjectionToken("NavParamsToken"),$t=x=>[{provide:nt,useValue:x},{provide:Re,useFactory:pt,deps:[nt]}],pt=x=>new Re(x),Tt=(x,te)=>{const j=x.prototype;te.forEach(he=>{Object.defineProperty(j,he,{get(){return this.el[he]},set(Oe){this.z.runOutsideAngular(()=>this.el[he]=Oe)}})})},Ut=(x,te)=>{const j=x.prototype;te.forEach(he=>{j[he]=function(){const Oe=arguments;return this.z.runOutsideAngular(()=>this.el[he].apply(this.el,Oe))}})},Zt=(x,te,j)=>{j.forEach(he=>x[he]=(0,de.w)(te,he))};function Dt(x){return function(j){const{defineCustomElementFn:he,inputs:Oe,methods:vt}=x;return void 0!==he&&he(),Oe&&Tt(j,Oe),vt&&Ut(j,vt),j}}const zt=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Ct=["present","dismiss","onDidDismiss","onWillDismiss"];let Pt=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,this.isCmpOpen=!1,this.el=he.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,j.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,j.detectChanges()}),Zt(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-popover"]],contentQueries:function(j,he,Oe){if(1&j&&n.\u0275\u0275contentQuery(Oe,n.TemplateRef,5),2&j){let vt;n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.template=vt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),x=(0,le.__decorate)([Dt({inputs:zt,methods:Ct})],x),x})();const tn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],bn=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Tn=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,this.isCmpOpen=!1,this.el=he.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,j.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,j.detectChanges()}),Zt(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-modal"]],contentQueries:function(j,he,Oe){if(1&j&&n.\u0275\u0275contentQuery(Oe,n.TemplateRef,5),2&j){let vt;n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.template=vt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),x=(0,le.__decorate)([Dt({inputs:tn,methods:bn})],x),x})();const tr=(x,te)=>((x=x.filter(j=>j.stackId!==te.stackId)).push(te),x),ar=(x,te)=>{const j=x.createUrlTree(["."],{relativeTo:te});return x.serializeUrl(j)},yr=(x,te)=>!te||x.stackId!==te.stackId,_r=(x,te)=>{if(!x)return;const j=qn(te);for(let he=0;he=x.length)return j[he];if(j[he]!==x[he])return}},qn=x=>x.split("/").map(te=>te.trim()).filter(te=>""!==te),Fn=x=>{x&&(x.ref.destroy(),x.unlistenEvents())};class oi{constructor(te,j,he,Oe,vt,Ft){this.containerEl=j,this.router=he,this.navCtrl=Oe,this.zone=vt,this.location=Ft,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==te?qn(te):void 0}createView(te,j){const he=ar(this.router,j),Oe=te?.location?.nativeElement,vt=Mt(this.zone,te.instance,Oe);return{id:this.nextId++,stackId:_r(this.tabsPrefix,he),unlistenEvents:vt,element:Oe,ref:te,url:he}}getExistingView(te){const j=ar(this.router,te),he=this.views.find(Oe=>Oe.url===j);return he&&he.ref.changeDetectorRef.reattach(),he}setActive(te){const j=this.navCtrl.consumeTransition();let{direction:he,animation:Oe,animationBuilder:vt}=j;const Ft=this.activeView,cn=yr(te,Ft);cn&&(he="back",Oe=void 0);const Z=this.views.slice();let Ve;const Se=this.router;Se.getCurrentNavigation?Ve=Se.getCurrentNavigation():Se.navigations?.value&&(Ve=Se.navigations.value),Ve?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Fe=this.views.includes(te),Et=this.insertView(te,he);Fe||te.ref.changeDetectorRef.detectChanges();const Xt=te.animationBuilder;return void 0===vt&&"back"===he&&!cn&&void 0!==Xt&&(vt=Xt),Ft&&(Ft.animationBuilder=vt),this.zone.runOutsideAngular(()=>this.wait(()=>(Ft&&Ft.ref.changeDetectorRef.detach(),te.ref.changeDetectorRef.reattach(),this.transition(te,Ft,Oe,this.canGoBack(1),!1,vt).then(()=>vr(te,Et,Z,this.location,this.zone)).then(()=>({enteringView:te,direction:he,animation:Oe,tabSwitch:cn})))))}canGoBack(te,j=this.getActiveStackId()){return this.getStack(j).length>te}pop(te,j=this.getActiveStackId()){return this.zone.run(()=>{const he=this.getStack(j);if(he.length<=te)return Promise.resolve(!1);const Oe=he[he.length-te-1];let vt=Oe.url;const Ft=Oe.savedData;if(Ft){const Z=Ft.get("primary");Z?.route?._routerState?.snapshot.url&&(vt=Z.route._routerState.snapshot.url)}const{animationBuilder:cn}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(vt,{...Oe.savedExtras,animation:cn}).then(()=>!0)})}startBackTransition(){const te=this.activeView;if(te){const j=this.getStack(te.stackId),he=j[j.length-2],Oe=he.animationBuilder;return this.wait(()=>this.transition(he,te,"back",this.canGoBack(2),!0,Oe))}return Promise.resolve()}endBackTransition(te){te?(this.skipTransition=!0,this.pop(1)):this.activeView&&Mr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(te){const j=this.getStack(te);return j.length>0?j[j.length-1]:void 0}getRootUrl(te){const j=this.getStack(te);return j.length>0?j[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Fn),this.activeView=void 0,this.views=[]}getStack(te){return this.views.filter(j=>j.stackId===te)}insertView(te,j){return this.activeView=te,this.views=((x,te,j)=>"root"===j?tr(x,te):"forward"===j?((x,te)=>(x.indexOf(te)>=0?x=x.filter(he=>he.stackId!==te.stackId||he.id<=te.id):x.push(te),x))(x,te):((x,te)=>x.indexOf(te)>=0?x.filter(he=>he.stackId!==te.stackId||he.id<=te.id):tr(x,te))(x,te))(this.views,te,j),this.views.slice()}transition(te,j,he,Oe,vt,Ft){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(j===te)return Promise.resolve(!1);const cn=te?te.element:void 0,Z=j?j.element:void 0,Ve=this.containerEl;return cn&&cn!==Z&&(cn.classList.add("ion-page"),cn.classList.add("ion-page-invisible"),cn.parentElement!==Ve&&Ve.appendChild(cn),Ve.commit)?Ve.commit(cn,Z,{duration:void 0===he?0:void 0,direction:he,showGoBack:Oe,progressAnimation:vt,animationBuilder:Ft}):Promise.resolve(!1)}wait(te){var j=this;return(0,d.c)(function*(){void 0!==j.runningTask&&(yield j.runningTask,j.runningTask=void 0);const he=j.runningTask=te();return he.finally(()=>j.runningTask=void 0),he})()}}const vr=(x,te,j,he,Oe)=>"function"==typeof requestAnimationFrame?new Promise(vt=>{requestAnimationFrame(()=>{Mr(x,te,j,he,Oe),vt()})}):Promise.resolve(),Mr=(x,te,j,he,Oe)=>{Oe.run(()=>j.filter(vt=>!te.includes(vt)).forEach(Fn)),te.forEach(vt=>{const cn=he.path().split("?")[0].split("#")[0];if(vt!==x&&vt.url!==cn){const Z=vt.element;Z.setAttribute("aria-hidden","true"),Z.classList.add("ion-page-hidden"),vt.ref.changeDetectorRef.detach()}})};let Qn=(()=>{class x{constructor(j,he,Oe,vt,Ft,cn,Z,Ve){this.parentOutlet=Ve,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new be.g(null),this.activated=null,this._activatedRoute=null,this.name=u.PRIMARY_OUTLET,this.stackWillChange=new n.EventEmitter,this.stackDidChange=new n.EventEmitter,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(u.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(xr,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(De),this.navCtrl=(0,n.inject)(vn),this.nativeEl=vt.nativeElement,this.name=j||u.PRIMARY_OUTLET,this.tabsPrefix="true"===he?ar(Ft,Z):void 0,this.stackCtrl=new oi(this.tabsPrefix,this.nativeEl,Ft,this.navCtrl,cn,Oe),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(j){this.nativeEl.animation=j}set animated(j){this.nativeEl.animated=j}set swipeGesture(j){this._swipeGesture=j,this.nativeEl.swipeHandler=j?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:he=>this.stackCtrl.endBackTransition(he)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const j=this.getContext();j?.route&&this.activateWith(j.route,j.injector)}new Promise(j=>(0,J.c)(this.nativeEl,j)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(j,he){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const he=this.getContext();this.activatedView.savedData=new Map(he.children.contexts);const Oe=this.activatedView.savedData.get("primary");if(Oe&&he.route&&(Oe.route={...he.route}),this.activatedView.savedExtras={},he.route){const vt=he.route.snapshot;this.activatedView.savedExtras.queryParams=vt.queryParams,this.activatedView.savedExtras.fragment=vt.fragment}}const j=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(j)}}activateWith(j,he){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=j;let Oe,vt=this.stackCtrl.getExistingView(j);if(vt){Oe=this.activated=vt.ref;const cn=vt.savedData;cn&&(this.getContext().children.contexts=cn),this.updateActivatedRouteProxy(Oe.instance,j)}else{const cn=j._futureSnapshot,Z=this.parentContexts.getOrCreateContext(this.name).children,Ve=new be.g(null),Se=this.createActivatedRouteProxy(Ve,j),Fe=new er(Se,Z,this.location.injector);Oe=this.activated=this.location.createComponent(cn.routeConfig.component??cn.component,{index:this.location.length,injector:Fe,environmentInjector:he??this.environmentInjector}),Ve.next(Oe.instance),vt=this.stackCtrl.createView(this.activated,j),this.proxyMap.set(Oe.instance,Se),this.currentActivatedRoute$.next({component:Oe.instance,activatedRoute:j})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=vt,this.navCtrl.setTopOutlet(this);const Ft=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:vt,tabSwitch:yr(vt,Ft)}),this.stackCtrl.setActive(vt).then(cn=>{this.activateEvents.emit(Oe.instance),this.stackDidChange.emit(cn)})}canGoBack(j=1,he){return this.stackCtrl.canGoBack(j,he)}pop(j=1,he){return this.stackCtrl.pop(j,he)}getLastUrl(j){const he=this.stackCtrl.getLastUrl(j);return he?he.url:void 0}getLastRouteView(j){return this.stackCtrl.getLastUrl(j)}getRootView(j){return this.stackCtrl.getRootUrl(j)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(j,he){const Oe=new u.ActivatedRoute;return Oe._futureSnapshot=he._futureSnapshot,Oe._routerState=he._routerState,Oe.snapshot=he.snapshot,Oe.outlet=he.outlet,Oe.component=he.component,Oe._paramMap=this.proxyObservable(j,"paramMap"),Oe._queryParamMap=this.proxyObservable(j,"queryParamMap"),Oe.url=this.proxyObservable(j,"url"),Oe.params=this.proxyObservable(j,"params"),Oe.queryParams=this.proxyObservable(j,"queryParams"),Oe.fragment=this.proxyObservable(j,"fragment"),Oe.data=this.proxyObservable(j,"data"),Oe}proxyObservable(j,he){return j.pipe((0,Me.I)(Oe=>!!Oe),(0,$e.G)(Oe=>this.currentActivatedRoute$.pipe((0,Me.I)(vt=>null!==vt&&vt.component===Oe),(0,$e.G)(vt=>vt&&vt.activatedRoute[he]),function st(x,te=qe.Z){return x=x??ft,(0,tt.i)((j,he)=>{let Oe,vt=!0;j.subscribe((0,mt.e)(he,Ft=>{const cn=te(Ft);(vt||!x(Oe,cn))&&(vt=!1,Oe=cn,he.next(Ft))}))})}())))}updateActivatedRouteProxy(j,he){const Oe=this.proxyMap.get(j);if(!Oe)throw new Error("Could not find activated route proxy for view");Oe._futureSnapshot=he._futureSnapshot,Oe._routerState=he._routerState,Oe.snapshot=he.snapshot,Oe.outlet=he.outlet,Oe.component=he.component,this.currentActivatedRoute$.next({component:j,activatedRoute:he})}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(a.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(u.ActivatedRoute),n.\u0275\u0275directiveInject(x,12))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),x})();class er{constructor(te,j,he){this.route=te,this.childContexts=j,this.parent=he}get(te,j){return te===u.ActivatedRoute?this.route:te===u.ChildrenOutletContexts?this.childContexts:this.parent.get(te,j)}}const xr=new n.InjectionToken("");let Si=(()=>{class x{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(j){this.unsubscribeFromRouteData(j),this.subscribeToRouteData(j)}unsubscribeFromRouteData(j){this.outletDataSubscriptions.get(j)?.unsubscribe(),this.outletDataSubscriptions.delete(j)}subscribeToRouteData(j){const{activatedRoute:he}=j,Oe=(0,Ae.E)([he.queryParams,he.params,he.data]).pipe((0,$e.G)(([vt,Ft,cn],Z)=>(cn={...vt,...Ft,...cn},0===Z?(0,ye.of)(cn):Promise.resolve(cn)))).subscribe(vt=>{if(!j.isActivated||!j.activatedComponentRef||j.activatedRoute!==he||null===he.component)return void this.unsubscribeFromRouteData(j);const Ft=(0,n.reflectComponentType)(he.component);if(Ft)for(const{templateName:cn}of Ft.inputs)j.activatedComponentRef.setInput(cn,vt[cn]);else this.unsubscribeFromRouteData(j)});this.outletDataSubscriptions.set(j,Oe)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();function jn(x){return x?.componentInputBindingEnabled?new Si:null}const Zn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let sr=(()=>{let x=class{constructor(j,he,Oe,vt,Ft,cn){this.routerOutlet=j,this.navCtrl=he,this.config=Oe,this.r=vt,this.z=Ft,cn.detach(),this.el=this.r.nativeElement}onClick(j){const he=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),j.preventDefault()):null!=he&&(this.navCtrl.navigateBack(he,{animation:this.routerAnimation}),j.preventDefault())}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(Qn,8),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(De),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("click",function(vt){return he.onClick(vt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),x=(0,le.__decorate)([Dt({inputs:Zn})],x),x})(),si=(()=>{class x{constructor(j,he,Oe,vt,Ft){this.locationStrategy=j,this.navCtrl=he,this.elementRef=Oe,this.router=vt,this.routerLink=Ft,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const j=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=j}}onClick(j){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),j.preventDefault()}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(a.LocationStrategy),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(u.RouterLink,8))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("click",function(vt){return he.onClick(vt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),x})(),kr=(()=>{class x{constructor(j,he,Oe,vt,Ft){this.locationStrategy=j,this.navCtrl=he,this.elementRef=Oe,this.router=vt,this.routerLink=Ft,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const j=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=j}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(a.LocationStrategy),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(u.RouterLink,8))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("click",function(){return he.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),x})();const ot=["animated","animation","root","rootParams","swipeGesture"],Ot=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let It=(()=>{let x=class{constructor(j,he,Oe,vt,Ft,cn){this.z=Ft,cn.detach(),this.el=j.nativeElement,j.nativeElement.delegate=vt.create(he,Oe),Zt(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(lt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),x=(0,le.__decorate)([Dt({inputs:ot,methods:Ot})],x),x})(),rn=(()=>{class x{constructor(j){this.navCtrl=j,this.ionTabsWillChange=new n.EventEmitter,this.ionTabsDidChange=new n.EventEmitter,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:j,tabSwitch:he}){const Oe=j.stackId;he&&void 0!==Oe&&this.ionTabsWillChange.emit({tab:Oe})}onStackDidChange({enteringView:j,tabSwitch:he}){const Oe=j.stackId;he&&void 0!==Oe&&(this.tabBar&&(this.tabBar.selectedTab=Oe),this.ionTabsDidChange.emit({tab:Oe}))}select(j){const he="string"==typeof j,Oe=he?j:j.detail.tab,vt=this.outlet.getActiveStackId()===Oe,Ft=`${this.outlet.tabsPrefix}/${Oe}`;if(he||j.stopPropagation(),vt){const cn=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(cn)?.url===Ft)return;const Ve=this.outlet.getRootView(Oe);return this.navCtrl.navigateRoot(Ft,{...Ve&&Ft===Ve.url&&Ve.savedExtras,animated:!0,animationDirection:"back"})}{const cn=this.outlet.getLastRouteView(Oe),Z=cn?.url||Ft,Ve=cn?.savedExtras;return this.navCtrl.navigateRoot(Z,{...Ve,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(j=>{const he=j.el.getAttribute("slot");he!==this.tabBarSlot&&(this.tabBarSlot=he,this.relocateTabBar())})}relocateTabBar(){const j=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(j):this.tabsInner.nativeElement.after(j)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(vn))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-tabs"]],viewQuery:function(j,he){if(1&j&&n.\u0275\u0275viewQuery(Qt,7,n.ElementRef),2&j){let Oe;n.\u0275\u0275queryRefresh(Oe=n.\u0275\u0275loadQuery())&&(he.tabsInner=Oe.first)}},hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionTabButtonClick",function(vt){return he.select(vt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),x})();const hn=x=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(x):"function"==typeof requestAnimationFrame?requestAnimationFrame(x):setTimeout(x);let Mn=(()=>{class x{constructor(j,he){this.injector=j,this.elementRef=he,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(j){this.elementRef.nativeElement.value=this.lastValue=j,En(this.elementRef)}handleValueChange(j,he){j===this.elementRef.nativeElement&&(he!==this.lastValue&&(this.lastValue=he,this.onChange(he)),En(this.elementRef))}_handleBlurEvent(j){j===this.elementRef.nativeElement&&(this.onTouched(),En(this.elementRef))}registerOnChange(j){this.onChange=j}registerOnTouched(j){this.onTouched=j}setDisabledState(j){this.elementRef.nativeElement.disabled=j}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let j;try{j=this.injector.get(i.NgControl)}catch{}if(!j)return;j.statusChanges&&(this.statusChanges=j.statusChanges.subscribe(()=>En(this.elementRef)));const he=j.control;he&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(vt=>{if(typeof he[vt]<"u"){const Ft=he[vt].bind(he);he[vt]=(...cn)=>{Ft(...cn),En(this.elementRef)}}})}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionBlur",function(vt){return he._handleBlurEvent(vt.target)})}}),x})();const En=x=>{hn(()=>{const te=x.nativeElement,j=null!=te.value&&te.value.toString().length>0,he=Xn(te);zn(te,he);const Oe=te.closest("ion-item");Oe&&zn(Oe,j?[...he,"item-has-value"]:he)})},Xn=x=>{const te=x.classList,j=[];for(let he=0;he{const j=x.classList;j.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),j.add(...te)},Er=(x,te)=>x.substring(0,te.length)===te;class Ar{shouldDetach(te){return!1}shouldAttach(te){return!1}store(te,j){}retrieve(te){return null}shouldReuseRoute(te,j){if(te.routeConfig!==j.routeConfig)return!1;const he=te.params,Oe=j.params,vt=Object.keys(he),Ft=Object.keys(Oe);if(vt.length!==Ft.length)return!1;for(const cn of vt)if(Oe[cn]!==he[cn])return!1;return!0}}class wr{constructor(te){this.ctrl=te}create(te){return this.ctrl.create(te||{})}dismiss(te,j,he){return this.ctrl.dismiss(te,j,he)}getTop(){return this.ctrl.getTop()}}var Yn=o(30388),di=o(76256),un=o(68512),B=o(96556),V=o(86944),ue=o(62528),Ne=o(88523),Ie=o(59637),me=o(45256),Te=o(43452),et=o(63816),At=(o(14829),o(62992));o(66560),o(72784);const mn=x=>{const{swiper:te,extendParams:j}=x,he={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};te.pagination&&(he.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),te.scrollbar&&(he.scrollbar={hide:!0}),j(he)},yn=Ne.i,gn=function(){var x=(0,d.c)(function*(te,j){if(!(typeof window>"u"))return yield yn(),(0,At.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),j)});return function(j,he){return x.apply(this,arguments)}}(),Gt=["*"],Nn=["outlet"],cr=[[["","slot","top"]],"*"],rr=["[slot=top]","*"];function Ur(x,te){if(1&x&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&x){const j=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",j.template)}}function Hr(x,te){if(1&x&&n.\u0275\u0275elementContainer(0,1),2&x){const j=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",j.template)}}let at=(()=>{class x extends Mn{constructor(j,he){super(j,he)}writeValue(j){this.elementRef.nativeElement.checked=this.lastValue=j,En(this.elementRef)}_handleIonChange(j){this.handleValueChange(j,j.checked)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionChange",function(vt){return he._handleIonChange(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:x,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),x})(),uo=(()=>{class x extends Mn{constructor(j,he){super(j,he)}handleInputEvent(j){this.handleValueChange(j,j.value)}registerOnChange(j){super.registerOnChange(he=>{j(""===he?null:parseFloat(he))})}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-input","type","number"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionInput",function(vt){return he.handleInputEvent(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:x,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),x})(),vi=(()=>{class x extends Mn{constructor(j,he){super(j,he)}_handleIonSelect(j){this.handleValueChange(j,j.checked)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-radio"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionSelect",function(vt){return he._handleIonSelect(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:x,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),x})(),Pr=(()=>{class x extends Mn{constructor(j,he){super(j,he)}_handleChangeEvent(j){this.handleValueChange(j,j.value)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionChange",function(vt){return he._handleChangeEvent(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:x,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),x})(),In=(()=>{class x extends Mn{constructor(j,he){super(j,he)}_handleInputEvent(j){this.handleValueChange(j,j.value)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(j,he){1&j&&n.\u0275\u0275listener("ionInput",function(vt){return he._handleInputEvent(vt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:x,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),x})();const Gn=(x,te)=>{const j=x.prototype;te.forEach(he=>{Object.defineProperty(j,he,{get(){return this.el[he]},set(Oe){this.z.runOutsideAngular(()=>this.el[he]=Oe)},configurable:!0})})},ni=(x,te)=>{const j=x.prototype;te.forEach(he=>{j[he]=function(){const Oe=arguments;return this.z.runOutsideAngular(()=>this.el[he].apply(this.el,Oe))}})},Dr=(x,te,j)=>{j.forEach(he=>x[he]=(0,de.w)(te,he))};function Rn(x){return function(j){const{defineCustomElementFn:he,inputs:Oe,methods:vt}=x;return void 0!==he&&he(),Oe&&Gn(j,Oe),vt&&ni(j,vt),j}}let ai=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],x),x})(),Kr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],x),x})(),qr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],x),x})(),Ri=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],x),x})(),dr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-app"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({})],x),x})(),Vi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-avatar"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({})],x),x})(),Mo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionBackdropTap"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["stopPropagation","tappable","visible"]})],x),x})(),bo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode"]})],x),x})(),zr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],x),x})(),eo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionCollapsedClick"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],x),x})(),Gi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],x),x})(),to=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["collapse"]})],x),x})(),$r=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],x),x})(),no=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["mode"]})],x),x})(),_i=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode","translucent"]})],x),x})(),Fi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode"]})],x),x})(),ei=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode"]})],x),x})(),lr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],x),x})(),mo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","disabled","mode","outline"]})],x),x})(),xi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],x),x})(),Mi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],x),x})(),po=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],x),x})(),ho=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","datetime","disabled","mode"]})],x),x})(),Vr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],x),x})(),yo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],x),x})(),Ni=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["activated","side"]})],x),x})(),Qr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["collapse","mode","translucent"]})],x),x})(),ko=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["fixed"]})],x),x})(),ji=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["collapse","mode","translucent"]})],x),x})(),Ji=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],x),x})(),Yi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["alt","src"]})],x),x})(),Co=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionInfinite"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled","position","threshold"],methods:["complete"]})],x),x})(),oo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["loadingSpinner","loadingText"]})],x),x})(),Yo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],x),x})(),fo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],x),x})(),xo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode","sticky"]})],x),x})(),ys=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-item-group"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({})],x),x})(),ts=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],x),x})(),us=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionSwipe"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["side"]})],x),x})(),Lo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionDrag"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],x),x})(),Ki=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode","position"]})],x),x})(),Ro=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],x),x})(),_o=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","lines","mode"]})],x),x})(),Fo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],x),x})(),co=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],x),x})(),os=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["autoHide","color","disabled","menu","mode","type"]})],x),x})(),Eo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["autoHide","menu"]})],x),x})(),wo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["component","componentProps","routerAnimation","routerDirection"]})],x),x})(),ds=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode"]})],x),x})(),Qo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-picker"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],x),x})(),ze=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["buffer","color","mode","reversed","type","value"]})],x),x})(),Ke=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],x),x})(),ke=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["allowEmptySelection","compareWith","name","value"]})],x),x})(),ct=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],x),x})(),kt=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionRefresh","ionPull","ionStart"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],x),x})(),Kn=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],x),x})(),Hn=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-reorder"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({})],x),x})(),zi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionItemReorder"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled"],methods:["complete"]})],x),x})(),So=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["type"],methods:["addRipple"]})],x),x})(),Do=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-row"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({})],x),x})(),go=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],x),x})(),Fr=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],x),x})(),Xo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled","layout","mode","type","value"]})],x),x})(),ns=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],x),x})(),qi=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled","value"]})],x),x})(),rs=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated"]})],x),x})(),Ao=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","duration","name","paused"]})],x),x})(),To=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionSplitPaneVisible"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["contentId","disabled","when"]})],x),x})(),Ti=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode","selectedTab","translucent"]})],x),x})(),zo=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],x),x})(),No=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode"]})],x),x})(),ss=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],x),x})(),so=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-thumbnail"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({})],x),x})(),hs=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","size"]})],x),x})(),Je=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],x),x})(),ie=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement,Dr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],x),x})(),pe=(()=>{let x=class{constructor(j,he,Oe){this.z=Oe,j.detach(),this.el=he.nativeElement}};return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x=(0,le.__decorate)([Rn({inputs:["color","mode"]})],x),x})(),Le=(()=>{class x extends Qn{constructor(j,he,Oe,vt,Ft,cn,Z,Ve){super(j,he,Oe,vt,Ft,cn,Z,Ve),this.parentOutlet=Ve}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(a.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(u.ActivatedRoute),n.\u0275\u0275directiveInject(x,12))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),x})(),Ze=(()=>{class x extends rn{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-tabs"]],contentQueries:function(j,he,Oe){if(1&j&&(n.\u0275\u0275contentQuery(Oe,Ti,5),n.\u0275\u0275contentQuery(Oe,Ti,4)),2&j){let vt;n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.tabBar=vt.first),n.\u0275\u0275queryRefresh(vt=n.\u0275\u0275loadQuery())&&(he.tabBars=vt)}},viewQuery:function(j,he){if(1&j&&n.\u0275\u0275viewQuery(Nn,5,Le),2&j){let Oe;n.\u0275\u0275queryRefresh(Oe=n.\u0275\u0275loadQuery())&&(he.outlet=Oe.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:rr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(cr),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(vt){return he.onStackWillChange(vt)})("stackDidChange",function(vt){return he.onStackDidChange(vt)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[Le],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),x})(),wt=(()=>{class x extends sr{constructor(j,he,Oe,vt,Ft,cn){super(j,he,Oe,vt,Ft,cn)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(Le,8),n.\u0275\u0275directiveInject(vn),n.\u0275\u0275directiveInject(De),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x})(),Rt=(()=>{class x extends It{constructor(j,he,Oe,vt,Ft,cn){super(j,he,Oe,vt,Ft,cn)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(lt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(j,he){1&j&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),x})(),Bt=(()=>{class x extends si{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),x})(),Yt=(()=>{class x extends kr{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),x})(),Cn=(()=>{class x extends Tn{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-modal"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(j,he){1&j&&n.\u0275\u0275template(0,Ur,2,1,"div",0),2&j&&n.\u0275\u0275property("ngIf",he.isCmpOpen||he.keepContentsMounted)},dependencies:[a.NgIf,a.NgTemplateOutlet],encapsulation:2,changeDetection:0}),x})(),$n=(()=>{class x extends Pt{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(j,he){1&j&&n.\u0275\u0275template(0,Hr,1,1,"ng-container",0),2&j&&n.\u0275\u0275property("ngIf",he.isCmpOpen||he.keepContentsMounted)},dependencies:[a.NgIf,a.NgTemplateOutlet],encapsulation:2,changeDetection:0}),x})();const Jn={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Yr),multi:!0};let Yr=(()=>{class x extends i.MaxValidator{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(j,he){2&j&&n.\u0275\u0275attribute("max",he._enabled?he.max:null)},features:[n.\u0275\u0275ProvidersFeature([Jn]),n.\u0275\u0275InheritDefinitionFeature]}),x})();const hr={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>nr),multi:!0};let nr=(()=>{class x extends i.MinValidator{}return x.\u0275fac=(()=>{let te;return function(he){return(te||(te=n.\u0275\u0275getInheritedFactory(x)))(he||x)}})(),x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(j,he){2&j&&n.\u0275\u0275attribute("min",he._enabled?he.min:null)},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature]}),x})(),mr=(()=>{class x extends wr{constructor(){super(et.a)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),gi=(()=>{class x{create(j){return(0,Yn.c)(j)}easingTime(j,he,Oe,vt,Ft){return(0,V.g)(j,he,Oe,vt,Ft)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),Ii=(()=>{class x extends wr{constructor(){super(et.b)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),$i=(()=>{class x{constructor(j){this.zone=j}create(j,he=!1){return he&&Object.getOwnPropertyNames(j).forEach(Oe=>{if("function"==typeof j[Oe]){const vt=j[Oe];j[Oe]=(...Ft)=>this.zone.run(()=>vt(...Ft))}}),(0,ue.createGesture)(j)}}return x.\u0275fac=function(j){return new(j||x)(n.\u0275\u0275inject(n.NgZone))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),bi=(()=>{class x extends wr{constructor(){super(et.l)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),ro=(()=>{class x extends bt{constructor(){super(Te.m)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),Sn=(()=>{class x extends wr{constructor(){super(et.m),this.angularDelegate=(0,n.inject)(lt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(j){return super.create({...j,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Cr=(()=>{class x extends wr{constructor(){super(et.p)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();class Qi extends wr{constructor(){super(et.c),this.angularDelegate=(0,n.inject)(lt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(te){return super.create({...te,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Oi=(()=>{class x extends wr{constructor(){super(et.t)}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const Xr=(x,te,j)=>()=>{const he=te.defaultView;if(he&&typeof window<"u"){(0,Ie.s)({...x,_zoneGate:vt=>j.run(vt)});const Oe="__zone_symbol__addEventListener"in te.body?"__zone_symbol__addEventListener":"addEventListener";return function _n(){var x=[];if(typeof window<"u"){var te=window;(!te.customElements||te.Element&&(!te.Element.prototype.closest||!te.Element.prototype.matches||!te.Element.prototype.remove||!te.Element.prototype.getRootNode))&&x.push(o.e(4448).then(o.t.bind(o,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||te.NodeList&&!te.NodeList.prototype.forEach||!te.fetch||!function(){try{var he=new URL("b","http://a");return he.pathname="c%20d","http://a/c%20d"===he.href&&he.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&x.push(o.e(488).then(o.t.bind(o,36304,23)))}return Promise.all(x)}().then(()=>gn(he,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:hn,jmp:vt=>j.runOutsideAngular(vt),ael(vt,Ft,cn,Z){vt[Oe](Ft,cn,Z)},rel(vt,Ft,cn,Z){vt.removeEventListener(Ft,cn,Z)}}))}};let it=(()=>{class x{static forRoot(j){return{ngModule:x,providers:[{provide:Pe,useValue:j},{provide:n.APP_INITIALIZER,useFactory:Xr,multi:!0,deps:[Pe,a.DOCUMENT,n.NgZone]},{provide:xr,useFactory:jn,deps:[u.Router]}]}}}return x.\u0275fac=function(j){return new(j||x)},x.\u0275mod=n.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=n.\u0275\u0275defineInjector({providers:[lt,Sn,Qi],imports:[a.CommonModule]}),x})()},17964:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{add:()=>be,after:()=>Qe,ary:()=>Cr,assign:()=>ks,assignIn:()=>jr,assignInWith:()=>cl,assignWith:()=>Bd,at:()=>Fb,attempt:()=>nh,before:()=>Qg,bind:()=>vl,bindAll:()=>jb,bindKey:()=>hc,camelCase:()=>Ml,capitalize:()=>uh,castArray:()=>My,ceil:()=>wy,chain:()=>gm,chunk:()=>yc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>$m,cloneWith:()=>d0,commit:()=>Nh,compact:()=>f0,concat:()=>ws,cond:()=>O0,conforms:()=>ap,conformsTo:()=>Pc,constant:()=>zr,countBy:()=>j0,create:()=>up,curry:()=>kl,curryRight:()=>Ju,debounce:()=>fp,deburr:()=>Pa,default:()=>vP,defaultTo:()=>gp,defaults:()=>$s,defaultsDeep:()=>vp,defer:()=>bp,delay:()=>mA,difference:()=>X0,differenceBy:()=>Oc,differenceWith:()=>Z0,divide:()=>J0,drop:()=>eC,dropRight:()=>Sp,dropRightWhile:()=>Oo,dropWhile:()=>tf,each:()=>rd,eachRight:()=>id,endsWith:()=>xl,entries:()=>ra,entriesIn:()=>Ap,eq:()=>ao,escape:()=>af,escapeRegExp:()=>hC,every:()=>mC,extend:()=>jr,extendWith:()=>cl,fill:()=>cf,filter:()=>CC,find:()=>MC,findIndex:()=>ld,findKey:()=>kp,findLast:()=>AC,findLastIndex:()=>df,findLastKey:()=>IC,first:()=>cd,flatMap:()=>xC,flatMapDeep:()=>LC,flatMapDepth:()=>Np,flatten:()=>Zd,flattenDeep:()=>RC,flattenDepth:()=>jp,flip:()=>jC,floor:()=>Nc,flow:()=>HC,flowRight:()=>Bp,forEach:()=>rd,forEachRight:()=>id,forIn:()=>YC,forInRight:()=>zC,forOwn:()=>Up,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>gf,functionsIn:()=>WC,get:()=>Tu,groupBy:()=>GC,gt:()=>Yp,gte:()=>nT,has:()=>eS,hasIn:()=>zh,head:()=>cd,identity:()=>lt,inRange:()=>nS,includes:()=>qa,indexOf:()=>oS,initial:()=>$p,intersection:()=>Po,intersectionBy:()=>Ll,intersectionWith:()=>Hc,invert:()=>pd,invertBy:()=>uS,invoke:()=>hS,invokeMap:()=>Df,isArguments:()=>jo,isArray:()=>Y,isArrayBuffer:()=>Af,isArrayLike:()=>Xt,isArrayLikeObject:()=>Io,isBoolean:()=>qp,isBuffer:()=>is,isDate:()=>_S,isElement:()=>vS,isEmpty:()=>Tf,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>$t,isInteger:()=>If,isLength:()=>Fe,isMap:()=>Uu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>s_,isNative:()=>a_,isNil:()=>zc,isNull:()=>Fl,isNumber:()=>Pf,isObject:()=>mt,isObjectLike:()=>I,isPlainObject:()=>Ia,isRegExp:()=>ja,isSafeInteger:()=>Bl,isSet:()=>Xy,isString:()=>hd,isSymbol:()=>z,isTypedArray:()=>Ce,isUndefined:()=>Ul,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RS,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>Zi,keysIn:()=>ps,last:()=>Os,lastIndexOf:()=>FS,lodash:()=>at,lowerCase:()=>jS,lowerFirst:()=>p_,lt:()=>US,lte:()=>v_,map:()=>Fc,mapKeys:()=>VS,mapValues:()=>b_,matches:()=>CT,matchesProperty:()=>jf,max:()=>M_,maxBy:()=>Gs,mean:()=>WS,meanBy:()=>Zc,memoize:()=>Lb,merge:()=>w_,mergeWith:()=>_p,method:()=>GS,methodOf:()=>D_,min:()=>QS,minBy:()=>A_,mixin:()=>Hf,multiply:()=>T_,negate:()=>Vl,next:()=>Yf,noop:()=>Ie,now:()=>kc,nth:()=>x_,nthArg:()=>O_,omit:()=>vd,omitBy:()=>Gf,once:()=>cM,orderBy:()=>Qf,over:()=>hM,overArgs:()=>nl,overEvery:()=>bd,overSome:()=>Ds,pad:()=>Sd,padEnd:()=>MM,padStart:()=>iu,parseInt:()=>wM,partial:()=>qf,partialRight:()=>ou,partition:()=>G_,pick:()=>K_,pickBy:()=>qc,plant:()=>Md,property:()=>x0,propertyOf:()=>Q_,pull:()=>PM,pullAll:()=>J_,pullAllBy:()=>kM,pullAllWith:()=>xM,pullAt:()=>eg,random:()=>_I,range:()=>tg,rangeRight:()=>ng,rearg:()=>rg,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>gv,repeat:()=>mv,replace:()=>pv,rest:()=>_v,result:()=>ig,reverse:()=>su,round:()=>og,sample:()=>sg,sampleSize:()=>lg,set:()=>cg,setWith:()=>ug,shuffle:()=>eE,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>Uv,sortedIndex:()=>aE,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>zv,sortedLastIndexOf:()=>$v,sortedUniq:()=>Wv,sortedUniqBy:()=>Gv,split:()=>vE,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>cu,stubArray:()=>Sm,stubFalse:()=>Ca,stubObject:()=>Xv,stubString:()=>bs,stubTrue:()=>EE,subtract:()=>wE,sum:()=>du,sumBy:()=>fg,tail:()=>Zv,take:()=>Jv,takeRight:()=>gg,takeRightWhile:()=>PE,takeWhile:()=>pg,tap:()=>qv,template:()=>rb,templateSettings:()=>Ad,throttle:()=>WE,thru:()=>hu,times:()=>KE,toArray:()=>Vf,toFinite:()=>qt,toInteger:()=>Ue,toIterator:()=>ob,toJSON:()=>Wl,toLength:()=>ad,toLower:()=>XE,toNumber:()=>dn,toPairs:()=>ra,toPairsIn:()=>Ap,toPath:()=>ZE,toPlainObject:()=>V0,toSafeInteger:()=>ew,toString:()=>Di,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>sw,trimStart:()=>lw,truncate:()=>JI,unary:()=>ab,unescape:()=>db,union:()=>fb,unionBy:()=>Ua,unionWith:()=>kd,uniq:()=>bg,uniqBy:()=>vw,uniqWith:()=>yw,uniqueId:()=>Mw,unset:()=>gb,unzip:()=>xd,unzipWith:()=>mb,update:()=>Dw,updateWith:()=>Cg,upperCase:()=>Ha,upperFirst:()=>rm,value:()=>Wl,valueOf:()=>Wl,values:()=>vs,valuesIn:()=>vb,without:()=>bb,words:()=>hm,wrap:()=>Od,wrapperAt:()=>Pw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>at,wrapperNext:()=>Yf,wrapperPlant:()=>Md,wrapperReverse:()=>Ow,wrapperToIterator:()=>ob,wrapperValue:()=>Wl,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Mg,zip:()=>Nw,zipObject:()=>Cb,zipObjectDeep:()=>Eg,zipWith:()=>wg});const i="object"==typeof global&&global&&global.Object===Object&&global;var d="object"==typeof self&&self&&self.Object===Object&&self;const a=i||d||Function("return this")(),c=a.Symbol;var l=Object.prototype,g=l.hasOwnProperty,b=l.toString,_=c?c.toStringTag:void 0;var h=Object.prototype.toString;var A=c?c.toStringTag:void 0;const R=function T(w){return null==w?void 0===w?"[object Undefined]":"[object Null]":A&&A in Object(w)?function S(w){var P=g.call(w,_),Q=w[_];try{w[_]=void 0;var we=!0}catch{}var Ge=b.call(w);return we&&(P?w[_]=Q:delete w[_]),Ge}(w):function C(w){return h.call(w)}(w)},I=function N(w){return null!=w&&"object"==typeof w},z=function O(w){return"symbol"==typeof w||I(w)&&"[object Symbol]"==R(w)},X=function q(w){return"number"==typeof w?w:z(w)?NaN:+w},K=function ce(w,P){for(var Q=-1,we=null==w?0:w.length,Ge=Array(we);++Q0){if(++P>=800)return arguments[0]}else P=0;return w.apply(void 0,arguments)}},Rn=Dr(en);var ai=/\{\n\/\* \[wrapped with (.+)\] \*/,Kr=/,? & /;var dr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const zr=function bo(w){return function(){return w}};var eo=function(){try{var w=vr(Object,"defineProperty");return w({},"",{}),w}catch{}}();const Gi=eo;var to=Gi?function(w,P){return Gi(w,"toString",{configurable:!0,enumerable:!1,value:zr(P),writable:!0})}:lt;const _i=Dr(to),ei=function Fi(w,P){for(var Q=-1,we=null==w?0:w.length;++Q-1};var ys=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ki=function Lo(w,P,Q){var we=P+"";return _i(w,function Vi(w,P){var Q=P.length;if(!Q)return w;var we=Q-1;return P[we]=(Q>1?"& ":"")+P[we],P=P.join(Q>2?", ":" "),w.replace(dr,"{\n/* [wrapped with "+P+"] */\n")}(we,function ts(w,P){return ei(ys,function(Q){var we="_."+Q[0];P&Q[1]&&!Qr(w,we)&&w.push(we)}),w.sort()}(function qr(w){var P=w.match(ai);return P?P[1].split(Kr):[]}(we),Q)))},ds=function wo(w,P,Q,we,Ge,yt,Lt,Wt,on,xn){var On=8&P;P|=On?32:64,4&(P&=~(On?64:32))||(P&=-4);var fi=[w,P,Ge,On?yt:void 0,On?Lt:void 0,On?void 0:yt,On?void 0:Lt,Wt,on,xn],Lr=Q.apply(void 0,fi);return vi(w)&&Rn(Lr,fi),Lr.placeholder=we,Ki(Lr,w,P)},ze=function Qo(w){return w.placeholder};var ke=/^(?:0|[1-9]\d*)$/;const kt=function ct(w,P){var Q=typeof w;return!!(P=P??9007199254740991)&&("number"==Q||"symbol"!=Q&&ke.test(w))&&w>-1&&w%1==0&&w1&&Ai.reverse(),On&&on-1&&w%1==0&&w<=9007199254740991},Xt=function Et(w){return null!=w&&Fe(w.length)&&!$t(w)},Pn=function ln(w,P,Q){if(!mt(Q))return!1;var we=typeof P;return!!("number"==we?Xt(Q)&&kt(P,Q.length):"string"==we&&P in Q)&&ao(Q[P],w)},pr=function fr(w){return Z(function(P,Q){var we=-1,Ge=Q.length,yt=Ge>1?Q[Ge-1]:void 0,Lt=Ge>2?Q[2]:void 0;for(yt=w.length>3&&"function"==typeof yt?(Ge--,yt):void 0,Lt&&Pn(Q[0],Q[1],Lt)&&(yt=Ge<3?void 0:yt,Ge=1),P=Object(P);++we-1},ga.prototype.set=function Rg(w,P){var Q=this.__data__,we=hi(Q,w);return we<0?(++this.size,Q.push([w,P])):Q[we][1]=P,this};const fl=ga,gl=vr(a,"Map"),wu=function Eu(w,P){var Q=w.__data__;return function bP(w){var P=typeof w;return"string"==P||"number"==P||"symbol"==P||"boolean"==P?"__proto__"!==w:null===w}(P)?Q["string"==typeof P?"string":"hash"]:Q.map};function ml(w){var P=-1,Q=null==w?0:w.length;for(this.clear();++P0&&Q(Wt)?P>1?Iu(Wt,P-1,Q,we,Ge):xs(Ge,Wt):we||(Ge[Ge.length]=Wt)}return Ge},Zd=function zg(w){return null!=w&&w.length?cs(w,1):[]},Ga=function Jd(w){return _i(Ft(w,void 0,Zd),w+"")},Fb=Ga(Kd),Pu=fn(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const Ia=function Gg(w){if(!I(w)||"[object Object]"!=R(w))return!1;var P=Pu(w);if(null===P)return!0;var Q=eh.call(P,"constructor")&&P.constructor;return"function"==typeof Q&&Q instanceof Q&&qd.call(Q)==tD},th=function Kg(w){if(!I(w))return!1;var P=R(w);return"[object Error]"==P||"[object DOMException]"==P||"string"==typeof w.message&&"string"==typeof w.name&&!Ia(w)};var nD=Z(function(w,P){try{return hn(w,void 0,P)}catch(Q){return th(Q)?Q:new Error(Q)}});const nh=nD,Qg=function rD(w,P){var Q;if("function"!=typeof P)throw new TypeError("Expected a function");return w=Ue(w),function(){return--w>0&&(Q=P.apply(this,arguments)),w<=1&&(P=void 0),Q}};var Zg=Z(function(w,P,Q){var we=1;if(Q.length){var Ge=go(Q,ze(Zg));we|=32}return bi(w,we,P,Q,Ge)});Zg.placeholder={};const vl=Zg;var bl=Ga(function(w,P){return ei(P,function(Q){Q=Ms(Q),Oi(w,Q,vl(w[Q],w))}),w});const jb=bl;var rh=Z(function(w,P,Q){var we=3;if(Q.length){var Ge=go(Q,ze(rh));we|=32}return bi(P,we,w,Q,Ge)});rh.placeholder={};const hc=rh,Ys=function sD(w,P,Q){var we=-1,Ge=w.length;P<0&&(P=-P>Ge?0:Ge+P),(Q=Q>Ge?Ge:Q)<0&&(Q+=Ge),Ge=P>Q?0:Q-P>>>0,P>>>=0;for(var yt=Array(Ge);++we=we?w:Ys(w,P,Q)};var Yb=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const fc=function cD(w){return Yb.test(w)};var Wb="\\ud800-\\udfff",sh="["+Wb+"]",gc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ku="\\ud83c[\\udffb-\\udfff]",tm="[^"+Wb+"]",Kb="(?:\\ud83c[\\udde6-\\uddff]){2}",yl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qb="(?:"+gc+"|"+ku+")?",ah="[\\ufe0e\\ufe0f]?",fD=ah+Qb+"(?:\\u200d(?:"+[tm,Kb,yl].join("|")+")"+ah+Qb+")*",gD="(?:"+[tm+gc+"?",gc,Kb,yl,sh].join("|")+")",yP=RegExp(ku+"(?="+ku+")|"+gD+fD,"g");const ea=function Ou(w){return fc(w)?function CP(w){return w.match(yP)||[]}(w):function zb(w){return w.split("")}(w)},lh=function Lu(w){return function(P){P=Di(P);var Q=fc(P)?ea(P):void 0,we=Q?Q[0]:P.charAt(0),Ge=Q?Ka(Q,1).join(""):P.slice(1);return we[w]()+Ge}},rm=lh("toUpperCase"),uh=function Xb(w){return rm(Di(w).toLowerCase())},zs=function mD(w,P,Q,we){var Ge=-1,yt=null==w?0:w.length;for(we&&yt&&(Q=w[++Ge]);++Ge=P?w:P)),w},LD=function Ay(w,P,Q){return void 0===Q&&(Q=P,P=void 0),void 0!==Q&&(Q=(Q=dn(Q))==Q?Q:0),void 0!==P&&(P=(P=dn(P))==P?P:0),Qa(dn(w),P,Q)};function El(w){var P=this.__data__=new fl(w);this.size=P.size}El.prototype.clear=function MP(){this.__data__=new fl,this.size=0},El.prototype.delete=function mm(w){var P=this.__data__,Q=P.delete(w);return this.size=P.size,Q},El.prototype.get=function wP(w){return this.__data__.get(w)},El.prototype.has=function Ty(w){return this.__data__.has(w)},El.prototype.set=function ND(w,P){var Q=this.__data__;if(Q instanceof fl){var we=Q.__data__;if(!gl||we.length<199)return we.push([w,P]),this.size=++Q.size,this;Q=this.__data__=new lc(we)}return Q.set(w,P),this.size=Q.size,this};const Oa=El,yh=function Iy(w,P){return w&&he(P,Zi(P),w)};var _m="object"==typeof exports&&exports&&!exports.nodeType&&exports,vm=_m&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vm&&vm.exports===_m?a.Buffer:void 0,ym=Ch?Ch.allocUnsafe:void 0;const Cm=function Py(w,P){if(P)return w.slice();var Q=w.length,we=ym?ym(Q):new w.constructor(Q);return w.copy(we),we},La=function UD(w,P){for(var Q=-1,we=null==w?0:w.length,Ge=0,yt=[];++QWt))return!1;var xn=yt.get(w),On=yt.get(P);if(xn&&On)return xn==P&&On==w;var Bn=-1,or=!0,Sr=2&Q?new Bh:void 0;for(yt.set(w,P),yt.set(P,w);++Bn=P||oa<0||Bn&&Vo-xn>=yt}function Ci(){var Vo=kc();if(Lr(Vo))return Ai(Vo);Wt=setTimeout(Ci,function fi(Vo){var Ag=P-(Vo-on);return Bn?qu(Ag,yt-(Vo-xn)):Ag}(Vo))}function Ai(Vo){return Wt=void 0,or&&we?Sr(Vo):(we=Ge=void 0,Lt)}function Us(){var Vo=kc(),oa=Lr(Vo);if(we=arguments,Ge=this,on=Vo,oa){if(void 0===Wt)return function Br(Vo){return xn=Vo,Wt=setTimeout(Ci,P),On?Sr(Vo):Lt}(on);if(Bn)return clearTimeout(Wt),Wt=setTimeout(Ci,P),Sr(on)}return void 0===Wt&&(Wt=setTimeout(Ci,P)),Lt}return P=dn(P)||0,mt(Q)&&(On=!!Q.leading,yt=(Bn="maxWait"in Q)?oA(dn(Q.maxWait)||0,P):yt,or="trailing"in Q?!!Q.trailing:or),Us.cancel=function Ks(){void 0!==Wt&&clearTimeout(Wt),xn=0,we=on=Ge=Wt=void 0},Us.flush=function Ts(){return void 0===Wt?Lt:Ai(kc())},Us},gp=function sA(w,P){return null==w||w!=w?P:w};var ed=Object.prototype,mp=ed.hasOwnProperty,U0=Z(function(w,P){w=Object(w);var Q=-1,we=P.length,Ge=we>2?P[2]:void 0;for(Ge&&Pn(P[0],P[1],Ge)&&(we=1);++Q=200&&(yt=Vu,Lt=!1,P=new Bh(P));e:for(;++Ge=0&&w.slice(Q,Ge)==P},sd=function DA(w){return function(P){var Q=pa(P);return"[object Map]"==Q?Km(P):"[object Set]"==Q?function of(w){var P=-1,Q=Array(w.size);return w.forEach(function(we){Q[++P]=[we,we]}),Q}(P):function Dp(w,P){return K(P,function(Q){return[Q,w[Q]]})}(P,w(P))}},ra=sd(Zi),Ap=sd(ps),cC=mc({"&":"&","<":"<",">":">",'"':""","'":"'"});var uC=/[&<>"']/g,AA=RegExp(uC.source);const af=function Rc(w){return(w=Di(w))&&AA.test(w)?w.replace(uC,cC):w};var dC=/[\\^$.*+?()[\]{}|]/g,TA=RegExp(dC.source);const hC=function IA(w){return(w=Di(w))&&TA.test(w)?w.replace(dC,"\\$&"):w},fC=function PA(w,P){for(var Q=-1,we=null==w?0:w.length;++QGe?0:Ge+Q),(we=void 0===we||we>Ge?Ge:Ue(we))<0&&(we+=Ge),we=Q>we?0:ad(we);Q-1?Ge[yt?P[Lt]:Lt]:void 0}};var Ip=Math.max;const ld=function SC(w,P,Q){var we=null==w?0:w.length;if(!we)return-1;var Ge=null==Q?0:Ue(Q);return Ge<0&&(Ge=Ip(we+Ge,0)),mo(w,ci(P),Ge)},MC=uf(ld),EC=function RA(w,P,Q){var we;return Q(w,function(Ge,yt,Lt){if(P(Ge,yt,Lt))return we=yt,!1}),we},kp=function FA(w,P){return EC(w,ci(P),va)};var xp=Math.max,Op=Math.min;const df=function wC(w,P,Q){var we=null==w?0:w.length;if(!we)return-1;var Ge=we-1;return void 0!==Q&&(Ge=Ue(Q),Ge=Q<0?xp(we+Ge,0):Op(Ge,we-1)),mo(w,ci(P),Ge,!0)},AC=uf(df),IC=function TC(w,P){return EC(w,ci(P),nf)},cd=function Lp(w){return w&&w.length?w[0]:void 0},Fp=function Rp(w,P){var Q=-1,we=Xt(w)?Array(w.length):[];return na(w,function(Ge,yt,Lt){we[++Q]=P(Ge,yt,Lt)}),we},Fc=function PC(w,P){return(Y(w)?K:Fp)(w,ci(P))},xC=function kC(w,P){return cs(Fc(w,P),1)},LC=function NA(w,P){return cs(Fc(w,P),1/0)},Np=function jA(w,P,Q){return Q=void 0===Q?1:Ue(Q),cs(Fc(w,P),Q)},RC=function UA(w){return null!=w&&w.length?cs(w,1/0):[]},jp=function FC(w,P){return null!=w&&w.length?(P=void 0===P?1:Ue(P),cs(w,P)):[]},jC=function HA(w){return bi(w,512)},Nc=fm("floor"),Bc=function jc(w){return Ga(function(P){var Q=P.length,we=Q,Ge=yn.prototype.thru;for(w&&P.reverse();we--;){var yt=P[we];if("function"!=typeof yt)throw new TypeError("Expected a function");if(Ge&&!Lt&&"wrapper"==mn(yt))var Lt=new yn([],!0)}for(we=Lt?we:Q;++weP},dd=function KC(w){return function(P,Q){return"string"==typeof P&&"string"==typeof Q||(P=dn(P),Q=dn(Q)),w(P,Q)}},Yp=dd(Vp);var tT=dd(function(w,P){return w>=P});const nT=tT;var ZC=Object.prototype.hasOwnProperty;const JC=function Ol(w,P){return null!=w&&ZC.call(w,P)},eS=function qC(w,P){return null!=w&&Pl(w,P,JC)};var pf=Math.max,_f=Math.min;const nS=function zp(w,P,Q){return P=qt(P),void 0===Q?(Q=P,P=0):Q=qt(Q),function rT(w,P,Q){return w>=_f(P,Q)&&w-1:!!Ge&&yo(w,P,Q)>-1};var bf=Math.max;const oS=function Ws(w,P,Q){var we=null==w?0:w.length;if(!we)return-1;var Ge=null==Q?0:Ue(Q);return Ge<0&&(Ge=bf(we+Ge,0)),yo(w,P,Ge)},$p=function Uc(w){return null!=w&&w.length?Ys(w,0,-1):[]};var sS=Math.min;const Wp=function oT(w,P,Q){for(var we=Q?nd:Qr,Ge=w[0].length,yt=w.length,Lt=yt,Wt=Array(yt),on=1/0,xn=[];Lt--;){var On=w[Lt];Lt&&P&&(On=K(On,Zr(P))),on=sS(On.length,on),Wt[Lt]=!Q&&(P||Ge>=120&&On.length>=120)?new Bh(Lt&&On):void 0}On=w[0];var Bn=-1,or=Wt[0];e:for(;++Bn=-jl&&w<=jl},Ul=function Kc(w){return void 0===w},xf=function c_(w){return I(w)&&"[object WeakMap]"==pa(w)},Of=function d_(w){return I(w)&&"[object WeakSet]"==R(w)},Lf=function f_(w){return ci("function"==typeof w?w:ta(w,1))};var Rf=Array.prototype.join;const RS=function tl(w,P){return null==w?"":Rf.call(w,P)};var mT=bc(function(w,P,Q){return w+(Q?"-":"")+P.toLowerCase()});const Ff=mT;var Hl=Xh(function(w,P,Q){Oi(w,Q,P)});const Nf=Hl;var VP=Math.max,YP=Math.min;const FS=function _T(w,P,Q){var we=null==w?0:w.length;if(!we)return-1;var Ge=we;return void 0!==Q&&(Ge=(Ge=Ue(Q))<0?VP(we+Ge,0):YP(Ge,we-1)),P==P?function pT(w,P,Q){for(var we=Q+1;we--;)if(w[we]===P)return we;return we}(w,P,Ge):mo(w,Mi,Ge,!0)};var NS=bc(function(w,P,Q){return w+(Q?" ":"")+P.toLowerCase()});const jS=NS,p_=lh("toLowerCase"),__=function vT(w,P){return w=this.__values__.length;return{done:w,value:w?void 0:this.__values__[this.__index__++]}},oM=function iM(w,P){var Q=w.length;if(Q)return kt(P+=P<0?Q:0,Q)?w[P]:void 0},x_=function sM(w,P){return w&&w.length?oM(w,Ue(P)):void 0},O_=function TT(w){return w=Ue(w),Z(function(P){return oM(P,w)})},zf=function IT(w,P){return P=Rs(P,w),null==(w=Qp(w,P))||delete w[Ms(Os(P))]},PT=function L_(w){return Ia(w)?void 0:w};var $f=Ga(function(w,P){var Q={};if(null==w)return Q;var we=!1;P=K(P,function(yt){return yt=Rs(yt,w),we||(we=yt.length>1),yt}),he(w,Nu(w),Q),we&&(Q=ta(Q,7,PT));for(var Ge=P.length;Ge--;)zf(Q,P[Ge]);return Q});const vd=$f,Jc=function F_(w,P,Q,we){if(!mt(w))return w;for(var Ge=-1,yt=(P=Rs(P,w)).length,Lt=yt-1,Wt=w;null!=Wt&&++GeP||yt&&Lt&&on&&!Wt&&!xn||we&&Lt&&on||!Q&&on||!Ge)return 1;if(!we&&!yt&&!xn&&w=Wt?on:on*("desc"==Q[we]?-1:1)}return w.index-P.index}(yt,Lt,Q)})},Qf=function jT(w,P,Q,we){return null==w?[]:(Y(P)||(P=null==P?[]:[P]),Y(Q=we?void 0:Q)||(Q=null==Q?[]:[Q]),zl(w,P,Q))},Xf=function BT(w){return Ga(function(P){return P=K(P,Zr(ci)),Z(function(Q){var we=this;return w(P,function(Ge){return hn(Ge,we,Q)})})})},hM=Xf(K);var HT=Math.min,VT=Z(function(w,P){var Q=(P=1==P.length&&Y(P[0])?K(P[0],Zr(ci)):K(cs(P,1),Zr(ci))).length;return Z(function(we){for(var Ge=-1,yt=HT(we.length,Q);++Ge9007199254740991)return Q;do{P%2&&(Q+=w),(P=j_(P/2))&&(w+=w)}while(P);return Q},mM=k0("length");var B_="\\ud800-\\udfff",QT="["+B_+"]",U_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",tu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_M="[\\ud800-\\udbff][\\udc00-\\udfff]",nu="(?:"+U_+"|"+tu+")?",vM="[\\ufe0e\\ufe0f]?",ZT=vM+nu+"(?:\\u200d(?:"+[H_,V_,_M].join("|")+")"+vM+nu+")*",bM="(?:"+[H_+U_+"?",U_,V_,_M,QT].join("|")+")",Y_=RegExp(tu+"(?="+tu+")|"+bM+ZT,"g");const ru=function CM(w){return fc(w)?function yM(w){for(var P=Y_.lastIndex=0;Y_.test(w);)++P;return P}(w):mM(w)};var qT=Math.ceil;const z_=function zP(w,P){var Q=(P=void 0===P?" ":ee(P)).length;if(Q<2)return Q?Jf(P,w):P;var we=Jf(P,qT(w/ru(P)));return fc(P)?Ka(ea(we),0,w).join(""):we.slice(0,w)};var $P=Math.ceil,WP=Math.floor;const Sd=function SM(w,P,Q){w=Di(w);var we=(P=Ue(P))?ru(w):0;if(!P||we>=P)return w;var Ge=(P-we)/2;return z_(WP(Ge),Q)+w+z_($P(Ge),Q)},MM=function eI(w,P,Q){w=Di(w);var we=(P=Ue(P))?ru(w):0;return P&&we-1;)Wt!==w&&TM.call(Wt,on,1),TM.call(w,on,1);return w},J_=function IM(w,P){return w&&w.length&&P&&P.length?Z_(w,P):w},PM=Z(J_),kM=function fI(w,P,Q){return w&&w.length&&P&&P.length?Z_(w,P,ci(Q)):w},xM=function gI(w,P,Q){return w&&w.length&&P&&P.length?Z_(w,P,void 0,Q):w};var q_=Array.prototype.splice;const tv=function ev(w,P){for(var Q=w?P.length:0,we=Q-1;Q--;){var Ge=P[Q];if(Q==we||Ge!==yt){var yt=Ge;kt(Ge)?q_.call(w,Ge,1):zf(w,Ge)}}return w};var OM=Ga(function(w,P){var Q=null==w?0:w.length,we=Kd(w,P);return tv(w,K(P,function(Ge){return kt(Ge,Q)?+Ge:Ge}).sort(Kf)),we});const eg=OM;var LM=Math.floor,RM=Math.random;const Ed=function nv(w,P){return w+LM(RM()*(P-w+1))};var pI=parseFloat,rv=Math.min,FM=Math.random;const _I=function NM(w,P,Q){if(Q&&"boolean"!=typeof Q&&Pn(w,P,Q)&&(P=Q=void 0),void 0===Q&&("boolean"==typeof P?(Q=P,P=void 0):"boolean"==typeof w&&(Q=w,w=void 0)),void 0===w&&void 0===P?(w=0,P=1):(w=qt(w),void 0===P?(P=w,w=0):P=qt(P)),w>P){var we=w;w=P,P=we}if(Q||w%1||P%1){var Ge=FM();return rv(w+Ge*(P-w+pI("1e-"+((Ge+"").length-1))),P)}return Ed(w,P)};var jM=Math.ceil,vI=Math.max;const wd=function iv(w){return function(P,Q,we){return we&&"number"!=typeof we&&Pn(P,Q,we)&&(Q=we=void 0),P=qt(P),void 0===Q?(Q=P,P=0):Q=qt(Q),function BM(w,P,Q,we){for(var Ge=-1,yt=vI(jM((P-w)/(Q||1)),0),Lt=Array(yt);yt--;)Lt[we?yt:++Ge]=w,w+=Q;return Lt}(P,Q,we=void 0===we?P1&&Pn(w,P[0],P[1])?P=[]:Q>2&&Pn(P[0],P[1],P[2])&&(P=[P[0]]),zl(w,cs(P,1),[])});const Uv=rE;var oE=Math.floor,DI=Math.min;const Dd=function AI(w,P,Q,we){var Ge=0,yt=null==w?0:w.length;if(0===yt)return 0;for(var Lt=(P=Q(P))!=P,Wt=null===P,on=z(P),xn=void 0===P;Ge>>1,Lt=w[yt];null!==Lt&&!z(Lt)&&(Q?Lt<=P:Lt>>0)?(w=Di(w))&&("string"==typeof P||null!=P&&!ja(P))&&!(P=ee(P))&&fc(w)?Ka(ea(w),0,Q):w.split(P,Q):[]};var ZP=Math.max;const Kv=function bE(w,P){if("function"!=typeof w)throw new TypeError("Expected a function");return P=null==P?0:ZP(Ue(P),0),Z(function(Q){var we=Q[P],Ge=Ka(Q,0,P);return we&&xs(Ge,we),hn(w,this,Ge)})};var yE=bc(function(w,P,Q){return w+(Q?" ":"")+rm(P)});const Qv=yE,cu=function CE(w,P,Q){return w=Di(w),Q=null==Q?0:Qa(Ue(Q),0,w.length),P=ee(P),w.slice(Q,Q+P.length)==P},Xv=function SE(){return{}},bs=function ME(){return""},EE=function uu(){return!0};var II=G(function(w,P){return w-P},0);const wE=II,du=function JP(w){return w&&w.length?Bf(w,lt):0},fg=function PI(w,P){return w&&w.length?Bf(w,ci(P)):0},Zv=function DE(w){var P=null==w?0:w.length;return P?Ys(w,1,P):[]},Jv=function AE(w,P,Q){return w&&w.length?(P=Q||void 0===P?1:Ue(P),Ys(w,0,P<0?0:P)):[]},gg=function TE(w,P,Q){var we=null==w?0:w.length;return we?(P=Q||void 0===P?1:Ue(P),Ys(w,(P=we-P)<0?0:P,we)):[]},PE=function IE(w,P){return w&&w.length?ef(w,ci(P),!1,!0):[]},pg=function mg(w,P){return w&&w.length?ef(w,ci(P)):[]},qv=function kI(w,P){return P(w),w};var kE=Object.prototype,eb=kE.hasOwnProperty;const xE=function $l(w,P,Q,we){return void 0===w||ao(w,kE[Q])&&!eb.call(we,Q)?P:w};var OE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LE=function tb(w){return"\\"+OE[w]},RE=/<%=([\s\S]+?)%>/g,Ad={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RE,variable:"",imports:{_:{escape:af}}};var LI=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,RI=/(__e\(.*?\)|\b__t\)) \+\n'';/g,UE=/[()=,{}\[\]\/\s]/,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Td=/($^)/,VE=/['\n\r\u2028\u2029\\]/g,YE=Object.prototype.hasOwnProperty;const rb=function zE(w,P,Q){var we=Ad.imports._.templateSettings||Ad;Q&&Pn(w,P,Q)&&(P=void 0),w=Di(w),P=cl({},P,we,xE);var Wt,on,Ge=cl({},P.imports,we.imports,xE),yt=Zi(Ge),Lt=iS(Ge,yt),xn=0,On=P.interpolate||Td,Bn="__p += '",or=RegExp((P.escape||Td).source+"|"+On.source+"|"+(On===RE?HE:Td).source+"|"+(P.evaluate||Td).source+"|$","g"),Sr=YE.call(P,"sourceURL")?"//# sourceURL="+(P.sourceURL+"").replace(/\s/g," ")+"\n":"";w.replace(or,function(Lr,Ci,Ai,Ks,Ts,Us){return Ai||(Ai=Ks),Bn+=w.slice(xn,Us).replace(VE,LE),Ci&&(Wt=!0,Bn+="' +\n__e("+Ci+") +\n'"),Ts&&(on=!0,Bn+="';\n"+Ts+";\n__p += '"),Ai&&(Bn+="' +\n((__t = ("+Ai+")) == null ? '' : __t) +\n'"),xn=Us+Lr.length,Lr}),Bn+="';\n";var Br=YE.call(P,"variable")&&P.variable;if(Br){if(UE.test(Br))throw new Error("Invalid `variable` option passed into `_.template`")}else Bn="with (obj) {\n"+Bn+"\n}\n";Bn=(on?Bn.replace(LI,""):Bn).replace(BE,"$1").replace(RI,"$1;"),Bn="function("+(Br||"obj")+") {\n"+(Br?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Wt?", __e = _.escape":"")+(on?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Bn+"return __p\n}";var fi=nh(function(){return Function(yt,Sr+"return "+Bn).apply(void 0,Lt)});if(fi.source=Bn,th(fi))throw fi;return fi},WE=function NI(w,P,Q){var we=!0,Ge=!0;if("function"!=typeof w)throw new TypeError("Expected a function");return mt(Q)&&(we="leading"in Q?!!Q.leading:we,Ge="trailing"in Q?!!Q.trailing:Ge),fp(w,P,{leading:we,maxWait:P,trailing:Ge})},hu=function jI(w,P){return P(w)};var ib=4294967295,UI=Math.min;const KE=function GE(w,P){if((w=Ue(w))<1||w>9007199254740991)return[];var Q=ib,we=UI(w,ib);P=ba(P),w-=ib;for(var Ge=Ei(we,P);++Q-1;);return Q},iw=function GI(w,P){for(var Q=-1,we=w.length;++Q-1;);return Q},ow=function KI(w,P,Q){if((w=Di(w))&&(Q||void 0===P))return qe(w);if(!w||!(P=ee(P)))return w;var we=ea(w),Ge=ea(P),yt=iw(we,Ge),Lt=rw(we,Ge)+1;return Ka(we,yt,Lt).join("")},sw=function QI(w,P,Q){if((w=Di(w))&&(Q||void 0===P))return w.slice(0,le(w)+1);if(!w||!(P=ee(P)))return w;var we=ea(w),Ge=rw(we,ea(P))+1;return Ka(we,0,Ge).join("")};var aw=/^\s+/;const lw=function sb(w,P,Q){if((w=Di(w))&&(Q||void 0===P))return w.replace(aw,"");if(!w||!(P=ee(P)))return w;var we=ea(w),Ge=iw(we,ea(P));return Ka(we,Ge).join("")};var ZI=/\w*$/;const JI=function uw(w,P){var Q=30,we="...";if(mt(P)){var Ge="separator"in P?P.separator:Ge;Q="length"in P?Ue(P.length):Q,we="omission"in P?ee(P.omission):we}var yt=(w=Di(w)).length;if(fc(w)){var Lt=ea(w);yt=Lt.length}if(Q>=yt)return w;var Wt=Q-ru(we);if(Wt<1)return we;var on=Lt?Ka(Lt,0,Wt).join(""):w.slice(0,Wt);if(void 0===Ge)return on+we;if(Lt&&(Wt+=on.length-Wt),ja(Ge)){if(w.slice(Wt).search(Ge)){var xn,On=on;for(Ge.global||(Ge=RegExp(Ge.source,Di(ZI.exec(Ge))+"g")),Ge.lastIndex=0;xn=Ge.exec(On);)var Bn=xn.index;on=on.slice(0,void 0===Bn?Wt:Bn)}}else if(w.indexOf(ee(Ge),Wt)!=Wt){var or=on.lastIndexOf(Ge);or>-1&&(on=on.slice(0,or))}return on+we},ab=function qI(w){return Cr(w,1)},hw=mc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var lb=/&(?:amp|lt|gt|quot|#39);/g,cb=RegExp(lb.source);const db=function ub(w){return(w=Di(w))&&cb.test(w)?w.replace(lb,hw):w};var _g=Al&&1/Dc(new Al([,-0]))[1]==1/0?function(w){return new Al(w)}:Ie;const hb=_g,Ba=function gw(w,P,Q){var we=-1,Ge=Qr,yt=w.length,Lt=!0,Wt=[],on=Wt;if(Q)Lt=!1,Ge=nd;else if(yt>=200){var xn=P?null:hb(w);if(xn)return Dc(xn);Lt=!1,Ge=Vu,on=new Bh}else on=P?[]:Wt;e:for(;++we1||this.__actions__.length)&&we instanceof ue&&kt(Q)?((we=we.slice(Q,+Q+(P?1:0))).__actions__.push({func:hu,args:[Ge],thisArg:void 0}),new yn(we,this.__chain__).thru(function(yt){return P&&!yt.length&&yt.push(void 0),yt})):this.thru(Ge)});const Pw=oP,xw=function kw(){return gm(this)},Ow=function sP(){var w=this.__wrapped__;if(w instanceof ue){var P=w;return this.__actions__.length&&(P=new ue(this)),(P=P.reverse()).__actions__.push({func:hu,args:[su],thisArg:void 0}),new yn(P,this.__chain__)}return this.thru(su)},Sg=function aP(w,P,Q){var we=w.length;if(we<2)return we?Ba(w[0]):[];for(var Ge=-1,yt=Array(we);++Ge1?w[P-1]:void 0;return Q="function"==typeof Q?(w.pop(),Q):void 0,mb(w,Q)});const wg=uP,gr={chunk:yc,compact:f0,concat:ws,difference:X0,differenceBy:Oc,differenceWith:Z0,drop:eC,dropRight:Sp,dropRightWhile:Oo,dropWhile:tf,fill:cf,findIndex:ld,findLastIndex:df,first:cd,flatten:Zd,flattenDeep:RC,flattenDepth:jp,fromPairs:Hp,head:cd,indexOf:oS,initial:$p,intersection:Po,intersectionBy:Ll,intersectionWith:Hc,join:RS,last:Os,lastIndexOf:FS,nth:x_,pull:PM,pullAll:J_,pullAllBy:kM,pullAllWith:xM,pullAt:eg,remove:gv,reverse:su,slice:Fv,sortedIndex:aE,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:zv,sortedLastIndexOf:$v,sortedUniq:Wv,sortedUniqBy:Gv,tail:Zv,take:Jv,takeRight:gg,takeRightWhile:PE,takeWhile:pg,union:fb,unionBy:Ua,unionWith:kd,uniq:bg,uniqBy:vw,uniqWith:yw,unzip:xd,unzipWith:mb,without:bb,xor:Rw,xorBy:Fw,xorWith:Mg,zip:Nw,zipObject:Cb,zipObjectDeep:Eg,zipWith:wg},Ui={countBy:j0,each:rd,eachRight:id,every:mC,filter:CC,find:MC,findLast:AC,flatMap:xC,flatMapDeep:LC,flatMapDepth:Np,forEach:rd,forEachRight:id,groupBy:GC,includes:qa,invokeMap:Df,keyBy:Nf,map:Fc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:sg,sampleSize:lg,shuffle:eE,size:Rv,some:Bv,sortBy:Uv},rk={now:kc},Ho={after:Qe,ary:Cr,before:Qg,bind:vl,bindKey:hc,curry:kl,curryRight:Ju,debounce:fp,defer:bp,delay:mA,flip:jC,memoize:Lb,negate:Vl,once:cM,overArgs:nl,partial:qf,partialRight:ou,rearg:rg,rest:_v,spread:Kv,throttle:WE,unary:ab,wrap:Od},Or={castArray:My,clone:Rh,cloneDeep:Fh,cloneDeepWith:$m,cloneWith:d0,conformsTo:Pc,eq:ao,gt:Yp,gte:nT,isArguments:jo,isArray:Y,isArrayBuffer:Af,isArrayLike:Xt,isArrayLikeObject:Io,isBoolean:qp,isBuffer:is,isDate:_S,isElement:vS,isEmpty:Tf,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:$t,isInteger:If,isLength:Fe,isMap:Uu,isMatch:i_,isMatchWith:o_,isNaN:s_,isNative:a_,isNil:zc,isNull:Fl,isNumber:Pf,isObject:mt,isObjectLike:I,isPlainObject:Ia,isRegExp:ja,isSafeInteger:Bl,isSet:Xy,isString:hd,isSymbol:z,isTypedArray:Ce,isUndefined:Ul,isWeakMap:xf,isWeakSet:Of,lt:US,lte:v_,toArray:Vf,toFinite:qt,toInteger:Ue,toLength:ad,toNumber:dn,toPlainObject:V0,toSafeInteger:ew,toString:Di},As={add:be,ceil:wy,divide:J0,floor:Nc,max:M_,maxBy:Gs,mean:WS,meanBy:Zc,min:QS,minBy:A_,multiply:T_,round:og,subtract:wE,sum:du,sumBy:fg},Mb={clamp:LD,inRange:nS,random:_I},ii={assign:ks,assignIn:jr,assignInWith:cl,assignWith:Bd,at:Fb,create:up,defaults:$s,defaultsDeep:vp,entries:ra,entriesIn:Ap,extend:jr,extendWith:cl,findKey:kp,findLastKey:IC,forIn:YC,forInRight:zC,forOwn:Up,forOwnRight:ff,functions:gf,functionsIn:WC,get:Tu,has:eS,hasIn:zh,invert:pd,invertBy:uS,invoke:hS,keys:Zi,keysIn:ps,mapKeys:VS,mapValues:b_,merge:w_,mergeWith:_p,omit:vd,omitBy:Gf,pick:K_,pickBy:qc,result:ig,set:cg,setWith:ug,toPairs:ra,toPairsIn:Ap,transform:nw,unset:gb,update:Dw,updateWith:Cg,values:vs,valuesIn:vb},lo={at:Pw,chain:gm,commit:Nh,lodash:at,next:Yf,plant:Md,reverse:Ow,tap:qv,thru:hu,toIterator:ob,toJSON:Wl,value:Wl,valueOf:Wl,wrapperChain:xw},Pi={camelCase:Ml,capitalize:uh,deburr:Pa,endsWith:xl,escape:af,escapeRegExp:hC,kebabCase:Ff,lowerCase:jS,lowerFirst:p_,pad:Sd,padEnd:MM,padStart:iu,parseInt:wM,repeat:mv,replace:pv,snakeCase:Nv,split:vE,startCase:Qv,startsWith:cu,template:rb,templateSettings:Ad,toLower:XE,toUpper:tw,trim:ow,trimEnd:sw,trimStart:lw,truncate:JI,unescape:db,upperCase:Ha,upperFirst:rm,words:hm},Hi={attempt:nh,bindAll:jb,cond:O0,conforms:ap,constant:zr,defaultTo:gp,flow:HC,flowRight:Bp,identity:lt,iteratee:Lf,matches:CT,matchesProperty:jf,method:GS,methodOf:D_,mixin:Hf,noop:Ie,nthArg:O_,over:hM,overEvery:bd,overSome:Ds,property:x0,propertyOf:Q_,range:tg,rangeRight:ng,stubArray:Sm,stubFalse:Ca,stubObject:Xv,stubString:bs,stubTrue:EE,times:KE,toPath:ZE,uniqueId:Mw};var ok=Math.max,sk=Math.min;var Hw=Math.min;var Rd=4294967295,Fd=Array.prototype,wb=Object.prototype.hasOwnProperty,pP=c?c.iterator:void 0,ak=Math.max,_P=Math.min,Db=function(w){return function(P,Q,we){if(null==we){var Ge=mt(Q),yt=Ge&&Zi(Q),Lt=yt&&yt.length&&ud(Q,yt);(Lt?Lt.length:Ge)||(we=Q,Q=P,P=this)}return w(P,Q,we)}}(Hf);at.after=Ho.after,at.ary=Ho.ary,at.assign=ii.assign,at.assignIn=ii.assignIn,at.assignInWith=ii.assignInWith,at.assignWith=ii.assignWith,at.at=ii.at,at.before=Ho.before,at.bind=Ho.bind,at.bindAll=Hi.bindAll,at.bindKey=Ho.bindKey,at.castArray=Or.castArray,at.chain=lo.chain,at.chunk=gr.chunk,at.compact=gr.compact,at.concat=gr.concat,at.cond=Hi.cond,at.conforms=Hi.conforms,at.constant=Hi.constant,at.countBy=Ui.countBy,at.create=ii.create,at.curry=Ho.curry,at.curryRight=Ho.curryRight,at.debounce=Ho.debounce,at.defaults=ii.defaults,at.defaultsDeep=ii.defaultsDeep,at.defer=Ho.defer,at.delay=Ho.delay,at.difference=gr.difference,at.differenceBy=gr.differenceBy,at.differenceWith=gr.differenceWith,at.drop=gr.drop,at.dropRight=gr.dropRight,at.dropRightWhile=gr.dropRightWhile,at.dropWhile=gr.dropWhile,at.fill=gr.fill,at.filter=Ui.filter,at.flatMap=Ui.flatMap,at.flatMapDeep=Ui.flatMapDeep,at.flatMapDepth=Ui.flatMapDepth,at.flatten=gr.flatten,at.flattenDeep=gr.flattenDeep,at.flattenDepth=gr.flattenDepth,at.flip=Ho.flip,at.flow=Hi.flow,at.flowRight=Hi.flowRight,at.fromPairs=gr.fromPairs,at.functions=ii.functions,at.functionsIn=ii.functionsIn,at.groupBy=Ui.groupBy,at.initial=gr.initial,at.intersection=gr.intersection,at.intersectionBy=gr.intersectionBy,at.intersectionWith=gr.intersectionWith,at.invert=ii.invert,at.invertBy=ii.invertBy,at.invokeMap=Ui.invokeMap,at.iteratee=Hi.iteratee,at.keyBy=Ui.keyBy,at.keys=Zi,at.keysIn=ii.keysIn,at.map=Ui.map,at.mapKeys=ii.mapKeys,at.mapValues=ii.mapValues,at.matches=Hi.matches,at.matchesProperty=Hi.matchesProperty,at.memoize=Ho.memoize,at.merge=ii.merge,at.mergeWith=ii.mergeWith,at.method=Hi.method,at.methodOf=Hi.methodOf,at.mixin=Db,at.negate=Vl,at.nthArg=Hi.nthArg,at.omit=ii.omit,at.omitBy=ii.omitBy,at.once=Ho.once,at.orderBy=Ui.orderBy,at.over=Hi.over,at.overArgs=Ho.overArgs,at.overEvery=Hi.overEvery,at.overSome=Hi.overSome,at.partial=Ho.partial,at.partialRight=Ho.partialRight,at.partition=Ui.partition,at.pick=ii.pick,at.pickBy=ii.pickBy,at.property=Hi.property,at.propertyOf=Hi.propertyOf,at.pull=gr.pull,at.pullAll=gr.pullAll,at.pullAllBy=gr.pullAllBy,at.pullAllWith=gr.pullAllWith,at.pullAt=gr.pullAt,at.range=Hi.range,at.rangeRight=Hi.rangeRight,at.rearg=Ho.rearg,at.reject=Ui.reject,at.remove=gr.remove,at.rest=Ho.rest,at.reverse=gr.reverse,at.sampleSize=Ui.sampleSize,at.set=ii.set,at.setWith=ii.setWith,at.shuffle=Ui.shuffle,at.slice=gr.slice,at.sortBy=Ui.sortBy,at.sortedUniq=gr.sortedUniq,at.sortedUniqBy=gr.sortedUniqBy,at.split=Pi.split,at.spread=Ho.spread,at.tail=gr.tail,at.take=gr.take,at.takeRight=gr.takeRight,at.takeRightWhile=gr.takeRightWhile,at.takeWhile=gr.takeWhile,at.tap=lo.tap,at.throttle=Ho.throttle,at.thru=hu,at.toArray=Or.toArray,at.toPairs=ii.toPairs,at.toPairsIn=ii.toPairsIn,at.toPath=Hi.toPath,at.toPlainObject=Or.toPlainObject,at.transform=ii.transform,at.unary=Ho.unary,at.union=gr.union,at.unionBy=gr.unionBy,at.unionWith=gr.unionWith,at.uniq=gr.uniq,at.uniqBy=gr.uniqBy,at.uniqWith=gr.uniqWith,at.unset=ii.unset,at.unzip=gr.unzip,at.unzipWith=gr.unzipWith,at.update=ii.update,at.updateWith=ii.updateWith,at.values=ii.values,at.valuesIn=ii.valuesIn,at.without=gr.without,at.words=Pi.words,at.wrap=Ho.wrap,at.xor=gr.xor,at.xorBy=gr.xorBy,at.xorWith=gr.xorWith,at.zip=gr.zip,at.zipObject=gr.zipObject,at.zipObjectDeep=gr.zipObjectDeep,at.zipWith=gr.zipWith,at.entries=ii.toPairs,at.entriesIn=ii.toPairsIn,at.extend=ii.assignIn,at.extendWith=ii.assignInWith,Db(at,at),at.add=As.add,at.attempt=Hi.attempt,at.camelCase=Pi.camelCase,at.capitalize=Pi.capitalize,at.ceil=As.ceil,at.clamp=Mb.clamp,at.clone=Or.clone,at.cloneDeep=Or.cloneDeep,at.cloneDeepWith=Or.cloneDeepWith,at.cloneWith=Or.cloneWith,at.conformsTo=Or.conformsTo,at.deburr=Pi.deburr,at.defaultTo=Hi.defaultTo,at.divide=As.divide,at.endsWith=Pi.endsWith,at.eq=Or.eq,at.escape=Pi.escape,at.escapeRegExp=Pi.escapeRegExp,at.every=Ui.every,at.find=Ui.find,at.findIndex=gr.findIndex,at.findKey=ii.findKey,at.findLast=Ui.findLast,at.findLastIndex=gr.findLastIndex,at.findLastKey=ii.findLastKey,at.floor=As.floor,at.forEach=Ui.forEach,at.forEachRight=Ui.forEachRight,at.forIn=ii.forIn,at.forInRight=ii.forInRight,at.forOwn=ii.forOwn,at.forOwnRight=ii.forOwnRight,at.get=ii.get,at.gt=Or.gt,at.gte=Or.gte,at.has=ii.has,at.hasIn=ii.hasIn,at.head=gr.head,at.identity=lt,at.includes=Ui.includes,at.indexOf=gr.indexOf,at.inRange=Mb.inRange,at.invoke=ii.invoke,at.isArguments=Or.isArguments,at.isArray=Y,at.isArrayBuffer=Or.isArrayBuffer,at.isArrayLike=Or.isArrayLike,at.isArrayLikeObject=Or.isArrayLikeObject,at.isBoolean=Or.isBoolean,at.isBuffer=Or.isBuffer,at.isDate=Or.isDate,at.isElement=Or.isElement,at.isEmpty=Or.isEmpty,at.isEqual=Or.isEqual,at.isEqualWith=Or.isEqualWith,at.isError=Or.isError,at.isFinite=Or.isFinite,at.isFunction=Or.isFunction,at.isInteger=Or.isInteger,at.isLength=Or.isLength,at.isMap=Or.isMap,at.isMatch=Or.isMatch,at.isMatchWith=Or.isMatchWith,at.isNaN=Or.isNaN,at.isNative=Or.isNative,at.isNil=Or.isNil,at.isNull=Or.isNull,at.isNumber=Or.isNumber,at.isObject=mt,at.isObjectLike=Or.isObjectLike,at.isPlainObject=Or.isPlainObject,at.isRegExp=Or.isRegExp,at.isSafeInteger=Or.isSafeInteger,at.isSet=Or.isSet,at.isString=Or.isString,at.isSymbol=Or.isSymbol,at.isTypedArray=Or.isTypedArray,at.isUndefined=Or.isUndefined,at.isWeakMap=Or.isWeakMap,at.isWeakSet=Or.isWeakSet,at.join=gr.join,at.kebabCase=Pi.kebabCase,at.last=Os,at.lastIndexOf=gr.lastIndexOf,at.lowerCase=Pi.lowerCase,at.lowerFirst=Pi.lowerFirst,at.lt=Or.lt,at.lte=Or.lte,at.max=As.max,at.maxBy=As.maxBy,at.mean=As.mean,at.meanBy=As.meanBy,at.min=As.min,at.minBy=As.minBy,at.stubArray=Hi.stubArray,at.stubFalse=Hi.stubFalse,at.stubObject=Hi.stubObject,at.stubString=Hi.stubString,at.stubTrue=Hi.stubTrue,at.multiply=As.multiply,at.nth=gr.nth,at.noop=Hi.noop,at.now=rk.now,at.pad=Pi.pad,at.padEnd=Pi.padEnd,at.padStart=Pi.padStart,at.parseInt=Pi.parseInt,at.random=Mb.random,at.reduce=Ui.reduce,at.reduceRight=Ui.reduceRight,at.repeat=Pi.repeat,at.replace=Pi.replace,at.result=ii.result,at.round=As.round,at.sample=Ui.sample,at.size=Ui.size,at.snakeCase=Pi.snakeCase,at.some=Ui.some,at.sortedIndex=gr.sortedIndex,at.sortedIndexBy=gr.sortedIndexBy,at.sortedIndexOf=gr.sortedIndexOf,at.sortedLastIndex=gr.sortedLastIndex,at.sortedLastIndexBy=gr.sortedLastIndexBy,at.sortedLastIndexOf=gr.sortedLastIndexOf,at.startCase=Pi.startCase,at.startsWith=Pi.startsWith,at.subtract=As.subtract,at.sum=As.sum,at.sumBy=As.sumBy,at.template=Pi.template,at.times=Hi.times,at.toFinite=Or.toFinite,at.toInteger=Ue,at.toLength=Or.toLength,at.toLower=Pi.toLower,at.toNumber=Or.toNumber,at.toSafeInteger=Or.toSafeInteger,at.toString=Or.toString,at.toUpper=Pi.toUpper,at.trim=Pi.trim,at.trimEnd=Pi.trimEnd,at.trimStart=Pi.trimStart,at.truncate=Pi.truncate,at.unescape=Pi.unescape,at.uniqueId=Hi.uniqueId,at.upperCase=Pi.upperCase,at.upperFirst=Pi.upperFirst,at.each=Ui.forEach,at.eachRight=Ui.forEachRight,at.first=gr.head,Db(at,function(){var w={};return va(at,function(P,Q){wb.call(at.prototype,Q)||(w[Q]=P)}),w}(),{chain:!1}),at.VERSION="4.17.21",(at.templateSettings=Pi.templateSettings).imports._=at,ei(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){at[w].placeholder=at}),ei(["drop","take"],function(w,P){ue.prototype[w]=function(Q){Q=void 0===Q?1:ak(Ue(Q),0);var we=this.__filtered__&&!P?new ue(this):this.clone();return we.__filtered__?we.__takeCount__=_P(Q,we.__takeCount__):we.__views__.push({size:_P(Q,Rd),type:w+(we.__dir__<0?"Right":"")}),we},ue.prototype[w+"Right"]=function(Q){return this.reverse()[w](Q).reverse()}}),ei(["filter","map","takeWhile"],function(w,P){var Q=P+1,we=1==Q||3==Q;ue.prototype[w]=function(Ge){var yt=this.clone();return yt.__iteratees__.push({iteratee:ci(Ge),type:Q}),yt.__filtered__=yt.__filtered__||we,yt}}),ei(["head","last"],function(w,P){var Q="take"+(P?"Right":"");ue.prototype[w]=function(){return this[Q](1).value()[0]}}),ei(["initial","tail"],function(w,P){var Q="drop"+(P?"":"Right");ue.prototype[w]=function(){return this.__filtered__?new ue(this):this[Q](1)}}),ue.prototype.compact=function(){return this.filter(lt)},ue.prototype.find=function(w){return this.filter(w).head()},ue.prototype.findLast=function(w){return this.reverse().find(w)},ue.prototype.invokeMap=Z(function(w,P){return"function"==typeof w?new ue(this):this.map(function(Q){return _d(Q,w,P)})}),ue.prototype.reject=function(w){return this.filter(Vl(ci(w)))},ue.prototype.slice=function(w,P){w=Ue(w);var Q=this;return Q.__filtered__&&(w>0||P<0)?new ue(Q):(w<0?Q=Q.takeRight(-w):w&&(Q=Q.drop(w)),void 0!==P&&(Q=(P=Ue(P))<0?Q.dropRight(-P):Q.take(P-w)),Q)},ue.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},ue.prototype.toArray=function(){return this.take(Rd)},va(ue.prototype,function(w,P){var Q=/^(?:filter|find|map|reject)|While$/.test(P),we=/^(?:head|last)$/.test(P),Ge=at[we?"take"+("last"==P?"Right":""):P],yt=we||/^find/.test(P);Ge&&(at.prototype[P]=function(){var Lt=this.__wrapped__,Wt=we?[1]:arguments,on=Lt instanceof ue,xn=Wt[0],On=on||Y(Lt),Bn=function(Ci){var Ai=Ge.apply(at,xs([Ci],Wt));return we&&or?Ai[0]:Ai};On&&Q&&"function"==typeof xn&&1!=xn.length&&(on=On=!1);var or=this.__chain__,Br=yt&&!or,fi=on&&!this.__actions__.length;if(!yt&&On){Lt=fi?Lt:new ue(this);var Lr=w.apply(Lt,Wt);return Lr.__actions__.push({func:hu,args:[Bn],thisArg:void 0}),new yn(Lr,or)}return Br&&fi?w.apply(this,Wt):(Lr=this.thru(Bn),Br?we?Lr.value()[0]:Lr.value():Lr)})}),ei(["pop","push","shift","sort","splice","unshift"],function(w){var P=Fd[w],Q=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",we=/^(?:pop|shift)$/.test(w);at.prototype[w]=function(){var Ge=arguments;if(we&&!this.__chain__){var yt=this.value();return P.apply(Y(yt)?yt:[],Ge)}return this[Q](function(Lt){return P.apply(Y(Lt)?Lt:[],Ge)})}}),va(ue.prototype,function(w,P){var Q=at[P];if(Q){var we=Q.name+"";wb.call(_t,we)||(_t[we]=[]),_t[we].push({name:P,func:Q})}}),_t[Ti(void 0,2).name]=[{name:"wrapper",func:void 0}],ue.prototype.clone=function Dg(){var w=new ue(this.__wrapped__);return w.__actions__=Gt(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=Gt(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=Gt(this.__views__),w},ue.prototype.reverse=function ik(){if(this.__filtered__){var w=new ue(this);w.__dir__=-1,w.__filtered__=!0}else(w=this.clone()).__dir__*=-1;return w},ue.prototype.value=function Vw(){var w=this.__wrapped__.value(),P=this.__dir__,Q=Y(w),we=P<0,Ge=Q?w.length:0,yt=function Eb(w,P,Q){for(var we=-1,Ge=Q.length;++we{"use strict";o.r(f),o.d(f,{PdfViewerComponent:()=>X,PdfViewerModule:()=>ce,RenderTextMode:()=>q});var n=o(54496),i=o(70800),d=o(95657),u=o(74496),a=o(53616),e=o(46928);class c extends e.wH{constructor(ne,Y){super()}schedule(ne,Y=0){return this}}const l={setInterval(K,ne,...Y){const{delegate:H}=l;return H?.setInterval?H.setInterval(K,ne,...Y):setInterval(K,ne,...Y)},clearInterval(K){const{delegate:ne}=l;return(ne?.clearInterval||clearInterval)(K)},delegate:void 0};var g=o(41248),_=o(35960);class S{constructor(ne,Y=S.now){this.schedulerActionCtor=ne,this.now=Y}schedule(ne,Y=0,H){return new this.schedulerActionCtor(this,ne).schedule(H,Y)}}S.now=_.K.now;const m=new class y extends S{constructor(ne,Y=S.now){super(ne,Y),this.actions=[],this._active=!1}flush(ne){const{actions:Y}=this;if(this._active)return void Y.push(ne);let H;this._active=!0;do{if(H=ne.execute(ne.state,ne.delay))break}while(ne=Y.shift());if(this._active=!1,H){for(;ne=Y.shift();)ne.unsubscribe();throw H}}}(class b extends c{constructor(ne,Y){super(ne,Y),this.scheduler=ne,this.work=Y,this.pending=!1}schedule(ne,Y=0){var H;if(this.closed)return this;this.state=ne;const ae=this.id,re=this.scheduler;return null!=ae&&(this.id=this.recycleAsyncId(re,ae,Y)),this.pending=!0,this.delay=Y,this.id=null!==(H=this.id)&&void 0!==H?H:this.requestAsyncId(re,this.id,Y),this}requestAsyncId(ne,Y,H=0){return l.setInterval(ne.flush.bind(ne,this),H)}recycleAsyncId(ne,Y,H=0){if(null!=H&&this.delay===H&&!1===this.pending)return Y;null!=Y&&l.clearInterval(Y)}execute(ne,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const H=this._execute(ne,Y);if(H)return H;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ne,Y){let ae,H=!1;try{this.work(ne)}catch(re){H=!0,ae=re||new Error("Scheduled action threw falsy error")}if(H)return this.unsubscribe(),ae}unsubscribe(){if(!this.closed){const{id:ne,scheduler:Y}=this,{actions:H}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.k)(H,this),null!=ne&&(this.id=this.recycleAsyncId(Y,ne,null)),this.delay=null,super.unsubscribe()}}});var C=o(95448),v=o(87773),E=o(66684),A=o(35584),T=o.t(A,2),R=o(6472),N=o.t(R,2);const I=["pdfViewerContainer"];function z(K,ne,Y){K[ne]=Y}function F(){return typeof window>"u"}F()||z(T,"verbosity",A.VerbosityLevel.INFOS);var q=function(K){return K[K.DISABLED=0]="DISABLED",K[K.ENABLED=1]="ENABLED",K[K.ENHANCED=2]="ENHANCED",K}(q||{});let X=(()=>{class K{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof T<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/cmaps/`:null;_imageResourcesPath=typeof T<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/web/images/`:void 0;_renderText=!0;_renderTextMode=q.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;resizeTimeout=null;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new d.E;afterLoadComplete=new n.EventEmitter;pageRendered=new n.EventEmitter;pageInitialized=new n.EventEmitter;textLayerRendered=new n.EventEmitter;onError=new n.EventEmitter;onProgress=new n.EventEmitter;pageChange=new n.EventEmitter(!0);src;set cMapsUrl(Y){this._cMapsUrl=Y}set page(Y){const H=Y=parseInt(Y,10)||1;this._pdf&&(Y=this.getValidPageNumber(Y)),this._page=Y,H!==Y&&this.pageChange.emit(Y)}set renderText(Y){this._renderText=Y}set renderTextMode(Y){this._renderTextMode=Y}set originalSize(Y){this._originalSize=Y}set showAll(Y){this._showAll=Y}set stickToPage(Y){this._stickToPage=Y}set zoom(Y){Y<=0||(this._zoom=Y)}get zoom(){return this._zoom}set zoomScale(Y){this._zoomScale=Y}get zoomScale(){return this._zoomScale}set rotation(Y){"number"==typeof Y&&Y%90==0?this._rotation=Y:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(Y){this._externalLinkTarget=Y}set autoresize(Y){this._canAutoResize=!!Y}set fitToPage(Y){this._fitToPage=!!Y}set showBorders(Y){this._showBorders=!!Y}static getLinkTarget(Y){switch(Y){case"blank":return R.LinkTarget.BLANK;case"none":return R.LinkTarget.NONE;case"self":return R.LinkTarget.SELF;case"parent":return R.LinkTarget.PARENT;case"top":return R.LinkTarget.TOP}return null}constructor(Y,H){if(this.element=Y,this.ngZone=H,F())return;let ae;const re=A.version;ae=window[`pdfWorkerSrc${re}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${re}/legacy/build/pdf.worker.min.js`),z(A.GlobalWorkerOptions,"workerSrc",ae)}ngAfterViewChecked(){if(this.isInitialized)return;const Y=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=Y?!1===this.isVisible&&null!=Y&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(Y){if(!F()&&this.isVisible)if("src"in Y)this.loadPDF();else if(this._pdf){if("renderText"in Y?(this.pdfViewer.textLayerMode=this._renderText?this._renderTextMode:q.DISABLED,this.resetPdfDocument()):"showAll"in Y&&(this.setupViewer(),this.resetPdfDocument()),"page"in Y){const{page:H}=Y;if(H.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,u.Q)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,a.a)(this.destroy$)).subscribe({next:Y=>{const H=this._rotation+Y.rotate,ae=Y.getViewport({scale:this._zoom,rotation:H}).width*K.CSS_UNITS;let re=this._zoom,W=!0;if(!this._originalSize||this._fitToPage&&ae>this.pdfViewerContainer.nativeElement.clientWidth){const ee=Y.getViewport({scale:1,rotation:H});re=this.getScale(ee.width,ee.height),W=!this._stickToPage}this.pdfViewer._setScale(re,W)}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const Y=K.getLinkTarget(this._externalLinkTarget);return Y?{externalLinkTarget:Y}:{}}initEventBus(){this.eventBus=function L(K,ne){const Y=new K.EventBus;return function O(K,ne){(0,i.w)(K,"documentload").pipe((0,a.a)(ne)).subscribe(()=>{const Y=document.createEvent("CustomEvent");Y.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(Y)}),(0,i.w)(K,"pagerendered").pipe((0,a.a)(ne)).subscribe(({pageNumber:Y,cssTransform:H,source:ae})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagerendered",!0,!0,{pageNumber:Y,cssTransform:H}),ae.div.dispatchEvent(re)}),(0,i.w)(K,"textlayerrendered").pipe((0,a.a)(ne)).subscribe(({pageNumber:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:Y}),H.textLayerDiv.dispatchEvent(ae)}),(0,i.w)(K,"pagechanging").pipe((0,a.a)(ne)).subscribe(({pageNumber:Y,source:H})=>{const ae=document.createEvent("UIEvents");ae.initEvent("pagechanging",!0,!0),ae.pageNumber=Y,H.container.dispatchEvent(ae)}),(0,i.w)(K,"pagesinit").pipe((0,a.a)(ne)).subscribe(({source:Y})=>{const H=document.createEvent("CustomEvent");H.initCustomEvent("pagesinit",!0,!0,null),Y.container.dispatchEvent(H)}),(0,i.w)(K,"pagesloaded").pipe((0,a.a)(ne)).subscribe(({pagesCount:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("pagesloaded",!0,!0,{pagesCount:Y}),H.container.dispatchEvent(ae)}),(0,i.w)(K,"scalechange").pipe((0,a.a)(ne)).subscribe(({scale:Y,presetValue:H,source:ae})=>{const re=document.createEvent("UIEvents");re.initEvent("scalechange",!0,!0),re.scale=Y,re.presetValue=H,ae.container.dispatchEvent(re)}),(0,i.w)(K,"updateviewarea").pipe((0,a.a)(ne)).subscribe(({location:Y,source:H})=>{const ae=document.createEvent("UIEvents");ae.initEvent("updateviewarea",!0,!0),ae.location=Y,H.container.dispatchEvent(ae)}),(0,i.w)(K,"find").pipe((0,a.a)(ne)).subscribe(({source:Y,type:H,query:ae,phraseSearch:re,caseSensitive:W,highlightAll:ee,findPrevious:J})=>{if(Y===window)return;const G=document.createEvent("CustomEvent");G.initCustomEvent("find"+H,!0,!0,{query:ae,phraseSearch:re,caseSensitive:W,highlightAll:ee,findPrevious:J}),window.dispatchEvent(G)}),(0,i.w)(K,"attachmentsloaded").pipe((0,a.a)(ne)).subscribe(({attachmentsCount:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:Y}),H.container.dispatchEvent(ae)}),(0,i.w)(K,"sidebarviewchanged").pipe((0,a.a)(ne)).subscribe(({view:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("sidebarviewchanged",!0,!0,{view:Y}),H.outerContainer.dispatchEvent(ae)}),(0,i.w)(K,"pagemode").pipe((0,a.a)(ne)).subscribe(({mode:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("pagemode",!0,!0,{mode:Y}),H.pdfViewer.container.dispatchEvent(ae)}),(0,i.w)(K,"namedaction").pipe((0,a.a)(ne)).subscribe(({action:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("namedaction",!0,!0,{action:Y}),H.pdfViewer.container.dispatchEvent(ae)}),(0,i.w)(K,"presentationmodechanged").pipe((0,a.a)(ne)).subscribe(({active:Y,switchInProgress:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("presentationmodechanged",!0,!0,{active:Y,switchInProgress:H}),window.dispatchEvent(ae)}),(0,i.w)(K,"outlineloaded").pipe((0,a.a)(ne)).subscribe(({outlineCount:Y,source:H})=>{const ae=document.createEvent("CustomEvent");ae.initCustomEvent("outlineloaded",!0,!0,{outlineCount:Y}),H.container.dispatchEvent(ae)})}(Y,ne),Y}(N,this.destroy$),(0,i.w)(this.eventBus,"pagerendered").pipe((0,a.a)(this.destroy$)).subscribe(Y=>{this.pageRendered.emit(Y)}),(0,i.w)(this.eventBus,"pagesinit").pipe((0,a.a)(this.destroy$)).subscribe(Y=>{this.pageInitialized.emit(Y)}),(0,i.w)(this.eventBus,"pagechanging").pipe((0,a.a)(this.destroy$)).subscribe(({pageNumber:Y})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=Y,this.pageChange.emit(Y)},100)}),(0,i.w)(this.eventBus,"textlayerrendered").pipe((0,a.a)(this.destroy$)).subscribe(Y=>{this.textLayerRendered.emit(Y)})}initPDFServices(){this.pdfLinkService=new R.PDFLinkService({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new R.PDFFindController({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:q.DISABLED,findController:this.pdfFindController,l10n:new R.GenericL10n("en"),imageResourcesPath:this._imageResourcesPath}}setupViewer(){z(T,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new R.PDFViewer(this.getPDFOptions()):new R.PDFSinglePageViewer(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(Y){return Y<1?1:Y>this._pdf.numPages?this._pdf.numPages:Y}getDocumentParams(){const Y=typeof this.src;if(!this._cMapsUrl)return this.src;const H={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0};return"string"===Y?H.url=this.src:"object"===Y&&(void 0!==this.src.byteLength?H.data=this.src:Object.assign(H,this.src)),H}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=A.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=H=>{this.onProgress.emit(H)};const Y=this.src;(0,u.Q)(this.loadingTask.promise).pipe((0,a.a)(this.destroy$)).subscribe({next:H=>{this._pdf=H,this.lastLoaded=Y,this.afterLoadComplete.emit(H),this.resetPdfDocument(),this.update()},error:H=>{this.lastLoaded=null,this.onError.emit(H)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(Y,H){const ae=this._showBorders?2*K.BORDER_WIDTH:0,re=this.pdfViewerContainer.nativeElement.clientWidth-ae,W=this.pdfViewerContainer.nativeElement.clientHeight-ae;if(0===W||0===H||0===re||0===Y)return 1;let ee=1;switch(this._zoomScale){case"page-fit":ee=Math.min(W/H,re/Y);break;case"page-height":ee=W/H;break;default:ee=re/Y}return this._zoom*ee/K.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){F()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){F()||this.ngZone.runOutsideAngular(()=>{(0,i.w)(window,"resize").pipe(function M(K,ne=m){return(0,C.i)((Y,H)=>{let ae=null,re=null,W=null;const ee=()=>{if(ae){ae.unsubscribe(),ae=null;const G=re;re=null,H.next(G)}};function J(){const G=W+K,de=ne.now();if(de{re=G,W=ne.now(),ae||(ae=ne.schedule(J,K),H.add(ae))},()=>{ee(),H.complete()},void 0,()=>{re=ae=null}))})}(100),(0,E.I)(()=>this._canAutoResize&&!!this._pdf),(0,a.a)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(H){return new(H||K)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:K,selectors:[["pdf-viewer"]],viewQuery:function(H,ae){if(1&H&&n.\u0275\u0275viewQuery(I,5),2&H){let re;n.\u0275\u0275queryRefresh(re=n.\u0275\u0275loadQuery())&&(ae.pdfViewerContainer=re.first)}},inputs:{src:"src",cMapsUrl:[n.\u0275\u0275InputFlags.None,"c-maps-url","cMapsUrl"],page:"page",renderText:[n.\u0275\u0275InputFlags.None,"render-text","renderText"],renderTextMode:[n.\u0275\u0275InputFlags.None,"render-text-mode","renderTextMode"],originalSize:[n.\u0275\u0275InputFlags.None,"original-size","originalSize"],showAll:[n.\u0275\u0275InputFlags.None,"show-all","showAll"],stickToPage:[n.\u0275\u0275InputFlags.None,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[n.\u0275\u0275InputFlags.None,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[n.\u0275\u0275InputFlags.None,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[n.\u0275\u0275InputFlags.None,"fit-to-page","fitToPage"],showBorders:[n.\u0275\u0275InputFlags.None,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[n.\u0275\u0275NgOnChangesFeature],decls:3,vars:0,consts:[[1,"ng2-pdf-viewer-container"],["pdfViewerContainer",""],[1,"pdfViewer"]],template:function(H,ae){1&H&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2),n.\u0275\u0275elementEnd())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%] {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%] {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%] .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%] .textLayer span, [_nghost-%COMP%] .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%] .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.appended{position:initial}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .textLayer br::selection{background:transparent}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%] .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%] .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%] .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .freeTextAnnotation, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .caretAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%] .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%] .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%] .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%] .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%] .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%] .xfaContentarea{position:absolute}[_nghost-%COMP%] .xfaPrintOnly{display:none}[_nghost-%COMP%] .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%] .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%] .xfaLayer div{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%] .xfaLayer a{color:#00f}[_nghost-%COMP%] .xfaRich li{margin-left:3em}[_nghost-%COMP%] .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%] .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%] .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%] .xfaLabel{height:100%;width:100%}[_nghost-%COMP%] .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%] .xfaLeft>.xfaCaption, [_nghost-%COMP%] .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaRight>.xfaCaption, [_nghost-%COMP%] .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%] .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%] .xfaTop>.xfaCaption, [_nghost-%COMP%] .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaBottom>.xfaCaption, [_nghost-%COMP%] .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%] .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%] .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%] .xfaTextfield:focus, [_nghost-%COMP%] .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%] .xfaCheckbox:focus, [_nghost-%COMP%] .xfaRadio:focus{outline:auto}[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%] .xfaTop>.xfaTextfield, [_nghost-%COMP%] .xfaTop>.xfaSelect, [_nghost-%COMP%] .xfaBottom>.xfaTextfield, [_nghost-%COMP%] .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%] .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%] .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%] .xfaCheckbox, [_nghost-%COMP%] .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%] .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%] .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .xfaLrTb, [_nghost-%COMP%] .xfaRlTb, [_nghost-%COMP%] .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%] .xfaTb>div{justify-content:left}[_nghost-%COMP%] .xfaPosition{position:relative}[_nghost-%COMP%] .xfaArea{position:relative}[_nghost-%COMP%] .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%] .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%] .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%] .xfaNonInteractive input, [_nghost-%COMP%] .xfaNonInteractive textarea, [_nghost-%COMP%] .xfaDisabled input, [_nghost-%COMP%] .xfaDisabled textarea, [_nghost-%COMP%] .xfaReadOnly input, [_nghost-%COMP%] .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{background:transparent}[_nghost-%COMP%] .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%] [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%] [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%] [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%] .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%] .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%] .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%] .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%] .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%] [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%] [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%] [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%] .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%] .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped, [_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .spread .dummyPage, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%] .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%] .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%] .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return K})(),ce=(()=>{class K{static \u0275fac=function(H){return new(H||K)};static \u0275mod=n.\u0275\u0275defineNgModule({type:K});static \u0275inj=n.\u0275\u0275defineInjector({})}return K})()},1528:(ve,f,o)=>{"use strict";function n(d,u,a,e,c,l,g){try{var b=d[l](g),_=b.value}catch(S){return void a(S)}b.done?u(_):Promise.resolve(_).then(e,c)}function i(d){return function(){var u=this,a=arguments;return new Promise(function(e,c){var l=d.apply(u,a);function g(_){n(l,e,c,g,b,"next",_)}function b(_){n(l,e,c,g,b,"throw",_)}g(void 0)})}}o.d(f,{c:()=>i})},81316:(ve,f,o)=>{"use strict";o.r(f),o.d(f,{__addDisposableResource:()=>K,__assign:()=>d,__asyncDelegator:()=>N,__asyncGenerator:()=>R,__asyncValues:()=>I,__await:()=>T,__awaiter:()=>S,__classPrivateFieldGet:()=>q,__classPrivateFieldIn:()=>ce,__classPrivateFieldSet:()=>X,__createBinding:()=>m,__decorate:()=>a,__disposeResources:()=>Y,__esDecorate:()=>c,__exportStar:()=>h,__extends:()=>i,__generator:()=>y,__importDefault:()=>F,__importStar:()=>z,__makeTemplateObject:()=>L,__metadata:()=>_,__param:()=>e,__propKey:()=>g,__read:()=>v,__rest:()=>u,__runInitializers:()=>l,__setFunctionName:()=>b,__spread:()=>M,__spreadArray:()=>A,__spreadArrays:()=>E,__values:()=>C,default:()=>H});var n=function(ae,re){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,ee){W.__proto__=ee}||function(W,ee){for(var J in ee)Object.prototype.hasOwnProperty.call(ee,J)&&(W[J]=ee[J])})(ae,re)};function i(ae,re){if("function"!=typeof re&&null!==re)throw new TypeError("Class extends value "+String(re)+" is not a constructor or null");function W(){this.constructor=ae}n(ae,re),ae.prototype=null===re?Object.create(re):(W.prototype=re.prototype,new W)}var d=function(){return d=Object.assign||function(re){for(var W,ee=1,J=arguments.length;ee=0;be--)(de=ae[be])&&(G=(J<3?de(G):J>3?de(re,W,G):de(re,W))||G);return J>3&&G&&Object.defineProperty(re,W,G),G}function e(ae,re){return function(W,ee){re(W,ee,ae)}}function c(ae,re,W,ee,J,G){function de(ft){if(void 0!==ft&&"function"!=typeof ft)throw new TypeError("Function expected");return ft}for(var Me,be=ee.kind,Ae="getter"===be?"get":"setter"===be?"set":"value",ye=!re&&ae?ee.static?ae:ae.prototype:null,le=re||(ye?Object.getOwnPropertyDescriptor(ye,ee.name):{}),$e=!1,qe=W.length-1;qe>=0;qe--){var tt={};for(var mt in ee)tt[mt]="access"===mt?{}:ee[mt];for(var mt in ee.access)tt.access[mt]=ee.access[mt];tt.addInitializer=function(ft){if($e)throw new TypeError("Cannot add initializers after decoration has completed");G.push(de(ft||null))};var st=(0,W[qe])("accessor"===be?{get:le.get,set:le.set}:le[Ae],tt);if("accessor"===be){if(void 0===st)continue;if(null===st||"object"!=typeof st)throw new TypeError("Object expected");(Me=de(st.get))&&(le.get=Me),(Me=de(st.set))&&(le.set=Me),(Me=de(st.init))&&J.unshift(Me)}else(Me=de(st))&&("field"===be?J.unshift(Me):le[Ae]=Me)}ye&&Object.defineProperty(ye,ee.name,le),$e=!0}function l(ae,re,W){for(var ee=arguments.length>2,J=0;J0&&G[G.length-1])&&(6===ye[0]||2===ye[0])){W=0;continue}if(3===ye[0]&&(!G||ye[1]>G[0]&&ye[1]=ae.length&&(ae=void 0),{value:ae&&ae[ee++],done:!ae}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(ae,re){var W="function"==typeof Symbol&&ae[Symbol.iterator];if(!W)return ae;var J,de,ee=W.call(ae),G=[];try{for(;(void 0===re||re-- >0)&&!(J=ee.next()).done;)G.push(J.value)}catch(be){de={error:be}}finally{try{J&&!J.done&&(W=ee.return)&&W.call(ee)}finally{if(de)throw de.error}}return G}function M(){for(var ae=[],re=0;re1||be($e,qe)})})}function be($e,qe){try{!function Ae($e){$e.value instanceof T?Promise.resolve($e.value.v).then(ye,le):Me(G[0][2],$e)}(ee[$e](qe))}catch(tt){Me(G[0][3],tt)}}function ye($e){be("next",$e)}function le($e){be("throw",$e)}function Me($e,qe){$e(qe),G.shift(),G.length&&be(G[0][0],G[0][1])}}function N(ae){var re,W;return re={},ee("next"),ee("throw",function(J){throw J}),ee("return"),re[Symbol.iterator]=function(){return this},re;function ee(J,G){re[J]=ae[J]?function(de){return(W=!W)?{value:T(ae[J](de)),done:!1}:G?G(de):de}:G}}function I(ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W,re=ae[Symbol.asyncIterator];return re?re.call(ae):(ae=C(ae),W={},ee("next"),ee("throw"),ee("return"),W[Symbol.asyncIterator]=function(){return this},W);function ee(G){W[G]=ae[G]&&function(de){return new Promise(function(be,Ae){!function J(G,de,be,Ae){Promise.resolve(Ae).then(function(ye){G({value:ye,done:be})},de)}(be,Ae,(de=ae[G](de)).done,de.value)})}}}function L(ae,re){return Object.defineProperty?Object.defineProperty(ae,"raw",{value:re}):ae.raw=re,ae}var O=Object.create?function(ae,re){Object.defineProperty(ae,"default",{enumerable:!0,value:re})}:function(ae,re){ae.default=re};function z(ae){if(ae&&ae.__esModule)return ae;var re={};if(null!=ae)for(var W in ae)"default"!==W&&Object.prototype.hasOwnProperty.call(ae,W)&&m(re,ae,W);return O(re,ae),re}function F(ae){return ae&&ae.__esModule?ae:{default:ae}}function q(ae,re,W,ee){if("a"===W&&!ee)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?ae!==re||!ee:!re.has(ae))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===W?ee:"a"===W?ee.call(ae):ee?ee.value:re.get(ae)}function X(ae,re,W,ee,J){if("m"===ee)throw new TypeError("Private method is not writable");if("a"===ee&&!J)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof re?ae!==re||!J:!re.has(ae))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ee?J.call(ae,W):J?J.value=W:re.set(ae,W),W}function ce(ae,re){if(null===re||"object"!=typeof re&&"function"!=typeof re)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof ae?re===ae:ae.has(re)}function K(ae,re,W){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ee;if(W){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ee=re[Symbol.asyncDispose]}if(void 0===ee){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ee=re[Symbol.dispose]}if("function"!=typeof ee)throw new TypeError("Object not disposable.");ae.stack.push({value:re,dispose:ee,async:W})}else W&&ae.stack.push({async:!0});return re}var ne="function"==typeof SuppressedError?SuppressedError:function(ae,re,W){var ee=new Error(W);return ee.name="SuppressedError",ee.error=ae,ee.suppressed=re,ee};function Y(ae){function re(ee){ae.error=ae.hasError?new ne(ee,ae.error,"An error was suppressed during disposal."):ee,ae.hasError=!0}return function W(){for(;ae.stack.length;){var ee=ae.stack.pop();try{var J=ee.dispose&&ee.dispose.call(ee.value);if(ee.async)return Promise.resolve(J).then(W,function(G){return re(G),W()})}catch(G){re(G)}}if(ae.hasError)throw ae.error}()}const H={__extends:i,__assign:d,__rest:u,__decorate:a,__param:e,__metadata:_,__awaiter:S,__generator:y,__createBinding:m,__exportStar:h,__values:C,__read:v,__spread:M,__spreadArrays:E,__spreadArray:A,__await:T,__asyncGenerator:R,__asyncDelegator:N,__asyncValues:I,__makeTemplateObject:L,__importStar:z,__importDefault:F,__classPrivateFieldGet:q,__classPrivateFieldSet:X,__classPrivateFieldIn:ce,__addDisposableResource:K,__disposeResources:Y}}},ve=>{ve(ve.s=27460)}]); \ No newline at end of file diff --git a/www/scripts.cdd3589265c26414.js b/www/scripts.cdd3589265c26414.js deleted file mode 100644 index a03576ed..00000000 --- a/www/scripts.cdd3589265c26414.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var Af=function(t){if(null===t)return"null";if(void 0===t)return"undefined";var e=typeof t;return"object"===e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"===e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e},is=function(t){return{eq:t}},zE=is(function(t,e){return t===e}),Tf=function(t){return is(function(e,n){if(e.length!==n.length)return!1;for(var o=e.length,r=0;r{var o;return!!n(t,e.prototype)||(null===(o=t.constructor)||void 0===o?void 0:o.name)===e.name},Ql=t=>e=>(n=>{const o=typeof n;return null===n?"null":"object"===o&&Array.isArray(n)?"array":"object"===o&&Bf(n,String,(r,s)=>s.isPrototypeOf(r))?"string":o})(e)===t,Jl=t=>e=>typeof e===t,Pf=t=>e=>t===e,Ha=(t,e)=>we(t)&&Bf(t,e,(n,o)=>jE(n)===o),at=Ql("string"),we=Ql("object"),Df=t=>Ha(t,Object),Jt=Ql("array"),Se=Pf(null),_o=Jl("boolean"),fe=Pf(void 0),Gt=t=>null==t,q=t=>!Gt(t),Nt=Jl("function"),fn=Jl("number"),pr=(t,e)=>{if(Jt(t)){for(let n=0,o=t.length;n{},En=(t,e)=>(...n)=>t(e.apply(null,n)),Lf=(t,e)=>n=>t(e(n)),W=t=>()=>t,Ne=t=>t,Mf=(t,e)=>t===e;function J(t,...e){return(...n)=>{const o=e.concat(n);return t.apply(null,o)}}const ls=t=>e=>!t(e),If=t=>()=>{throw new Error(t)},Zl=t=>t(),ds=t=>{t()},zt=W(!1),Kt=W(!0);class C{constructor(e,n){this.tag=e,this.value=n}static some(e){return new C(!0,e)}static none(){return C.singletonNone}fold(e,n){return this.tag?n(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?C.some(e(this.value)):C.none()}bind(e){return this.tag?e(this.value):C.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:C.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return q(e)?C.some(e):C.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}C.singletonNone=new C(!1);const td=Array.prototype.slice,HE=Array.prototype.indexOf,$E=Array.prototype.push,Ff=(t,e)=>HE.call(t,e),Rt=(t,e)=>Ff(t,e)>-1,$t=(t,e)=>{for(let n=0,o=t.length;n{const n=t.length,o=new Array(n);for(let r=0;r{for(let n=0,o=t.length;n{for(let n=t.length-1;n>=0;n--)e(t[n],n)},hr=(t,e)=>{const n=[],o=[];for(let r=0,s=t.length;r{const n=[];for(let o=0,r=t.length;o(Uf(t,(o,r)=>{n=e(n,o,r)}),n),Oe=(t,e,n)=>(U(t,(o,r)=>{n=e(n,o,r)}),n),zf=(t,e,n)=>{for(let o=0,r=t.length;ozf(t,e,zt),us=(t,e)=>{for(let n=0,o=t.length;n{const e=[];for(let n=0,o=t.length;njf(Et(t,e)),oo=(t,e)=>{for(let n=0,o=t.length;n{const e=td.call(t,0);return e.reverse(),e},$a=(t,e)=>gt(t,n=>!Rt(e,n)),ed=(t,e)=>{const n={};for(let o=0,r=t.length;o{const n=td.call(t,0);return n.sort(e),n},qa=(t,e)=>e>=0&&eqa(t,0),So=t=>qa(t,t.length-1),Ie=Nt(Array.from)?Array.from:t=>td.call(t),br=(t,e)=>{for(let n=0;n{const n=Pe(t);for(let o=0,r=n.length;oVE(t,(n,o)=>({k:o,v:e(n,o)})),VE=(t,e)=>{const n={};return Bt(t,(o,r)=>{const s=e(o,r);n[s.k]=s.v}),n},nd=t=>(e,n)=>{t[n]=e},Hf=(t,e,n,o)=>{Bt(t,(r,s)=>{(e(r,s)?n:o)(r,s)})},fs=(t,e)=>{const n={};return Hf(t,e,nd(n),vt),n},Wa=(t,e)=>{const n=[];return Bt(t,(o,r)=>{n.push(e(o,r))}),n},od=t=>Wa(t,Ne),Pt=(t,e)=>ht(t,e)?C.from(t[e]):C.none(),ht=(t,e)=>qE.call(t,e),vr=(t,e)=>ht(t,e)&&null!=t[e],$f=t=>{const e={};return U(t,n=>{e[n]={}}),Pe(e)},qf=t=>void 0!==t.length,rd=Array.isArray,Ka=(t,e,n)=>{if(!t)return!1;if(n=n||t,qf(t)){for(let o=0,r=t.length;o{const n=[];return Ka(t,(o,r)=>{n.push(e(o,r,t))}),n},gs=(t,e)=>{const n=[];return Ka(t,(o,r)=>{e&&!e(o,r,t)||n.push(o)}),n},Ya=(t,e,n,o)=>{let r=fe(n)?t[0]:n;for(let s=0;s{for(let o=0,r=t.length;ot[t.length-1],Ro=t=>{let e,n=!1;return(...o)=>(n||(n=!0,e=t.apply(null,o)),e)},Wf=()=>ad(0,0),ad=(t,e)=>({major:t,minor:e}),ps={nu:ad,detect:(t,e)=>{const n=String(e).toLowerCase();return 0===t.length?Wf():((o,r)=>{const s=((i,l)=>{for(let d=0;dNumber(r.replace(s,"$"+i));return ad(a(1),a(2))})(t,n)},unknown:Wf},Kf=(t,e)=>{const n=String(e).toLowerCase();return Zt(t,o=>o.search(n))},Yf=(t,e,n)=>""===e||t.length>=e.length&&t.substr(n,n+e.length)===e,Gf=(t,e)=>le(t,e)?t.substring(e.length):t,he=(t,e,n=0,o)=>{const r=t.indexOf(e,n);return-1!==r&&(!!fe(o)||r+e.length<=o)},le=(t,e)=>Yf(t,e,0),id=(t,e)=>Yf(t,e,t.length-e.length),ld=t=>e=>e.replace(t,""),yr=ld(/^\s+|\s+$/g),WE=ld(/^\s+/g),Xf=ld(/\s+$/g),_n=t=>t.length>0,hs=t=>!_n(t),Ga=(t,e=10)=>{const n=parseInt(t,e);return isNaN(n)?C.none():C.some(n)},dd=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,zn=t=>e=>he(e,t),KE=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:t=>he(t,"edge/")&&he(t,"chrome")&&he(t,"safari")&&he(t,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,dd],search:t=>he(t,"chrome")&&!he(t,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:t=>he(t,"msie")||he(t,"trident")},{name:"Opera",versionRegexes:[dd,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:zn("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:zn("firefox")},{name:"Safari",versionRegexes:[dd,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:t=>(he(t,"safari")||he(t,"mobile/"))&&he(t,"applewebkit")}],YE=[{name:"Windows",search:zn("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:t=>he(t,"iphone")||he(t,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:zn("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:zn("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:zn("linux"),versionRegexes:[]},{name:"Solaris",search:zn("sunos"),versionRegexes:[]},{name:"FreeBSD",search:zn("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:zn("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Qf={browsers:W(KE),oses:W(YE)},Zf="Chromium",eg="Firefox",og=t=>{const e=t.current,o=r=>()=>e===r;return{current:e,version:t.version,isEdge:o("Edge"),isChromium:o(Zf),isIE:o("IE"),isOpera:o("Opera"),isFirefox:o(eg),isSafari:o("Safari")}},GE=()=>og({current:void 0,version:ps.unknown()}),XE=og,rg=(W("Edge"),W(Zf),W("IE"),W("Opera"),W(eg),W("Safari"),"Windows"),sg="Android",lg="Solaris",dg="FreeBSD",cg="ChromeOS",ug=t=>{const e=t.current,o=r=>()=>e===r;return{current:e,version:t.version,isWindows:o(rg),isiOS:o("iOS"),isAndroid:o(sg),isMacOS:o("macOS"),isLinux:o("Linux"),isSolaris:o(lg),isFreeBSD:o(dg),isChromeOS:o(cg)}},QE=()=>ug({current:void 0,version:ps.unknown()}),JE=ug,ZE=(W(rg),W("iOS"),W(sg),W("Linux"),W("macOS"),W(lg),W(dg),W(cg),t=>window.matchMedia(t).matches);let t_=Ro(()=>((t,e,n)=>{const o=Qf.browsers(),r=Qf.oses(),s=e.bind(l=>{return d=o,br(l.brands,u=>{const m=u.brand.toLowerCase();return Zt(d,p=>{var f;return m===(null===(f=p.brand)||void 0===f?void 0:f.toLowerCase())}).map(p=>({current:p.name,version:ps.nu(parseInt(u.version,10),0)}))});var d}).orThunk(()=>{return Kf(o,d=t).map(c=>{const u=ps.detect(c.versionRegexes,d);return{current:c.name,version:u}});var d}).fold(GE,XE),a=(l=r,d=t,Kf(l,d).map(c=>{const u=ps.detect(c.versionRegexes,d);return{current:c.name,version:u}})).fold(QE,JE),i=((l,d,c,u)=>{const m=l.isiOS()&&!0===/ipad/i.test(c),p=l.isiOS()&&!m,f=l.isiOS()||l.isAndroid(),h=f||u("(pointer:coarse)"),g=m||!p&&f&&u("(min-device-width:768px)"),b=p||f&&!g,v=d.isSafari()&&l.isiOS()&&!1===/safari/i.test(c),y=!b&&!g&&!v;return{isiPad:W(m),isiPhone:W(p),isTablet:W(g),isPhone:W(b),isTouch:W(h),isAndroid:l.isAndroid,isiOS:l.isiOS,isWebView:W(v),isDesktop:W(y)}})(a,s,t,n);var l,d;return{browser:s,os:a,deviceType:i}})(navigator.userAgent,C.from(navigator.userAgentData),ZE));const kn=()=>t_(),e_=navigator.userAgent,cd=kn(),Sn=cd.browser,Nn=cd.os,Ao=cd.deviceType,n_=-1!==e_.indexOf("Windows Phone"),_t={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:Sn.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!Sn.isIE(),windowsPhone:n_,browser:{current:Sn.current,version:Sn.version,isChromium:Sn.isChromium,isEdge:Sn.isEdge,isFirefox:Sn.isFirefox,isIE:Sn.isIE,isOpera:Sn.isOpera,isSafari:Sn.isSafari},os:{current:Nn.current,version:Nn.version,isAndroid:Nn.isAndroid,isChromeOS:Nn.isChromeOS,isFreeBSD:Nn.isFreeBSD,isiOS:Nn.isiOS,isLinux:Nn.isLinux,isMacOS:Nn.isMacOS,isSolaris:Nn.isSolaris,isWindows:Nn.isWindows},deviceType:{isDesktop:Ao.isDesktop,isiPad:Ao.isiPad,isiPhone:Ao.isiPhone,isPhone:Ao.isPhone,isTablet:Ao.isTablet,isTouch:Ao.isTouch,isWebView:Ao.isWebView}},o_=/^\s*|\s*$/g,mg=t=>Gt(t)?"":(""+t).replace(o_,""),fg=function(t,e,n,o){o=o||this,t&&(n&&(t=t[n]),Ka(t,(r,s)=>!1!==e.call(o,r,s,n)&&(fg(r,e,n,o),!0)))},H={trim:mg,isArray:rd,is:(t,e)=>e?!("array"!==e||!rd(t))||typeof t===e:void 0!==t,toArray:t=>{if(rd(t))return t;{const e=[];for(let n=0,o=t.length;n{const o=at(t)?t.split(e||","):t||[];let r=o.length;for(;r--;)n[o[r]]={};return n},each:Ka,map:sd,grep:gs,inArray:(t,e)=>{if(t)for(let n=0,o=t.length;n{for(let n=0;n{const n=t.split(".");for(let o=0,r=n.length;oJt(t)?t:""===t?[]:sd(t.split(e||","),mg),_addCacheSuffix:t=>{const e=_t.cacheSuffix;return e&&(t+=(-1===t.indexOf("?")?"?":"&")+e),t}},Cr=(t,e,n=Mf)=>t.exists(o=>n(o,e)),gg=(t,e,n=Mf)=>be(t,e,n).getOr(t.isNone()&&e.isNone()),be=(t,e,n)=>t.isSome()&&e.isSome()?C.some(n(t.getOrDie(),e.getOrDie())):C.none(),wr=(t,e)=>t?C.some(e):C.none(),r_=typeof window<"u"?window:Function("return this;")(),pg=(t,e)=>((n,o)=>{let r=o??r_;for(let s=0;st.dom.nodeName.toLowerCase(),hg=t=>t.dom.nodeType,Xa=t=>e=>hg(e)===t,Qa=t=>Fe(t)&&(t=>{const e=pg("ownerDocument.defaultView",t);return we(t)&&((n=e,((o,r)=>{const s=pg(o,r);if(null==s)throw new Error(o+" not available on this browser");return s})("HTMLElement",n)).prototype.isPrototypeOf(t)||/^HTML\w*Element$/.test(s_(t).constructor.name));var n})(t.dom),Fe=Xa(1),He=Xa(3),i_=Xa(9),l_=Xa(11),Ja=t=>e=>Fe(e)&&xt(e)===t,bg=(t,e,n)=>{if(!(at(n)||_o(n)||fn(n)))throw console.error("Invalid call to Attribute.set. Key ",e,":: Value ",n,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(e,n+"")},de=(t,e,n)=>{bg(t.dom,e,n)},jn=(t,e)=>{const n=t.dom;Bt(e,(o,r)=>{bg(n,r,o)})},Ue=(t,e)=>{const n=t.dom.getAttribute(e);return null===n?void 0:n},Hn=(t,e)=>C.from(Ue(t,e)),bs=(t,e)=>{const n=t.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(e)},ce=(t,e)=>{t.dom.removeAttribute(e)},vg=t=>Oe(t.dom.attributes,(e,n)=>(e[n.name]=n.value,e),{}),ud=(t,e)=>{const n=Ue(t,e);return void 0===n||""===n?[]:n.split(" ")},vs=t=>void 0!==t.dom.classList,yg=t=>ud(t,"class"),Cg=(t,e)=>((n,o,r)=>{const s=ud(n,o).concat([r]);return de(n,o,s.join(" ")),!0})(t,"class",e),wg=(t,e)=>((n,o,r)=>{const s=gt(ud(n,o),a=>a!==r);return s.length>0?de(n,o,s.join(" ")):ce(n,o),!1})(t,"class",e),xr=(t,e)=>{vs(t)?t.dom.classList.add(e):Cg(t,e)},xg=t=>{0===(vs(t)?t.dom.classList:yg(t)).length&&ce(t,"class")},ys=(t,e)=>{vs(t)?t.dom.classList.remove(e):wg(t,e),xg(t)},md=(t,e)=>vs(t)&&t.dom.classList.contains(e),Cs=t=>{if(null==t)throw new Error("Node cannot be null or undefined");return{dom:t}},ws=(t,e)=>{const n=(e||document).createElement("div");if(n.innerHTML=t,!n.hasChildNodes()||n.childNodes.length>1){const o="HTML does not have a single root node";throw console.error(o,t),new Error(o)}return Cs(n.childNodes[0])},oe=(t,e)=>{const n=(e||document).createElement(t);return Cs(n)},Er=(t,e)=>{const n=(e||document).createTextNode(t);return Cs(n)},k=Cs,Eg=(t,e)=>{const n=[],o=s=>(n.push(s),e(s));let r=e(t);do{r=r.bind(o)}while(r.isSome());return n},gn=(t,e)=>{const n=t.dom;if(1!==n.nodeType)return!1;{const o=n;if(void 0!==o.matches)return o.matches(e);if(void 0!==o.msMatchesSelector)return o.msMatchesSelector(e);if(void 0!==o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(void 0!==o.mozMatchesSelector)return o.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")}},_g=t=>1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType||0===t.childElementCount,kt=(t,e)=>t.dom===e.dom,$n=(t,e)=>{const n=t.dom,o=e.dom;return n!==o&&n.contains(o)},kg=t=>k(t.dom.ownerDocument),qn=t=>i_(t)?t:kg(t),xs=t=>k(qn(t).dom.defaultView),sn=t=>C.from(t.dom.parentNode).map(k),Za=t=>C.from(t.dom.parentElement).map(k),Sg=(t,e)=>{const n=Nt(e)?e:zt;let o=t.dom;const r=[];for(;null!=o.parentNode;){const s=o.parentNode,a=k(s);if(r.push(a),!0===n(a))break;o=s}return r},To=t=>C.from(t.dom.previousSibling).map(k),Es=t=>C.from(t.dom.nextSibling).map(k),Ng=t=>ms(Eg(t,To)),Rg=t=>Eg(t,Es),ue=t=>Et(t.dom.childNodes,k),_r=(t,e)=>C.from(t.dom.childNodes[e]).map(k),fd=t=>_r(t,0),gd=t=>_r(t,t.dom.childNodes.length-1),pd=t=>t.dom.childNodes.length,hd=t=>l_(t)&&q(t.dom.host),Ag=Nt(Element.prototype.attachShadow)&&Nt(Node.prototype.getRootNode),c_=W(Ag),ro=Ag?t=>k(t.dom.getRootNode()):qn,bd=t=>hd(t)?t:(e=>{const n=e.dom.head;if(null==n)throw new Error("Head is not available yet");return k(n)})(qn(t)),u_=t=>k(t.dom.host),Tg=t=>{if(c_()&&q(t.target)){const e=k(t.target);if(Fe(e)&&m_(e)&&t.composed&&t.composedPath){const n=t.composedPath();if(n)return Be(n)}}return C.from(t.target)},m_=t=>q(t.dom.shadowRoot),kr=t=>{const e=He(t)?t.dom.parentNode:t.dom;if(null==e||null===e.ownerDocument)return!1;const n=e.ownerDocument;return(o=>{const r=ro(o);return hd(r)?C.some(r):C.none()})(k(e)).fold(()=>n.body.contains(e),Lf(kr,u_))};var Og=(t,e,n,o,r)=>t(n,o)?C.some(n):Nt(r)&&r(n)?C.none():e(n,o,r);const Vn=(t,e,n)=>{let o=t.dom;const r=Nt(n)?n:zt;for(;o.parentNode;){o=o.parentNode;const s=k(o);if(e(s))return C.some(s);if(r(s))break}return C.none()},Oo=(t,e,n)=>Og((o,r)=>r(o),Vn,t,e,n),Bg=(t,e)=>{const n=o=>{for(let r=0;rVn(t,o=>gn(o,e),n),ks=(t,e)=>((n,o)=>{const r=void 0===o?document:o.dom;return _g(r)?C.none():C.from(r.querySelector(n)).map(k)})(e,t),Bo=(t,e,n)=>Og((o,r)=>gn(o,r),_s,t,e,n),Po=(t,e=!1)=>{return kr(t)?t.dom.isContentEditable:(n=t,Bo(n,"[contenteditable]")).fold(W(e),o=>"true"===f_(o));var n},f_=t=>t.dom.contentEditable,Ss=t=>void 0!==t.style&&Nt(t.style.getPropertyValue),Pg=(t,e,n)=>{if(!at(n))throw console.error("Invalid call to CSS.set. Property ",e,":: Value ",n,":: Element ",t),new Error("CSS value must be a string: "+n);Ss(t)&&t.style.setProperty(e,n)},Dg=(t,e,n)=>{Pg(t.dom,e,n)},ti=(t,e)=>{const n=t.dom;Bt(e,(o,r)=>{Pg(n,r,o)})},Rn=(t,e)=>{const n=t.dom,o=window.getComputedStyle(n).getPropertyValue(e);return""!==o||kr(t)?o:Lg(n,e)},Lg=(t,e)=>Ss(t)?t.style.getPropertyValue(e):"",ei=(t,e)=>{const o=Lg(t.dom,e);return C.from(o).filter(r=>r.length>0)},vd=t=>{const e={},n=t.dom;if(Ss(n))for(let o=0;o{var n,o;o=e,Ss(n=t.dom)&&n.style.removeProperty(o),Cr(Hn(t,"style").map(yr),"")&&ce(t,"style")},De=(t,e)=>{sn(t).each(n=>{n.dom.insertBefore(e.dom,t.dom)})},Wn=(t,e)=>{Es(t).fold(()=>{sn(t).each(n=>{Yt(n,e)})},n=>{De(n,e)})},yd=(t,e)=>{fd(t).fold(()=>{Yt(t,e)},n=>{t.dom.insertBefore(e.dom,n.dom)})},Yt=(t,e)=>{t.dom.appendChild(e.dom)},Ig=(t,e)=>{De(t,e),Yt(e,t)},Do=(t,e)=>{U(e,n=>{Yt(t,n)})},Sr=t=>{t.dom.textContent="",U(ue(t),e=>{Dt(e)})},Dt=t=>{const e=t.dom;null!==e.parentNode&&e.parentNode.removeChild(e)},Kn=t=>{const e=ue(t);var n,o;e.length>0&&(n=t,U(o=e,(r,s)=>{Wn(0===s?n:o[s-1],r)})),Dt(t)},Cd=t=>Et(t,k),Fg=t=>t.dom.innerHTML,ni=(t,e)=>{const n=kg(t).dom,o=k(n.createDocumentFragment()),r=((s,a)=>{const i=(a||document).createElement("div");return i.innerHTML=s,ue(k(i))})(e,n);Do(o,r),Sr(t),Yt(t,o)},p_=(t,e,n,o)=>{t.dom.removeEventListener(e,n,o)},Ug=(t,e)=>({left:t,top:e,translate:(n,o)=>Ug(t+n,e+o)}),Nr=Ug,oi=(t,e)=>void 0!==t?t:void 0!==e?e:0,wd=t=>{const e=t.dom,n=e.ownerDocument.body;return n===e?Nr(n.offsetLeft,n.offsetTop):kr(t)?(o=>{const r=o.getBoundingClientRect();return Nr(r.left,r.top)})(e):Nr(0,0)},xd=t=>{const e=void 0!==t?t.dom:document;return Nr(e.body.scrollLeft||e.documentElement.scrollLeft,e.body.scrollTop||e.documentElement.scrollTop)},zg=(t,e,n)=>{const o=(void 0!==n?n.dom:document).defaultView;o&&o.scrollTo(t,e)},jg=(t,e)=>{kn().browser.isSafari()&&Nt(t.dom.scrollIntoViewIfNeeded)?t.dom.scrollIntoViewIfNeeded(!1):t.dom.scrollIntoView(e)},Hg=(t,e,n,o)=>({x:t,y:e,width:n,height:o,right:t+n,bottom:e+o}),$g=t=>{const e=void 0===t?window:t,o=xd(k(e.document));return(r=>{const s=void 0===r?window:r;return kn().browser.isFirefox()?C.none():C.from(s.visualViewport)})(e).fold(()=>{const r=e.document.documentElement;return Hg(o.left,o.top,r.clientWidth,r.clientHeight)},r=>Hg(Math.max(r.pageLeft,o.left),Math.max(r.pageTop,o.top),r.width,r.height))},qg=(t,e)=>{let n=[];return U(ue(t),o=>{e(o)&&(n=n.concat([o])),n=n.concat(qg(o,e))}),n},ve=(t,e)=>((n,o)=>{const r=void 0===o?document:o.dom;return _g(r)?[]:Et(r.querySelectorAll(n),k)})(e,t),Vg=(t,e,n)=>_s(t,e,n).isSome();class te{constructor(e,n){this.node=e,this.rootNode=n,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node}prev(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node}prev2(e){return this.node=this.findPreviousNode(this.node,e),this.node}findSibling(e,n,o,r){if(e){if(!r&&e[n])return e[n];if(e!==this.rootNode){let s=e[o];if(s)return s;for(let a=e.parentNode;a&&a!==this.rootNode;a=a.parentNode)if(s=a[o],s)return s}}}findPreviousNode(e,n){if(e){const o=e.previousSibling;if(this.rootNode&&o===this.rootNode)return;if(o){if(!n)for(let s=o.lastChild;s;s=s.lastChild)if(!s.lastChild)return s;return o}const r=e.parentNode;if(r&&r!==this.rootNode)return r}}}const Lo=t=>e=>!!e&&e.nodeType===t,ri=t=>!!t&&!Object.getPrototypeOf(t),Z=Lo(1),Yn=t=>Z(t)&&Qa(k(t)),Ns=t=>{const e=t.toLowerCase();return n=>q(n)&&n.nodeName.toLowerCase()===e},pn=t=>{const e=t.map(n=>n.toLowerCase());return n=>{if(n&&n.nodeName){const o=n.nodeName.toLowerCase();return Rt(e,o)}return!1}},si=(t,e)=>{const n=e.toLowerCase().split(" ");return o=>{if(Z(o)){const r=o.ownerDocument.defaultView;if(r)for(let s=0;se=>Z(e)&&e.hasAttribute(t),Mo=t=>Z(t)&&t.hasAttribute("data-mce-bogus"),Gn=t=>Z(t)&&"TABLE"===t.tagName,Kg=t=>e=>!(!Yn(e)||e.contentEditable!==t&&e.getAttribute("data-mce-contenteditable")!==t),Ed=pn(["textarea","input"]),j=Lo(3),h_=Lo(4),b_=Lo(7),so=Lo(8),Rs=Lo(9),_d=Lo(11),Ht=Ns("br"),Yg=Ns("img"),an=Kg("true"),Lt=Kg("false"),ai=pn(["td","th"]),v_=pn(["td","th","caption"]),An=pn(["video","audio","object","embed"]),y_=Ns("li"),kd=Ns("details"),C_=Ns("summary"),re="\xa0",Sd=t=>"\ufeff"===t,Nd=((t,e)=>{const n=o=>t(o)?C.from(o.dom.nodeValue):C.none();return{get:o=>{if(!t(o))throw new Error("Can only get text value of a text node");return n(o).getOr("")},getOption:n,set:(o,r)=>{if(!t(o))throw new Error("Can only set raw text value of a text node");o.dom.nodeValue=r}}})(He),ii=t=>Nd.get(t),Gg=t=>Nd.getOption(t),Rr=t=>{let e;return n=>(e=e||ed(t,Kt),ht(e,xt(n)))},Io=t=>Fe(t)&&"br"===xt(t),Xg=Rr(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),Rd=Rr(["ul","ol","dl"]),Ts=Rr(["li","dd","dt"]),w_=Rr(["thead","tbody","tfoot"]),Os=Rr(["td","th"]),li=Rr(["pre","script","textarea","style"]),Bs=()=>{const t=oe("br");return de(t,"data-mce-bogus","1"),t},ao=t=>{Sr(t),Yt(t,Bs())},se="\ufeff",di=Sd,ze=t=>t.replace(/\uFEFF/g,""),x_=Z,Ar=j,Tr=t=>(Ar(t)&&(t=t.parentNode),x_(t)&&t.hasAttribute("data-mce-caret")),io=t=>Ar(t)&&di(t.data),$e=t=>Tr(t)||io(t),Qg=t=>t.firstChild!==t.lastChild||!Ht(t.firstChild),Ad=t=>{const e=t.container();return!!j(e)&&(e.data.charAt(t.offset())===se||t.isAtStart()&&io(e.previousSibling))},Td=t=>{const e=t.container();return!!j(e)&&(e.data.charAt(t.offset()-1)===se||t.isAtEnd()&&io(e.nextSibling))},ci=t=>Ar(t)&&t.data[0]===se,ui=t=>Ar(t)&&t.data[t.data.length-1]===se,Od=t=>t&&t.hasAttribute("data-mce-caret")?((e=>{var n;const o=e.getElementsByTagName("br"),r=o[o.length-1];Mo(r)&&(null===(n=r.parentNode)||void 0===n||n.removeChild(r))})(t),t.removeAttribute("data-mce-caret"),t.removeAttribute("data-mce-bogus"),t.removeAttribute("style"),t.removeAttribute("data-mce-style"),t.removeAttribute("_moz_abspos"),t):null,Jg=t=>Tr(t.startContainer),Zg=an,E_=Lt,__=Ht,k_=j,S_=pn(["script","style","textarea"]),tp=pn(["img","input","textarea","hr","iframe","video","audio","object","embed"]),N_=pn(["table"]),R_=$e,ln=t=>!R_(t)&&(k_(t)?!S_(t.parentNode):tp(t)||__(t)||N_(t)||Bd(t)),Bd=t=>{return!(Z(e=t)&&"true"===e.getAttribute("unselectable"))&&E_(t);var e},ep=(t,e)=>ln(t)&&((n,o)=>{for(let r=n.parentNode;r&&r!==o;r=r.parentNode){if(Bd(r))return!1;if(Zg(r))return!0}return!0})(t,e),A_=/^[ \t\r\n]*$/,lo=t=>A_.test(t),T_=t=>{for(const e of t)if(!Sd(e))return!1;return!0},np=t=>"\n"===t||"\r"===t,op=(t,e=4,n=!0,o=!0)=>{const r=(l=e)<=0?"":new Array(l+1).join(" "),s=t.replace(/\t/g,r);var l;return Oe(s,(i,l)=>{return-1!==" \f\t\v".indexOf(l)||l===re?i.pcIsSpace||""===i.str&&n||i.str.length===s.length-1&&o||(c=i.str.length+1)<(d=s).length&&c>=0&&np(d[c])?{pcIsSpace:!1,str:i.str+re}:{pcIsSpace:!0,str:i.str+" "}:{pcIsSpace:np(l),str:i.str+l};var d,c},{pcIsSpace:!1,str:""}).str},mi=(t,e)=>{return ln(t)&&(o=e,!(j(n=t)&&lo(n.data)&&!((r,s)=>{const a=k(s),i=k(r);return Vg(i,"pre,code",J(kt,a))})(n,o)))||(n=>Z(n)&&"A"===n.nodeName&&!n.hasAttribute("href")&&(n.hasAttribute("name")||n.hasAttribute("id")))(t)||O_(t);var n,o},O_=Wg("data-mce-bookmark"),B_=Wg("data-mce-bogus"),P_=t=>Z(t)&&"all"===t.getAttribute("data-mce-bogus"),D_=t=>Za(k(t)).exists(e=>!Po(e)),Vt=(t,e=!0)=>((n,o)=>{let r=0;if(mi(n,n))return!1;{let s=n.firstChild;if(!s)return!0;const a=new te(s,n);do{if(o){if(P_(s)){s=a.next(!0);continue}if(B_(s)){s=a.next();continue}}if(an(s)&&D_(s))return!1;if(Ht(s))r++,s=a.next();else{if(mi(s,n))return!1;s=a.next()}}while(s);return r<=1}})(t.dom,e),Fo=t=>"svg"===t.toLowerCase(),Pd=t=>Fo(t.nodeName),rp=t=>"svg"===t?.nodeName?"svg":"html",L_=["svg"],fi="data-mce-block",Dd=t=>{return Et((e=t,gt(Pe(e),n=>!/[A-Z]/.test(n))),e=>`${e}:`+Et(L_,n=>`not(${n} ${e})`).join(":")).join(",");var e},sp=(t,e)=>q(e.querySelector(t))?(e.setAttribute(fi,"true"),"inline-boundary"===e.getAttribute("data-mce-selected")&&e.removeAttribute("data-mce-selected"),!0):(e.removeAttribute(fi),!1),ap=(t,e)=>{const n=Dd(t.getTransparentElements()),o=Dd(t.getBlockElements());return gt(e.querySelectorAll(n),r=>sp(o,r))},ip=(t,e)=>{var n;const o=e?"lastChild":"firstChild";for(let r=t[o];r;r=r[o])if(Vt(k(r)))return void(null===(n=r.parentNode)||void 0===n||n.removeChild(r))},Ld=(t,e)=>{const n=ap(t,e);var o,r,s;((t,e,n)=>{const o=t.getBlockElements(),r=k(e),s=i=>xt(i)in o,a=i=>kt(i,r);U(Cd(n),i=>{Vn(i,s,a).each(l=>{const d=gt(ue(i),m=>s(m)&&!t.isValidChild(xt(l),xt(m)));if(d.length>0){const c=Za(l);U(d,u=>{Vn(u,s,a).each(m=>{((p,f)=>{const h=document.createRange(),g=p.parentNode;if(g){h.setStartBefore(p),h.setEndBefore(f);const b=h.extractContents();ip(b,!0),h.setStartAfter(f),h.setEndAfter(p);const v=h.extractContents();ip(v,!1),Vt(k(b))||g.insertBefore(b,p),Vt(k(f))||g.insertBefore(f,p),Vt(k(v))||g.insertBefore(v,p),g.removeChild(p)}})(m.dom,u.dom)})}),c.each(u=>ap(t,u.dom))}})})})(t,e,n),o=t,r=e,s=n,U([...s,...Uo(o,r)?[r]:[]],a=>U(ve(k(a),a.nodeName.toLowerCase()),i=>{F_(o,i.dom)&&Kn(i)}))},I_=(t,e)=>{if(Fd(t,e)){const n=Dd(t.getBlockElements());sp(n,e)}},Md=t=>t.hasAttribute(fi),Id=(t,e)=>ht(t.getTransparentElements(),e),Fd=(t,e)=>Z(e)&&Id(t,e.nodeName),Uo=(t,e)=>Fd(t,e)&&Md(e),F_=(t,e)=>Fd(t,e)&&!Md(e),Ud=(t,e)=>1===e.type&&Id(t,e.name)&&at(e.attr(fi)),U_=kn().browser,lp=t=>Zt(t,Fe),dp=(t,e)=>t.children&&Rt(t.children,e),cp=(t,e={})=>{let n=0;const o={},r=k(t),s=qn(r),a=u=>{Yt(bd(r),u)},i=u=>{const m=bd(r);ks(m,"#"+u).each(Dt)},l=u=>Pt(o,u).getOrThunk(()=>({id:"mce-u"+n++,passed:[],failed:[],count:0})),d=u=>new Promise((m,p)=>{let f;const h=H._addCacheSuffix(u),g=l(h);o[h]=g,g.count++;const b=(w,E)=>{U(w,ds),g.status=E,g.passed=[],g.failed=[],f&&(f.onload=null,f.onerror=null,f=null)},v=()=>b(g.passed,2),y=()=>b(g.failed,3);if(m&&g.passed.push(m),p&&g.failed.push(p),1===g.status)return;if(2===g.status)return void v();if(3===g.status)return void y();g.status=1;const x=oe("link",s.dom);jn(x,{rel:"stylesheet",type:"text/css",id:g.id}),e.contentCssCors&&de(x,"crossOrigin","anonymous"),e.referrerPolicy&&de(x,"referrerpolicy",e.referrerPolicy),f=x.dom,f.onload=v,f.onerror=y,a(x),de(x,"href",h)}),c=u=>{const m=H._addCacheSuffix(u);Pt(o,m).each(p=>{0==--p.count&&(delete o[m],i(p.id))})};return{load:d,loadRawCss:(u,m)=>{const p=l(u);o[u]=p,p.count++;const f=oe("style",s.dom);jn(f,{rel:"stylesheet",type:"text/css",id:p.id}),f.dom.innerHTML=m,a(f)},loadAll:u=>Promise.allSettled(Et(u,m=>d(m).then(W(m)))).then(m=>{const p=hr(m,f=>"fulfilled"===f.status);return p.fail.length>0?Promise.reject(Et(p.fail,f=>f.reason)):Et(p.pass,f=>f.value)}),unload:c,unloadRawCss:u=>{Pt(o,u).each(m=>{0==--m.count&&(delete o[u],i(m.id))})},unloadAll:u=>{U(u,m=>{c(m)})},_setReferrerPolicy:u=>{e.referrerPolicy=u},_setContentCssCors:u=>{e.contentCssCors=u}}},up=(()=>{const t=new WeakMap;return{forElement:(e,n)=>{const o=ro(e).dom;return C.from(t.get(o)).getOrThunk(()=>{const r=cp(o,n);return t.set(o,r),r})}}})(),mp=(t,e,n)=>q(t)&&(mi(t,e)||n.isInline(t.nodeName.toLowerCase())),fp=t=>"span"===t.nodeName.toLowerCase()&&"bookmark"===t.getAttribute("data-mce-type"),zd=(t,e,n,o)=>{var r;const s=o||e;if(Z(e)&&fp(e))return e;const a=e.childNodes;for(let i=a.length-1;i>=0;i--)zd(t,a[i],n,s);if(Z(e)){const i=e.childNodes;1===i.length&&fp(i[0])&&(null===(r=e.parentNode)||void 0===r||r.insertBefore(i[0],e))}return _d(i=e)||Rs(i)||mi(e,s)||(i=>!!Z(i)&&i.childNodes.length>0)(e)||((i,l,d)=>j(i)&&i.data.length>0&&((c,u,m)=>{const p=new te(c,u).prev(!1),f=new te(c,u).next(!1),h=fe(p)||mp(p,u,m),g=fe(f)||mp(f,u,m);return h&&g})(i,l,d))(e,s,n)||t.remove(e),e;var i},z_=H.makeMap,gi=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pi=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j_=/[<>&\"\']/g,H_=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,$_={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},zo={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},q_={"<":"<",">":">","&":"&",""":'"',"'":"'"},gp=(t,e)=>{const n={};if(t){const o=t.split(",");e=e||10;for(let r=0;rt.replace(e?gi:pi,n=>zo[n]||n),hp=(t,e)=>t.replace(e?gi:pi,n=>n.length>1?"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";":zo[n]||"&#"+n.charCodeAt(0)+";"),Hd=(t,e,n)=>{const o=n||jd;return t.replace(e?gi:pi,r=>zo[r]||o[r]||r)},co={encodeRaw:pp,encodeAllRaw:t=>(""+t).replace(j_,e=>zo[e]||e),encodeNumeric:hp,encodeNamed:Hd,getEncodeFunc:(t,e)=>{const n=gp(e)||jd,o=z_(t.replace(/\+/g,","));return o.named&&o.numeric?(r,s)=>r.replace(s?gi:pi,a=>void 0!==zo[a]?zo[a]:void 0!==n[a]?n[a]:a.length>1?"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";":"&#"+a.charCodeAt(0)+";"):o.named?e?(r,s)=>Hd(r,s,n):Hd:o.numeric?hp:pp},decode:t=>t.replace(H_,(e,n)=>n?(n="x"===n.charAt(0).toLowerCase()?parseInt(n.substr(1),16):parseInt(n,10))>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):$_[n]||String.fromCharCode(n):q_[e]||jd[e]||(o=>{const r=oe("div").dom;return r.innerHTML=o,r.textContent||r.innerText||o})(e))},ge=(t,e)=>(t=H.trim(t))?t.split(e||" "):[],bp=t=>new RegExp("^"+t.replace(/([?+*])/g,".$1")+"$"),hi={},Ps=H.makeMap,hn=H.each,$d=H.extend,vp=H.explode,yp=(t,e={})=>{const n=Ps(t," ",Ps(t.toUpperCase()," "));return $d(n,e)},Cp=t=>yp("td th li dt dd figcaption caption details summary",t.getTextBlockElements()),qd=(t,e)=>{if(t){const n={};return at(t)&&(t={"*":t}),hn(t,(o,r)=>{n[r]=n[r.toUpperCase()]="map"===e?Ps(o,/[, ]/):vp(o,/[, ]/)}),n}},uo=(t={})=>{var e;const n={},o={};let r=[];const s={},a={},i=(tt,bt,Ct)=>{const pt=t[tt];if(pt)return Ps(pt,/[, ]/,Ps(pt.toUpperCase(),/[, ]/));{let wt=hi[tt];return wt||(wt=yp(bt,Ct),hi[tt]=wt),wt}},l=null!==(e=t.schema)&&void 0!==e?e:"html5",d=(tt=>{const{globalAttributes:bt,phrasingContent:Ct,flowContent:pt}=(It=>{let Xt,me,ke;Xt="id accesskey class dir lang style tabindex title role",me="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",ke="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==It&&(Xt+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",me+=" article aside details dialog figure main header footer hgroup section nav a ins del canvas map",ke+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen svg"),"html5-strict"!==It&&(Xt+=" xml:lang",ke=[ke,"acronym applet basefont big font strike tt"].join(" "),me=[me,"center dir isindex noframes"].join(" "));const tn=[me,ke].join(" ");return{globalAttributes:Xt,blockContent:me,phrasingContent:ke,flowContent:tn}})(tt),wt={},ne=(It,Xt,me)=>{wt[It]={attributes:ed(Xt,W({})),attributesOrder:Xt,children:ed(me,W({}))}},st=(It,Xt="",me="")=>{const ke=ge(me),tn=ge(It);let pe=tn.length;const en=ge([bt,Xt].join(" "));for(;pe--;)ne(tn[pe],en.slice(),ke)},yt=(It,Xt)=>{const me=ge(It),ke=ge(Xt);let tn=me.length;for(;tn--;){const pe=wt[me[tn]];for(let en=0,Qt=ke.length;en{st(It,"",Ct)}),U(ge("center dir isindex noframes"),It=>{st(It,"",pt)})),st("html","manifest","head body"),st("head","","base command link meta noscript script style title"),st("title hr noscript br"),st("base","href target"),st("link","href rel media hreflang type sizes hreflang"),st("meta","name http-equiv content charset"),st("style","media type scoped"),st("script","src async defer type charset"),st("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",pt),st("dd div","",pt),st("address dt caption","","html4"===tt?Ct:pt),st("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",Ct),st("blockquote","cite",pt),st("ol","reversed start type","li"),st("ul","","li"),st("li","value",pt),st("dl","","dt dd"),st("a","href target rel media hreflang type","html4"===tt?Ct:pt),st("q","cite",Ct),st("ins del","cite datetime",pt),st("img","src sizes srcset alt usemap ismap width height"),st("iframe","src name width height",pt),st("embed","src type width height"),st("object","data type typemustmatch name usemap form width height",[pt,"param"].join(" ")),st("param","name value"),st("map","name",[pt,"area"].join(" ")),st("area","alt coords shape href target rel media hreflang type"),st("table","border","caption colgroup thead tfoot tbody tr"+("html4"===tt?" col":"")),st("colgroup","span","col"),st("col","span"),st("tbody thead tfoot","","tr"),st("tr","","td th"),st("td","colspan rowspan headers",pt),st("th","colspan rowspan headers scope abbr",pt),st("form","accept-charset action autocomplete enctype method name novalidate target",pt),st("fieldset","disabled form name",[pt,"legend"].join(" ")),st("label","form for",Ct),st("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),st("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===tt?pt:Ct),st("select","disabled form multiple name required size","option optgroup"),st("optgroup","disabled label","option"),st("option","disabled label selected value"),st("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),st("menu","type label",[pt,"li"].join(" ")),st("noscript","",pt),"html4"!==tt&&(st("wbr"),st("ruby","",[Ct,"rt rp"].join(" ")),st("figcaption","",pt),st("mark rt rp bdi","",Ct),st("summary","",[Ct,"h1 h2 h3 h4 h5 h6"].join(" ")),st("canvas","width height",pt),st("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[pt,"track source"].join(" ")),st("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[pt,"track source"].join(" ")),st("picture","","img source"),st("source","src srcset type media sizes"),st("track","kind src srclang label default"),st("datalist","",[Ct,"option"].join(" ")),st("article section nav aside main header footer","",pt),st("hgroup","","h1 h2 h3 h4 h5 h6"),st("figure","",[pt,"figcaption"].join(" ")),st("time","datetime",Ct),st("dialog","open",pt),st("command","type label icon disabled checked radiogroup command"),st("output","for form name",Ct),st("progress","value max",Ct),st("meter","value min max low high optimum",Ct),st("details","open",[pt,"summary"].join(" ")),st("keygen","autofocus challenge disabled form keytype name"),ne("svg","id tabindex lang xml:space class style x y width height viewBox preserveAspectRatio zoomAndPan transform".split(" "),[])),"html5-strict"!==tt&&(yt("script","language xml:space"),yt("style","xml:space"),yt("object","declare classid code codebase codetype archive standby align border hspace vspace"),yt("embed","align name hspace vspace"),yt("param","valuetype type"),yt("a","charset name rev shape coords"),yt("br","clear"),yt("applet","codebase archive code object alt name width height align hspace vspace"),yt("img","name longdesc align border hspace vspace"),yt("iframe","longdesc frameborder marginwidth marginheight scrolling align"),yt("font basefont","size color face"),yt("input","usemap align"),yt("select"),yt("textarea"),yt("h1 h2 h3 h4 h5 h6 div p legend caption","align"),yt("ul","type compact"),yt("li","type"),yt("ol dl menu dir","compact"),yt("pre","width xml:space"),yt("hr","align noshade size width"),yt("isindex","prompt"),yt("table","summary width frame rules cellspacing cellpadding align bgcolor"),yt("col","width align char charoff valign"),yt("colgroup","width align char charoff valign"),yt("thead","align char charoff valign"),yt("tr","align char charoff valign bgcolor"),yt("th","axis align char charoff valign nowrap bgcolor width height"),yt("form","accept"),yt("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),yt("tfoot","align char charoff valign"),yt("tbody","align char charoff valign"),yt("area","nohref"),yt("body","background bgcolor text link vlink alink")),"html4"!==tt&&(yt("input button select textarea","autofocus"),yt("input textarea","placeholder"),yt("a","download"),yt("link script img","crossorigin"),yt("img","loading"),yt("iframe","sandbox seamless allow allowfullscreen loading")),"html4"!==tt&&U([wt.video,wt.audio],It=>{delete It.children.audio,delete It.children.video}),U(ge("a form meter progress dfn"),It=>{wt[It]&&delete wt[It].children[It]}),delete wt.caption.children.table,delete wt.script,wt})(l);!1===t.verify_html&&(t.valid_elements="*[*]");const c=qd(t.valid_styles),u=qd(t.invalid_styles,"map"),m=qd(t.valid_classes,"map"),p=i("whitespace_elements","pre script noscript style textarea video audio iframe object code"),f=i("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),h=i("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),g=i("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),b="td th iframe video audio object script code",v=i("non_empty_elements",b+" pre svg",h),y=i("move_caret_before_on_enter_elements",b+" table",h),x="h1 h2 h3 h4 h5 h6",w=i("text_block_elements",x+" p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),E=i("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing",w),N=i("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp"),T=i("transparent_elements","a ins del canvas map"),O=i("wrap_block_elements","pre "+x);hn("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),tt=>{a[tt]=new RegExp("]*>","gi")});const P=tt=>{const bt=C.from(n["@"]),Ct=/[*?+]/;U(((pt,wt)=>{const ne=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;return rn(ge(wt,","),st=>{const yt=ne.exec(st);if(yt){const It=yt[1],Xt=yt[2],me=yt[3],ke=yt[4],tn=yt[5],pe={attributes:{},attributesOrder:[]};if(pt.each(en=>{return eo=pe,Bt((Qt=en).attributes,(nn,mn)=>{eo.attributes[mn]=nn}),void eo.attributesOrder.push(...Qt.attributesOrder);var Qt,eo}),"#"===It?pe.paddEmpty=!0:"-"===It&&(pe.removeEmpty=!0),"!"===ke&&(pe.removeEmptyAttrs=!0),tn&&((en,Qt)=>{const eo=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,nn=/[*?+]/,{attributes:mn,attributesOrder:ur}=Qt;U(ge(en,"|"),Ua=>{const mr=eo.exec(Ua);if(mr){const on={},Kl=mr[1],Ft=mr[2].replace(/[\\:]:/g,":"),xn=mr[3],fr=mr[4];if("!"===Kl&&(Qt.attributesRequired=Qt.attributesRequired||[],Qt.attributesRequired.push(Ft),on.required=!0),"-"===Kl)return delete mn[Ft],void ur.splice(H.inArray(ur,Ft),1);if(xn&&("="===xn?(Qt.attributesDefault=Qt.attributesDefault||[],Qt.attributesDefault.push({name:Ft,value:fr}),on.defaultValue=fr):"~"===xn?(Qt.attributesForced=Qt.attributesForced||[],Qt.attributesForced.push({name:Ft,value:fr}),on.forcedValue=fr):"<"===xn&&(on.validValues=H.makeMap(fr,"?"))),nn.test(Ft)){const za=on;Qt.attributePatterns=Qt.attributePatterns||[],za.pattern=bp(Ft),Qt.attributePatterns.push(za)}else mn[Ft]||ur.push(Ft),mn[Ft]=on}})})(tn,pe),me&&(pe.outputName=Xt),"@"===Xt){if(!pt.isNone())return[];pt=C.some(pe)}return[me?{name:Xt,element:pe,aliasName:me}:{name:Xt,element:pe}]}return[]})})(bt,tt??""),({name:pt,element:wt,aliasName:ne})=>{if(ne&&(n[ne]=wt),Ct.test(pt)){const st=wt;st.pattern=bp(pt),r.push(st)}else n[pt]=wt})},_=tt=>{r=[],U(Pe(n),bt=>{delete n[bt]}),P(tt)},R=tt=>{delete hi.text_block_elements,delete hi.block_elements,U((bt=>{const Ct=/^(~)?(.+)$/;return rn(ge(bt,","),pt=>{const wt=Ct.exec(pt);if(wt){const ne="~"===wt[1];return[{inline:ne,cloneName:ne?"span":"div",name:wt[2]}]}return[]})})(tt??""),({inline:bt,name:Ct,cloneName:pt})=>{if(o[Ct]=o[pt],s[Ct]=pt,v[Ct.toUpperCase()]={},v[Ct]={},bt||(E[Ct.toUpperCase()]={},E[Ct]={}),!n[Ct]){let wt=n[pt];wt=$d({},wt),delete wt.removeEmptyAttrs,delete wt.removeEmpty,n[Ct]=wt}Bt(o,(wt,ne)=>{wt[pt]&&(o[ne]=wt=$d({},o[ne]),wt[Ct]=wt[pt])})})},B=tt=>{U((bt=>{const Ct=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;return rn(ge(bt,","),pt=>{const wt=Ct.exec(pt);if(wt){const ne=wt[1];return[{operation:ne?(yt=>"-"===yt?"remove":"add")(ne):"replace",name:wt[2],validChildren:ge(wt[3],"|")}]}return[]})})(tt??""),({operation:bt,name:Ct,validChildren:pt})=>{const wt="replace"===bt?{"#comment":{}}:o[Ct];U(pt,ne=>{"remove"===bt?delete wt[ne]:wt[ne]={}}),o[Ct]=wt})},M=tt=>{const bt=n[tt];if(bt)return bt;let Ct=r.length;for(;Ct--;){const pt=r[Ct];if(pt.pattern.test(tt))return pt}};t.valid_elements?(_(t.valid_elements),hn(d,(tt,bt)=>{o[bt]=tt.children})):(hn(d,(tt,bt)=>{n[bt]={attributes:tt.attributes,attributesOrder:tt.attributesOrder},o[bt]=tt.children}),hn(ge("strong/b em/i"),tt=>{const bt=ge(tt,"/");n[bt[1]].outputName=bt[0]}),hn(N,(tt,bt)=>{n[bt]&&(t.padd_empty_block_inline_children&&(n[bt].paddInEmptyBlock=!0),n[bt].removeEmpty=!0)}),hn(ge("ol ul blockquote a table tbody"),tt=>{n[tt]&&(n[tt].removeEmpty=!0)}),hn(ge("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"),tt=>{n[tt]&&(n[tt].paddEmpty=!0)}),hn(ge("span"),tt=>{n[tt].removeEmptyAttrs=!0})),delete n.svg,R(t.custom_elements),B(t.valid_children),P(t.extended_valid_elements),B("+ol[ul|ol],+ul[ul|ol]"),hn({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(tt,bt)=>{n[bt]&&(n[bt].parentsRequired=ge(tt))}),t.invalid_elements&&hn(vp(t.invalid_elements),tt=>{n[tt]&&delete n[tt]}),M("span")||P("span[!data-mce-type|*]");const V=W(c),$=W(u),ot=W(m),et=W(g),lt=W(E),rt=W(w),K=W(N),X=W(Object.seal(h)),mt=W(f),S=W(v),A=W(y),I=W(p),F=W(T),z=W(O),Q=W(Object.seal(a)),it=(tt,bt)=>{const Ct=M(tt);if(Ct){if(!bt)return!0;{if(Ct.attributes[bt])return!0;const pt=Ct.attributePatterns;if(pt){let wt=pt.length;for(;wt--;)if(pt[wt].pattern.test(bt))return!0}}}return!1},ft=tt=>ht(lt(),tt),dt=tt=>!le(tt,"#")&&it(tt)&&!ft(tt),Tt=W(s);return{type:l,children:o,elements:n,getValidStyles:V,getValidClasses:ot,getBlockElements:lt,getInvalidStyles:$,getVoidElements:X,getTextBlockElements:rt,getTextInlineElements:K,getBoolAttrs:et,getElementRule:M,getSelfClosingElements:mt,getNonEmptyElements:S,getMoveCaretBeforeOnEnterElements:A,getWhitespaceElements:I,getTransparentElements:F,getSpecialElements:Q,isValidChild:(tt,bt)=>{const Ct=o[tt.toLowerCase()];return!(!Ct||!Ct[bt.toLowerCase()])},isValid:it,isBlock:ft,isInline:dt,isWrapper:tt=>ht(z(),tt)||dt(tt),getCustomElements:Tt,addValidElements:P,setValidElements:_,addCustomElements:R,addValidChildren:B}},Vd=t=>{const e=t.toString(16);return(1===e.length?"0"+e:e).toUpperCase()},V_=t=>{return{value:(n=Vd(t.red)+Vd(t.green)+Vd(t.blue),Gf(n,"#").toUpperCase())};var n},W_=/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i,K_=/^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i,wp=(t,e,n,o)=>({red:t,green:e,blue:n,alpha:o}),xp=(t,e,n,o)=>{const r=parseInt(t,10),s=parseInt(e,10),a=parseInt(n,10),i=parseFloat(o);return wp(r,s,a,i)},Ep=t=>{if("transparent"===t)return C.some(wp(0,0,0,0));const e=W_.exec(t);if(null!==e)return C.some(xp(e[1],e[2],e[3],"1"));const n=K_.exec(t);return null!==n?C.some(xp(n[1],n[2],n[3],n[4])):C.none()},Y_=t=>`rgba(${t.red},${t.green},${t.blue},${t.alpha})`,Ds=t=>Ep(t).map(V_).map(e=>"#"+e.value).getOr(t),Wd=(t={},e)=>{const n=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,o=/\s*([^:]+):\s*([^;]+);?/g,r=/\s+$/,s={};let a,i;e&&(a=e.getValidStyles(),i=e.getInvalidStyles());const d="\\\" \\' \\; \\: ; : \ufeff".split(" ");for(let u=0;u{const m={};let p=!1;const f=t.url_converter,h=t.url_converter_scope||c,g=(P,_,R)=>{const B=m[P+"-top"+_];if(!B)return;const M=m[P+"-right"+_];if(!M)return;const V=m[P+"-bottom"+_];if(!V)return;const $=m[P+"-left"+_];if(!$)return;const ot=[B,M,V,$];let et=ot.length-1;for(;et--&&ot[et]===ot[et+1];);et>-1&&R||(m[P+_]=-1===et?ot[0]:ot.join(" "),delete m[P+"-top"+_],delete m[P+"-right"+_],delete m[P+"-bottom"+_],delete m[P+"-left"+_])},b=P=>{const _=m[P];if(!_)return;const R=_.indexOf(",")>-1?[_]:_.split(" ");let B=R.length;for(;B--;)if(R[B]!==R[0])return!1;return m[P]=R[0],!0},v=P=>(p=!0,s[P]),y=(P,_)=>(p&&(P=P.replace(/\uFEFF[0-9]/g,R=>s[R])),_||(P=P.replace(/\\([\'\";:])/g,"$1")),P),x=P=>String.fromCharCode(parseInt(P.slice(1),16)),w=P=>P.replace(/\\[0-9a-f]+/gi,x),E=(P,_,R,B,M,V)=>{if(M=M||V)return"'"+(M=y(M)).replace(/\'/g,"\\'")+"'";if(_=y(_||R||B||""),!t.allow_script_urls){const $=_.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test($)||!t.allow_svg_data_urls&&/^data:image\/svg/i.test($))return""}return f&&(_=f.call(h,_,"style")),"url('"+_.replace(/\'/g,"\\'")+"')"};if(u){let P;for(u=(u=u.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,v).replace(/\"[^\"]+\"|\'[^\']+\'/g,_=>_.replace(/[;:]/g,v));P=o.exec(u);){o.lastIndex=P.index+P[0].length;let _=P[1].replace(r,"").toLowerCase(),R=P[2].replace(r,"");if(_&&R){if(_=w(_),R=w(R),-1!==_.indexOf("\ufeff")||-1!==_.indexOf('"')||!t.allow_script_urls&&("behavior"===_||/expression\s*\(|\/\*|\*\//.test(R)))continue;"font-weight"===_&&"700"===R?R="bold":"color"!==_&&"background-color"!==_||(R=R.toLowerCase()),at(t.force_hex_color)&&"off"!==t.force_hex_color&&Ep(R).each(B=>{"always"!==t.force_hex_color&&1!==B.alpha||(R=Ds(Y_(B)))}),R=R.replace(n,E),m[_]=p?y(R,!0):R}}g("border","",!0),g("border","-width"),g("border","-color"),g("border","-style"),g("padding",""),g("margin",""),T="border-style",O="border-color",b(N="border-width")&&b(T)&&b(O)&&(m.border=m[N]+" "+m[T]+" "+m[O],delete m[N],delete m[T],delete m[O]),"medium none"===m.border&&delete m.border,"none"===m["border-image"]&&delete m["border-image"]}var N,T,O;return m},serialize:(u,m)=>{let p="";const f=(h,g)=>{const b=g[h];if(b)for(let v=0,y=b.length;v0?" ":"")+x+": "+w+";")}};return m&&a?(f("*",a),f(m,a)):Bt(u,(h,g)=>{h&&((b,v)=>{if(!i||!v)return!0;let y=i["*"];return!(y&&y[b]||(y=i[v],y&&y[b]))})(g,m)&&(p+=(p.length>0?" ":"")+g+": "+h+";")}),p}};return c},G_={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},_p=(t,e)=>{const n=e??{};for(const o in t)ht(G_,o)||(n[o]=t[o]);return q(t.composedPath)&&(n.composedPath=()=>t.composedPath()),q(t.getModifierState)&&(n.getModifierState=o=>t.getModifierState(o)),q(t.getTargetRanges)&&(n.getTargetRanges=()=>t.getTargetRanges()),n},Kd=(t,e,n,o)=>{var r;const s=_p(e,o);return s.type=t,Gt(s.target)&&(s.target=null!==(r=s.srcElement)&&void 0!==r?r:n),(Gt((a=e).preventDefault)||(i=a)instanceof Event||Nt(i.initEvent))&&(s.preventDefault=()=>{s.defaultPrevented=!0,s.isDefaultPrevented=Kt,Nt(e.preventDefault)&&e.preventDefault()},s.stopPropagation=()=>{s.cancelBubble=!0,s.isPropagationStopped=Kt,Nt(e.stopPropagation)&&e.stopPropagation()},s.stopImmediatePropagation=()=>{s.isImmediatePropagationStopped=Kt,s.stopPropagation()},(a=>a.isDefaultPrevented===Kt||a.isDefaultPrevented===zt)(s)||(s.isDefaultPrevented=!0===s.defaultPrevented?Kt:zt,s.isPropagationStopped=!0===s.cancelBubble?Kt:zt,s.isImmediatePropagationStopped=zt)),s;var a,i},X_=/^(?:mouse|contextmenu)|click/,Yd=(t,e,n,o)=>{t.addEventListener(e,n,o||!1)},bi=(t,e,n,o)=>{t.removeEventListener(e,n,o||!1)},Ls=(t,e)=>{const n=Kd(t.type,t,document,e);if(q(o=t)&&X_.test(o.type)&&fe(t.pageX)&&!fe(t.clientX)){const o=n.target.ownerDocument||document,r=o.documentElement,s=o.body,a=n;a.pageX=t.clientX+(r&&r.scrollLeft||s&&s.scrollLeft||0)-(r&&r.clientLeft||s&&s.clientLeft||0),a.pageY=t.clientY+(r&&r.scrollTop||s&&s.scrollTop||0)-(r&&r.clientTop||s&&s.clientTop||0)}var o;return n},Q_=(t,e,n)=>{const o=t.document,r={type:"ready"};if(n.domLoaded)return void e(r);const s=()=>{bi(t,"DOMContentLoaded",s),bi(t,"load",s),n.domLoaded||(n.domLoaded=!0,e(r)),t=null};"complete"===o.readyState||"interactive"===o.readyState&&o.body?s():Yd(t,"DOMContentLoaded",s),n.domLoaded||Yd(t,"load",s)};class jo{constructor(){this.domLoaded=!1,this.events={},this.count=1,this.expando="mce-data-"+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(e,n,o,r){const s=this;let a;const i=window,l=m=>{s.executeHandlers(Ls(m||i.event),d)};if(!e||j(e)||so(e))return o;let d;e[s.expando]?d=e[s.expando]:(d=s.count++,e[s.expando]=d,s.events[d]={}),r=r||e;const c=n.split(" ");let u=c.length;for(;u--;){let m=c[u],p=l,f=!1,h=!1;"DOMContentLoaded"===m&&(m="ready"),s.domLoaded&&"ready"===m&&"complete"===e.readyState?o.call(r,Ls({type:m})):(s.hasFocusIn||"focusin"!==m&&"focusout"!==m||(f=!0,h="focusin"===m?"focus":"blur",p=g=>{const b=Ls(g||i.event);b.type="focus"===b.type?"focusin":"focusout",s.executeHandlers(b,d)}),a=s.events[d][m],a?"ready"===m&&s.domLoaded?o(Ls({type:m})):a.push({func:o,scope:r}):(s.events[d][m]=a=[{func:o,scope:r}],a.fakeName=h,a.capture=f,a.nativeHandler=p,"ready"===m?Q_(e,p,s):Yd(e,h||m,p,f)))}return e=a=null,o}unbind(e,n,o){if(!e||j(e)||so(e))return this;const r=e[this.expando];if(r){let s=this.events[r];if(n){const a=n.split(" ");let i=a.length;for(;i--;){const l=a[i],d=s[l];if(d){if(o){let c=d.length;for(;c--;)if(d[c].func===o){const u=d.nativeHandler,m=d.fakeName,p=d.capture,f=d.slice(0,c).concat(d.slice(c+1));f.nativeHandler=u,f.fakeName=m,f.capture=p,s[l]=f}}o&&0!==d.length||(delete s[l],bi(e,d.fakeName||l,d.nativeHandler,d.capture))}}}else Bt(s,(a,i)=>{bi(e,a.fakeName||i,a.nativeHandler,a.capture)}),s={};for(const a in s)if(ht(s,a))return this;delete this.events[r];try{delete e[this.expando]}catch{e[this.expando]=null}}return this}fire(e,n,o){return this.dispatch(e,n,o)}dispatch(e,n,o){if(!e||j(e)||so(e))return this;const r=Ls({type:n,target:e},o);do{const s=e[this.expando];s&&this.executeHandlers(r,s),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!r.isPropagationStopped());return this}clean(e){if(!e||j(e)||so(e))return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName){this.unbind(e);const n=e.getElementsByTagName("*");let o=n.length;for(;o--;)(e=n[o])[this.expando]&&this.unbind(e)}return this}destroy(){this.events={}}cancel(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}executeHandlers(e,n){const o=this.events[n],r=o&&o[e.type];if(r)for(let s=0,a=r.length;s{Gt(n)||""===n?ce(t,e):de(t,e,n)},kp=t=>t.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),Or=(t,e)=>{let n=0;if(t)for(let o=t.nodeType,r=t.previousSibling;r;r=r.previousSibling){const s=r.nodeType;(!e||!j(r)||s!==o&&r.data.length)&&(n++,o=s)}return n},Sp=(t,e)=>{const n=Ue(e,"style"),o=t.serialize(t.parse(n),xt(e));Ms(e,Xd,o)},Np=(t,e,n)=>{const o=kp(e);var r,s;Gt(n)||""===n?Mg(t,o):Dg(t,o,(s=o,fn(r=n)?ht(Z_,s)?r+"":r+"px":r))},Ot=(t,e={})=>{const n={},o=window,r={};let s=0;const a=up.forElement(k(t),{contentCssCors:e.contentCssCors,referrerPolicy:e.referrerPolicy}),i=[],l=e.schema?e.schema:uo({}),d=Wd({url_converter:e.url_converter,url_converter_scope:e.url_converter_scope,force_hex_color:e.force_hex_color},e.schema),c=e.ownEvents?new jo:jo.Event,u=l.getBlockElements(),m=S=>S&&t&&at(S)?t.getElementById(S):S,p=S=>{const A=m(S);return q(A)?k(A):null},f=(S,A,I="")=>{let F;const z=p(S);if(q(z)&&Fe(z)){const Q=mt[A];F=Q&&Q.get?Q.get(z.dom,A):Ue(z,A)}return q(F)?F:I},h=S=>{const A=m(S);return Gt(A)?[]:A.attributes},g=(S,A,I)=>{T(S,F=>{if(Z(F)){const z=k(F),Q=""===I?null:I,it=Ue(z,A),ft=mt[A];ft&&ft.set?ft.set(z.dom,Q,A):Ms(z,A,Q),it!==Q&&e.onSetAttrib&&e.onSetAttrib({attrElm:z.dom,attrName:A,attrValue:Q})}})},b=()=>e.root_element||t.body,v=(S,A)=>((I,F,z)=>{let Q=0,it=0;const ft=I.ownerDocument;if(z=z||I,F){if(z===I&&F.getBoundingClientRect&&"static"===Rn(k(I),"position")){const Tt=F.getBoundingClientRect();return Q=Tt.left+(ft.documentElement.scrollLeft||I.scrollLeft)-ft.documentElement.clientLeft,it=Tt.top+(ft.documentElement.scrollTop||I.scrollTop)-ft.documentElement.clientTop,{x:Q,y:it}}let dt=F;for(;dt&&dt!==z&&dt.nodeType&&!dp(dt,z);)Q+=dt.offsetLeft||0,it+=dt.offsetTop||0,dt=dt.offsetParent;for(dt=F.parentNode;dt&&dt!==z&&dt.nodeType&&!dp(dt,z);)Q-=dt.scrollLeft||0,it-=dt.scrollTop||0,dt=dt.parentNode;it+=(Tt=k(F),U_.isFirefox()&&"table"===xt(Tt)?lp(ue(Tt)).filter(tt=>"caption"===xt(tt)).bind(tt=>lp(Rg(tt)).map(bt=>bt.dom.offsetTop<=tt.dom.offsetTop?-tt.dom.offsetHeight:0)).getOr(0):0)}var Tt;return{x:Q,y:it}})(t.body,m(S),A),y=(S,A,I)=>{const F=m(S);var z;if(!Gt(F)&&(Yn(F)||Z(z=F)&&"http://www.w3.org/2000/svg"===z.namespaceURI))return I?Rn(k(F),kp(A)):("float"===(A=A.replace(/-(\D)/g,(Q,it)=>it.toUpperCase()))&&(A="cssFloat"),F.style?F.style[A]:void 0)},x=S=>{const A=m(S);if(!A)return{w:0,h:0};let I=y(A,"width"),F=y(A,"height");return I&&-1!==I.indexOf("px")||(I="0"),F&&-1!==F.indexOf("px")||(F="0"),{w:parseInt(I,10)||A.offsetWidth||A.clientWidth,h:parseInt(F,10)||A.offsetHeight||A.clientHeight}},w=(S,A)=>{if(!S)return!1;const I=Jt(S)?S:[S];return $t(I,F=>gn(k(F),A))},E=(S,A,I,F)=>{const z=[];let Q=m(S);F=void 0===F;const it=I||("BODY"!==b().nodeName?b().parentNode:null);if(at(A))if("*"===A)A=Z;else{const ft=A;A=dt=>w(dt,ft)}for(;Q&&!(Q===it||Gt(Q.nodeType)||Rs(Q)||_d(Q));){if(!A||A(Q)){if(!F)return[Q];z.push(Q)}Q=Q.parentNode}return F?z:null},N=(S,A,I)=>{let F=A;if(S){at(A)&&(F=z=>w(z,A));for(let z=S[I];z;z=z[I])if(Nt(F)&&F(z))return z}return null},T=function(S,A,I){const F=I??this;if(Jt(S)){const z=[];return Gd(S,(Q,it)=>{const ft=m(Q);ft&&z.push(A.call(F,ft,it))}),z}{const z=m(S);return!!z&&A.call(F,z)}},O=(S,A)=>{T(S,I=>{Bt(A,(F,z)=>{g(I,z,F)})})},P=(S,A)=>{T(S,I=>{const F=k(I);ni(F,A)})},_=(S,A,I,F,z)=>T(S,Q=>{const it=at(A)?t.createElement(A):A;return q(I)&&O(it,I),F&&(!at(F)&&F.nodeType?it.appendChild(F):at(F)&&P(it,F)),z?it:Q.appendChild(it)}),R=(S,A,I)=>_(t.createElement(S),S,A,I,!0),B=co.encodeAllRaw,M=(S,A)=>T(S,I=>{const F=k(I);return A&&U(ue(F),z=>{He(z)&&0===z.dom.length?Dt(z):De(F,z)}),Dt(F),F.dom}),V=(S,A,I)=>{T(S,F=>{if(Z(F)){const z=k(F),Q=A.split(" ");U(Q,it=>{var ft,dt,tt,bt;q(I)?(I?xr:ys)(z,it):(dt=it,vs(ft=z)?ft.dom.classList.toggle(dt):(bt=dt,Rt(yg(tt=ft),bt)?wg(tt,bt):Cg(tt,bt)),xg(ft))})}})},$=(S,A,I)=>T(A,F=>{var z;const Q=Jt(A)?S.cloneNode(!0):S;return I&&Gd(J_(F.childNodes),it=>{Q.appendChild(it)}),null===(z=F.parentNode)||void 0===z||z.replaceChild(Q,F),F}),ot=S=>{if(Z(S)){const A="a"===S.nodeName.toLowerCase()&&!f(S,"href")&&f(S,"id");if(f(S,"name")||f(S,"data-mce-bookmark")||A)return!0}return!1},et=()=>t.createRange(),lt=(S,A,I,F)=>{if(Jt(S)){let z=S.length;const Q=[];for(;z--;)Q[z]=lt(S[z],A,I,F);return Q}return!e.collect||S!==t&&S!==o||i.push([S,A,I,F]),c.bind(S,A,I,F||X)},rt=(S,A,I)=>{if(Jt(S)){let F=S.length;const z=[];for(;F--;)z[F]=rt(S[F],A,I);return z}if(i.length>0&&(S===t||S===o)){let F=i.length;for(;F--;){const[z,Q,it]=i[F];S!==z||A&&A!==Q||I&&I!==it||c.unbind(z,Q,it)}}return c.unbind(S,A,I)},K=S=>{if(S&&Yn(S)){const A=S.getAttribute("data-mce-contenteditable");return A&&"inherit"!==A?A:"inherit"!==S.contentEditable?S.contentEditable:null}return null},X={doc:t,settings:e,win:o,files:r,stdMode:!0,boxModel:!0,styleSheetLoader:a,boundEvents:i,styles:d,schema:l,events:c,isBlock:S=>at(S)?ht(u,S):Z(S)&&(ht(u,S.nodeName)||Uo(l,S)),root:null,clone:(S,A)=>S.cloneNode(A),getRoot:b,getViewPort:S=>{const A=$g(S);return{x:A.x,y:A.y,w:A.width,h:A.height}},getRect:S=>{const A=m(S),I=v(A),F=x(A);return{x:I.x,y:I.y,w:F.w,h:F.h}},getSize:x,getParent:(S,A,I)=>{const F=E(S,A,I,!1);return F&&F.length>0?F[0]:null},getParents:E,get:m,getNext:(S,A)=>N(S,A,"nextSibling"),getPrev:(S,A)=>N(S,A,"previousSibling"),select:(S,A)=>{var I,F;const z=null!==(F=null!==(I=m(A))&&void 0!==I?I:e.root_element)&&void 0!==F?F:t;return Nt(z.querySelectorAll)?Ie(z.querySelectorAll(S)):[]},is:w,add:_,create:R,createHTML:(S,A,I="")=>{let F="<"+S;for(const z in A)vr(A,z)&&(F+=" "+z+'="'+B(A[z])+'"');return hs(I)&&ht(l.getVoidElements(),S)?F+" />":F+">"+I+""},createFragment:S=>{const A=t.createElement("div"),I=t.createDocumentFragment();let F;for(I.appendChild(A),S&&(A.innerHTML=S);F=A.firstChild;)I.appendChild(F);return I.removeChild(A),I},remove:M,setStyle:(S,A,I)=>{T(S,F=>{const z=k(F);Np(z,A,I),e.update_styles&&Sp(d,z)})},getStyle:y,setStyles:(S,A)=>{T(S,I=>{const F=k(I);Bt(A,(z,Q)=>{Np(F,Q,z)}),e.update_styles&&Sp(d,F)})},removeAllAttribs:S=>T(S,A=>{const I=A.attributes;for(let F=I.length-1;F>=0;F--)A.removeAttributeNode(I.item(F))}),setAttrib:g,setAttribs:O,getAttrib:f,getPos:v,parseStyle:S=>d.parse(S),serializeStyle:(S,A)=>d.serialize(S,A),addStyle:S=>{if(X!==Ot.DOM&&t===document){if(n[S])return;n[S]=!0}let A=t.getElementById("mceDefaultStyles");if(!A){A=t.createElement("style"),A.id="mceDefaultStyles",A.type="text/css";const I=t.head;I.firstChild?I.insertBefore(A,I.firstChild):I.appendChild(A)}A.styleSheet?A.styleSheet.cssText+=S:A.appendChild(t.createTextNode(S))},loadCSS:S=>{S||(S=""),U(S.split(","),A=>{r[A]=!0,a.load(A).catch(vt)})},addClass:(S,A)=>{V(S,A,!0)},removeClass:(S,A)=>{V(S,A,!1)},hasClass:(S,A)=>{const I=p(S),F=A.split(" ");return q(I)&&oo(F,z=>md(I,z))},toggleClass:V,show:S=>{T(S,A=>Mg(k(A),"display"))},hide:S=>{T(S,A=>Dg(k(A),"display","none"))},isHidden:S=>{const A=p(S);return q(A)&&Cr(ei(A,"display"),"none")},uniqueId:S=>(S||"mce_")+s++,setHTML:P,getOuterHTML:S=>{const A=p(S);return q(A)?Z(A.dom)?A.dom.outerHTML:(I=>{const F=oe("div"),z=k(I.dom.cloneNode(!0));return Yt(F,z),Fg(F)})(A):""},setOuterHTML:(S,A)=>{T(S,I=>{Z(I)&&(I.outerHTML=A)})},decode:co.decode,encode:B,insertAfter:(S,A)=>{const I=m(A);return T(S,F=>{const z=I?.parentNode,Q=I?.nextSibling;return z&&(Q?z.insertBefore(F,Q):z.appendChild(F)),F})},replace:$,rename:(S,A)=>{if(S.nodeName!==A.toUpperCase()){const I=R(A);return Gd(h(S),F=>{g(I,F.nodeName,f(S,F.nodeName))}),$(I,S,!0),I}return S},findCommonAncestor:(S,A)=>{let I=S;for(;I;){let F=A;for(;F&&I!==F;)F=F.parentNode;if(I===F)break;I=I.parentNode}return!I&&S.ownerDocument?S.ownerDocument.documentElement:I},run:T,getAttribs:h,isEmpty:(S,A,I)=>{let F=0;if(ot(S))return!1;const z=S.firstChild;if(z){const Q=new te(z,S),it=l?l.getWhitespaceElements():{},ft=A||(l?l.getNonEmptyElements():null);let dt=z;do{if(Z(dt)){const Tt=dt.getAttribute("data-mce-bogus");if(Tt){dt=Q.next("all"===Tt);continue}const tt=dt.nodeName.toLowerCase();if(ft&&ft[tt]){if("br"===tt){F++,dt=Q.next();continue}return!1}if(ot(dt))return!1}if(so(dt)||j(dt)&&!lo(dt.data)&&(!I?.includeZwsp||!T_(dt.data))||j(dt)&&dt.parentNode&&it[dt.parentNode.nodeName]&&lo(dt.data))return!1;dt=Q.next()}while(dt)}return F<=1},createRng:et,nodeIndex:Or,split:(S,A,I)=>{let F,z,Q=et();if(S&&A&&S.parentNode&&A.parentNode){const it=S.parentNode;return Q.setStart(it,Or(S)),Q.setEnd(A.parentNode,Or(A)),F=Q.extractContents(),Q=et(),Q.setStart(A.parentNode,Or(A)+1),Q.setEnd(it,Or(S)+1),z=Q.extractContents(),it.insertBefore(zd(X,F,l),S),it.insertBefore(I||A,S),it.insertBefore(zd(X,z,l),S),M(S),I||A}},bind:lt,unbind:rt,fire:(S,A,I)=>c.dispatch(S,A,I),dispatch:(S,A,I)=>c.dispatch(S,A,I),getContentEditable:K,getContentEditableParent:S=>{const A=b();let I=null;for(let F=S;F&&F!==A&&(I=K(F),null===I);F=F.parentNode);return I},isEditable:S=>{if(q(S)){const A=Z(S)?S:S.parentElement;return q(A)&&Yn(A)&&Po(k(A))}return!1},destroy:()=>{if(i.length>0){let S=i.length;for(;S--;){const[A,I,F]=i[S];c.unbind(A,I,F)}}Bt(r,(S,A)=>{a.unload(A),delete r[A]})},isChildOf:(S,A)=>S===A||A.contains(S),dumpRng:S=>"startContainer: "+S.startContainer.nodeName+", startOffset: "+S.startOffset+", endContainer: "+S.endContainer.nodeName+", endOffset: "+S.endOffset},mt=((S,A,I)=>{const F=A.keep_values,Q={style:{set:(it,ft)=>{const dt=k(it);F&&Ms(dt,Xd,ft),ce(dt,"style"),at(ft)&&ti(dt,S.parse(ft))},get:it=>{const ft=k(it),dt=Ue(ft,Xd)||Ue(ft,"style");return S.serialize(S.parse(dt),xt(ft))}}};return F&&(Q.href=Q.src={set:(it,ft,dt)=>{const Tt=k(it);Nt(A.url_converter)&&q(ft)&&(ft=A.url_converter.call(A.url_converter_scope||I(),String(ft),dt,it)),Ms(Tt,"data-mce-"+dt,ft),Ms(Tt,dt,ft)},get:(it,ft)=>{const dt=k(it);return Ue(dt,"data-mce-"+ft)||Ue(dt,ft)}}),Q})(d,e,W(X));return X};Ot.DOM=Ot(document),Ot.nodeIndex=Or;const tk=Ot.DOM;class Xn{constructor(e={}){this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=!1,this.settings=e}_setReferrerPolicy(e){this.settings.referrerPolicy=e}loadScript(e){return new Promise((n,o)=>{const r=tk;let s;const a=()=>{r.remove(i),s&&(s.onerror=s.onload=s=null)},i=r.uniqueId();s=document.createElement("script"),s.id=i,s.type="text/javascript",s.src=H._addCacheSuffix(e),this.settings.referrerPolicy&&r.setAttrib(s,"referrerpolicy",this.settings.referrerPolicy),s.onload=()=>{a(),n()},s.onerror=()=>{a(),o("Failed to load script: "+e)},(document.getElementsByTagName("head")[0]||document.body).appendChild(s)})}isDone(e){return 2===this.states[e]}markDone(e){this.states[e]=2}add(e){const n=this;return n.queue.push(e),void 0===n.states[e]&&(n.states[e]=0),new Promise((o,r)=>{n.scriptLoadedCallbacks[e]||(n.scriptLoadedCallbacks[e]=[]),n.scriptLoadedCallbacks[e].push({resolve:o,reject:r})})}load(e){return this.add(e)}remove(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]}loadQueue(){const e=this.queue;return this.queue=[],this.loadScripts(e)}loadScripts(e){const n=this,o=(l,d)=>{Pt(n.scriptLoadedCallbacks,d).each(c=>{U(c,u=>u[l](d))}),delete n.scriptLoadedCallbacks[d]},r=l=>{const d=gt(l,c=>"rejected"===c.status);return d.length>0?Promise.reject(rn(d,({reason:c})=>Jt(c)?c:[c])):Promise.resolve()},s=l=>Promise.allSettled(Et(l,d=>2===n.states[d]?(o("resolve",d),Promise.resolve()):3===n.states[d]?(o("reject",d),Promise.reject(d)):(n.states[d]=1,n.loadScript(d).then(()=>{n.states[d]=2,o("resolve",d);const c=n.queue;return c.length>0?(n.queue=[],s(c).then(r)):Promise.resolve()},()=>(n.states[d]=3,o("reject",d),Promise.reject(d)))))),a=l=>(n.loading=!0,s(l).then(d=>{n.loading=!1;const c=n.queueLoadedCallbacks.shift();return C.from(c).each(ds),r(d)})),i=$f(e);return n.loading?new Promise((l,d)=>{n.queueLoadedCallbacks.push(()=>{a(i).then(l,d)})}):a(i)}}Xn.ScriptLoader=new Xn;const ae=t=>{let e=t;return{get:()=>e,set:n=>{e=n}}},Is={},Qd=ae("en"),Rp=()=>Pt(Is,Qd.get()),bn={getData:()=>Va(Is,t=>({...t})),setCode:t=>{t&&Qd.set(t)},getCode:()=>Qd.get(),add:(t,e)=>{let n=Is[t];n||(Is[t]=n={});const o=Et(Pe(e),r=>r.toLowerCase());Bt(e,(r,s)=>{const a=s.toLowerCase();a!==s&&((i,l)=>{const d=i.indexOf(l);return-1!==d&&i.indexOf(l,d+1)>d})(o,a)?(ht(e,a)||(n[a]=r),n[s]=r):n[a]=r})},translate:t=>{const e=Rp().getOr({}),n=i=>Nt(i)?Object.prototype.toString.call(i):o(i)?"":""+i,o=i=>""===i||null==i,r=i=>{const l=n(i);return ht(e,l)?n(e[l]):Pt(e,l.toLowerCase()).map(n).getOr(l)},s=i=>i.replace(/{context:\w+}$/,"");if(o(t))return"";if(we(a=t)&&ht(a,"raw"))return n(t.raw);var a,i;if(Jt(i=t)&&i.length>1){const i=t.slice(1);return s(r(t[0]).replace(/\{([0-9]+)\}/g,(l,d)=>ht(i,d)?n(i[d]):l))}return s(r(t))},isRtl:()=>Rp().bind(t=>Pt(t,"_dir")).exists(t=>"rtl"===t),hasCode:t=>ht(Is,t)},xe=()=>{const t=[],e={},n={},o=[],r=(l,d)=>{const c=gt(o,u=>u.name===l&&u.state===d);U(c,u=>u.resolve())},s=l=>ht(e,l),a=(l,d)=>{const c=bn.getCode();!c||d&&-1===(","+(d||"")+",").indexOf(","+c+",")||Xn.ScriptLoader.add(e[l]+"/langs/"+c+".js")},i=(l,d="added")=>"added"===d&&ht(n,l)||"loaded"===d&&s(l)?Promise.resolve():new Promise(c=>{o.push({name:l,state:d,resolve:c})});return{items:t,urls:e,lookup:n,get:l=>{if(n[l])return n[l].instance},requireLangPack:(l,d)=>{!1!==xe.languageLoad&&(s(l)?a(l,d):i(l,"loaded").then(()=>a(l,d)))},add:(l,d)=>(t.push(d),n[l]={instance:d},r(l,"added"),d),remove:l=>{delete e[l],delete n[l]},createUrl:(l,d)=>at(d)?at(l)?{prefix:"",resource:d,suffix:""}:{prefix:l.prefix,resource:d,suffix:l.suffix}:d,load:(l,d)=>{if(e[l])return Promise.resolve();let c=at(d)?d:d.prefix+d.resource+d.suffix;0!==c.indexOf("/")&&-1===c.indexOf("://")&&(c=xe.baseURL+"/"+c),e[l]=c.substring(0,c.lastIndexOf("/"));const u=()=>(r(l,"loaded"),Promise.resolve());return n[l]?u():Xn.ScriptLoader.add(c).then(u)},waitFor:i}};xe.languageLoad=!0,xe.baseURL="",xe.PluginManager=xe(),xe.ThemeManager=xe(),xe.ModelManager=xe();const ek=t=>{const e=ae(C.none()),n=()=>e.get().each(o=>clearInterval(o));return{clear:()=>{n(),e.set(C.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:o=>{n(),e.set(C.some(setInterval(o,t)))}}},mo=()=>{const t=(e=>{const n=ae(C.none()),o=()=>n.get().each(e);return{clear:()=>{o(),n.set(C.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:r=>{o(),n.set(C.some(r))}}})(vt);return{...t,on:e=>t.get().each(e)}},vi=(t,e)=>{let n=null;return{cancel:()=>{Se(n)||(clearTimeout(n),n=null)},throttle:(...o)=>{Se(n)&&(n=setTimeout(()=>{n=null,t.apply(null,o)},e))}}},Jd=(t,e)=>{let n=null;const o=()=>{Se(n)||(clearTimeout(n),n=null)};return{cancel:o,throttle:(...r)=>{o(),n=setTimeout(()=>{n=null,t.apply(null,r)},e)}}},Fs=W("mce-annotation"),Ho=W("data-mce-annotation"),Br=W("data-mce-annotation-uid"),Us=W("data-mce-annotation-active"),zs=W("data-mce-annotation-classes"),js=W("data-mce-annotation-attrs"),Ap=t=>e=>kt(e,t),Tp=(t,e)=>{const n=t.selection.getRng(),o=k(n.startContainer),r=k(t.getBody()),s=e.fold(()=>"."+Fs(),i=>`[${Ho()}="${i}"]`),a=_r(o,n.startOffset).getOr(o);return Bo(a,s,Ap(r)).bind(i=>Hn(i,`${Br()}`).bind(l=>Hn(i,`${Ho()}`).map(d=>{const c=Bp(t,l);return{uid:l,name:d,elements:c}})))},Op=(t,e)=>bs(t,"data-mce-bogus")||Vg(t,'[data-mce-bogus="all"]',Ap(e)),Bp=(t,e)=>{const n=k(t.getBody()),o=ve(n,`[${Br()}="${e}"]`);return gt(o,r=>!Op(r,n))},Pp=(t,e)=>{const n=k(t.getBody()),o=ve(n,`[${Ho()}="${e}"]`),r={};return U(o,s=>{if(!Op(s,n)){const a=Ue(s,Br()),i=Pt(r,a).getOr([]);r[a]=i.concat([s])}}),r};let Dp=0;const Hs=t=>{const e=(new Date).getTime(),n=Math.floor(1e9*Math.random());return Dp++,t+"_"+n+Dp+String(e)},Lp=(t,e)=>k(t.dom.cloneNode(e)),$o=t=>Lp(t,!1),Mp=t=>Lp(t,!0),Ip=(t,e,n=zt)=>{const o=new te(t,e),r=s=>{let a;do{a=o[s]()}while(a&&!j(a)&&!n(a));return C.from(a).filter(j)};return{current:()=>C.from(o.current()).filter(j),next:()=>r("next"),prev:()=>r("prev"),prev2:()=>r("prev2")}},qo=(t,e)=>{const n=e||(r=>t.isBlock(r)||Ht(r)||Lt(r)),o=(r,s,a,i)=>{if(j(r)){const l=i(r,s,r.data);if(-1!==l)return C.some({container:r,offset:l})}return a().bind(l=>o(l.container,l.offset,a,i))};return{backwards:(r,s,a,i)=>{const l=Ip(r,i??t.getRoot(),n);return o(r,s,()=>l.prev().map(d=>({container:d,offset:d.length})),a).getOrNull()},forwards:(r,s,a,i)=>{const l=Ip(r,i??t.getRoot(),n);return o(r,s,()=>l.next().map(d=>({container:d,offset:0})),a).getOrNull()}}},Pr=Math.round,Vo=t=>t?{left:Pr(t.left),top:Pr(t.top),bottom:Pr(t.bottom),right:Pr(t.right),width:Pr(t.width),height:Pr(t.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},Fp=(t,e)=>(t=Vo(t),e||(t.left=t.left+t.width),t.right=t.left,t.width=0,t),Up=(t,e,n)=>t>=0&&t<=Math.min(e.height,n.height)/2,$s=(t,e)=>{const n=Math.min(e.height/2,t.height/2);return t.bottom-ne.bottom)&&Up(e.top-t.bottom,t,e)},qs=(t,e)=>t.top>e.bottom||!(t.bottom{const o=Math.max(Math.min(e,t.left+t.width),t.left),r=Math.max(Math.min(n,t.top+t.height),t.top);return Math.sqrt((e-o)*(e-o)+(n-r)*(n-r))},yi=t=>{const e=t.startContainer,n=t.startOffset;return e===t.endContainer&&e.hasChildNodes()&&t.endOffset===n+1?e.childNodes[n]:null},fo=(t,e)=>{if(Z(t)&&t.hasChildNodes()){const n=t.childNodes;return n[(a=n.length-1,Math.min(Math.max(e,0),a))]}var a;return t},nk=new RegExp("[\u0300-\u036f\u0483-\u0487\u0488-\u0489\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e3-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962-\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2-\u09e3\u0a01-\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a70-\u0a71\u0a75\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0ae2-\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62-\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c00\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c62-\u0c63\u0c81\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc-\u0ccd\u0cd5-\u0cd6\u0ce2-\u0ce3\u0d01\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62-\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039-\u103a\u103d-\u103e\u1058-\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17b5\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193b\u1a17-\u1a18\u1a1b\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1ab0-\u1abd\u1abe\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80-\u1b81\u1ba2-\u1ba5\u1ba8-\u1ba9\u1bab-\u1bad\u1be6\u1be8-\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8-\u1cf9\u1dc0-\u1df5\u1dfc-\u1dff\u200c-\u200d\u20d0-\u20dc\u20dd-\u20e0\u20e1\u20e2-\u20e4\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302d\u302e-\u302f\u3099-\u309a\ua66f\ua670-\ua672\ua674-\ua67d\ua69e-\ua69f\ua6f0-\ua6f1\ua802\ua806\ua80b\ua825-\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\ua9e5\uaa29-\uaa2e\uaa31-\uaa32\uaa35-\uaa36\uaa43\uaa4c\uaa7c\uaab0\uaab2-\uaab4\uaab7-\uaab8\uaabe-\uaabf\uaac1\uaaec-\uaaed\uaaf6\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\uff9e-\uff9f]"),jp=t=>at(t)&&t.charCodeAt(0)>=768&&nk.test(t),Hp=Z,ok=ln,$p=si("display","block table"),rk=si("float","left right"),Vs=((...t)=>e=>{for(let n=0;ne<0&&Z(t)&&t.hasChildNodes()?void 0:fo(t,e),tc=t=>t?t.createRange():Ot.DOM.createRng(),ec=t=>at(t)&&/[\r\n\t ]/.test(t),Vp=t=>!!t.setStart&&!!t.setEnd,nc=t=>{const e=t.startContainer,n=t.startOffset;if(ec(t.toString())&&sk(e.parentNode)&&j(e)){const o=e.data;if(ec(o[n-1])||ec(o[n+1]))return!0}return!1},Wp=t=>0===t.left&&0===t.right&&0===t.top&&0===t.bottom,go=t=>{var e;let n;const o=t.getClientRects();return n=Vo(o.length>0?o[0]:t.getBoundingClientRect()),!Vp(t)&&Zd(t)&&Wp(n)?(r=>{const s=r.ownerDocument,a=tc(s),i=s.createTextNode(re),l=r.parentNode;l.insertBefore(i,r),a.setStart(i,0),a.setEnd(i,1);const d=Vo(a.getBoundingClientRect());return l.removeChild(i),d})(t):Wp(n)&&Vp(t)&&null!==(e=(r=>{const a=r.endContainer,i=r.startOffset,l=r.endOffset;if(r.startContainer===a&&j(a)&&0===i&&1===l){const d=r.cloneRange();return d.setEndAfter(a),go(d)}return null})(t))&&void 0!==e?e:n},Wo=(t,e)=>{const n=Fp(t,e);return n.width=1,n.right=n.left+1,n},L=(t,e,n)=>{const o=()=>(n||(n=(r=>{const s=[],a=c=>{var u,m;0!==c.height&&(s.length>0&&(u=c).left===(m=s[s.length-1]).left&&u.top===m.top&&u.bottom===m.bottom&&u.right===m.right||s.push(c))},i=(c,u)=>{const m=tc(c.ownerDocument);if(u0&&(m.setStart(c,u-1),m.setEnd(c,u),nc(m)||a(Wo(go(m),!1))),u{const r=tc(t.ownerDocument);return r.setStart(t,e),r.setEnd(t,e),r},getClientRects:o,isVisible:()=>o().length>0,isAtStart:()=>(Ws(t),0===e),isAtEnd:()=>Ws(t)?e>=t.data.length:e>=t.childNodes.length,isEqual:r=>r&&t===r.container()&&e===r.offset(),getNode:r=>Ci(t,r?e-1:e)}};L.fromRangeStart=t=>L(t.startContainer,t.startOffset),L.fromRangeEnd=t=>L(t.endContainer,t.endOffset),L.after=t=>L(t.parentNode,qp(t)+1),L.before=t=>L(t.parentNode,qp(t)),L.isAbove=(t,e)=>be(Be(e.getClientRects()),So(t.getClientRects()),$s).getOr(!1),L.isBelow=(t,e)=>be(So(e.getClientRects()),Be(t.getClientRects()),qs).getOr(!1),L.isAtStart=t=>!!t&&t.isAtStart(),L.isAtEnd=t=>!!t&&t.isAtEnd(),L.isTextPosition=t=>!!t&&j(t.container()),L.isElementPosition=t=>!L.isTextPosition(t);const wi=(t,e)=>{j(e)&&0===e.data.length&&t.remove(e)},oc=(t,e,n)=>{var o,s;_d(n)?((o,r,s)=>{const a=C.from(s.firstChild),i=C.from(s.lastChild);r.insertNode(s),a.each(l=>wi(o,l.previousSibling)),i.each(l=>wi(o,l.nextSibling))})(t,e,n):(o=t,e.insertNode(s=n),wi(o,s.previousSibling),wi(o,s.nextSibling))},vn=j,Kp=Mo,Yp=Ot.nodeIndex,Gp=t=>{const e=t.parentNode;return Kp(e)?Gp(e):e},rc=t=>t?Ya(t.childNodes,(e,n)=>(Kp(n)&&"BR"!==n.nodeName?e=e.concat(rc(n)):e.push(n),e),[]):[],Xp=t=>e=>t===e,Qp=t=>(vn(t)?"text()":t.nodeName.toLowerCase())+"["+(e=>{let n,o;n=rc(Gp(e)),o=Vf(n,Xp(e),e),n=n.slice(0,o+1);const r=Ya(n,(s,a,i)=>(vn(a)&&vn(n[i-1])&&s++,s),0);return n=gs(n,pn([e.nodeName])),o=Vf(n,Xp(e),e),o-r})(t)+"]",Jp=(t,e)=>{let n,o=[],r=e.container(),s=e.offset();if(vn(r))n=((i,l)=>{let d=i;for(;(d=d.previousSibling)&&vn(d);)l+=d.data.length;return l})(r,s);else{const i=r.childNodes;s>=i.length?(n="after",s=i.length-1):n="before",r=i[s]}o.push(Qp(r));let a=((i,l,d)=>{const c=[];for(let u=l.parentNode;u&&u!==i;u=u.parentNode)c.push(u);return c})(t,r);return a=gs(a,ls(Mo)),o=o.concat(sd(a,i=>Qp(i))),o.reverse().join("/")+","+n},Zp=(t,e)=>{if(!e)return null;const n=e.split(","),o=n[0].split("/"),r=n.length>1?n[1]:"before",s=Ya(o,(a,i)=>{const l=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(i);return l?("text()"===l[1]&&(l[1]="#text"),((d,c,u)=>{let m=rc(d);return m=gs(m,(p,f)=>!vn(p)||!vn(m[f-1])),m=gs(m,pn([c])),m[u]})(a,l[1],parseInt(l[2],10))):null},t);if(!s)return null;if(!vn(s)&&s.parentNode){let a;return a="after"===r?Yp(s)+1:Yp(s),L(s.parentNode,a)}return((a,i)=>{let l=a,d=0;for(;vn(l);){const c=l.data.length;if(i>=d&&i<=d+c){a=l,i-=d;break}if(!vn(l.nextSibling)){a=l,i=c;break}d+=c,l=l.nextSibling}return vn(a)&&i>a.data.length&&(i=a.data.length),L(a,i)})(s,parseInt(r,10))},xi=Lt,th=(t,e,n,o,r)=>{const s=r?o.startContainer:o.endContainer;let a=r?o.startOffset:o.endOffset;const i=[],l=t.getRoot();if(j(s))i.push(n?((d,c,u)=>{let m=d(c.data.slice(0,u)).length;for(let p=c.previousSibling;p&&j(p);p=p.previousSibling)m+=d(p.data).length;return m})(e,s,a):a);else{let d=0;const c=s.childNodes;a>=c.length&&c.length&&(d=1,a=Math.max(0,c.length-1)),i.push(t.nodeIndex(c[a],n)+d)}for(let d=s;d&&d!==l;d=d.parentNode)i.push(t.nodeIndex(d,n));return i},sc=(t,e,n)=>{let o=0;return H.each(t.select(e),r=>"all"===r.getAttribute("data-mce-bogus")?void 0:r!==n&&void o++),o},eh=(t,e)=>{let n=e?t.startContainer:t.endContainer,o=e?t.startOffset:t.endOffset;if(Z(n)&&"TR"===n.nodeName){const r=n.childNodes;n=r[Math.min(e?o:o-1,r.length-1)],n&&(o=e?0:n.childNodes.length,e?t.setStart(n,o):t.setEnd(n,o))}},nh=t=>(eh(t,!0),eh(t,!1),t),oh=(t,e)=>{if(Z(t)&&(t=fo(t,e),xi(t)))return t;if($e(t)){j(t)&&Tr(t)&&(t=t.parentNode);let n=t.previousSibling;if(xi(n)||(n=t.nextSibling,xi(n)))return n}},rh=(t,e,n)=>{const o=n.getNode(),r=n.getRng();if("IMG"===o.nodeName||xi(o)){const a=o.nodeName;return{name:a,index:sc(n.dom,a,o)}}const s=oh((a=r).startContainer,a.startOffset)||oh(a.endContainer,a.endOffset);var a;if(s){const a=s.tagName;return{name:a,index:sc(n.dom,a,s)}}return((a,i,l,d)=>{const c=i.dom,u=th(c,a,l,d,!0),m=i.isForward(),p=Jg(d)?{isFakeCaret:!0}:{};return i.isCollapsed()?{start:u,forward:m,...p}:{start:u,end:th(c,a,l,d,!1),forward:m,...p}})(t,n,e,r)},sh=(t,e,n)=>{const o={"data-mce-type":"bookmark",id:e,style:"overflow:hidden;line-height:0px"};return n?t.create("span",o,""):t.create("span",o)},ah=(t,e)=>{const n=t.dom;let o=t.getRng();const r=n.uniqueId(),s=t.isCollapsed(),a=t.getNode(),i=a.nodeName,l=t.isForward();if("IMG"===i)return{name:i,index:sc(n,i,a)};const d=nh(o.cloneRange());if(!s){d.collapse(!1);const u=sh(n,r+"_end",e);oc(n,d,u)}o=nh(o),o.collapse(!0);const c=sh(n,r+"_start",e);return oc(n,o,c),t.moveToBookmark({id:r,keep:!0,forward:l}),{id:r,forward:l}},ac=J(rh,Ne,!0),ih=t=>{const e=s=>s(t),n=W(t),o=()=>r,r={tag:!0,inner:t,fold:(s,a)=>a(t),isValue:Kt,isError:zt,map:s=>Re.value(s(t)),mapError:o,bind:e,exists:e,forall:e,getOr:n,or:o,getOrThunk:n,orThunk:o,getOrDie:n,each:s=>{s(t)},toOptional:()=>C.some(t)};return r},lh=t=>{const e=()=>n,n={tag:!1,inner:t,fold:(o,r)=>o(t),isValue:zt,isError:Kt,map:e,mapError:o=>Re.error(o(t)),bind:e,exists:zt,forall:Kt,getOr:Ne,or:Ne,getOrThunk:Zl,orThunk:Zl,getOrDie:If(String(t)),each:vt,toOptional:C.none};return n},Re={value:ih,error:lh,fromOption:(t,e)=>t.fold(()=>lh(e),ih)},Tn=t=>{if(!Jt(t))throw new Error("cases must be an array");if(0===t.length)throw new Error("there must be at least one case");const e=[],n={};return U(t,(o,r)=>{const s=Pe(o);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],i=o[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!Jt(i))throw new Error("case arguments must be an array");e.push(a),n[a]=(...l)=>{const d=l.length;if(d!==i.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+i.length+" ("+i+"), got "+d);return{fold:(...c)=>{if(c.length!==t.length)throw new Error("Wrong number of arguments to fold. Expected "+t.length+", got "+c.length);return c[r].apply(null,l)},match:c=>{const u=Pe(c);if(e.length!==u.length)throw new Error("Wrong number of arguments to match. Expected: "+e.join(",")+"\nActual: "+u.join(","));if(!oo(e,m=>Rt(u,m)))throw new Error("Not all branches were specified when using match. Specified: "+u.join(", ")+"\nRequired: "+e.join(", "));return c[a].apply(null,l)},log:c=>{console.log(c,{constructors:e,constructor:a,params:l})}}}}),n};Tn([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const ak=t=>"inline-command"===t.type||"inline-format"===t.type,ik=t=>"block-command"===t.type||"block-format"===t.type,lk=t=>{const e=o=>Re.error({message:o,pattern:t}),n=(o,r,s)=>{if(void 0!==t.format){let a;if(Jt(t.format)){if(!oo(t.format,at))return e(o+" pattern has non-string items in the `format` array");a=t.format}else{if(!at(t.format))return e(o+" pattern has non-string `format` parameter");a=[t.format]}return Re.value(r(a))}return void 0!==t.cmd?at(t.cmd)?Re.value(s(t.cmd,t.value)):e(o+" pattern has non-string `cmd` parameter"):e(o+" pattern is missing both `format` and `cmd` parameters")};if(!we(t))return e("Raw pattern is not an object");if(!at(t.start))return e("Raw pattern is missing `start` parameter");if(void 0!==t.end){if(!at(t.end))return e("Inline pattern has non-string `end` parameter");if(0===t.start.length&&0===t.end.length)return e("Inline pattern has empty `start` and `end` parameters");let o=t.start,r=t.end;return 0===r.length&&(r=o,o=""),n("Inline",s=>({type:"inline-format",start:o,end:r,format:s}),(s,a)=>({type:"inline-command",start:o,end:r,cmd:s,value:a}))}return void 0!==t.replacement?at(t.replacement)?0===t.start.length?e("Replacement pattern has empty `start` parameter"):Re.value({type:"inline-command",start:"",end:t.start,cmd:"mceInsertContent",value:t.replacement}):e("Replacement pattern has non-string `replacement` parameter"):0===t.start.length?e("Block pattern has empty `start` parameter"):n("Block",o=>({type:"block-format",start:t.start,format:o[0]}),(o,r)=>({type:"block-command",start:t.start,cmd:o,value:r}))},dh=t=>gt(t,ik),ch=t=>gt(t,ak),uh=t=>{const e=(n=>{const o=[],r=[];return U(n,s=>{s.fold(a=>{o.push(a)},a=>{r.push(a)})}),{errors:o,values:r}})(Et(t,lk));return U(e.errors,n=>console.error(n.message,n.pattern)),e.values},ic=kn().deviceType,dk=ic.isTouch(),ck=Ot.DOM,mh=t=>Ha(t,RegExp),G=t=>e=>e.options.get(t),lc=t=>at(t)||we(t),fh=(t,e="")=>n=>{const o=at(n);if(o){if(-1!==n.indexOf("=")){const r=(s=>{const a=s.indexOf("=")>0?s.split(/[;,](?![^=;,]*(?:[;,]|$))/):s.split(",");return Oe(a,(i,l)=>{const d=l.split("="),c=d[0],u=d.length>1?d[1]:c;return i[yr(c)]=yr(u),i},{})})(n);return{value:Pt(r,t.id).getOr(e),valid:o}}return{value:n,valid:o}}return{valid:!1,message:"Must be a string."}},uk=G("iframe_attrs"),mk=G("doctype"),gh=G("document_base_url"),fk=G("body_id"),gk=G("body_class"),ph=G("content_security_policy"),pk=G("br_in_pre"),ye=G("forced_root_block"),Ks=G("forced_root_block_attrs"),hk=G("newline_behavior"),bk=G("br_newline_selector"),vk=G("no_newline_selector"),yk=G("keep_styles"),Ck=G("end_container_on_empty_block"),hh=G("automatic_uploads"),bh=G("images_reuse_filename"),wk=G("images_replace_blob_uris"),vh=G("icons"),xk=G("icons_url"),Ek=G("images_upload_url"),_k=G("images_upload_base_path"),kk=G("images_upload_credentials"),Sk=G("images_upload_handler"),Nk=G("content_css_cors"),dc=G("referrer_policy"),yh=G("language"),Rk=G("language_url"),Ch=G("indent_use_margin"),Ak=G("indentation"),Tk=G("content_css"),Ok=G("content_style"),wh=G("font_css"),Bk=G("directionality"),Pk=G("inline_boundaries_selector"),xh=G("object_resizing"),Dk=G("resize_img_proportional"),Lk=G("placeholder"),Eh=G("event_root"),Mk=G("service_message"),Dr=G("theme"),Ik=G("theme_url"),cc=G("model"),Fk=G("model_url"),Ys=G("inline_boundaries"),Uk=G("formats"),zk=G("preview_styles"),jk=G("format_empty_lines"),Hk=G("format_noneditable_selector"),$k=G("custom_ui_selector"),uc=G("inline"),qk=G("hidden_input"),Vk=G("submit_patch"),Wk=G("add_form_submit_trigger"),Kk=G("add_unload_trigger"),Yk=G("custom_undo_redo_levels"),Gk=G("disable_nodechange"),_h=G("readonly"),Xk=G("editable_root"),kh=G("content_css_cors"),Ei=G("plugins"),Qk=G("external_plugins"),Jk=G("block_unsupported_drop"),Zk=G("visual"),tS=G("visual_table_class"),Sh=G("visual_anchor_class"),eS=G("iframe_aria_text"),nS=G("setup"),oS=G("init_instance_callback"),rS=G("urlconverter_callback"),sS=G("auto_focus"),aS=G("browser_spellcheck"),iS=G("protect"),lS=G("paste_block_drop"),_i=G("paste_data_images"),dS=G("paste_preprocess"),cS=G("paste_postprocess"),uS=G("newdocument_content"),mS=G("paste_webkit_styles"),fS=G("paste_remove_styles_if_webkit"),gS=G("paste_merge_formats"),pS=G("smart_paste"),hS=G("paste_as_text"),bS=G("paste_tab_spaces"),vS=G("allow_html_data_urls"),yS=G("text_patterns"),CS=G("text_patterns_lookup"),Nh=G("noneditable_class"),wS=G("editable_class"),xS=G("noneditable_regexp"),ES=G("preserve_cdata"),_S=G("highlight_on_focus"),mc=G("xss_sanitization"),kS=G("init_content_sync"),Rh=t=>H.explode(t.options.get("images_file_types")),SS=G("table_tab_navigation"),NS=G("details_initial_state"),RS=G("details_serialized_state"),AS=G("force_hex_color"),fc=G("sandbox_iframes"),TS=Z,Ah=j,Th=t=>{const e=t.parentNode;e&&e.removeChild(t)},Oh=t=>{const e=ze(t);return{count:t.length-e.length,text:e}},Bh=t=>{let e;for(;-1!==(e=t.data.lastIndexOf(se));)t.deleteData(e,1)},Ph=(t,e)=>(Ko(t),e),Ko=t=>{TS(t)&&$e(t)&&(Qg(t)?t.removeAttribute("data-mce-caret"):Th(t)),Ah(t)&&(Bh(t),0===t.data.length&&Th(t))},BS=Lt,PS=An,DS=ai,Dh=(t,e,n)=>{const o=Fp(e.getBoundingClientRect(),n);let r,s;if("BODY"===t.tagName){const i=t.ownerDocument.documentElement;r=t.scrollLeft||i.scrollLeft,s=t.scrollTop||i.scrollTop}else{const i=t.getBoundingClientRect();r=t.scrollLeft-i.left,s=t.scrollTop-i.top}o.left+=r,o.right+=r,o.top+=s,o.bottom+=s,o.width=1;let a=e.offsetWidth-e.clientWidth;return a>0&&(n&&(a*=-1),o.left+=a,o.right+=a),o},Lh=()=>_t.browser.isFirefox(),Gs=t=>BS(t)||PS(t),Xs=t=>(Gs(t)||Gn(t)&&Lh())&&Za(k(t)).exists(Po),MS=an,gc=Lt,IS=An,Mh=si("display","block table table-cell table-caption list-item"),Ih=$e,Fh=Tr,FS=Z,US=j,zS=ln,Lr=t=>t>0,Yo=t=>t<0,ki=(t,e)=>{let n;for(;n=t(e);)if(!Fh(n))return n;return null},Qs=(t,e,n,o,r)=>{const s=new te(t,o),a=gc(t)||Fh(t);let i;if(Yo(e)){if(a&&(i=ki(s.prev.bind(s),!0),n(i)))return i;for(;i=ki(s.prev.bind(s),r);)if(n(i))return i}if(Lr(e)){if(a&&(i=ki(s.next.bind(s),!0),n(i)))return i;for(;i=ki(s.next.bind(s),r);)if(n(i))return i}return null},po=(t,e)=>{for(;t&&t!==e;){if(Mh(t))return t;t=t.parentNode}return null},On=(t,e,n)=>po(t.container(),n)===po(e.container(),n),pc=(t,e)=>{if(!e)return C.none();const n=e.container(),o=e.offset();return FS(n)?C.from(n.childNodes[o+t]):C.none()},Uh=(t,e)=>{var n;const o=(null!==(n=e.ownerDocument)&&void 0!==n?n:document).createRange();return t?(o.setStartBefore(e),o.setEndBefore(e)):(o.setStartAfter(e),o.setEndAfter(e)),o},jS=(t,e,n)=>po(e,t)===po(n,t),zh=(t,e,n)=>{const o=t?"previousSibling":"nextSibling";let r=n;for(;r&&r!==e;){let s=r[o];if(s&&Ih(s)&&(s=s[o]),gc(s)||IS(s)){if(jS(e,s,r))return s;break}if(zS(s))break;r=r.parentNode}return null},Js=J(Uh,!0),Zs=J(Uh,!1),hc=(t,e,n)=>{let o;const r=J(zh,!0,e),s=J(zh,!1,e),a=n.startContainer,i=n.startOffset;if(Tr(a)){const l=US(a)?a.parentNode:a,d=l.getAttribute("data-mce-caret");if("before"===d&&(o=l.nextSibling,Xs(o)))return Js(o);if("after"===d&&(o=l.previousSibling,Xs(o)))return Zs(o)}if(!n.collapsed)return n;if(j(a)){if(Ih(a)){if(1===t){if(o=s(a),o)return Js(o);if(o=r(a),o)return Zs(o)}if(-1===t){if(o=r(a),o)return Zs(o);if(o=s(a),o)return Js(o)}return n}if(ui(a)&&i>=a.data.length-1)return 1===t&&(o=s(a),o)?Js(o):n;if(ci(a)&&i<=1)return-1===t&&(o=r(a),o)?Zs(o):n;if(i===a.data.length)return o=s(a),o?Js(o):n;if(0===i)return o=r(a),o?Zs(o):n}return n},jh=(t,e)=>pc(t?0:-1,e).filter(gc),ta=(t,e,n)=>{const o=hc(t,e,n);return-1===t?L.fromRangeStart(o):L.fromRangeEnd(o)},Si=t=>C.from(t.getNode()).map(k),bc=(t,e)=>{let n=e;for(;n=t(n);)if(n.isVisible())return n;return n},Ni=(t,e)=>{const n=On(t,e);return!(n||!Ht(t.getNode()))||n};var ie,t;(t=ie||(ie={}))[t.Backwards=-1]="Backwards",t[t.Forwards=1]="Forwards";const HS=Lt,Bn=j,Hh=Z,vc=Ht,Mr=ln,$h=t=>{return tp(t)||!!Bd(e=t)&&!Oe(Ie(e.getElementsByTagName("*")),(n,o)=>n||Zg(o),!1);var e},Ri=ep,qh=(t,e)=>t.hasChildNodes()&&e{if(Lr(t)){if(Mr(e.previousSibling)&&!Bn(e.previousSibling))return L.before(e);if(Bn(e))return L(e,0)}if(Yo(t)){if(Mr(e.nextSibling)&&!Bn(e.nextSibling))return L.after(e);if(Bn(e))return L(e,e.data.length)}return Yo(t)?vc(e)?L.before(e):L.after(e):L.before(e)},yc=(t,e,n)=>{let o,r,s,a;if(!Hh(n)||!e)return null;if(e.isEqual(L.after(n))&&n.lastChild){if(a=L.after(n.lastChild),Yo(t)&&Mr(n.lastChild)&&Hh(n.lastChild))return vc(n.lastChild)?L.before(n.lastChild):a}else a=e;const i=a.container();let l=a.offset();if(Bn(i)){if(Yo(t)&&l>0)return L(i,--l);if(Lr(t)&&l0&&(r=qh(i,l-1),Mr(r)))return!$h(r)&&(s=Qs(r,t,Ri,r),s)?Bn(s)?L(s,s.data.length):L.after(s):Bn(r)?L(r,r.data.length):L.before(r);if(Lr(t)&&l{const m=u.nextSibling;return m&&Mr(m)?Bn(m)?L(m,0):L.before(m):yc(ie.Forwards,L.after(u),c)})(n,r):!$h(r)&&(s=Qs(r,t,Ri,r),s)?Bn(s)?L(s,0):L.before(s):Bn(r)?L(r,0):L.after(r);o=r||a.getNode()}if(o&&(Lr(t)&&a.isAtEnd()||Yo(t)&&a.isAtStart())&&(o=Qs(o,t,Kt,n,!0),Ri(o,n)))return Vh(t,o);r=o&&Qs(o,t,Ri,n);const d=No(gt(((c,u)=>{const m=[];let p=c;for(;p&&p!==u;)m.push(p),p=p.parentNode;return m})(i,n),HS));return!d||r&&d.contains(r)?r?Vh(t,r):null:(a=Lr(t)?L.after(d):L.before(d),a)},Pn=t=>({next:e=>yc(ie.Forwards,e,t),prev:e=>yc(ie.Backwards,e,t)}),Wh=t=>L.isTextPosition(t)?0===t.offset():ln(t.getNode()),Kh=t=>{if(L.isTextPosition(t)){const e=t.container();return t.offset()===e.data.length}return ln(t.getNode(!0))},Yh=(t,e)=>!L.isTextPosition(t)&&!L.isTextPosition(e)&&t.getNode()===e.getNode(!0),qe=(t,e,n)=>{const o=Pn(e);return C.from(t?o.next(n):o.prev(n))},Ir=(t,e,n)=>qe(t,e,n).bind(o=>{return On(n,o,e)&&(s=n,a=o,t?!Yh(s,a)&&(L.isTextPosition(i=s)||!Ht(i.getNode()))&&Kh(s)&&Wh(a):!Yh(a,s)&&Wh(s)&&Kh(a))?qe(t,e,o):C.some(o);var s,a,i}),Gh=(t,e,n,o)=>Ir(t,e,n).bind(r=>o(r)?Gh(t,e,r,o):C.some(r)),Fr=(t,e)=>{const n=t?e.firstChild:e.lastChild;return j(n)?C.some(L(n,t?0:n.data.length)):n?ln(n)?C.some(t?L.before(n):Ht(o=n)?L.before(o):L.after(o)):((r,s,a)=>{const i=r?L.before(a):L.after(a);return qe(r,s,i)})(t,e,n):C.none();var o},Ae=J(qe,!0),Le=J(qe,!1),Ce=J(Fr,!0),dn=J(Fr,!1),Cc="_mce_caret",Ve=t=>Z(t)&&t.id===Cc,Go=(t,e)=>{let n=e;for(;n&&n!==t;){if(Ve(n))return n;n=n.parentNode}return null},Xh=t=>ht(t,"name"),Qh=t=>H.isArray(t.start),Ai=t=>!(!Xh(t)&&_o(t.forward))||t.forward,Jh=(t,e)=>(Z(e)&&t.isBlock(e)&&!e.innerHTML&&(e.innerHTML='
    '),e),$S=(t,e)=>dn(t).fold(zt,n=>(e.setStart(n.container(),n.offset()),e.setEnd(n.container(),n.offset()),!0)),Zh=(t,e,n)=>!(e.hasChildNodes()||!Go(t,e)||(((o,r)=>{var s;const a=(null!==(s=o.ownerDocument)&&void 0!==s?s:document).createTextNode(se);o.appendChild(a),r.setStart(a,0),r.setEnd(a,0)})(e,n),0)),tb=(t,e,n,o)=>{const r=n[e?"start":"end"],s=t.getRoot();if(r){let a=s,i=r[0];for(let l=r.length-1;a&&l>=1;l--){const d=a.childNodes;if(Zh(s,a,o))return!0;if(r[l]>d.length-1)return!!Zh(s,a,o)||$S(a,o);a=d[r[l]]}j(a)&&(i=Math.min(r[0],a.data.length)),Z(a)&&(i=Math.min(r[0],a.childNodes.length)),e?o.setStart(a,i):o.setEnd(a,i)}return!0},wc=t=>j(t)&&t.data.length>0,eb=(t,e,n)=>{const o=t.get(n.id+"_"+e),r=o?.parentNode,s=n.keep;if(o&&r){let a,i;if("start"===e?s?o.hasChildNodes()?(a=o.firstChild,i=1):wc(o.nextSibling)?(a=o.nextSibling,i=0):wc(o.previousSibling)?(a=o.previousSibling,i=o.previousSibling.data.length):(a=r,i=t.nodeIndex(o)+1):(a=r,i=t.nodeIndex(o)):s?o.hasChildNodes()?(a=o.firstChild,i=1):wc(o.previousSibling)?(a=o.previousSibling,i=o.previousSibling.data.length):(a=r,i=t.nodeIndex(o)):(a=r,i=t.nodeIndex(o)),!s){const l=o.previousSibling,d=o.nextSibling;let c;for(H.each(H.grep(o.childNodes),u=>{j(u)&&(u.data=u.data.replace(/\uFEFF/g,""))});c=t.get(n.id+"_"+e);)t.remove(c,!0);if(j(d)&&j(l)&&!_t.browser.isOpera()){const u=l.data.length;l.appendData(d.data),t.remove(d),a=l,i=u}}return C.some(L(a,i))}return C.none()},qS=(t,e,n)=>((o,r,s=!1)=>{return 2===r?rh(ze,s,o):3===r?(a=>{const i=a.getRng();return{start:Jp(a.dom.getRoot(),L.fromRangeStart(i)),end:Jp(a.dom.getRoot(),L.fromRangeEnd(i)),forward:a.isForward()}})(o):r?{rng:(a=o).getRng(),forward:a.isForward()}:ah(o,!1);var a})(t,e,n),VS=(t,e)=>{((n,o)=>{const r=n.dom;if(o){if(Qh(o))return((s,a)=>{const i=s.createRng();return tb(s,!0,a,i)&&tb(s,!1,a,i)?C.some({range:i,forward:Ai(a)}):C.none()})(r,o);if(at(o.start))return((s,a)=>{const i=C.from(Zp(s.getRoot(),a.start)),l=C.from(Zp(s.getRoot(),a.end));return be(i,l,(d,c)=>{const u=s.createRng();return u.setStart(d.container(),d.offset()),u.setEnd(c.container(),c.offset()),{range:u,forward:Ai(a)}})})(r,o);if(ht(o,"id"))return((s,a)=>{const i=eb(s,"start",a),l=eb(s,"end",a);return be(i,l.or(i),(d,c)=>{const u=s.createRng();return u.setStart(Jh(s,d.container()),d.offset()),u.setEnd(Jh(s,c.container()),c.offset()),{range:u,forward:Ai(a)}})})(r,o);if(Xh(o))return((s,a)=>C.from(s.select(a.name)[a.index]).map(i=>{const l=s.createRng();return l.selectNode(i),{range:l,forward:!0}}))(r,o);if((s=>ht(s,"rng"))(o))return C.some({range:o.rng,forward:Ai(o)})}return C.none()})(t,e).each(({range:n,forward:o})=>{t.setRng(n,o)})},We=t=>Z(t)&&"SPAN"===t.tagName&&"bookmark"===t.getAttribute("data-mce-type"),Ti=(nb=re,t=>nb===t);var nb;const Ur=t=>""!==t&&-1!==" \f\n\r\t\v".indexOf(t),xc=t=>!Ur(t)&&!Ti(t)&&!Sd(t),Ec=t=>{const e=[];if(t)for(let n=0;n{const n=ve(e,"td[data-mce-selected],th[data-mce-selected]");return n.length>0?n:gt(rn(t,s=>{const a=yi(s);return a?[k(a)]:[]}),Os)},zr=t=>ob(Ec(t.selection.getSel()),k(t.getBody())),ea=(t,e)=>_s(t,"table",e),rb=t=>fd(t).fold(W([t]),e=>[t].concat(rb(e))),_c=t=>gd(t).fold(W([t]),e=>"br"===xt(e)?To(e).map(n=>[t].concat(_c(n))).getOr([]):[t].concat(_c(e))),kc=(t,e)=>be((n=>{const o=n.startContainer,r=n.startOffset;return j(o)?0===r?C.some(k(o)):C.none():C.from(o.childNodes[r]).map(k)})(e),(n=>{const o=n.endContainer,r=n.endOffset;return j(o)?r===o.data.length?C.some(k(o)):C.none():C.from(o.childNodes[r-1]).map(k)})(e),(n,o)=>{const r=Zt(rb(t),J(kt,n)),s=Zt(_c(t),J(kt,o));return r.isSome()&&s.isSome()}).getOr(!1),Sc=(t,e,n,o)=>{const r=n,s=new te(n,r),a=fs(t.schema.getMoveCaretBeforeOnEnterElements(),(l,d)=>!Rt(["td","th","table"],d.toLowerCase()));let i=n;do{if(j(i)&&0!==H.trim(i.data).length)return void(o?e.setStart(i,0):e.setEnd(i,i.data.length));if(a[i.nodeName])return void(o?e.setStartBefore(i):"BR"===i.nodeName?e.setEndBefore(i):e.setEndAfter(i))}while(i=o?s.next():s.prev());"BODY"===r.nodeName&&(o?e.setStart(r,0):e.setEnd(r,r.childNodes.length))},Oi=t=>{const e=t.selection.getSel();return q(e)&&e.rangeCount>0},Nc=(t,e)=>{const n=zr(t);n.length>0?U(n,o=>{const r=o.dom,s=t.dom.createRng();s.setStartBefore(r),s.setEndAfter(r),e(s,!0)}):e(t.selection.getRng(),!1)},sb=(t,e,n)=>{const o=ah(t,e);n(o),t.moveToBookmark(o)},na=t=>fn(t?.nodeType),Rc=t=>Z(t)&&!We(t)&&!Ve(t)&&!Mo(t),ab=(t,e,n)=>{const{selection:o,dom:r}=t,s=o.getNode(),a=Lt(s);sb(o,!0,()=>{e()}),a&&Lt(s)&&r.isChildOf(s,t.getBody())?t.selection.select(s):n(o.getStart())&&WS(r,o)},WS=(t,e)=>{var n,o;const r=e.getRng(),{startContainer:s,startOffset:a}=r;if(!((i,l)=>{if(Rc(l)&&!/^(TD|TH)$/.test(l.nodeName)){const d=i.getAttrib(l,"data-mce-selected"),c=parseInt(d,10);return!isNaN(c)&&c>0}return!1})(t,e.getNode())&&Z(s)){const i=s.childNodes,l=t.getRoot();let d;if(a{if(t){const o=e?"nextSibling":"previousSibling";for(t=n?t:t[o];t;t=t[o])if(Z(t)||!Tc(t))return t}},Ac=(t,e)=>!!t.getTextBlockElements()[e.nodeName.toLowerCase()]||Uo(t,e),jr=(t,e,n)=>t.schema.isValidChild(e,n),Tc=(t,e=!1)=>{if(q(t)&&j(t)){const n=e?t.data.replace(/ /g,"\xa0"):t.data;return lo(n)}return!1},lb=(t,e)=>{const n=t.dom;return Rc(e)&&"false"===n.getContentEditable(e)&&((o,r)=>{const s="[data-mce-cef-wrappable]",a=Hk(o),i=hs(a)?s:`${s},${a}`;return gn(k(r),i)})(t,e)&&0===n.select('[contenteditable="true"]',e).length},ho=(t,e)=>Nt(t)?t(e):(q(e)&&(t=t.replace(/%(\w+)/g,(n,o)=>e[o]||n)),t),Oc=(t,e)=>(t=""+((t=t||"").nodeName||t),e=""+((e=e||"").nodeName||e),t.toLowerCase()===e.toLowerCase()),Bc=(t,e)=>{if(Gt(t))return null;{let n=String(t);return"color"!==e&&"backgroundColor"!==e||(n=Ds(n)),"fontWeight"===e&&700===t&&(n="bold"),"fontFamily"===e&&(n=n.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),n}},Bi=(t,e,n)=>{const o=t.getStyle(e,n);return Bc(o,n)},db=(t,e)=>{let n;return t.getParent(e,o=>!!Z(o)&&(n=t.getStyle(o,"text-decoration"),!!n&&"none"!==n)),n},Pi=(t,e,n)=>t.getParents(e,n,t.getRoot()),Pc=(t,e,n)=>{const o=t.formatter.get(e);return q(o)&&$t(o,n)},Dn=t=>vr(t,"block"),Ke=t=>vr(t,"selector"),ee=t=>vr(t,"inline"),Dc=t=>Ke(t)&&!1!==t.expand&&!ee(t),cb=t=>(e=>{const n=[];let o=e;for(;o;){if(j(o)&&o.data!==se||o.childNodes.length>1)return[];Z(o)&&n.push(o),o=o.firstChild}return n})(t).length>0,Lc=t=>Ve(t.dom)&&cb(t.dom),Hr=We,ub=Pi,mb=Tc,KS=Ac,fb=(t,e)=>{let n=e;for(;n;){if(Z(n)&&t.getContentEditable(n))return"false"===t.getContentEditable(n)?n:e;n=n.parentNode}return e},gb=(t,e,n,o)=>{const r=e.data;if(t){for(let s=n;s>0;s--)if(o(r.charAt(s-1)))return s}else for(let s=n;sgb(t,e,n,o=>Ti(o)||Ur(o)),GS=(t,e,n)=>gb(t,e,n,xc),pb=(t,e,n,o,r,s)=>{let a;const i=t.getParent(n,t.isBlock)||e,l=(d,c,u)=>{const m=qo(t);return C.from((r?m.backwards:m.forwards)(d,c,(f,h)=>Hr(f.parentNode)?-1:(a=f,u(r,f,h)),i))};return l(n,o,YS).bind(d=>s?l(d.container,d.offset+(r?-1:0),GS):C.some(d)).orThunk(()=>a?C.some({container:a,offset:r?0:a.length}):C.none())},hb=(t,e,n,o,r)=>{const s=o[r];j(o)&&hs(o.data)&&s&&(o=s);const a=ub(t,o);for(let i=0;i{var r;let s=n;const a=t.getRoot(),i=e[0];if(Dn(i)&&(s=i.wrapper?null:t.getParent(n,i.block,a)),!s){const l=null!==(r=t.getParent(n,"LI,TD,TH,SUMMARY"))&&void 0!==r?r:a;s=t.getParent(j(n)?n.parentNode:n,d=>d!==a&&KS(t.schema,d),l)}if(s&&Dn(i)&&i.wrapper&&(s=ub(t,s,"ul,ol").reverse()[0]||s),!s)for(s=n;s&&s[o]&&!t.isBlock(s[o])&&(s=s[o],!Oc(s,"br")););return s||n},vb=(t,e,n,o)=>{const r=n.parentNode;return!q(n[o])&&(!(r!==e&&!Gt(r)&&!t.isBlock(r))||vb(t,e,r,o))},Di=(t,e,n,o,r)=>{let s=n;const a=r?"previousSibling":"nextSibling",i=t.getRoot();if(j(n)&&!mb(n)&&(r?o>0:oHr(t.parentNode)||Hr(t),Xo=(t,e,n,o=!1)=>{let{startContainer:r,startOffset:s,endContainer:a,endOffset:i}=e;const l=n[0];return Z(r)&&r.hasChildNodes()&&(r=fo(r,s),j(r)&&(s=0)),Z(a)&&a.hasChildNodes()&&(a=fo(a,e.collapsed?i:i-1),j(a)&&(i=a.data.length)),r=fb(t,r),a=fb(t,a),yb(r)&&(r=Hr(r)?r:r.parentNode,r=e.collapsed?r.previousSibling||r:r.nextSibling||r,j(r)&&(s=e.collapsed?r.length:0)),yb(a)&&(a=Hr(a)?a:a.parentNode,a=e.collapsed?a.nextSibling||a:a.previousSibling||a,j(a)&&(i=e.collapsed?0:a.length)),e.collapsed&&(pb(t,t.getRoot(),r,s,!0,o).each(({container:d,offset:c})=>{r=d,s=c}),pb(t,t.getRoot(),a,i,!1,o).each(({container:d,offset:c})=>{a=d,i=c})),(ee(l)||l.block_expand)&&(ee(l)&&j(r)&&0!==s||(r=Di(t,n,r,s,!0)),ee(l)&&j(a)&&i!==a.data.length||(a=Di(t,n,a,i,!1))),Dc(l)&&(r=hb(t,n,e,r,"previousSibling"),a=hb(t,n,e,a,"nextSibling")),(Dn(l)||Ke(l))&&(r=bb(t,n,r,"previousSibling"),a=bb(t,n,a,"nextSibling"),Dn(l)&&(t.isBlock(r)||(r=Di(t,n,r,s,!0)),t.isBlock(a)||(a=Di(t,n,a,i,!1)))),Z(r)&&r.parentNode&&(s=t.nodeIndex(r),r=r.parentNode),Z(a)&&a.parentNode&&(i=t.nodeIndex(a)+1,a=a.parentNode),{startContainer:r,startOffset:s,endContainer:a,endOffset:i}},oa=(t,e,n)=>{var o;const r=e.startOffset,s=fo(e.startContainer,r),a=e.endOffset,i=fo(e.endContainer,a-1),l=g=>{const b=g[0];j(b)&&b===s&&r>=b.data.length&&g.splice(0,1);const v=g[g.length-1];return 0===a&&g.length>0&&v===i&&j(v)&&g.splice(g.length-1,1),g},d=(g,b,v)=>{const y=[];for(;g&&g!==v;g=g[b])y.push(g);return y},c=(g,b)=>t.getParent(g,v=>v.parentNode===b,b),u=(g,b,v)=>{const y=v?"nextSibling":"previousSibling";for(let x=g,w=x.parentNode;x&&x!==b;x=w){w=x.parentNode;const E=d(x===g?x:x[y],y);E.length&&(v||E.reverse(),n(l(E)))}};if(s===i)return n(l([s]));const m=null!==(o=t.findCommonAncestor(s,i))&&void 0!==o?o:t.getRoot();if(t.isChildOf(s,i))return u(s,m,!0);if(t.isChildOf(i,s))return u(i,m);const p=c(s,m)||s,f=c(i,m)||i;u(s,p,!0);const h=d(p===s?p:p.nextSibling,"nextSibling",f===i?f.nextSibling:f);h.length&&n(l(h)),u(i,f)},XS=['pre[class*=language-][contenteditable="false"]',"figure.image","div[data-ephox-embed-iri]","div.tiny-pageembed","div.mce-toc","div[data-mce-toc]"],Cb=(t,e,n,o,r,s)=>{const{uid:a=e,...i}=n;xr(t,Fs()),de(t,`${Br()}`,a),de(t,`${Ho()}`,o);const{attributes:l={},classes:d=[]}=r(a,i);if(jn(t,l),c=t,U(d,m=>{xr(c,m)}),s){d.length>0&&de(t,`${zs()}`,d.join(","));const c=Pe(l);c.length>0&&de(t,`${js()}`,c.join(","))}var c},wb=(t,e,n,o,r)=>{const s=oe("span",t);return Cb(s,e,n,o,r,!1),s},xb=t=>{const e=(()=>{const s={};return{register:(a,i)=>{s[a]={name:a,settings:i}},lookup:a=>Pt(s,a).map(i=>i.settings),getNames:()=>Pe(s)}})();((s,a)=>{const i=Ho(),l=c=>C.from(c.attr(i)).bind(a.lookup),d=c=>{var u,m;c.attr(Br(),null),c.attr(Ho(),null),c.attr(Us(),null);const p=C.from(c.attr(js())).map(b=>b.split(",")).getOr([]),f=C.from(c.attr(zs())).map(b=>b.split(",")).getOr([]);U(p,b=>c.attr(b,null));const h=null!==(m=null===(u=c.attr("class"))||void 0===u?void 0:u.split(" "))&&void 0!==m?m:[],g=$a(h,[Fs()].concat(f));c.attr("class",g.length>0?g.join(" "):null),c.attr(zs(),null),c.attr(js(),null)};s.serializer.addTempAttr(Us()),s.serializer.addAttributeFilter(i,c=>{for(const u of c)l(u).each(m=>{!1===m.persistent&&("span"===u.name?u.unwrap():d(u))})})})(t,e);const n=((s,a)=>{const i=ae({}),l=()=>({listeners:[],previous:mo()}),d=(p,f)=>{c(p,h=>(f(h),h))},c=(p,f)=>{const h=i.get(),g=f(Pt(h,p).getOrThunk(l));h[p]=g,i.set(h)},u=(p,f)=>{U(Bp(s,p),h=>{f?de(h,Us(),"true"):ce(h,Us())})},m=Jd(()=>{const p=ko(a.getNames());U(p,f=>{c(f,h=>{const g=h.previous.get();return Tp(s,C.some(f)).fold(()=>{g.each(b=>{var v;d(v=f,y=>{U(y.listeners,x=>x(!1,v))}),h.previous.clear(),u(b,!1)})},({uid:b,name:v,elements:y})=>{var x,w,E;Cr(g,b)||(g.each(x=>u(x,!1)),w=b,E=y,d(x=v,N=>{U(N.listeners,T=>T(!0,x,{uid:w,nodes:Et(E,O=>O.dom)}))}),h.previous.set(b),u(b,!0))}),{previous:h.previous,listeners:h.listeners}})})},30);return s.on("remove",()=>{m.cancel()}),s.on("NodeChange",()=>{m.throttle()}),{addListener:(p,f)=>{c(p,h=>({previous:h.previous,listeners:h.listeners.concat([f])}))}}})(t,e),o=Ja("span"),r=s=>{U(s,a=>{o(a)?Kn(a):(i=>{ys(i,Fs()),ce(i,`${Br()}`),ce(i,`${Ho()}`),ce(i,`${Us()}`);const l=Hn(i,`${js()}`).map(u=>u.split(",")).getOr([]),d=Hn(i,`${zs()}`).map(u=>u.split(",")).getOr([]);var c;U(l,u=>ce(i,u)),c=i,U(d,u=>{ys(c,u)}),ce(i,`${zs()}`),ce(i,`${js()}`)})(a)})};return{register:(s,a)=>{e.register(s,a)},annotate:(s,a)=>{e.lookup(s).each(i=>{var l,d,c,u;d=s,c=i,u=a,(l=t).undoManager.transact(()=>{const m=l.selection,p=m.getRng(),f=zr(l).length>0,h=Hs("mce-annotation");if(p.collapsed&&!f&&((g,b)=>{const v=Xo(g.dom,b,[{inline:"span"}]);b.setStart(v.startContainer,v.startOffset),b.setEnd(v.endContainer,v.endOffset),g.selection.setRng(b)})(l,p),m.getRng().collapsed&&!f){const g=wb(l.getDoc(),h,u,d,c.decorate);ni(g,re),m.getRng().insertNode(g.dom),m.select(g.dom)}else sb(m,!1,()=>{Nc(l,g=>{((t,e,n,o,r,s)=>{const a=[],i=wb(t.getDoc(),n,s,o,r),l=mo(),d=()=>{l.clear()},c=m=>{U(m,u)},u=m=>{switch(p=t,f=m,h="span",g=xt(m),sn(f).fold(()=>"skipping",b=>{return"br"===g||He(v=f)&&ii(v)===se?"valid":(v=>Fe(v)&&md(v,Fs()))(f)?"existing":Ve(f.dom)?"caret":$t(XS,v=>gn(f,v))?"valid-block":jr(p,h,g)&&jr(p,xt(b),h)?"valid":"invalid-child";var v})){case"invalid-child":{d();const p=ue(m);c(p),d();break}case"valid-block":d(),Cb(m,n,s,o,r,!0);break;case"valid":{const p=l.get().getOrThunk(()=>{const f=$o(i);return a.push(f),l.set(f),f});Ig(m,p);break}}var p,f,h,g};oa(t.dom,e,m=>{d(),(p=>{const f=Et(p,k);c(f)})(m)})})(l,g,h,d,c.decorate,u)})})})})},annotationChanged:(s,a)=>{n.addListener(s,a)},remove:s=>{Tp(t,C.some(s)).each(({elements:a})=>{const i=t.selection.getBookmark();r(a),t.selection.moveToBookmark(i)})},removeAll:s=>{const a=t.selection.getBookmark();Bt(Pp(t,s),(i,l)=>{r(i)}),t.selection.moveToBookmark(a)},getAll:s=>{const a=Pp(t,s);return Va(a,i=>Et(i,l=>l.dom))}}},ra=t=>({getBookmark:J(qS,t),moveToBookmark:J(VS,t)});ra.isBookmarkNode=We;const Eb=(t,e,n)=>!n.collapsed&&$t(n.getClientRects(),o=>{return a=e,(s=t)>=(r=o).left&&s<=r.right&&a>=r.top&&a<=r.bottom;var r,s,a}),_b=(t,e,n)=>{t.dispatch(e,n)},kb=(t,e,n,o)=>{t.dispatch("FormatApply",{format:e,node:n,vars:o})},Sb=(t,e,n,o)=>{t.dispatch("FormatRemove",{format:e,node:n,vars:o})},Nb=(t,e)=>t.dispatch("SetContent",e),Rb=(t,e)=>t.dispatch("GetContent",e),Ab=(t,e)=>t.dispatch("PastePlainTextToggle",{state:e}),Y={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:t=>t.shiftKey||t.ctrlKey||t.altKey||Y.metaKeyPressed(t),metaKeyPressed:t=>_t.os.isMacOS()||_t.os.isiOS()?t.metaKey:t.ctrlKey&&!t.altKey},Qo="data-mce-selected",Tb=Math.abs,Li=Math.round,Mc={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},Ob=(t,e)=>{const n=e.dom,o=e.getDoc(),r=document,s=e.getBody();let a,i,l,d,c,u,m,p,f,h,g,b,v,y,x;const w=K=>q(K)&&(Yg(K)||n.is(K,"figure.image")),E=K=>An(K)||n.hasClass(K,"mce-preview-object"),N=K=>{const X=K.target;((mt,S)=>{if("longpress"===(A=mt).type||0===A.type.indexOf("touch")){const A=mt.touches[0];return w(mt.target)&&!Eb(A.clientX,A.clientY,S)}var A;return w(mt.target)&&!Eb(mt.clientX,mt.clientY,S)})(K,e.selection.getRng())&&!K.isDefaultPrevented()&&e.selection.select(X)},T=K=>n.hasClass(K,"mce-preview-object")&&q(K.firstElementChild)?[K,K.firstElementChild]:n.is(K,"figure.image")?[K.querySelector("img")]:[K],O=K=>{const X=xh(e);return!!X&&"false"!==K.getAttribute("data-mce-resize")&&K!==e.getBody()&&(n.hasClass(K,"mce-preview-object")&&q(K.firstElementChild)?gn(k(K.firstElementChild),X):gn(k(K),X))},P=(K,X,mt)=>{if(q(mt)){const S=T(K);U(S,A=>{A.style[X]||!e.schema.isValid(A.nodeName.toLowerCase(),X)?n.setStyle(A,X,mt):n.setAttrib(A,X,""+mt)})}},_=(K,X,mt)=>{P(K,"width",X),P(K,"height",mt)},R=K=>{let X,mt,S,A,I;X=K.screenX-u,mt=K.screenY-m,b=X*d[2]+p,v=mt*d[3]+f,b=b<5?5:b,v=v<5?5:v,S=(w(a)||E(a))&&!1!==Dk(e)?!Y.modifierPressed(K):Y.modifierPressed(K),S&&(Tb(X)>Tb(mt)?(v=Li(b*h),b=Li(v/h)):(b=Li(v/h),v=Li(b*h))),_(i,b,v),A=d.startPos.x+X,I=d.startPos.y+mt,A=A>0?A:0,I=I>0?I:0,n.setStyles(l,{left:A,top:I,display:"block"}),l.innerHTML=b+" × "+v,d[2]<0&&i.clientWidth<=b&&n.setStyle(i,"left",void 0+(p-b)),d[3]<0&&i.clientHeight<=v&&n.setStyle(i,"top",void 0+(f-v)),X=s.scrollWidth-y,mt=s.scrollHeight-x,X+mt!==0&&n.setStyles(l,{left:A-X,top:I-mt}),g||(e.dispatch("ObjectResizeStart",{target:a,width:p,height:f,origin:"corner-"+d.name}),g=!0)},B=()=>{const K=g;g=!1,K&&(P(a,"width",b),P(a,"height",v)),n.unbind(o,"mousemove",R),n.unbind(o,"mouseup",B),r!==o&&(n.unbind(r,"mousemove",R),n.unbind(r,"mouseup",B)),n.remove(i),n.remove(l),n.remove(c),M(a),K&&(e.dispatch("ObjectResized",{target:a,width:b,height:v,origin:"corner-"+d.name}),n.setAttrib(a,"style",n.getAttrib(a,"style"))),e.nodeChanged()},M=K=>{lt();const X=n.getPos(K,s),mt=X.x,S=X.y,A=K.getBoundingClientRect(),I=A.width||A.right-A.left,F=A.height||A.bottom-A.top;a!==K&&($(),a=K,b=v=0);const z=e.dispatch("ObjectSelected",{target:K});O(K)&&!z.isDefaultPrevented()?Bt(Mc,(Q,it)=>{let ft=n.get("mceResizeHandle"+it);ft&&n.remove(ft),ft=n.add(s,"div",{id:"mceResizeHandle"+it,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+it+"-resize; margin:0; padding:0"}),n.bind(ft,"mousedown",dt=>{dt.stopImmediatePropagation(),dt.preventDefault(),(Tt=>{const tt=T(a)[0];var bt;u=Tt.screenX,m=Tt.screenY,p=tt.clientWidth,f=tt.clientHeight,h=f/p,d=Q,d.name=it,d.startPos={x:I*Q[0]+mt,y:F*Q[1]+S},y=s.scrollWidth,x=s.scrollHeight,c=n.add(s,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all"}),n.setStyles(c,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),i=E(bt=a)?n.create("img",{src:_t.transparentSrc}):bt.cloneNode(!0),n.addClass(i,"mce-clonedresizable"),n.setAttrib(i,"data-mce-bogus","all"),i.contentEditable="false",n.setStyles(i,{left:mt,top:S,margin:0}),_(i,I,F),i.removeAttribute(Qo),s.appendChild(i),n.bind(o,"mousemove",R),n.bind(o,"mouseup",B),r!==o&&(n.bind(r,"mousemove",R),n.bind(r,"mouseup",B)),l=n.add(s,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},p+" × "+f)})(dt)}),Q.elm=ft,n.setStyles(ft,{left:I*Q[0]+mt-ft.offsetWidth/2,top:F*Q[1]+S-ft.offsetHeight/2})}):$(!1)},V=vi(M,0),$=(K=!0)=>{V.cancel(),lt(),a&&K&&a.removeAttribute(Qo),Bt(Mc,(X,mt)=>{const S=n.get("mceResizeHandle"+mt);S&&(n.unbind(S),n.remove(S))})},ot=(K,X)=>n.isChildOf(K,X),et=K=>{if(g||e.removed||e.composing)return;const X="mousedown"===K.type?K.target:t.getNode(),mt=Bo(k(X),"table,img,figure.image,hr,video,span.mce-preview-object,details").map(A=>A.dom).filter(A=>n.isEditable(A.parentElement)||"IMG"===A.nodeName&&n.isEditable(A)).getOrUndefined(),S=q(mt)?n.getAttrib(mt,Qo,"1"):"1";if(U(n.select(`img[${Qo}],hr[${Qo}]`),A=>{A.removeAttribute(Qo)}),q(mt)&&ot(mt,s)&&e.hasFocus()){rt();const A=t.getStart(!0);if(ot(A,mt)&&ot(t.getEnd(!0),mt))return n.setAttrib(mt,Qo,S),void V.throttle(mt)}$()},lt=()=>{Bt(Mc,K=>{K.elm&&(n.unbind(K.elm),delete K.elm)})},rt=()=>{try{e.getDoc().execCommand("enableObjectResizing",!1,"false")}catch{}};return e.on("init",()=>{rt(),e.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop",et),e.on("keyup compositionend",K=>{a&&"TABLE"===a.nodeName&&et(K)}),e.on("hide blur",$),e.on("contextmenu longpress",N,!0)}),e.on("remove",lt),{isResizable:O,showResizeRect:M,hideResizeRect:$,updateResizeRect:et,destroy:()=>{V.cancel(),a=i=c=null}}},Bb=(t,e,n)=>{const o=t.document.createRange();var r,s;return r=o,e.fold(s=>{r.setStartBefore(s.dom)},(s,a)=>{r.setStart(s.dom,a)},s=>{r.setStartAfter(s.dom)}),s=o,n.fold(i=>{s.setEndBefore(i.dom)},(i,l)=>{s.setEnd(i.dom,l)},i=>{s.setEndAfter(i.dom)}),o},Ic=(t,e,n,o,r)=>{const s=t.document.createRange();return s.setStart(e.dom,n),s.setEnd(o.dom,r),s},sa=Tn([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Pb=(t,e,n)=>e(k(n.startContainer),n.startOffset,k(n.endContainer),n.endOffset),Db=(t,e,n,o)=>({start:t,soffset:e,finish:n,foffset:o}),JS=document.caretPositionFromPoint?(t,e,n)=>{var o,r;return C.from(null===(r=(o=t.dom).caretPositionFromPoint)||void 0===r?void 0:r.call(o,e,n)).bind(s=>{if(null===s.offsetNode)return C.none();const a=t.dom.createRange();return a.setStart(s.offsetNode,s.offset),a.collapse(),C.some(a)})}:document.caretRangeFromPoint?(t,e,n)=>{var o,r;return C.from(null===(r=(o=t.dom).caretRangeFromPoint)||void 0===r?void 0:r.call(o,e,n))}:C.none,Fc=Tn([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Qn={before:Fc.before,on:Fc.on,after:Fc.after,cata:(t,e,n,o)=>t.fold(e,n,o),getStart:t=>t.fold(Ne,Ne,Ne)},Mi=Tn([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),$r={domRange:Mi.domRange,relative:Mi.relative,exact:Mi.exact,exactFromRange:t=>Mi.exact(t.start,t.soffset,t.finish,t.foffset),getWin:t=>{const e=t.match({domRange:o=>k(o.startContainer),relative:(o,r)=>Qn.getStart(o),exact:(o,r,s,a)=>o});return xs(e)},range:Db},Ii=(t,e)=>{const n=xt(t);return"input"===n?Qn.after(t):Rt(["br","img"],n)?0===e?Qn.before(t):Qn.after(t):Qn.on(t,e)},ZS=(t,e)=>{const n=t.fold(Qn.before,Ii,Qn.after),o=e.fold(Qn.before,Ii,Qn.after);return $r.relative(n,o)},Lb=(t,e,n,o)=>{const r=Ii(t,e),s=Ii(n,o);return $r.relative(r,s)},Uc=(t,e)=>{const n=(e||document).createDocumentFragment();return U(t,o=>{n.appendChild(o.dom)}),k(n)},Mb=(t,e,n)=>{return(o=xs(k(n)).dom,r=t,s=e,((a,i,l)=>{const d=k(a.document);return JS(d,i,l).map(c=>Db(k(c.startContainer),c.startOffset,k(c.endContainer),c.endOffset))})(o,r,s)).map(o=>{const r=n.createRange();return r.setStart(o.start.dom,o.soffset),r.setEnd(o.finish.dom,o.foffset),r}).getOrUndefined();var o,r,s},zc=(t,e)=>q(t)&&q(e)&&t.startContainer===e.startContainer&&t.startOffset===e.startOffset&&t.endContainer===e.endContainer&&t.endOffset===e.endOffset,Ib=(t,e,n)=>null!==((o,r,s)=>{let a=o;for(;a&&a!==r;){if(s(a))return a;a=a.parentNode}return null})(t,e,n),eN=(t,e,n)=>Ib(t,e,o=>o.nodeName===n),nN=(t,e)=>$e(t)&&!Ib(t,e,Ve),Fb=(t,e,n)=>{const o=e.parentNode;if(o){const r=new te(e,t.getParent(o,t.isBlock)||t.getRoot());let s;for(;s=r[n?"prev":"next"]();)if(Ht(s))return!0}return!1},jc=(t,e,n,o,r)=>{const s=t.getRoot(),a=t.schema.getNonEmptyElements(),i=r.parentNode;let l,d;if(!i)return C.none();const c=t.getParent(i,t.isBlock)||s;if(o&&Ht(r)&&e&&t.isEmpty(c))return C.some(L(i,t.nodeIndex(r)));const u=new te(r,c);for(;d=u[o?"prev":"next"]();){if("false"===t.getContentEditableParent(d)||nN(d,s))return C.none();if(j(d)&&d.data.length>0)return eN(d,s,"A")?C.none():C.some(L(d,o?d.data.length:0));if(t.isBlock(d)||a[d.nodeName.toLowerCase()])return C.none();l=d}return so(l)?C.none():n&&l?C.some(L(l,0)):C.none()},Ub=(t,e,n,o)=>{const r=t.getRoot();let s,a=!1,i=n?o.startContainer:o.endContainer,l=n?o.startOffset:o.endOffset;const d=Z(i)&&l===i.childNodes.length,c=t.schema.getNonEmptyElements();let u=n;if($e(i))return C.none();if(Z(i)&&l>i.childNodes.length-1&&(u=!1),Rs(i)&&(i=r,l=0),i===r){if(u&&(s=i.childNodes[l>0?l-1:0],s)&&($e(s)||c[s.nodeName]||Gn(s)))return C.none();if(i.hasChildNodes()){if(l=Math.min(!u&&l>0?l-1:l,i.childNodes.length-1),i=i.childNodes[l],l=j(i)&&d?i.data.length:0,!e&&i===r.lastChild&&Gn(i)||((m,p)=>{let f=p;for(;f&&f!==m;){if(Lt(f))return!0;f=f.parentNode}return!1})(r,i)||$e(i)||kd(i))return C.none();if(i.hasChildNodes()&&!Gn(i)){s=i;const m=new te(i,r);do{if(Lt(s)||$e(s)){a=!1;break}if(j(s)&&s.data.length>0){l=u?0:s.data.length,i=s,a=!0;break}if(c[s.nodeName.toLowerCase()]&&!v_(s)){l=t.nodeIndex(s),i=s.parentNode,u||l++,a=!0;break}}while(s=u?m.next():m.prev())}}}return e&&(j(i)&&0===l&&jc(t,d,e,!0,i).each(m=>{i=m.container(),l=m.offset(),a=!0}),Z(i)&&(s=i.childNodes[l],s||(s=i.childNodes[l-1]),!s||!Ht(s)||"A"===(null===(f=s.previousSibling)||void 0===f?void 0:f.nodeName)||Fb(t,s,!1)||Fb(t,s,!0)||jc(t,d,e,!0,s).each(m=>{i=m.container(),l=m.offset(),a=!0}))),u&&!e&&j(i)&&l===i.data.length&&jc(t,d,e,!1,i).each(m=>{i=m.container(),l=m.offset(),a=!0}),a&&i?C.some(L(i,l)):C.none();var f},Fi=(t,e)=>{const n=e.collapsed,o=e.cloneRange(),r=L.fromRangeStart(e);return Ub(t,n,!0,o).each(s=>{n&&L.isAbove(r,s)||o.setStart(s.container(),s.offset())}),n||Ub(t,n,!1,o).each(s=>{o.setEnd(s.container(),s.offset())}),n&&o.collapse(!0),zc(e,o)?C.none():C.some(o)},Ui=(t,e)=>t.splitText(e),zi=t=>{let e=t.startContainer,n=t.startOffset,o=t.endContainer,r=t.endOffset;if(e===o&&j(e)){if(n>0&&nn){r-=n;const s=Ui(o,r).previousSibling;e=o=s,r=s.data.length,n=0}else r=0}else if(j(e)&&n>0&&n0&&r({walk:(e,n)=>oa(t,e,n),split:zi,expand:(e,n={type:"word"})=>{if("word"===n.type){const o=Xo(t,e,[{inline:"span"}]),r=t.createRng();return r.setStart(o.startContainer,o.startOffset),r.setEnd(o.endContainer,o.endOffset),r}return e},normalize:e=>Fi(t,e).fold(zt,n=>(e.setStart(n.startContainer,n.startOffset),e.setEnd(n.endContainer,n.endOffset),!0))});Jo.compareRanges=zc,Jo.getCaretRangeFromPoint=Mb,Jo.getSelectedNode=yi,Jo.getNode=fo;const oN=((t,e)=>{const n=r=>{const s=(a=>{const i=a.dom;return kr(a)?i.getBoundingClientRect().height:i.offsetHeight})(r);if(s<=0||null===s){const a=Rn(r,t);return parseFloat(a)||0}return s},o=(r,s)=>Oe(s,(a,i)=>{const l=Rn(r,i),d=void 0===l?0:parseInt(l,10);return isNaN(d)?a:a+d},0);return{set:(r,s)=>{if(!fn(s)&&!s.match(/^[0-9]+$/))throw new Error(t+".set accepts only positive integer values. Value was "+s);const a=r.dom;Ss(a)&&(a.style[t]=s+"px")},get:n,getOuter:n,aggregate:o,max:(r,s,a)=>{const i=o(r,a);return s>i?s-i:0}}})("height"),zb=()=>k(document),jb=(t,e)=>t.view(e).fold(W([]),n=>{const o=t.owner(n),r=jb(t,o);return[n].concat(r)});var rN=Object.freeze({__proto__:null,view:t=>{var e;return(t.dom===document?C.none():C.from(null===(e=t.dom.defaultView)||void 0===e?void 0:e.frameElement)).map(k)},owner:t=>qn(t)});const Hc=t=>"textarea"===xt(t),Hb=(t,e)=>{const n=(r=>{const s=r.dom.ownerDocument,a=s.body,i=s.defaultView,l=s.documentElement;if(a===r.dom)return Nr(a.offsetLeft,a.offsetTop);const d=oi(i?.pageYOffset,l.scrollTop),c=oi(i?.pageXOffset,l.scrollLeft),u=oi(l.clientTop,a.clientTop),m=oi(l.clientLeft,a.clientLeft);return wd(r).translate(c-m,d-u)})(t),o=oN.get(t);return{element:t,bottom:n.top+o,height:o,pos:n,cleanup:e}},$b=(t,e,n,o)=>{aN(t,(r,s)=>sN(t,e,n,o),n)},qb=(t,e,n,o,r)=>{const s={elm:o.element.dom,alignToTop:r};t.dispatch("ScrollIntoView",s).isDefaultPrevented()||(n(t,e,xd(e).top,o,r),t.dispatch("AfterScrollIntoView",s))},sN=(t,e,n,o)=>{k(t.getBody());const s=k(t.getDoc()),a=((i,l)=>{const d=((u,m)=>{const p=ue(u);if(0===p.length||Hc(u))return{element:u,offset:m};if(m\ufeff');return De(d.element,c),Hb(c,()=>Dt(c))})(k(n.startContainer),n.startOffset);qb(t,s,e,a,o),a.cleanup()},Vb=(t,e,n,o)=>{const r=k(t.getDoc());qb(t,r,n,Hb(k(e),vt),o)},aN=(t,e,n)=>{const o=n.startContainer,r=n.startOffset,s=n.endContainer,a=n.endOffset;e(k(o),k(s));const i=t.dom.createRng();i.setStart(o,r),i.setEnd(s,a),t.selection.setRng(n)},$c=(t,e,n,o,r)=>{const s=e.pos;if(o)zg(s.left,s.top,r);else{const a=s.top-n+e.height;zg(-t.getBody().getBoundingClientRect().left,a,r)}},Wb=(t,e,n,o,r,s)=>{const a=o+n,i=r.pos.top,l=r.bottom,d=l-i>=o;ia?$c(t,r,o,d?!1!==s:!0===s,e):l>a&&!d&&$c(t,r,o,!0===s,e)},Kb=(t,e,n,o,r)=>{const s=xs(e).dom.innerHeight;Wb(t,e,n,s,o,r)},Yb=(t,e,n,o,r)=>{const s=xs(e).dom.innerHeight;Wb(t,e,n,s,o,r);const a=(l=>{const d=zb(),c=xd(d),u=((f,h)=>{const g=h.owner(f);return jb(h,g)})(l,rN),m=wd(l),p=cs(u,(f,h)=>{const g=wd(h);return{left:f.left+g.left,top:f.top+g.top}},{left:0,top:0});return Nr(p.left+m.left+c.left,p.top+m.top+c.top)})(o.element),i=$g(window);a.topi.bottom&&jg(o.element,!0===r)},iN=(t,e,n)=>$b(t,Kb,e,n),lN=(t,e,n)=>Vb(t,e,Kb,n),dN=(t,e,n)=>$b(t,Yb,e,n),cN=(t,e,n)=>Vb(t,e,Yb,n),aa=(t,e,n)=>{(t.inline?iN:dN)(t,e,n)},Gb=(t,e=!1)=>t.dom.focus({preventScroll:e}),Xb=t=>{const e=ro(t).dom;return t.dom===e.activeElement},qc=(t=zb())=>C.from(t.dom.activeElement).map(k),Qb=(t,e)=>{const n=He(e)?ii(e).length:ue(e).length+1;return t>n?n:t<0?0:t},uN=t=>$r.range(t.start,Qb(t.soffset,t.start),t.finish,Qb(t.foffset,t.finish)),Jb=(t,e)=>!ri(e.dom)&&($n(t,e)||kt(t,e)),Zb=t=>e=>Jb(t,e.start)&&Jb(t,e.finish),mN=t=>$r.range(k(t.startContainer),t.startOffset,k(t.endContainer),t.endOffset),fN=t=>{const e=document.createRange();try{return e.setStart(t.start.dom,t.soffset),e.setEnd(t.finish.dom,t.foffset),C.some(e)}catch{return C.none()}},Vc=t=>{const e=t.inline||_t.browser.isFirefox()?(n=k(t.getBody()),(o=>{const r=o.getSelection();return(r&&0!==r.rangeCount?C.from(r.getRangeAt(0)):C.none()).map(mN)})(xs(n).dom).filter(Zb(n))):C.none();var n;t.bookmark=e.isSome()?e:t.bookmark},Wc=t=>(t.bookmark?t.bookmark:C.none()).bind(e=>{return n=k(t.getBody()),C.from(e).filter(Zb(n)).map(uN);var n}).bind(fN),t0={isEditorUIElement:t=>{const e=t.className.toString();return-1!==e.indexOf("tox-")||-1!==e.indexOf("mce-")}},Ye={setEditorTimeout:(t,e,n)=>{return fn(r=n)||(r=0),setTimeout(()=>{t.removed||e()},r);var r},setEditorInterval:(t,e,n)=>{const o=(fn(s=n)||(s=0),setInterval(()=>{t.removed?clearInterval(o):e()},s));var s;return o}};let qr;const Kc=Ot.DOM,Yc=t=>{const e=t.classList;return void 0!==e&&(e.contains("tox-edit-area")||e.contains("tox-edit-area__iframe")||e.contains("mce-content-body"))},ji=(t,e)=>{const n=$k(t);return null!==Kc.getParent(e,r=>{return Z(s=r)&&t0.isEditorUIElement(s)||!!n&&t.dom.is(r,n);var s})},Gc=t=>{try{const e=ro(k(t.getElement()));return qc(e).fold(()=>document.body,n=>n.dom)}catch{return document.body}},gN=(t,e)=>{const n=e.editor;(r=>{const s=vi(()=>{Vc(r)},0);r.on("init",()=>{var a,d;r.inline&&((a,i)=>{const l=()=>{i.throttle()};Ot.DOM.bind(document,"mouseup",l),a.on("remove",()=>{Ot.DOM.unbind(document,"mouseup",l)})})(r,s),d=s,(a=r).on("mouseup touchend",c=>{d.throttle()}),a.on("keyup NodeChange AfterSetSelectionRange",l=>{(d=>"nodechange"===d.type&&d.selectionChange)(l)||Vc(a)})}),r.on("remove",()=>{s.cancel()})})(n);const o=(r,s)=>{_S(r)&&!0!==r.inline&&s(k(r.getContainer()),"tox-edit-focus")};n.on("focusin",()=>{const r=t.focusedEditor;Yc(Gc(n))&&o(n,xr),r!==n&&(r&&r.dispatch("blur",{focusedEditor:n}),t.setActive(n),t.focusedEditor=n,n.dispatch("focus",{blurredEditor:r}),n.focus(!0))}),n.on("focusout",()=>{Ye.setEditorTimeout(n,()=>{const r=t.focusedEditor;Yc(Gc(n))&&r===n||o(n,ys),ji(n,Gc(n))||r!==n||(n.dispatch("blur",{focusedEditor:null}),t.focusedEditor=null)})}),qr||(qr=r=>{const s=t.activeEditor;s&&Tg(r).each(a=>{a.ownerDocument===document&&(a===document.body||ji(s,a)||t.focusedEditor!==s||(s.dispatch("blur",{focusedEditor:null}),t.focusedEditor=null))})},Kc.bind(document,"focusin",qr))},pN=(t,e)=>{t.focusedEditor===e.editor&&(t.focusedEditor=null),!t.activeEditor&&qr&&(Kc.unbind(document,"focusin",qr),qr=null)},e0=(t,e)=>{var n,o,r;(n=k(t.getBody()),o=e,(r=o,r.collapsed?C.from(fo(r.startContainer,r.startOffset)).map(k):C.none()).bind(r=>w_(r)?C.some(r):$n(n,r)?C.none():C.some(n))).bind(n=>Ce(n.dom)).fold(()=>{t.selection.normalize()},n=>t.selection.setRng(n.toRange()))},Xc=t=>{if(t.setActive)try{t.setActive()}catch{t.focus()}else t.focus()},Zo=t=>{return t.inline?(e=>{const n=e.getBody();return n&&(o=k(n),Xb(o)||(r=o,qc(ro(r)).filter(s=>r.dom.contains(s.dom))).isSome());var o,r})(t):q((e=t).iframeElement)&&Xb(k(e.iframeElement));var e},n0=t=>Zo(t)||(e=>{const n=ro(k(e.getElement()));return qc(n).filter(o=>!Yc(o.dom)&&ji(e,o.dom)).isSome()})(t),Qc=t=>t.editorManager.setActive(t),o0=(t,e)=>e.collapsed?t.isEditable(e.startContainer):t.isEditable(e.startContainer)&&t.isEditable(e.endContainer),r0=(t,e,n,o,r)=>{const a=n?e.startOffset:e.endOffset;return C.from(n?e.startContainer:e.endContainer).map(k).map(i=>o&&e.collapsed?i:_r(i,r(i,a)).getOr(i)).bind(i=>Fe(i)?C.some(i):sn(i).filter(Fe)).map(i=>i.dom).getOr(t)},s0=(t,e,n=!1)=>r0(t,e,!0,n,(o,r)=>Math.min(pd(o),r)),a0=(t,e,n=!1)=>r0(t,e,!1,n,(o,r)=>r>0?r-1:r),i0=(t,e)=>{const n=t;for(;t&&j(t)&&0===t.length;)t=e?t.nextSibling:t.previousSibling;return t||n},Jc=(t,e)=>Et(e,n=>{const o=t.dispatch("GetSelectionRange",{range:n});return o.range!==n?o.range:n}),hN=["img","br"],l0=t=>{return Gg(t).filter(n=>0!==n.trim().length||n.indexOf(re)>-1).isSome()||Rt(hN,xt(t))||Qa(n=t)&&"false"===Ue(n,"contenteditable");var n},d0="[data-mce-autocompleter]",c0=t=>ks(t,d0),vN={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Hi=(t,e,n)=>{const o=n?"lastChild":"firstChild",r=n?"prev":"next";if(t[o])return t[o];if(t!==e){let s=t[r];if(s)return s;for(let a=t.parent;a&&a!==e;a=a.parent)if(s=a[r],s)return s}},yN=t=>{var e;const n=null!==(e=t.value)&&void 0!==e?e:"";if(!lo(n))return!1;const o=t.parent;return!o||"span"===o.name&&!o.attr("style")||!/^[ ]+$/.test(n)},u0=t=>{const e="a"===t.name&&!t.attr("href")&&t.attr("id");return t.attr("name")||t.attr("id")&&!t.firstChild||t.attr("data-mce-bookmark")||e};class Ee{static create(e,n){const o=new Ee(e,vN[e]||1);return n&&Bt(n,(r,s)=>{o.attr(s,r)}),o}constructor(e,n){this.name=e,this.type=n,1===n&&(this.attributes=[],this.attributes.map={})}replace(e){const n=this;return e.parent&&e.remove(),n.insert(e,n),n.remove(),n}attr(e,n){const o=this;if(!at(e))return q(e)&&Bt(e,(s,a)=>{o.attr(a,s)}),o;const r=o.attributes;if(r){if(void 0!==n){if(null===n){if(e in r.map){delete r.map[e];let s=r.length;for(;s--;)if(r[s].name===e)return r.splice(s,1),o}return o}if(e in r.map){let s=r.length;for(;s--;)if(r[s].name===e){r[s].value=n;break}}else r.push({name:e,value:n});return r.map[e]=n,o}return r.map[e]}}clone(){const e=this,n=new Ee(e.name,e.type),o=e.attributes;if(o){const r=[];r.map={};for(let s=0,a=o.length;sat(t.nodeValue)&&t.nodeValue.includes(se),f0=t=>(0===t.length?"":`${Et(t,e=>`[${e}]`).join(",")},`)+'[data-mce-bogus="all"]',g0=t=>document.createTreeWalker(t,NodeFilter.SHOW_COMMENT,e=>m0(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),p0=t=>document.createTreeWalker(t,NodeFilter.SHOW_TEXT,e=>{if(m0(e)){const n=e.parentNode;return n&&ht(CN,n.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_SKIP}),wN=t=>null!==g0(t).nextNode(),xN=t=>null!==p0(t).nextNode(),EN=(t,e)=>null!==e.querySelector(f0(t)),_N=(t,e)=>{U(e.querySelectorAll(f0(t)),n=>{const o=k(n);"all"===Ue(o,"data-mce-bogus")?Dt(o):U(t,r=>{bs(o,r)&&ce(o,r)})})},h0=t=>{let e=t.nextNode();for(;null!==e;)e.nodeValue=null,e=t.nextNode()},kN=En(h0,g0),SN=En(h0,p0),b0=(t,e)=>{const n=[{condition:J(EN,e),action:J(_N,e)},{condition:wN,action:kN},{condition:xN,action:SN}];let o=t,r=!1;return U(n,({condition:s,action:a})=>{s(o)&&(r||(o=t.cloneNode(!0),r=!0),a(o))}),o},v0=t=>{const e=ve(t,"[data-mce-bogus]");U(e,n=>{"all"===Ue(n,"data-mce-bogus")?Dt(n):Io(n)?(De(n,Er("\ufeff")),Dt(n)):Kn(n)})},y0=t=>{const e=ve(t,"input");U(e,n=>{ce(n,"name")})},C0=H.makeMap,w0=t=>{const e=[],n=(t=t||{}).indent,o=C0(t.indent_before||""),r=C0(t.indent_after||""),s=co.getEncodeFunc(t.entity_encoding||"raw",t.entities),a="xhtml"!==t.element_format;return{start:(i,l,d)=>{if(n&&o[i]&&e.length>0){const c=e[e.length-1];c.length>0&&"\n"!==c&&e.push("\n")}if(e.push("<",i),l)for(let c=0,u=l.length;c":" />",d&&n&&r[i]&&e.length>0){const c=e[e.length-1];c.length>0&&"\n"!==c&&e.push("\n")}},end:i=>{let l;e.push(""),n&&r[i]&&e.length>0&&(l=e[e.length-1],l.length>0&&"\n"!==l&&e.push("\n"))},text:(i,l)=>{i.length>0&&(e[e.length]=l?i:s(i))},cdata:i=>{e.push("")},comment:i=>{e.push("\x3c!--",i,"--\x3e")},pi:(i,l)=>{l?e.push(""):e.push(""),n&&e.push("\n")},doctype:i=>{e.push("",n?"\n":"")},reset:()=>{e.length=0},getContent:()=>e.join("").replace(/\n$/,"")}},bo=(t={},e=uo())=>{const n=w0(t);return t.validate=!("validate"in t)||t.validate,{serialize:o=>{const r=t.validate,s={3:i=>{var l;n.text(null!==(l=i.value)&&void 0!==l?l:"",i.raw)},8:i=>{var l;n.comment(null!==(l=i.value)&&void 0!==l?l:"")},7:i=>{n.pi(i.name,i.value)},10:i=>{var l;n.doctype(null!==(l=i.value)&&void 0!==l?l:"")},4:i=>{var l;n.cdata(null!==(l=i.value)&&void 0!==l?l:"")},11:i=>{let l=i;if(l=l.firstChild)do{a(l)}while(l=l.next)}};n.reset();const a=i=>{var l;const d=s[i.type];if(d)d(i);else{const c=i.name,u=c in e.getVoidElements();let m=i.attributes;if(r&&m&&m.length>1){const p=[];p.map={};const f=e.getElementRule(i.name);if(f){for(let h=0,g=f.attributesOrder.length;h{x0.add(t)});const E0=["font","text-decoration","text-emphasis"],Zc=(t,e)=>Pe(t.parseStyle(t.getAttrib(e,"style"))),RN=(t,e,n)=>{const o=Zc(t,e),r=Zc(t,n),s=a=>{var i,l;const d=null!==(i=t.getStyle(e,a))&&void 0!==i?i:"",c=null!==(l=t.getStyle(n,a))&&void 0!==l?l:"";return _n(d)&&_n(c)&&d!==c};return $t(o,a=>{const i=l=>$t(l,d=>d===a);if(!i(r)&&i(E0)){const l=gt(r,d=>$t(E0,c=>le(d,c)));return $t(l,s)}return s(a)})},_0=(t,e,n)=>C.from(n.container()).filter(j).exists(o=>{const r=t?0:-1;return e(o.data.charAt(n.offset()+r))}),tu=J(_0,!0,Ur),eu=J(_0,!1,Ur),AN=t=>{const e=t.container();return j(e)&&(0===e.data.length||di(e.data)&&ra.isBookmarkNode(e.parentNode))},vo=(t,e)=>n=>pc(t?0:-1,n).filter(e).isSome(),k0=t=>Yg(t)&&"block"===Rn(k(t),"display"),S0=t=>{return Lt(t)&&!(Z(e=t)&&"all"===e.getAttribute("data-mce-bogus"));var e},TN=vo(!0,k0),ON=vo(!1,k0),ia=vo(!0,An),la=vo(!1,An),N0=vo(!0,Gn),R0=vo(!1,Gn),yo=vo(!0,S0),Co=vo(!1,S0),A0=(t,e)=>{return r=zt,$n(o=e,n=t)?Sg(n,s=>r(s)||kt(s,o)).slice(0,-1):[];var n,o,r},Jn=(t,e)=>[t].concat(A0(t,e)),nu=(t,e,n)=>Gh(t,e,n,AN),T0=(t,e,n)=>Zt(Jn(k(e.container()),t),(o=>r=>o.isBlock(xt(r)))(n)),O0=(t,e,n,o)=>nu(t,e.dom,n).forall(r=>T0(e,n,o).fold(()=>!On(r,n,e.dom),s=>!On(r,n,e.dom)&&$n(s,k(r.container())))),B0=(t,e,n,o)=>T0(e,n,o).fold(()=>nu(t,e.dom,n).forall(r=>!On(r,n,e.dom)),r=>nu(t,r.dom,n).isNone()),ou=J(B0,!1),P0=J(B0,!0),BN=J(O0,!1),PN=J(O0,!0),DN=t=>Si(t).exists(Io),$i=(t,e,n,o)=>{const r=gt(Jn(k(n.container()),e),a=>o.isBlock(xt(a))),s=Be(r).getOr(e);return qe(t,s.dom,n).filter(DN)},ru=(t,e,n)=>Si(e).exists(Io)||$i(!0,t,e,n).isSome(),su=(t,e,n)=>{return(o=e,C.from(o.getNode(!0)).map(k)).exists(Io)||$i(!1,t,e,n).isSome();var o},LN=J($i,!1),MN=J($i,!0),D0=t=>L.isTextPosition(t)&&!t.isAtStart()&&!t.isAtEnd(),L0=(t,e,n)=>{const o=gt(Jn(k(e.container()),t),r=>n.isBlock(xt(r)));return Be(o).getOr(t)},M0=(t,e,n)=>D0(e)?eu(e):eu(e)||Le(L0(t,e,n).dom,e).exists(eu),I0=(t,e,n)=>D0(e)?tu(e):tu(e)||Ae(L0(t,e,n).dom,e).exists(tu),au=t=>Si(t).bind(e=>Oo(e,Fe)).exists(e=>{return n=Rn(e,"white-space"),Rt(["pre","pre-wrap"],n);var n}),F0=(t,e)=>n=>{return o=new te(n,t)[e](),q(o)&&Lt(o)&&Mh(o);var o},U0=(t,e,n)=>{return!au(e)&&(s=n,Le((o=t).dom,r=e).isNone()||Ae(o.dom,r).isNone()||ou(o,r,s)||P0(o,r,s)||su(o,r,s)||ru(o,r,s)||M0(t,e,n)||I0(t,e,n));var o,r,s},da=(t,e,n)=>!au(e)&&(ou(t,e,n)||BN(t,e,n)||su(t,e,n)||M0(t,e,n)||((o,r)=>{const s=Le(o.dom,r).getOr(r),a=F0(o.dom,"prev");return r.isAtStart()&&(a(r.container())||a(s.container()))})(t,e)),ca=(t,e,n)=>!au(e)&&(P0(t,e,n)||PN(t,e,n)||ru(t,e,n)||I0(t,e,n)||((o,r)=>{const s=Ae(o.dom,r).getOr(r),a=F0(o.dom,"next");return r.isAtEnd()&&(a(r.container())||a(s.container()))})(t,e)),iu=(t,e,n)=>da(t,e,n)||ca(t,(o=>{const r=o.container(),s=o.offset();return j(r)&&sTi(t.charAt(e)),j0=(t,e)=>Ur(t.charAt(e)),H0=(t,e,n,o)=>{const r=e.data,s=L(e,0);return n||!z0(r,0)||iu(t,s,o)?!!(n&&j0(r,0)&&da(t,s,o))&&(e.data=re+r.slice(1),!0):(e.data=" "+r.slice(1),!0)},$0=(t,e,n,o)=>{const r=e.data,s=L(e,r.length-1);return n||!z0(r,r.length-1)||iu(t,s,o)?!!(n&&j0(r,r.length-1)&&ca(t,s,o))&&(e.data=r.slice(0,-1)+re,!0):(e.data=r.slice(0,-1)+" ",!0)},q0=(t,e,n,o)=>{if(0===n)return;const r=k(t),s=Vn(r,d=>o.isBlock(xt(d))).getOr(r),a=t.data.slice(e,e+n),i=e+n>=t.data.length&&ca(s,L(t,t.data.length),o),l=0===e&&da(s,L(t,0),o);t.replaceData(e,n,op(a,4,l,i))},qi=(t,e,n)=>{const o=t.data.slice(e),r=o.length-WE(o).length;q0(t,e,r,n)},lu=(t,e,n)=>{const o=t.data.slice(0,e),r=o.length-Xf(o).length;q0(t,e-r,r,n)},du=(t,e,n,o,r=!0)=>{const s=Xf(t.data).length,a=r?t:e,i=r?e:t;return r?a.appendData(i.data):a.insertData(0,i.data),Dt(k(i)),o&&qi(a,s,n),a},FN=(t,e)=>((n,o)=>{const r=n.container(),s=n.offset();return!L.isTextPosition(n)&&r===o.parentNode&&s>L.before(o).offset()})(e,t)?L(e.container(),e.offset()-1):e,V0=t=>{return ln(t.previousSibling)?C.some(j(e=t.previousSibling)?L(e,e.data.length):L.after(e)):t.previousSibling?dn(t.previousSibling):C.none();var e},W0=t=>{return ln(t.nextSibling)?C.some(j(e=t.nextSibling)?L(e,0):L.before(e)):t.nextSibling?Ce(t.nextSibling):C.none();var e},K0=(t,e,n)=>{n.fold(()=>{t.focus()},o=>{t.selection.setRng(o.toRange(),e)})},zN=(t,e)=>e&&ht(t.schema.getBlockElements(),xt(e)),tr=(t,e,n,o=!0,r=!1)=>{const s=((t,e,n)=>{return(o=t,r=e,s=n,o?(a=r,W0(i=s).orThunk(()=>V0(i)).orThunk(()=>{return Ae(l=a,L.after(d=i)).orThunk(()=>Le(l,L.before(d)));var l,d})):((a,i)=>V0(i).orThunk(()=>W0(i)).orThunk(()=>{return l=a,C.from((d=i).previousSibling?d.previousSibling:d.parentNode).bind(c=>Le(l,L.before(c))).orThunk(()=>Ae(l,L.after(d)));var l,d}))(r,s)).map(J(FN,n));var o,r,s,a,i})(e,t.getBody(),n.dom),a=Vn(n,J(zN,t),(i=t.getBody(),d=>d.dom===i));var i;const l=((d,c,u,m)=>{const p=To(d).filter(He),f=Es(d).filter(He);return Dt(d),(h=p,g=f,b=c,v=(y,x,w)=>{const E=y.dom,N=x.dom,T=E.data.length;return du(E,N,u,m),w.container()===N?L(E,T):w},h.isSome()&&g.isSome()&&b.isSome()?C.some(v(h.getOrDie(),g.getOrDie(),b.getOrDie())):C.none()).orThunk(()=>(m&&(p.each(y=>lu(y.dom,y.dom.length,u)),f.each(y=>qi(y.dom,0,u))),c));var h,g,b,v})(n,s,t.schema,(c=n,ht(t.schema.getTextInlineElements(),xt(c))));var c;t.dom.isEmpty(t.getBody())?(t.setContent(""),t.selection.setCursorLocation()):a.bind(d=>((c,u)=>{if(Vt(c)){const m=ws('
    ');return u?U(ue(c),p=>{Lc(p)||Dt(p)}):Sr(c),Yt(c,m),C.some(L.before(m.dom))}return C.none()})(d,r)).fold(()=>{o&&K0(t,e,l)},d=>{o&&K0(t,e,C.some(d))})},jN=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,er=(t,e)=>gn(k(e),Pk(t))&&!Uo(t.schema,e)&&t.dom.isEditable(e),Y0=t=>{var e,n;return"rtl"===Ot.DOM.getStyle(t,"direction",!0)||(n=null!==(e=t.textContent)&&void 0!==e?e:"",jN.test(n))},wo=(t,e,n)=>{const o=(r=t,s=e,gt(Ot.DOM.getParents(n.container(),"*",s),r));var r,s;return C.from(o[o.length-1])},Ge=(t,e)=>{const n=e.container(),o=e.offset();return t?io(n)?j(n.nextSibling)?L(n.nextSibling,0):L.after(n):Ad(e)?L(n,o+1):e:io(n)?j(n.previousSibling)?L(n.previousSibling,n.previousSibling.data.length):L.before(n):Td(e)?L(n,o-1):e},G0=J(Ge,!0),X0=J(Ge,!1),Q0=(t,e)=>{const n=o=>o.stopImmediatePropagation();t.on("beforeinput input",n,!0),t.getDoc().execCommand(e),t.off("beforeinput input",n)},cu=t=>Q0(t,"Delete"),HN=t=>Xg(t)||Ts(t),Vi=(t,e)=>$n(t,e)?Oo(e,HN,(n=>o=>Cr(sn(o),n,kt))(t)):C.none(),uu=(t,e=!0)=>{t.dom.isEmpty(t.getBody())&&t.setContent("",{no_selection:!e})},J0=(t,e,n)=>be(Ce(n),dn(n),(o,r)=>{const s=Ge(!0,o),a=Ge(!1,r),i=Ge(!1,e);return t?Ae(n,i).exists(l=>l.isEqual(a)&&e.isEqual(s)):Le(n,i).exists(l=>l.isEqual(s)&&e.isEqual(a))}).getOr(!0),Z0=t=>{var e;return(8===hg(e=t)||"#comment"===xt(e)?To(t):gd(t)).bind(Z0).orThunk(()=>C.some(t))},tv=(t,e,n,o=!0)=>{var r;e.deleteContents();const s=Z0(n).getOr(n),a=k(null!==(r=t.dom.getParent(s.dom,t.dom.isBlock))&&void 0!==r?r:n.dom);if(a.dom===t.getBody()?uu(t,o):Vt(a)&&(ao(a),o&&t.selection.setCursorLocation(a.dom,0)),!kt(n,a)){const l=Cr(sn(a),n)?[]:sn(i=a).map(ue).map(d=>gt(d,c=>!kt(i,c))).getOr([]);U(l.concat(ue(n)),d=>{kt(d,a)||$n(d,a)||!Vt(d)||Dt(d)})}var i},ev=(t,e)=>Bg(t,e).isSome(),mu=t=>ve(t,"td,th"),nv=(t,e)=>ea(k(t),e),fu=(t,e)=>({start:t,end:e}),ua=Tn([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),Wi=(t,e)=>Bo(k(t),"td,th",e),ov=t=>!kt(t.start,t.end),rv=(t,e)=>ea(t.start,e).bind(n=>ea(t.end,e).bind(o=>wr(kt(n,o),n))),gu=t=>e=>rv(e,t).map(n=>((o,r,s)=>({rng:o,table:r,cells:s}))(e,n,mu(n))),sv=(t,e,n,o)=>{if(n.collapsed||!t.forall(ov))return C.none();if(e.isSameTable){const r=t.bind(gu(o));return C.some({start:r,end:r})}{const r=Wi(n.startContainer,o),s=Wi(n.endContainer,o),a=r.bind((l=>d=>ea(d,l).bind(c=>So(mu(c)).map(u=>fu(d,u))))(o)).bind(gu(o)),i=s.bind((l=>d=>ea(d,l).bind(c=>Be(mu(c)).map(u=>fu(u,d))))(o)).bind(gu(o));return C.some({start:a,end:i})}},av=(t,e)=>us(t,n=>kt(n,e)),pu=t=>be(av(t.cells,t.rng.start),av(t.cells,t.rng.end),(e,n)=>t.cells.slice(e,n+1)),iv=(t,e)=>{const{startTable:n,endTable:o}=e,r=t.cloneRange();return n.each(s=>r.setStartAfter(s.dom)),o.each(s=>r.setEndBefore(s.dom)),r},lv=t=>U(t,e=>{ce(e,"contenteditable"),ao(e)}),hu=(t,e,n,o)=>{const r=n.cloneRange();o?(r.setStart(n.startContainer,n.startOffset),r.setEndAfter(e.dom.lastChild)):(r.setStartBefore(e.dom.firstChild),r.setEnd(n.endContainer,n.endOffset)),bu(t,r,e,!1).each(s=>s())},dv=t=>{const e=zr(t),n=k(t.selection.getNode());ai(n.dom)&&Vt(n)?t.selection.setCursorLocation(n.dom,0):t.selection.collapse(!0),e.length>1&&$t(e,o=>kt(o,n))&&de(n,"data-mce-selected","1")},cv=(t,e,n)=>C.some(()=>{const o=t.selection.getRng(),r=n.bind(({rng:s,isStartInTable:a})=>{const i=C.from((d=t).dom.getParent(a?s.endContainer:s.startContainer,d.dom.isBlock)).map(k);var d;s.deleteContents(),((d,c,u)=>{u.each(m=>{c?Dt(m):(ao(m),d.selection.setCursorLocation(m.dom,0))})})(t,a,i.filter(Vt));const l=a?e[0]:e[e.length-1];return hu(t,l,o,a),Vt(l)?C.none():C.some(a?e.slice(1):e.slice(0,-1))}).getOr(e);lv(r),dv(t)}),VN=(t,e,n,o)=>C.some(()=>{const r=t.selection.getRng(),s=e[0],a=n[n.length-1];hu(t,s,r,!0),hu(t,a,r,!1);const i=Vt(s)?e:e.slice(1),l=Vt(a)?n:n.slice(0,-1);lv(i.concat(l)),o.deleteContents(),dv(t)}),bu=(t,e,n,o=!0)=>C.some(()=>{tv(t,e,n,o)}),WN=(t,e)=>C.some(()=>tr(t,!1,e)),uv=(t,e)=>Zt(Jn(e,t),Os),vu=(t,e)=>Zt(Jn(e,t),Ja("caption")),Ki=(t,e)=>C.some(()=>{ao(e),t.selection.setCursorLocation(e.dom,0)}),mv=(t,e)=>t?N0(e):R0(e),yu=(t,e)=>{const n=k(t.selection.getStart(!0)),o=zr(t);return t.selection.isCollapsed()&&0===o.length?((t,e,n)=>{const o=k(t.getBody());return vu(o,n).fold(()=>((r,s,a,i)=>{const l=L.fromRangeStart(r.selection.getRng());return uv(a,i).bind(d=>{return Vt(d)?Ki(r,d):(u=a,p=d,f=l,Ir(s,r.getBody(),f).bind(h=>uv(u,k(h.getNode())).bind(g=>kt(g,p)?C.none():C.some(vt))));var u,p,f})})(t,e,o,n).orThunk(()=>wr(((r,s)=>{const a=L.fromRangeStart(r.selection.getRng());return mv(s,a)||qe(s,r.getBody(),a).exists(i=>mv(s,i))})(t,e),vt)),r=>((s,a,i,l)=>{const d=L.fromRangeStart(s.selection.getRng());return Vt(l)?Ki(s,l):(u=i,p=l,f=d,Ir(m=a,(c=s).getBody(),f).fold(()=>C.some(vt),h=>{return b=m,v=f,y=h,Ce((g=p).dom).bind(x=>dn(g.dom).map(w=>b?v.isEqual(x)&&y.isEqual(w):v.isEqual(w)&&y.isEqual(x))).getOr(!0)?((g,b)=>Ki(g,b))(c,p):((g,b,v)=>vu(g,k(v.getNode())).fold(()=>C.some(vt),y=>wr(!kt(y,b),vt)))(u,p,h);var g,b,v,y}));var c,u,m,p,f})(t,e,o,r))})(t,e,n):((r,s,a)=>{const i=k(r.getBody()),l=r.selection.getRng();return 0!==a.length?cv(r,a,C.none()):(d=r,u=l,vu(c=i,s).fold(()=>{return p=d,((t,e)=>{const n=(s=>a=>kt(s,a))(t),o=((s,a)=>{const i=Wi(s.startContainer,a),l=Wi(s.endContainer,a);return be(i,l,fu)})(e,n),r=((s,a)=>{const i=nv(s.startContainer,a),l=nv(s.endContainer,a),d=i.isSome(),c=l.isSome(),u=be(i,l,kt).getOr(!1);return be((m={startTable:i,endTable:l,isStartInTable:d,isEndInTable:c,isSameTable:u,isMultiTable:!u&&d&&c}).startTable,m.endTable,(p,f)=>{const h=ev(p,b=>kt(b,f)),g=ev(f,b=>kt(b,p));return h||g?{...m,startTable:h?C.none():m.startTable,endTable:g?C.none():m.endTable,isSameTable:!1,isMultiTable:!1}:m}).getOr(m);var m})(e,n);return a=e,i=n,o.exists(l=>{return c=i,!ov(d=l)&&rv(d,c).exists(u=>{const m=u.dom.rows;return 1===m.length&&1===m[0].cells.length})&&kc(l.start,a);var d,c})?o.map(s=>ua.singleCellTable(e,s.start)):r.isMultiTable?((s,a,i,l)=>sv(s,a,i,l).bind(({start:d,end:c})=>{const u=d.bind(pu).getOr([]),m=c.bind(pu).getOr([]);if(u.length>0&&m.length>0){const p=iv(i,a);return C.some(ua.multiTable(u,m,p))}return C.none()}))(o,r,e,n):((s,a,i,l)=>sv(s,a,i,l).bind(({start:d,end:c})=>d.or(c)).bind(d=>{const{isSameTable:c}=a,u=pu(d).getOr([]);if(c&&d.cells.length===u.length)return C.some(ua.fullTable(d.table));if(u.length>0){if(c)return C.some(ua.partialTable(u,C.none()));{const m=iv(i,a);return C.some(ua.partialTable(u,C.some({...a,rng:m})))}}return C.none()}))(o,r,e,n);var a,i})(c,u).bind(g=>g.fold(J(bu,p),J(WN,p),J(cv,p),J(VN,p)));var p},p=>Ki(d,p)));var d,c,u})(t,n,o)},nr=(t,e)=>{let n=e;for(;n&&n!==t;){if(an(n)||Lt(n))return n;n=n.parentNode}return null},YN=["data-ephox-","data-mce-","data-alloy-","data-snooker-","_"],GN=H.each,Cu=t=>{const e=t.dom,n=new Set(t.serializer.getTempAttrs()),o=r=>$t(YN,s=>le(r,s))||n.has(r);return{compare:(r,s)=>{if(r.nodeName!==s.nodeName||r.nodeType!==s.nodeType)return!1;const a=l=>{const d={};return GN(e.getAttribs(l),c=>{const u=c.nodeName.toLowerCase();"style"===u||o(u)||(d[u]=e.getAttrib(l,u))}),d},i=(l,d)=>{for(const c in l)if(ht(l,c)){const u=d[c];if(fe(u)||l[c]!==u)return!1;delete d[c]}for(const c in d)if(ht(d,c))return!1;return!0};return!(Z(r)&&Z(s)&&(!i(a(r),a(s))||!i(e.parseStyle(e.getAttrib(r,"style")),e.parseStyle(e.getAttrib(s,"style"))))||We(r)||We(s))},isAttributeInternal:o}},fv=t=>["h1","h2","h3","h4","h5","h6"].includes(t.name),gv=(t,e,n,o)=>{const r=n.name;for(let s=0,a=t.length;s{const n=(o,r)=>{Bt(o,s=>{const a=Ie(s.nodes);U(s.filter.callbacks,i=>{for(let l=a.length-1;l>=0;l--){const d=a[l];(r?void 0!==d.attr(s.filter.name):d.name===s.filter.name)&&!Gt(d.parent)||a.splice(l,1)}a.length>0&&i(a,s.filter.name,e)})})};n(t.nodes,!1),n(t.attributes,!0)},hv=(t,e,n,o={})=>{const r=((s,a,i)=>{const l={nodes:{},attributes:{}};return i.firstChild&&((d,c)=>{let u=d;for(;u=u.walk();)gv(s,a,u,l)})(i),l})(t,e,n);pv(r,o)},wu=(t,e,n,o)=>{if((t.pad_empty_with_br||e.insert)&&n(o)){const r=new Ee("br",1);e.insert&&r.attr("data-mce-bogus","1"),o.empty().append(r)}else o.empty().append(new Ee("#text",3)).value=re},bv=(t,e)=>{const n=t?.firstChild;return q(n)&&n===t.lastChild&&n.name===e},ma=(t,e,n,o)=>o.isEmpty(e,n,r=>((s,a)=>{const i=s.getElementRule(a.name);return!0===i?.paddEmpty})(t,r)),XN=t=>{let e;for(let n=t;n;n=n.parent){const o=n.attr("contenteditable");if("false"===o)break;"true"===o&&(e=n)}return C.from(e)},xu=(t,e,n=t.parent)=>{if(e.getSpecialElements()[t.name])t.empty().remove();else{const o=t.children();for(const r of o)n&&!e.isValidChild(n.name,r.name)&&xu(r,e,n);t.unwrap()}},Eu=(t,e,n,o=vt)=>{const r=e.getTextBlockElements(),s=e.getNonEmptyElements(),a=e.getWhitespaceElements(),i=H.makeMap("tr,td,th,tbody,thead,tfoot,table,summary"),l=new Set,d=c=>c!==n&&!i[c.name];for(let c=0;c1)if(_u(e,u,m))xu(u,e);else{h.reverse(),p=h[0].clone(),o(p);let g=p;for(let b=0;b0?(f=h[b].clone(),o(f),g.append(f)):f=g;for(let v=h[b].firstChild;v&&v!==h[b+1];){const y=v.next;f.append(v),v=y}g=f}ma(e,s,a,p)?m.insert(u,h[0],!0):(m.insert(p,h[0],!0),m.insert(u,p)),m=h[0],(ma(e,s,a,m)||bv(m,"br"))&&m.empty().remove()}else if(u.parent){if("li"===u.name){let g=u.prev;if(g&&("ul"===g.name||"ol"===g.name)){g.append(u);continue}if(g=u.next,g&&("ul"===g.name||"ol"===g.name)&&g.firstChild){g.insert(u,g.firstChild,!0);continue}const b=new Ee("ul",1);o(b),u.wrap(b);continue}if(e.isValidChild(u.parent.name,"div")&&e.isValidChild("div",u.name)){const g=new Ee("div",1);o(g),u.wrap(g)}else xu(u,e)}}},_u=(t,e,n=e.parent)=>{return!(!n||(!t.children[e.name]||t.isValidChild(n.name,e.name))&&("a"!==e.name||!((o,r)=>{let s=o;for(;s;){if("a"===s.name)return!0;s=s.parent}return!1})(n))&&(o=n,"summary"!==o.name||!fv(e)||n?.firstChild===e&&n?.lastChild===e));var o},ku=t=>t.collapsed?t:(e=>{const n=L.fromRangeStart(e),o=L.fromRangeEnd(e),r=e.commonAncestorContainer;return qe(!1,r,o).map(s=>!On(n,o,r)&&On(n,s,r)?((a,i,l,d)=>{const c=document.createRange();return c.setStart(a,i),c.setEnd(l,d),c})(n.container(),n.offset(),s.container(),s.offset()):e).getOr(e)})(t),Su=(t,e)=>{const n=t.getParent(e,t.isBlock);return n&&"LI"===n.nodeName?n:null},vv=(t,e)=>{const n=L.after(t),o=Pn(e).prev(n);return o?o.toRange():null},tR=["pre"],Nu=ai,eR=(t,e,n)=>{var o,r;const s=t.selection,a=t.dom,i=t.parser,l=n.merge,d=bo({validate:!0},t.schema),c='';n.preserve_zwsp||(e=ze(e)),-1===e.indexOf("{$caret}")&&(e+="{$caret}"),e=e.replace(/\{\$caret\}/,c);let u=s.getRng();const m=u.startContainer,p=t.getBody();var y,x;m===p&&s.isCollapsed()&&a.isBlock(p.firstChild)&&(y=t,q(x=p.firstChild)&&!y.schema.getVoidElements()[x.nodeName])&&a.isEmpty(p.firstChild)&&(u=a.createRng(),u.setStart(p.firstChild,0),u.setEnd(p.firstChild,0),s.setRng(u)),s.isCollapsed()||(y=>{const x=y.dom,w=ku(y.selection.getRng());y.selection.setRng(w);const E=x.getParent(w.startContainer,Nu);var N,T,O;N=x,T=w,q(O=E)&&O===N.getParent(T.endContainer,Nu)&&kc(k(O),T)?bu(y,w,k(E)):w.startContainer===w.endContainer&&w.endOffset-w.startOffset==1&&j(w.startContainer.childNodes[w.startOffset])?w.deleteContents():y.getDoc().execCommand("Delete",!1)})(t);const f=s.getNode(),h={context:f.nodeName.toLowerCase(),data:n.data,insert:!0},g=i.parse(e,h);if(!0===n.paste&&((t,e)=>{let n=e.firstChild,o=e.lastChild;return n&&"meta"===n.name&&(n=n.next),o&&"mce_marker"===o.attr("id")&&(o=o.prev),((r,s)=>{const a=r.getNonEmptyElements();return q(s)&&(s.isEmpty(a)||(l=s,r.getBlockElements()[l.name]&&q((d=l).firstChild)&&d.firstChild===d.lastChild&&(d=>"br"===d.name||d.value===re)(l.firstChild)));var l,d})(t,o)&&(o=o?.prev),!(!n||n!==o||"ul"!==n.name&&"ol"!==n.name)})(t.schema,g)&&((y,x)=>!!Su(y,x))(a,f))return u=((t,e,n,o)=>{const r=((u,m,p)=>{const f=m.serialize(p);return(h=>{var g,b;const v=h.firstChild,y=h.lastChild;return v&&"META"===v.nodeName&&(null===(g=v.parentNode)||void 0===g||g.removeChild(v)),y&&"mce_marker"===y.id&&(null===(b=y.parentNode)||void 0===b||b.removeChild(y)),h})(u.createFragment(f))})(e,t,o),s=Su(e,n.startContainer),a=(t=>{return t.length>0&&(!(n=t[t.length-1]).firstChild||q(null==(e=n)?void 0:e.firstChild)&&e.firstChild===e.lastChild&&((o=e.firstChild).data===re||Ht(o)))?t.slice(0,-1):t;var o,e,n})((i=r.firstChild,gt(null!==(l=i?.childNodes)&&void 0!==l?l:[],u=>"LI"===u.nodeName)));var i,l;const d=e.getRoot(),c=u=>{const m=L.fromRangeStart(n),p=Pn(e.getRoot()),f=1===u?p.prev(m):p.next(m),h=f?.getNode();return!h||Su(e,h)!==s};return s?c(1)?((u,m,p)=>{const f=u.parentNode;return f&&H.each(m,h=>{f.insertBefore(h,u)}),((h,g)=>{const b=L.before(h),v=Pn(g).next(b);return v?v.toRange():null})(u,p)})(s,a,d):c(2)?(u=s,p=d,e.insertAfter((m=a).reverse(),u),vv(m[0],p)):((u,m,p,f)=>{const h=((b,v)=>{const y=v.cloneRange(),x=v.cloneRange();return y.setStartBefore(b),x.setEndAfter(b),[y.cloneContents(),x.cloneContents()]})(u,f),g=u.parentNode;return g&&(g.insertBefore(h[0],u),H.each(m,b=>{g.insertBefore(b,u)}),g.insertBefore(h[1],u),g.removeChild(u)),vv(m[m.length-1],p)})(s,a,d,n):null;var u,m,p})(d,a,s.getRng(),g),u&&s.setRng(u),e;!0===n.paste&&((y,x,w,E)=>{var N;const T=x.firstChild,O=x.lastChild,P=T===("bookmark"===O.attr("data-mce-type")?O.prev:O),_=Rt(tR,T.name);if(P&&_){const R="false"!==T.attr("contenteditable"),B=(null===(N=y.getParent(w,y.isBlock))||void 0===N?void 0:N.nodeName.toLowerCase())===T.name,M=C.from(nr(E,w)).forall(an);return R&&B&&M}return!1})(a,g,f,t.getBody())&&(null===(o=g.firstChild)||void 0===o||o.unwrap()),(y=>{let x=y;for(;x=x.walk();)1===x.type&&x.attr("data-mce-fragment","1")})(g);let b=g.lastChild;if(b&&"mce_marker"===b.attr("id")){const y=b;for(b=b.prev;b;b=b.walk(!0))if(3===b.type||!a.isBlock(b.name)){b.parent&&t.schema.isValidChild(b.parent.name,"span")&&b.parent.insert(y,b,"br"===b.name);break}}if(t._selectionOverrides.showBlockCaretContainer(f),h.invalid||((y,x,w)=>{var E;return $t(w.children(),fv)&&"SUMMARY"===(null===(E=y.getParent(x,y.isBlock))||void 0===E?void 0:E.nodeName)})(a,f,g)){t.selection.setContent(c);let y,x=s.getNode();const w=t.getBody();for(Rs(x)?x=y=w:y=x;y&&y!==w;)x=y,y=y.parentNode;e=x===w?w.innerHTML:a.getOuterHTML(x);const E=i.parse(e),N=(R=>{for(let B=R;B;B=B.walk())if("mce_marker"===B.attr("id"))return C.some(B);return C.none()})(E),T=N.bind(XN).getOr(E);N.each(R=>R.replace(g));const O=g.children(),P=null!==(r=g.parent)&&void 0!==r?r:E;g.unwrap();const _=gt(O,R=>_u(t.schema,R,P));Eu(_,t.schema,T),hv(i.getNodeFilters(),i.getAttributeFilters(),E),e=d.serialize(E),x===w?a.setHTML(w,e):a.setOuterHTML(x,e)}else e=d.serialize(g),((y,x,w)=>{var E;if("all"===w.getAttribute("data-mce-bogus"))null===(E=w.parentNode)||void 0===E||E.insertBefore(y.dom.createFragment(x),w);else{const N=w.firstChild;!N||N===w.lastChild&&"BR"===N.nodeName?y.dom.setHTML(w,x):y.selection.setContent(x,{no_events:!0})}})(t,e,f);var v;return((y,x)=>{const w=y.schema.getTextInlineElements(),E=y.dom;if(x){const N=y.getBody(),T=Cu(y);H.each(E.select("*[data-mce-fragment]"),O=>{if(q(w[O.nodeName.toLowerCase()])&&oo(Zc(E,O),R=>!x0.has(R)))for(let P=O.parentElement;q(P)&&P!==N&&!RN(E,O,P);P=P.parentElement)if(T.compare(P,O)){E.remove(O,!0);break}})}})(t,l),((y,x)=>{var w,E,N;let T;const O=y.dom,P=y.selection;if(!x)return;P.scrollIntoView(x);const _=nr(y.getBody(),x);if(_&&"false"===O.getContentEditable(_))return O.remove(x),void P.select(_);let R=O.createRng();const B=x.previousSibling;if(j(B)){R.setStart(B,null!==(E=null===(w=B.nodeValue)||void 0===w?void 0:w.length)&&void 0!==E?E:0);const V=x.nextSibling;j(V)&&(B.appendData(V.data),null===(N=V.parentNode)||void 0===N||N.removeChild(V))}else R.setStartBefore(x),R.setEndBefore(x);const M=O.getParent(x,O.isBlock);if(O.remove(x),M&&O.isEmpty(M)){const V=Nu(M);Sr(k(M)),R.setStart(M,0),R.setEnd(M,0),V||M.getAttribute("data-mce-fragment")||!(T=($=>{let ot=L.fromRangeStart($);return ot=Pn(y.getBody()).next(ot),ot?.toRange()})(R))?O.add(M,O.create("br",V?{}:{"data-mce-bogus":"1"})):(R=T,O.remove(M))}P.setRng(R)})(t,a.get("mce_marker")),v=t.getBody(),H.each(v.getElementsByTagName("*"),y=>{y.removeAttribute("data-mce-fragment")}),((y,x,w)=>{C.from(y.getParent(x,"td,th")).map(k).each(E=>{return T=w,void gd(N=E).each(O=>{To(O).each(P=>{T.isBlock(xt(N))&&Io(O)&&T.isBlock(xt(P))&&Dt(O)})});var N,T})})(a,s.getStart(),t.schema),((y,x,w)=>{const E=Sg(k(w),N=>kt(N,k(x)));qa(E,E.length-2).filter(Fe).fold(()=>Ld(y,x),N=>Ld(y,N.dom))})(t.schema,t.getBody(),s.getStart()),e},Yi=t=>t instanceof Ee,Ru=(t,e,n)=>{var o;t.dom.setHTML(t.getBody(),e),!0!==n&&Zo(o=t)&&Ce(o.getBody()).each(r=>{const s=r.getNode(),a=Gn(s)?Ce(s).getOr(r):r;o.selection.setRng(a.toRange())})},yv=t=>Nt(t)?t:zt,Au=(t,e,n)=>{const o=e(t),r=yv(n);return o.orThunk(()=>r(t)?C.none():((s,a,i)=>{let l=s.dom;const d=yv(i);for(;l.parentNode;){l=l.parentNode;const c=k(l),u=a(c);if(u.isSome())return u;if(d(c))break}return C.none()})(t,e,r))},Tu=Oc,Cv=(t,e,n)=>{const o=t.formatter.get(n);if(o)for(let r=0;r{const s=t.dom.getRoot();if(e===s)return!1;const a=t.dom.getParent(e,i=>!!Cv(t,i,n)||i.parentNode===s||!!Ln(t,i,n,o,!0));return!!Ln(t,a,n,o,r)},Gi=(t,e,n)=>!(!ee(n)||!Tu(e,n.inline))||!(!Dn(n)||!Tu(e,n.block))||!!Ke(n)&&Z(e)&&t.is(e,n.selector),wv=(t,e,n,o,r,s)=>{const a=n[o],i="attributes"===o;if(Nt(n.onmatch))return n.onmatch(e,n,o);if(a)if(qf(a)){for(let l=0;l{const s=t.formatter.get(n),a=t.dom;if(s&&Z(e))for(let i=0;i{if(o)return Ou(t,o,e,n,r);if(o=t.selection.getNode(),Ou(t,o,e,n,r))return!0;const s=t.selection.getStart();return!(s===o||!Ou(t,s,e,n,r))},fa=se,xv=t=>{if(t){const e=new te(t,t);for(let n=e.current();n;n=e.next())if(j(n))return n}return null},Pu=t=>{const e=oe("span");return jn(e,{id:Cc,"data-mce-bogus":"1","data-mce-type":"format-caret"}),t&&Yt(e,Er(fa)),e},Du=(t,e,n)=>{const o=t.dom,r=t.selection;if(cb(e))tr(t,!1,k(e),n,!0);else{const s=r.getRng(),a=o.getParent(e,o.isBlock),i=s.startContainer,l=s.startOffset,d=s.endContainer,c=s.endOffset,u=(m=>{const p=xv(m);return p&&p.data.charAt(0)===fa&&p.deleteData(0,1),p})(e);o.remove(e,!0),i===u&&l>0&&s.setStart(u,l-1),d===u&&c>0&&s.setEnd(u,c-1),a&&o.isEmpty(a)&&ao(k(a)),r.setRng(s)}},Lu=(t,e,n)=>{const o=t.dom,r=t.selection;if(e)Du(t,e,n);else if(!(e=Go(t.getBody(),r.getStart())))for(;e=o.get(Cc);)Du(t,e,n)},Ev=(t,e)=>(t.appendChild(e),e),_v=(t,e)=>{var n;const o=cs(t,(s,a)=>Ev(s,a.cloneNode(!1)),e),r=null!==(n=o.ownerDocument)&&void 0!==n?n:document;return Ev(o,r.createTextNode(fa))},kv=t=>{const e=Pu(!1),n=_v(t,e.dom);return{caretContainer:e,caretPosition:L(n,0)}},Sv=(t,e)=>{const{caretContainer:n,caretPosition:o}=kv(e);return De(k(t),n),Dt(k(t)),o},Nv=(t,e)=>{if(Ve(e.dom))return!1;const n=t.schema.getTextInlineElements();return ht(n,xt(e))&&!Ve(e.dom)&&!Mo(e.dom)},ga={},Rv=pn(["pre"]);((t,e)=>{ga[t]||(ga[t]=[]),ga[t].push(n=>{if(!n.selection.getRng().collapsed){const o=n.selection.getSelectedBlocks(),r=gt(gt(o,Rv),(s=>a=>{const i=a.previousSibling;return Rv(i)&&Rt(s,i)})(o));U(r,s=>{((a,i)=>{const l=k(i),d=qn(l).dom;Dt(l),Do(k(a),[oe("br",d),oe("br",d),...ue(l)])})(s.previousSibling,s)})}})})("pre");const Av=["fontWeight","fontStyle","color","fontSize","fontFamily"],Tv=(t,e)=>{const n=t.get(e);return Jt(n)?Zt(n,o=>{return ee(o)&&"span"===o.inline&&we((r=o).styles)&&$t(Pe(r.styles),s=>Rt(Av,s));var r}):C.none()},Ov=(t,e)=>Le(e,L.fromRangeStart(t)).isNone(),Bv=(t,e)=>!1===Ae(e,L.fromRangeEnd(t)).exists(n=>!Ht(n.getNode())||Ae(e,n).isSome()),Pv=t=>e=>y_(e)&&t.isEditable(e),Dv=t=>gt(t.getSelectedBlocks(),Pv(t.dom)),Mu=H.each,Iu=t=>Z(t)&&!We(t)&&!Ve(t)&&!Mo(t),Lv=(t,e)=>{for(let n=t;n;n=n[e]){if(j(n)&&_n(n.data))return t;if(Z(n)&&!We(n))return n}return t},Mv=(t,e,n)=>{const o=Cu(t),r=Yn(e)&&t.dom.isEditable(e),s=Yn(n)&&t.dom.isEditable(n);if(r&&s){const a=Lv(e,"previousSibling"),i=Lv(n,"nextSibling");if(o.compare(a,i)){for(let l=a.nextSibling;l&&l!==i;){const d=l;l=l.nextSibling,a.appendChild(d)}return t.dom.remove(i),H.each(H.grep(i.childNodes),l=>{a.appendChild(l)}),a}}return n},Iv=(t,e,n,o)=>{var r;if(o&&!1!==e.merge_siblings){const s=null!==(r=Mv(t,ib(o),o))&&void 0!==r?r:o;Mv(t,s,ib(s,!0))}},Fu=(t,e,n)=>{Mu(t.childNodes,o=>{Iu(o)&&(e(o)&&n(o),o.hasChildNodes()&&Fu(o,e,n))})},Fv=(t,e)=>n=>!(!n||!Bi(t,n,e)),Uv=(t,e,n)=>o=>{var r,s;t.setStyle(o,e,n),""===o.getAttribute("style")&&o.removeAttribute("style"),r=t,"SPAN"===(s=o).nodeName&&0===r.getAttribs(s).length&&r.remove(s,!0)},or=Tn([{keep:[]},{rename:["name"]},{removed:[]}]),oR=/^(src|href|style)$/,Uu=H.each,Xi=Oc,zv=(t,e,n)=>t.isChildOf(e,n)&&e!==n&&!t.isBlock(n),jv=(t,e,n)=>{let o=e[n?"startContainer":"endContainer"],r=e[n?"startOffset":"endOffset"];if(Z(o)){const s=o.childNodes.length-1;!n&&r&&r--,o=o.childNodes[r>s?s:r]}return j(o)&&n&&r>=o.data.length&&(o=new te(o,t.getBody()).next()||o),j(o)&&!n&&0===r&&(o=new te(o,t.getBody()).prev()||o),o},Hv=(t,e)=>{const n=e?"firstChild":"lastChild",o=t[n];return/^(TR|TH|TD)$/.test(t.nodeName)&&o?"TR"===t.nodeName&&o[n]||o:t},zu=(t,e,n,o)=>{var r;const s=t.create(n,o);return null===(r=e.parentNode)||void 0===r||r.insertBefore(s,e),s.appendChild(e),s},$v=(t,e,n,o,r)=>{const s=k(e),a=k(t.create(o,r)),i=n?Rg(s):Ng(s);return Do(a,i),n?(De(s,a),yd(a,s)):(Wn(s,a),Yt(a,s)),a.dom},qv=(t,e,n)=>{const o=e.parentNode;let r;const s=t.dom,a=ye(t);var i;Dn(n)&&o===s.getRoot()&&(n.list_block&&Xi(e,n.list_block)||U(Ie(e.childNodes),i=>{jr(t,a,i.nodeName.toLowerCase())?r?r.appendChild(i):(r=zu(s,i,a),s.setAttribs(r,Ks(t))):r=null})),Ke(i=n)&&ee(i)&&Cr(Pt(i,"mixed"),!0)&&!Xi(n.inline,e)||s.remove(e,!0)},Vv=(t,e,n)=>fn(t)?{name:e,value:null}:{name:t,value:ho(e,n)},Wv=(t,e)=>{""===t.getAttrib(e,"style")&&(e.removeAttribute("style"),e.removeAttribute("data-mce-style"))},Kv=(t,e,n,o,r)=>{let s=!1;Uu(n.styles,(a,i)=>{const{name:l,value:d}=Vv(i,a,o),c=Bc(d,l);(n.remove_similar||Se(d)||!Z(r)||Xi(Bi(t,r,l),c))&&t.setStyle(e,l,""),s=!0}),s&&Wv(t,e)},Yv=(t,e,n,o,r)=>{const s=t.dom,a=Cu(t),i=t.schema;if(ee(e)&&Id(i,e.inline)&&Uo(i,o)&&o.parentElement===t.getBody())return qv(t,o,e),or.removed();if(!e.ceFalseOverride&&o&&"false"===s.getContentEditableParent(o)||o&&!Gi(s,o,e)&&(!e.links||"A"!==o.nodeName))return or.keep();const l=o,d=e.preserve_attributes;if(ee(e)&&"all"===e.remove&&Jt(d)){const c=gt(s.getAttribs(l),u=>Rt(d,u.name.toLowerCase()));if(s.removeAllAttribs(l),U(c,u=>s.setAttrib(l,u.name,u.value)),c.length>0)return or.rename("span")}if("all"!==e.remove){Kv(s,l,e,n,r),Uu(e.attributes,(u,m)=>{const{name:p,value:f}=Vv(m,u,n);if(e.remove_similar||Se(f)||!Z(r)||Xi(s.getAttrib(r,p),f)){if("class"===p){const h=s.getAttrib(l,p);if(h){let g="";if(U(h.split(/\s+/),b=>{/mce\-\w+/.test(b)&&(g+=(g?" ":"")+b)}),g)return void s.setAttrib(l,p,g)}}if(oR.test(p)&&l.removeAttribute("data-mce-"+p),"style"===p&&pn(["li"])(l)&&"none"===s.getStyle(l,"list-style-type"))return l.removeAttribute(p),void s.setStyle(l,"list-style-type","none");"class"===p&&l.removeAttribute("className"),l.removeAttribute(p)}}),Uu(e.classes,u=>{u=ho(u,n),Z(r)&&!s.hasClass(r,u)||s.removeClass(l,u)});const c=s.getAttribs(l);for(let u=0;uYv(t,e,n,o,o).fold(W(o),r=>(t.dom.createFragment().appendChild(o),t.dom.rename(o,r)),W(null)),Gv=(t,e,n,o,r)=>{(o||t.selection.isEditable())&&((s,a,i,l,d)=>{const c=s.formatter.get(a),u=c[0],m=s.dom,p=s.selection,f=y=>{const x=((w,E,N,T,O)=>{let P;return E.parentNode&&U(Pi(w.dom,E.parentNode).reverse(),_=>{if(!P&&Z(_)&&"_start"!==_.id&&"_end"!==_.id){const R=Ln(w,_,N,T,O);R&&!1!==R.split&&(P=_)}}),P})(s,y,a,i,d);return((w,E,N,T,O,P,_,R)=>{var B,M;let V,$;const ot=w.dom;if(N){const et=N.parentNode;for(let lt=T.parentNode;lt&<!==et;lt=lt.parentNode){let rt=ot.clone(lt,!1);for(let K=0;K$t(c,x=>pa(s,x,i,y,y)),g=y=>{const x=Ie(y.childNodes),w=h(y)||$t(c,N=>Gi(m,y,N)),E=y.parentNode;if(!w&&q(E)&&Dc(u)&&h(E),u.deep&&x.length)for(let N=0;N{Z(y)&&s.dom.getStyle(y,"text-decoration")===N&&y.parentNode&&db(m,y.parentNode)===N&&pa(s,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:N}},void 0,y)})},b=y=>{const x=m.get(y?"_start":"_end");if(x){let w=x[y?"firstChild":"lastChild"];return We(E=w)&&Z(E)&&("_start"===E.id||"_end"===E.id)&&(w=w[y?"firstChild":"lastChild"]),j(w)&&0===w.data.length&&(w=y?x.previousSibling||x.nextSibling:x.nextSibling||x.previousSibling),m.remove(x,!0),w}var E;return null},v=y=>{let x,w,E=Xo(m,y,c,y.collapsed);if(u.split){if(E=zi(E),x=jv(s,E,!0),w=jv(s,E),x!==w){if(x=Hv(x,!0),w=Hv(w,!1),zv(m,x,w)){const T=C.from(x.firstChild).getOr(x);return f($v(m,T,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void b(!0)}if(zv(m,w,x)){const T=C.from(w.lastChild).getOr(w);return f($v(m,T,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void b(!1)}x=zu(m,x,"span",{id:"_start","data-mce-type":"bookmark"}),w=zu(m,w,"span",{id:"_end","data-mce-type":"bookmark"});const N=m.createRng();N.setStartAfter(x),N.setEndBefore(w),oa(m,N,T=>{U(T,O=>{We(O)||We(O.parentNode)||f(O)})}),f(x),f(w),x=b(!0),w=b()}else x=w=f(x);E.startContainer=x.parentNode?x.parentNode:x,E.startOffset=m.nodeIndex(x),E.endContainer=w.parentNode?w.parentNode:w,E.endOffset=m.nodeIndex(w)+1}oa(m,E,N=>{U(N,g)})};if(l){if(na(l)){const y=m.createRng();y.setStartBefore(l),y.setEndAfter(l),v(y)}else v(l);Sb(s,a,l,i)}else p.isCollapsed()&&ee(u)&&!zr(s).length?((t,e,n,o)=>{const r=t.dom,s=t.selection;let a=!1;const i=t.formatter.get(e);if(!i)return;const l=s.getRng(),d=l.startContainer,c=l.startOffset;let u=d;j(d)&&(c!==d.data.length&&(a=!0),u=u.parentNode);const m=[];let p;for(;u;){if(Ln(t,u,e,n,o)){p=u;break}u.nextSibling&&(a=!0),m.push(u),u=u.parentNode}if(p)if(a){const f=s.getBookmark();l.collapse(!0);let h=Xo(r,l,i,!0);h=zi(h),t.formatter.remove(e,n,h,o),s.moveToBookmark(f)}else{const f=Go(t.getBody(),p),h=q(f)?r.getParents(p.parentNode,Kt,f):[],g=Pu(!1).dom;((y,x,w)=>{var E,N;const T=y.dom,O=T.getParent(w,J(Ac,y.schema));O&&T.isEmpty(O)?null===(E=w.parentNode)||void 0===E||E.replaceChild(x,w):((P=>{const _=ve(P,"br"),R=gt((B=>{const M=[];let V=B.dom;for(;V;)M.push(k(V)),V=V.lastChild;return M})(P).slice(-1),Io);_.length===R.length&&U(R,Dt)})(k(w)),T.isEmpty(w)?null===(N=w.parentNode)||void 0===N||N.replaceChild(x,w):T.insertAfter(x,w))})(t,g,f??p);const b=((y,x,w,E,N,T)=>{const O=y.formatter,P=y.dom,_=gt(Pe(O.get()),B=>B!==E&&!he(B,"removeformat")),R=(B=y,M=w,Oe(_,($,ot)=>{const et=Pc(B,ot,K=>{const X=mt=>Nt(mt)||mt.length>1&&"%"===mt.charAt(0);return $t(["styles","attributes"],mt=>Pt(K,mt).exists(S=>{const A=Jt(S)?S:od(S);return $t(A,X)}))});return B.formatter.matchNode(M,ot,{},et)?$.concat([ot]):$},[]));var B,M;if(gt(R,B=>!((M,V,$)=>{const ot=["inline","block","selector","attributes","styles","classes"],et=lt=>fs(lt,(rt,K)=>$t(ot,X=>X===K));return Pc(M,V,lt=>{const rt=et(lt);return Pc(M,$,K=>{const X=et(K);return((mt,S,A=Xl)=>Of(A).eq(mt,S))(rt,X)})})})(y,B,E)).length>0){const B=w.cloneNode(!1);return P.add(x,B),O.remove(E,N,B,T),P.remove(B),C.some(B)}return C.none()})(t,g,p,e,n,o),v=_v([...m,...b.toArray(),...h],g);f&&Du(t,f,q(f)),s.setCursorLocation(v,1),r.isEmpty(p)&&r.remove(p)}})(s,a,i,d):(ab(s,()=>Nc(s,v),y=>ee(u)&&Bu(s,a,i,y)),s.nodeChanged()),y=s,w=i,"removeformat"===(x=a)?U(Dv(y.selection),E=>{U(Av,N=>y.dom.setStyle(E,N,"")),Wv(y.dom,E)}):Tv(y.formatter,x).each(E=>{U(Dv(y.selection),N=>Kv(y.dom,N,E,w,null))}),Sb(s,a,l,i);var y,x,w})(t,e,n,o,r)},pa=(t,e,n,o,r)=>Yv(t,e,n,o,r).fold(zt,s=>(t.dom.rename(o,s),!0),Kt),Xv=H.each,Qi=H.each,Qv=(t,e,n,o)=>{if(Qi(n.styles,(r,s)=>{t.setStyle(e,s,ho(r,o))}),n.styles){const r=t.getAttrib(e,"style");r&&t.setAttrib(e,"data-mce-style",r)}},sR=(t,e,n,o)=>{const r=t.formatter.get(e),s=r[0],a=!o&&t.selection.isCollapsed(),i=t.dom,l=t.selection,d=(f,h=s)=>{Nt(h.onformat)&&h.onformat(f,h,n,o),Qv(i,f,h,n),Qi(h.attributes,(g,b)=>{i.setAttrib(f,b,ho(g,n))}),Qi(h.classes,g=>{const b=ho(g,n);i.hasClass(f,b)||i.addClass(f,b)})},c=(f,h)=>{let g=!1;return Qi(f,b=>!(!Ke(b)||("false"!==i.getContentEditable(h)||b.ceFalseOverride)&&(!q(b.collapsed)||b.collapsed===a)&&i.is(h,b.selector)&&!Ve(h)&&(d(h,b),g=!0,1))),g},m=(f,h,g)=>{const b=[];let v=!0;const y=s.inline||s.block,x=(f=>{if(at(f)){const h=i.create(f);return d(h),h}return null})(y);oa(f,h,w=>{let E;const N=T=>{let O=!1,P=v,_=!1;const R=T.parentNode,B=R.nodeName.toLowerCase(),M=f.getContentEditable(T);q(M)&&(P=v,v="true"===M,O=!0,_=lb(t,T));const V=v&&!O;if(Ht(T)&&!(($,ot,et,lt)=>{if(jk($)&&ee(ot)&&et.parentNode){const rt=Cp($.schema),K=((t,e)=>((n,o)=>{const r=n.dom;return r.parentNode?(s=k(r.parentNode),Zt(s.dom.childNodes,i=>(s=>!kt(n,s)&&o(s))(k(i))).map(k)):C.none();var s})(t,e).isSome())(k(et),X=>Ve(X.dom));return vr(rt,lt)&&Vt(k(et.parentNode),!1)&&!K}return!1})(t,s,T,B))return E=null,void(Dn(s)&&f.remove(T));if($=T,Dn(ot=s)&&!0===ot.wrapper&&Ln(t,$,e,n))E=null;else{if((($,ot,et)=>{const lt=Dn(rt=s)&&!0!==rt.wrapper&&Ac(t.schema,$)&&jr(t,ot,y);var rt;return et&<})(T,B,V)){const $=f.rename(T,y);return d($),b.push($),void(E=null)}if(Ke(s)){let $=c(r,T);if(!$&&q(R)&&Dc(s)&&($=c(r,R)),!ee(s)||$)return void(E=null)}q(x)&&(($,ot,et,lt)=>{const rt=$.nodeName.toLowerCase(),K=jr(t,y,rt)&&jr(t,ot,y),X=!g&&j($)&&di($.data),mt=Ve($),S=!ee(s)||!f.isBlock($);return(et||lt)&&K&&!X&&!mt&&S})(T,B,V,_)?(E||(E=f.clone(x,!1),R.insertBefore(E,T),b.push(E)),_&&O&&(v=P),E.appendChild(T)):(E=null,U(Ie(T.childNodes),N),O&&(v=P),E=null)}var $,ot};U(w,N)}),!0===s.links&&U(b,w=>{const E=N=>{"A"===N.nodeName&&d(N,s),U(Ie(N.childNodes),E)};E(w)}),U(b,w=>{const E=(N=>{let T=0;return U(N.childNodes,O=>{var P;q(P=O)&&j(P)&&0===P.length||We(O)||T++}),T})(w);var N;!(b.length>1)&&f.isBlock(w)||0!==E?(ee(s)||Dn(s)&&s.wrapper)&&(s.exact||1!==E||(w=Zt((N=w).childNodes,Rc).filter(O=>"false"!==f.getContentEditable(O)&&Gi(f,O,s)).map(O=>{const P=f.clone(O,!1);return d(P),f.replace(P,N,!0),f.remove(O,!0),P}).getOr(N)),((N,T,O,P)=>{Xv(T,_=>{var R,B,M;ee(_)&&Xv(N.dom.select(_.inline,P),R=>{Iu(R)&&pa(N,_,O,R,_.exact?R:null)}),R=N.dom,M=P,(B=_).clear_child_styles&&Mu(R.select(B.links?"*:not(a)":"*",M),$=>{Iu($)&&R.isEditable($)&&Mu(B.styles,(ot,et)=>{R.setStyle($,et,"")})})})})(t,r,n,w),((N,T,O,P,_)=>{const R=_.parentNode;Ln(N,R,O,P)&&pa(N,T,P,_)||T.merge_with_parents&&R&&N.dom.getParent(R,B=>!!Ln(N,B,O,P)&&(pa(N,T,P,_),!0))})(t,s,e,n,w),((N,T,O,P)=>{if(T.styles&&T.styles.backgroundColor){const _=Fv(N,"fontSize");Fu(P,R=>_(R)&&N.isEditable(R),Uv(N,"backgroundColor",ho(T.styles.backgroundColor,O)))}})(f,s,n,w),((N,T,O,P)=>{const _=R=>{if(Yn(R)&&Z(R.parentNode)&&N.isEditable(R)){const B=db(N,R.parentNode);N.getStyle(R,"color")&&B?N.setStyle(R,"text-decoration",B):N.getStyle(R,"text-decoration")===B&&N.setStyle(R,"text-decoration",null)}};T.styles&&(T.styles.color||T.styles.textDecoration)&&(H.walk(P,_,"childNodes"),_(P))})(f,s,0,w),((N,T,O,P)=>{if(ee(T)&&("sub"===T.inline||"sup"===T.inline)){const _=Fv(N,"fontSize");Fu(P,B=>_(B)&&N.isEditable(B),Uv(N,"fontSize",""));const R=gt(N.select("sup"===T.inline?"sub":"sup",P),N.isEditable);N.remove(R,!0)}})(f,s,0,w),Iv(t,s,0,w)):f.remove(w,!0)})},p=na(o)?o:l.getNode();if("false"===i.getContentEditable(p)&&!lb(t,p))return c(r,o=p),void kb(t,e,o,n);if(s){if(o)if(na(o)){if(!c(r,o)){const f=i.createRng();f.setStartBefore(o),f.setEndAfter(o),m(i,Xo(i,f,r),!0)}}else m(i,o,!0);else a&&ee(s)&&!zr(t).length?((f,h,g)=>{let b;const v=f.selection,y=f.formatter.get(h);if(!y)return;const x=v.getRng();let w=x.startOffset;const E=x.startContainer.nodeValue;b=Go(f.getBody(),v.getStart());const N=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(E&&w>0&&w{Nc(t,(f,h)=>{const g=h?f:Xo(i,f,r);m(i,g,!1)})},Kt),t.nodeChanged()),Tv(t.formatter,e).each(f=>{var h;U(gt((g=>{const b=g.getSelectedBlocks(),v=g.getRng();if(g.isCollapsed())return[];if(1===b.length)return Ov(v,b[0])&&Bv(v,b[0])?b:[];{const y=Be(b).filter(E=>Ov(v,E)).toArray(),x=So(b).filter(E=>Bv(v,E)).toArray(),w=b.slice(1,-1);return y.concat(w).concat(x)}})(h=t.selection),Pv(h.dom)),h=>Qv(i,h,f,n))});h=t,ht(ga,f=e)&&U(ga[f],g=>{g(h)})}var f,h;kb(t,e,o,n)},Jv=(t,e,n,o)=>{(o||t.selection.isEditable())&&sR(t,e,n,o)},Zv=t=>ht(t,"vars"),ty=t=>t.selection.getStart(),ey=(t,e,n,o,r)=>zf(e,s=>{const a=t.formatter.matchNode(s,n,r??{},o);return!fe(a)},s=>!!Cv(t,s,n)||!o&&q(t.formatter.matchNode(s,n,r,!0))),ny=(t,e)=>{const n=e??ty(t);return gt(Pi(t.dom,n),o=>Z(o)&&!Mo(o))},oy=(t,e,n)=>{const o=ny(t,e);Bt(n,(r,s)=>{const a=i=>{const l=ey(t,o,s,i.similar,Zv(i)?i.vars:void 0),d=l.isSome();if(i.state.get()!==d){i.state.set(d);const c=l.getOr(e);Zv(i)?i.callback(d,{node:c,format:s,parents:o}):U(i.callbacks,u=>u(d,{node:c,format:s,parents:o}))}};U([r.withSimilar,r.withoutSimilar],a),U(r.withVars,a)})},ry=H.explode,sy=()=>{const t={};return{addFilter:(e,n)=>{U(ry(e),o=>{ht(t,o)||(t[o]={name:o,callbacks:[]}),t[o].callbacks.push(n)})},getFilters:()=>od(t),removeFilter:(e,n)=>{U(ry(e),o=>{if(ht(t,o))if(q(n)){const r=t[o],s=gt(r.callbacks,a=>a!==n);s.length>0?r.callbacks=s:delete t[o]}else delete t[o]})}}},ay=(t,e,n)=>{e.addNodeFilter("br",(o,r,s)=>{const a=H.extend({},n.getBlockElements()),i=n.getNonEmptyElements(),l=n.getWhitespaceElements();a.body=1;const d=c=>c.name in a||Ud(n,c);for(let c=0,u=o.length;c{const[e,...n]=t.split(","),o=n.join(","),r=/data:([^/]+\/[^;]+)(;.+)?/.exec(e);if(r){const s=";base64"===r[2],a=s?(i=>{const l=/([a-z0-9+\/=\s]+)/i.exec(i);return l?l[1]:""})(o):decodeURIComponent(o);return C.some({type:r[1],data:a,base64Encoded:s})}return C.none()},iy=(t,e,n=!0)=>{let o=e;if(n)try{o=atob(e)}catch{return C.none()}const r=new Uint8Array(o.length);for(let s=0;snew Promise((e,n)=>{const o=new FileReader;o.onloadend=()=>{e(o.result)},o.onerror=()=>{var r;n(null===(r=o.error)||void 0===r?void 0:r.message)},o.readAsDataURL(t)});let iR=0;const dy=(t,e,n)=>ju(t).bind(({data:o,type:r,base64Encoded:s})=>{if(e&&!s)return C.none();{const a=s?o:btoa(o);return n(a,r)}}),cy=(t,e,n)=>{const o=t.create("blobid"+iR++,e,n);return t.add(o),o},uy=(t,e,n=!1)=>dy(e,n,(o,r)=>C.from(t.getByData(o,r)).orThunk(()=>iy(r,o).map(s=>cy(t,s,o)))),Hu=(t,e)=>le(t,`${e}/`),{entries:my,setPrototypeOf:fy,isFrozen:dR,getPrototypeOf:cR,getOwnPropertyDescriptor:uR}=Object;let{freeze:Me,seal:yn,create:mR}=Object,{apply:$u,construct:qu}=typeof Reflect<"u"&&Reflect;$u||($u=function(t,e,n){return t.apply(e,n)}),Me||(Me=function(t){return t}),yn||(yn=function(t){return t}),qu||(qu=function(t,e){return new t(...e)});const fR=cn(Array.prototype.forEach),gR=cn(Array.prototype.pop),ha=cn(Array.prototype.push),Ji=cn(String.prototype.toLowerCase),Vu=cn(String.prototype.toString),pR=cn(String.prototype.match),Cn=cn(String.prototype.replace),hR=cn(String.prototype.indexOf),bR=cn(String.prototype.trim),Xe=cn(RegExp.prototype.test),ba=(gy=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),r=1;r/gm),xR=yn(/\${[\w\W]*}/gm),ER=yn(/^data-[\-\w.\u00B7-\uFFFF]/),_R=yn(/^aria-[\-\w]+$/),yy=yn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),kR=yn(/^(?:\w+script|data):/i),SR=yn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Cy=yn(/^html$/i);var wy=Object.freeze({__proto__:null,MUSTACHE_EXPR:CR,ERB_EXPR:wR,TMPLIT_EXPR:xR,DATA_ATTR:ER,ARIA_ATTR:_R,IS_ALLOWED_URI:yy,IS_SCRIPT_OR_DATA:kR,ATTR_WHITESPACE:SR,DOCTYPE_NAME:Cy}),xy=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const n=D=>t(D);if(n.version="3.0.5",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;const o=e.document,r=o.currentScript;let{document:s}=e;const{DocumentFragment:a,HTMLTemplateElement:i,Node:l,Element:d,NodeFilter:c,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:m,DOMParser:p,trustedTypes:f}=e,h=d.prototype,g=Zi(h,"cloneNode"),b=Zi(h,"nextSibling"),v=Zi(h,"childNodes"),y=Zi(h,"parentNode");if("function"==typeof i){const D=s.createElement("template");D.content&&D.content.ownerDocument&&(s=D.content.ownerDocument)}let x,w="";const{implementation:E,createNodeIterator:N,createDocumentFragment:T,getElementsByTagName:O}=s,{importNode:P}=o;let _={};n.isSupported="function"==typeof my&&"function"==typeof y&&E&&void 0!==E.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:B,TMPLIT_EXPR:M,DATA_ATTR:V,ARIA_ATTR:$,IS_SCRIPT_OR_DATA:ot,ATTR_WHITESPACE:et}=wy;let{IS_ALLOWED_URI:lt}=wy,rt=null;const K=St({},[...py,...Wu,...Ku,...Yu,...hy]);let X=null;const mt=St({},[...by,...Gu,...vy,...tl]);let S=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),A=null,I=null,F=!0,z=!0,Q=!1,it=!0,ft=!1,dt=!1,Tt=!1,tt=!1,bt=!1,Ct=!1,pt=!1,wt=!0,ne=!1,st=!0,yt=!1,It={},Xt=null;const me=St({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ke=null;const tn=St({},["audio","video","img","source","image","track"]);let pe=null;const en=St({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qt="http://www.w3.org/1998/Math/MathML",eo="http://www.w3.org/2000/svg",nn="http://www.w3.org/1999/xhtml";let mn=nn,ur=!1,Ua=null;const mr=St({},[Qt,eo,nn],Vu);let on;const Kl=["application/xhtml+xml","text/html"];let Ft,xn=null;const fr=s.createElement("form"),za=function(D){return D instanceof RegExp||D instanceof Function},Nf=function(D){if(!xn||xn!==D){if(D&&"object"==typeof D||(D={}),D=Vr(D),on=on=-1===Kl.indexOf(D.PARSER_MEDIA_TYPE)?"text/html":D.PARSER_MEDIA_TYPE,Ft="application/xhtml+xml"===on?Vu:Ji,rt="ALLOWED_TAGS"in D?St({},D.ALLOWED_TAGS,Ft):K,X="ALLOWED_ATTR"in D?St({},D.ALLOWED_ATTR,Ft):mt,Ua="ALLOWED_NAMESPACES"in D?St({},D.ALLOWED_NAMESPACES,Vu):mr,pe="ADD_URI_SAFE_ATTR"in D?St(Vr(en),D.ADD_URI_SAFE_ATTR,Ft):en,ke="ADD_DATA_URI_TAGS"in D?St(Vr(tn),D.ADD_DATA_URI_TAGS,Ft):tn,Xt="FORBID_CONTENTS"in D?St({},D.FORBID_CONTENTS,Ft):me,A="FORBID_TAGS"in D?St({},D.FORBID_TAGS,Ft):{},I="FORBID_ATTR"in D?St({},D.FORBID_ATTR,Ft):{},It="USE_PROFILES"in D&&D.USE_PROFILES,F=!1!==D.ALLOW_ARIA_ATTR,z=!1!==D.ALLOW_DATA_ATTR,Q=D.ALLOW_UNKNOWN_PROTOCOLS||!1,it=!1!==D.ALLOW_SELF_CLOSE_IN_ATTR,ft=D.SAFE_FOR_TEMPLATES||!1,dt=D.WHOLE_DOCUMENT||!1,bt=D.RETURN_DOM||!1,Ct=D.RETURN_DOM_FRAGMENT||!1,pt=D.RETURN_TRUSTED_TYPE||!1,tt=D.FORCE_BODY||!1,wt=!1!==D.SANITIZE_DOM,ne=D.SANITIZE_NAMED_PROPS||!1,st=!1!==D.KEEP_CONTENT,yt=D.IN_PLACE||!1,lt=D.ALLOWED_URI_REGEXP||yy,mn=D.NAMESPACE||nn,S=D.CUSTOM_ELEMENT_HANDLING||{},D.CUSTOM_ELEMENT_HANDLING&&za(D.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(S.tagNameCheck=D.CUSTOM_ELEMENT_HANDLING.tagNameCheck),D.CUSTOM_ELEMENT_HANDLING&&za(D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(S.attributeNameCheck=D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),D.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(S.allowCustomizedBuiltInElements=D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ft&&(z=!1),Ct&&(bt=!0),It&&(rt=St({},[...hy]),X=[],!0===It.html&&(St(rt,py),St(X,by)),!0===It.svg&&(St(rt,Wu),St(X,Gu),St(X,tl)),!0===It.svgFilters&&(St(rt,Ku),St(X,Gu),St(X,tl)),!0===It.mathMl&&(St(rt,Yu),St(X,vy),St(X,tl))),D.ADD_TAGS&&(rt===K&&(rt=Vr(rt)),St(rt,D.ADD_TAGS,Ft)),D.ADD_ATTR&&(X===mt&&(X=Vr(X)),St(X,D.ADD_ATTR,Ft)),D.ADD_URI_SAFE_ATTR&&St(pe,D.ADD_URI_SAFE_ATTR,Ft),D.FORBID_CONTENTS&&(Xt===me&&(Xt=Vr(Xt)),St(Xt,D.FORBID_CONTENTS,Ft)),st&&(rt["#text"]=!0),dt&&St(rt,["html","head","body"]),rt.table&&(St(rt,["tbody"]),delete A.tbody),D.TRUSTED_TYPES_POLICY){if("function"!=typeof D.TRUSTED_TYPES_POLICY.createHTML)throw ba('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof D.TRUSTED_TYPES_POLICY.createScriptURL)throw ba('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=D.TRUSTED_TYPES_POLICY,w=x.createHTML("")}else void 0===x&&(x=function(nt,ut){if("object"!=typeof nt||"function"!=typeof nt.createPolicy)return null;let At=null;const Mt="data-tt-policy-suffix";ut&&ut.hasAttribute(Mt)&&(At=ut.getAttribute(Mt));const jt="dompurify"+(At?"#"+At:"");try{return nt.createPolicy(jt,{createHTML:Ut=>Ut,createScriptURL:Ut=>Ut})}catch{return console.warn("TrustedTypes policy "+jt+" could not be created."),null}}(f,r)),null!==x&&"string"==typeof w&&(w=x.createHTML(""));Me&&Me(D),xn=D}},OE=St({},["mi","mo","mn","ms","mtext"]),BE=St({},["foreignobject","desc","title","annotation-xml"]),uB=St({},["title","style","font","a","script"]),Yl=St({},Wu);St(Yl,Ku),St(Yl,vR);const Rf=St({},Yu);St(Rf,yR);const gr=function(D){ha(n.removed,{element:D});try{D.parentNode.removeChild(D)}catch{D.remove()}},ja=function(D,nt){try{ha(n.removed,{attribute:nt.getAttributeNode(D),from:nt})}catch{ha(n.removed,{attribute:null,from:nt})}if(nt.removeAttribute(D),"is"===D&&!X[D])if(bt||Ct)try{gr(nt)}catch{}else try{nt.setAttribute(D,"")}catch{}},PE=function(D){let nt,ut;if(tt)D=""+D;else{const jt=pR(D,/^[\r\n\t ]+/);ut=jt&&jt[0]}"application/xhtml+xml"===on&&mn===nn&&(D=''+D+"");const At=x?x.createHTML(D):D;if(mn===nn)try{nt=(new p).parseFromString(At,on)}catch{}if(!nt||!nt.documentElement){nt=E.createDocument(mn,"template",null);try{nt.documentElement.innerHTML=ur?w:At}catch{}}const Mt=nt.body||nt.documentElement;return D&&ut&&Mt.insertBefore(s.createTextNode(ut),Mt.childNodes[0]||null),mn===nn?O.call(nt,dt?"html":"body")[0]:dt?nt.documentElement:Mt},DE=function(D){return N.call(D.ownerDocument||D,D,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Gl=function(D){return"object"==typeof l?D instanceof l:D&&"object"==typeof D&&"number"==typeof D.nodeType&&"string"==typeof D.nodeName},no=function(D,nt,ut){_[D]&&fR(_[D],At=>{At.call(n,nt,ut,xn)})},LE=function(D){let nt;if(no("beforeSanitizeElements",D,null),(ut=D)instanceof m&&("string"!=typeof ut.nodeName||"string"!=typeof ut.textContent||"function"!=typeof ut.removeChild||!(ut.attributes instanceof u)||"function"!=typeof ut.removeAttribute||"function"!=typeof ut.setAttribute||"string"!=typeof ut.namespaceURI||"function"!=typeof ut.insertBefore||"function"!=typeof ut.hasChildNodes))return gr(D),!0;var ut;const At=Ft(D.nodeName);if(no("uponSanitizeElement",D,{tagName:At,allowedTags:rt}),D.hasChildNodes()&&!Gl(D.firstElementChild)&&(!Gl(D.content)||!Gl(D.content.firstElementChild))&&Xe(/<[/\w]/g,D.innerHTML)&&Xe(/<[/\w]/g,D.textContent))return gr(D),!0;if(!rt[At]||A[At]){if(!A[At]&&IE(At)&&(S.tagNameCheck instanceof RegExp&&Xe(S.tagNameCheck,At)||S.tagNameCheck instanceof Function&&S.tagNameCheck(At)))return!1;if(st&&!Xt[At]){const Mt=y(D)||D.parentNode,jt=v(D)||D.childNodes;if(jt&&Mt)for(let Ut=jt.length-1;Ut>=0;--Ut)Mt.insertBefore(g(jt[Ut],!0),b(D))}return gr(D),!0}return D instanceof d&&!function(Mt){let jt=y(Mt);jt&&jt.tagName||(jt={namespaceURI:mn,tagName:"template"});const Ut=Ji(Mt.tagName),qt=Ji(jt.tagName);return!!Ua[Mt.namespaceURI]&&(Mt.namespaceURI===eo?jt.namespaceURI===nn?"svg"===Ut:jt.namespaceURI===Qt?"svg"===Ut&&("annotation-xml"===qt||OE[qt]):!!Yl[Ut]:Mt.namespaceURI===Qt?jt.namespaceURI===nn?"math"===Ut:jt.namespaceURI===eo?"math"===Ut&&BE[qt]:!!Rf[Ut]:Mt.namespaceURI===nn?!(jt.namespaceURI===eo&&!BE[qt])&&!(jt.namespaceURI===Qt&&!OE[qt])&&!Rf[Ut]&&(uB[Ut]||!Yl[Ut]):!("application/xhtml+xml"!==on||!Ua[Mt.namespaceURI]))}(D)?(gr(D),!0):"noscript"!==At&&"noembed"!==At&&"noframes"!==At||!Xe(/<\/no(script|embed|frames)/i,D.innerHTML)?(ft&&3===D.nodeType&&(nt=D.textContent,nt=Cn(nt,R," "),nt=Cn(nt,B," "),nt=Cn(nt,M," "),D.textContent!==nt&&(ha(n.removed,{element:D.cloneNode()}),D.textContent=nt)),no("afterSanitizeElements",D,null),!1):(gr(D),!0)},ME=function(D,nt,ut){if(wt&&("id"===nt||"name"===nt)&&(ut in s||ut in fr))return!1;if((!z||I[nt]||!Xe(V,nt))&&(!F||!Xe($,nt)))if(!X[nt]||I[nt]){if(!(IE(D)&&(S.tagNameCheck instanceof RegExp&&Xe(S.tagNameCheck,D)||S.tagNameCheck instanceof Function&&S.tagNameCheck(D))&&(S.attributeNameCheck instanceof RegExp&&Xe(S.attributeNameCheck,nt)||S.attributeNameCheck instanceof Function&&S.attributeNameCheck(nt))||"is"===nt&&S.allowCustomizedBuiltInElements&&(S.tagNameCheck instanceof RegExp&&Xe(S.tagNameCheck,ut)||S.tagNameCheck instanceof Function&&S.tagNameCheck(ut))))return!1}else if(!pe[nt]&&!Xe(lt,Cn(ut,et,""))&&("src"!==nt&&"xlink:href"!==nt&&"href"!==nt||"script"===D||0!==hR(ut,"data:")||!ke[D])&&(!Q||Xe(ot,Cn(ut,et,"")))&&ut)return!1;return!0},IE=function(D){return D.indexOf("-")>0},FE=function(D){let nt,ut,At,Mt;no("beforeSanitizeAttributes",D,null);const{attributes:jt}=D;if(!jt)return;const Ut={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:X};for(Mt=jt.length;Mt--;){nt=jt[Mt];const{name:qt,namespaceURI:as}=nt;ut="value"===qt?nt.value:bR(nt.value);const fB=ut;if(At=Ft(qt),Ut.attrName=At,Ut.attrValue=ut,Ut.keepAttr=!0,Ut.forceKeepAttr=void 0,no("uponSanitizeAttribute",D,Ut),ut=Ut.attrValue,Ut.forceKeepAttr)continue;if(!Ut.keepAttr){ja(qt,D);continue}if(!it&&Xe(/\/>/i,ut)){ja(qt,D);continue}ft&&(ut=Cn(ut,R," "),ut=Cn(ut,B," "),ut=Cn(ut,M," "));const UE=Ft(D.nodeName);if(ME(UE,At,ut)){if(!ne||"id"!==At&&"name"!==At||(ja(qt,D),ut="user-content-"+ut),x&&"object"==typeof f&&"function"==typeof f.getAttributeType&&!as)switch(f.getAttributeType(UE,At)){case"TrustedHTML":ut=x.createHTML(ut);break;case"TrustedScriptURL":ut=x.createScriptURL(ut)}if(ut!==fB)try{as?D.setAttributeNS(as,qt,ut):D.setAttribute(qt,ut)}catch{ja(qt,D)}}else ja(qt,D)}no("afterSanitizeAttributes",D,null)},mB=function D(nt){let ut;const At=DE(nt);for(no("beforeSanitizeShadowDOM",nt,null);ut=At.nextNode();)no("uponSanitizeShadowNode",ut,null),LE(ut)||(ut.content instanceof a&&D(ut.content),FE(ut));no("afterSanitizeShadowDOM",nt,null)};return n.sanitize=function(D){let nt,ut,At,Mt,jt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ur=!D,ur&&(D="\x3c!--\x3e"),"string"!=typeof D&&!Gl(D)){if("function"!=typeof D.toString)throw ba("toString is not a function");if("string"!=typeof(D=D.toString()))throw ba("dirty is not a string, aborting")}if(!n.isSupported)return D;if(Tt||Nf(jt),n.removed=[],"string"==typeof D&&(yt=!1),yt){if(D.nodeName){const as=Ft(D.nodeName);if(!rt[as]||A[as])throw ba("root node is forbidden and cannot be sanitized in-place")}}else if(D instanceof l)nt=PE("\x3c!----\x3e"),ut=nt.ownerDocument.importNode(D,!0),1===ut.nodeType&&"BODY"===ut.nodeName||"HTML"===ut.nodeName?nt=ut:nt.appendChild(ut);else{if(!bt&&!ft&&!dt&&-1===D.indexOf("<"))return x&&pt?x.createHTML(D):D;if(nt=PE(D),!nt)return bt?null:pt?w:""}nt&&tt&&gr(nt.firstChild);const Ut=DE(yt?D:nt);for(;At=Ut.nextNode();)LE(At)||(At.content instanceof a&&mB(At.content),FE(At));if(yt)return D;if(bt){if(Ct)for(Mt=T.call(nt.ownerDocument);nt.firstChild;)Mt.appendChild(nt.firstChild);else Mt=nt;return(X.shadowroot||X.shadowrootmode)&&(Mt=P.call(o,Mt,!0)),Mt}let qt=dt?nt.outerHTML:nt.innerHTML;return dt&&rt["!doctype"]&&nt.ownerDocument&&nt.ownerDocument.doctype&&nt.ownerDocument.doctype.name&&Xe(Cy,nt.ownerDocument.doctype.name)&&(qt="\n"+qt),ft&&(qt=Cn(qt,R," "),qt=Cn(qt,B," "),qt=Cn(qt,M," ")),x&&pt?x.createHTML(qt):qt},n.setConfig=function(D){Nf(D),Tt=!0},n.clearConfig=function(){xn=null,Tt=!1},n.isValidAttribute=function(D,nt,ut){xn||Nf({});const At=Ft(D),Mt=Ft(nt);return ME(At,Mt,ut)},n.addHook=function(D,nt){"function"==typeof nt&&(_[D]=_[D]||[],ha(_[D],nt))},n.removeHook=function(D){if(_[D])return gR(_[D])},n.removeHooks=function(D){_[D]&&(_[D]=[])},n.removeAllHooks=function(){_={}},n}();const Ey=H.each,RR=H.trim,AR=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],TR={ftp:21,http:80,https:443,mailto:25},OR=["img","video"],_y=(t,e,n)=>{const o=(r=>{try{return decodeURIComponent(r)}catch{return unescape(r)}})(e).replace(/\s/g,"");return!t.allow_script_urls&&(!!/((java|vb)script|mhtml):/i.test(o)||!t.allow_html_data_urls&&(/^data:image\//i.test(o)?(s=n,(q(r=t.allow_svg_data_urls)?!r:!q(s)||!Rt(OR,s))&&/^data:image\/svg\+xml/i.test(o)):/^data:/i.test(o)));var r,s};class un{static parseDataUri(e){let n;const o=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(o[0]);return r&&(n=r[1]),{type:n,data:o[1]}}static isDomSafe(e,n,o={}){if(o.allow_script_urls)return!0;{const r=co.decode(e).replace(/[\s\u0000-\u001F]+/g,"");return!_y(o,r,n)}}static getDocumentBaseUrl(e){var n;let o;return o=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?null!==(n=e.href)&&void 0!==n?n:"":e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(o)&&(o=o.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(o)||(o+="/")),o}constructor(e,n={}){this.path="",this.directory="",e=RR(e),this.settings=n;const o=n.base_uri,r=this;if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(r.source=e);const s=0===e.indexOf("//");if(0!==e.indexOf("/")||s||(e=(o&&o.protocol||"http")+"://mce_host"+e),!/^[\w\-]*:?\/\//.test(e)){const i=o?o.path:new un(document.location.href).directory;if(""===o?.protocol)e="//mce_host"+r.toAbsPath(i,e);else{const l=/([^#?]*)([#?]?.*)/.exec(e);l&&(e=(o&&o.protocol||"http")+"://mce_host"+r.toAbsPath(i,l[1])+l[2])}}e=e.replace(/@@/g,"(mce_at)");const a=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a&&Ey(AR,(i,l)=>{let d=a[l];d&&(d=d.replace(/\(mce_at\)/g,"@@")),r[i]=d}),o&&(r.protocol||(r.protocol=o.protocol),r.userInfo||(r.userInfo=o.userInfo),r.port||"mce_host"!==r.host||(r.port=o.port),r.host&&"mce_host"!==r.host||(r.host=o.host),r.source=""),s&&(r.protocol="")}setPath(e){const n=/^(.*?)\/?(\w+)?$/.exec(e);n&&(this.path=n[0],this.directory=n[1],this.file=n[2]),this.source="",this.getURI()}toRelative(e){if("./"===e)return e;const n=new un(e,{base_uri:this});if("mce_host"!==n.host&&this.host!==n.host&&n.host||this.port!==n.port||this.protocol!==n.protocol&&""!==n.protocol)return n.getURI();const o=this.getURI(),r=n.getURI();if(o===r||"/"===o.charAt(o.length-1)&&o.substr(0,o.length-1)===r)return o;let s=this.toRelPath(this.path,n.path);return n.query&&(s+="?"+n.query),n.anchor&&(s+="#"+n.anchor),s}toAbsolute(e,n){const o=new un(e,{base_uri:this});return o.getURI(n&&this.isSameOrigin(o))}isSameOrigin(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;const n=this.protocol?TR[this.protocol]:null;if(n&&(this.port||n)==(e.port||n))return!0}return!1}toRelPath(e,n){let o,r,s=0,a="";const i=e.substring(0,e.lastIndexOf("/")).split("/"),l=n.split("/");if(i.length>=l.length)for(o=0,r=i.length;o=l.length||i[o]!==l[o]){s=o+1;break}if(i.length=i.length||i[o]!==l[o]){s=o+1;break}if(1===s)return n;for(o=0,r=i.length-(s-1);o{u&&i.push(u)});const l=[];for(let u=a.length-1;u>=0;u--)0!==a[u].length&&"."!==a[u]&&(".."!==a[u]?o>0?o--:l.push(a[u]):o++);const d=i.length-o;let c;return c=d<=0?ms(l).join("/"):i.slice(0,d).join("/")+"/"+ms(l).join("/"),0!==c.indexOf("/")&&(c="/"+c),r&&c.lastIndexOf("/")!==c.length-1&&(c+=r),c}getURI(e=!1){let n;return this.source&&!e||(n="",e||(n+=this.protocol?this.protocol+"://":"//",this.userInfo&&(n+=this.userInfo+"@"),this.host&&(n+=this.host),this.port&&(n+=":"+this.port)),this.path&&(n+=this.path),this.query&&(n+="?"+this.query),this.anchor&&(n+="#"+this.anchor),this.source=n),this.source}}const BR=H.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),Xu="data-mce-type";let ky=0;const Sy=(t,e,n,o,r)=>{var s,a,i,l;const d=e.validate,c=n.getSpecialElements();8===t.nodeType&&!e.allow_conditional_comments&&/^\[if/i.test(null!==(s=t.nodeValue)&&void 0!==s?s:"")&&(t.nodeValue=" "+t.nodeValue);const u=null!==(a=r?.tagName)&&void 0!==a?a:t.nodeName.toLowerCase();if("html"!==o&&n.isValid(o))return void(q(r)&&(r.allowedTags[u]=!0));if(1!==t.nodeType||"body"===u)return;const m=k(t),p=bs(m,Xu),f=Ue(m,"data-mce-bogus");if(!p&&at(f))return void("all"===f?Dt(m):Kn(m));const h=n.getElementRule(u);if(!d||h){if(q(r)&&(r.allowedTags[u]=!0),d&&h&&!p){if(U(null!==(i=h.attributesForced)&&void 0!==i?i:[],g=>{de(m,g.name,"{$uid}"===g.value?"mce_"+ky++:g.value)}),U(null!==(l=h.attributesDefault)&&void 0!==l?l:[],g=>{bs(m,g.name)||de(m,g.name,"{$uid}"===g.value?"mce_"+ky++:g.value)}),h.attributesRequired&&!$t(h.attributesRequired,g=>bs(m,g))||h.removeEmptyAttrs&&(g=>{const b=g.dom.attributes;return null==b||0===b.length})(m))return void Kn(m);h.outputName&&h.outputName!==u&&((g,b)=>{const v=((x,w)=>{const E=oe(w),N=vg(x);return jn(E,N),E})(g,b);Wn(g,v);const y=ue(g);Do(v,y),Dt(g)})(m,h.outputName)}}else ht(c,u)?Dt(m):Kn(m)},Ny=(t,e,n,o,r,s)=>"html"!==n&&!Fo(o)||!(r in BR&&_y(t,s,o))&&(!t.validate||e.isValid(o,r)||le(r,"data-")||le(r,"aria-")),Ry=(t,e)=>t.hasAttribute(Xu)&&("id"===e||"class"===e||"style"===e),Ay=(t,e)=>t in e.getBoolAttrs(),PR=(t,e,n,o)=>{const{attributes:r}=t;for(let s=r.length-1;s>=0;s--){const a=r[s],i=a.name,l=a.value;Ny(e,n,o,t.tagName.toLowerCase(),i,l)||Ry(t,i)?Ay(i,n)&&t.setAttribute(i,i):t.removeAttribute(i)}},LR=t=>{const n={IN_PLACE:!0,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOWED_ATTR:["type","href","role","arcrole","title","show","actuate","label","from","to"].map(o=>`xlink:${o}`)};return xy().sanitize(t,n),t.innerHTML},Ty=H.makeMap,Oy=H.extend,By=(t,e,n,o)=>{const r=t.name,s=r in n&&"title"!==r&&"textarea"!==r,a=e.childNodes;for(let i=0,l=a.length;i{const n=sy(),o=sy(),r={validate:!0,root_name:"body",sanitize:!0,...t},s=new DOMParser,a=((h,g)=>{const b=(()=>{let v=[];const y=()=>v[v.length-1];return{track:x=>{Pd(x)&&v.push(x);let w=y();return w&&!w.contains(x)&&(v.pop(),w=y()),rp(w)},current:()=>rp(y()),reset:()=>{v=[]}}})();if(h.sanitize){const v=((t,e,n)=>{const o=xy();return o.addHook("uponSanitizeElement",(r,s)=>{Sy(r,t,e,n.track(r),s)}),o.addHook("uponSanitizeAttribute",(r,s)=>{((a,i,l,d,c)=>{const u=a.tagName.toLowerCase(),{attrName:m,attrValue:p}=c;c.keepAttr=Ny(i,l,d,u,m,p),c.keepAttr?(c.allowedAttributes[m]=!0,Ay(m,l)&&(c.attrValue=m),i.allow_svg_data_urls&&le(p,"data:image/svg+xml")&&(c.forceKeepAttr=!0)):Ry(a,m)&&(c.forceKeepAttr=!0)})(r,t,e,n.current(),s)}),o})(h,g,b);return{sanitizeHtmlElement:(x,w)=>{v.sanitize(x,((E,N)=>{const T={IN_PLACE:!0,ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:["#comment","#cdata-section","body"],ALLOWED_ATTR:[]};return T.PARSER_MEDIA_TYPE=N,E.allow_script_urls?T.ALLOWED_URI_REGEXP=/.*/:E.allow_html_data_urls&&(T.ALLOWED_URI_REGEXP=/^(?!(\w+script|mhtml):)/i),T})(h,w)),v.removed=[],b.reset()},sanitizeNamespaceElement:LR}}return{sanitizeHtmlElement:(v,y)=>{const x=document.createNodeIterator(v,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT);let w;for(;w=x.nextNode();){const E=b.track(w);Sy(w,h,g,E),Z(w)&&PR(w,h,g,E)}b.reset()},sanitizeNamespaceElement:vt}})(r,e),l=n.getFilters,u=o.getFilters,p=(h,g)=>{const b=at(g.attr(Xu)),v=1===g.type&&!ht(h,g.name)&&!Ud(e,g)&&!Fo(g.name);return 3===g.type||v&&!b},f={schema:e,addAttributeFilter:o.addFilter,getAttributeFilters:u,removeAttributeFilter:o.removeFilter,addNodeFilter:n.addFilter,getNodeFilters:l,removeNodeFilter:n.removeFilter,parse:(h,g={})=>{var b;const v=r.validate,y=null!==(b=g.context)&&void 0!==b?b:r.root_name,x=((B,M,V="html")=>{const $="xhtml"===V?"application/xhtml+xml":"text/html",ot=ht(e.getSpecialElements(),M.toLowerCase()),et=ot?`<${M}>${B}`:B,rt=s.parseFromString("xhtml"===V?`${et}`:`${et}`,$).body;return a.sanitizeHtmlElement(rt,$),ot?rt.firstChild:rt})(h,y,g.format);Ld(e,x);const w=new Ee(y,11);By(w,x,e.getSpecialElements(),a.sanitizeNamespaceElement),x.innerHTML="";const[E,N]=((B,M,V,$)=>{const ot=V.validate,et=M.getNonEmptyElements(),lt=M.getWhitespaceElements(),rt=Oy(Ty("script,style,head,html,body,title,meta,param"),M.getBlockElements()),K=Cp(M),X=/[ \t\r\n]+/g,mt=/^[ \t\r\n]+/,S=/[ \t\r\n]+$/,A=z=>{let Q=z.parent;for(;q(Q);){if(Q.name in lt)return!0;Q=Q.parent}return!1},I=z=>z.name in rt||Ud(M,z)||Fo(z.name)&&z.parent===B,F=(z,Q)=>!q(Q?z.prev:z.next)&&!Gt(z.parent)&&I(z.parent)&&(z.parent!==B||!0===$.isRootContent);return[z=>{var Q,ft,dt;if(3===z.type&&!A(z)){let it=null!==(Q=z.value)&&void 0!==Q?Q:"";it=it.replace(X," "),dt=I,(q(ft=z.prev)&&(dt(ft)||"br"===ft.name)||F(z,!0))&&(it=it.replace(mt,"")),0===it.length?z.remove():z.value=it}},z=>{var Q,dt,Tt;if(1===z.type){const it=M.getElementRule(z.name);if(ot&&it){const ft=ma(M,et,lt,z);it.paddInEmptyBlock&&ft&&(dt=>{let Tt=dt;for(;q(Tt);){if(Tt.name in K)return ma(M,et,lt,Tt);Tt=Tt.parent}return!1})(z)?wu(V,$,I,z):it.removeEmpty&&ft?I(z)?z.remove():z.unwrap():it.paddEmpty&&(ft||bv(dt=z,"#text")&&(null===(Tt=dt?.firstChild)||void 0===Tt?void 0:Tt.value)===re)&&wu(V,$,I,z)}}else if(3===z.type&&!A(z)){let it=null!==(Q=z.value)&&void 0!==Q?Q:"";(z.next&&I(z.next)||F(z,!1))&&(it=it.replace(S,"")),0===it.length?z.remove():z.value=it}}]})(w,e,r,g),T=[],P={nodes:{},attributes:{}},_=B=>gv(l(),u(),B,P);if(((B,M,V)=>{const $=[];for(let ot=B,et=ot;ot;et=ot,ot=ot.walk()){const lt=ot;U(M,rt=>rt(lt)),Gt(lt.parent)&<!==B?ot=et:$.push(lt)}for(let ot=$.length-1;ot>=0;ot--){const et=$[ot];U(V,lt=>lt(et))}})(w,[E,_],[N,v?B=>{return V=T,void(_u(e,M=B)&&V.push(M));var M,V}:vt]),T.reverse(),v&&T.length>0)if(g.context){const{pass:B,fail:M}=hr(T,V=>V.parent===w);Eu(M,e,w,_),g.invalid=B.length>0}else Eu(T,e,w,_);const R=((B,M)=>{var V;const $=null!==(V=M.forced_root_block)&&void 0!==V?V:B.forced_root_block;return!1===$?"":!0===$?"p":$})(r,g);return R&&("body"===w.name||g.isRootContent)&&((B,M)=>{const V=Oy(Ty("script,style,head,html,body,title,meta,param"),e.getBlockElements()),$=/^[ \t\r\n]+/,ot=/[ \t\r\n]+$/;let et=B.firstChild,lt=null;const rt=K=>{var X,mt;K&&(et=K.firstChild,et&&3===et.type&&(et.value=null===(X=et.value)||void 0===X?void 0:X.replace($,"")),et=K.lastChild,et&&3===et.type&&(et.value=null===(mt=et.value)||void 0===mt?void 0:mt.replace(ot,"")))};if(e.isValidChild(B.name,M.toLowerCase())){for(;et;){const K=et.next;p(V,et)?(lt||(lt=new Ee(M,1),lt.attr(r.forced_root_block_attrs),B.insert(lt,et)),lt.append(et)):(rt(lt),lt=null),et=K}rt(lt)}})(w,R),g.invalid||pv(P,g),w}};return((t,e)=>{const n=t.schema;e.remove_trailing_brs&&ay(e,t,n),t.addAttributeFilter("href",r=>{let s=r.length;const a=i=>{const l=i?H.trim(i):"";return/\b(noopener)\b/g.test(l)?l:l.split(" ").filter(c=>c.length>0).concat(["noopener"]).sort().join(" ")};if(!e.allow_unsafe_link_target)for(;s--;){const i=r[s];"a"===i.name&&"_blank"===i.attr("target")&&i.attr("rel",a(i.attr("rel")))}}),e.allow_html_in_named_anchor||t.addAttributeFilter("id,name",r=>{let s,a,i,l,d=r.length;for(;d--;)if(l=r[d],"a"===l.name&&l.firstChild&&!l.attr("href"))for(i=l.parent,s=l.lastChild;s&&i;)a=s.prev,i.insert(s,l),s=a}),e.fix_list_elements&&t.addNodeFilter("ul,ol",r=>{let s,a,i=r.length;for(;i--;)if(s=r[i],a=s.parent,a&&("ul"===a.name||"ol"===a.name))if(s.prev&&"li"===s.prev.name)s.prev.append(s);else{const l=new Ee("li",1);l.attr("style","list-style-type: none"),s.wrap(l)}});const o=n.getValidClasses();e.validate&&o&&t.addAttributeFilter("class",r=>{var s;let a=r.length;for(;a--;){const i=r[a],l=null!==(s=i.attr("class"))&&void 0!==s?s:"",d=H.explode(l," ");let c="";for(let u=0;u{const{blob_cache:a}=s;if(a){const i=l=>{const d=l.attr("src");var c;(c=l).attr("src")===_t.transparentSrc||q(c.attr("data-mce-placeholder"))||(c=>q(c.attr("data-mce-bogus")))(l)||Gt(d)||uy(a,d,!0).each(c=>{l.attr("src",c.blobUri())})};r.addAttributeFilter("src",l=>U(l,i))}})(t,e),e.convert_unsafe_embeds&&t.addNodeFilter("object,embed",r=>U(r,s=>{s.replace(((a,i,l,d,c)=>{let u;u=fe(a)?"iframe":Hu(a,"image")?"img":Hu(a,"video")?"video":Hu(a,"audio")?"audio":"iframe";const m=new Ee(u,1);return m.attr("audio"===u?{src:i}:{src:i,width:l,height:d}),"audio"!==u&&"video"!==u||m.attr("controls",""),"iframe"===u&&c&&m.attr("sandbox",""),m})(s.attr("type"),s.attr("object"===s.name?"data":"src"),s.attr("width"),s.attr("height"),e.sandbox_iframes))})),e.sandbox_iframes&&t.addNodeFilter("iframe",r=>U(r,s=>s.attr("sandbox","")))})(f,r),(g=r).inline_styles&&((t,e,n)=>{var o;const r=Wd();var s,a,i;e.convert_fonts_to_spans&&(s=t,a=r,i=H.explode(null!==(o=e.font_size_legacy_values)&&void 0!==o?o:""),s.addNodeFilter("font",l=>{U(l,d=>{const c=a.parse(d.attr("style")),u=d.attr("color"),m=d.attr("face"),p=d.attr("size");var f;u&&(c.color=u),m&&(c["font-family"]=m),p&&Ga(p).each(f=>{c["font-size"]=i[f-1]}),d.name="span",d.attr("style",a.serialize(c)),f=d,U(["color","face","size"],g=>{f.attr(g,null)})})})),((s,a,i)=>{s.addNodeFilter("strike",l=>{const d="html4"!==a.type;U(l,c=>{if(d)c.name="s";else{const u=i.parse(c.attr("style"));u["text-decoration"]="line-through",c.name="span",c.attr("style",i.serialize(u))}})})})(t,n,r)})(f,g,e),f;var g},Py=(t,e,n)=>{const o=Yi(s=t)?bo({validate:!1}).serialize(s):s,r=e(o);var s;if(r.isDefaultPrevented())return r;if(Yi(t)){if(r.content!==o){const s=Wr({validate:!1,forced_root_block:!1,...n}).parse(r.content,{context:t.name});return{...r,content:s}}return{...r,content:t}}return r},Dy=(t,e)=>{if(e.no_events)return Re.value(e);{const n=t.dispatch("BeforeGetContent",e);return n.isDefaultPrevented()?Re.error(Rb(t,{content:"",...n}).content):Re.value(n)}},Ly=(t,e,n)=>n.no_events?e:Py(e,r=>Rb(t,{...n,content:r}),{sanitize:mc(t),sandbox_iframes:fc(t)}).content,Qu=(t,e)=>{if(e.no_events)return Re.value(e);{const n=Py(e.content,o=>{return r=t,s={...e,content:o},r.dispatch("BeforeSetContent",s);var r,s},{sanitize:mc(t),sandbox_iframes:fc(t)});return n.isDefaultPrevented()?(Nb(t,n),Re.error(void 0)):Re.value(n)}},Ju=(t,e,n)=>{n.no_events||Nb(t,{...n,content:e})},Zu=(t,e,n)=>({element:t,width:e,rows:n}),My=(t,e)=>({element:t,cells:e}),MR=(t,e)=>({x:t,y:e}),Iy=(t,e)=>Hn(t,e).bind(Ga).getOr(1),IR=(t,e,n)=>{const o=t.rows;return!!(o[n]?o[n].cells:[])[e]},Fy=t=>Oe(t,(e,n)=>n.cells.length>e?n.cells.length:e,0),Uy=(t,e)=>{const n=t.rows;for(let o=0;o{const s=[],a=t.rows;for(let i=n;i<=r;i++){const l=a[i].cells,d=e((e,n)=>{const o=$o(e.element),r=oe("tbody");return Do(r,n),Yt(o,r),o})(t,Et(t.rows,n=>{const o=Et(n.cells,s=>{const a=Mp(s);return ce(a,"colspan"),ce(a,"rowspan"),a}),r=$o(n.element);return Do(r,o),r})),jy=()=>Uc([]),el=(t,e)=>e>=0&&eze(t.innerText),$y=t=>Z(t)?t.outerHTML:j(t)?co.encodeRaw(t.data,!1):so(t)?"\x3c!--"+t.data+"--\x3e":"",$R=Ro(()=>document.implementation.createHTMLDocument("undo")),nl=t=>{const e=t.serializer.getTempAttrs(),n=b0(t.getBody(),e);return null!==n.querySelector("iframe")?{type:"fragmented",fragments:gt(Et(Ie(n.childNodes),En(ze,$y)),o=>o.length>0),content:"",bookmark:null,beforeBookmark:null}:{type:"complete",fragments:null,content:ze(n.innerHTML),bookmark:null,beforeBookmark:null}},tm=(t,e,n)=>{const o=n?e.beforeBookmark:e.bookmark;"fragmented"===e.type?((t,e)=>{((n,o)=>{let r=0;U(n,s=>{var a,i;0===s[0]?r++:1===s[0]?(((a,i,l)=>{const d=(c=>{let u;const m=document.createElement("div"),p=document.createDocumentFragment();for(c&&(m.innerHTML=c);u=m.firstChild;)p.appendChild(u);return p})(i);a.hasChildNodes()&&l{const r=n.length+o.length+2,s=new Array(r),a=new Array(r),i=(u,m,p,f,h)=>{const g=d(u,m,p,f);if(null===g||g.start===m&&g.diag===m-f||g.end===u&&g.diag===u-p){let b=u,v=p;for(;bf-p?(h.push([2,n[b]]),++b):(h.push([1,o[v]]),++v)}else{i(u,g.start,p,g.start-g.diag,h);for(let b=g.start;b{let h=u;for(;h-m({start:g,end:b,diag:v}))(u,h,m)},d=(u,m,p,f)=>{const h=m-u,g=f-p;if(0===h||0===g)return null;const b=h-g,v=g+h,y=(v%2==0?v:v+1)/2;let x,w,E,N,T;for(s[1+y]=u,a[1+y]=m+1,x=0;x<=y;++x){for(w=-x;w<=x;w+=2){for(E=w+y,s[E]=w===-x||w!==x&&s[E-1]=u&&T>=p&&n[N]===o[T];)a[E]=N--,T--;if(b%2==0&&-x<=w&&w<=x&&a[E]<=s[E+b])return l(a[E],w+u-p,m,f)}}return null},c=[];return i(0,n.length,0,o.length,c),c})(Et(Ie(e.childNodes),$y),t),e)})(e.fragments,t.getBody()):t.setContent(e.content,{format:"raw",no_selection:!q(o)||!Qh(o)||!o.isFakeCaret}),o&&(t.selection.moveToBookmark(o),t.selection.scrollIntoView())},em=t=>"fragmented"===t.type?t.fragments.join(""):t.content,qy=t=>{const e=oe("body",$R());return ni(e,em(t)),U(ve(e,"*[data-mce-bogus]"),Kn),Fg(e)},nm=(t,e)=>{return!(!t||!e)&&(o=e,!(em(t)!==em(o))||((n,o)=>qy(n)===qy(o))(t,e));var o},om=t=>0===t.get(),ol=(t,e,n)=>{om(n)&&(t.typing=e)},Vy=(t,e)=>{t.typing&&(ol(t,!1,e),t.add())},Wy=t=>({init:{bindEvents:vt},undoManager:{beforeChange:(e,n)=>{return o=t,s=n,void(om(e)&&s.set(ac(o.selection)));var o,s},add:(e,n,o,r,s,a)=>((i,l,d,c,u,m,p)=>{const f=nl(i),h=H.extend(m||{},f);if(!om(c)||i.removed)return null;const g=l.data[d.get()];if(i.dispatch("BeforeAddUndo",{level:h,lastLevel:g,originalEvent:p}).isDefaultPrevented()||g&&nm(g,h))return null;l.data[d.get()]&&u.get().each(y=>{l.data[d.get()].beforeBookmark=y});const b=Yk(i);if(b&&l.data.length>b){for(let y=0;y0?(i.setDirty(!0),i.dispatch("AddUndo",v),i.dispatch("change",v)):i.dispatch("AddUndo",v),h})(t,e,n,o,r,s,a),undo:(e,n,o)=>((r,s,a,i)=>{let l;return s.typing&&(s.add(),s.typing=!1,ol(s,!1,a)),i.get()>0&&(i.set(i.get()-1),l=s.data[i.get()],tm(r,l,!0),r.setDirty(!0),r.dispatch("Undo",{level:l})),l})(t,e,n,o),redo:(e,n)=>((o,r,s)=>{let a;return r.get(){return o=t,s=n,(r=e).data=[],s.set(0),r.typing=!1,void o.dispatch("ClearUndos");var o,r,s},reset:e=>{return(n=e).clear(),void n.add();var n},hasUndo:(e,n)=>{return o=t,r=e,n.get()>0||r.typing&&r.data[0]&&!nm(nl(o),r.data[0]);var o,r},hasRedo:(e,n)=>{return o=e,n.get(){return a=o,Vy(r=e,n),r.beforeChange(),r.ignore(a),r.add();var r,a},ignore:(e,n)=>((o,r)=>{try{o.set(o.get()+1),r()}finally{o.set(o.get()-1)}})(e,n),extra:(e,n,o,r)=>((s,a,i,l,d)=>{if(a.transact(l)){const c=a.data[i.get()].bookmark,u=a.data[i.get()-1];tm(s,u,!0),a.transact(d)&&(a.data[i.get()-1].beforeBookmark=c)}})(t,e,n,o,r)},formatter:{match:(e,n,o,r)=>Bu(t,e,n,o,r),matchAll:(e,n)=>((o,r,s)=>{const a=[],i={},l=o.selection.getStart();return o.dom.getParent(l,d=>{for(let c=0;cLn(t,e,n,o,r),canApply:e=>((n,o)=>{const r=n.formatter.get(o),s=n.dom;if(r&&n.selection.isEditable()){const a=n.selection.getStart(),i=Pi(s,a);for(let l=r.length-1;l>=0;l--){const d=r[l];if(!Ke(d))return!0;for(let c=i.length-1;c>=0;c--)if(s.is(i[c],d.selector))return!0}}return!1})(t,e),closest:e=>((n,o)=>{const r=s=>kt(s,k(n.getBody()));return C.from(n.selection.getStart(!0)).bind(s=>Au(k(s),a=>br(o,i=>{return Ln(n,a.dom,d=i)?C.some(d):C.none();var d}),r)).getOrNull()})(t,e),apply:(e,n,o)=>Jv(t,e,n,o),remove:(e,n,o,r)=>Gv(t,e,n,o,r),toggle:(e,n,o)=>((r,s,a,i)=>{const l=r.formatter.get(s);l&&(!Bu(r,s,a,i)||"toggle"in l[0]&&!l[0].toggle?Jv(r,s,a,i):Gv(r,s,a,i))})(t,e,n,o),formatChanged:(e,n,o,r,s)=>{return((m,p,f,h,g,b)=>{const v=p.get();U(f.split(","),y=>{const x=Pt(v,y).getOrThunk(()=>{const E={withSimilar:{state:ae(!1),similar:!0,callbacks:[]},withoutSimilar:{state:ae(!1),similar:!1,callbacks:[]},withVars:[]};return v[y]=E,E}),w=()=>{const E=ny(m);return ey(m,E,y,g,b).isSome()};if(fe(b)){const E=g?x.withSimilar:x.withoutSimilar;E.callbacks.push(h),1===E.callbacks.length&&E.state.set(w())}else x.withVars.push({state:ae(w()),similar:g,vars:b,callback:h})}),p.set(v)})(t,i=e,l=n,d=o,r,s),{unbind:()=>((m,p,f)=>{const h=m.get();U(p.split(","),g=>Pt(h,g).each(b=>{h[g]={withSimilar:{...b.withSimilar,callbacks:gt(b.withSimilar.callbacks,v=>v!==f)},withoutSimilar:{...b.withoutSimilar,callbacks:gt(b.withoutSimilar.callbacks,v=>v!==f)},withVars:gt(b.withVars,v=>v.callback!==f)}})),m.set(h)})(i,l,d)};var i,l,d}},editor:{getContent:e=>{return o=e,C.from((n=t).getBody()).fold(W("tree"===o.format?new Ee("body",11):""),r=>((t,e,n)=>{let o;return o="raw"===e.format?H.trim(ze(b0(n,t.serializer.getTempAttrs()).innerHTML)):"text"===e.format?((r,s)=>{const a=r.getDoc(),i=ro(k(r.getBody())),l=oe("div",a);de(l,"data-mce-bogus","all"),ti(l,{position:"fixed",left:"-9999999px",top:"0"}),ni(l,s.innerHTML),v0(l),y0(l);const d=hd(u=i)?u:k(qn(u).dom.body);var u;Yt(d,l);const c=ze(l.dom.innerText);return Dt(l),c})(t,n):"tree"===e.format?t.serializer.serialize(n,e):((r,s)=>{const a=ye(r),i=new RegExp(`^(<${a}[^>]*>( | |\\s|\xa0|
    |)<\\/${a}>[\r\n]*|
    [\r\n]*)$`);return s.replace(i,"")})(t,t.serializer.serialize(n,e)),"text"!==e.format&&!li(k(n))&&at(o)?H.trim(o):o})(n,o,r));var n,o},setContent:(e,n)=>{return r=e,s=n,C.from((o=t).getBody()).map(a=>Yi(r)?((i,l,d,c)=>{hv(i.parser.getNodeFilters(),i.parser.getAttributeFilters(),d);const u=bo({validate:!1},i.schema).serialize(d),m=ze(li(k(l))?u:H.trim(u));return Ru(i,m,c.no_selection),{content:d,html:m}})(o,a,r,s):((i,l,d,c)=>{if(0===(d=ze(d)).length||/^\s+$/.test(d)){const u='
    ';"TABLE"===l.nodeName?d=""+u+"":/^(UL|OL)$/.test(l.nodeName)&&(d="
  • "+u+"
  • ");const m=ye(i);return i.schema.isValidChild(l.nodeName.toLowerCase(),m.toLowerCase())?(d=u,d=i.dom.createHTML(m,Ks(i),d)):d||(d=u),Ru(i,d,c.no_selection),{content:d,html:d}}{"raw"!==c.format&&(d=bo({validate:!1},i.schema).serialize(i.parser.parse(d,{isRootContent:!0,insert:!0})));const u=li(k(l))?d:H.trim(d);return Ru(i,u,c.no_selection),{content:u,html:u}}})(o,a,r,s)).getOr({content:r,html:Yi(s.content)?"":s.content});var o,r,s},insertContent:(e,n)=>eR(t,e,n),addVisual:e=>((n,o)=>{const r=n.dom,s=q(o)?o:n.getBody();U(r.select("table,a",s),a=>{switch(a.nodeName){case"TABLE":const i=tS(n),l=r.getAttrib(a,"border");l&&"0"!==l||!n.hasVisual?r.removeClass(a,i):r.addClass(a,i);break;case"A":if(!r.getAttrib(a,"href")){const d=r.getAttrib(a,"name")||a.id,c=Sh(n);d&&n.hasVisual?r.addClass(a,c):r.removeClass(a,c)}}}),n.dispatch("VisualAid",{element:o,hasVisual:n.hasVisual})})(t,e)},selection:{getContent:(e,n)=>((o,r,s={})=>{const a=(i=s,l=r,{...i,format:l,get:!0,selection:!0,getInner:!0});var i,l;return Dy(o,a).fold(Ne,i=>{const l=((d,c)=>{if("text"===c.format)return C.from((u=d).selection.getRng()).map(m=>{var p;const f=C.from(u.dom.getParent(m.commonAncestorContainer,u.dom.isBlock)),h=u.getBody(),g=f.map(E=>E.nodeName).getOr("div").toLowerCase(),b=k(m.cloneContents());v0(b),y0(b);const v=u.dom.add(h,g,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},b.dom),y=Hy(v),x=ze(null!==(p=v.textContent)&&void 0!==p?p:"");if(u.dom.remove(v),el(x,0)||el(x,x.length-1)){const w=f.getOr(h),E=Hy(w),N=E.indexOf(y);return-1===N?y:(el(E,N-1)?" ":"")+y+(el(E,N+y.length)?" ":"")}return y}).getOr("");var u;{const u=((m,p)=>{const f=m.selection.getRng(),h=m.dom.create("body"),g=m.selection.getSel(),b=Jc(m,Ec(g)),v=p.contextual?((t,e,n)=>{const o=ob(e,t);return o.length>0?((t,e)=>{return(n=t,o=e[0],_s(o,"table",J(kt,n))).bind(n=>{const o=e[0],r=e[e.length-1],s=(a=>{const i=Zu($o(a),0,[]);return U(ve(a,"tr"),(l,d)=>{U(ve(l,"td,th"),(c,u)=>{((m,p,f,h,g)=>{const b=Iy(g,"rowspan"),v=Iy(g,"colspan"),y=m.rows;for(let x=f;x{for(;IR(m,p,f);)p++;return p})(i,u,d),d,l,c)})}),Zu(i.element,Fy(i.rows),i.rows)})(n);return(a=s,i=o,l=r,Uy(a,i).bind(d=>Uy(a,l).map(c=>((u,m,p)=>{const f=m.x,h=m.y,g=p.x,b=p.y,v=hUc([FR(a)]));var a,i,l}).getOrThunk(jy);var n,o})(t,o):(r=t,a=n,(s=e).length>0&&s[0].collapsed?jy():(i=r,d=a,((c,u)=>{const m=Oe(u,(p,f)=>(Yt(f,p),f),c);return u.length>0?Uc([m]):m})(k((l=s[0]).cloneContents()),((t,e,n)=>{const o=k(e.commonAncestorContainer),r=Jn(o,t),s=gt(r,l=>n.isWrapper(xt(l))),a=(d=e,Zt(l=r,c=>"li"===xt(c)&&kc(c,d)).fold(W([]),c=>{return(u=l,Zt(u,m=>"ul"===xt(m)||"ol"===xt(m))).map(u=>{const m=oe(xt(u)),p=fs(vd(u),(f,h)=>le(h,"list-style"));return ti(m,p),[oe("li"),m]}).getOr([]);var u})),i=s.concat(a.length?a:(l=>Ts(l)?sn(l).filter(Rd).fold(W([]),d=>[l,d]):Rd(l)?[l]:[])(o));var l,d;return Et(i,$o)})(i,l,d))));var r,s,a,i,l,d})(k(m.getBody()),b,m.schema).dom:f.cloneContents();return v&&h.appendChild(v),m.selection.serializer.serialize(h,p)})(d,c);return"tree"===c.format?u:d.selection.isCollapsed()?"":u}})(o,i);return Ly(o,l,i)})})(t,e,n)},autocompleter:{addDecoration:e=>((t,e)=>{if(c0(k(t.getBody())).isNone()){const o=ws('',t.getDoc());Yt(o,k(e.extractContents())),e.insertNode(o.dom),sn(o).each(r=>r.dom.normalize()),(n=o,((r,s)=>{const a=i=>{const l=ue(i);for(let d=l.length-1;d>=0;d--){const c=l[d];if(s(c))return C.some(c);const u=a(c);if(u.isSome())return u}return C.none()};return a(r)})(n,l0)).map(r=>{var s;t.selection.setCursorLocation(r.dom,"img"===xt(s=r)?1:Gg(s).fold(()=>ue(s).length,a=>a.length))})}var n})(t,e),removeDecoration:()=>{return e=t,n=k(t.getBody()),c0(n).each(o=>{const r=e.selection.getBookmark();Kn(o),e.selection.moveToBookmark(r)});var e,n}},raw:{getModel:()=>C.none()}}),Mn=t=>ht(t.plugins,"rtc"),rm=t=>t.rtcInstance?t.rtcInstance:Wy(t),Wt=t=>{const e=t.rtcInstance;if(e)return e;throw new Error("Failed to get RTC instance not yet initialized.")},Ky=t=>Wt(t).init.bindEvents(),Yy=t=>0===t.dom.length?(Dt(t),C.none()):C.some(t),Gy=(t,e,n,o,r)=>{t.bind(s=>((o?lu:qi)(s.dom,o?s.dom.length:0,r),e.filter(He).map(a=>((i,l,d,c,u)=>{const m=i.dom,p=l.dom,f=c?m.length:p.length;c?(du(m,p,u,!1,!c),d.setStart(p,f)):(du(p,m,u,!1,!c),d.setEnd(p,f))})(s,a,n,o,r)))).orThunk(()=>{return(a=e,i=o,a.filter(l=>ra.isBookmarkNode(l.dom)).bind(i?Es:To)).or(e).filter(He).map(a=>((i,l,d)=>{sn(i).each(c=>{const u=i.dom;l&&da(c,L(u,0),d)?qi(u,0,d):!l&&ca(c,L(u,u.length),d)&&lu(u,u.length,d)})})(a,o,r));var a,i})},Xy=(t,e,n)=>{if(ht(t,e)){const o=gt(t[e],r=>r!==n);0===o.length?delete t[e]:t[e]=o}},Qy=t=>!(!t||!t.ownerDocument)&&$n(k(t.ownerDocument),k(t)),Jy=(t,e,n,o)=>{let r,s;const{selectorChangedWithUnbind:a}=((g,b)=>{let v,y;const x=(E,N)=>Zt(N,T=>g.is(T,E)),w=E=>g.getParents(E,void 0,g.getRoot());return{selectorChangedWithUnbind:(E,N)=>(v||(v={},y={},b.on("NodeChange",T=>{const O=T.element,P=w(O),_={};Bt(v,(R,B)=>{x(B,P).each(M=>{y[B]||(U(R,V=>{V(!0,{node:M,selector:B,parents:P})}),y[B]=R),_[B]=R})}),Bt(y,(R,B)=>{_[B]||(delete y[B],U(R,M=>{M(!1,{node:O,selector:B,parents:P})}))})})),v[E]||(v[E]=[]),v[E].push(N),x(E,w(b.selection.getStart())).each(()=>{y[E]=v[E]}),{unbind:()=>{Xy(v,E,N),Xy(y,E,N)}})}})(t,o),i=(g,b)=>((v,y,x={})=>{const w=(E=x,N=y,{format:"html",...E,set:!0,selection:!0,content:N});var E,N;Qu(v,w).each(E=>{const N=((O,P)=>{if("raw"!==P.format){const _=O.selection.getRng(),R=O.dom.getParent(_.commonAncestorContainer,O.dom.isBlock),B=R?{context:R.nodeName.toLowerCase()}:{},M=O.parser.parse(P.content,{forced_root_block:!1,...B,...P});return bo({validate:!1},O.schema).serialize(M)}return P.content})(v,E),T=v.selection.getRng();((O,P,_)=>{const R=C.from(P.firstChild).map(k),B=C.from(P.lastChild).map(k);O.deleteContents(),O.insertNode(P);const M=R.bind(To).filter(He).bind(Yy),V=B.bind(Es).filter(He).bind(Yy);Gy(M,R,O,!0,_),Gy(V,B,O,!1,_),O.collapse(!1)})(T,T.createContextualFragment(N),v.schema),v.selection.setRng(T),aa(v,T),Ju(v,N,E)})})(o,g,b),l=g=>{const b=c();b.collapse(!!g),u(b)},d=()=>e.getSelection?e.getSelection():e.document.selection,c=()=>{let g;const b=(y,x,w)=>{try{return x.compareBoundaryPoints(y,w)}catch{return-1}},v=e.document;if(q(o.bookmark)&&!Zo(o)){const y=Wc(o);if(y.isSome())return y.map(x=>Jc(o,[x])[0]).getOr(v.createRange())}try{const y=d();y&&!ri(y.anchorNode)&&(g=y.rangeCount>0?y.getRangeAt(0):v.createRange(),g=Jc(o,[g])[0])}catch{}if(g||(g=v.createRange()),Rs(g.startContainer)&&g.collapsed){const y=t.getRoot();g.setStart(y,0),g.setEnd(y,0)}return r&&s&&(0===b(g.START_TO_START,g,r)&&0===b(g.END_TO_END,g,r)?g=s:(r=null,s=null)),g},u=(g,b)=>{if(!((y=g)&&Qy(y.startContainer)&&Qy(y.endContainer)))return;var y;const v=d();if(g=o.dispatch("SetSelectionRange",{range:g,forward:b}).range,v){s=g;try{v.removeAllRanges(),v.addRange(g)}catch{}!1===b&&v.extend&&(v.collapse(g.endContainer,g.endOffset),v.extend(g.startContainer,g.startOffset)),r=v.rangeCount>0?v.getRangeAt(0):null}if(!g.collapsed&&g.startContainer===g.endContainer&&v?.setBaseAndExtent&&g.endOffset-g.startOffset<2&&g.startContainer.hasChildNodes()){const y=g.startContainer.childNodes[g.startOffset];y&&"IMG"===y.nodeName&&(v.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset),v.anchorNode===g.startContainer&&v.focusNode===g.endContainer||v.setBaseAndExtent(y,0,y,1))}o.dispatch("AfterSetSelectionRange",{range:g,forward:b})},m=()=>{const g=d(),b=g?.anchorNode,v=g?.focusNode;if(!g||!b||!v||ri(b)||ri(v))return!0;const y=t.createRng(),x=t.createRng();try{y.setStart(b,g.anchorOffset),y.collapse(!0),x.setStart(v,g.focusOffset),x.collapse(!0)}catch{return!0}return y.compareBoundaryPoints(y.START_TO_START,x)<=0},p={dom:t,win:e,serializer:n,editor:o,expand:(g={type:"word"})=>u(Jo(t).expand(c(),g)),collapse:l,setCursorLocation:(g,b)=>{const v=t.createRng();q(g)&&q(b)?(v.setStart(g,b),v.setEnd(g,b),u(v),l(!1)):(Sc(t,v,o.getBody(),!0),u(v))},getContent:g=>((b,v={})=>{return x=v.format?v.format:"html",w=v,Wt(b).selection.getContent(x,w);var x,w})(o,g),setContent:i,getBookmark:(g,b)=>f.getBookmark(g,b),moveToBookmark:g=>f.moveToBookmark(g),select:(g,b)=>{return(v=t,y=g,x=b,C.from(y).bind(w=>C.from(w.parentNode).map(E=>{const N=v.nodeIndex(w),T=v.createRng();return T.setStart(E,N),T.setEnd(E,N+1),x&&(Sc(v,T,w,!0),Sc(v,T,w,!1)),T}))).each(u),g;var v,y,x},isCollapsed:()=>{const g=c(),b=d();return!(!g||g.item)&&(g.compareEndPoints?0===g.compareEndPoints("StartToEnd",g):!b||g.collapsed)},isEditable:()=>{const g=c(),b=o.getBody().querySelectorAll('[data-mce-selected="1"]');return b.length>0?oo(b,v=>t.isEditable(v.parentElement)):o0(t,g)},isForward:m,setNode:g=>(i(t.getOuterHTML(g)),g),getNode:()=>((g,b)=>{if(!b)return g;let v=b.startContainer,y=b.endContainer;const x=b.startOffset,w=b.endOffset;let E=b.commonAncestorContainer;b.collapsed||(v===y&&w-x<2&&v.hasChildNodes()&&(E=v.childNodes[x]),j(v)&&j(y)&&(v=v.length===x?i0(v.nextSibling,!0):v.parentNode,y=0===w?i0(y.previousSibling,!1):y.parentNode,v&&v===y&&(E=v)));const N=j(E)?E.parentNode:E;return Yn(N)?N:g})(o.getBody(),c()),getSel:d,setRng:u,getRng:c,getStart:g=>s0(o.getBody(),c(),g),getEnd:g=>a0(o.getBody(),c(),g),getSelectedBlocks:(g,b)=>((v,y,x,w)=>{const E=[],N=v.getRoot(),T=v.getParent(x||s0(N,y,y.collapsed),v.isBlock),O=v.getParent(w||a0(N,y,y.collapsed),v.isBlock);if(T&&T!==N&&E.push(T),T&&O&&T!==O){let P;const _=new te(T,N);for(;(P=_.next())&&P!==O;)v.isBlock(P)&&E.push(P)}return O&&T!==O&&O!==N&&E.push(O),E})(t,c(),g,b),normalize:()=>{const g=c(),b=d();if(!(Ec(b).length>1)&&Oi(o)){const v=Fi(t,g);return v.each(y=>{u(y,m())}),v.getOr(g)}return g},selectorChanged:(g,b)=>(a(g,b),p),selectorChangedWithUnbind:a,getScrollContainer:()=>{let g,b=t.getRoot();for(;b&&"BODY"!==b.nodeName;){if(b.scrollHeight>b.clientHeight){g=b;break}b=b.parentNode}return g},scrollIntoView:(g,b)=>{var v;q(g)?((v=o).inline?lN:cN)(v,g,b):aa(o,c(),b)},placeCaretAt:(g,b)=>u(Mb(g,b,o.getDoc())),getBoundingClientRect:()=>{const g=c();return g.collapsed?L.fromRangeStart(g).getClientRects()[0]:g.getBoundingClientRect()},destroy:()=>{e=r=s=null,h.destroy()}},f=ra(p),h=Ob(p,o);return p.bookmarkManager=f,p.controlSelection=h,p},qR=(t,e,n)=>{-1===H.inArray(e,n)&&(t.addAttributeFilter(n,(o,r)=>{let s=o.length;for(;s--;)o[s].attr(r,null)}),e.push(n))},Zy=(t,e)=>{const n=((t,e)=>{const n=["data-mce-selected"],o={entity_encoding:"named",remove_trailing_brs:!0,pad_empty_with_br:!1,...t},r=e&&e.dom?e.dom:Ot.DOM,s=e&&e.schema?e.schema:uo(o),a=Wr(o,s);return l=o,d=r,(i=a).addAttributeFilter("data-mce-tabindex",(c,u)=>{let m=c.length;for(;m--;){const p=c[m];p.attr("tabindex",p.attr("data-mce-tabindex")),p.attr(u,null)}}),i.addAttributeFilter("src,href,style",(c,u)=>{const m="data-mce-"+u,p=l.url_converter,f=l.url_converter_scope;let h=c.length;for(;h--;){const g=c[h];let b=g.attr(m);void 0!==b?(g.attr(u,b.length>0?b:null),g.attr(m,null)):(b=g.attr(u),"style"===u?b=d.serializeStyle(d.parseStyle(b),g.name):p&&(b=p.call(f,b,u,g.name)),g.attr(u,b.length>0?b:null))}}),i.addAttributeFilter("class",c=>{let u=c.length;for(;u--;){const m=c[u];let p=m.attr("class");p&&(p=p.replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),m.attr("class",p.length>0?p:null))}}),i.addAttributeFilter("data-mce-type",(c,u,m)=>{let p=c.length;for(;p--;){const f=c[p];"bookmark"===f.attr("data-mce-type")&&!m.cleanup&&(C.from(f.firstChild).exists(g=>{var b;return!di(null!==(b=g.value)&&void 0!==b?b:"")})?f.unwrap():f.remove())}}),i.addNodeFilter("noscript",c=>{var u;let m=c.length;for(;m--;){const p=c[m].firstChild;p&&(p.value=co.decode(null!==(u=p.value)&&void 0!==u?u:""))}}),i.addNodeFilter("script,style",(c,u)=>{var m;const p=h=>h.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"");let f=c.length;for(;f--;){const h=c[f],g=h.firstChild,b=null!==(m=g?.value)&&void 0!==m?m:"";if("script"===u){const v=h.attr("type");v&&h.attr("type","mce-no/type"===v?null:v.replace(/^mce\-/,"")),"xhtml"===l.element_format&&g&&b.length>0&&(g.value="// ")}else"xhtml"===l.element_format&&g&&b.length>0&&(g.value="\x3c!--\n"+p(b)+"\n--\x3e")}}),i.addNodeFilter("#comment",c=>{let u=c.length;for(;u--;){const m=c[u],p=m.value;l.preserve_cdata&&0===p?.indexOf("[CDATA[")?(m.name="#cdata",m.type=4,m.value=d.decode(p.replace(/^\[CDATA\[|\]\]$/g,""))):0===p?.indexOf("mce:protected ")&&(m.name="#text",m.type=3,m.raw=!0,m.value=unescape(p).substr(14))}}),i.addNodeFilter("xml:namespace,input",(c,u)=>{let m=c.length;for(;m--;){const p=c[m];7===p.type?p.remove():1===p.type&&("input"!==u||p.attr("type")||p.attr("type","text"))}}),i.addAttributeFilter("data-mce-type",c=>{U(c,u=>{"format-caret"===u.attr("data-mce-type")&&(u.isEmpty(i.schema.getNonEmptyElements())?u.remove():u.unwrap())})}),i.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-block,data-mce-type,data-mce-resize,data-mce-placeholder",(c,u)=>{let m=c.length;for(;m--;)c[m].attr(u,null)}),l.remove_trailing_brs&&ay(l,i,i.schema),{schema:s,addNodeFilter:a.addNodeFilter,addAttributeFilter:a.addAttributeFilter,serialize:(i,l={})=>{const d={format:"html",...l},c=(f=i,b=h=d,q(g=p=e)&&g.hasEventListeners("PreProcess")&&!b.no_events?((g,b,v)=>{let y;const x=g.dom;let w=b.cloneNode(!0);const E=document.implementation;if(E.createHTMLDocument){const N=E.createHTMLDocument("");H.each("BODY"===w.nodeName?w.childNodes:[w],T=>{N.body.appendChild(N.importNode(T,!0))}),w="BODY"!==w.nodeName?N.body.firstChild:N.body,y=x.doc,x.doc=N}return T={...v,node:w},g.dispatch("PreProcess",T),y&&(x.doc=y),w;var T})(p,f,h):f),u=((p,f,h)=>{const g=ze(h.getInner?f.innerHTML:p.getOuterHTML(f));return h.selection||li(k(f))?g:H.trim(g)})(r,c,d),m=((p,f,h)=>{const g=h.selection?{forced_root_block:!1,...h}:h,b=p.parse(f,g);return(v=>{const y=w=>"br"===w?.name,x=v.lastChild;if(y(x)){const w=x.prev;y(w)&&(x.remove(),w.remove())}})(b),b})(a,u,d);var p,f,h,g,b;return"tree"===d.format?m:((p,f,h,g,b)=>{var w;return((y,x,w)=>{return!x.no_events&&y?(N=y,T={...x,content:w},N.dispatch("PostProcess",T)).content:w;var N,T})(p,b,(w=g,bo(f,h).serialize(w)))})(e,o,s,m,d)},addRules:s.addValidElements,setRules:s.setValidElements,addTempAttr:J(qR,a,n),getTempAttrs:W(n),getNodeFilters:a.getNodeFilters,getAttributeFilters:a.getAttributeFilters,removeNodeFilter:a.removeNodeFilter,removeAttributeFilter:a.removeAttributeFilter};var i,l,d})(t,e);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters,removeNodeFilter:n.removeNodeFilter,removeAttributeFilter:n.removeAttributeFilter}},sm=(t,e,n={})=>{const o=(r=n,s=e,{format:"html",...r,set:!0,content:s});var r,s;return Qu(t,o).map(r=>{const s=(i=r.content,l=r,rm(t).editor.setContent(i,l));var i,l;return Ju(t,s.html,r),s.content}).getOr(e)},WR="autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists".split(","),KR="template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","),YR="bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,textcolor".split(","),tC=[{name:"template",replacedWith:"Advanced Template"},{name:"rtc"}],eC=(t,e)=>{const n=gt(e,o=>ht(t,o));return ko(n)},nC=(t,e)=>{const n=H.makeMap(t.plugins," "),o=gt(e,r=>ht(n,r));return ko(o)},ZR=t=>Zt(tC,e=>e.name===t).fold(()=>t,e=>e.replacedWith?`${t}, replaced by ${e.replacedWith}`:t),rl=Ot.DOM,sl=t=>C.from(t).each(e=>e.destroy()),al=(()=>{const t={};return{add:(e,n)=>{t[e]=n},get:e=>t[e]?t[e]:{icons:{}},has:e=>ht(t,e)}})(),Kr=xe.ModelManager,oC=(t,e)=>e.dom[t],rC=(t,e)=>parseInt(Rn(e,t),10),tA=J(oC,"clientWidth"),eA=J(oC,"clientHeight"),nA=J(rC,"margin-top"),oA=J(rC,"margin-left"),sC=t=>{const e=[],n=()=>{const l=t.theme;return l&&l.getNotificationManagerImpl?l.getNotificationManagerImpl():(()=>{const d=()=>{throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:d,close:d,getArgs:d}})()},o=()=>C.from(e[0]),r=()=>{U(e,l=>{l.reposition()})},s=l=>{us(e,d=>d===l).each(d=>{e.splice(d,1)})},a=(l,d=!0)=>{return t.removed||!(u=(c=t).inline?c.getBody():c.getContentAreaContainer(),C.from(u).map(k)).map(kr).getOr(!1)?{}:(d&&t.dispatch("BeforeOpenNotification",{notification:l}),Zt(e,c=>{return!((u=n().getArgs(c)).type!==(m=l).type||u.text!==m.text||u.progressBar||u.timeout||m.progressBar||m.timeout);var u,m}).getOrThunk(()=>{t.editorManager.setActive(t);const c=n().open(l,()=>{s(c),r(),n0(t)&&o().fold(()=>t.focus(),u=>Gb(k(u.getEl())))});return(u=>{e.push(u)})(c),r(),t.dispatch("OpenNotification",{notification:{...c}}),c}));var c,u},i=W(e);return(l=t).on("SkinLoaded",()=>{const d=Mk(l);d&&a({text:d,type:"warning",timeout:0},!1),r()}),l.on("show ResizeEditor ResizeWindow NodeChange",()=>{requestAnimationFrame(r)}),l.on("remove",()=>{U(e.slice(),d=>{n().close(d)})}),{open:a,close:()=>{o().each(l=>{n().close(l),s(l),r()})},getNotifications:i};var l},Yr=xe.PluginManager,rr=xe.ThemeManager,aC=t=>{let e=[];const n=()=>{const a=t.theme;return a&&a.getWindowManagerImpl?a.getWindowManagerImpl():(()=>{const i=()=>{throw new Error("Theme did not provide a WindowManager implementation.")};return{open:i,openUrl:i,alert:i,confirm:i,close:i}})()},o=(a,i)=>(...l)=>i?i.apply(a,l):void 0,r=a=>{t.dispatch("CloseWindow",{dialog:a}),e=gt(e,i=>i!==a),0===e.length&&t.focus()},s=a=>{t.editorManager.setActive(t),Vc(t),t.ui.show();const i=a();return e.push(l=i),t.dispatch("OpenWindow",{dialog:l}),i;var l};return t.on("remove",()=>{U(e,a=>{n().close(a)})}),{open:(a,i)=>s(()=>n().open(a,i,r)),openUrl:a=>s(()=>n().openUrl(a,r)),alert:(a,i,l)=>{const d=n();d.alert(a,o(l||d,i))},confirm:(a,i,l)=>{const d=n();d.confirm(a,o(l||d,i))},close:()=>{C.from(e[e.length-1]).each(a=>{n().close(a),r(a)})}}},iC=(t,e)=>{t.notificationManager.open({type:"error",text:e})},il=(t,e)=>{t._skinLoaded?iC(t,e):t.on("SkinLoaded",()=>{iC(t,e)})},va=(t,e,n)=>{_b(t,e,{message:n}),console.error(n)},ya=(t,e,n)=>n?`Failed to load ${t}: ${n} from url ${e}`:`Failed to load ${t} url: ${e}`,ll=(t,...e)=>{const n=window.console;n&&(n.error?n.error(t,...e):n.log(t,...e))},am=t=>"content/"+t+"/content.css",lC=(t,e)=>{const n=t.editorManager.baseURL+"/skins/content",o=`content${t.editorManager.suffix}.css`;return Et(e,r=>tinymce.Resource.has(am(r))?r:/^[a-z0-9\-]+$/i.test(r)&&!t.inline?`${n}/${r}/${o}`:t.documentBaseURI.toAbsolute(r))},dC=()=>{let t={};const e=(o,r)=>({status:o,resultUri:r}),n=o=>o in t;return{hasBlobUri:n,getResultUri:o=>{const r=t[o];return r?r.resultUri:null},isPending:o=>!!n(o)&&1===t[o].status,isUploaded:o=>!!n(o)&&2===t[o].status,markPending:o=>{t[o]=e(1,null)},markUploaded:(o,r)=>{t[o]=e(2,r)},removeFailed:o=>{delete t[o]},destroy:()=>{t={}}}};let sA=0;const cC=t=>()=>t.notificationManager.open({text:t.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0}),uC=(t,e)=>((t,e)=>{const n={},o=(l,d)=>new Promise((c,u)=>{const m=new XMLHttpRequest;m.open("POST",e.url),m.withCredentials=e.credentials,m.upload.onprogress=f=>{d(f.loaded/f.total*100)},m.onerror=()=>{u("Image upload failed due to a XHR Transport error. Code: "+m.status)},m.onload=()=>{if(m.status<200||m.status>=300)return void u("HTTP Error: "+m.status);const f=JSON.parse(m.responseText);var h,g;f&&at(f.location)?c((g=f.location,(h=e.basePath)?h.replace(/\/$/,"")+"/"+g.replace(/^\//,""):g)):u("Invalid JSON: "+m.responseText)};const p=new FormData;p.append("file",l.blob(),l.filename()),m.send(p)}),r=Nt(e.handler)?e.handler:o,s=(l,d)=>({url:d,blobInfo:l,status:!0}),a=(l,d)=>({url:"",blobInfo:l,status:!1,error:d}),i=(l,d)=>{H.each(n[l],c=>{c(d)}),delete n[l]};return{upload:(l,d)=>{return e.url||r!==o?(u=d,c=H.grep(c=l,m=>!t.isUploaded(m.blobUri())),Promise.all(H.map(c,m=>{return t.isPending(m.blobUri())?(p=>{const f=p.blobUri();return new Promise(h=>{n[f]=n[f]||[],n[f].push(h)})})(m):(f=r,h=u,t.markPending((p=m).blobUri()),new Promise(g=>{let b,v;try{const y=()=>{b&&(b.close(),v=vt)},x=E=>{y(),t.markUploaded(p.blobUri(),E),i(p.blobUri(),s(p,E)),g(s(p,E))},w=E=>{y(),t.removeFailed(p.blobUri()),i(p.blobUri(),a(p,E)),g(a(p,E))};v=E=>{E<0||E>100||C.from(b).orThunk(()=>C.from(h).map(Zl)).each(N=>{b=N,N.progressBar.value(E)})},f(p,v).then(x,E=>{w(at(E)?{message:E}:E)})}catch(y){g(a(p,y))}}));var p,f,h}))):new Promise(c=>{c([])});var c,u}}})(e,{url:Ek(t),basePath:_k(t),credentials:kk(t),handler:Sk(t)}),mC={remove_similar:!0,inherit:!1},Gr={selector:"td,th",...mC},lA={tablecellbackgroundcolor:{styles:{backgroundColor:"%value"},...Gr},tablecellverticalalign:{styles:{"vertical-align":"%value"},...Gr},tablecellbordercolor:{styles:{borderColor:"%value"},...Gr},tablecellclass:{classes:["%value"],...Gr},tableclass:{selector:"table",classes:["%value"],...mC},tablecellborderstyle:{styles:{borderStyle:"%value"},...Gr},tablecellborderwidth:{styles:{borderWidth:"%value"},...Gr}},dA=W(lA),dl=H.each,Qe=Ot.DOM,im=t=>q(t)&&we(t),fC=(t,e)=>{const n=e&&e.schema||uo({}),o=a=>{const i=at(a)?{name:a,classes:[],attrs:{}}:a,l=Qe.create(i.name);return d=l,(c=i).classes.length>0&&Qe.addClass(d,c.classes.join(" ")),Qe.setAttribs(d,c.attrs),l;var d,c},r=(a,i,l)=>{let d;const c=i[0],u=im(c)?c.name:void 0,m=((h,g)=>{const b=n.getElementRule(h.nodeName.toLowerCase()),v=b?.parentsRequired;return!(!v||!v.length)&&(g&&Rt(v,g)?g:v[0])})(a,u);if(m)u===m?(d=c,i=i.slice(1)):d=m;else if(c)d=c,i=i.slice(1);else if(!l)return a;const p=d?o(d):Qe.create("div");p.appendChild(a),l&&H.each(l,h=>{const g=o(h);p.insertBefore(g,a)});const f=im(d)?d.siblings:void 0;return r(p,i,f)},s=Qe.create("div");if(t.length>0){const a=t[0],i=o(a),l=im(a)?a.siblings:void 0;s.appendChild(r(i,t.slice(1),l))}return s},cA=t=>{let e="div";const n={name:e,classes:[],attrs:{},selector:t=H.trim(t)};return"*"!==t&&(e=t.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(o,r,s,a,i)=>{switch(r){case"#":n.attrs.id=s;break;case".":n.classes.push(s);break;case":":-1!==H.inArray("checked disabled enabled read-only required".split(" "),s)&&(n.attrs[s]=s)}if("["===a){const l=i.match(/([\w\-]+)(?:\=\"([^\"]+))?/);l&&(n.attrs[l[1]]=l[2])}return""})),n.name=e||"div",n},uA=(t,e)=>{let n="",o=zk(t);if(""===o)return"";const r=p=>at(p)?p.replace(/%(\w+)/g,""):"",s=(p,f)=>Qe.getStyle(f??t.getBody(),p,!0);if(at(e)){const p=t.formatter.get(e);if(!p)return"";e=p[0]}if("preview"in e){const p=e.preview;if(!1===p)return"";o=p||o}let a,i=e.block||e.inline||"span";const l=at(d=e.selector)?(d=(d=d.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),H.map(d.split(/(?:>|\s+(?![^\[\]]+\]))/),p=>{const f=H.map(p.split(/(?:~\+|~|\+)/),cA),h=f.pop();return f.length&&(h.siblings=f),h}).reverse()):[];var d;l.length>0?(l[0].name||(l[0].name=i),i=e.selector,a=fC(l,t)):a=fC([i],t);const c=Qe.select(i,a)[0]||a.firstChild;dl(e.styles,(p,f)=>{const h=r(p);h&&Qe.setStyle(c,f,h)}),dl(e.attributes,(p,f)=>{const h=r(p);h&&Qe.setAttrib(c,f,h)}),dl(e.classes,p=>{const f=r(p);Qe.hasClass(c,f)||Qe.addClass(c,f)}),t.dispatch("PreviewFormats"),Qe.setStyles(a,{position:"absolute",left:-65535}),t.getBody().appendChild(a);const u=s("fontSize"),m=/px$/.test(u)?parseInt(u,10):0;return dl(o.split(" "),p=>{let f=s(p,c);if(!("background-color"===p&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(f)&&(f=s(p),"#ffffff"===Ds(f).toLowerCase())||"color"===p&&"#000000"===Ds(f).toLowerCase())){if("font-size"===p&&/em|%$/.test(f)){if(0===m)return;f=parseFloat(f)/(/%$/.test(f)?100:1)*m+"px"}"border"===p&&f&&(n+="padding:0 2px;"),n+=p+":"+f+";"}}),t.dispatch("AfterPreviewFormats"),Qe.remove(a),n},gC=t=>{const e=(o=>{const r={},s=(a,i)=>{a&&(at(a)?(Jt(i)||(i=[i]),U(i,l=>{fe(l.deep)&&(l.deep=!Ke(l)),fe(l.split)&&(l.split=!Ke(l)||ee(l)),fe(l.remove)&&Ke(l)&&!ee(l)&&(l.remove="none"),Ke(l)&&ee(l)&&(l.mixed=!0,l.block_expand=!0),at(l.classes)&&(l.classes=l.classes.split(/\s+/))}),r[a]=i):Bt(a,(l,d)=>{s(d,l)}))};return s((a=>{const i=a.dom,l=a.schema.type,d={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"left"},inherit:!1,preview:!1},{selector:"img,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"},{selector:"table",collapsed:!1,styles:{marginLeft:"0px",marginRight:"auto"},onformat:c=>{i.setStyle(c,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{float:"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"},{selector:".mce-preview-object",ceFalseOverride:!0,styles:{display:"table",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{marginLeft:"auto",marginRight:"auto"},preview:!1}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"},{selector:"table",collapsed:!1,styles:{marginRight:"0px",marginLeft:"auto"},onformat:c=>{i.setStyle(c,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{float:"right"},preview:!1}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"justify"},inherit:!1,preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:(()=>{const c={inline:"span",styles:{textDecoration:"line-through"},exact:!0},u={inline:"strike",remove:"all",preserve_attributes:["class","style"]},m={inline:"s",remove:"all",preserve_attributes:["class","style"]};return"html4"!==l?[m,c,u]:[c,m,u]})(),forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:(c,u,m)=>Z(c)&&c.hasAttribute("href"),onformat:(c,u,m)=>{H.each(m,(p,f)=>{i.setAttrib(c,f,p)})}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":c=>{var u;return null!==(u=c?.customValue)&&void 0!==u?u:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return H.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),c=>{d[c]={block:c,remove:"all"}}),d})(o)),s(dA()),s(Uk(o)),{get:a=>q(a)?r[a]:r,has:a=>ht(r,a),register:s,unregister:a=>(a&&r[a]&&delete r[a],r)}})(t),n=ae({});return(o=>{o.addShortcut("meta+b","","Bold"),o.addShortcut("meta+i","","Italic"),o.addShortcut("meta+u","","Underline");for(let r=1;r<=6;r++)o.addShortcut("access+"+r,"",["FormatBlock",!1,"h"+r]);o.addShortcut("access+7","",["FormatBlock",!1,"p"]),o.addShortcut("access+8","",["FormatBlock",!1,"div"]),o.addShortcut("access+9","",["FormatBlock",!1,"address"])})(t),(o=t).on("mouseup keydown",r=>{var s;((a,i,l)=>{const d=a.selection,c=a.getBody();Lu(a,null,l),8!==i&&46!==i||!d.isCollapsed()||d.getStart().innerHTML!==fa||Lu(a,Go(c,d.getStart()),!0),37!==i&&39!==i||Lu(a,Go(c,d.getStart()),!0)})(o,r.keyCode,(s=o.selection.getRng().endContainer,j(s)&&id(s.data,re)))}),Mn(t)||((o,r)=>{o.set({}),r.on("NodeChange",s=>{oy(r,s.element,o.get())}),r.on("FormatApply FormatRemove",s=>{const a=C.from(s.node).map(i=>na(i)?i:i.startContainer).bind(i=>Z(i)?C.some(i):C.from(i.parentElement)).getOrThunk(()=>ty(r));oy(r,a,o.get())})})(n,t),{get:e.get,has:e.has,register:e.register,unregister:e.unregister,apply:(o,r,s)=>{var i,l,d;i=o,l=r,d=s,Wt(t).formatter.apply(i,l,d)},remove:(o,r,s,a)=>{var l,d,c,u;l=o,d=r,c=s,u=a,Wt(t).formatter.remove(l,d,c,u)},toggle:(o,r,s)=>{var i,l,d;i=o,l=r,d=s,Wt(t).formatter.toggle(i,l,d)},match:(o,r,s,a)=>{return l=o,d=r,c=s,u=a,Wt(t).formatter.match(l,d,c,u);var l,d,c,u},closest:o=>{return s=o,Wt(t).formatter.closest(s);var s},matchAll:(o,r)=>{return a=o,i=r,Wt(t).formatter.matchAll(a,i);var a,i},matchNode:(o,r,s,a)=>{return l=o,d=r,c=s,u=a,Wt(t).formatter.matchNode(l,d,c,u);var l,d,c,u},canApply:o=>{return s=o,Wt(t).formatter.canApply(s);var s},formatChanged:(o,r,s,a)=>{return l=n,d=o,c=r,u=s,m=a,Wt(t).formatter.formatChanged(l,d,c,u,m);var l,d,c,u,m},getCssText:J(uA,t)};var o},pC=t=>{switch(t.toLowerCase()){case"undo":case"redo":case"mcefocus":return!0;default:return!1}},hC=t=>{const e=mo(),n=ae(0),o=ae(0),r={data:[],typing:!1,beforeChange:()=>{var a,i;a=n,i=e,Wt(t).undoManager.beforeChange(a,i)},add:(s,a)=>{return l=r,d=o,c=n,u=e,m=s,p=a,Wt(t).undoManager.add(l,d,c,u,m,p);var l,d,c,u,m,p},dispatchChange:()=>{t.setDirty(!0);const s=nl(t);s.bookmark=ac(t.selection),t.dispatch("change",{level:s,lastLevel:qa(r.data,o.get()).getOrUndefined()})},undo:()=>{return a=r,i=n,l=o,Wt(t).undoManager.undo(a,i,l);var a,i,l},redo:()=>{return a=o,i=r.data,Wt(t).undoManager.redo(a,i);var a,i},clear:()=>{var a,i;a=r,i=o,Wt(t).undoManager.clear(a,i)},reset:()=>{var a;a=r,Wt(t).undoManager.reset(a)},hasUndo:()=>{return a=r,i=o,Wt(t).undoManager.hasUndo(a,i);var a,i},hasRedo:()=>{return a=r,i=o,Wt(t).undoManager.hasRedo(a,i);var a,i},transact:s=>{return i=r,l=n,d=s,Wt(t).undoManager.transact(i,l,d);var i,l,d},ignore:s=>{var i,l;i=n,l=s,Wt(t).undoManager.ignore(i,l)},extra:(s,a)=>{var l,d,c,u;l=r,d=o,c=s,u=a,Wt(t).undoManager.extra(l,d,c,u)}};return Mn(t)||((s,a,i)=>{const l=ae(!1),d=c=>{ol(a,!1,i),a.add({},c)};s.on("init",()=>{a.add()}),s.on("BeforeExecCommand",c=>{pC(c.command)||(Vy(a,i),a.beforeChange())}),s.on("ExecCommand",c=>{pC(c.command)||d(c)}),s.on("ObjectResizeStart cut",()=>{a.beforeChange()}),s.on("SaveContent ObjectResized blur",d),s.on("dragend",d),s.on("keyup",c=>{const u=c.keyCode;if(c.isDefaultPrevented())return;const m=_t.os.isMacOS()&&"Meta"===c.key;(u>=33&&u<=36||u>=37&&u<=40||45===u||c.ctrlKey||m)&&(d(),s.nodeChanged()),46!==u&&8!==u||s.nodeChanged(),l.get()&&a.typing&&!nm(nl(s),a.data[0])&&(s.isDirty()||s.setDirty(!0),s.dispatch("TypingUndo"),l.set(!1),s.nodeChanged())}),s.on("keydown",c=>{const u=c.keyCode;if(!c.isDefaultPrevented()){if(!(u>=33&&u<=36||u>=37&&u<=40||45===u))return!(u<16||u>20)||224===u||91===u||a.typing||c.ctrlKey&&!c.altKey||c.metaKey?void((_t.os.isMacOS()?c.metaKey:c.ctrlKey&&!c.altKey)&&a.beforeChange()):(a.beforeChange(),ol(a,!0,i),a.add({},c),void l.set(!0));a.typing&&d(c)}}),s.on("mousedown",c=>{a.typing&&d(c)}),s.on("input",c=>{var u,m;c.inputType&&("insertReplacementText"===c.inputType||"insertText"===(u=c).inputType&&null===u.data||"insertFromPaste"===(m=c).inputType||"insertFromDrop"===m.inputType)&&d(c)}),s.on("AddUndo Undo Redo ClearUndos",c=>{c.isDefaultPrevented()||s.nodeChanged()})})(t,r,n),(s=t).addShortcut("meta+z","","Undo"),s.addShortcut("meta+y,meta+shift+z","","Redo"),r;var s},mA=[9,27,Y.HOME,Y.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,Y.DOWN,Y.UP,Y.LEFT,Y.RIGHT].concat(_t.browser.isFirefox()?[224]:[]),bC="data-mce-placeholder",vC=t=>"keydown"===t.type||"keyup"===t.type,yC=t=>{const e=t.keyCode;return e===Y.BACKSPACE||e===Y.DELETE},fA=(t,e)=>({from:t,to:e}),lm=(t,e)=>{const n=k(t),o=k(e.container());return Vi(n,o).map(r=>((s,a)=>({block:s,position:a}))(r,e))},CC=(t,e)=>Oo(e,n=>Os(n)||an(n.dom),n=>kt(n,t)).filter(Fe).getOr(t),wC=(t,e)=>{const n=((o,r)=>{const s=ue(o);return us(s,a=>r.isBlock(xt(a))).fold(W(s),a=>s.slice(0,a))})(t,e);return U(n,Dt),n},xC=(t,e)=>{const n=Jn(e,t);return Zt(n.reverse(),o=>Vt(o)).each(Dt)},gA=(t,e,n,o,r)=>{if(Vt(n))return ao(n),Ce(n.dom);0===gt(Ng(r),a=>!Vt(a)).length&&Vt(e)&&De(r,oe("br"));const s=Le(n.dom,L.before(r.dom));return U(wC(e,o),a=>{De(r,a)}),xC(t,e),s},pA=(t,e,n,o)=>{if(Vt(n)){if(Vt(e)){const a=cs((i=>{const l=(d,c)=>fd(d).fold(()=>c,u=>o.isInline(xt(u))?l(u,c.concat($o(u))):c);return l(i,[])})(n),(i,l)=>(Ig(i,l),l),Bs());Sr(e),Yt(e,a)}return Dt(n),Ce(e.dom)}const r=dn(n.dom);return U(wC(e,o),s=>{Yt(n,s)}),xC(t,e),r},EC=(t,e)=>{Fr(t,e.dom).bind(n=>C.from(n.getNode())).map(k).filter(Io).each(Dt)},_C=(t,e,n,o)=>{return EC(!0,e),EC(!1,n),(r=e,s=n,$n(s,r)?((a,i)=>{const l=Jn(i,a);return C.from(l[l.length-1])})(s,r):C.none()).fold(J(pA,t,e,n,o),J(gA,t,e,n,o));var r,s},kC=(t,e,n,o,r)=>e?_C(t,o,n,r):_C(t,n,o,r),dm=(t,e)=>{const n=k(t.getBody());return(r=n.dom,s=e,a=t.selection.getRng(),a.collapsed?((i,l,d)=>{const c=lm(i,L.fromRangeStart(d)),u=c.bind(m=>qe(l,i,m.position).bind(p=>lm(i,p).map(f=>{return h=i,g=l,Ht((b=f).position.getNode())&&!Vt(b.block)?Fr(!1,b.block.dom).bind(v=>v.isEqual(b.position)?qe(g,h,v).bind(y=>lm(h,y)):C.some(b)).getOr(b):b;var h,g,b})));return be(c,u,fA).filter(m=>{return!kt((p=m).from.block,p.to.block)&&((p,f)=>{const h=k(p);return kt(CC(h,f.from.block),CC(h,f.to.block))})(i,m)&&(p=>!1===Lt(p.from.block.dom)&&!1===Lt(p.to.block.dom))(m)&&(p=>{const f=h=>Xg(h)||Md(h.dom);return f(p.from.block)&&f(p.to.block)})(m);var p})})(r,s,a):C.none()).map(r=>()=>{kC(n,e,r.from.block,r.to.block,t.schema).each(s=>{t.selection.setRng(s.toRange())})});var r,s,a},SC=(t,e)=>{const n=k(e),o=J(kt,t);return Vn(n,Os,o).isSome()},cm=(t,e)=>t.selection.isCollapsed()?C.none():(t=>{const e=k(t.getBody());return((n,o)=>{const r=Le(n.dom,L.fromRangeStart(o)).isNone(),s=Ae(n.dom,L.fromRangeEnd(o)).isNone();return!(SC(a=n,(i=o).startContainer)||SC(a,i.endContainer))&&r&&s;var a,i})(e,t.selection.getRng())?(n=t,C.some(()=>{n.setContent(""),n.selection.setCursorLocation()})):((n,o,r)=>{const s=o.getRng();return be(Vi(n,k(s.startContainer)),Vi(n,k(s.endContainer)),(a,i)=>kt(a,i)?C.none():C.some(()=>{s.deleteContents(),kC(n,!0,a,i,r).each(l=>{o.setRng(l.toRange())})})).getOr(C.none())})(e,t.selection,t.schema);var n})(t),Zn=(t,e,n,o,r)=>C.from(e._selectionOverrides.showCaret(t,n,o,r)),Ca=(t,e)=>t.dispatch("BeforeObjectSelected",{target:e}).isDefaultPrevented()?C.none():C.some((n=>{const o=n.ownerDocument.createRange();return o.selectNode(n),o})(e)),um=(t,e,n)=>e.collapsed?((o,r,s)=>{const a=hc(1,o.getBody(),r),i=L.fromRangeStart(a),l=i.getNode();if(Gs(l))return Zn(1,o,l,!i.isAtEnd(),!1);const d=i.getNode(!0);if(Gs(d))return Zn(1,o,d,!1,!1);const c=nr(o.dom.getRoot(),i.getNode());return Gs(c)?Zn(1,o,c,!1,s):C.none()})(t,e,n).getOr(e):e,bA=t=>yo(t)||ia(t),vA=t=>Co(t)||la(t),NC=(t,e,n,o,r,s)=>{var a,i;Zn(o,t,s.getNode(!r),r,!0).each(a=>{if(e.collapsed){const i=e.cloneRange();r?i.setEnd(a.startContainer,a.startOffset):i.setStart(a.endContainer,a.endOffset),i.deleteContents()}else e.deleteContents();t.selection.setRng(a)}),a=t.dom,j(i=n)&&0===i.data.length&&a.remove(i)},mm=(t,e)=>((n,o)=>{const r=n.selection.getRng();if(!j(r.commonAncestorContainer))return C.none();const s=o?ie.Forwards:ie.Backwards,a=Pn(n.getBody()),i=J(bc,o?a.next:a.prev),l=o?bA:vA,d=ta(s,n.getBody(),r),c=i(d),u=c&&Ge(o,c);if(!u||!Ni(d,u))return C.none();if(l(u))return C.some(()=>NC(n,r,d.getNode(),s,o,u));const m=i(u);return m&&l(m)&&Ni(u,m)?C.some(()=>NC(n,r,d.getNode(),s,o,m)):C.none()})(t,e),fm=(t,e)=>{const n=t.getBody();return e?Ce(n).filter(yo):dn(n).filter(Co)},gm=t=>{const e=t.selection.getRng();return!e.collapsed&&(fm(t,!0).exists(n=>n.isEqual(L.fromRangeStart(e)))||fm(t,!1).exists(n=>n.isEqual(L.fromRangeEnd(e))))},Je=Tn([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),RC=(t,e,n,o)=>qe(e,t,n).bind(r=>{return s=r.getNode(),q(s)&&(Os(k(s))||Ts(k(s)))||((a,i,l,d,c)=>{const u=m=>c.isInline(m.nodeName.toLowerCase())&&!On(l,d,a);return jh(!i,l).fold(()=>jh(i,d).fold(zt,u),u)})(t,e,n,r,o)?C.none():e&&Lt(r.getNode())||!e&&Lt(r.getNode(!0))?((a,i,l,d)=>{const c=d.getNode(!i);return Vi(k(a),k(l.getNode())).map(u=>Vt(u)?Je.remove(u.dom):Je.moveToElement(c)).orThunk(()=>C.some(Je.moveToElement(c)))})(t,e,n,r):e&&Co(n)||!e&&yo(n)?C.some(Je.moveToPosition(r)):C.none();var s}),AC=(t,e)=>C.from(nr(t.getBody(),e)),TC=t=>{const e=t.dom,n=t.selection,o=nr(t.getBody(),n.getNode());if(an(o)&&e.isBlock(o)&&e.isEmpty(o)){const r=e.create("br",{"data-mce-bogus":"1"});e.setHTML(o,""),o.appendChild(r),n.setRng(L.before(r).toRange())}return!0},pm=(t,e)=>t.selection.isCollapsed()?((t,e)=>{const n=t.selection.getNode();return AC(t,n).filter(Lt).fold(()=>((o,r,s,a)=>{const i=hc(r?1:-1,o,s),l=L.fromRangeStart(i),d=k(o);return!r&&Co(l)?C.some(Je.remove(l.getNode(!0))):r&&yo(l)?C.some(Je.remove(l.getNode())):!r&&yo(l)&&su(d,l,a)?LN(d,l,a).map(c=>Je.remove(c.getNode())):r&&Co(l)&&ru(d,l,a)?MN(d,l,a).map(c=>Je.remove(c.getNode())):(c=o,p=a,((f,h)=>{const g=h.getNode(!f),b=f?"after":"before";return Z(g)&&g.getAttribute("data-mce-caret")===b})(u=r,m=l)?(f=u,h=m.getNode(!u),Gt(h)?C.none():f&&Lt(h.nextSibling)?C.some(Je.moveToElement(h.nextSibling)):!f&&Lt(h.previousSibling)?C.some(Je.moveToElement(h.previousSibling)):C.none()).orThunk(()=>RC(c,u,m,p)):RC(c,u,m,p).bind(f=>((h,g,b)=>b.fold(v=>C.some(Je.remove(v)),v=>C.some(Je.moveToElement(v)),v=>On(g,v,h)?C.none():C.some(Je.moveToPosition(v))))(c,m,f)));var c,u,m,p,f,h})(t.getBody(),e,t.selection.getRng(),t.schema).map(o=>()=>o.fold(((r,s)=>a=>(r._selectionOverrides.hideFakeCaret(),tr(r,s,k(a)),!0))(t,e),((r,s)=>a=>{const i=s?L.before(a):L.after(a);return r.selection.setRng(i.toRange()),!0})(t,e),(r=>s=>(r.selection.setRng(s.toRange()),!0))(t))),()=>C.some(vt))})(t,e):((n,o)=>{const r=n.selection.getNode();return Lt(r)&&!ai(r)?AC(n,r.parentNode).filter(Lt).fold(()=>C.some(()=>{var s;s=k(n.getBody()),U(ve(s,".mce-offscreen-selection"),Dt),tr(n,o,k(n.selection.getNode())),uu(n)}),()=>C.some(vt)):gm(n)?C.some(()=>{tv(n,n.selection.getRng(),k(n.getBody()))}):C.none()})(t,e),hm=(t,e)=>t.selection.isCollapsed()?((n,o)=>{const r=L.fromRangeStart(n.selection.getRng());return qe(o,n.getBody(),r).filter(s=>o?TN(s):ON(s)).bind(s=>pc(o?0:-1,s)).map(s=>()=>n.selection.select(s))})(t,e):C.none(),Xr=j,OC=t=>Xr(t)&&t.data[0]===se,BC=t=>Xr(t)&&t.data[t.data.length-1]===se,PC=t=>{var e;return(null!==(e=t.ownerDocument)&&void 0!==e?e:document).createTextNode(se)},cl=(t,e)=>t?(n=>{var o;if(Xr(n.previousSibling))return BC(n.previousSibling)||n.previousSibling.appendData(se),n.previousSibling;if(Xr(n))return OC(n)||n.insertData(0,se),n;{const r=PC(n);return null===(o=n.parentNode)||void 0===o||o.insertBefore(r,n),r}})(e):(n=>{var o,r;if(Xr(n.nextSibling))return OC(n.nextSibling)||n.nextSibling.insertData(0,se),n.nextSibling;if(Xr(n))return BC(n)||n.appendData(se),n;{const s=PC(n);return n.nextSibling?null===(o=n.parentNode)||void 0===o||o.insertBefore(s,n.nextSibling):null===(r=n.parentNode)||void 0===r||r.appendChild(s),s}})(e),CA=J(cl,!0),wA=J(cl,!1),DC=(t,e)=>j(t.container())?cl(e,t.container()):cl(e,t.getNode()),LC=(t,e)=>{const n=e.get();return n&&t.container()===n&&io(n)},bm=(t,e)=>e.fold(n=>{Ko(t.get());const o=CA(n);return t.set(o),C.some(L(o,o.length-1))},n=>Ce(n).map(o=>{if(LC(o,t)){const r=t.get();return L(r,1)}{Ko(t.get());const r=DC(o,!0);return t.set(r),L(r,1)}}),n=>dn(n).map(o=>{if(LC(o,t)){const r=t.get();return L(r,r.length-1)}{Ko(t.get());const r=DC(o,!1);return t.set(r),L(r,r.length-1)}}),n=>{Ko(t.get());const o=wA(n);return t.set(o),C.some(L(o,1))}),MC=(t,e)=>{for(let n=0;npo(e,t)||t,xA=(t,e,n)=>{const o=G0(n),r=IC(e,o.container());return wo(t,r,o).fold(()=>Ae(r,o).bind(J(wo,t,r)).map(s=>_e.before(s)),C.none)},EA=(t,e)=>null===Go(t,e),FC=(t,e,n)=>wo(t,e,n).filter(J(EA,e)),_A=(t,e,n)=>{const o=X0(n);return FC(t,e,o).bind(r=>Le(r,o).isNone()?C.some(_e.start(r)):C.none())},kA=(t,e,n)=>{const o=G0(n);return FC(t,e,o).bind(r=>Ae(r,o).isNone()?C.some(_e.end(r)):C.none())},SA=(t,e,n)=>{const o=X0(n),r=IC(e,o.container());return wo(t,r,o).fold(()=>Le(r,o).bind(J(wo,t,r)).map(s=>_e.after(s)),C.none)},UC=t=>!Y0(vm(t)),In=(t,e,n)=>MC([xA,_A,kA,SA],[t,e,n]).filter(UC),vm=t=>t.fold(Ne,Ne,Ne,Ne),zC=t=>t.fold(W("before"),W("start"),W("end"),W("after")),ul=t=>t.fold(_e.before,_e.before,_e.after,_e.after),ym=t=>t.fold(_e.start,_e.start,_e.end,_e.end),NA=(t,e,n,o,r,s)=>be(wo(e,n,o),wo(e,n,r),(a,i)=>a!==i&&((l,d,c)=>{const u=po(d,l),m=po(c,l);return q(u)&&u===m})(n,a,i)?_e.after(t?a:i):s).getOr(s),RA=(t,e)=>t.fold(Kt,n=>{return r=e,!(zC(o=n)===zC(r)&&vm(o)===vm(r));var o,r}),AA=(t,e)=>t?e.fold(En(C.some,_e.start),C.none,En(C.some,_e.after),C.none):e.fold(C.none,En(C.some,_e.before),C.none,En(C.some,_e.end)),jC=(t,e,n)=>{const o=t?1:-1;return e.setRng(L(n.container(),n.offset()+o).toRange()),e.getSel().modify("move",t?"forward":"backward","word"),!0};var Fn;!function(t){t[t.Br=0]="Br",t[t.Block=1]="Block",t[t.Wrap=2]="Wrap",t[t.Eol=3]="Eol"}(Fn||(Fn={}));const ml=(t,e)=>t===ie.Backwards?ms(e):e,TA=(t,e,n)=>t===ie.Forwards?e.next(n):e.prev(n),OA=(t,e,n,o)=>Ht(o.getNode(e===ie.Forwards))?Fn.Br:!1===On(n,o)?Fn.Block:Fn.Wrap,HC=(t,e,n,o)=>{const r=Pn(n);let s=o;const a=[];for(;s;){const i=TA(e,r,s);if(!i)break;if(Ht(i.getNode(!1)))return e===ie.Forwards?{positions:ml(e,a).concat([i]),breakType:Fn.Br,breakAt:C.some(i)}:{positions:ml(e,a),breakType:Fn.Br,breakAt:C.some(i)};if(i.isVisible()){if(t(s,i)){const l=OA(0,e,s,i);return{positions:ml(e,a),breakType:l,breakAt:C.some(i)}}a.push(i),s=i}else s=i}return{positions:ml(e,a),breakType:Fn.Eol,breakAt:C.none()}},$C=(t,e,n,o)=>e(n,o).breakAt.map(r=>{const s=e(n,r).positions;return t===ie.Backwards?s.concat(r):[r].concat(s)}).getOr([]),Cm=(t,e)=>Oe(t,(n,o)=>n.fold(()=>C.some(o),r=>be(Be(r.getClientRects()),Be(o.getClientRects()),(s,a)=>{const i=Math.abs(e-s.left);return Math.abs(e-a.left)<=i?o:r}).or(n)),C.none()),fl=(t,e)=>Be(e.getClientRects()).bind(n=>Cm(t,n.left)),wa=J(HC,L.isAbove,-1),xa=J(HC,L.isBelow,1),qC=J($C,-1,wa),VC=J($C,1,xa),WC=(t,e)=>wa(t,e).breakAt.isNone(),KC=(t,e)=>xa(t,e).breakAt.isNone(),BA=(t,e)=>fl(qC(t,e),e),PA=(t,e)=>fl(VC(t,e),e),DA=Lt,YC=(t,e)=>Math.abs(t.left-e),GC=(t,e)=>Math.abs(t.right-e),XC=(t,e)=>Ya(t,(n,o)=>{const r=Math.min(YC(n,e),GC(n,e)),s=Math.min(YC(o,e),GC(o,e));return s===r&&vr(o,"node")&&DA(o.node)||s{const e=n=>Et(n,o=>{const r=Vo(o);return r.node=t,r});if(Z(t))return e(t.getClientRects());if(j(t)){const n=t.ownerDocument.createRange();return n.setStart(t,0),n.setEnd(t,t.data.length),e(n.getClientRects())}return[]},QC=t=>rn(t,LA);var Ea;!function(t){t[t.Up=-1]="Up",t[t.Down=1]="Down"}(Ea||(Ea={}));const JC=(t,e,n,o,r,s)=>{let a=0;const i=[],l=u=>{let m=QC([u]);-1===t&&(m=m.reverse());for(let p=0;p0&&e(f,No(i))&&a++,f.line=a,r(f))return!0;i.push(f)}}return!1},d=No(s.getClientRects());if(!d)return i;const c=s.getNode();return c&&(l(c),((u,m,p,f)=>{let h=f;for(;h=Qs(h,u,ep,m);)if(p(h))return})(t,o,l,c)),i},MA=J(JC,Ea.Up,$s,qs),IA=J(JC,Ea.Down,qs,$s),ZC=t=>No(t.getClientRects()),t1=t=>e=>e.line>t,wm=t=>e=>e.line===t,to=(t,e)=>{t.selection.setRng(e),aa(t,t.selection.getRng())},xm=(t,e,n)=>C.some(um(t,e,n)),e1=(t,e,n,o,r,s)=>{const a=e===ie.Forwards,i=Pn(t.getBody()),l=J(bc,a?i.next:i.prev),d=a?o:r;if(!n.collapsed){const f=yi(n);if(s(f))return Zn(e,t,f,e===ie.Backwards,!1);if(gm(t)){const h=n.cloneRange();return h.collapse(e===ie.Backwards),C.from(h)}}const c=ta(e,t.getBody(),n);if(d(c))return Ca(t,c.getNode(!a));let u=l(c);const m=Jg(n);if(!u)return m?C.some(n):C.none();if(u=Ge(a,u),d(u))return Zn(e,t,u.getNode(!a),a,!1);const p=l(u);return p&&d(p)&&Ni(u,p)?Zn(e,t,p.getNode(!a),a,!1):m?xm(t,u.toRange(),!1):C.none()},n1=(t,e,n,o,r,s)=>{const a=ta(e,t.getBody(),n),i=No(a.getClientRects()),l=e===Ea.Down,d=t.getBody();if(!i)return C.none();if(gm(t)){const h=l?L.fromRangeEnd(n):L.fromRangeStart(n);return(l?PA:BA)(d,h).orThunk(()=>C.from(h)).map(g=>g.toRange())}const c=(l?IA:MA)(d,t1(1),a),u=gt(c,wm(1)),m=i.left,p=XC(u,m);if(p&&s(p.node)){const h=Math.abs(m-p.left),g=Math.abs(m-p.right);return Zn(e,t,p.node,h{const w=Pn(v);let E,N,T,O;const P=[];let _=0;1===b?(E=w.next,N=qs,T=$s,O=L.after(x)):(E=w.prev,N=$s,T=qs,O=L.before(x));const R=ZC(O);do{if(!O.isVisible())continue;const B=ZC(O);if(T(B,R))continue;P.length>0&&N(B,No(P))&&_++;const M=Vo(B);if(M.position=O,M.line=_,y(M))return P;P.push(M)}while(O=E(O));return P})(e,d,t1(1),f);let g=XC(gt(h,wm(1)),m);if(g||(g=No(gt(h,wm(0))),g))return xm(t,g.position.toRange(),!1)}return 0===u.length?Em(t,l).filter(l?r:o).map(h=>um(t,h.toRange(),!1)):C.none()},Em=(t,e)=>{const n=t.selection.getRng(),o=e?L.fromRangeEnd(n):L.fromRangeStart(n),r=(s=o.container(),a=t.getBody(),Vn(k(s),i=>MS(i.dom),i=>i.dom===a).map(i=>i.dom).getOr(a));var s,a;if(e){const i=xa(r,o);return So(i.positions)}{const i=wa(r,o);return Be(i.positions)}},o1=(t,e,n)=>Em(t,e).filter(n).exists(o=>(t.selection.setRng(o.toRange()),!0)),gl=(t,e)=>{const n=t.dom.createRng();n.setStart(e.container(),e.offset()),n.setEnd(e.container(),e.offset()),t.selection.setRng(n)},r1=(t,e)=>{t?e.setAttribute("data-mce-selected","inline-boundary"):e.removeAttribute("data-mce-selected")},s1=(t,e,n)=>bm(e,n).map(o=>(gl(t,o),n)),a1=(t,e,n)=>!!Ys(t)&&((t,e,n)=>{const o=t.getBody(),r=((s,a,i)=>{const l=L.fromRangeStart(s);if(s.collapsed)return l;{const d=L.fromRangeEnd(s);return i?Le(a,d).getOr(d):Ae(a,l).getOr(l)}})(t.selection.getRng(),o,n);return((s,a,i,l)=>{const d=Ge(s,l),c=In(a,i,d);return In(a,i,d).bind(J(AA,s)).orThunk(()=>((u,m,p,f,h)=>{const g=Ge(u,h);return qe(u,p,g).map(J(Ge,u)).fold(()=>f.map(ul),b=>In(m,p,b).map(J(NA,u,m,p,g,b)).filter(J(RA,f))).filter(UC)})(s,a,i,c,l))})(n,J(er,t),o,r).bind(s=>s1(t,e,s))})(t,e,n).isSome(),i1=(t,e,n)=>!!Ys(e)&&((o,r)=>{const s=r.selection.getRng(),a=o?L.fromRangeEnd(s):L.fromRangeStart(s);return!!Nt(r.selection.getSel().modify)&&(o&&Ad(a)?jC(!0,r.selection,a):!(o||!Td(a))&&jC(!1,r.selection,a))})(t,e),zA=J(i1,!0),jA=J(i1,!1),pl=(t,e,n)=>{if(Ys(t)){const o=Em(t,e).getOrThunk(()=>{const r=t.selection.getRng();return e?L.fromRangeEnd(r):L.fromRangeStart(r)});return In(J(er,t),t.getBody(),o).exists(r=>{const s=ul(r);return bm(n,s).exists(a=>(gl(t,a),!0))})}return!1},l1=(t,e)=>n=>bm(e,n).map(o=>()=>gl(t,o)),d1=(t,e,n,o)=>{const r=t.getBody(),s=J(er,t);t.undoManager.ignore(()=>{t.selection.setRng(((a,i)=>{const l=document.createRange();return l.setStart(a.container(),a.offset()),l.setEnd(i.container(),i.offset()),l})(n,o)),cu(t),In(s,r,L.fromRangeStart(t.selection.getRng())).map(ym).bind(l1(t,e)).each(ds)}),t.nodeChanged()},_m=(t,e,n)=>{if(t.selection.isCollapsed()&&Ys(t)){const o=L.fromRangeStart(t.selection.getRng());return((r,s,a,i)=>{const l=(u=r.getBody(),m=i.container(),po(m,u)||u),d=J(er,r),c=In(d,l,i);var u,m;return c.bind(u=>a?u.fold(W(C.some(ym(u))),C.none,W(C.some(ul(u))),C.none):u.fold(C.none,W(C.some(ul(u))),C.none,W(C.some(ym(u))))).map(l1(r,s)).getOrThunk(()=>{const u=Ir(a,l,i),m=u.bind(p=>In(d,l,p));return be(c,m,()=>wo(d,l,i).bind(p=>{return be(Ce(f=p),dn(f),(h,g)=>{const b=Ge(!0,h),v=Ge(!1,g);return Ae(f,b).forall(y=>y.isEqual(v))}).getOr(!0)?C.some(()=>{tr(r,a,k(p))}):C.none();var f})).getOrThunk(()=>m.bind(()=>u.map(p=>()=>{a?d1(r,s,i,p):d1(r,s,p,i)})))})})(t,e,n,o)}return C.none()},c1=(t,e)=>{const n=k(t.getBody()),o=k(t.selection.getStart()),r=Jn(o,n);return us(r,e).fold(W(r),s=>r.slice(0,s))},HA=t=>1===pd(t),u1=(t,e)=>{const n=J(Nv,t);return rn(e,o=>n(o)?[o.dom]:[])},m1=t=>{const e=c1(n=t,o=>n.schema.isBlock(xt(o)));var n;return u1(t,e)},f1=(t,e)=>{const n=t.selection.getStart(),o=((r,s)=>{const a=s.parentElement;return Ht(s)&&!Se(a)&&r.dom.isEmpty(a)})(t,n)||Lc(k(n))?Sv(n,e):((r,s)=>{const{caretContainer:a,caretPosition:i}=kv(s);return r.insertNode(a.dom),i})(t.selection.getRng(),e);t.selection.setRng(o.toRange())},g1=t=>j(t.startContainer),km=(t,e)=>t.selection.isCollapsed()?((t,e)=>{const n=gt(c1(o=t,r=>o.schema.isBlock(xt(r))||pd(r)>1),HA);var o;return So(n).bind(o=>{const r=L.fromRangeStart(t.selection.getRng());return J0(e,r,o.dom)&&!Lc(o)?C.some(()=>((s,a,i,l)=>{const d=u1(a,l);if(0===d.length)tr(a,s,i);else{const c=Sv(i.dom,d);a.selection.setRng(c.toRange())}})(e,t,o,n)):C.none()})})(t,e):(n=>{if((t=>{const e=t.selection.getRng();return 0===(n=e).startOffset&&g1(n)&&((n,o)=>{const r=o.startContainer.parentElement;return!Se(r)&&Nv(n,k(r))})(t,e)&&(n=>{return(r=>{const s=r.startContainer.parentNode,a=r.endContainer.parentNode;return!Se(s)&&!Se(a)&&s.isEqualNode(a)})(o=n)&&(r=>{const s=r.endContainer;return r.endOffset===(j(s)?s.length:s.childNodes.length)})(o)||(o=>!o.endContainer.isEqualNode(o.commonAncestorContainer))(n);var o})(e);var n})(n)){const o=m1(n);return C.some(()=>{cu(n),((r,s)=>{const a=$a(s,m1(r));a.length>0&&f1(r,a)})(n,o)})}return C.none()})(t),_a=t=>((e=>{const n=e.selection.getRng();return n.collapsed&&(g1(n)||e.dom.isEmpty(n.startContainer))&&!((t,e)=>Vn(t,n=>Ve(n.dom),n=>e.isBlock(xt(n))).isSome())(k((o=e).selection.getStart()),o.schema);var o})(t)&&f1(t,[]),!0),Sm=(t,e,n)=>q(n)?C.some(()=>{t._selectionOverrides.hideFakeCaret(),tr(t,e,k(n))}):C.none(),Nm=(t,e)=>t.selection.isCollapsed()?((n,o)=>{const r=o?ia:la,a=ta(o?ie.Forwards:ie.Backwards,n.getBody(),n.selection.getRng());return r(a)?Sm(n,o,a.getNode(!o)):C.from(Ge(o,a)).filter(i=>r(i)&&Ni(a,i)).bind(i=>Sm(n,o,i.getNode(!o)))})(t,e):((n,o)=>{const r=n.selection.getNode();return An(r)?Sm(n,o,r):C.none()})(t,e),Rm=t=>Ga(t??"").getOr(0),p1=(t,e)=>(t||"table"===xt(e)?"margin":"padding")+("rtl"===Rn(e,"direction")?"-right":"-left"),h1=t=>{const e=v1(t);return!t.mode.isReadOnly()&&(e.length>1||(n=t,oo(e,r=>{const s=p1(Ch(n),r),a=ei(r,s).map(Rm).getOr(0);return"false"!==n.dom.getContentEditable(r.dom)&&a>0})));var n},b1=t=>Rd(t)||Ts(t),v1=t=>gt(Cd(t.selection.getSelectedBlocks()),e=>!b1(e)&&!sn(e).exists(b1)&&Oo(e,n=>an(n.dom)||Lt(n.dom)).exists(n=>an(n.dom))),y1=(t,e)=>{var n,o;const{dom:r}=t,s=Ak(t),a=null!==(o=null===(n=/[a-z%]+$/i.exec(s))||void 0===n?void 0:n[0])&&void 0!==o?o:"px",i=Rm(s),l=Ch(t);U(v1(t),d=>{((c,u,m,p,f,h)=>{const g=p1(m,k(h)),b=Rm(c.getStyle(h,g));if("outdent"===u){const v=Math.max(0,b-p);c.setStyle(h,g,v?v+f:"")}else c.setStyle(h,g,b+p+f)})(r,e,l,i,a,d.dom)})},C1=t=>y1(t,"outdent"),w1=t=>{if(t.selection.isCollapsed()&&h1(t)){const e=t.dom,n=t.selection.getRng(),o=L.fromRangeStart(n),r=e.getParent(n.startContainer,e.isBlock);if(null!==r&&ou(k(r),o,t.schema))return C.some(()=>C1(t))}return C.none()},x1=(t,e,n)=>br([w1,pm,mm,(o,r)=>_m(o,e,r),dm,yu,hm,Nm,cm,km],o=>o(t,n)).filter(o=>t.selection.isEditable()),E1=t=>void 0===t.touches||1!==t.touches.length?C.none():C.some(t.touches[0]),Am=(t,e)=>ht(t,e.nodeName),KA=(t,e)=>!!j(e)||!!Z(e)&&!(Am(t.getBlockElements(),e)||We(e)||Uo(t,e)||Pd(e)),YA=(t,e)=>{if(j(e)){if(0===e.data.length)return!0;if(/^\s+$/.test(e.data))return!e.nextSibling||Am(t,e.nextSibling)||Pd(e.nextSibling)}return!1},_1=t=>t.dom.create(ye(t),Ks(t)),GA=t=>{const e=t.dom,n=t.selection,o=t.schema,r=o.getBlockElements(),s=n.getStart(),a=t.getBody();let i,l,d=!1;const c=ye(t);if(!s||!Z(s))return;const u=a.nodeName.toLowerCase();if(!o.isValidChild(u,c.toLowerCase())||(y=r,x=a,$t(A0(k(s),k(x)),E=>Am(y,E.dom))))return;var y,x;const m=n.getRng(),{startContainer:p,startOffset:f,endContainer:h,endOffset:g}=m,b=Zo(t);let v=a.firstChild;for(;v;)if(Z(v)&&I_(o,v),KA(o,v)){if(YA(r,v)){l=v,v=v.nextSibling,e.remove(l);continue}i||(i=_1(t),a.insertBefore(i,v),d=!0),l=v,v=v.nextSibling,i.appendChild(l)}else i=null,v=v.nextSibling;d&&b&&(m.setStart(p,f),m.setEnd(h,g),n.setRng(m),t.nodeChanged())},k1=(t,e,n)=>{const o=k(_1(t)),r=Bs();Yt(o,r),n(e,o);const s=document.createRange();return s.setStartBefore(r.dom),s.setEndBefore(r.dom),s},S1=t=>e=>-1!==(" "+e.attr("class")+" ").indexOf(t),XA=(t,e,n)=>function(o){const r=arguments,s=r[r.length-2],a=s>0?e.charAt(s-1):"";if('"'===a)return o;if(">"===a){const i=e.lastIndexOf("<",s);if(-1!==i&&-1!==e.substring(i,s).indexOf('contenteditable="false"'))return o}return''+t.dom.encode("string"==typeof r[1]?r[1]:r[0])+""},N1=(t,e)=>{e.hasAttribute("data-mce-caret")&&(Od(e),t.selection.setRng(t.selection.getRng()),t.selection.scrollIntoView(e))},QA=(t,e)=>{const n=ks(k(t.getBody()),"*[data-mce-caret]").map(r=>r.dom).getOrNull();if(n)return"compositionstart"===e.type?(e.preventDefault(),e.stopPropagation(),void N1(t,n)):void(Qg(n)&&(N1(t,n),t.undoManager.add()))},R1=Lt,A1=(t,e,n)=>{const o=Pn(t.getBody()),r=J(bc,1===e?o.next:o.prev);if(n.collapsed){const s=t.dom.getParent(n.startContainer,"PRE");if(!s)return;if(!r(L.fromRangeStart(n))){const a=k((i=>{const l=i.dom.create(ye(i));return l.innerHTML='
    ',l})(t));1===e?Wn(k(s),a):De(k(s),a),t.selection.select(a.dom,!0),t.selection.collapse()}}},T1=(t,e)=>((n,o)=>{const r=o?ie.Forwards:ie.Backwards,s=n.selection.getRng();return(a=r,i=n,l=s,e1(i,a,l,yo,Co,R1)).orThunk(()=>(A1(n,r,s),C.none()));var a,i,l})(t,((n,o)=>{const r=o?n.getEnd(!0):n.getStart(!0);return Y0(r)?!o:o})(t.selection,e)).exists(n=>(to(t,n),!0)),O1=(t,e)=>((n,o)=>{const r=o?1:-1,s=n.selection.getRng();return(a=r,i=n,l=s,n1(i,a,l,d=>yo(d)||N0(d),d=>Co(d)||R0(d),R1)).orThunk(()=>(A1(n,r,s),C.none()));var a,i,l})(t,e).exists(n=>(to(t,n),!0)),B1=(t,e)=>o1(t,e,e?Co:yo),hl=(t,e)=>fm(t,!e).map(n=>{const o=n.toRange(),r=t.selection.getRng();return e?o.setStart(r.startContainer,r.startOffset):o.setEnd(r.endContainer,r.endOffset),o}).exists(n=>(to(t,n),!0)),JA=t=>Rt(["figcaption"],xt(t)),P1=(t,e)=>!!t.selection.isCollapsed()&&((n,o)=>{const r=k(n.getBody()),s=L.fromRangeStart(n.selection.getRng());return((a,i,l)=>{const d=J(kt,i);return Oo(k(a.container()),c=>l.isBlock(xt(c)),d).filter(JA)})(s,r,n.schema).exists(()=>{if(a=r,l=s,o?KC(a.dom,l):WC(a.dom,l)){const a=k1(n,r,o?Yt:yd);return n.selection.setRng(a),!0}var a,l;return!1})})(t,e),D1=(t,e)=>{return n=t,e?C.from(n.dom.getParent(n.selection.getNode(),"details")).map(r=>((s,a)=>{const i=s.selection.getRng(),l=L.fromRangeStart(i);return!(s.getBody().lastChild!==a||!KC(a,l)||(s.execCommand("InsertNewBlockAfter"),0))})(n,r)).getOr(!1):C.from(n.dom.getParent(n.selection.getNode(),"summary")).bind(r=>C.from(n.dom.getParent(r,"details")).map(s=>((a,i,l)=>{const d=a.selection.getRng(),c=L.fromRangeStart(d);return!(a.getBody().firstChild!==i||!WC(l,c)||(a.execCommand("InsertNewBlockBefore"),0))})(n,s,r))).getOr(!1);var n},L1={shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0},M1=(t,e)=>e.keyCode===t.keyCode&&e.shiftKey===t.shiftKey&&e.altKey===t.altKey&&e.ctrlKey===t.ctrlKey&&e.metaKey===t.metaKey,ct=(t,...e)=>()=>t.apply(null,e),ka=(t,e)=>{return Zt((o=e,rn(Et(t,s=>({...L1,...s})),r=>M1(r,o)?[r]:[])),n=>n.action());var o},I1=(t,e)=>{return br((o=e,rn(Et(t,s=>({...L1,...s})),r=>M1(r,o)?[r]:[])),n=>n.action());var o},F1=(t,e)=>{const n=e?ie.Forwards:ie.Backwards,o=t.selection.getRng();return e1(t,n,o,ia,la,An).exists(r=>(to(t,r),!0))},U1=(t,e)=>{const n=e?1:-1,o=t.selection.getRng();return n1(t,n,o,ia,la,An).exists(r=>(to(t,r),!0))},z1=(t,e)=>o1(t,e,e?la:ia),j1=Tn([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),Sa={...j1,none:t=>j1.none(t)},H1=(t,e,n)=>rn(ue(t),o=>gn(o,e)?n(o)?[o]:[]:H1(o,e,n)),$1=(t,e)=>Bo(t,"table",e),Tm=(t,e,n,o,r=Kt)=>{const s=1===o;if(!s&&n<=0)return Sa.first(t[0]);if(s&&n>=t.length-1)return Sa.last(t[t.length-1]);{const a=n+o,i=t[a];return r(i)?Sa.middle(e,i):Tm(t,e,a,o,r)}},q1=(t,e)=>$1(t,e).bind(n=>{const o=H1(n,"th,td",Kt);return us(o,r=>kt(t,r)).map(r=>({index:r,all:o}))}),V1=(t,e,n,o,r)=>{const s=ve(k(n),"td,th,caption").map(i=>i.dom);var i;return((i,l,d)=>Oe(i,(c,u)=>c.fold(()=>C.some(u),m=>{const p=Math.sqrt(Math.abs(m.x-l)+Math.abs(m.y-d)),f=Math.sqrt(Math.abs(u.x-l)+Math.abs(u.y-d));return C.some(f{const c={left:(u=Vo(d.getBoundingClientRect())).left- -1,top:u.top- -1,right:u.right+-2,bottom:u.bottom+-2,width:u.width+-1,height:u.height+-1};var u;return[{x:c.left,y:i(c),cell:d},{x:c.right,y:i(c),cell:d}]})),i=>e(i,r)),o,r).map(i=>i.cell)},ZA=J(V1,t=>t.bottom,(t,e)=>t.yt.top,(t,e)=>t.y>e),W1=(t,e,n)=>{const o=t(e,n);return(r=o).breakType===Fn.Wrap&&0===r.positions.length||!Ht(n.getNode())&&(r=>r.breakType===Fn.Br&&1===r.positions.length)(o)?!((r,s,a)=>a.breakAt.exists(i=>r(s,i).breakAt.isSome()))(t,e,o):o.breakAt.isNone();var r},eT=J(W1,wa),nT=J(W1,xa),oT=(t,e,n,o)=>{const r=t.selection.getRng(),s=e?1:-1;return!(!Lh()||!((a,i,l)=>{const d=L.fromRangeStart(i);return Fr(!a,l).exists(c=>c.isEqual(d))})(e,r,n)||(Zn(s,t,n,!e,!1).each(a=>{to(t,a)}),0))},K1=(t,e,n)=>{const o=((s,a)=>{const i=a.getNode(s);return Gn(i)?C.some(i):C.none()})(!!e,n),r=!1===e;o.fold(()=>to(t,n.toRange()),s=>Fr(r,t.getBody()).filter(a=>a.isEqual(n)).fold(()=>to(t,n.toRange()),a=>{return i=e,d=s,void(l=t).undoManager.transact(()=>{const c=i?Wn:De,u=k1(l,k(d),c);to(l,u)});var i,l,d}))},rT=(t,e,n,o)=>{const r=t.selection.getRng(),s=L.fromRangeStart(r),a=t.getBody();if(!e&&eT(o,s)){const i=(l=a,(u=d=n,m=c=s,Be(m.getClientRects()).bind(p=>ZA(u,p.left,p.top)).bind(p=>{return fl(dn(f=p).map(h=>wa(f,h).positions.concat(h)).getOr([]),m);var f})).orThunk(()=>Be(c.getClientRects()).bind(u=>Cm(qC(l,L.before(d)),u.left))).getOr(L.before(d)));return K1(t,e,i),!0}var l,d,c,u,m;if(e&&nT(o,s)){const i=((l,d,c)=>((u,m)=>So(m.getClientRects()).bind(p=>tT(u,p.left,p.top)).bind(p=>{return fl(Ce(f=p).map(h=>[h].concat(xa(f,h).positions)).getOr([]),m);var f}))(d,c).orThunk(()=>Be(c.getClientRects()).bind(u=>Cm(VC(l,L.after(d)),u.left))).getOr(L.after(d)))(a,n,s);return K1(t,e,i),!0}return!1},Y1=(t,e,n)=>C.from(t.dom.getParent(t.selection.getNode(),"td,th")).bind(o=>C.from(t.dom.getParent(o,"table")).map(r=>n(t,e,r,o))).getOr(!1),G1=(t,e)=>Y1(t,e,oT),Om=(t,e)=>Y1(t,e,rT),X1=(t,e,n)=>n.fold(C.none,C.none,(o,r)=>{return(s=r,Bg(s,l0)).map(a=>{return(t=>{const e=$r.getWin(t).dom,n=(r,s,a,i)=>Ic(e,r,s,a,i),o=t.match({domRange:s=>{const a=k(s.startContainer),i=k(s.endContainer);return Lb(a,s.startOffset,i,s.endOffset)},relative:ZS,exact:Lb});return((r,s)=>{var i;return((i,l)=>{const d=l.ltr();return d.collapsed?l.rtl().filter(c=>!1===c.collapsed).map(c=>sa.rtl(k(c.endContainer),c.endOffset,k(c.startContainer),c.startOffset)).getOrThunk(()=>Pb(0,sa.ltr,d)):Pb(0,sa.ltr,d)})(0,(i=r,s.match({domRange:d=>({ltr:W(d),rtl:C.none}),relative:(d,c)=>({ltr:Ro(()=>Bb(i,d,c)),rtl:Ro(()=>C.some(Bb(i,c,d)))}),exact:(d,c,u,m)=>({ltr:Ro(()=>Ic(i,d,c,u,m)),rtl:Ro(()=>C.some(Ic(i,u,m,d,c)))})})))})(e,o).match({ltr:n,rtl:n})})($r.exact(i=a,0,i,0));var i});var s},o=>(t.execCommand("mceTableInsertRowAfter"),Q1(t,e,o))),Q1=(t,e,n)=>{return X1(t,e,(r=Po,q1(o=n,void 0).fold(()=>Sa.none(o),s=>Tm(s.all,o,s.index,1,r))));var o,r},sT=(t,e,n)=>{return X1(t,e,(r=Po,q1(o=n,void 0).fold(()=>Sa.none(),s=>Tm(s.all,o,s.index,-1,r))));var o,r},J1=(t,e)=>{const n=["table","li","dl"],o=k(t.getBody()),r=a=>{const i=xt(a);return kt(a,o)||Rt(n,i)},s=t.selection.getRng();return(a=k(e?s.endContainer:s.startContainer),i=r,((l,d,c=zt)=>c(d)?C.none():Rt(l,xt(d))?C.some(d):_s(d,l.join(","),u=>gn(u,"table")||c(u)))(["td","th"],a,i)).map(a=>($1(a,r).each(i=>{t.model.table.clearSelectedCells(i.dom)}),t.selection.collapse(!e),(e?Q1:sT)(t,r,a).each(i=>{t.selection.setRng(i)}),!0)).getOr(!1);var a,i},wn=(t,e)=>({container:t,offset:e}),bl=Ot.DOM,vl=t=>e=>t===e?-1:0,Bm=(t,e,n)=>{if(j(t)&&e>=0)return C.some(wn(t,e));{const o=qo(bl);return C.from(o.backwards(t,e,vl(t),n)).map(r=>wn(r.container,r.container.data.length))}},Pm=(t,e,n)=>{if(!j(t))return C.none();if(e>=0&&e<=t.data.length)return C.some(wn(t,e));{const r=qo(bl);return C.from(r.backwards(t,e,vl(t),n)).bind(s=>Pm(s.container,e+s.container.data.length,n))}},Z1=(t,e,n)=>{if(!j(t))return C.none();const o=t.data;if(e<=o.length)return C.some(wn(t,e));{const r=qo(bl);return C.from(r.forwards(t,e,vl(t),n)).bind(s=>Z1(s.container,e-o.length,n))}},Dm=(t,e,n,o,r)=>{const s=qo(t,(a=>i=>a.isBlock(i)||Rt(["BR","IMG","HR","INPUT"],i.nodeName)||"false"===a.getContentEditable(i))(t));return C.from(s.backwards(e,n,o,r))},tw=t=>ze(t.toString().replace(/\u00A0/g," ")),ew=t=>""!==t&&-1!==" \xa0\f\n\r\t\v".indexOf(t),Lm=(t,e)=>t.substring(e.length),nw=(t,e,n,o=0)=>{return(r=k(e.startContainer),Bo(r,d0)).fold(()=>((s,a,i,l=0)=>{if(!(d=a).collapsed||!j(d.startContainer))return C.none();var d;const c={text:"",offset:0},u=s.getParent(a.startContainer,s.isBlock)||s.getRoot();return Dm(s,a.startContainer,a.startOffset,(m,p,f)=>(c.text=f+c.text,c.offset+=p,((h,g,b)=>{let v;const y=b.charAt(0);for(v=g-1;v>=0;v--){const x=h.charAt(v);if(ew(x))return C.none();if(y===x&&he(h,b,v,g))break}return C.some(v)})(c.text,c.offset,i).getOr(p)),u).bind(m=>{const p=a.cloneRange();if(p.setStart(m.container,m.offset),p.setEnd(a.endContainer,a.endOffset),p.collapsed)return C.none();const f=tw(p);return 0!==f.lastIndexOf(i)||Lm(f,i).length{const a=t.createRng();a.selectNode(s.dom);const i=tw(a);return C.some({range:a,text:Lm(i,n),trigger:n})});var r},ow=t=>{if(3===t.nodeType)return wn(t,t.data.length);{const e=t.childNodes;return e.length>0?ow(e[e.length-1]):wn(t,e.length)}},rw=(t,e)=>{const n=t.childNodes;return n.length>0&&e0&&1===t.nodeType&&n.length===e?ow(n[n.length-1]):wn(t,e)},sw=(t,e,n,o={})=>{var r;const s=e(),a=null!==(r=t.selection.getRng().startContainer.nodeValue)&&void 0!==r?r:"",i=gt(s.lookupByTrigger(n.trigger),d=>n.text.length>=d.minChars&&d.matches.getOrThunk(()=>(c=>u=>{const m=rw(u.startContainer,u.startOffset);return!((p,f)=>{var h;const g=null!==(h=p.getParent(f.container,p.isBlock))&&void 0!==h?h:p.getRoot();return Dm(p,f.container,f.offset,(b,v)=>0===v?-1:v,g).filter(b=>{const v=b.container.data.charAt(b.offset-1);return!ew(v)}).isSome()})(c,m)})(t.dom))(n.range,a,n.text));if(0===i.length)return C.none();const l=Promise.all(Et(i,d=>d.fetch(n.text,d.maxResults,o).then(c=>({matchText:n.text,items:c,columns:d.columns,onAction:d.onAction,highlightOn:d.highlightOn}))));return C.some({lookupData:l,context:n})};var Un;!function(t){t[t.Error=0]="Error",t[t.Value=1]="Value"}(Un||(Un={}));const Mm=(t,e,n)=>t.stype===Un.Error?e(t.serror):n(t.svalue),Qr=t=>({stype:Un.Value,svalue:t}),Na=t=>({stype:Un.Error,serror:t}),aT=Mm,Im=t=>we(t)&&Pe(t).length>100?" removed due to size":JSON.stringify(t,null,2),yl=(t,e)=>Na([{path:t,getErrorInfo:e}]),aw=t=>(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const n={};for(let o=0;oDf(t)&&Df(e)?Fm(t,e):e),iw=(aw((t,e)=>e),t=>({tag:"defaultedThunk",process:W(t)})),lw=(t,e,n)=>{switch(t.tag){case"field":return e(t.key,t.newKey,t.presence,t.prop);case"custom":return n(t.newKey,t.instantiator)}},Um=t=>({extract:(e,n)=>{return(o=t(n)).stype===Un.Error?yl(e,W(o.serror)):o;var o},toString:W("val")}),dT=Um(Qr),dw=(t,e,n,o)=>o(Pt(t,e).getOrThunk(()=>n(t))),cT=(t,e,n,o,r)=>{const s=i=>r.extract(e.concat([o]),i),a=i=>i.fold(()=>Qr(C.none()),l=>{return(c=r.extract(e.concat([o]),l)).stype===Un.Value?{stype:Un.Value,svalue:(0,C.some)(c.svalue)}:c;var c});switch(t.tag){case"required":return i=e,c=s,Pt(l=n,d=o).fold(()=>{return m=d,p=l,yl(i,()=>'Could not find valid *required* value for "'+m+'" in '+Im(p));var m,p},c);case"defaultedThunk":return dw(n,o,t.process,s);case"option":return((i,l,d)=>d(Pt(i,l)))(n,o,a);case"defaultedOptionThunk":return((i,l,d,c)=>c(Pt(i,l).map(u=>!0===u?d(i):u)))(n,o,t.process,a);case"mergeWithThunk":return dw(n,o,W({}),i=>{const l=Fm(t.process(n),i);return s(l)})}var i,l,d,c},zm=t=>({extract:(e,n)=>((o,r,s)=>{const a={},i=[];for(const l of s)lw(l,(d,c,u,m)=>{const p=cT(u,o,r,d,m);aT(p,f=>{i.push(...f)},f=>{a[c]=f})},(d,c)=>{a[d]=c(r)});return i.length>0?Na(i):Qr(a)})(e,n,t),toString:()=>"obj{\n"+Et(t,n=>lw(n,(o,r,s,a)=>o+" -> "+a.toString(),(o,r)=>"state("+o+")")).join("\n")+"}"}),cw=t=>({extract:(e,n)=>(t=>{const e=(o=>{const r=[],s=[];return U(o,a=>{Mm(a,i=>s.push(i),i=>r.push(i))}),{values:r,errors:s}})(t);return e.errors.length>0?(n=e.errors,En(Na,jf)(n)):Qr(e.values);var n})(Et(n,(r,s)=>t.extract(e.concat(["["+s+"]"]),r))),toString:()=>"array("+t.toString()+")"}),uw=(t,e)=>((t,e)=>({extract:(n,o)=>Pt(o,t).fold(()=>{return s=t,yl(n,()=>'Choice schema did not contain choice key: "'+s+'"');var s},r=>{return s=n,a=o,Pt(i=e,l=r).fold(()=>{return c=i,u=l,yl(s,()=>'The chosen schema: "'+u+'" did not exist in branches: '+Im(c));var c,u},d=>d.extract(s.concat(["branch: "+l]),a));var s,a,i,l}),toString:()=>"chooseOn("+t+"). Possible values: "+Pe(e)}))(t,Va(e,zm)),mT=W(dT),Cl=(t,e)=>Um(n=>{const o=typeof n;return t(n)?Qr(n):Na(`Expected type: ${e} but got: ${o}`)}),fT=Cl(fn,"number"),wl=Cl(at,"string"),gT=Cl(_o,"boolean"),jm=Cl(Nt,"function"),Ra=(t,e,n,o)=>({tag:"field",key:t,newKey:e,presence:n,prop:o}),mw=(t,e)=>({tag:"custom",newKey:t,instantiator:e}),fw=(t,e)=>Ra(t,t,{tag:"required",process:{}},e),gw=t=>fw(t,wl),pw=t=>fw(t,jm),Hm=(t,e)=>Ra(t,t,{tag:"option",process:{}},e),xl=t=>Hm(t,wl),Jr=(t,e,n)=>Ra(t,t,iw(e),n),hw=(t,e)=>Jr(t,e,fT),bw=(t,e,n)=>{return Jr(t,e,(o=n,r=s=>Rt(o,s)?Re.value(s):Re.error(`Unsupported value: "${s}", choose one of "${o.join(", ")}".`),Um(s=>r(s).fold(Na,Qr))));var o,r},$m=(t,e)=>Jr(t,e,gT),qm=(t,e)=>Jr(t,e,jm),pT=gw("type"),hT=pw("fetch"),Vm=pw("onAction"),bT=qm("onSetup",()=>vt),vT=xl("text"),yT=xl("icon"),CT=xl("tooltip"),wT=xl("label"),xT=$m("active",!1),ET=$m("enabled",!0),vw=$m("primary",!1),Aa=t=>Jr("type",t,wl),_T=zm([pT,gw("trigger"),hw("minChars",1),((t,e)=>Ra(t,t,iw(1),mT()))("columns"),hw("maxResults",10),Hm("matches",jm),hT,Vm,(yw=wl,Jr("highlightOn",[],cw(yw)))]);var yw;const Wm=[ET,CT,yT,vT,bT],Cw=[xT].concat(Wm),kT=[qm("predicate",zt),bw("scope","node",["node","editor"]),bw("position","selection",["node","selection","line"])],ST=Wm.concat([Aa("contextformbutton"),vw,Vm,mw("original",Ne)]),NT=Cw.concat([Aa("contextformbutton"),vw,Vm,mw("original",Ne)]),RT=Wm.concat([Aa("contextformbutton")]),AT=Cw.concat([Aa("contextformtogglebutton")]),TT=uw("type",{contextformbutton:ST,contextformtogglebutton:NT});zm([Aa("contextform"),qm("initValue",W("")),wT,((t,e)=>Ra(t,t,{tag:"required",process:{}},cw(e)))("commands",TT),Hm("launch",uw("type",{contextformbutton:RT,contextformtogglebutton:AT}))].concat(kT));const BT=t=>{const e=mo(),n=ae(!1),o=e.isSet,r=()=>{o()&&(Wt(t).autocompleter.removeDecoration(),t.dispatch("AutocompleterEnd"),n.set(!1),e.clear())},s=Ro(()=>(t=>{const e=t.ui.registry.getAll().popups,n=Va(e,s=>{return(a=s,((t,e,n)=>{return o=(i=e.extract([t],a=n)).stype===Un.Error?{stype:Un.Error,serror:(i=>({input:a,errors:i}))(i.serror)}:i,Mm(o,Re.error,Re.value);var a,i,o})("Autocompleter",_T,{trigger:a.ch,...a})).fold(i=>{throw new Error("Errors: \n"+(d=>{const c=d.length>10?d.slice(0,10).concat([{path:[],getErrorInfo:W("... (only showing first ten failures)")}]):d;return Et(c,u=>"Failed path: ("+u.path.join(" > ")+")\n"+u.getErrorInfo())})((l=i).errors).join("\n")+"\n\nInput object: "+Im(l.input));var l},Ne);var a}),o=$f(Wa(n,s=>s.trigger)),r=od(n);return{dataset:n,triggers:o,lookupByTrigger:s=>gt(r,a=>a.trigger===s)}})(t)),a=i=>{var l;(l=i,e.get().map(d=>nw(t.dom,t.selection.getRng(),d.trigger).bind(c=>sw(t,s,c,l))).getOrThunk(()=>((d,c)=>{const u=c(),m=d.selection.getRng();return(p=d.dom,f=m,h=u,br(h.triggers,g=>nw(p,f,g))).bind(p=>sw(d,c,p));var p,f,h})(t,s))).fold(r,l=>{var d,u;d=l.context,o()||(u=d.range,Wt(t).autocompleter.addDecoration(u),e.set({trigger:d.trigger,matchLength:d.text.length})),l.lookupData.then(d=>{e.get().map(c=>{const u=l.context;c.trigger===u.trigger&&(u.text.length-c.matchLength>=10?r():(e.set({...c,matchLength:u.text.length}),n.get()?t.dispatch("AutocompleterUpdate",{lookupData:d}):(n.set(!0),t.dispatch("AutocompleterStart",{lookupData:d}))))})})})};t.addCommand("mceAutocompleterReload",(i,l)=>{const d=we(l)?l.fetchOptions:{};a(d)}),t.addCommand("mceAutocompleterClose",r),((i,l)=>{const d=Jd(l.load,50);i.on("keypress compositionend",c=>{27!==c.which&&d.throttle()}),i.on("keydown",c=>{const u=c.which;8===u?d.throttle():27===u&&l.cancelIfNecessary()}),i.on("remove",d.cancel)})(t,{cancelIfNecessary:r,load:a})},PT=kn().browser.isSafari(),ww=t=>ao(k(t)),xw=(t,e)=>{var n;return 0===t.startOffset&&t.endOffset===(null===(n=e.textContent)||void 0===n?void 0:n.length)},El=(t,e)=>C.from(t.getParent(e.container(),"details")),Ew=(t,e)=>El(t,e).isSome(),_w=(t,e)=>{const n=e.getNode();fe(n)||t.selection.setCursorLocation(n,e.offset())},kw=(t,e,n)=>{const o=t.dom.getParent(e.container(),"details");if(o&&!o.open){const r=t.dom.select("summary",o)[0];r&&(n?Ce(r):dn(r)).each(s=>_w(t,s))}else _w(t,e)},Sw=(t,e,n)=>{const{dom:o,selection:r}=t,s=t.getBody();if("character"===n){const a=L.fromRangeStart(r.getRng()),i=o.getParent(a.container(),o.isBlock),l=El(o,a),d=i&&o.isEmpty(i),c=Se(i?.previousSibling),u=Se(i?.nextSibling);return!!(d&&(e?u:c)&&Ir(!e,s,a).exists(m=>Ew(o,m)&&!gg(l,El(o,m))))||Ir(e,s,a).fold(zt,m=>{const p=El(o,m);if(Ew(o,m)&&!gg(l,p)){if(e||kw(t,m,!1),i&&d){if(e&&c||!e&&u)return!0;kw(t,m,e),t.dom.remove(i)}return!0}return!1})}return!1},sr=(t,e,n)=>{return r=e,s=n,((a,i)=>{const l=C.from(a.getParent(i.startContainer,"details")),d=C.from(a.getParent(i.endContainer,"details"));if(l.isSome()||d.isSome()){const c=l.bind(u=>C.from(a.select("summary",u)[0]));return C.some({startSummary:c,startDetails:l,endDetails:d})}return C.none()})((o=t).dom,o.selection.getRng()).fold(()=>Sw(o,r,s),a=>((t,e,n,o)=>{const r=t.selection.getRng(),s=L.fromRangeStart(r),a=t.getBody();return"selection"===o?((i,l)=>{const d=l.startSummary.exists(m=>m.contains(i.startContainer)),c=l.startSummary.exists(m=>m.contains(i.endContainer)),u=l.startDetails.forall(m=>l.endDetails.forall(p=>m!==p));return(d||c)&&!(d&&c)||u})(r,e):n?(i=s,e.startSummary.exists(d=>{return c=i,dn(u=d).exists(m=>Ht(m.getNode())&&Le(u,m).exists(p=>p.isEqual(c))||m.isEqual(c));var c,u})||((i,l,d)=>d.startDetails.exists(c=>Ae(i,l).forall(u=>!c.contains(u.container()))))(a,s,e)):((i,l)=>l.startSummary.exists(d=>{return c=i,Ce(d).exists(m=>m.isEqual(c));var c}))(s,e)||((i,l)=>l.startDetails.exists(d=>Le(d,i).forall(c=>l.startSummary.exists(u=>!u.contains(i.container())&&u.contains(c.container())))))(s,e);var i})(o,a,r,s)||Sw(o,r,s))||PT&&((o,r,s)=>{const a=o.selection,i=a.getNode(),l=a.getRng(),d=L.fromRangeStart(l);return!!C_(i)&&("selection"===s&&xw(l,i)||J0(r,d,i)?ww(i):o.undoManager.transact(()=>{const c=a.getSel();let{anchorNode:u,anchorOffset:m,focusNode:p,focusOffset:f}=c??{};const h=()=>{q(u)&&q(m)&&q(p)&&q(f)&&c?.setBaseAndExtent(u,m,p,f)},g=(v,y)=>{U(v.childNodes,x=>{na(x)&&y.appendChild(x)})},b=o.dom.create("span",{"data-mce-bogus":"1"});g(i,b),i.appendChild(b),h(),"word"!==s&&"line"!==s||null==c||c.modify("extend",r?"right":"left",s),!a.isCollapsed()&&xw(a.getRng(),b)?ww(i):(o.execCommand(r?"ForwardDelete":"Delete"),u=c?.anchorNode,m=c?.anchorOffset,p=c?.focusNode,f=c?.focusOffset,g(b,i),h()),o.dom.remove(b)}),!0)})(t,e,n)?C.some(vt):C.none();var o,r,s},Nw=t=>(e,n,o={})=>{const r=e.getBody(),s={bubbles:!0,composed:!0,data:null,isComposing:!1,detail:0,view:null,target:r,currentTarget:r,eventPhase:Event.AT_TARGET,originalTarget:r,explicitOriginalTarget:r,isTrusted:!1,srcElement:r,cancelable:!1,preventDefault:vt,inputType:n},a=_p(new InputEvent(t));return e.dispatch(t,{...a,...s,...o})},Ta=Nw("input"),_l=Nw("beforeinput"),Rw=kn(),Aw=Rw.os,Tw=Aw.isMacOS()||Aw.isiOS(),LT=Rw.browser.isFirefox(),Zr=(t,e)=>{const n=t.dom,o=t.schema.getMoveCaretBeforeOnEnterElements();if(!e)return;if(/^(LI|DT|DD)$/.test(e.nodeName)){const s=(a=>{for(;a;){if(Z(a)||j(a)&&a.data&&/[\r\n\s]/.test(a.data))return a;a=a.nextSibling}return null})(e.firstChild);s&&/^(UL|OL|DL)$/.test(s.nodeName)&&e.insertBefore(n.doc.createTextNode(re),e.firstChild)}const r=n.createRng();if(e.normalize(),e.hasChildNodes()){const s=new te(e,e);let a,i=e;for(;a=s.current();){if(j(a)){r.setStart(a,0),r.setEnd(a,0);break}if(o[a.nodeName.toLowerCase()]){r.setStartBefore(a),r.setEndBefore(a);break}i=a,a=s.next()}a||(r.setStart(i,0),r.setEnd(i,0))}else Ht(e)?e.nextSibling&&n.isBlock(e.nextSibling)?(r.setStartBefore(e),r.setEndBefore(e)):(r.setStartAfter(e),r.setEndAfter(e)):(r.setStart(e,0),r.setEnd(e,0));t.selection.setRng(r),aa(t,r)},Oa=(t,e)=>{const n=t.getRoot();let o,r=e;for(;r!==n&&r&&"false"!==t.getContentEditable(r);){if("true"===t.getContentEditable(r)){o=r;break}r=r.parentNode}return r!==n?o:n},Km=t=>C.from(t.dom.getParent(t.selection.getStart(!0),t.dom.isBlock)),Ym=t=>{t.innerHTML='
    '},Ba=(t,e)=>{ye(t).toLowerCase()===e.tagName.toLowerCase()&&((n,o,r)=>{const s=n.dom;C.from(r.style).map(s.parseStyle).each(c=>{const u={...vd(k(o)),...c};s.setStyles(o,u)});const a=C.from(r.class).map(c=>c.split(/\s+/)),i=C.from(o.className).map(c=>gt(c.split(/\s+/),u=>""!==u));be(a,i,(c,u)=>{const m=gt(u,f=>!Rt(c,f)),p=[...c,...m];s.setAttrib(o,"class",p.join(" "))});const l=["style","class"],d=fs(r,(c,u)=>!Rt(l,u));s.setAttribs(o,d)})(t,e,Ks(t))},Ow=(t,e,n,o,r=!0,s,a)=>{const i=t.dom,l=t.schema,d=ye(t),c=n?n.nodeName.toUpperCase():"";let u=e;const m=l.getTextInlineElements();let p;p=s||"TABLE"===c||"HR"===c?i.create(s||d,a||{}):n.cloneNode(!1);let f=p;if(r){do{if(m[u.nodeName]){if(Ve(u)||We(u))continue;const h=u.cloneNode(!1);i.setAttrib(h,"id",""),p.hasChildNodes()?(h.appendChild(p.firstChild),p.appendChild(h)):(f=h,p.appendChild(h))}}while((u=u.parentNode)&&u!==o)}else i.setAttrib(p,"style",null),i.setAttrib(p,"class",null);return Ba(t,p),Ym(f),p},Bw=(t,e)=>{const n=t?.parentNode;return q(n)&&n.nodeName===e},Pw=t=>q(t)&&/^(OL|UL|LI)$/.test(t.nodeName),Gm=t=>q(t)&&/^(LI|DT|DD)$/.test(t.nodeName),kl=t=>{const e=t.parentNode;return Gm(e)?e:t},Sl=(t,e,n)=>{let o=t[n?"firstChild":"lastChild"];for(;o&&!Z(o);)o=o[n?"nextSibling":"previousSibling"];return o===e},Dw=t=>Oe(Wa(vd(k(t)),(e,n)=>`${n}: ${e};`),(e,n)=>e+n,""),MT=(t,e)=>e&&"A"===e.nodeName&&t.isEmpty(e),Xm=(t,e)=>t.nodeName===e||t.previousSibling&&t.previousSibling.nodeName===e,Qm=(t,e)=>q(e)&&t.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&!/^(fixed|absolute)/i.test(e.style.position)&&t.isEditable(e.parentNode)&&"false"!==t.getContentEditable(e),Jm=(t,e,n)=>j(e)?t?1===n&&e.data.charAt(n-1)===se?0:n:n===e.data.length-1&&e.data.charAt(n)===se?e.data.length:n:n,Lw={insert:(t,e)=>{let n,o,r,s,a=!1;const i=t.dom,l=t.schema.getNonEmptyElements(),d=t.selection.getRng(),c=ye(t),u=k(d.startContainer),m=_r(u,d.startOffset),p=m.exists(O=>Qa(O)&&!Po(O)),f=d.collapsed&&p,h=(O,P)=>Ow(t,n,w,x,yk(t),O,P),g=O=>{const P=Jm(O,n,o);if(j(n)&&(O?P>0:P{let O;return O=/^(H[1-6]|PRE|FIGURE)$/.test(r)&&"HGROUP"!==E?h(c):h(),((P,_)=>{const R=Ck(P);return!Gt(_)&&(at(R)?Rt(H.explode(R),_.nodeName.toLowerCase()):R)})(t,s)&&Qm(i,s)&&i.isEmpty(w,void 0,{includeZwsp:!0})?O=i.split(s,w):i.insertAfter(O,w),Zr(t,O),O};Fi(i,d).each(O=>{d.setStart(O.startContainer,O.startOffset),d.setEnd(O.endContainer,O.endOffset)}),n=d.startContainer,o=d.startOffset;const v=!(!e||!e.shiftKey),y=!(!e||!e.ctrlKey);Z(n)&&n.hasChildNodes()&&!f&&(a=o>n.childNodes.length-1,n=n.childNodes[Math.min(o,n.childNodes.length-1)]||n,o=a&&j(n)?n.data.length:0);const x=Oa(i,n);if(!x||((O,P)=>{const _=O.dom.getParent(P,"ol,ul,dl");return null!==_&&"false"===O.dom.getContentEditableParent(_)})(t,n))return;v||(n=((O,P,_,R,B)=>{var M,V;const $=O.dom,ot=null!==(M=Oa($,R))&&void 0!==M?M:$.getRoot();let et=$.getParent(R,$.isBlock);if(!et||!Qm($,et)){if(et=et||ot,!et.hasChildNodes()){const X=$.create(P);return Ba(O,X),et.appendChild(X),_.setStart(X,0),_.setEnd(X,0),X}let lt,rt=R;for(;rt&&rt.parentNode!==et;)rt=rt.parentNode;for(;rt&&!$.isBlock(rt);)lt=rt,rt=rt.previousSibling;const K=null===(V=lt?.parentElement)||void 0===V?void 0:V.nodeName;if(lt&&K&&O.schema.isValidChild(K,P.toLowerCase())){const X=lt.parentNode,mt=$.create(P);for(Ba(O,mt),X.insertBefore(mt,lt),rt=lt;rt&&!$.isBlock(rt);){const S=rt.nextSibling;mt.appendChild(rt),rt=S}_.setStart(R,B),_.setEnd(R,B)}}return R})(t,c,d,n,o));let w=i.getParent(n,i.isBlock)||i.getRoot();s=q(w?.parentNode)?i.getParent(w.parentNode,i.isBlock):null,r=w?w.nodeName.toUpperCase():"";const E=s?s.nodeName.toUpperCase():"";if("LI"!==E||y||(w=s,s=s.parentNode,r=E),Z(s)&&(O=t,_=w,!v&&_.nodeName.toLowerCase()===ye(O)&&O.dom.isEmpty(_)&&((R,B,M)=>{let V=B;for(;V&&V!==R&&Se(V.nextSibling);){const ot=V.parentElement;if(!ot||($=ot,!ht(O.schema.getTextBlockElements(),$.nodeName.toLowerCase())))return kd(ot);V=ot}var $;return!1})(O.getBody(),_)))return((O,P,_)=>{var R,B,M;const V=P(ye(O)),$=O.dom.getParent(_,kd);$&&(O.dom.insertAfter(V,$),Zr(O,V),(null!==(M=null===(B=null===(R=_.parentElement)||void 0===R?void 0:R.childNodes)||void 0===B?void 0:B.length)&&void 0!==M?M:0)>1&&O.dom.remove(_))})(t,h,w);var O,_;if(/^(LI|DT|DD)$/.test(r)&&Z(s)&&i.isEmpty(w))return void((O,P,_,R,B)=>{const M=O.dom,V=O.selection.getRng(),$=_.parentNode;if(_===O.getBody()||!$)return;var ot;Pw(ot=_)&&Pw(ot.parentNode)&&(B="LI");const et=Gm(R)?Dw(R):void 0;let lt=Gm(R)&&et?P(B,{style:Dw(R)}):P(B);if(Sl(_,R,!0)&&Sl(_,R,!1))if(Bw(_,"LI")){const rt=kl(_);M.insertAfter(lt,rt),(null===(X=(K=_).parentNode)||void 0===X?void 0:X.firstChild)===K?M.remove(rt):M.remove(_)}else M.replace(lt,_);else if(Sl(_,R,!0))Bw(_,"LI")?(M.insertAfter(lt,kl(_)),lt.appendChild(M.doc.createTextNode(" ")),lt.appendChild(_)):$.insertBefore(lt,_),M.remove(R);else if(Sl(_,R,!1))M.insertAfter(lt,kl(_)),M.remove(R);else{_=kl(_);const rt=V.cloneRange();rt.setStartAfter(R),rt.setEndAfter(_);const K=rt.extractContents();if("LI"===B&&((X,mt)=>X.firstChild&&"LI"===X.firstChild.nodeName)(K)){const X=gt(Et(lt.children,k),ls(Ja("br")));lt=K.firstChild,M.insertAfter(K,_),U(X,mt=>yd(k(lt),mt)),et&<.setAttribute("style",et)}else M.insertAfter(K,_),M.insertAfter(lt,_);M.remove(R)}var K,X;Zr(O,lt)})(t,h,s,w,c);if(!(f||w!==t.getBody()&&Qm(i,w)))return;const N=w.parentNode;let T;if(f)T=h(c),m.fold(()=>{Yt(u,k(T))},O=>{De(O,k(T))}),t.selection.setCursorLocation(T,0);else if(Tr(w))T=Od(w),i.isEmpty(w)&&Ym(w),Ba(t,T),Zr(t,T);else if(g(!1))T=b();else if(g(!0)&&N){T=N.insertBefore(h(),w);const O=k(d.startContainer).dom.hasChildNodes()&&d.collapsed;Zr(t,Xm(w,"HR")||O?T:w)}else{const O=(_=>{const R=_.cloneRange();return R.setStart(_.startContainer,Jm(!0,_.startContainer,_.startOffset)),R.setEnd(_.endContainer,Jm(!1,_.endContainer,_.endOffset)),R})(d).cloneRange();O.setEndAfter(w);const P=O.extractContents();(_=>{U(qg(k(_),He),R=>{const B=R.dom;B.nodeValue=ze(B.data)})})(P),(_=>{let R=_;do{j(R)&&(R.data=R.data.replace(/^[\r\n]+/,"")),R=R.firstChild}while(R)})(P),T=P.firstChild,i.insertAfter(P,w),((_,R,B)=>{var M;const V=[];if(!B)return;let $=B;for(;$=$.firstChild;){if(_.isBlock($))return;Z($)&&!R[$.nodeName.toLowerCase()]&&V.push($)}let ot=V.length;for(;ot--;)$=V[ot],(!$.hasChildNodes()||$.firstChild===$.lastChild&&""===(null===(M=$.firstChild)||void 0===M?void 0:M.nodeValue)||MT(_,$))&&_.remove($)})(i,l,T),((_,R)=>{R.normalize();const B=R.lastChild;(!B||Z(B)&&/^(left|right)$/gi.test(_.getStyle(B,"float",!0)))&&_.add(R,"br")})(i,w),i.isEmpty(w)&&Ym(w),T.normalize(),i.isEmpty(T)?(i.remove(T),b()):(Ba(t,T),Zr(t,T))}i.setAttrib(T,"id",""),t.dispatch("NewBlock",{newBlock:T})},fakeEventName:"insertParagraph"},Mw=(t,e,n)=>{const o=t.dom.createRng();n?(o.setStartBefore(e),o.setEndBefore(e)):(o.setStartAfter(e),o.setEndAfter(e)),t.selection.setRng(o),aa(t,o)},IT=(t,e)=>{const n=oe("br");De(k(e),n),t.undoManager.add()},FT=(t,e)=>{UT(t.getBody(),e)||Wn(k(e),oe("br"));const n=oe("br");Wn(k(e),n),Mw(t,n.dom,!1),t.undoManager.add()},UT=(t,e)=>{return n=L.after(e),!!Ht(n.getNode())||Ae(t,L.after(e)).map(o=>Ht(o.getNode())).getOr(!1);var n},Iw=t=>t&&"A"===t.nodeName&&"href"in t,zT=t=>t.fold(zt,Iw,Iw,zt),jT=(t,e)=>{e.fold(vt,J(IT,t),J(FT,t),vt)},Fw={insert:(t,e)=>{const n=(o=>{const r=J(er,o),s=L.fromRangeStart(o.selection.getRng());return In(r,o.getBody(),s).filter(zT)})(t);n.isSome()?n.each(J(jT,t)):((o,r)=>{const a=o.dom,i=o.selection.getRng();let l,d=!1;Fi(a,i).each(g=>{i.setStart(g.startContainer,g.startOffset),i.setEnd(g.endContainer,g.endOffset)});let c=i.startOffset,u=i.startContainer;if(Z(u)&&u.hasChildNodes()){const g=c>u.childNodes.length-1;u=u.childNodes[Math.min(c,u.childNodes.length-1)]||u,c=g&&j(u)?u.data.length:0}let m=a.getParent(u,a.isBlock);const p=m&&m.parentNode?a.getParent(m.parentNode,a.isBlock):null;"LI"!==(p?p.nodeName.toUpperCase():"")||!(!r||!r.ctrlKey)||(m=p),j(u)&&c>=u.data.length&&(((g,b,v)=>{const y=new te(b,v);let x;const w=g.getNonEmptyElements();for(;x=y.next();)if(w[x.nodeName.toLowerCase()]||j(x)&&x.length>0)return!0;return!1})(o.schema,u,m||a.getRoot())||(l=a.create("br"),i.insertNode(l),i.setStartAfter(l),i.setEndAfter(l),d=!0)),l=a.create("br"),oc(a,i,l),Mw(o,l,d),o.undoManager.add()})(t,e)},fakeEventName:"insertLineBreak"},Uw=(t,e)=>Km(t).filter(n=>e.length>0&&gn(k(n),e)).isSome(),je=Tn([{br:[]},{block:[]},{none:[]}]),HT=(t,e)=>{return Uw(n=t,vk(n));var n},zw=t=>(e,n)=>Km(e).filter(r=>Ts(k(r))).isSome()===t,jw=(t,e)=>(n,o)=>Km(n).fold(W(""),a=>a.nodeName.toUpperCase())===t.toUpperCase()===e,$T=t=>{const e=Oa(t.dom,t.selection.getStart());return Gt(e)},Pa=t=>jw("pre",t),Nl=t=>(e,n)=>pk(e)===t,qT=(t,e)=>{return Uw(n=t,bk(n));var n},Rl=(t,e)=>e,VT=t=>{const e=ye(t),n=Oa(t.dom,t.selection.getStart());return q(n)&&t.schema.isValidChild(n.nodeName,e)},WT=t=>{const e=t.selection.getRng(),n=k(e.startContainer),o=_r(n,e.startOffset).map(r=>Qa(r)&&!Po(r));return e.collapsed&&o.getOr(!0)},Ze=(t,e)=>(n,o)=>Oe(t,(r,s)=>r&&s(n,o),!0)?C.some(e):C.none(),Al=(t,e,n)=>{e.selection.isCollapsed()||e.execCommand("delete"),q(n)&&_l(e,t.fakeEventName).isDefaultPrevented()||(t.insert(e,n),q(n)&&Ta(e,t.fakeEventName))},Hw=(t,e)=>{const n=()=>Al(Fw,t,e),o=()=>Al(Lw,t,e),r=(s=t,a=e,MC([Ze([HT],je.none()),Ze([Pa(!0),$T],je.none()),Ze([jw("summary",!0)],je.br()),Ze([Pa(!0),Nl(!1),Rl],je.br()),Ze([Pa(!0),Nl(!1)],je.block()),Ze([Pa(!0),Nl(!0),Rl],je.block()),Ze([Pa(!0),Nl(!0)],je.br()),Ze([zw(!0),Rl],je.br()),Ze([zw(!0)],je.block()),Ze([qT],je.br()),Ze([Rl],je.br()),Ze([VT],je.block()),Ze([WT],je.block())],[s,!(!a||!a.shiftKey)]).getOr(je.none()));var s,a;switch(hk(t)){case"linebreak":r.fold(n,n,vt);break;case"block":r.fold(o,o,vt);break;case"invert":r.fold(o,n,vt);break;default:r.fold(n,o,vt)}},$w=kn(),KT=$w.os.isiOS()&&$w.browser.isSafari(),qw=(t,e)=>{var n;e.isDefaultPrevented()||(e.preventDefault(),(n=t.undoManager).typing&&(n.typing=!1,n.add()),t.undoManager.transact(()=>{Hw(t,e)}))},YT=kn(),Vw=t=>t.stopImmediatePropagation(),Ww=t=>t.keyCode===Y.PAGE_UP||t.keyCode===Y.PAGE_DOWN,Kw=(t,e,n)=>{n&&!t.get()?e.on("NodeChange",Vw,!0):!n&&t.get()&&e.off("NodeChange",Vw),t.set(n)},Yw=(t,e)=>{const n=e.container(),o=e.offset();return j(n)?(n.insertData(o,t),C.some(L(n,o+t.length))):Si(e).map(r=>{const s=Er(t);return e.isAtEnd()?Wn(r,s):De(r,s),L(s.dom,t.length)})},Gw=J(Yw,re),Xw=J(Yw," "),Qw=t=>e=>{t.selection.setRng(e.toRange()),t.nodeChanged()},GT=t=>{const e=L.fromRangeStart(t.selection.getRng()),n=k(t.getBody());if(t.selection.isCollapsed()){const o=J(er,t),r=L.fromRangeStart(t.selection.getRng());return In(o,t.getBody(),r).bind((s=>a=>a.fold(i=>Le(s.dom,L.before(i)),i=>Ce(i),i=>dn(i),i=>Ae(s.dom,L.after(i))))(n)).map(s=>()=>((a,i,l)=>d=>U0(a,d,l)?Gw(i):Xw(i))(n,e,t.schema)(s).each(Qw(t)))}return C.none()},XT=t=>{return wr(_t.browser.isFirefox()&&t.selection.isEditable()&&(e=t.dom,n=t.selection.getRng().startContainer,e.isEditable(e.getParent(n,"summary"))),()=>{const o=k(t.getBody());var r,s,a;t.selection.isCollapsed()||t.getDoc().execCommand("Delete"),(r=o,s=L.fromRangeStart(t.selection.getRng()),a=t.schema,U0(r,s,a)?Gw(s):Xw(s)).each(Qw(t))});var e,n},QT=t=>SS(t)?[{keyCode:Y.TAB,action:ct(J1,t,!0)},{keyCode:Y.TAB,shiftKey:!0,action:ct(J1,t,!1)}]:[],JT=t=>{if(t.addShortcut("Meta+P","","mcePrint"),BT(t),Mn(t))return ae(null);{const e=(t=>{const e=ae(null),n=J(er,t);return t.on("NodeChange",o=>{Ys(t)&&(((r,s,a)=>{const i=Et(ve(k(s.getRoot()),'*[data-mce-selected="inline-boundary"]'),c=>c.dom),l=gt(i,r),d=gt(a,r);U($a(l,d),J(r1,!1)),U($a(d,l),J(r1,!0))})(n,t.dom,o.parents),((r,s)=>{const a=s.get();if(r.selection.isCollapsed()&&!r.composing&&a){const i=L.fromRangeStart(r.selection.getRng());L.isTextPosition(i)&&!Ad(l=i)&&!Td(l)&&(gl(r,((t,e)=>{return L.isTextPosition(e)?(o=e,Ah(n=t)&&o.container()===n?((r,s)=>{const a=Oh(r.data.substr(0,s.offset())),i=Oh(r.data.substr(s.offset()));return(a.text+i.text).length>0?(Bh(r),L(r,s.offset()-a.count)):s})(n,o):Ph(n,o)):((n,o)=>o.container()===n.parentNode?((r,s)=>{const a=s.container(),i=((l,d)=>{const c=Ff(l,d);return-1===c?C.none():C.some(c)})(Ie(a.childNodes),r).map(l=>l{if(s.selection.isCollapsed()){const l=gt(i,r);U(l,d=>{const c=L.fromRangeStart(s.selection.getRng());In(r,s.getBody(),c).bind(u=>s1(s,a,u))})}})(n,t,e,o.parents))}),e})(t);return(n=t).on("beforeinput",o=>{n.selection.isEditable()&&!$t(o.getTargetRanges(),r=>!o0(n.dom,r))||o.preventDefault()}),(n=>{n.on("keyup compositionstart",J(QA,n))})(t),((n,o)=>{n.on("keydown",r=>{r.isDefaultPrevented()||((s,a,i)=>{const l=_t.os.isMacOS()||_t.os.isiOS();ka([{keyCode:Y.RIGHT,action:ct(T1,s,!0)},{keyCode:Y.LEFT,action:ct(T1,s,!1)},{keyCode:Y.UP,action:ct(O1,s,!1)},{keyCode:Y.DOWN,action:ct(O1,s,!0)},...l?[{keyCode:Y.UP,action:ct(hl,s,!1),metaKey:!0,shiftKey:!0},{keyCode:Y.DOWN,action:ct(hl,s,!0),metaKey:!0,shiftKey:!0}]:[],{keyCode:Y.RIGHT,action:ct(G1,s,!0)},{keyCode:Y.LEFT,action:ct(G1,s,!1)},{keyCode:Y.UP,action:ct(Om,s,!1)},{keyCode:Y.DOWN,action:ct(Om,s,!0)},{keyCode:Y.UP,action:ct(Om,s,!1)},{keyCode:Y.UP,action:ct(D1,s,!1)},{keyCode:Y.DOWN,action:ct(D1,s,!0)},{keyCode:Y.RIGHT,action:ct(F1,s,!0)},{keyCode:Y.LEFT,action:ct(F1,s,!1)},{keyCode:Y.UP,action:ct(U1,s,!1)},{keyCode:Y.DOWN,action:ct(U1,s,!0)},{keyCode:Y.RIGHT,action:ct(a1,s,a,!0)},{keyCode:Y.LEFT,action:ct(a1,s,a,!1)},{keyCode:Y.RIGHT,ctrlKey:!l,altKey:l,action:ct(zA,s,a)},{keyCode:Y.LEFT,ctrlKey:!l,altKey:l,action:ct(jA,s,a)},{keyCode:Y.UP,action:ct(P1,s,!1)},{keyCode:Y.DOWN,action:ct(P1,s,!0)}],i).each(d=>{i.preventDefault()})})(n,o,r)})})(t,e),((n,o)=>{let r=!1;n.on("keydown",s=>{r=s.keyCode===Y.BACKSPACE,s.isDefaultPrevented()||((a,i,l)=>{const d=l.keyCode===Y.BACKSPACE?"deleteContentBackward":"deleteContentForward",c=a.selection.isCollapsed(),u=c?"character":"selection",m=p=>c?p?"word":"line":"selection";I1([{keyCode:Y.BACKSPACE,action:ct(w1,a)},{keyCode:Y.BACKSPACE,action:ct(pm,a,!1)},{keyCode:Y.DELETE,action:ct(pm,a,!0)},{keyCode:Y.BACKSPACE,action:ct(mm,a,!1)},{keyCode:Y.DELETE,action:ct(mm,a,!0)},{keyCode:Y.BACKSPACE,action:ct(_m,a,i,!1)},{keyCode:Y.DELETE,action:ct(_m,a,i,!0)},{keyCode:Y.BACKSPACE,action:ct(yu,a,!1)},{keyCode:Y.DELETE,action:ct(yu,a,!0)},{keyCode:Y.BACKSPACE,action:ct(sr,a,!1,u)},{keyCode:Y.DELETE,action:ct(sr,a,!0,u)},...Tw?[{keyCode:Y.BACKSPACE,altKey:!0,action:ct(sr,a,!1,m(!0))},{keyCode:Y.DELETE,altKey:!0,action:ct(sr,a,!0,m(!0))},{keyCode:Y.BACKSPACE,metaKey:!0,action:ct(sr,a,!1,m(!1))}]:[{keyCode:Y.BACKSPACE,ctrlKey:!0,action:ct(sr,a,!1,m(!0))},{keyCode:Y.DELETE,ctrlKey:!0,action:ct(sr,a,!0,m(!0))}],{keyCode:Y.BACKSPACE,action:ct(hm,a,!1)},{keyCode:Y.DELETE,action:ct(hm,a,!0)},{keyCode:Y.BACKSPACE,action:ct(Nm,a,!1)},{keyCode:Y.DELETE,action:ct(Nm,a,!0)},{keyCode:Y.BACKSPACE,action:ct(cm,a,!1)},{keyCode:Y.DELETE,action:ct(cm,a,!0)},{keyCode:Y.BACKSPACE,action:ct(dm,a,!1)},{keyCode:Y.DELETE,action:ct(dm,a,!0)},{keyCode:Y.BACKSPACE,action:ct(km,a,!1)},{keyCode:Y.DELETE,action:ct(km,a,!0)}],l).filter(p=>a.selection.isEditable()).each(p=>{l.preventDefault(),_l(a,d).isDefaultPrevented()||(p(),Ta(a,d))})})(n,o,s)}),n.on("keyup",s=>{var a,i,l;s.isDefaultPrevented()||(i=s,l=r,ka([{keyCode:Y.BACKSPACE,action:ct(TC,a=n)},{keyCode:Y.DELETE,action:ct(TC,a)},...Tw?[{keyCode:Y.BACKSPACE,altKey:!0,action:ct(_a,a)},{keyCode:Y.DELETE,altKey:!0,action:ct(_a,a)},...l?[{keyCode:LT?224:91,action:ct(_a,a)}]:[]]:[{keyCode:Y.BACKSPACE,ctrlKey:!0,action:ct(_a,a)},{keyCode:Y.DELETE,ctrlKey:!0,action:ct(_a,a)}]],i)),r=!1})})(t,e),(n=>{let o=C.none();n.on("keydown",r=>{var s;r.keyCode===Y.ENTER&&(KT&&(s=>{if(!s.collapsed)return!1;const a=s.startContainer;if(j(a)){const i=/^[\uAC00-\uD7AF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uD7B0-\uD7FF]$/,l=a.data.charAt(s.startOffset-1);return i.test(l)}return!1})(n.selection.getRng())?(o=C.some((s=n).selection.getBookmark()),s.undoManager.add()):qw(n,r))}),n.on("keyup",r=>{r.keyCode===Y.ENTER&&o.each(()=>{return a=r,(s=n).undoManager.undo(),o.fold(vt,i=>s.selection.moveToBookmark(i)),qw(s,a),void(o=C.none());var s,a})})})(t),(n=>{n.on("keydown",o=>{var r,s;o.isDefaultPrevented()||(s=o,I1([{keyCode:Y.SPACEBAR,action:ct(GT,r=n)},{keyCode:Y.SPACEBAR,action:ct(XT,r)}],s).each(a=>{s.preventDefault(),_l(r,"insertText",{data:" "}).isDefaultPrevented()||(a(),Ta(r,"insertText",{data:" "}))}))})})(t),(n=>{n.on("input",o=>{o.isComposing||(r=>{const s=k(r.getBody());r.selection.isCollapsed()&&((t,e,n)=>{const o=e.container();if(!j(o))return C.none();if((r=>{const s=r.container();return j(s)&&he(s.data,re)})(e)){const r=H0(t,o,!1,n)||(s=>{const a=s.data,i=(l=>{const d=l.split("");return Et(d,(c,u)=>Ti(c)&&u>0&&u{r.selection.setRng(a.toRange())})})(n)})})(t),(n=>{n.on("keydown",o=>{var s;o.isDefaultPrevented()||(s=o,ka([...QT(n)],s).each(a=>{s.preventDefault()}))})})(t),((n,o)=>{n.on("keydown",r=>{r.isDefaultPrevented()||((s,a,i)=>{const l=_t.os.isMacOS()||_t.os.isiOS();ka([{keyCode:Y.END,action:ct(B1,s,!0)},{keyCode:Y.HOME,action:ct(B1,s,!1)},...l?[]:[{keyCode:Y.HOME,action:ct(hl,s,!1),ctrlKey:!0,shiftKey:!0},{keyCode:Y.END,action:ct(hl,s,!0),ctrlKey:!0,shiftKey:!0}],{keyCode:Y.END,action:ct(z1,s,!0)},{keyCode:Y.HOME,action:ct(z1,s,!1)},{keyCode:Y.END,action:ct(pl,s,!0,a)},{keyCode:Y.HOME,action:ct(pl,s,!1,a)}],i).each(d=>{i.preventDefault()})})(n,o,r)})})(t,e),((n,o)=>{if(YT.os.isMacOS())return;const r=ae(!1);n.on("keydown",s=>{Ww(s)&&Kw(r,n,!0)}),n.on("keyup",s=>{var a,i,l;s.isDefaultPrevented()||(l=s,ka([{keyCode:Y.PAGE_UP,action:ct(pl,a=n,!1,i=o)},{keyCode:Y.PAGE_DOWN,action:ct(pl,a,!0,i)}],l)),Ww(s)&&r.get()&&(Kw(r,n,!1),n.nodeChanged())})})(t,e),e}var n};class ZT{constructor(e){let n;this.lastPath=[],this.editor=e;const o=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",r=>{const s=e.selection.getRng(),a={startContainer:s.startContainer,startOffset:s.startOffset,endContainer:s.endContainer,endOffset:s.endOffset};"nodechange"!==r.type&&zc(a,n)||e.dispatch("SelectionChange"),n=a}),e.on("contextmenu",()=>{e.dispatch("SelectionChange")}),e.on("SelectionChange",()=>{const r=e.selection.getStart(!0);r&&Oi(e)&&!o.isSameElementPath(r)&&e.dom.isChildOf(r,e.getBody())&&e.nodeChanged({selectionChange:!0})}),e.on("mouseup",r=>{!r.isDefaultPrevented()&&Oi(e)&&("IMG"===e.selection.getNode().nodeName?Ye.setEditorTimeout(e,()=>{e.nodeChanged()}):e.nodeChanged())})}nodeChanged(e={}){const n=this.editor.selection;let o;if(this.editor.initialized&&n&&!Gk(this.editor)&&!this.editor.mode.isReadOnly()){const r=this.editor.getBody();o=n.getStart(!0)||r,o.ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(o,r)||(o=r);const s=[];this.editor.dom.getParent(o,a=>a===r||(s.push(a),!1)),this.editor.dispatch("NodeChange",{...e,element:o,parents:s})}}isSameElementPath(e){let n;const o=this.editor,r=ms(o.dom.getParents(e,Kt,o.getBody()));if(r.length===this.lastPath.length){for(n=r.length;n>=0&&r[n]===this.lastPath[n];n--);if(-1===n)return this.lastPath=r,!0}return this.lastPath=r,!1}}const Jw=Hs("image"),Zm=Hs("event"),Tl=t=>e=>{e[Zm]=t},Zw=Tl(0),tO=Tl(2),eO=Tl(1),tf=Hs("mode"),Ol=t=>e=>{e[tf]=t},tx=(t,e)=>Ol(e)(t),ex=Ol(0),ef=Ol(2),oO=Ol(1),nx=t=>e=>C.from(e[tf]).exists(o=>o===t),ts=nx(0),ox=nx(1),rO=["none","copy","link","move"],sO=["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"],nf=()=>{const t=new window.DataTransfer;let e="move",n="all";const o={get dropEffect(){return e},set dropEffect(r){Rt(rO,r)&&(e=r)},get effectAllowed(){return n},set effectAllowed(r){(t=>C.from(t[Zm]).exists(n=>0===n))(o)&&Rt(sO,r)&&(n=r)},get items(){return r=o,s=t.items,{...s,get length(){return s.length},add:(a,i)=>{if(ts(r)){if(!at(a))return s.add(a);if(!fe(i))return s.add(a,i)}return null},remove:a=>{ts(r)&&s.remove(a)},clear:()=>{ts(r)&&s.clear()}};var r,s},get files(){return ox(o)?Object.freeze({length:0,item:r=>null}):t.files},get types(){return t.types},setDragImage:(r,s,a)=>{ts(o)&&(o[Jw]={image:r,x:s,y:a},t.setDragImage(r,s,a))},getData:r=>ox(o)?"":t.getData(r),setData:(r,s)=>{ts(o)&&t.setData(r,s)},clearData:r=>{ts(o)&&t.clearData(r)}};return ex(o),o},rx=(t,e)=>t.setData("text/html",e),sx="x-tinymce/html",Bl=W(sx),of="\x3c!-- "+sx+" --\x3e",aO=t=>of+t,ax=t=>-1!==t.indexOf(of),ix="%MCEPASTEBIN%",rf=t=>t.dom.get("mcepastebin"),iO=t=>q(t)&&"mcepastebin"===t.id,lx=t=>t===ix,dx=(t,e)=>(H.each(e,n=>{t=Ha(n,RegExp)?t.replace(n,""):t.replace(n[0],n[1])}),t),cx=t=>dx(t,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/|/g,[/( ?)\u00a0<\/span>( ?)/g,(e,n,o)=>n||o?re:" "],/
    /g,/
    $/i]),ux=(t,e)=>({content:t,cancelled:e}),sf=(t,e)=>(t.insertContent(e,{merge:gS(t),paste:!0}),!0),af=t=>/^https?:\/\/[\w\-\/+=.,!;:&%@^~(){}?#]+$/i.test(t),lO=(t,e,n)=>{return!(t.selection.isCollapsed()||!af(e)||(o=t,r=e,s=n,o.undoManager.extra(()=>{s(o,r)},()=>{o.execCommand("mceInsertLink",!1,r)}),0));var o,r,s},dO=(t,e,n)=>{return o=t,!(!af(r=e)||!$t(Rh(o),s=>id(r.toLowerCase(),`.${s.toLowerCase()}`)))&&((o,r,s)=>(o.undoManager.extra(()=>{s(o,r)},()=>{o.insertContent('')}),!0))(t,e,n);var o,r},cO=(t=>{let e=0;return()=>"mceclip"+e++})(),uO=t=>{const e=nf();return rx(e,t),ef(e),e},mx=(t,e,n,o,r)=>{const s=((d,c,u)=>{const m=d.dispatch("PastePreProcess",{content:c,internal:u}),p=((f,h)=>{const g=Wr({sanitize:mc(f),sandbox_iframes:fc(f)},f.schema);g.addNodeFilter("meta",v=>{H.each(v,y=>{y.remove()})});const b=g.parse(h,{forced_root_block:!1,isRootContent:!0});return bo({validate:!0},f.schema).serialize(b)})(d,m.content);return d.hasEventListeners("PastePostProcess")&&!m.isDefaultPrevented()?((f,h,g)=>{const b=f.dom.create("div",{style:"display:none"},h),v=f.dispatch("PastePostProcess",{node:b,internal:g});return ux(v.node.innerHTML,v.isDefaultPrevented())})(d,p,u):ux(p,m.isDefaultPrevented())})(t,e,n);if(!s.cancelled){const a=s.content,i=()=>{return l=t,d=a,void(o||!pS(l)?sf(l,d):(u=l,m=d,H.each([lO,dO,sf],p=>!p(u,m,sf))));var l,d,u,m};r?_l(t,"insertFromPaste",{dataTransfer:uO(a)}).isDefaultPrevented()||(i(),Ta(t,"insertFromPaste")):i()}},Pl=(t,e,n,o)=>{const r=n||ax(e);mx(t,e.replace(of,""),r,!1,o)},lf=(t,e,n)=>{const o=t.dom.encode(e).replace(/\r\n/g,"\n"),r=((s,a,i)=>{const l=s.split(/\n\n/),d=((m,p)=>{let f="<"+m;const h=Wa(p,(g,b)=>b+'="'+co.encodeAllRaw(g)+'"');return h.length&&(f+=" "+h.join(" ")),f+">"})(a,i),c="",u=Et(l,m=>m.split(/\n/).join("
    "));return 1===u.length?u[0]:Et(u,m=>d+m+c).join("")})(op(o,bS(t)),ye(t),Ks(t));mx(t,r,!1,!0,n)},fx=t=>{const e={};if(t&&t.types)for(let n=0;ne in t&&t[e].length>0,gx=t=>xo(t,"text/html")||xo(t,"text/plain"),px=(t,e,n)=>{const o="paste"===e.type?e.clipboardData:e.dataTransfer;var r;if(_i(t)&&o){const s=((a,i)=>{const l=i.items?rn(Ie(i.items),c=>"file"===c.kind?[c.getAsFile()]:[]):[],d=i.files?Ie(i.files):[];return gt(l.length>0?l:d,(c=>{const u=Rh(c);return m=>le(m.type,"image/")&&$t(u,p=>(f=>{const h=f.toLowerCase(),g={jpg:"jpeg",jpe:"jpeg",jfi:"jpeg",jif:"jpeg",jfif:"jpeg",pjpeg:"jpeg",pjp:"jpeg",svg:"svg+xml"};return H.hasOwn(g,h)?"image/"+g[h]:"image/"+h})(p)===m.type)})(a))})(t,o);if(s.length>0)return e.preventDefault(),(r=s,Promise.all(Et(r,a=>ly(a).then(i=>({file:a,uri:i}))))).then(a=>{n&&t.selection.setRng(n),U(a,i=>{var l,d;l=t,ju((d=i).uri).each(({data:c,type:u,base64Encoded:m})=>{const p=m?c:btoa(c),f=d.file,h=l.editorUpload.blobCache,b=h.getByData(p,u)??((v,y,x,w)=>{const E=cO(),N=bh(v)&&q(x.name),T=N?((_,R)=>{const B=R.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return q(B)?_.dom.encode(B[1]):void 0})(v,x.name):E,P=y.create(E,x,w,T,N?x.name:void 0);return y.add(P),P})(l,h,f,p);Pl(l,``,!1,!0)})})}),!0}return!1},df=(t,e,n,o,r)=>{let s=cx(n);const a=xo(e,Bl())||ax(n),i=!a&&!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(s),l=af(s);(lx(s)||!s.length||i&&!l)&&(o=!0),(o||l)&&(s=xo(e,"text/plain")&&i?e["text/plain"]:(d=>{const c=uo(),u=Wr({},c);let m="";const p=c.getVoidElements(),f=H.makeMap("script noscript style textarea video audio iframe object"," "),h=c.getBlockElements(),g=b=>{const v=b.name,y=b;if("br"!==v){if("wbr"!==v)if(p[v]&&(m+=" "),f[v])m+=" ";else{if(3===b.type&&(m+=b.value),!(b.name in c.getVoidElements())){let x=b.firstChild;if(x)do{g(x)}while(x=x.next)}h[v]&&y.next&&(m+="\n","p"===v&&(m+="\n"))}}else m+="\n"};return d=dx(d,[//g]),g(u.parse(d)),m})(s)),lx(s)||(o?lf(t,s,r):Pl(t,s,a,r))},hx=(t,e,n,o)=>{((r,s,a)=>{if(!r)return!1;try{return r.clearData(),r.setData("text/html",s),r.setData("text/plain",a),r.setData(Bl(),s),!0}catch{return!1}})(t.clipboardData,e.html,e.text)?(t.preventDefault(),o()):n(e.html,o)},bx=t=>(e,n)=>{const{dom:o,selection:r}=t,s=o.create("div",{contenteditable:"false","data-mce-bogus":"all"}),a=o.create("div",{contenteditable:"true"},e);o.setStyles(s,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),s.appendChild(a),o.add(t.getBody(),s);const i=r.getRng();a.focus();const l=o.createRng();l.selectNodeContents(a),r.setRng(l),Ye.setEditorTimeout(t,()=>{r.setRng(i),o.remove(s),n()},0)},vx=t=>({html:aO(t.selection.getContent({contextual:!0})),text:t.selection.getContent({format:"text"})}),yx=t=>{return!t.selection.isCollapsed()||!!(e=t).dom.getParent(e.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",e.getBody());var e},Cx=(t,e)=>{var n,o;return Jo.getCaretRangeFromPoint(null!==(n=e.clientX)&&void 0!==n?n:0,null!==(o=e.clientY)&&void 0!==o?o:0,t.getDoc())},wx=(t,e)=>{t.focus(),e&&t.selection.setRng(e)},fO=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,xx=t=>H.trim(t).replace(fO,Ds).toLowerCase(),gO=(t,e,n)=>{const o=mS(t);if(n||"all"===o||!fS(t))return e;const r=o?o.split(/[, ]/):[];if(r&&"none"!==o){const s=t.dom,a=t.selection.getNode();e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,(i,l,d,c)=>{const u=s.parseStyle(s.decode(d)),m={};for(let f=0;f]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return e.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,(s,a,i,l)=>a+' style="'+i+'"'+l)},hO=Ht,Ex=j,bO=t=>Lt(t.dom),_x=t=>e=>kt(k(t),e),kx=(t,e)=>Oo(k(t),bO,_x(e)),Sx=(t,e,n)=>{const o=new te(t,e),r=n?o.next.bind(o):o.prev.bind(o);let s=t;for(let a=n?t:r();a&&!hO(a);a=r())ln(a)&&(s=a);return s};var es;!function(t){t.Before="before",t.After="after"}(es||(es={}));const yO=(t,e)=>Math.abs(t.left-e),CO=(t,e)=>Math.abs(t.right-e),xO=(t,e,n)=>e>t.left&&e{const r=c=>ln(c.node)?C.some(c):Z(c.node)?cf(Ie(c.node.childNodes),e,n,!1):C.none(),s=(c,u)=>{const m=ko(c,(p,f)=>u(p,e,n)-u(f,e,n));return br(m,r).map(p=>{return o&&!j(p.node)&&m.length>1?(f=p,h=m[1],g=u,r(h).filter(b=>Math.abs(g(f,e,n)-g(b,e,n))<2&&j(b.node))).getOr(p):p;var f,h,g})},[a,i]=((t,e)=>{return(n=gt(t,n=>{return(o=e)>=(r=n).top&&o<=r.bottom;var o,r}),Oe(n,(o,r)=>o.fold(()=>C.some(r),s=>{const a=Math.min(r.left,s.left),i=Math.min(r.top,s.top),l=Math.max(r.right,s.right),d=Math.max(r.bottom,s.bottom);return C.some({top:i,right:l,bottom:d,left:a,width:l-a,height:d-i})}),C.none())).fold(()=>[[],t],n=>{const{pass:o,fail:r}=hr(t,s=>((a,i)=>{const l=(d=a,c=i,Math.max(0,Math.min(d.bottom,c.bottom)-Math.max(d.top,c.top))/Math.min(a.height,i.height));var d,c;return((d,c)=>d.topc.top)(a,i)&&l>.5})(s,n));return[o,r]});var n})(QC(t),n),{pass:l,fail:d}=hr(i,c=>c.tops(d,zp)).orThunk(()=>s(l,zp))},Nx=(t,e,n)=>((o,r,s)=>{const a=k(o),l=((t,e,n)=>C.from(t.dom.elementFromPoint(e,n)).map(Cs))(qn(a),r,s).filter(d=>$n(a,d)).getOr(a);return((d,c,u,m)=>{const p=(f,h)=>{const g=gt(f.dom.childNodes,ls(b=>Z(b)&&b.classList.contains("mce-drag-container")));return h.fold(()=>cf(g,u,m,!0),b=>{const v=gt(g,y=>y!==b.dom);return cf(v,u,m,!0)}).orThunk(()=>(kt(f,d)?C.none():Za(f)).bind(b=>p(b,C.some(f))))};return p(c,C.none())})(a,l,r,s)})(t,e,n).filter(o=>Xs(o.node)).map(o=>{return{node:(r=o).node,position:yO(r,s=e){var e,n;const o=t.getBoundingClientRect(),r=t.ownerDocument,s=r.documentElement,a=r.defaultView;return{top:o.top+(null!==(e=a?.scrollY)&&void 0!==e?e:0)-s.clientTop,left:o.left+(null!==(n=a?.scrollX)&&void 0!==n?n:0)-s.clientLeft}},Ax=t=>({target:t,srcElement:t}),Tx=Lt,_O=((...t)=>e=>{for(let n=0;n{const r=t.dom,s=e.cloneNode(!0);r.setStyles(s,{width:n,height:o}),r.setAttrib(s,"data-mce-selected",null);const a=r.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return r.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:o}),r.setStyles(s,{margin:0,boxSizing:"border-box"}),a.appendChild(s),a},Dl=(t,e)=>n=>()=>{n.scroll({[t]:("left"===t?n.scrollX:n.scrollY)+e,behavior:"smooth"})},Ox=Dl("left",-32),Bx=Dl("left",32),Px=Dl("top",-32),Dx=Dl("top",32),Lx=t=>{t&&t.parentNode&&t.parentNode.removeChild(t)},Da=(t,e,n,o,r)=>{"dragstart"===e&&rx(o,t.dom.getOuterHTML(n));const s=((t,e,n,o)=>{const r=((s,a)=>{const i=(l=>{const d=nf(),c=C.from(l[tf]);return ef(l),Zw(d),d.dropEffect=l.dropEffect,d.effectAllowed=l.effectAllowed,(u=l,C.from(u[Jw])).each(u=>d.setDragImage(u.image,u.x,u.y)),U(l.types,u=>{"Files"!==u&&d.setData(u,l.getData(u))}),U(l.files,u=>d.items.add(u)),(u=>C.from(u[Zm]))(l).each(u=>{var m;m=d,Tl(u)(m)}),c.each(u=>{tx(l,u),tx(d,u)}),d;var u})(s);return"dragstart"===a?(Zw(i),ex(i)):"drop"===a?(tO(i),ef(i)):(eO(i),oO(i)),i})(n,t);return fe(o)?((s,a,i)=>{const l=If("Function not supported on simulated event.");return{bubbles:!0,cancelBubble:!1,cancelable:!0,composed:!1,currentTarget:null,defaultPrevented:!1,eventPhase:0,isTrusted:!0,returnValue:!1,timeStamp:0,type:s,composedPath:l,initEvent:l,preventDefault:vt,stopImmediatePropagation:vt,stopPropagation:vt,AT_TARGET:window.Event.AT_TARGET,BUBBLING_PHASE:window.Event.BUBBLING_PHASE,CAPTURING_PHASE:window.Event.CAPTURING_PHASE,NONE:window.Event.NONE,altKey:!1,button:0,buttons:0,clientX:0,clientY:0,ctrlKey:!1,metaKey:!1,movementX:0,movementY:0,offsetX:0,offsetY:0,pageX:0,pageY:0,relatedTarget:null,screenX:0,screenY:0,shiftKey:!1,x:0,y:0,detail:0,view:null,which:0,initUIEvent:l,initMouseEvent:l,getModifierState:l,dataTransfer:i,...Ax(a)}})(t,e,r):(s=t,a=o,i=e,l=r,{...a,dataTransfer:l,type:s,...Ax(i)});var s,a,i,l})(e,n,o,r);return t.dispatch(e,s)},Mx=(t,e,n)=>{t.on(o=>{o.intervalId.clear(),o.dragging&&n.fold(()=>Da(e,"dragend",o.element,o.dataTransfer),r=>Da(e,"dragend",o.element,o.dataTransfer,r))}),Ix(t)},Ix=t=>{t.on(e=>{e.intervalId.clear(),Lx(e.ghost)}),t.clear()},La=Lt,Fx=(t,e)=>nr(t.getBody(),e),RO=t=>{const e=t.selection,n=t.dom,o=t.getBody(),r=((t,e,n,o)=>{const r=mo();let s,a;const i=ye(t),l=t.dom,d=()=>{(c=>{var u,m;const p=ve(k(c),"*[contentEditable=false],video,audio,embed,object");for(let f=0;f{l.remove(c.caret),r.clear()}),s&&(clearInterval(s),s=void 0)};return{show:(c,u)=>{let m;if(d(),DS(u))return null;if(!n(u))return a=((p,f)=>{var h;const g=(null!==(h=p.ownerDocument)&&void 0!==h?h:document).createTextNode(se),b=p.parentNode;if(f){const v=p.previousSibling;if(Ar(v)){if($e(v))return v;if(ui(v))return v.splitText(v.data.length-1)}b?.insertBefore(g,p)}else{const v=p.nextSibling;if(Ar(v)){if($e(v))return v;if(ci(v))return v.splitText(1),v}p.nextSibling?b?.insertBefore(g,p.nextSibling):b?.appendChild(g)}return g})(u,c),m=u.ownerDocument.createRange(),Gs(a.nextSibling)?(m.setStart(a,0),m.setEnd(a,0)):(m.setStart(a,1),m.setEnd(a,1)),m;{const p=((g,b,v)=>{var y;const x=(null!==(y=b.ownerDocument)&&void 0!==y?y:document).createElement(g);x.setAttribute("data-mce-caret",v?"before":"after"),x.setAttribute("data-mce-bogus","all"),x.appendChild(Bs().dom);const w=b.parentNode;return v?w?.insertBefore(x,b):b.nextSibling?w?.insertBefore(x,b.nextSibling):w?.appendChild(x),x})(i,u,c),f=Dh(e,u,c);l.setStyle(p,"top",f.top),a=p;const h=l.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});l.setStyles(h,{...f}),l.add(e,h),r.set({caret:h,element:u,before:c}),c&&l.addClass(h,"mce-visual-caret-before"),s=setInterval(()=>{r.on(g=>{o()?l.toggleClass(g.caret,"mce-visual-caret-hidden"):l.addClass(g.caret,"mce-visual-caret-hidden")})},500),m=u.ownerDocument.createRange(),m.setStart(p,0),m.setEnd(p,0)}return m},hide:d,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{r.on(c=>{const u=Dh(e,c.element,c.before);l.setStyles(c.caret,{...u})})},destroy:()=>clearInterval(s)}})(t,o,n.isBlock,()=>Zo(t)),s="sel-"+n.uniqueId(),a="data-mce-selected";let i;const l=g=>g!==o&&(La(g)||An(g))&&n.isChildOf(g,o)&&n.isEditable(g.parentNode),d=(g,b,v,y=!0)=>t.dispatch("ShowCaret",{target:b,direction:g,before:v}).isDefaultPrevented()?null:(y&&e.scrollIntoView(b,-1===g),r.show(v,b)),c=g=>$e(g)||ci(g)||ui(g),u=g=>c(g.startContainer)||c(g.endContainer),p=(g,b)=>{if(!g)return null;if(g.collapsed){if(!u(g)){const w=b?1:-1,E=ta(w,o,g),N=E.getNode(!b);if(q(N)){if(Xs(N))return d(w,N,!!b&&!E.isAtEnd(),!1);if(io(N)&&Lt(N.nextSibling)){const O=n.createRng();return O.setStart(N,0),O.setEnd(N,0),O}}const T=E.getNode(b);if(q(T)){if(Xs(T))return d(w,T,!b&&!E.isAtEnd(),!1);if(io(T)&&Lt(T.previousSibling)){const O=n.createRng();return O.setStart(T,1),O.setEnd(T,1),O}}}return null}let v=g.startContainer,y=g.startOffset;const x=g.endOffset;if(j(v)&&0===y&&La(v.parentNode)&&(v=v.parentNode,y=n.nodeIndex(v),v=v.parentNode),!Z(v))return null;if(x===y+1&&v===g.endContainer){const w=v.childNodes[y];if(l(w))return(E=>{const N=E.cloneNode(!0),T=t.dispatch("ObjectSelected",{target:E,targetClone:N});if(T.isDefaultPrevented())return null;const O=((_,R)=>{const B=k(t.getBody()),M=t.getDoc(),V=ks(B,"#"+s).getOrThunk(()=>{const et=ws('
    ',M);return de(et,"id",s),Yt(B,et),et}),$=n.createRng();Sr(V),Do(V,[Er(re,M),k(R),Er(re,M)]),$.setStart(V.dom.firstChild,1),$.setEnd(V.dom.lastChild,0),ti(V,{top:n.getPos(_,t.getBody()).y+"px"}),Gb(V);const ot=e.getSel();return ot&&(ot.removeAllRanges(),ot.addRange($)),$})(E,T.targetClone),P=k(E);return U(ve(k(t.getBody()),`*[${a}]`),_=>{kt(P,_)||ce(_,a)}),n.getAttrib(E,a)||E.setAttribute(a,"1"),i=E,h(),O})(w)}return null},f=()=>{i&&i.removeAttribute(a),ks(k(t.getBody()),"#"+s).each(Dt),i=null},h=()=>{r.hide()};return Mn(t)||(t.on("click",g=>{n.isEditable(g.target)||(g.preventDefault(),t.focus())}),t.on("blur NewBlock",f),t.on("ResizeWindow FullscreenStateChanged",r.reposition),t.on("tap",g=>{const b=g.target,v=Fx(t,b);La(v)?(g.preventDefault(),Ca(t,v).each(p)):l(b)&&Ca(t,b).each(p)},!0),t.on("mousedown",g=>{const b=g.target;if(b!==o&&"HTML"!==b.nodeName&&!n.isChildOf(b,o)||!((y,x,w)=>{const E=k(y.getBody()),N=y.inline?E:k(qn(E).dom.documentElement),T=((O,P,_,R)=>{const B=P.dom.getBoundingClientRect();return{x:_-(O?B.left+P.dom.clientLeft+oA(P):0),y:R-(O?B.top+P.dom.clientTop+nA(P):0)}})(y.inline,N,x,w);return((O,P,_)=>{const R=tA(O),B=eA(O);return P>=0&&_>=0&&P<=R&&_<=B})(N,T.x,T.y)})(t,g.clientX,g.clientY))return;f(),h();const v=Fx(t,b);La(v)?(g.preventDefault(),Ca(t,v).each(p)):Nx(o,g.clientX,g.clientY).each(y=>{var x;g.preventDefault(),(x=d(1,y.node,y.position===es.Before,!1))&&e.setRng(x),Yn(v)?v.focus():t.getBody().focus()})}),t.on("keypress",g=>{Y.modifierPressed(g)||La(e.getNode())&&g.preventDefault()}),t.on("GetSelectionRange",g=>{let b=g.range;if(i){if(!i.parentNode)return void(i=null);b=b.cloneRange(),b.selectNode(i),g.range=b}}),t.on("SetSelectionRange",g=>{g.range=(g=>{const b=t.schema.getVoidElements(),v=n.createRng(),y=g.startContainer,x=g.startOffset,w=g.endContainer,E=g.endOffset;return ht(b,y.nodeName.toLowerCase())?0===x?v.setStartBefore(y):v.setStartAfter(y):v.setStart(y,x),ht(b,w.nodeName.toLowerCase())?0===E?v.setEndBefore(w):v.setEndAfter(w):v.setEnd(w,E),v})(g.range);const b=p(g.range,g.forward);b&&(g.range=b)}),t.on("AfterSetSelectionRange",g=>{const b=g.range,v=b.startContainer.parentElement;var y,x;u(b)||Z(y=v)&&"mcepastebin"===y.id||h(),q(x=v)&&n.hasClass(x,"mce-offscreen-selection")||f()}),(t=>{const e=mo(),n=Ot.DOM,o=document,r=((l,d)=>c=>{if(0===c.button){const u=Zt(d.dom.getParents(c.target),_O).getOr(null);if(q(u)&&(m=d.dom,p=d.getBody(),Tx(f=u)&&f!==p&&m.isEditable(f.parentElement))){const m=d.dom.getPos(u),p=d.getBody(),f=d.getDoc().documentElement;l.set({element:u,dataTransfer:nf(),dragging:!1,screenX:c.screenX,screenY:c.screenY,maxX:(d.inline?p.scrollWidth:f.offsetWidth)-2,maxY:(d.inline?p.scrollHeight:f.offsetHeight)-2,relX:c.pageX-m.x,relY:c.pageY-m.y,width:u.offsetWidth,height:u.offsetHeight,ghost:kO(d,u,u.offsetWidth,u.offsetHeight),intervalId:ek(100)})}}var m,p,f})(e,t),s=((t,e)=>{const n=vi((r,s)=>{return i=r,l=s,(a=e)._selectionOverrides.hideFakeCaret(),void Nx(a.getBody(),i,l).fold(()=>a.selection.placeCaretAt(i,l),d=>{const c=a._selectionOverrides.showCaret(1,d.node,d.position===es.Before,!1);c?a.selection.setRng(c):a.selection.placeCaretAt(i,l)});var a,i,l},0);e.on("remove",n.cancel);const o=t;return r=>t.on(s=>{const a=Math.max(Math.abs(r.screenX-s.screenX),Math.abs(r.screenY-s.screenY));if(!s.dragging&&a>10){const d=Da(e,"dragstart",s.element,s.dataTransfer,r);if(q(d.dataTransfer)&&(s.dataTransfer=d.dataTransfer),d.isDefaultPrevented())return;s.dragging=!0,e.focus()}if(s.dragging){const d=r.currentTarget===e.getDoc().documentElement,c=((u,m)=>({pageX:m.pageX-u.relX,pageY:m.pageY+5}))(s,(m=r,p=(g=u=e).inline?Rx(g.getBody()):{left:0,top:0},f=(g=>{const b=g.getBody();return g.inline?{left:b.scrollLeft,top:b.scrollTop}:{left:0,top:0}})(u),h=((g,b)=>{if(b.target.ownerDocument!==g.getDoc()){const v=Rx(g.getContentAreaContainer()),y=(x=>{const w=x.getBody(),E=x.getDoc().documentElement;return x.inline?{left:w.scrollLeft,top:w.scrollTop}:{left:w.scrollLeft||E.scrollLeft,top:w.scrollTop||E.scrollTop}})(g);return{left:b.pageX-v.left+y.left,top:b.pageY-v.top+y.top}}return{left:b.pageX,top:b.pageY}})(u,m),{pageX:h.left-p.left+f.left,pageY:h.top-p.top+f.top}));i=s.ghost,l=e.getBody(),i.parentNode!==l&&l.appendChild(i),((u,m,p,f,h,g,b,v,y,x,w,E)=>{let N=0,T=0;u.style.left=m.pageX+"px",u.style.top=m.pageY+"px",m.pageX+p>h&&(N=m.pageX+p-h),m.pageY+f>g&&(T=m.pageY+f-g),u.style.width=p-N+"px",u.style.height=f-T+"px";const O=y.clientHeight,P=y.clientWidth,_=b+y.getBoundingClientRect().top,R=v+y.getBoundingClientRect().left;w.on(B=>{B.intervalId.clear(),B.dragging&&E&&(b+8>=O?B.intervalId.set(Dx(x)):b-8<=0?B.intervalId.set(Px(x)):v+8>=P?B.intervalId.set(Bx(x)):v-8<=0?B.intervalId.set(Ox(x)):_+16>=window.innerHeight?B.intervalId.set(Dx(window)):_-16<=0?B.intervalId.set(Px(window)):R+16>=window.innerWidth?B.intervalId.set(Bx(window)):R-16<=0&&B.intervalId.set(Ox(window)))})})(s.ghost,c,s.width,s.height,s.maxX,s.maxY,r.clientY,r.clientX,e.getContentAreaContainer(),e.getWin(),o,d),n.throttle(r.clientX,r.clientY)}var u,m,g,p,f,h,i,l})})(e,t),a=((l,d)=>c=>{l.on(u=>{var m,p,f,h;if(u.intervalId.clear(),u.dragging){if(p=d,f=(p=>{const f=p.getSel();if(q(f)){const h=f.getRangeAt(0).startContainer;return j(h)?h.parentNode:h}return null})(d.selection),h=u.element,!Gt(f)&&f!==h&&!p.dom.isChildOf(f,h)&&p.dom.isEditable(f)){const p=null!==(m=d.getDoc().elementFromPoint(c.clientX,c.clientY))&&void 0!==m?m:d.getBody();Da(d,"drop",p,u.dataTransfer,c).isDefaultPrevented()||d.undoManager.transact(()=>{((f,h)=>{const g=f.getParent(h.parentNode,f.isBlock);Lx(h),g&&g!==f.getRoot()&&f.isEmpty(g)&&ao(k(g))})(d.dom,u.element),(f=>{const h=f.getData("text/html");return""===h?C.none():C.some(h)})(u.dataTransfer).each(f=>d.insertContent(f)),d._selectionOverrides.hideFakeCaret()})}Da(d,"dragend",d.getBody(),u.dataTransfer,c)}}),Ix(l)})(e,t),i=((l,d)=>c=>Mx(l,d,C.some(c)))(e,t);t.on("mousedown",r),t.on("mousemove",s),t.on("mouseup",a),n.bind(o,"mousemove",s),n.bind(o,"mouseup",i),t.on("remove",()=>{n.unbind(o,"mousemove",s),n.unbind(o,"mouseup",i)}),t.on("keydown",l=>{l.keyCode===Y.ESC&&Mx(e,t,C.none())})})(g=t),Jk(g)&&(b=>{const v=w=>{if(!w.isDefaultPrevented()){const E=w.dataTransfer;E&&(Rt(E.types,"Files")||E.files.length>0)&&(w.preventDefault(),"drop"===w.type&&il(b,"Dropped file type is not supported"))}},y=w=>{ji(b,w.target)&&v(w)},x=()=>{const w=Ot.DOM,E=b.dom,N=document,T=b.inline?b.getBody():b.getDoc(),O=["drop","dragover"];U(O,P=>{w.bind(N,P,y),E.bind(T,P,v)}),b.on("remove",()=>{U(O,P=>{w.unbind(N,P,y),E.unbind(T,P,v)})})};b.on("init",()=>{Ye.setEditorTimeout(b,x,0)})})(g),(g=>{const b=vi(()=>{if(!g.removed&&g.getBody().contains(document.activeElement)){const v=g.selection.getRng();if(v.collapsed){const y=um(g,v,!1);g.selection.setRng(y)}}},0);g.on("focus",()=>{b.throttle()}),g.on("blur",()=>{b.cancel()})})(t),(g=>{g.on("init",()=>{g.on("focusin",b=>{const v=b.target;if(An(v)){const y=nr(g.getBody(),v),x=Lt(y)?y:v;g.selection.getNode()!==x&&Ca(g,x).each(w=>g.selection.setRng(w))}})})})(t)),{showCaret:d,showBlockCaretContainer:g=>{g.hasAttribute("data-mce-caret")&&(Od(g),e.scrollIntoView(g))},hideFakeCaret:h,destroy:()=>{r.destroy(),i=null}};var g},AO=(t,e)=>{let n=e;for(let o=t.previousSibling;j(o);o=o.previousSibling)n+=o.data.length;return n},Ux=(t,e,n,o,r)=>{if(j(n)&&(o<0||o>n.data.length))return[];const s=r&&j(n)?[AO(n,o)]:[o];let a=n;for(;a!==e&&a.parentNode;)s.push(t.nodeIndex(a,r)),a=a.parentNode;return a===e?s.reverse():[]},uf=(t,e,n,o,r,s,a=!1)=>({start:Ux(t,e,n,o,a),end:Ux(t,e,r,s,a)}),zx=(t,e)=>{const n=e.slice(),o=n.pop();return fn(o)?Oe(n,(r,s)=>r.bind(a=>C.from(a.childNodes[s])),C.some(t)).bind(r=>j(r)&&(o<0||o>r.data.length)?C.none():C.some({node:r,offset:o})):C.none()},jx=(t,e)=>zx(t,e.start).bind(({node:n,offset:o})=>zx(t,e.end).map(({node:r,offset:s})=>{const a=document.createRange();return a.setStart(n,o),a.setEnd(r,s),a})),ns=(t,e,n)=>{if(e&&t.isEmpty(e)&&!n(e)){const o=e.parentNode;t.remove(e,j(e.firstChild)&&lo(e.firstChild.data)),ns(t,o,n)}},Ll=(t,e,n,o=!0)=>{const r=e.startContainer.parentNode,s=e.endContainer.parentNode;e.deleteContents(),o&&!n(e.startContainer)&&(j(e.startContainer)&&0===e.startContainer.data.length&&t.remove(e.startContainer),j(e.endContainer)&&0===e.endContainer.data.length&&t.remove(e.endContainer),ns(t,r,n),r!==s&&ns(t,s,n))},mf=(t,e)=>C.from(t.dom.getParent(e.startContainer,t.dom.isBlock)),Hx=(t,e,n)=>{const o=t.dynamicPatternsLookup({text:n,block:e});return{...t,blockPatterns:dh(o).concat(t.blockPatterns),inlinePatterns:ch(o).concat(t.inlinePatterns)}},$x=(t,e,n,o)=>{const r=t.createRng();return r.setStart(e,0),r.setEnd(n,o),r.toString()},qx=(t,e,n)=>{((o,r,s)=>{if(j(o)&&0>=o.length)return C.some(wn(o,0));{const a=qo(bl);return C.from(a.forwards(o,0,vl(o),s)).map(i=>wn(i.container,0))}})(e,0,e).each(o=>{const r=o.container;Z1(r,n.start.length,e).each(i=>{const l=t.createRng();l.setStart(r,0),l.setEnd(i.container,i.offset),Ll(t,l,d=>d===e)});const s=k(r),a=ii(s);var i,l;/^\s[^\s]/.test(a)&&(i=s,l=a.slice(1),Nd.set(i,l))})},Vx=(t,e)=>t.create("span",{"data-mce-type":"bookmark",id:e}),Ml=(t,e)=>{const n=t.createRng();return n.setStartAfter(e.start),n.setEndBefore(e.end),n},Wx=(t,e,n)=>{const o=jx(t.getRoot(),n).getOrDie("Unable to resolve path range"),r=o.startContainer,s=o.endContainer,a=0===o.endOffset?s:s.splitText(o.endOffset),i=0===o.startOffset?r:r.splitText(o.startOffset),l=i.parentNode;return{prefix:e,end:a.parentNode.insertBefore(Vx(t,e+"-end"),a),start:l.insertBefore(Vx(t,e+"-start"),i)}},Kx=(t,e,n)=>{ns(t,t.get(e.prefix+"-end"),n),ns(t,t.get(e.prefix+"-start"),n)},ff=t=>0===t.start.length,Yx=(t,e,n,o)=>{const r=e.start;var s;return Dm(t,o.container,o.offset,(s=r,(a,i)=>{const l=a.data.substring(0,i),d=l.lastIndexOf(s.charAt(s.length-1)),c=l.lastIndexOf(s);return-1!==c?c+s.length:-1!==d?d+1:-1}),n).bind(a=>{var i,l;const d=null!==(l=null===(i=n.textContent)||void 0===i?void 0:i.indexOf(r))&&void 0!==l?l:-1;if(-1!==d&&a.offset>=d+r.length){const c=t.createRng();return c.setStart(a.container,a.offset-r.length),c.setEnd(a.container,a.offset),C.some(c)}return Pm(a.container,a.offset-r.length,n).map(u=>{const m=t.createRng();return m.setStart(u.container,u.offset),m.setEnd(a.container,a.offset),m}).filter(u=>u.toString()===r).orThunk(()=>Yx(t,e,n,wn(a.container,0)))})},TO=(t,e,n,o)=>{const r=t.dom,s=r.getRoot(),a=n.pattern,i=n.position.container,l=n.position.offset;return Pm(i,l-n.pattern.end.length,e).bind(d=>{const c=uf(r,s,d.container,d.offset,i,l,o);if(ff(a))return C.some({matches:[{pattern:a,startRng:c,endRng:c}],position:d});{const u=Il(t,n.remainingPatterns,d.container,d.offset,e,o),m=u.getOr({matches:[],position:d}),p=m.position;return((h,g,b,v,y,x=!1)=>{if(0===g.start.length&&!x){const w=h.createRng();return w.setStart(b,v),w.setEnd(b,v),C.some(w)}return Bm(b,v,y).bind(w=>Yx(h,g,y,w).bind(E=>{var N;return x&&(E.endContainer===w.container&&E.endOffset===w.offset||0===w.offset&&(null===(N=E.endContainer.textContent)||void 0===N?void 0:N.length)===E.endOffset)?C.none():C.some(E)}))})(r,a,p.container,p.offset,e,u.isNone()).map(h=>{const g=((b,v,y,x=!1)=>uf(b,v,y.startContainer,y.startOffset,y.endContainer,y.endOffset,x))(r,s,h,o);return{matches:m.matches.concat([{pattern:a,startRng:g,endRng:c}]),position:wn(h.startContainer,h.startOffset)}})}})},Il=(t,e,n,o,r,s)=>{const a=t.dom;return Bm(n,o,a.getRoot()).bind(i=>{const l=$x(a,r,n,o);for(let d=0;d0)return Il(t,e,n,o-1,r,s);if(m.isSome())return m}return C.none()})},Gx=(t,e,n)=>{t.selection.setRng(n),"inline-format"===e.type?U(e.format,o=>{t.formatter.apply(o)}):t.execCommand(e.cmd,!1,e.value)},Xx=(t,e,n,o,r,s)=>{var a;return((i,l)=>{const d=oo(i,c=>$t(l,u=>c.pattern.start===u.pattern.start&&c.pattern.end===u.pattern.end));return i.length===l.length?d?i:l:i.length>l.length?i:l})(Il(t,r.inlinePatterns,n,o,e,s).fold(()=>[],i=>i.matches),Il(t,(a=r.inlinePatterns,ko(a,(i,l)=>l.end.length-i.end.length)),n,o,e,s).fold(()=>[],i=>i.matches))},Qx=(t,e)=>{if(0===e.length)return;const n=t.dom,o=t.selection.getBookmark(),r=((s,a)=>{const i=Hs("mce_textpattern"),l=cs(a,(d,c)=>{const u=Wx(s,i+`_end${d.length}`,c.endRng);return d.concat([{...c,endMarker:u}])},[]);return cs(l,(d,c)=>{const u=l.length-d.length-1,m=ff(c.pattern)?c.endMarker:Wx(s,i+`_start${u}`,c.startRng);return d.concat([{...c,startMarker:m}])},[])})(n,e);U(r,s=>{const a=n.getParent(s.startMarker.start,n.isBlock),i=l=>l===a;ff(s.pattern)?((l,d,c,u)=>{const m=Ml(l.dom,c);Ll(l.dom,m,u),Gx(l,d,m)})(t,s.pattern,s.endMarker,i):((l,d,c,u,m)=>{const p=l.dom,f=Ml(p,u),h=Ml(p,c);Ll(p,h,m),Ll(p,f,m);const b=Ml(p,{prefix:c.prefix,start:c.end,end:u.start});Gx(l,d,b)})(t,s.pattern,s.startMarker,s.endMarker,i),Kx(n,s.endMarker,i),Kx(n,s.startMarker,i)}),t.selection.moveToBookmark(o)},Jx=(t,e,n)=>{for(let o=0;ot.inline?t.getElement().nodeName.toLowerCase():void 0,pf=t=>fs(t,e=>!1===fe(e)),Zx=t=>{const e=t.options.get,n=t.editorUpload.blobCache;return pf({allow_conditional_comments:e("allow_conditional_comments"),allow_html_data_urls:e("allow_html_data_urls"),allow_svg_data_urls:e("allow_svg_data_urls"),allow_html_in_named_anchor:e("allow_html_in_named_anchor"),allow_script_urls:e("allow_script_urls"),allow_unsafe_link_target:e("allow_unsafe_link_target"),convert_unsafe_embeds:e("convert_unsafe_embeds"),convert_fonts_to_spans:e("convert_fonts_to_spans"),fix_list_elements:e("fix_list_elements"),font_size_legacy_values:e("font_size_legacy_values"),forced_root_block:e("forced_root_block"),forced_root_block_attrs:e("forced_root_block_attrs"),preserve_cdata:e("preserve_cdata"),inline_styles:e("inline_styles"),root_name:PO(t),sandbox_iframes:e("sandbox_iframes"),sanitize:e("xss_sanitization"),validate:!0,blob_cache:n,document:t.getDoc()})},tE=t=>{const e=t.options.get;return pf({custom_elements:e("custom_elements"),extended_valid_elements:e("extended_valid_elements"),invalid_elements:e("invalid_elements"),invalid_styles:e("invalid_styles"),schema:e("schema"),valid_children:e("valid_children"),valid_classes:e("valid_classes"),valid_elements:e("valid_elements"),valid_styles:e("valid_styles"),verify_html:e("verify_html"),padd_empty_block_inline_children:e("format_empty_lines")})},hf=t=>t.inline?t.ui.styleSheetLoader:t.dom.styleSheetLoader,eE=t=>{const e=hf(t),n=wh(t),o=t.contentCSS,r=()=>{e.unloadAll(o),t.inline||t.ui.styleSheetLoader.unloadAll(n)},s=()=>{t.removed?r():t.on("remove",r)};if(t.contentStyles.length>0){let l="";H.each(t.contentStyles,d=>{l+=d+"\r\n"}),t.dom.addStyle(l)}const a=Promise.all(((l,d,c)=>{const{pass:u,fail:m}=hr(d,h=>tinymce.Resource.has(am(h))),f=[...u.map(h=>{const g=tinymce.Resource.get(am(h));return at(g)?Promise.resolve(hf(l).loadRawCss(h,g)):Promise.resolve()}),hf(l).loadAll(m)];return l.inline?f:f.concat([l.ui.styleSheetLoader.loadAll(c)])})(t,o,n)).then(s).catch(s),i=Ok(t);return i&&((l,d)=>{const c=k(l.getBody()),u=bd(ro(c)),m=oe("style");de(m,"type","text/css"),Yt(m,Er(d)),Yt(u,m),l.on("remove",()=>{Dt(m)})})(t,i),a},bf=t=>{var e;!0!==t.removed&&(Mn(e=t)||e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"}),(e=>{e.bindPendingEventDelegates(),e.initialized=!0,e.dispatch("Init"),e.focus(!0),(o=>{const r=o.dom.getRoot();o.inline||Oi(o)&&o.selection.getStart(!0)!==r||Ce(r).each(s=>{const a=s.getNode(),i=Gn(a)?Ce(a).getOr(s):s;o.selection.setRng(i.toRange())})})(e),e.nodeChanged({initial:!0});const n=oS(e);Nt(n)&&n.call(e,e),(o=>{const r=sS(o);r&&Ye.setEditorTimeout(o,()=>{let s;s=!0===r?o:o.editorManager.get(r),s&&!s.destroyed&&(s.focus(),s.selection.scrollIntoView())},100)})(e)})(t))},nE=t=>{const e=t.getElement();let n=t.getDoc();t.inline&&(gf.addClass(e,"mce-content-body"),t.contentDocument=n=document,t.contentWindow=window,t.bodyElement=e,t.contentAreaContainer=e);const o=t.getBody();var a,i;o.disabled=!0,t.readonly=_h(t),t._editableRoot=Xk(t),!t.readonly&&t.hasEditableRoot()&&(t.inline&&"static"===gf.getStyle(o,"position",!0)&&(o.style.position="relative"),o.contentEditable="true"),o.disabled=!1,t.editorUpload=(t=>{const e=(()=>{let h=[];const g=y=>{if(!y.blob||!y.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");const x=y.id||"blobid"+sA+++(()=>{const T=()=>Math.round(4294967295*Math.random()).toString(36);return"s"+(new Date).getTime().toString(36)+T()+T()+T()})(),w=y.name||x,E=y.blob;var N;return{id:W(x),name:W(w),filename:W(y.filename||w+"."+(N=E.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[N.toLowerCase()]||"dat")),blob:W(E),base64:W(y.base64),blobUri:W(y.blobUri||URL.createObjectURL(E)),uri:W(y.uri)}},b=y=>Zt(h,y).getOrUndefined(),v=y=>b(x=>x.id()===y);return{create:(y,x,w,E,N)=>{if(at(y))return g({id:y,name:E,filename:N,blob:x,base64:w});if(we(y))return g(y);throw new Error("Unknown input type")},add:y=>{v(y.id())||h.push(y)},get:v,getByUri:y=>b(x=>x.blobUri()===y),getByData:(y,x)=>b(w=>w.base64()===y&&w.blob().type===x),findFirst:b,removeByUri:y=>{h=gt(h,x=>x.blobUri()!==y||(URL.revokeObjectURL(x.blobUri()),!1))},destroy:()=>{U(h,y=>{URL.revokeObjectURL(y.blobUri())}),h=[]}}})();let n,o;const r=dC(),s=[],a=h=>g=>t.selection?h(g):[],i=(h,g,b)=>{let v=0;do{v=h.indexOf(g,v),-1!==v&&(h=h.substring(0,v)+b+h.substr(v+g.length),v+=b.length-g.length+1)}while(-1!==v);return h},l=(h,g,b)=>(h=i(h,`src="${g}"`,`src="${b}"${b===_t.transparentSrc?' data-mce-placeholder="1"':""}`),i(h,'data-mce-src="'+g+'"','data-mce-src="'+b+'"')),d=(h,g)=>{U(t.undoManager.data,b=>{"fragmented"===b.type?b.fragments=Et(b.fragments,v=>l(v,h,g)):b.content=l(b.content,h,g)})},c=()=>(n||(n=uC(t,r)),p().then(a(h=>{const g=Et(h,b=>b.blobInfo);return n.upload(g,cC(t)).then(a(b=>{const v=[];let y=!1;const x=Et(b,(w,E)=>{const{blobInfo:N,image:T}=h[E];let O=!1;return w.status&&wk(t)?(w.url&&!he(T.src,w.url)&&(y=!0),e.removeByUri(T.src),Mn(t)||((P,_)=>{const R=t.convertURL(_,"src");var B;d(P.src,_),jn(k(P),{src:bh(t)?(B=_,B+(-1===B.indexOf("?")?"?":"&")+(new Date).getTime()):_,"data-mce-src":R})})(T,w.url)):w.error&&(w.error.remove&&(d(T.src,_t.transparentSrc),v.push(T),O=!0),il(t,bn.translate(["Failed to upload image: {0}",w.error.message]))),{element:T,status:w.status,uploadUri:w.url,blobInfo:N,removed:O}});return v.length>0&&!Mn(t)?t.undoManager.transact(()=>{U(Cd(v),w=>{const E=sn(w);Dt(w),E.each((N=>T=>{var O,P;(O=N).dom.isEmpty((P=T).dom)&&q(O.schema.getTextBlockElements()[xt(P)])&&Yt(T,ws('
    '))})(t)),e.removeByUri(w.dom.src)})}):y&&t.undoManager.dispatchChange(),x}))}))),u=()=>hh(t)?c():Promise.resolve([]),m=h=>oo(s,g=>g(h)),p=()=>(o||(o=((t,e)=>{const n={};return{findAll:(o,r=Kt)=>{const s=gt((i=o)?Ie(i.getElementsByTagName("img")):[],i=>{const l=i.src;return!i.hasAttribute("data-mce-bogus")&&!i.hasAttribute("data-mce-placeholder")&&!(!l||l===_t.transparentSrc)&&(le(l,"blob:")?!t.isUploaded(l)&&r(i):!!le(l,"data:")&&r(i))}),a=Et(s,i=>{const l=i.src;if(ht(n,l))return n[l].then(d=>at(d)?d:{image:i,blobInfo:d.blobInfo});{const d=((c,u)=>{const m=()=>Promise.reject("Invalid data URI");if(le(u,"blob:")){const h=c.getByUri(u);return q(h)?Promise.resolve(h):(p=u,le(p,"blob:")?(g=p,fetch(g).then(b=>b.ok?b.blob():Promise.reject()).catch(()=>Promise.reject({message:`Cannot convert ${g} to Blob. Resource might not exist or is inaccessible.`,uriType:"blob"}))):le(p,"data:")?(f=p,new Promise((g,b)=>{ju(f).bind(({type:v,data:y,base64Encoded:x})=>iy(v,y,x)).fold(()=>b("Invalid data URI"),g)})):Promise.reject("Unknown URI format")).then(g=>ly(g).then(b=>dy(b,!1,v=>C.some(cy(c,g,v))).getOrThunk(m)))}var g,p,f;return le(u,"data:")?uy(c,u).fold(m,h=>Promise.resolve(h)):Promise.reject("Unknown image data format")})(e,l).then(c=>(delete n[l],{image:i,blobInfo:c})).catch(c=>(delete n[l],c));return n[l]=d,d}});var i;return Promise.all(a)}}})(r,e)),o.findAll(t.getBody(),m).then(a(h=>{const g=gt(h,b=>at(b)?(il(t,b),!1):"blob"!==b.uriType);return Mn(t)||U(g,b=>{d(b.image.src,b.blobInfo.blobUri()),b.image.src=b.blobInfo.blobUri(),b.image.removeAttribute("data-mce-src")}),g}))),f=h=>h.replace(/src="(blob:[^"]+)"/g,(g,b)=>{const v=r.getResultUri(b);if(v)return'src="'+v+'"';let y=e.getByUri(b);return y||(y=Oe(t.editorManager.get(),(x,w)=>x||w.editorUpload&&w.editorUpload.blobCache.getByUri(b),void 0)),y?'src="data:'+y.blob().type+";base64,"+y.base64()+'"':g});return t.on("SetContent",()=>{hh(t)?u():p()}),t.on("RawSaveContent",h=>{h.content=f(h.content)}),t.on("GetContent",h=>{h.source_view||"raw"===h.format||"tree"===h.format||(h.content=f(h.content))}),t.on("PostRender",()=>{t.parser.addNodeFilter("img",h=>{U(h,g=>{const b=g.attr("src");if(!b||e.getByUri(b))return;const v=r.getResultUri(b);v&&g.attr("src",v)})})}),{blobCache:e,addFilter:h=>{s.push(h)},uploadImages:c,uploadImagesAuto:u,scanForImages:p,destroy:()=>{e.destroy(),r.destroy(),o=n=null}}})(t),t.schema=uo(tE(t)),t.dom=Ot(n,{keep_values:!0,url_converter:t.convertURL,url_converter_scope:t,update_styles:!0,root_element:t.inline?t.getBody():null,collect:t.inline,schema:t.schema,contentCssCors:Nk(t),referrerPolicy:dc(t),onSetAttrib:a=>{t.dispatch("SetAttrib",a)},force_hex_color:AS(t)}),t.parser=(a=>{const i=Wr(Zx(a),a.schema);return i.addAttributeFilter("src,href,style,tabindex",(l,d)=>{const c=a.dom,u="data-mce-"+d;let m=l.length;for(;m--;){const p=l[m];let f=p.attr(d);if(f&&!p.attr(u)){if(0===f.indexOf("data:")||0===f.indexOf("blob:"))continue;"style"===d?(f=c.serializeStyle(c.parseStyle(f),p.name),f.length||(f=null),p.attr(u,f),p.attr(d,f)):"tabindex"===d?(p.attr(u,f),p.attr(d,null)):p.attr(u,a.convertURL(f,d,p.name))}}}),i.addNodeFilter("script",l=>{let d=l.length;for(;d--;){const c=l[d],u=c.attr("type")||"no/type";0!==u.indexOf("mce-")&&c.attr("type","mce-"+u)}}),ES(a)&&i.addNodeFilter("#cdata",l=>{var d;let c=l.length;for(;c--;){const u=l[c];u.type=8,u.name="#comment",u.value="[CDATA["+a.dom.encode(null!==(d=u.value)&&void 0!==d?d:"")+"]]"}}),i.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",l=>{let d=l.length;const c=a.schema.getNonEmptyElements();for(;d--;){const u=l[d];u.isEmpty(c)&&0===u.getAll("br").length&&u.append(new Ee("br",1))}}),i})(t),t.serializer=Zy((a=>{const i=a.options.get;return{...Zx(a),...tE(a),...pf({remove_trailing_brs:i("remove_trailing_brs"),pad_empty_with_br:i("pad_empty_with_br"),url_converter:i("url_converter"),url_converter_scope:i("url_converter_scope"),element_format:i("element_format"),entities:i("entities"),entity_encoding:i("entity_encoding"),indent:i("indent"),indent_after:i("indent_after"),indent_before:i("indent_before")})}})(t),t),t.selection=Jy(t.dom,t.getWin(),t.serializer,t),t.annotator=xb(t),t.formatter=gC(t),t.undoManager=hC(t),t._nodeChangeDispatcher=new ZT(t),t._selectionOverrides=RO(t),(a=>{const i=mo(),l=ae(!1),d=Jd(c=>{a.dispatch("longpress",{...c,type:"longpress"}),l.set(!0)},400);a.on("touchstart",c=>{E1(c).each(u=>{d.cancel();const m={x:u.clientX,y:u.clientY,target:c.target};d.throttle(c),l.set(!1),i.set(m)})},!0),a.on("touchmove",c=>{d.cancel(),E1(c).each(u=>{i.on(m=>{((p,f)=>{const h=Math.abs(p.clientX-f.x),g=Math.abs(p.clientY-f.y);return h>5||g>5})(u,m)&&(i.clear(),l.set(!1),a.dispatch("longpresscancel"))})})},!0),a.on("touchend touchcancel",c=>{d.cancel(),"touchcancel"!==c.type&&i.get().filter(u=>u.target.isEqualNode(c.target)).each(()=>{l.get()?c.preventDefault():a.dispatch("tap",{...c,type:"tap"})})},!0)})(t),(i=a=t).on("click",l=>{i.dom.getParent(l.target,"details")&&l.preventDefault()}),(i=>{i.parser.addNodeFilter("details",l=>{const d=NS(i);U(l,c=>{"expanded"===d?c.attr("open","open"):"collapsed"===d&&c.attr("open",null)})}),i.serializer.addNodeFilter("details",l=>{const d=RS(i);U(l,c=>{"expanded"===d?c.attr("open","open"):"collapsed"===d&&c.attr("open",null)})})})(a),(a=>{const i="contenteditable",l=" "+H.trim(wS(a))+" ",d=" "+H.trim(Nh(a))+" ",c=S1(l),u=S1(d),m=xS(a);m.length>0&&a.on("BeforeSetContent",p=>{((f,h,g)=>{let b=h.length,v=g.content;if("raw"!==g.format){for(;b--;)v=v.replace(h[b],XA(f,v,Nh(f)));g.content=v}})(a,m,p)}),a.parser.addAttributeFilter("class",p=>{let f=p.length;for(;f--;){const h=p[f];c(h)?h.attr(i,"true"):u(h)&&h.attr(i,"false")}}),a.serializer.addAttributeFilter(i,p=>{let f=p.length;for(;f--;){const h=p[f];(c(h)||u(h))&&(m.length>0&&h.attr("data-mce-content")?(h.name="#text",h.type=3,h.raw=!0,h.value=h.attr("data-mce-content")):h.attr(i,null))}})})(t),Mn(t)||((a=>{a.on("mousedown",i=>{i.detail>=3&&(i.preventDefault(),(t=>{const e=((n,o,r)=>{const s=L.fromRangeStart(n).getNode(),a=(u=o,m=r,Oo(k(s),p=>an(p.dom)||m.isBlock(xt(p)),_x(u)).getOr(k(u)).dom),i=Sx(s,a,!1),l=Sx(s,a,!0),d=document.createRange();var u,m;return kx(i,a).fold(()=>{Ex(i)?d.setStart(i,0):d.setStartBefore(i)},c=>d.setStartBefore(c.dom)),kx(l,a).fold(()=>{Ex(l)?d.setEnd(l,l.data.length):d.setEndAfter(l)},c=>d.setEndAfter(c.dom)),d})(t.selection.getRng(),t.getBody(),t.schema);t.selection.setRng(ku(e))})(a))})})(t),(a=>{(i=>{const l=[",",".",";",":","!","?"],d=[32],c=()=>{return p=yS(i),f=CS(i),{inlinePatterns:ch(p),blockPatterns:dh(p),dynamicPatternsLookup:f};var p,f},u=()=>i.options.isSet("text_patterns_lookup");i.on("keydown",p=>{if(13===p.keyCode&&!Y.modifierPressed(p)&&i.selection.isCollapsed()){const f=c();(f.inlinePatterns.length>0||f.blockPatterns.length>0||u())&&((t,e)=>{const n=t.selection.getRng();return mf(t,n).map(o=>{var r;const s=Math.max(0,n.startOffset),a=Hx(e,o,null!==(r=o.textContent)&&void 0!==r?r:""),i=Xx(t,o,n.startContainer,s,a,!0),l=((d,c,u,m)=>{var p;const f=d.dom,h=ye(d);if(!f.is(c,h))return[];const g=null!==(p=c.textContent)&&void 0!==p?p:"";return((b,v)=>{const y=ko(b,(E,N)=>N.start.length-E.start.length),x=v.replace(re," ");return Zt(y,w=>0===v.indexOf(w.start)||0===x.indexOf(w.start))})(u.blockPatterns,g).map(b=>H.trim(g).length===b.start.length?[]:[{pattern:b,range:uf(f,f.getRoot(),c,0,c,0,!0)}]).getOr([])})(t,o,a);return(l.length>0||i.length>0)&&(t.undoManager.add(),t.undoManager.extra(()=>{t.execCommand("mceInsertNewLine")},()=>{t.insertContent(se,{preserve_zwsp:!0}),Qx(t,i),((u,m)=>{if(0===m.length)return;const p=u.selection.getBookmark();U(m,f=>((h,g)=>{const v=g.pattern,y=jx(h.dom.getRoot(),g.range).getOrDie("Unable to resolve path range");return mf(h,y).each(x=>{"block-format"===v.type?((w,E)=>{const N=E.get(w);return Jt(N)&&Be(N).exists(T=>ht(T,"block"))})(v.format,h.formatter)&&h.undoManager.transact(()=>{qx(h.dom,x,v),h.formatter.apply(v.format)}):"block-command"===v.type&&h.undoManager.transact(()=>{qx(h.dom,x,v),h.execCommand(v.cmd,!1,v.value)})}),!0})(u,f)),u.selection.moveToBookmark(p)})(t,l);const d=t.selection.getRng(),c=Bm(d.startContainer,d.startOffset,t.dom.getRoot());t.execCommand("mceInsertNewLine"),c.each(u=>{const m=u.container;"\ufeff"===m.data.charAt(u.offset-1)&&(m.deleteData(u.offset-1,1),ns(t.dom,m.parentNode,p=>p===t.dom.getRoot()))})}),!0)}).getOr(!1)})(i,f)&&p.preventDefault()}},!0);const m=()=>{if(i.selection.isCollapsed()){const p=c();(p.inlinePatterns.length>0||u())&&((f,h)=>{const g=f.selection.getRng();mf(f,g).map(b=>{const v=Math.max(0,g.startOffset-1),y=$x(f.dom,b,g.startContainer,v),x=Hx(h,b,y),w=Xx(f,b,g.startContainer,v,x,!1);w.length>0&&f.undoManager.transact(()=>{Qx(f,w)})})})(i,p)}};i.on("keyup",p=>{Jx(d,p,(f,h)=>f===h.keyCode&&!Y.modifierPressed(h))&&m()}),i.on("keypress",p=>{Jx(l,p,(f,h)=>f.charCodeAt(0)===h.charCode)&&Ye.setEditorTimeout(i,m)})})(a)})(t));const r=JT(t);((t,e)=>{t.addCommand("delete",()=>{var n;x1(n=t,e,!1).fold(()=>{n.selection.isEditable()&&(cu(n),uu(n))},ds)}),t.addCommand("forwardDelete",()=>{var n;x1(n=t,e,!0).fold(()=>{n.selection.isEditable()&&Q0(n,"ForwardDelete")},ds)})})(t,r),(a=>{a.on("NodeChange",J(GA,a))})(t),(a=>{var i;const l=a.dom,d=ye(a),c=null!==(i=Lk(a))&&void 0!==i?i:"",u=(m,p)=>{if((g=>{if(vC(g)){const b=g.keyCode;return!yC(g)&&(Y.metaKeyPressed(g)||g.altKey||b>=112&&b<=123||Rt(mA,b))}return!1})(m))return;const f=a.getBody(),h=!(vC(g=m)&&!(yC(g)||"keyup"===g.type&&229===g.keyCode))&&((g,b,v)=>{if(Vt(k(b),!1)){const y=b.firstElementChild;return!y||!g.getStyle(b.firstElementChild,"padding-left")&&!g.getStyle(b.firstElementChild,"padding-right")&&v===y.nodeName.toLowerCase()}return!1})(l,f,d);var g;(""!==l.getAttrib(f,bC)!==h||p)&&(l.setAttrib(f,bC,h?c:null),l.setAttrib(f,"aria-placeholder",h?c:null),((g,b)=>{g.dispatch("PlaceholderToggle",{state:b})})(a,h),a.on(h?"keydown":"keyup",u),a.off(h?"keyup":"keydown",u))};_n(c)&&a.on("init",m=>{u(m,!0),a.on("change SetContent ExecCommand",u),a.on("paste",p=>Ye.setEditorTimeout(a,()=>u(p)))})})(t),(t=>{const e=ae(!1),n=ae(hS(t)?"text":"html"),o=(r=>{const s=ae(null);return{create:()=>((a,i)=>{const{dom:l,selection:d}=a,c=a.getBody();i.set(d.getRng());const u=l.add(a.getBody(),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},ix);_t.browser.isFirefox()&&l.setStyle(u,"left","rtl"===l.getStyle(c,"direction",!0)?65535:-65535),l.bind(u,"beforedeactivate focusin focusout",m=>{m.stopPropagation()}),u.focus(),d.select(u,!0)})(r,s),remove:()=>((a,i)=>{const l=a.dom;if(rf(a)){let d;const c=i.get();for(;d=rf(a);)l.remove(d),l.unbind(d);c&&a.selection.setRng(c)}i.set(null)})(r,s),getEl:()=>rf(r),getHtml:()=>(a=>{const i=a.dom,l=(m,p)=>{m.appendChild(p),i.remove(p,!0)},[d,...c]=gt(a.getBody().childNodes,iO);U(c,m=>{l(d,m)});const u=i.select("div[id=mcepastebin]",d);for(let m=u.length-1;m>=0;m--){const p=i.create("div");d.insertBefore(p,u[m]),l(p,u[m])}return d?d.innerHTML:""})(r),getLastRng:s.get}})(t);var r,s,a;r=t,(_t.browser.isChromium()||_t.browser.isSafari())&&(a=gO,(s=r).on("PastePreProcess",i=>{i.content=a(s,i.content,i.internal)})),((r,s)=>{r.addCommand("mceTogglePlainTextPaste",()=>{((a,i)=>{"text"===i.get()?(i.set("html"),Ab(a,!1)):(i.set("text"),Ab(a,!0)),a.focus()})(r,s)}),r.addCommand("mceInsertClipboardContent",(a,i)=>{i.html&&Pl(r,i.html,i.internal,!1),i.text&&lf(r,i.text,!1)})})(t,n),(r=>{const s=l=>d=>{l(r,d)},a=dS(r);Nt(a)&&r.on("PastePreProcess",s(a));const i=cS(r);Nt(i)&&r.on("PastePostProcess",s(i))})(t),t.on("PreInit",()=>{(r=>{r.on("cut",(s=>a=>{!a.isDefaultPrevented()&&yx(s)&&s.selection.isEditable()&&hx(a,vx(s),bx(s),()=>{if(_t.browser.isChromium()||_t.browser.isFirefox()){const i=s.selection.getRng();Ye.setEditorTimeout(s,()=>{s.selection.setRng(i),s.execCommand("Delete")},0)}else s.execCommand("Delete")})})(r)),r.on("copy",(s=>a=>{!a.isDefaultPrevented()&&yx(s)&&hx(a,vx(s),bx(s),vt)})(r))})(t),((r,s)=>{lS(r)&&r.on("dragend dragover draggesture dragdrop drop drag",a=>{a.preventDefault(),a.stopPropagation()}),_i(r)||r.on("drop",a=>{const i=a.dataTransfer;i&&$t(i.files,d=>/^image\//.test(d.type))&&a.preventDefault()}),r.on("drop",a=>{if(a.isDefaultPrevented())return;const i=Cx(r,a);if(Gt(i))return;const l=fx(a.dataTransfer),d=xo(l,Bl());if((!gx(l)||(f=>{const h=f["text/plain"];return!!h&&0===h.indexOf("file://")})(l))&&px(r,a,i))return;const c=l[Bl()],u=c||l["text/html"]||l["text/plain"],m=((f,h,g,b)=>{const v=f.getParent(g,y=>Uo(h,y));if(!Se(f.getParent(g,"summary")))return!0;if(v&&ht(b,"text/html")){const y=(new DOMParser).parseFromString(b["text/html"],"text/html").body;return!Se(y.querySelector(v.nodeName.toLowerCase()))}return!1})(r.dom,r.schema,i.startContainer,l),p=s.get();p&&!m||u&&(a.preventDefault(),Ye.setEditorTimeout(r,()=>{r.undoManager.transact(()=>{(c||p&&m)&&r.execCommand("Delete"),wx(r,i);const f=cx(u);l["text/html"]?Pl(r,f,d,!0):lf(r,f,!0)})}))}),r.on("dragstart",a=>{s.set(!0)}),r.on("dragover dragend",a=>{_i(r)&&!s.get()&&(a.preventDefault(),wx(r,Cx(r,a))),"dragend"===a.type&&s.set(!1)}),(a=>{a.on("input",i=>{const l=d=>Se(d.querySelector("summary"));if("deleteByDrag"===i.inputType){const d=gt(a.dom.select("details"),l);U(d,c=>{Ht(c.firstChild)&&c.firstChild.remove();const u=a.dom.create("summary");u.appendChild(Bs().dom),c.prepend(u)})}})})(r)})(t,e),((t,e,n)=>{((o,r,s)=>{let a;o.on("keydown",i=>{var l;(Y.metaKeyPressed(l=i)&&86===l.keyCode||l.shiftKey&&45===l.keyCode)&&!i.isDefaultPrevented()&&(a=i.shiftKey&&86===i.keyCode)}),o.on("paste",i=>{if(i.isDefaultPrevented()||(c=i,_t.os.isAndroid()&&0===(null===(m=null===(u=c.clipboardData)||void 0===u?void 0:u.items)||void 0===m?void 0:m.length)))return;var c,u,m;const l="text"===s.get()||a;a=!1;const d=fx(i.clipboardData);!gx(d)&&px(o,i,r.getLastRng()||o.selection.getRng())||(xo(d,"text/html")?(i.preventDefault(),df(o,d,d["text/html"],l,!0)):xo(d,"text/plain")&&xo(d,"text/uri-list")?(i.preventDefault(),df(o,d,d["text/plain"],l,!0)):(r.create(),Ye.setEditorTimeout(o,()=>{const c=r.getHtml();r.remove(),df(o,d,c,l,!1)},0)))})})(t,e,n),(o=>{const r=a=>le(a,"webkit-fake-url"),s=a=>le(a,"data:");o.parser.addNodeFilter("img",(a,i,l)=>{if(!_i(o)&&!0===(null===(c=l.data)||void 0===c?void 0:c.paste))for(const d of a){const c=d.attr("src");at(c)&&!d.attr("data-mce-object")&&c!==_t.transparentSrc&&(r(c)||!vS(o)&&s(c))&&d.remove()}var c})})(t)})(t,o,n)})})(t);const s=(a=>{const i=a;return(l=a,Pt(l.plugins,"rtc").bind(d=>C.from(d.setup))).fold(()=>(i.rtcInstance=Wy(a),C.none()),l=>(i.rtcInstance=(()=>{const d=W(null),c=W("");return{init:{bindEvents:vt},undoManager:{beforeChange:vt,add:d,undo:d,redo:d,clear:vt,reset:vt,hasUndo:zt,hasRedo:zt,transact:d,ignore:vt,extra:vt},formatter:{match:zt,matchAll:W([]),matchNode:W(void 0),canApply:zt,closest:c,apply:vt,remove:vt,toggle:vt,formatChanged:W({unbind:vt})},editor:{getContent:c,setContent:W({content:"",html:""}),insertContent:W(""),addVisual:vt},selection:{getContent:c},autocompleter:{addDecoration:vt,removeDecoration:vt},raw:{getModel:W(C.none())}}})(),C.some(()=>l().then(d=>(i.rtcInstance=(c=>{const u=y=>we(y)?y:{},{init:m,undoManager:p,formatter:f,editor:h,selection:g,autocompleter:b,raw:v}=c;return{init:{bindEvents:m.bindEvents},undoManager:{beforeChange:p.beforeChange,add:p.add,undo:p.undo,redo:p.redo,clear:p.clear,reset:p.reset,hasUndo:p.hasUndo,hasRedo:p.hasRedo,transact:(y,x,w)=>p.transact(w),ignore:(y,x)=>p.ignore(x),extra:(y,x,w,E)=>p.extra(w,E)},formatter:{match:(y,x,w,E)=>f.match(y,u(x),E),matchAll:f.matchAll,matchNode:f.matchNode,canApply:y=>f.canApply(y),closest:y=>f.closest(y),apply:(y,x,w)=>f.apply(y,u(x)),remove:(y,x,w,E)=>f.remove(y,u(x)),toggle:(y,x,w)=>f.toggle(y,u(x)),formatChanged:(y,x,w,E,N)=>f.formatChanged(x,w,E,N)},editor:{getContent:y=>h.getContent(y),setContent:(y,x)=>({content:h.setContent(y,x),html:""}),insertContent:(y,x)=>(h.insertContent(y),""),addVisual:h.addVisual},selection:{getContent:(y,x)=>g.getContent(x)},autocompleter:{addDecoration:b.addDecoration,removeDecoration:b.removeDecoration},raw:{getModel:()=>C.some(v.getRawModel())}}})(d),d.rtc.isRemote)))));var l})(t);(a=>{const i=a.getDoc(),l=a.getBody();a.dispatch("PreInit"),aS(a)||(i.body.spellcheck=!1,gf.setAttrib(l,"spellcheck","false")),a.quirks=(t=>{const e=H.each,n=Y.BACKSPACE,o=Y.DELETE,r=t.dom,s=t.selection,a=t.parser,i=_t.browser,l=i.isFirefox(),d=i.isChromium()||i.isSafari(),c=_t.deviceType.isiPhone()||_t.deviceType.isiPad(),u=_t.os.isMacOS()||_t.os.isiOS(),m=(_,R)=>{try{t.getDoc().execCommand(_,!1,String(R))}catch{}},p=_=>_.isDefaultPrevented(),f=()=>{t.shortcuts.add("meta+a",null,"SelectAll")},h=()=>{t.inline||r.bind(t.getDoc(),"mousedown mouseup",_=>{let R;if(_.target===t.getDoc().documentElement)if(R=s.getRng(),t.getBody().focus(),"mousedown"===_.type){if($e(R.startContainer))return;s.placeCaretAt(_.clientX,_.clientY)}else s.setRng(R)})},g=()=>{Range.prototype.getClientRects||t.on("mousedown",_=>{if(!p(_)&&"HTML"===_.target.nodeName){const R=t.getBody();R.blur(),Ye.setEditorTimeout(t,()=>{R.focus()})}})},b=()=>{const _=Sh(t);t.on("click",R=>{const B=R.target;/^(IMG|HR)$/.test(B.nodeName)&&r.isEditable(B)&&(R.preventDefault(),t.selection.select(B),t.nodeChanged()),"A"===B.nodeName&&r.hasClass(B,_)&&0===B.childNodes.length&&r.isEditable(B.parentNode)&&(R.preventDefault(),s.select(B))})},v=()=>{t.on("keydown",_=>{if(!p(_)&&_.keyCode===n&&s.isCollapsed()&&0===s.getRng().startOffset){const R=s.getNode().previousSibling;if(R&&R.nodeName&&"table"===R.nodeName.toLowerCase())return _.preventDefault(),!1}return!0})},y=()=>{_h(t)||t.on("BeforeExecCommand mousedown",()=>{m("StyleWithCSS",!1),m("enableInlineTableEditing",!1),xh(t)||m("enableObjectResizing",!1)})},x=()=>{t.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},w=()=>{t.inline||t.on("keydown",()=>{document.activeElement===document.body&&t.getWin().focus()})},E=()=>{t.inline||(t.contentStyles.push("body {min-height: 150px}"),t.on("click",_=>{let R;"HTML"===_.target.nodeName&&(R=t.selection.getRng(),t.getBody().focus(),t.selection.setRng(R),t.selection.normalize(),t.nodeChanged())}))},N=()=>{u&&t.on("keydown",_=>{!Y.metaKeyPressed(_)||_.shiftKey||37!==_.keyCode&&39!==_.keyCode||(_.preventDefault(),t.selection.getSel().modify("move",37===_.keyCode?"backward":"forward","lineboundary"))})},T=()=>{t.on("click",_=>{let R=_.target;do{if("A"===R.tagName)return void _.preventDefault()}while(R=R.parentNode)}),t.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},O=()=>{t.on("init",()=>{t.dom.bind(t.getBody(),"submit",_=>{_.preventDefault()})})},P=vt;return Mn(t)?(d&&(h(),b(),O(),f(),c&&(w(),E(),T())),l&&(g(),y(),x(),N())):(t.on("keydown",_=>{if(p(_)||_.keyCode!==Y.BACKSPACE)return;let R=s.getRng();const B=R.startContainer,M=R.startOffset,V=r.getRoot();let $=B;if(R.collapsed&&0===M){for(;$.parentNode&&$.parentNode.firstChild===$&&$.parentNode!==V;)$=$.parentNode;"BLOCKQUOTE"===$.nodeName&&(t.formatter.toggle("blockquote",void 0,$),R=r.createRng(),R.setStart(B,0),R.setEnd(B,0),s.setRng(R))}}),(()=>{const _=R=>{const B=r.create("body"),M=R.cloneContents();return B.appendChild(M),s.serializer.serialize(B,{format:"html"})};t.on("keydown",R=>{const B=R.keyCode;if(!p(R)&&(B===o||B===n)&&t.selection.isEditable()){const M=t.selection.isCollapsed(),V=t.getBody();if(M&&!Vt(k(V))||!M&&!($=>{const ot=_($),et=r.createRng();return et.selectNode(t.getBody()),ot===_(et)})(t.selection.getRng()))return;R.preventDefault(),t.setContent(""),V.firstChild&&r.isBlock(V.firstChild)?t.selection.setCursorLocation(V.firstChild,0):t.selection.setCursorLocation(V,0),t.nodeChanged()}})})(),_t.windowsPhone||t.on("keyup focusin mouseup",_=>{Y.modifierPressed(_)||(R=>{const B=R.getBody(),M=R.selection.getRng();return M.startContainer===M.endContainer&&M.startContainer===B&&0===M.startOffset&&M.endOffset===B.childNodes.length})(t)||s.normalize()},!0),d&&(h(),b(),t.on("init",()=>{m("DefaultParagraphSeparator",ye(t))}),O(),v(),a.addNodeFilter("br",_=>{let R=_.length;for(;R--;)"Apple-interchange-newline"===_[R].attr("class")&&_[R].remove()}),c?(w(),E(),T()):f()),l&&(t.on("keydown",_=>{if(!p(_)&&_.keyCode===n){if(!t.getBody().getElementsByTagName("hr").length)return;if(s.isCollapsed()&&0===s.getRng().startOffset){const R=s.getNode(),B=R.previousSibling;if("HR"===R.nodeName)return r.remove(R),void _.preventDefault();B&&B.nodeName&&"hr"===B.nodeName.toLowerCase()&&(r.remove(B),_.preventDefault())}}}),g(),(()=>{const _=()=>{const B=r.getAttribs(s.getStart().cloneNode(!1));return()=>{const M=s.getStart();M!==t.getBody()&&(r.setAttrib(M,"style",null),e(B,V=>{M.setAttributeNode(V.cloneNode(!0))}))}},R=()=>!s.isCollapsed()&&r.getParent(s.getStart(),r.isBlock)!==r.getParent(s.getEnd(),r.isBlock);t.on("keypress",B=>{let M;return!(!(p(B)||8!==B.keyCode&&46!==B.keyCode)&&R()&&(M=_(),t.getDoc().execCommand("delete",!1),M(),B.preventDefault(),1))}),r.bind(t.getDoc(),"cut",B=>{if(!p(B)&&R()){const M=_();Ye.setEditorTimeout(t,()=>{M()})}})})(),y(),t.on("SetContent ExecCommand",_=>{"setcontent"!==_.type&&"mceInsertLink"!==_.command||e(r.select("a:not([data-mce-block])"),R=>{var B;let M=R.parentNode;const V=r.getRoot();if(M?.lastChild===R){for(;M&&!r.isBlock(M);){if((null===(B=M.parentNode)||void 0===B?void 0:B.lastChild)!==M||M===V)return;M=M.parentNode}r.add(M,"br",{"data-mce-bogus":1})}})}),x(),N(),v(),t.on("drop",_=>{var R;const B=null===(R=_.dataTransfer)||void 0===R?void 0:R.getData("text/html");at(B)&&/^]*>$/.test(B)&&t.dispatch("dragend",new window.DragEvent("dragend",_))}))),{refreshContentEditable:P,isHidden:()=>{if(!l||t.removed)return!1;const _=t.selection.getSel();return!_||!_.rangeCount||0===_.rangeCount}}})(a),a.dispatch("PostRender");const d=Bk(a);void 0!==d&&(l.dir=d);const c=iS(a);c&&a.on("BeforeSetContent",u=>{H.each(c,m=>{u.content=u.content.replace(m,p=>"\x3c!--mce:protected "+escape(p)+"--\x3e")})}),a.on("SetContent",()=>{a.addVisual(a.getBody())}),a.on("compositionstart compositionend",u=>{a.composing="compositionstart"===u.type})})(t),s.fold(()=>{const a=(i=>{let l=!1;const d=setTimeout(()=>{l||i.setProgressState(!0)},500);return()=>{clearTimeout(d),l=!0,i.setProgressState(!1)}})(t);eE(t).then(()=>{bf(t),a()})},a=>{t.setProgressState(!0),eE(t).then(()=>{a().then(i=>{t.setProgressState(!1),bf(t),Ky(t)},i=>{t.notificationManager.open({type:"error",text:String(i)}),bf(t),Ky(t)})})})},DO=Kt,vf=Ot.DOM,oE=Ot.DOM,rE=(t,e)=>({editorContainer:t,iframeContainer:e,api:{}}),sE=t=>{const e=t.getElement();return t.inline?rE(null):(n=>{const o=oE.create("div");return oE.insertAfter(o,n),rE(o,o)})(e)},LO=async t=>{t.dispatch("ScriptsLoaded"),(n=>{const o=H.trim(vh(n)),r=n.ui.registry.getAll().icons,s={...al.get("default").icons,...al.get(o).icons};Bt(s,(a,i)=>{ht(r,i)||n.ui.registry.addIcon(i,a)})})(t),(n=>{const o=Dr(n);if(at(o)){const r=rr.get(o);n.theme=r(n,rr.urls[o])||{},Nt(n.theme.init)&&n.theme.init(n,rr.urls[o]||n.documentBaseUrl.replace(/\/$/,""))}else n.theme={}})(t),(n=>{const o=cc(n),r=Kr.get(o);n.model=r(n,Kr.urls[o])})(t),(n=>{const o=[];U(Ei(n),r=>{((s,a,i)=>{const l=Yr.get(i),d=Yr.urls[i]||s.documentBaseUrl.replace(/\/$/,"");if(i=H.trim(i),l&&-1===H.inArray(a,i)){if(s.plugins[i])return;try{const c=l(s,d)||{};s.plugins[i]=c,Nt(c.init)&&(c.init(s,d),a.push(i))}catch(c){((u,m,p)=>{const f=bn.translate(["Failed to initialize plugin: {0}",m]);_b(u,"PluginLoadError",{message:f}),ll(f,p),il(u,f)})(s,i,c)}}})(n,o,r.replace(/^\-/,""))})})(t);const e=await(n=>{const o=n.getElement();return n.orgDisplay=o.style.display,at(Dr(n))?(r=>{const s=r.theme.renderUI;return s?s():sE(r)})(n):Nt(Dr(n))?(r=>{const s=r.getElement(),a=Dr(r)(r,s);return a.editorContainer.nodeType&&(a.editorContainer.id=a.editorContainer.id||r.id+"_parent"),a.iframeContainer&&a.iframeContainer.nodeType&&(a.iframeContainer.id=a.iframeContainer.id||r.id+"_iframecontainer"),a.height=a.iframeHeight?a.iframeHeight:s.offsetHeight,a})(n):sE(n)})(t);var n,o;((n,o)=>{const r={show:C.from(o.show).getOr(vt),hide:C.from(o.hide).getOr(vt),isEnabled:C.from(o.isEnabled).getOr(Kt),setEnabled:s=>{n.mode.isReadOnly()||C.from(o.setEnabled).each(a=>a(s))}};n.ui={...n.ui,...r}})(t,C.from(e.api).getOr({})),t.editorContainer=e.editorContainer,(n=t).contentCSS=n.contentCSS.concat(lC(o=n,Tk(o)),(o=>lC(o,wh(o)))(n)),t.inline?nE(t):((n,o)=>{((r,s)=>{const a=r.translate("Rich Text Area"),i=Hn(k(r.getElement()),"tabindex").bind(Ga),l=((d,c,u,m)=>{const p=oe("iframe");return m.each(f=>de(p,"tabindex",f)),jn(p,u),jn(p,{id:d+"_ifr",frameBorder:"0",allowTransparency:"true",title:c}),xr(p,"tox-edit-area__iframe"),p})(r.id,a,uk(r),i).dom;l.onload=()=>{l.onload=null,r.dispatch("load")},r.contentAreaContainer=s.iframeContainer,r.iframeElement=l,r.iframeHTML=(d=>{let c=mk(d)+"";gh(d)!==d.documentBaseUrl&&(c+=''),c+='';const u=fk(d),m=gk(d),p=d.translate(eS(d));return ph(d)&&(c+=''),c+=`
    `,c})(r),vf.add(s.iframeContainer,l)})(n,o),o.editorContainer&&(o.editorContainer.style.display=n.orgDisplay,n.hidden=vf.isHidden(o.editorContainer)),n.getElement().style.display="none",vf.setAttrib(n.id,"aria-hidden","true"),n.getElement().style.visibility=n.orgVisibility,(r=>{const s=r.iframeElement,a=()=>{r.contentDocument=s.contentDocument,nE(r)};if(kS(r)||_t.browser.isFirefox()){const l=r.getDoc();l.open(),l.write(r.iframeHTML),l.close(),a()}else{const l=((t,e,n,o)=>((r,s,a,i,l)=>{const d=((c,u)=>m=>{c(m)&&u((p=>{const f=k(Tg(p).getOr(p.target)),h=()=>p.stopPropagation(),g=()=>p.preventDefault(),b=En(g,h);return((v,y,x,w,E,N,T)=>({target:v,x:y,y:x,stop:w,prevent:E,kill:N,raw:T}))(f,p.clientX,p.clientY,h,g,b,p)})(m))})(a,i);return r.dom.addEventListener(s,d,!1),{unbind:J(p_,r,s,d,!1)}})(t,"load",n,()=>{l.unbind(),a()}))(k(s),0,DO);s.srcdoc=r.iframeHTML}})(n)})(t,{editorContainer:e.editorContainer,iframeContainer:e.iframeContainer})},ar=Ot.DOM,aE=t=>"-"===t.charAt(0),iE=(t,e,n)=>C.from(e).filter(o=>_n(o)&&!al.has(o)).map(o=>({url:`${t.editorManager.baseURL}/icons/${o}/icons${n}.js`,name:C.some(o)})),lE=kn().deviceType,dE=lE.isPhone(),IO=lE.isTablet(),Ma=t=>{if(Gt(t))return[];{const e=Jt(t)?t:t.split(/[ ,]/),n=Et(e,yr);return gt(n,_n)}},yf=(t,e)=>ht(t.sections(),e),UO=(t,e)=>({table_grid:!1,object_resizing:!1,resize:!1,toolbar_mode:Pt(t,"toolbar_mode").getOr("scrolling"),toolbar_sticky:!1,...e?{menubar:!1}:{}}),zO=(t,e)=>{var n;const o=null!==(n=e.external_plugins)&&void 0!==n?n:{};return t&&t.external_plugins?H.extend({},t.external_plugins,o):o},$O=(t,e)=>{const n=t.selection,o=t.dom;return/^ | $/.test(e)?((r,s,a,i)=>{const l=k(r.getRoot());return a=da(l,L.fromRangeStart(s),i)?a.replace(/^ /," "):a.replace(/^ /," "),ca(l,L.fromRangeEnd(s),i)?a.replace(/( | )()?$/," "):a.replace(/ ()?$/," ")})(o,n.getRng(),e,t.schema):e},Fl=(t,e)=>{if(t.selection.isEditable()){const{content:n,details:o}=(r=>{if("string"!=typeof r){const s=H.extend({paste:r.paste,data:{paste:r.paste}},r);return{content:r.content,details:s}}return{content:r,details:{}}})(e);Qu(t,{...o,content:$O(t,n),format:"html",set:!1,selection:!0}).each(r=>{const s=(i=r.content,l=o,rm(t).editor.insertContent(i,l));var i,l;Ju(t,s,r),t.addVisual()})}},qO={"font-size":"size","font-family":"face"},VO=Ja("font"),cE=t=>(e,n)=>C.from(n).map(k).filter(Fe).bind(o=>{return(r=t,s=e,a=o.dom,Au(k(a),i=>{return ei(l=i,r).orThunk(()=>VO(l)?Pt(qO,r).bind(d=>Hn(l,d)):C.none());var l},i=>kt(k(s),i))).or(((r,s)=>C.from(Ot.DOM.getStyle(s,r,!0)))(t,o.dom));var r,s,a}).getOr(""),WO=cE("font-size"),KO=En(t=>t.replace(/[\'\"\\]/g,"").replace(/,\s+/g,","),cE("font-family")),YO=t=>Ce(t.getBody()).bind(e=>{const n=e.container();return C.from(j(n)?n.parentNode:n)}),Cf=(t,e)=>{return n=t,o=Lf(C.some,e),(r=n,C.from(r.selection.getRng()).bind(s=>{const a=r.getBody();return s.startContainer===a&&0===s.startOffset?C.none():C.from(r.selection.getStart(!0))})).orThunk(J(YO,n)).map(k).filter(Fe).bind(o);var n,o,r},uE=(t,e)=>{if(/^[0-9.]+$/.test(e)){const n=parseInt(e,10);if(n>=1&&n<=7){const o=H.explode(t.options.get("font_size_style_values")),r=H.explode(t.options.get("font_size_classes"));return r.length>0?r[n-1]||e:o[n-1]||e}return e}return e},GO=t=>{const e=t.split(/\s*,\s*/);return Et(e,n=>-1===n.indexOf(" ")||le(n,'"')||le(n,"'")?n:`'${n}'`).join(",")},mE=(t,e)=>{const n=t.dom,o=t.selection.getRng(),r=e?t.selection.getStart():t.selection.getEnd(),s=e?o.startContainer:o.endContainer,a=Oa(n,s);if(!a||!a.isContentEditable)return;const i=e?De:Wn,l=ye(t);((d,c,u,m)=>{const p=d.dom,f=g=>p.isBlock(g)&&g.parentElement===u,h=f(c)?c:p.getParent(m,f,u);return C.from(h).map(k)})(t,r,a,s).each(d=>{const c=Ow(t,s,d.dom,a,!1,l);i(d,k(c)),t.selection.setCursorLocation(c,0),t.dispatch("NewBlock",{newBlock:c}),Ta(t,"insertParagraph")})},QO=["toggleview"],fE=t=>Rt(QO,t.toLowerCase());class gE{constructor(e){this.commands={state:{},exec:{},value:{}},this.editor=e}execCommand(e,n=!1,o,r){const s=this.editor,a=e.toLowerCase(),i=r?.skip_focus;if(s.removed||("mcefocus"!==a&&(/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(a)||i?Wc(d=s).each(c=>d.selection.setRng(c)):s.focus()),s.dispatch("BeforeExecCommand",{command:e,ui:n,value:o}).isDefaultPrevented()))return!1;var d;const l=this.commands.exec[a];return!!Nt(l)&&(l(a,n,o),s.dispatch("ExecCommand",{command:e,ui:n,value:o}),!0)}queryCommandState(e){if(!fE(e)&&this.editor.quirks.isHidden()||this.editor.removed)return!1;const n=e.toLowerCase(),o=this.commands.state[n];return!!Nt(o)&&o(n)}queryCommandValue(e){if(!fE(e)&&this.editor.quirks.isHidden()||this.editor.removed)return"";const n=e.toLowerCase(),o=this.commands.value[n];return Nt(o)?o(n):""}addCommands(e,n="exec"){const o=this.commands;Bt(e,(r,s)=>{U(s.toLowerCase().split(","),a=>{o[n][a]=r})})}addCommand(e,n,o){const r=e.toLowerCase();this.commands.exec[r]=(s,a,i)=>n.call(o??this.editor,a,i)}queryCommandSupported(e){const n=e.toLowerCase();return!!this.commands.exec[n]}addQueryStateHandler(e,n,o){this.commands.state[e.toLowerCase()]=()=>n.call(o??this.editor)}addQueryValueHandler(e,n,o){this.commands.value[e.toLowerCase()]=()=>n.call(o??this.editor)}}const ir="data-mce-contenteditable",wf=(t,e,n)=>{try{t.getDoc().execCommand(e,!1,String(n))}catch{}},Ul=(t,e)=>{t.dom.contentEditable=e?"true":"false"},lr=t=>t.readonly,pE=t=>{t.parser.addAttributeFilter("contenteditable",e=>{lr(t)&&U(e,n=>{n.attr(ir,n.attr("contenteditable")),n.attr("contenteditable","false")})}),t.serializer.addAttributeFilter(ir,e=>{lr(t)&&U(e,n=>{n.attr("contenteditable",n.attr(ir))})}),t.serializer.addTempAttr(ir)},JO=["copy"],ZO=H.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," ");class xf{static isNative(e){return!!ZO[e.toLowerCase()]}constructor(e){this.bindings={},this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||zt}fire(e,n){return this.dispatch(e,n)}dispatch(e,n){const o=e.toLowerCase(),r=Kd(o,n??{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(r);const s=this.bindings[o];if(s)for(let a=0,i=s.length;a{this.toggleEvent(l,!1),delete this.bindings[l]}),this;if(a){if(n){const i=hr(a,l=>l.func===n);a=i.fail,this.bindings[s]=a,U(i.pass,l=>{l.removed=!0})}else a.length=0;a.length||(this.toggleEvent(e,!1),delete this.bindings[s])}}}else Bt(this.bindings,(o,r)=>{this.toggleEvent(r,!1)}),this.bindings={};return this}once(e,n,o){return this.on(e,n,o,{once:!0})}has(e){e=e.toLowerCase();const n=this.bindings[e];return!(!n||0===n.length)}}const Ia=t=>(t._eventDispatcher||(t._eventDispatcher=new xf({scope:t,toggleEvent:(e,n)=>{xf.isNative(e)&&t.toggleNativeEvent&&t.toggleNativeEvent(e,n)}})),t._eventDispatcher),Ef={fire(t,e,n){return this.dispatch(t,e,n)},dispatch(t,e,n){const o=this;if(o.removed&&"remove"!==t&&"detach"!==t)return Kd(t.toLowerCase(),e??{},o);const r=Ia(o).dispatch(t,e);if(!1!==n&&o.parent){let s=o.parent();for(;s&&!r.isPropagationStopped();)s.dispatch(t,r,!1),s=s.parent?s.parent():void 0}return r},on(t,e,n){return Ia(this).on(t,e,n)},off(t,e){return Ia(this).off(t,e)},once(t,e){return Ia(this).once(t,e)},hasEventListeners(t){return Ia(this).has(t)}},zl=Ot.DOM;let dr;const jl=(t,e)=>{if("selectionchange"===e)return t.getDoc();if(!t.inline&&/^(?:mouse|touch|click|contextmenu|drop|dragover|dragend)/.test(e))return t.getDoc().documentElement;const n=Eh(t);return n?(t.eventRoot||(t.eventRoot=zl.select(n)[0]),t.eventRoot):t.getBody()},hE=(t,e,n)=>{var o;(o=t).hidden||lr(o)?lr(t)&&((o,r)=>{if("click"!==r.type||Y.metaKeyPressed(r))Rt(JO,r.type)&&o.dispatch(r.type,r);else{const s=k(r.target);(a=o,i=s,Bo(i,"a",l=>kt(l,k(a.getBody()))).bind(l=>Hn(l,"href"))).each(a=>{if(r.preventDefault(),/^#/.test(a)){const i=o.dom.select(`${a},[name="${Gf(a,"#")}"]`);i.length&&o.selection.scrollIntoView(i[0],!0)}else window.open(a,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes")})}var a,i})(t,n):t.dispatch(e,n)},bE=(t,e)=>{if(t.delegates||(t.delegates={}),t.delegates[e]||t.removed)return;const n=jl(t,e);if(Eh(t)){if(dr||(dr={},t.editorManager.on("removeEditor",()=>{t.editorManager.activeEditor||dr&&(Bt(dr,(r,s)=>{t.dom.unbind(jl(t,s))}),dr=null)})),dr[e])return;const o=r=>{const s=r.target,a=t.editorManager.get();let i=a.length;for(;i--;){const l=a[i].getBody();(l===s||zl.isChildOf(s,l))&&hE(a[i],e,r)}};dr[e]=o,zl.bind(n,e,o)}else{const o=r=>{hE(t,e,r)};zl.bind(n,e,o),t.delegates[e]=o}},vE={...Ef,bindPendingEventDelegates(){const t=this;H.each(t._pendingNativeEvents,e=>{bE(t,e)})},toggleNativeEvent(t,e){const n=this;"focus"!==t&&"blur"!==t&&(n.removed||(e?n.initialized?bE(n,t):n._pendingNativeEvents?n._pendingNativeEvents.push(t):n._pendingNativeEvents=[t]:n.initialized&&n.delegates&&(n.dom.unbind(jl(n,t),t,n.delegates[t]),delete n.delegates[t])))},unbindAllNativeEvents(){const t=this,e=t.getBody(),n=t.dom;t.delegates&&(Bt(t.delegates,(o,r)=>{t.dom.unbind(jl(t,r),r,o)}),delete t.delegates),!t.inline&&e&&n&&(e.onload=null,n.unbind(t.getWin()),n.unbind(t.getDoc())),n&&(n.unbind(e),n.unbind(t.getContainer()))}},tB=t=>at(t)?{value:t.split(/[ ,]/),valid:!0}:pr(t,at)?{value:t,valid:!0}:{valid:!1,message:"The value must be a string[] or a comma/space separated string."},yE=(t,e)=>t+(hs(e.message)?"":`. ${e.message}`),CE=t=>t.valid,_f=(t,e,n="")=>{const o=e(t);return _o(o)?o?{value:t,valid:!0}:{valid:!1,message:n}:o},eB=["design","readonly"],wE=(t,e,n,o)=>{const r=n[e.get()],s=n[o];try{s.activate()}catch(a){return void console.error(`problem while activating editor mode ${o}:`,a)}var a;r.deactivate(),r.editorReadOnly!==s.editorReadOnly&&((a,i)=>{const l=k(a.getBody());var d,c,u;u=i,md(d=l,c="mce-content-readonly")&&!u?ys(d,c):u&&xr(d,c),i?(a.selection.controlSelection.hideResizeRect(),a._selectionOverrides.hideFakeCaret(),(d=>{C.from(d.selection.getNode()).each(c=>{c.removeAttribute("data-mce-selected")})})(a),a.readonly=!0,Ul(l,!1),U(ve(l,'*[contenteditable="true"]'),d=>{de(d,ir,"true"),Ul(d,!1)})):(a.readonly=!1,a.hasEditableRoot()&&Ul(l,!0),U(ve(l,`*[${ir}="true"]`),d=>{ce(d,ir),Ul(d,!0)}),wf(a,"StyleWithCSS",!1),wf(a,"enableInlineTableEditing",!1),wf(a,"enableObjectResizing",!1),n0(a)&&a.focus(),(d=>{d.selection.setRng(d.selection.getRng())})(a),a.nodeChanged())})(t,s.editorReadOnly),e.set(o),(a=t).dispatch("SwitchMode",{mode:o})},kf=H.each,Sf=H.explode,nB={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},xE=H.makeMap("alt,ctrl,shift,meta,access"),oB=t=>{const e={},n=_t.os.isMacOS()||_t.os.isiOS();kf(Sf(t.toLowerCase(),"+"),s=>{s in xE?e[s]=!0:/^[0-9]{2,}$/.test(s)?e.keyCode=parseInt(s,10):(e.charCode=s.charCodeAt(0),e.keyCode=nB[s]||s.toUpperCase().charCodeAt(0))});const o=[e.keyCode];let r;for(r in xE)e[r]?o.push(r):e[r]=!1;return e.id=o.join(","),e.access&&(e.alt=!0,n?e.ctrl=!0:e.shift=!0),e.meta&&(n?e.meta=!0:(e.ctrl=!0,e.meta=!1)),e};class EE{constructor(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;const n=this;e.on("keyup keypress keydown",o=>{!n.hasModifier(o)&&!n.isFunctionKey(o)||o.isDefaultPrevented()||(kf(n.shortcuts,r=>{n.matchShortcut(o,r)&&(n.pendingPatterns=r.subpatterns.slice(0),"keydown"===o.type&&n.executeShortcutAction(r))}),n.matchShortcut(o,n.pendingPatterns[0])&&(1===n.pendingPatterns.length&&"keydown"===o.type&&n.executeShortcutAction(n.pendingPatterns[0]),n.pendingPatterns.shift()))})}add(e,n,o,r){const s=this,a=s.normalizeCommandFunc(o);return kf(Sf(H.trim(e)),i=>{const l=s.createShortcut(i,n,a,r);s.shortcuts[l.id]=l}),!0}remove(e){const n=this.createShortcut(e);return!!this.shortcuts[n.id]&&(delete this.shortcuts[n.id],!0)}normalizeCommandFunc(e){const n=this,o=e;return"string"==typeof o?()=>{n.editor.execCommand(o,!1,null)}:H.isArray(o)?()=>{n.editor.execCommand(o[0],o[1],o[2])}:o}createShortcut(e,n,o,r){const s=H.map(Sf(e,">"),oB);return s[s.length-1]=H.extend(s[s.length-1],{func:o,scope:r||this.editor}),H.extend(s[0],{desc:this.editor.translate(n),subpatterns:s.slice(1)})}hasModifier(e){return e.altKey||e.ctrlKey||e.metaKey}isFunctionKey(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123}matchShortcut(e,n){return!!n&&n.ctrl===e.ctrlKey&&n.meta===e.metaKey&&n.alt===e.altKey&&n.shift===e.shiftKey&&!!(e.keyCode===n.keyCode||e.charCode&&e.charCode===n.charCode)&&(e.preventDefault(),!0)}executeShortcutAction(e){return e.func?e.func.call(e.scope):null}}const rB=()=>{const t=(()=>{const e={},n={},o={},r={},s={},a={},i={},l={},d=(c,u)=>(m,p)=>{c[m.toLowerCase()]={...p,type:u}};return{addButton:d(e,"button"),addGroupToolbarButton:d(e,"grouptoolbarbutton"),addToggleButton:d(e,"togglebutton"),addMenuButton:d(e,"menubutton"),addSplitButton:d(e,"splitbutton"),addMenuItem:d(n,"menuitem"),addNestedMenuItem:d(n,"nestedmenuitem"),addToggleMenuItem:d(n,"togglemenuitem"),addAutocompleter:d(o,"autocompleter"),addContextMenu:d(s,"contextmenu"),addContextToolbar:d(a,"contexttoolbar"),addContextForm:d(a,"contextform"),addSidebar:d(i,"sidebar"),addView:d(l,"views"),addIcon:(c,u)=>r[c.toLowerCase()]=u,getAll:()=>({buttons:e,menuItems:n,icons:r,popups:o,contextMenus:s,contextToolbars:a,sidebars:i,views:l})}})();return{addAutocompleter:t.addAutocompleter,addButton:t.addButton,addContextForm:t.addContextForm,addContextMenu:t.addContextMenu,addContextToolbar:t.addContextToolbar,addIcon:t.addIcon,addMenuButton:t.addMenuButton,addMenuItem:t.addMenuItem,addNestedMenuItem:t.addNestedMenuItem,addSidebar:t.addSidebar,addSplitButton:t.addSplitButton,addToggleButton:t.addToggleButton,addGroupToolbarButton:t.addGroupToolbarButton,addToggleMenuItem:t.addToggleMenuItem,addView:t.addView,getAll:t.getAll}},cr=Ot.DOM,_E=H.extend,sB=H.each;class Hl{constructor(e,n,o){this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.composing=!1,this.destroyed=!1,this.hasHiddenInput=!1,this.iframeElement=null,this.initialized=!1,this.readonly=!1,this.removed=!1,this.startContent="",this._pendingNativeEvents=[],this._skinLoaded=!1,this._editableRoot=!0,this.editorManager=o,this.documentBaseUrl=o.documentBaseURL,_E(this,vE);const r=this;this.id=e,this.hidden=!1;const s=((t,e,n,o,r)=>{var s;const a=t?{mobile:UO(null!==(s=r.mobile)&&void 0!==s?s:{},e)}:{},i=((t,e)=>{const n=((s,a)=>{const i={},l={};return Hf(s,(d,c)=>Rt(t,c),nd(i),nd(l)),{t:i,f:l}})(e);return r=n.f,{sections:W(n.t),options:W(r)};var r})(["mobile"],Fm(a,r)),l=H.extend(n,o,i.options(),t&&yf(i,"mobile")?((d,c,u={})=>{const m=d.sections(),p=Pt(m,c).getOr({});return H.extend({},u,p)})(i,"mobile"):{},{external_plugins:zO(o,i.options())});return((d,c,u,m)=>{const p=Ma(u.forced_plugins),f=Ma(m.plugins),h=yf(v=c,"mobile")?v.sections().mobile:{},g=((v,y,x,w)=>v&&yf(y,"mobile")?w:x)(d,c,f,h.plugins?Ma(h.plugins):f),b=((v,y)=>[...Ma(v),...Ma(y)])(p,g);var v;return H.extend(m,{forced_plugins:p,plugins:b})})(t,i,o,l)})(dE||IO,dE,f=n,o.defaultOptions,f);var f;this.options=((p,f)=>{const h={},g={},b=(y,x,w)=>{const E=_f(x,w);return CE(E)?(g[y]=E.value,!0):(console.warn(yE(`Invalid value passed for the ${y} option`,E)),!1)},v=y=>ht(h,y);return{register:(y,x)=>{const w=at(x.processor)?(N=>{const T=(()=>{switch(N){case"array":return Jt;case"boolean":return _o;case"function":return Nt;case"number":return fn;case"object":return we;case"string":return at;case"string[]":return tB;case"object[]":return O=>pr(O,we);case"regexp":return O=>Ha(O,RegExp);default:return Kt}})();return O=>_f(O,T,`The value must be a ${N}.`)})(x.processor):x.processor,E=((N,T,O)=>{if(!fe(T)){const P=_f(T,O);if(CE(P))return P.value;console.error(yE(`Invalid default value passed for the "${N}" option`,P))}})(y,x.default,w);h[y]={...x,default:E,processor:w},Pt(g,y).orThunk(()=>Pt(f,y)).each(N=>b(y,N,w))},isRegistered:v,get:y=>Pt(g,y).orThunk(()=>Pt(h,y).map(x=>x.default)).getOrUndefined(),set:(y,x)=>{if(v(y)){const w=h[y];return w.immutable?(console.error(`"${y}" is an immutable option and cannot be updated`),!1):b(y,x,w.processor)}return console.warn(`"${y}" is not a registered option. Ensure the option has been registered before setting a value.`),!1},unset:y=>{const x=v(y);return x&&delete g[y],x},isSet:y=>ht(g,y)}})(0,s),(p=>{const f=p.options.register;f("id",{processor:"string",default:p.id}),f("selector",{processor:"string"}),f("target",{processor:"object"}),f("suffix",{processor:"string"}),f("cache_suffix",{processor:"string"}),f("base_url",{processor:"string"}),f("referrer_policy",{processor:"string",default:""}),f("language_load",{processor:"boolean",default:!0}),f("inline",{processor:"boolean",default:!1}),f("iframe_attrs",{processor:"object",default:{}}),f("doctype",{processor:"string",default:""}),f("document_base_url",{processor:"string",default:p.documentBaseUrl}),f("body_id",{processor:fh(p,"tinymce"),default:"tinymce"}),f("body_class",{processor:fh(p),default:""}),f("content_security_policy",{processor:"string",default:""}),f("br_in_pre",{processor:"boolean",default:!0}),f("forced_root_block",{processor:h=>{const g=at(h)&&_n(h);return g?{value:h,valid:g}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),f("forced_root_block_attrs",{processor:"object",default:{}}),f("newline_behavior",{processor:h=>{const g=Rt(["block","linebreak","invert","default"],h);return g?{value:h,valid:g}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),f("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),f("no_newline_selector",{processor:"string",default:""}),f("keep_styles",{processor:"boolean",default:!0}),f("end_container_on_empty_block",{processor:h=>_o(h)||at(h)?{valid:!0,value:h}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),f("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),f("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),f("font_size_classes",{processor:"string",default:""}),f("automatic_uploads",{processor:"boolean",default:!0}),f("images_reuse_filename",{processor:"boolean",default:!1}),f("images_replace_blob_uris",{processor:"boolean",default:!0}),f("icons",{processor:"string",default:""}),f("icons_url",{processor:"string",default:""}),f("images_upload_url",{processor:"string",default:""}),f("images_upload_base_path",{processor:"string",default:""}),f("images_upload_credentials",{processor:"boolean",default:!1}),f("images_upload_handler",{processor:"function"}),f("language",{processor:"string",default:"en"}),f("language_url",{processor:"string",default:""}),f("entity_encoding",{processor:"string",default:"named"}),f("indent",{processor:"boolean",default:!0}),f("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),f("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),f("indent_use_margin",{processor:"boolean",default:!1}),f("indentation",{processor:"string",default:"40px"}),f("content_css",{processor:h=>{const g=!1===h||at(h)||pr(h,at);return g?at(h)?{value:Et(h.split(","),yr),valid:g}:Jt(h)?{value:h,valid:g}:!1===h?{value:[],valid:g}:{value:h,valid:g}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:uc(p)?[]:["default"]}),f("content_style",{processor:"string"}),f("content_css_cors",{processor:"boolean",default:!1}),f("font_css",{processor:h=>{const g=at(h)||pr(h,at);return g?{value:Jt(h)?h:Et(h.split(","),yr),valid:g}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),f("inline_boundaries",{processor:"boolean",default:!0}),f("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),f("object_resizing",{processor:h=>{const g=_o(h)||at(h);return g?!1===h||ic.isiPhone()||ic.isiPad()?{value:"",valid:g}:{value:!0===h?"table,img,figure.image,div,video,iframe":h,valid:g}:{valid:!1,message:"Must be boolean or a string"}},default:!dk}),f("resize_img_proportional",{processor:"boolean",default:!0}),f("event_root",{processor:"object"}),f("service_message",{processor:"string"}),f("theme",{processor:h=>!1===h||at(h)||Nt(h),default:"silver"}),f("theme_url",{processor:"string"}),f("formats",{processor:"object"}),f("format_empty_lines",{processor:"boolean",default:!1}),f("format_noneditable_selector",{processor:"string",default:""}),f("preview_styles",{processor:h=>{const g=!1===h||at(h);return g?{value:!1===h?"":h,valid:g}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),f("custom_ui_selector",{processor:"string",default:""}),f("hidden_input",{processor:"boolean",default:!0}),f("submit_patch",{processor:"boolean",default:!0}),f("encoding",{processor:"string"}),f("add_form_submit_trigger",{processor:"boolean",default:!0}),f("add_unload_trigger",{processor:"boolean",default:!0}),f("custom_undo_redo_levels",{processor:"number",default:0}),f("disable_nodechange",{processor:"boolean",default:!1}),f("readonly",{processor:"boolean",default:!1}),f("editable_root",{processor:"boolean",default:!0}),f("plugins",{processor:"string[]",default:[]}),f("external_plugins",{processor:"object"}),f("forced_plugins",{processor:"string[]"}),f("model",{processor:"string",default:p.hasPlugin("rtc")?"plugin":"dom"}),f("model_url",{processor:"string"}),f("block_unsupported_drop",{processor:"boolean",default:!0}),f("visual",{processor:"boolean",default:!0}),f("visual_table_class",{processor:"string",default:"mce-item-table"}),f("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),f("iframe_aria_text",{processor:"string",default:"Rich Text Area. Press ALT-0 for help."}),f("setup",{processor:"function"}),f("init_instance_callback",{processor:"function"}),f("url_converter",{processor:"function",default:p.convertURL}),f("url_converter_scope",{processor:"object",default:p}),f("urlconverter_callback",{processor:"function"}),f("allow_conditional_comments",{processor:"boolean",default:!1}),f("allow_html_data_urls",{processor:"boolean",default:!1}),f("allow_svg_data_urls",{processor:"boolean"}),f("allow_html_in_named_anchor",{processor:"boolean",default:!1}),f("allow_script_urls",{processor:"boolean",default:!1}),f("allow_unsafe_link_target",{processor:"boolean",default:!1}),f("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),f("fix_list_elements",{processor:"boolean",default:!1}),f("preserve_cdata",{processor:"boolean",default:!1}),f("remove_trailing_brs",{processor:"boolean",default:!0}),f("pad_empty_with_br",{processor:"boolean",default:!1}),f("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),f("element_format",{processor:"string",default:"html"}),f("entities",{processor:"string"}),f("schema",{processor:"string",default:"html5"}),f("convert_urls",{processor:"boolean",default:!0}),f("relative_urls",{processor:"boolean",default:!0}),f("remove_script_host",{processor:"boolean",default:!0}),f("custom_elements",{processor:"string"}),f("extended_valid_elements",{processor:"string"}),f("invalid_elements",{processor:"string"}),f("invalid_styles",{processor:lc}),f("valid_children",{processor:"string"}),f("valid_classes",{processor:lc}),f("valid_elements",{processor:"string"}),f("valid_styles",{processor:lc}),f("verify_html",{processor:"boolean",default:!0}),f("auto_focus",{processor:h=>at(h)||!0===h}),f("browser_spellcheck",{processor:"boolean",default:!1}),f("protect",{processor:"array"}),f("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),f("deprecation_warnings",{processor:"boolean",default:!0}),f("a11y_advanced_options",{processor:"boolean",default:!1}),f("api_key",{processor:"string"}),f("paste_block_drop",{processor:"boolean",default:!1}),f("paste_data_images",{processor:"boolean",default:!0}),f("paste_preprocess",{processor:"function"}),f("paste_postprocess",{processor:"function"}),f("paste_webkit_styles",{processor:"string",default:"none"}),f("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),f("paste_merge_formats",{processor:"boolean",default:!0}),f("smart_paste",{processor:"boolean",default:!0}),f("paste_as_text",{processor:"boolean",default:!1}),f("paste_tab_spaces",{processor:"number",default:4}),f("text_patterns",{processor:h=>pr(h,we)||!1===h?{value:uh(!1===h?[]:h),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}]}),f("text_patterns_lookup",{processor:h=>{return Nt(h)?{value:(g=h,b=>{const v=g(b);return uh(v)}),valid:!0}:{valid:!1,message:"Must be a single function"};var g},default:h=>[]}),f("noneditable_class",{processor:"string",default:"mceNonEditable"}),f("editable_class",{processor:"string",default:"mceEditable"}),f("noneditable_regexp",{processor:h=>pr(h,mh)?{value:h,valid:!0}:mh(h)?{value:[h],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),f("table_tab_navigation",{processor:"boolean",default:!0}),f("highlight_on_focus",{processor:"boolean",default:!1}),f("xss_sanitization",{processor:"boolean",default:!0}),f("details_initial_state",{processor:h=>{const g=Rt(["inherited","collapsed","expanded"],h);return g?{value:h,valid:g}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),f("details_serialized_state",{processor:h=>{const g=Rt(["inherited","collapsed","expanded"],h);return g?{value:h,valid:g}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),f("init_content_sync",{processor:"boolean",default:!1}),f("newdocument_content",{processor:"string",default:""}),f("force_hex_color",{processor:h=>{const g=["always","rgb_only","off"],b=Rt(g,h);return b?{value:h,valid:b}:{valid:!1,message:`Must be one of: ${g.join(", ")}.`}},default:"off"}),f("sandbox_iframes",{processor:"boolean",default:!1}),f("convert_unsafe_embeds",{processor:"boolean",default:!1}),p.on("ScriptsLoaded",()=>{f("directionality",{processor:"string",default:bn.isRtl()?"rtl":void 0}),f("placeholder",{processor:"string",default:ck.getAttrib(p.getElement(),"placeholder")})})})(r);const a=this.options.get;a("deprecation_warnings")&&((p,f)=>{((h,g)=>{const b=(t=>{const e=eC(t,WR),n=t.forced_root_block;return!1!==n&&""!==n||e.push("forced_root_block (false only)"),ko(e)})(h),v=(t=>nC(t,YR))(g),y=v.length>0,x=b.length>0,w="mobile"===g.theme;if(y||x||w){const E="\n- ",N=w?`\n\nThemes:${E}mobile`:"",T=y?`\n\nPlugins:${E}${v.join(E)}`:"",O=x?`\n\nOptions:${E}${b.join(E)}`:"";console.warn("The following deprecated features are currently enabled and have been removed in TinyMCE 6.0. These features will no longer work and should be removed from the TinyMCE configuration. See https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/ for more information."+N+T+O)}})(p,f),((h,g)=>{const b=(t=>eC(t,KR))(h),v=(t=>nC(t,tC.map(e=>e.name)))(g),y=v.length>0,x=b.length>0;if(y||x){const w="\n- ",E=y?`\n\nPlugins:${w}${v.map(ZR).join(w)}`:"",N=x?`\n\nOptions:${w}${b.join(w)}`:"";console.warn("The following deprecated features are currently enabled but will be removed soon."+E+N)}})(p,f)})(n,s);const i=a("suffix");i&&(o.suffix=i),this.suffix=o.suffix;const l=a("base_url");l&&o._setBaseUrl(l),this.baseUri=o.baseURI;const d=dc(r);d&&(Xn.ScriptLoader._setReferrerPolicy(d),Ot.DOM.styleSheetLoader._setReferrerPolicy(d));const c=kh(r);q(c)&&Ot.DOM.styleSheetLoader._setContentCssCors(c),xe.languageLoad=a("language_load"),xe.baseURL=o.baseURL,this.setDirty(!1),this.documentBaseURI=new un(gh(r),{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=uc(r),this.hasVisual=Zk(r),this.shortcuts=new EE(this),this.editorCommands=new gE(this),(t=>{var e;(t=>{(e=>{const n=o=>()=>{U("left,center,right,justify".split(","),r=>{o!==r&&e.formatter.remove("align"+r)}),"none"!==o&&(e.formatter.toggle("align"+o,void 0),e.nodeChanged())};e.editorCommands.addCommands({JustifyLeft:n("left"),JustifyCenter:n("center"),JustifyRight:n("right"),JustifyFull:n("justify"),JustifyNone:n("none")})})(t),(e=>{const n=o=>()=>{const r=e.selection,s=r.isCollapsed()?[e.dom.getParent(r.getNode(),e.dom.isBlock)]:r.getSelectedBlocks();return $t(s,a=>q(e.formatter.matchNode(a,o)))};e.editorCommands.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify")},"state")})(t)})(t),(e=t).editorCommands.addCommands({"Cut,Copy,Paste":n=>{const o=e.getDoc();let r;try{o.execCommand(n)}catch{r=!0}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){let s=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");(_t.os.isMacOS()||_t.os.isiOS())&&(s=s.replace(/Ctrl\+/g,"\u2318+")),e.notificationManager.open({text:s,type:"error"})}}}),(e=>{e.editorCommands.addCommands({mceAddUndoLevel:()=>{e.undoManager.add()},mceEndUndoLevel:()=>{e.undoManager.add()},Undo:()=>{e.undoManager.undo()},Redo:()=>{e.undoManager.redo()}})})(t),(e=>{e.editorCommands.addCommands({mceSelectNodeDepth:(n,o,r)=>{let s=0;e.dom.getParent(e.selection.getNode(),a=>!Z(a)||s++!==r||(e.selection.select(a),!1),e.getBody())},mceSelectNode:(n,o,r)=>{e.selection.select(r)},selectAll:()=>{const n=e.dom.getParent(e.selection.getStart(),an);if(n){const o=e.dom.createRng();o.selectNodeContents(n),e.selection.setRng(o)}}})})(t),(e=>{e.editorCommands.addCommands({mceCleanup:()=>{const n=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(n)},insertImage:(n,o,r)=>{Fl(e,e.dom.createHTML("img",{src:r}))},insertHorizontalRule:()=>{e.execCommand("mceInsertContent",!1,"
    ")},insertText:(n,o,r)=>{Fl(e,e.dom.encode(r))},insertHTML:(n,o,r)=>{Fl(e,r)},mceInsertContent:(n,o,r)=>{Fl(e,r)},mceSetContent:(n,o,r)=>{e.setContent(r)},mceReplaceContent:(n,o,r)=>{e.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceNewDocument:()=>{e.setContent(uS(e))}})})(t),(e=>{const n=(o,r,s)=>{const a=at(s)?{href:s}:s,i=e.dom.getParent(e.selection.getNode(),"a");we(a)&&at(a.href)&&(a.href=a.href.replace(/ /g,"%20"),i&&a.href||e.formatter.remove("link"),a.href&&e.formatter.apply("link",a,i))};e.editorCommands.addCommands({unlink:()=>{if(e.selection.isEditable()){if(e.selection.isCollapsed()){const o=e.dom.getParent(e.selection.getStart(),"a");return void(o&&e.dom.remove(o,!0))}e.formatter.remove("link")}},mceInsertLink:n,createLink:n})})(t),(e=>{e.editorCommands.addCommands({Indent:()=>{y1(e,"indent")},Outdent:()=>{C1(e)}}),e.editorCommands.addCommands({Outdent:()=>h1(e)},"state")})(t),(e=>{e.editorCommands.addCommands({InsertNewBlockBefore:()=>{mE(e,!0)},InsertNewBlockAfter:()=>{mE(e,!1)}})})(t),(e=>{e.editorCommands.addCommands({insertParagraph:()=>{Al(Lw,e)},mceInsertNewLine:(n,o,r)=>{Hw(e,r)},InsertLineBreak:(n,o,r)=>{Al(Fw,e)}})})(t),(e=>{var n;(n=e).editorCommands.addCommands({"InsertUnorderedList,InsertOrderedList":o=>{n.getDoc().execCommand(o);const r=n.dom.getParent(n.selection.getNode(),"ol,ul");if(r){const s=r.parentNode;if(s&&/^(H[1-6]|P|ADDRESS|PRE)$/.test(s.nodeName)){const a=n.selection.getBookmark();n.dom.split(s,r),n.selection.moveToBookmark(a)}}}}),(n=>{n.editorCommands.addCommands({"InsertUnorderedList,InsertOrderedList":o=>{const r=n.dom.getParent(n.selection.getNode(),"ul,ol");return r&&("insertunorderedlist"===o&&"UL"===r.tagName||"insertorderedlist"===o&&"OL"===r.tagName)}},"state")})(e)})(t),(e=>{(n=>{const o=(r,s)=>{n.formatter.toggle(r,s),n.nodeChanged()};n.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":r=>{o(r)},"ForeColor,HiliteColor":(r,s,a)=>{o(r,{value:a})},BackColor:(r,s,a)=>{o("hilitecolor",{value:a})},FontName:(r,s,a)=>{((i,l)=>{const d=uE(i,l);i.formatter.toggle("fontname",{value:GO(d)}),i.nodeChanged()})(n,a)},FontSize:(r,s,a)=>{var i;(i=n).formatter.toggle("fontsize",{value:uE(i,a)}),i.nodeChanged()},LineHeight:(r,s,a)=>{var i;(i=n).formatter.toggle("lineheight",{value:String(a)}),i.nodeChanged()},Lang:(r,s,a)=>{var i;o(r,{value:a.code,customValue:null!==(i=a.customCode)&&void 0!==i?i:null})},RemoveFormat:r=>{n.formatter.remove(r)},mceBlockQuote:()=>{o("blockquote")},FormatBlock:(r,s,a)=>{o(at(a)?a:"p")},mceToggleFormat:(r,s,a)=>{o(a)}})})(e),(n=>{const o=r=>n.formatter.match(r);n.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":r=>o(r),mceBlockQuote:()=>o("blockquote")},"state"),n.editorCommands.addQueryValueHandler("FontName",()=>{return Cf(r=n,s=>KO(r.getBody(),s.dom)).getOr("");var r}),n.editorCommands.addQueryValueHandler("FontSize",()=>{return Cf(r=n,s=>WO(r.getBody(),s.dom)).getOr("");var r}),n.editorCommands.addQueryValueHandler("LineHeight",()=>{return Cf(r=n,s=>{const a=k(r.getBody());return Au(s,l=>ei(l,"line-height"),J(kt,a)).getOrThunk(()=>{const l=parseFloat(Rn(s,"line-height")),d=parseFloat(Rn(s,"font-size"));return String(l/d)})}).getOr("");var r})})(e)})(t),(e=>{e.editorCommands.addCommands({mceRemoveNode:(n,o,r)=>{const s=r??e.selection.getNode();if(s!==e.getBody()){const a=e.selection.getBookmark();e.dom.remove(s,!0),e.selection.moveToBookmark(a)}},mcePrint:()=>{e.getWin().print()},mceFocus:(n,o,r)=>{var s;(s=e).removed||(!0===r?Qc(s):(i=>{const l=i.selection,d=i.getBody();let c=l.getRng();i.quirks.refreshContentEditable(),q(i.bookmark)&&!Zo(i)&&Wc(i).each(m=>{i.selection.setRng(m),c=m});const u=(m=i,p=l.getNode(),m.dom.getParent(p,f=>"true"===m.dom.getContentEditable(f)));var m,p;if(u&&i.dom.isChildOf(u,d))return Xc(u),e0(i,c),void Qc(i);i.inline||(_t.browser.isOpera()||Xc(d),i.getWin().focus()),(_t.browser.isFirefox()||i.inline)&&(Xc(d),e0(i,c)),Qc(i)})(s))},mceToggleVisualAid:()=>{e.hasVisual=!e.hasVisual,e.addVisual()}})})(t)})(this);const u=a("cache_suffix");u&&(_t.cacheSuffix=u.replace(/^[\?\&]+/,"")),this.ui={registry:rB(),styleSheetLoader:void 0,show:vt,hide:vt,setEnabled:vt,isEnabled:Kt},this.mode=(p=>{const f=ae("design"),h=ae({design:{activate:vt,deactivate:vt,editorReadOnly:!1},readonly:{activate:vt,deactivate:vt,editorReadOnly:!0}});return(g=p).serializer?pE(g):g.on("PreInit",()=>{pE(g)}),(g=>{g.on("ShowCaret",b=>{lr(g)&&b.preventDefault()}),g.on("ObjectSelected",b=>{lr(g)&&b.preventDefault()})})(p),{isReadOnly:()=>lr(p),set:g=>((b,v,y,x)=>{if(x!==y.get()){if(!ht(v,x))throw new Error(`Editor mode '${x}' is invalid`);b.initialized?wE(b,y,v,x):b.on("init",()=>wE(b,y,v,x))}})(p,h.get(),f,g),get:()=>f.get(),register:(g,b)=>{h.set(((v,y,x)=>{if(Rt(eB,y))throw new Error(`Cannot override default mode ${y}`);return{...v,[y]:{...x,deactivate:()=>{try{x.deactivate()}catch(w){console.error(`problem while deactivating editor mode ${y}:`,w)}}}}})(h.get(),g,b))}};var g})(r),o.dispatch("SetupEditor",{editor:this});const m=nS(r);Nt(m)&&m.call(r,r)}render(){(e=>{const n=e.id;bn.setCode(yh(e));const o=()=>{ar.unbind(window,"ready",o),e.render()};if(!jo.Event.domLoaded)return void ar.bind(window,"ready",o);if(!e.getElement())return;const r=k(e.getElement()),s=vg(r);var l;e.on("remove",()=>{Uf(r.dom.attributes,i=>ce(r,i.name)),jn(r,s)}),e.ui.styleSheetLoader=up.forElement(r,{contentCssCors:kh(l=e),referrerPolicy:dc(l)}),uc(e)?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");const a=e.getElement().form||ar.getParent(n,"form");a&&(e.formElement=a,qk(e)&&!Ed(e.getElement())&&(ar.insertAfter(ar.create("input",{type:"hidden",name:n}),n),e.hasHiddenInput=!0),e.formEventDelegate=i=>{e.dispatch(i.type,i)},ar.bind(a,"submit reset",e.formEventDelegate),e.on("reset",()=>{e.resetContent()}),!Vk(e)||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=()=>(e.editorManager.triggerSave(),e.setDirty(!1),a._mceOldSubmit(a)))),e.windowManager=aC(e),e.notificationManager=sC(e),"xml"===e.options.get("encoding")&&e.on("GetContent",i=>{i.save&&(i.content=ar.encode(i.content))}),Wk(e)&&e.on("submit",()=>{e.initialized&&e.save()}),Kk(e)&&(e._beforeUnload=()=>{!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),((t,e)=>{const n=Xn.ScriptLoader,o=()=>{!t.removed&&(r=>{const s=Dr(r);return!at(s)||q(rr.get(s))})(t)&&(r=>{const s=cc(r);return q(Kr.get(s))})(t)&&LO(t)};((r,s)=>{const a=Dr(r);if(at(a)&&!aE(a)&&!ht(rr.urls,a)){const i=Ik(r),l=i?r.documentBaseURI.toAbsolute(i):`themes/${a}/theme${s}.js`;rr.load(a,l).catch(()=>{va(r,"ThemeLoadError",ya("theme",l,a))})}})(t,e),((r,s)=>{const a=cc(r);if("plugin"!==a&&!ht(Kr.urls,a)){const i=Fk(r),l=at(i)?r.documentBaseURI.toAbsolute(i):`models/${a}/model${s}.js`;Kr.load(a,l).catch(()=>{va(r,"ModelLoadError",ya("model",l,a))})}})(t,e),((r,s)=>{const a=yh(s),i=Rk(s);if(!bn.hasCode(a)&&"en"!==a){const l=_n(i)?i:`${s.editorManager.baseURL}/langs/${a}.js`;r.add(l).catch(()=>{va(s,"LanguageLoadError",ya("language",l,a))})}})(n,t),((r,s,a)=>{const i=iE(s,"default",a),l=(d=s,C.from(xk(d)).filter(_n).map(c=>({url:c,name:C.none()}))).orThunk(()=>iE(s,vh(s),""));var d;U((d=>{const c=[],u=m=>{c.push(m)};for(let m=0;m{r.add(d.url).catch(()=>{var c,u,m;c=s,u=d.url,m=d.name.getOrUndefined(),va(c,"IconsLoadError",ya("icons",u,m))})})})(n,t,e),((r,s)=>{const a=(i,l)=>{Yr.load(i,l).catch(()=>{va(r,"PluginLoadError",ya("plugin",l,i))})};Bt(Qk(r),(i,l)=>{a(l,i),r.options.set("plugins",Ei(r).concat(l))}),U(Ei(r),i=>{!(i=H.trim(i))||Yr.urls[i]||aE(i)||a(i,`plugins/${i}/plugin${s}.js`)})})(t,e),n.loadQueue().then(o,o)})(e,e.suffix)})(this)}focus(e){this.execCommand("mceFocus",!1,e)}hasFocus(){return Zo(this)}translate(e){return bn.translate(e)}getParam(e,n,o){const r=this.options;return r.isRegistered(e)||(q(o)?r.register(e,{processor:o,default:n}):r.register(e,{processor:Kt,default:n})),r.isSet(e)||fe(n)?r.get(e):n}hasPlugin(e,n){return!(!Rt(Ei(this),e)||n&&void 0===Yr.get(e))}nodeChanged(e){this._nodeChangeDispatcher.nodeChanged(e)}addCommand(e,n,o){this.editorCommands.addCommand(e,n,o)}addQueryStateHandler(e,n,o){this.editorCommands.addQueryStateHandler(e,n,o)}addQueryValueHandler(e,n,o){this.editorCommands.addQueryValueHandler(e,n,o)}addShortcut(e,n,o,r){this.shortcuts.add(e,n,o,r)}execCommand(e,n,o,r){return this.editorCommands.execCommand(e,n,o,r)}queryCommandState(e){return this.editorCommands.queryCommandState(e)}queryCommandValue(e){return this.editorCommands.queryCommandValue(e)}queryCommandSupported(e){return this.editorCommands.queryCommandSupported(e)}show(){const e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(cr.show(e.getContainer()),cr.hide(e.id)),e.load(),e.dispatch("show"))}hide(){const e=this;e.hidden||(e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(cr.hide(e.getContainer()),cr.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.dispatch("hide"))}isHidden(){return this.hidden}setProgressState(e,n){this.dispatch("ProgressState",{state:e,time:n})}load(e={}){const n=this,o=n.getElement();if(n.removed)return"";if(o){const r={...e,load:!0},s=Ed(o)?o.value:o.innerHTML,a=n.setContent(s,r);return r.no_events||n.dispatch("LoadContent",{...r,element:o}),a}return""}save(e={}){const n=this;let o=n.getElement();if(!o||!n.initialized||n.removed)return"";const r={...e,save:!0,element:o};let s=n.getContent(r);const a={...r,content:s};if(a.no_events||n.dispatch("SaveContent",a),"raw"===a.format&&n.dispatch("RawSaveContent",a),s=a.content,Ed(o))o.value=s;else{!e.is_removing&&n.inline||(o.innerHTML=s);const i=cr.getParent(n.id,"form");i&&sB(i.elements,l=>l.name!==n.id||(l.value=s,!1))}return a.element=r.element=o=null,!1!==a.set_dirty&&n.setDirty(!1),s}setContent(e,n){return sm(this,e,n)}getContent(e){return((n,o={})=>{const r=(s=o,a=o.format?o.format:"html",{...s,format:a,get:!0,getInner:!0});var s,a;return Dy(n,r).fold(Ne,s=>{const a=(l=s,rm(n).editor.getContent(l));var l;return Ly(n,a,s)})})(this,e)}insertContent(e,n){n&&(e=_E({content:e},n)),this.execCommand("mceInsertContent",!1,e)}resetContent(e){void 0===e?sm(this,this.startContent,{format:"raw"}):sm(this,e),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()}isDirty(){return!this.isNotDirty}setDirty(e){const n=!this.isNotDirty;this.isNotDirty=!e,e&&e!==n&&this.dispatch("dirty")}getContainer(){const e=this;return e.container||(e.container=e.editorContainer||cr.get(e.id+"_parent")),e.container}getContentAreaContainer(){return this.contentAreaContainer}getElement(){return this.targetElm||(this.targetElm=cr.get(this.id)),this.targetElm}getWin(){const e=this;if(!e.contentWindow){const n=e.iframeElement;n&&(e.contentWindow=n.contentWindow)}return e.contentWindow}getDoc(){const e=this;if(!e.contentDocument){const n=e.getWin();n&&(e.contentDocument=n.document)}return e.contentDocument}getBody(){var e,n;const o=this.getDoc();return null!==(n=null!==(e=this.bodyElement)&&void 0!==e?e:o?.body)&&void 0!==n?n:null}convertURL(e,n,o){const r=this,s=r.options.get,a=rS(r);if(Nt(a))return a.call(r,e,o,!0,n);if(!s("convert_urls")||"link"===o||we(o)&&"LINK"===o.nodeName||0===e.indexOf("file:")||0===e.length)return e;const i=new un(e);return"http"!==i.protocol&&"https"!==i.protocol&&""!==i.protocol?e:s("relative_urls")?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,s("remove_script_host"))}addVisual(e){((n,o)=>{var s;s=o,Wt(this).editor.addVisual(s)})(0,e)}setEditableRoot(e){var n,o;(n=this)._editableRoot!==(o=e)&&(n._editableRoot=o,n.readonly||(n.getBody().contentEditable=String(n.hasEditableRoot()),n.nodeChanged()),n.dispatch("EditableRootStateChange",{state:o}))}hasEditableRoot(){return this._editableRoot}remove(){(e=>{if(!e.removed){const{_selectionOverrides:n,editorUpload:o}=e,r=e.getBody(),s=e.getElement();r&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&q(s?.nextSibling)&&rl.remove(s.nextSibling),e.dispatch("remove"),e.editorManager.remove(e),!e.inline&&r&&rl.setStyle((a=e).id,"display",a.orgDisplay),(a=>{a.dispatch("detach")})(e),rl.remove(e.getContainer()),sl(n),sl(o),e.destroy()}var a})(this)}destroy(e){((n,o)=>{const{selection:r,dom:s}=n;n.destroyed||(o||n.removed?(o||(n.editorManager.off("beforeunload",n._beforeUnload),n.theme&&n.theme.destroy&&n.theme.destroy(),sl(r),sl(s)),(a=>{const i=a.formElement;i&&(i._mceOldSubmit&&(i.submit=i._mceOldSubmit,delete i._mceOldSubmit),rl.unbind(i,"submit reset",a.formEventDelegate))})(n),(a=>{const i=a;i.contentAreaContainer=i.formElement=i.container=i.editorContainer=null,i.bodyElement=i.contentDocument=i.contentWindow=null,i.iframeElement=i.targetElm=null;const l=a.selection;l&&(i.selection=l.win=l.dom=l.dom.doc=null)})(n),n.destroyed=!0):n.remove())})(this,e)}uploadImages(){return this.editorUpload.uploadImages()}_scanForImages(){return this.editorUpload.scanForImages()}}const os=Ot.DOM,$l=H.each;let ql,kE=!1,Te=[];const Vl=t=>{const e=t.type;$l(Eo.get(),n=>{switch(e){case"scroll":n.dispatch("ScrollWindow",t);break;case"resize":n.dispatch("ResizeWindow",t)}})},SE=t=>{if(t!==kE){const e=Ot.DOM;t?(e.bind(window,"resize",Vl),e.bind(window,"scroll",Vl)):(e.unbind(window,"resize",Vl),e.unbind(window,"scroll",Vl)),kE=t}},NE=t=>{const e=Te;return Te=gt(Te,n=>t!==n),Eo.activeEditor===t&&(Eo.activeEditor=Te.length>0?Te[0]:null),Eo.focusedEditor===t&&(Eo.focusedEditor=null),e.length!==Te.length},aB="CSS1Compat"!==document.compatMode,Eo={...Ef,baseURI:null,baseURL:null,defaultOptions:{},documentBaseURL:null,suffix:null,majorVersion:"6",minorVersion:"8.3",releaseDate:"2024-02-08",i18n:bn,activeEditor:null,focusedEditor:null,setup(){const t=this;let e="",n="",o=un.getDocumentBaseUrl(document.location);/^[^:]+:\/\/\/?[^\/]+\//.test(o)&&(o=o.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(o)||(o+="/"));const r=window.tinymce||window.tinyMCEPreInit;if(r)e=r.base||r.baseURL,n=r.suffix;else{const a=document.getElementsByTagName("script");for(let i=0;i{xe.PluginManager.urls[s]=r})},init(t){const e=this;let n;const o=H.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");let r=a=>{n=a};const s=()=>{let a=0;const i=[];let l;var d;os.unbind(window,"ready",s),(d=>{const c=t.onpageload;c&&c.apply(e,[])})(),l=((d,c)=>{const u=[],m=Nt(c)?p=>$t(u,f=>c(f,p)):p=>Rt(u,p);for(let p=0,f=d.length;p{var c;(c=e.get(d.id))&&c.initialized&&!(c.getContainer()||c.getBody()).parentNode&&(NE(c),c.unbindAllNativeEvents(),c.destroy(!0),c.removed=!0)}),l=H.grep(l,d=>!e.get(d.id)),0===l.length?r([]):$l(l,d=>{t.inline&&d.tagName.toLowerCase()in o?ll("Could not initialize inline editor on invalid inline target element",d):((c,u,m)=>{const p=new Hl(c,u,e);i.push(p),p.on("init",()=>{++a===l.length&&r(i)}),p.targetElm=p.targetElm||m,p.render()})((c=>{let u=c.id;return u||(u=Pt(c,"name").filter(m=>!os.get(m)).getOrThunk(os.uniqueId),c.setAttribute("id",u)),u})(d),t,d)})};return os.bind(window,"ready",s),new Promise(a=>{n?a(n):r=i=>{a(i)}})},get(t){return 0===arguments.length?Te.slice(0):at(t)?Zt(Te,e=>e.id===t).getOr(null):fn(t)&&Te[t]?Te[t]:null},add(t){const e=this,n=e.get(t.id);return n===t||(null===n&&Te.push(t),SE(!0),e.activeEditor=t,e.dispatch("AddEditor",{editor:t}),ql||(ql=o=>{const r=e.dispatch("BeforeUnload");if(r.returnValue)return o.preventDefault(),o.returnValue=r.returnValue,r.returnValue},window.addEventListener("beforeunload",ql))),t},createEditor(t,e){return this.add(new Hl(t,e,this))},remove(t){const e=this;let n;if(t){if(!at(t))return n=t,Se(e.get(n.id))?null:(NE(n)&&e.dispatch("RemoveEditor",{editor:n}),0===Te.length&&window.removeEventListener("beforeunload",ql),n.remove(),SE(Te.length>0),n);$l(os.select(t),o=>{n=e.get(o.id),n&&e.remove(n)})}else for(let o=Te.length-1;o>=0;o--)e.remove(Te[o])},execCommand(t,e,n){var o;const r=this,s=we(n)?null!==(o=n.id)&&void 0!==o?o:n.index:n;switch(t){case"mceAddEditor":return r.get(s)||new Hl(s,n.options,r).render(),!0;case"mceRemoveEditor":{const a=r.get(s);return a&&a.remove(),!0}case"mceToggleEditor":{const a=r.get(s);return a?(a.isHidden()?a.show():a.hide(),!0):(r.execCommand("mceAddEditor",!1,n),!0)}}return!!r.activeEditor&&r.activeEditor.execCommand(t,e,n)},triggerSave:()=>{$l(Te,t=>{t.save()})},addI18n:(t,e)=>{bn.add(t,e)},translate:t=>bn.translate(t),setActive(t){const e=this.activeEditor;this.activeEditor!==t&&(e&&e.dispatch("deactivate",{relatedTarget:t}),t.dispatch("activate",{relatedTarget:e})),this.activeEditor=t},_setBaseUrl(t){this.baseURL=new un(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new un(this.baseURL)}};Eo.setup();const iB=(()=>{const t=mo();return{FakeClipboardItem:e=>({items:e,types:Pe(e),getType:n=>Pt(e,n).getOrUndefined()}),write:e=>{t.set(e)},read:()=>t.get().getOrUndefined(),clear:t.clear}})(),RE=Math.min,rs=Math.max,Wl=Math.round,AE=(t,e,n)=>{let o=e.x,r=e.y;const s=t.w,a=t.h,i=e.w,l=e.h,d=(n||"").split("");return"b"===d[0]&&(r+=l),"r"===d[1]&&(o+=i),"c"===d[0]&&(r+=Wl(l/2)),"c"===d[1]&&(o+=Wl(i/2)),"b"===d[3]&&(r-=a),"r"===d[4]&&(o-=s),"c"===d[3]&&(r-=Wl(a/2)),"c"===d[4]&&(o-=Wl(s/2)),ss(o,r,s,a)},ss=(t,e,n,o)=>({x:t,y:e,w:n,h:o}),lB={inflate:(t,e,n)=>ss(t.x-e,t.y-n,t.w+2*e,t.h+2*n),relativePosition:AE,findBestRelativePosition:(t,e,n,o)=>{for(let r=0;r=n.x&&s.x+s.w<=n.w+n.x&&s.y>=n.y&&s.y+s.h<=n.h+n.y)return o[r]}return null},intersect:(t,e)=>{const n=rs(t.x,e.x),o=rs(t.y,e.y),r=RE(t.x+t.w,e.x+e.w),s=RE(t.y+t.h,e.y+e.h);return r-n<0||s-o<0?null:ss(n,o,r-n,s-o)},clamp:(t,e,n)=>{let o=t.x,r=t.y,s=t.x+t.w,a=t.y+t.h;const i=e.x+e.w,l=e.y+e.h,d=rs(0,e.x-o),c=rs(0,e.y-r),u=rs(0,s-i),m=rs(0,a-l);return o+=d,r+=c,n&&(s+=d,a+=c,o-=u,r-=m),s-=u,a-=m,ss(o,r,s-o,a-r)},create:ss,fromClientRect:t=>ss(t.left,t.top,t.width,t.height)},dB=(()=>{const t={},e={},n={};return{load:(o,r)=>{const s=`Script at URL "${r}" failed to load`,a=`Script at URL "${r}" did not call \`tinymce.Resource.add('${o}', data)\` within 1 second`;if(void 0!==t[o])return t[o];{const i=new Promise((l,d)=>{const c=((u,m,p=1e3)=>{let f=!1,h=null;const g=y=>(...x)=>{f||(f=!0,null!==h&&(clearTimeout(h),h=null),y.apply(null,x))},b=g(u),v=g(m);return{start:(...y)=>{f||null!==h||(h=setTimeout(()=>v.apply(null,y),p))},resolve:b,reject:v}})(l,d);e[o]=c.resolve,Xn.ScriptLoader.loadScript(r).then(()=>c.start(a),()=>c.reject(s))});return t[o]=i,i}},add:(o,r)=>{void 0!==e[o]&&(e[o](r),delete e[o]),t[o]=Promise.resolve(r),n[o]=r},has:o=>o in n,get:o=>n[o],unload:o=>{delete t[o]}}})();let Fa;try{const t="__storage_test__";Fa=window.localStorage,Fa.setItem(t,t),Fa.removeItem(t)}catch{Fa=(()=>{let e={},n=[];const o={getItem:r=>e[r]||null,setItem:(r,s)=>{n.push(r),e[r]=String(s)},key:r=>n[r],removeItem:r=>{n=n.filter(s=>s===r),delete e[r]},clear:()=>{n=[],e={}},length:0};return Object.defineProperty(o,"length",{get:()=>n.length,configurable:!1,enumerable:!1}),o})()}const cB={geom:{Rect:lB},util:{Delay:Ye,Tools:H,VK:Y,URI:un,EventDispatcher:xf,Observable:Ef,I18n:bn,LocalStorage:Fa,ImageUploader:t=>{const e=dC(),n=uC(t,e);return{upload:(o,r=!0)=>n.upload(o,r?cC(t):void 0)}}},dom:{EventUtils:jo,TreeWalker:te,TextSeeker:qo,DOMUtils:Ot,ScriptLoader:Xn,RangeUtils:Jo,Serializer:Zy,StyleSheetLoader:cp,ControlSelection:Ob,BookmarkManager:ra,Selection:Jy,Event:jo.Event},html:{Styles:Wd,Entities:co,Node:Ee,Schema:uo,DomParser:Wr,Writer:w0,Serializer:bo},Env:_t,AddOnManager:xe,Annotator:xb,Formatter:gC,UndoManager:hC,EditorCommands:gE,WindowManager:aC,NotificationManager:sC,EditorObservable:vE,Shortcuts:EE,Editor:Hl,FocusManager:t0,EditorManager:Eo,DOM:Ot.DOM,ScriptLoader:Xn.ScriptLoader,PluginManager:Yr,ThemeManager:rr,ModelManager:Kr,IconManager:al,Resource:dB,FakeClipboard:iB,trim:H.trim,isArray:H.isArray,is:H.is,toArray:H.toArray,makeMap:H.makeMap,each:H.each,map:H.map,grep:H.grep,inArray:H.inArray,extend:H.extend,walk:H.walk,resolve:H.resolve,explode:H.explode,_addCacheSuffix:H._addCacheSuffix},TE=H.extend(Eo,cB);(t=>{window.tinymce=t,window.tinyMCE=t})(TE),(t=>{if("object"==typeof module)try{module.exports=t}catch{}})(TE)}(); \ No newline at end of file diff --git a/www/svg/chevron-collapse-outline.svg b/www/svg/chevron-collapse-outline.svg new file mode 100644 index 00000000..a5c1ea53 --- /dev/null +++ b/www/svg/chevron-collapse-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/svg/chevron-collapse-sharp.svg b/www/svg/chevron-collapse-sharp.svg new file mode 100644 index 00000000..90de3043 --- /dev/null +++ b/www/svg/chevron-collapse-sharp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/svg/chevron-collapse.svg b/www/svg/chevron-collapse.svg new file mode 100644 index 00000000..7edb2b23 --- /dev/null +++ b/www/svg/chevron-collapse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/svg/chevron-expand-outline.svg b/www/svg/chevron-expand-outline.svg new file mode 100644 index 00000000..32fd688f --- /dev/null +++ b/www/svg/chevron-expand-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/svg/chevron-expand-sharp.svg b/www/svg/chevron-expand-sharp.svg new file mode 100644 index 00000000..81f93d88 --- /dev/null +++ b/www/svg/chevron-expand-sharp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/svg/chevron-expand.svg b/www/svg/chevron-expand.svg new file mode 100644 index 00000000..66afd10b --- /dev/null +++ b/www/svg/chevron-expand.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/tinymce/CHANGELOG.md b/www/tinymce/CHANGELOG.md deleted file mode 100644 index fc6eb212..00000000 --- a/www/tinymce/CHANGELOG.md +++ /dev/null @@ -1,3443 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## Unreleased - -## 6.8.3 - 2024-02-08 - -### Changed -- Update outbound TinyMCE website links. #TINY-10491 - -### Fixed -- The floating toolbar would not be fully visible when the editor was placed inside a scrollable container. #TINY-10335 -- ShadowDOM skin was not loaded properly when used with js bundling feature. #TINY-10451 - -## 6.8.2 - 2023-12-11 - -### Fixed -- Bespoke select toolbar buttons including `fontfamily`, `fontsize`, `blocks`, and `styles` incorrectly used plural words in their accessible names. #TINY-10426 -- The `align` bespoke select toolbar button had an accessible name that was misleading and grammatically incorrect in certain cases. #TINY-10435 -- Accessible names of bespoke select toolbar buttons including `align`, `fontfamily`, `fontsize`, `blocks`, and `styles` were incorrectly translated. #TINY-10426 #TINY-10435 -- Clicking inside table cells with heavily nested content could cause the browser to hang. #TINY-10380 -- Toggling a list that contains an LI element having another list as its first child would remove the remaining content within that LI element. #TINY-10414 - -## 6.8.1 - 2023-11-29 - -### Improved -- Colorpicker now includes the Brightness/Saturation selector and hue slider in the keyboard navigable items. #TINY-9287 - -### Fixed -- Translation syntax for announcement text in the table grid was incorrectly formatted. #TINY-10141 -- The functions `schema.isWrapper` and `schema.isInline` did not exclude node names that started with `#` which should not be considered as elements. #TINY-10385 - -## 6.8.0 - 2023-11-22 - -### Added -- CSS files are now also generated as separate JS files to improve bundling of all resources. #TINY-10352 -- Added new `StylesheetLoader.loadRawCss` API that can be used to load CSS into a style element. #TINY-10352 -- Added new `StylesheetLoader.unloadRawCss` API that can be used to unload CSS that was loaded into a style element. #TINY-10352 -- Added `force_hex_color` editor option. Option `'always'` converts all RGB & RGBA colours to hex, `'rgb_only'` will only convert RGB and *not* RGBA colours to hex, `'off'` won't convert any colours to hex. #TINY-9819 -- Added `default_font_stack` editor option that makes it possible to define what is considered a system font stack. #TINY-10290 -- New `sandbox_iframes` option that controls whether iframe elements will be added a `sandbox=""` attribute to mitigate malicious intent. #TINY-10348 -- New `convert_unsafe_embeds` option that controls whether `` and `` elements will be converted to more restrictive alternatives, namely `` for image MIME types, `